@onereach/ui-components 2.70.0-beta.2185.0 → 2.70.0-beta.2206.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 (778) hide show
  1. package/dist/bundled/v2/components/OrAvatar/OrAvatar.js +116 -10
  2. package/dist/bundled/v2/components/OrAvatar/constants.js +8 -0
  3. package/dist/bundled/v2/components/OrAvatar/index.js +9 -6
  4. package/dist/bundled/v2/components/OrAvatarV3/OrAvatarV3.js +121 -6
  5. package/dist/bundled/v2/components/OrAvatarV3/index.js +11 -4
  6. package/dist/bundled/v2/components/OrAvatarV3/props.js +19 -0
  7. package/dist/bundled/v2/components/OrAvatarV3/styles.js +65 -0
  8. package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheetV3.js +5 -38
  9. package/dist/bundled/v2/components/OrBottomSheetV3/index.js +5 -2
  10. package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +37 -0
  11. package/dist/bundled/v2/components/OrButton/OrButton.js +176 -5
  12. package/dist/bundled/v2/components/OrButton/constants.js +25 -0
  13. package/dist/bundled/v2/components/OrButton/index.js +4 -2
  14. package/dist/bundled/v2/components/OrButtonV2/OrButtonV2.js +10 -7
  15. package/dist/bundled/v2/{constants-c5d1139f.js → components/OrButtonV2/constants.js} +1 -1
  16. package/dist/bundled/v2/components/OrButtonV2/index.js +10 -7
  17. package/dist/bundled/v2/components/OrButtonV3/OrButtonV3.js +116 -5
  18. package/dist/bundled/v2/components/OrButtonV3/index.js +7 -3
  19. package/dist/bundled/v2/components/OrButtonV3/props.js +21 -0
  20. package/dist/bundled/v2/components/OrButtonV3/styles.js +61 -0
  21. package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +228 -14
  22. package/dist/bundled/v2/components/OrCardCollection/constants.js +7 -0
  23. package/dist/bundled/v2/components/OrCardCollection/index.js +12 -8
  24. package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollectionV3.js +277 -18
  25. package/dist/bundled/v2/components/OrCardCollectionV3/index.js +39 -13
  26. package/dist/bundled/v2/components/OrCardCollectionV3/props.js +16 -0
  27. package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +30 -0
  28. package/dist/bundled/v2/components/OrCardCollectionView.vue2V3/OrCardCollectionView.vue2V3.js +65 -3
  29. package/dist/bundled/v2/components/OrCardCollectionView.vue3V3/OrCardCollectionView.vue3V3.js +2 -1
  30. package/dist/bundled/v2/components/OrCardV3/OrCardV3.js +2 -15
  31. package/dist/bundled/v2/components/OrCardV3/index.js +2 -1
  32. package/dist/bundled/v2/components/OrCardV3/styles.js +15 -0
  33. package/dist/bundled/v2/components/OrCarousel/OrCarousel.js +10 -27
  34. package/dist/bundled/v2/components/OrCarousel/constants.js +21 -0
  35. package/dist/bundled/v2/components/OrCarousel/index.js +8 -5
  36. package/dist/bundled/v2/components/OrCheckbox/OrCheckbox.js +7 -5
  37. package/dist/bundled/v2/components/OrCheckbox/index.js +7 -5
  38. package/dist/bundled/v2/components/OrCheckboxV3/OrCheckboxV3.js +5 -32
  39. package/dist/bundled/v2/components/OrCheckboxV3/index.js +5 -2
  40. package/dist/bundled/v2/components/OrCheckboxV3/styles.js +31 -0
  41. package/dist/bundled/v2/components/OrChip/OrChip.js +7 -5
  42. package/dist/bundled/v2/components/OrChips/OrChips.js +9 -6
  43. package/dist/bundled/v2/components/OrChips/constants.js +10 -0
  44. package/dist/bundled/v2/components/OrChips/index.js +9 -6
  45. package/dist/bundled/v2/components/OrChipsInput/OrChipsInput.js +150 -10
  46. package/dist/bundled/v2/components/OrCode/OrCode.js +4088 -19
  47. package/dist/bundled/v2/components/OrCode/constants.js +11 -0
  48. package/dist/bundled/v2/components/OrCode/index.js +15 -9
  49. package/dist/bundled/v2/components/OrCode/lang.js +2 -0
  50. package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +2 -2
  51. package/dist/bundled/v2/components/OrCollapse/index.js +2 -2
  52. package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +166 -8
  53. package/dist/bundled/{v3/OrColorPicker.vue_vue_type_script_lang-5e190fa5.js → v2/components/OrColorPicker/constants.js} +1 -67
  54. package/dist/bundled/v2/components/OrColorPicker/defultPalette.js +15 -0
  55. package/dist/bundled/v2/components/OrColorPicker/index.js +7 -4
  56. package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +12 -8
  57. package/dist/bundled/v2/components/OrConfirm/index.js +12 -8
  58. package/dist/bundled/v2/components/OrConfirmV3/OrConfirmV3.js +302 -17
  59. package/dist/bundled/v2/components/OrConfirmV3/index.js +36 -12
  60. package/dist/bundled/v2/components/OrConfirmV3/props.js +7 -0
  61. package/dist/bundled/v2/components/OrConfirmV3/styles.js +45 -0
  62. package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +12 -8
  63. package/dist/bundled/v2/components/OrDateTimePicker/constants.js +20 -0
  64. package/dist/bundled/v2/components/OrDateTimePicker/index.js +14 -10
  65. package/dist/bundled/v2/components/OrDateTimePickerCalendarItem/OrDateTimePickerCalendarItem.js +112 -5
  66. package/dist/bundled/v2/components/OrEmptyStateV3/OrEmptyStateV3.js +111 -3
  67. package/dist/bundled/v2/components/OrEmptyStateV3/index.js +3 -1
  68. package/dist/bundled/v2/components/OrEmptyStateV3/props.js +7 -0
  69. package/dist/bundled/v2/components/OrEmptyStateV3/styles.js +46 -0
  70. package/dist/bundled/v2/components/OrErrorTagV3/OrErrorTagV3.js +5 -18
  71. package/dist/bundled/v2/components/OrErrorTagV3/index.js +5 -2
  72. package/dist/bundled/v2/components/OrErrorTagV3/styles.js +17 -0
  73. package/dist/bundled/v2/components/OrErrorV3/OrErrorV3.js +2 -21
  74. package/dist/bundled/v2/components/OrErrorV3/index.js +2 -1
  75. package/dist/bundled/v2/components/OrErrorV3/styles.js +21 -0
  76. package/dist/bundled/v2/components/OrExpansionPanelV3/OrExpansionPanelV3.js +121 -5
  77. package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +7 -3
  78. package/dist/bundled/v2/components/OrExpansionPanelV3/props.js +12 -0
  79. package/dist/bundled/v2/components/OrExpansionPanelV3/styles.js +49 -0
  80. package/dist/bundled/v2/components/OrFabV3/OrFabV3.js +85 -5
  81. package/dist/bundled/v2/components/OrFabV3/index.js +7 -3
  82. package/dist/bundled/v2/components/OrFabV3/props.js +7 -0
  83. package/dist/bundled/v2/components/OrFabV3/styles.js +19 -0
  84. package/dist/bundled/v2/components/OrFloating/OrFloating.js +190 -8
  85. package/dist/bundled/v2/components/OrFloating/constants.js +22 -0
  86. package/dist/bundled/v2/components/OrFloating/index.js +4 -3
  87. package/dist/bundled/v2/components/OrHintV3/OrHintV3.js +2 -21
  88. package/dist/bundled/v2/components/OrHintV3/index.js +2 -1
  89. package/dist/bundled/v2/components/OrHintV3/styles.js +21 -0
  90. package/dist/bundled/v2/components/OrIcon/OrIcon.js +159 -10
  91. package/dist/bundled/v2/components/OrIcon/constants.js +24 -0
  92. package/dist/bundled/v2/components/OrIcon/index.js +7 -5
  93. package/dist/bundled/v2/components/OrIconButtonV2/OrIconButtonV2.js +10 -7
  94. package/dist/bundled/v2/components/OrIconButtonV2/index.js +10 -7
  95. package/dist/bundled/v2/components/OrIconButtonV3/OrIconButtonV3.js +122 -9
  96. package/dist/bundled/v2/components/OrIconButtonV3/index.js +17 -7
  97. package/dist/bundled/v2/components/OrIconButtonV3/props.js +10 -0
  98. package/dist/bundled/{v3/OrIconButton.vue_vue_type_script_lang-7663827a.js → v2/components/OrIconButtonV3/styles.js} +1 -59
  99. package/dist/bundled/v2/components/OrIconV3/OrIconV3.js +72 -4
  100. package/dist/bundled/v2/components/OrIconV3/index.js +4 -2
  101. package/dist/bundled/v2/components/OrIconV3/props.js +17 -0
  102. package/dist/bundled/v2/components/OrIconV3/styles.js +44 -0
  103. package/dist/bundled/v2/components/OrInlineInputBoxV3/OrInlineInputBoxV3.js +71 -4
  104. package/dist/bundled/v2/components/OrInlineInputBoxV3/index.js +4 -2
  105. package/dist/bundled/v2/components/OrInlineInputBoxV3/props.js +7 -0
  106. package/dist/bundled/{v3/OrInlineInputBox.vue_vue_type_script_lang-ef7d7eaf.js → v2/components/OrInlineInputBoxV3/styles.js} +1 -37
  107. package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInputV3.js +349 -13
  108. package/dist/bundled/v2/components/OrInlineInputV3/index.js +24 -8
  109. package/dist/bundled/v2/components/OrInlineInputV3/props.js +9 -0
  110. package/dist/bundled/v2/components/OrInlineInputV3/styles.js +29 -0
  111. package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +397 -15
  112. package/dist/bundled/v2/components/OrInlineTextEdit/constants.js +13 -0
  113. package/dist/bundled/v2/components/OrInlineTextEdit/index.js +12 -8
  114. package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextareaV3.js +22 -27
  115. package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +22 -7
  116. package/dist/bundled/v2/components/OrInlineTextareaV3/styles.js +21 -0
  117. package/dist/bundled/v2/components/OrInput/OrInput.js +2 -2
  118. package/dist/bundled/v2/components/OrInputBoxV3/OrInputBoxV3.js +85 -4
  119. package/dist/bundled/v2/components/OrInputBoxV3/index.js +4 -2
  120. package/dist/bundled/v2/components/OrInputBoxV3/props.js +12 -0
  121. package/dist/bundled/{v3/OrInputBox.vue_vue_type_script_lang-d3b211c2.js → v2/components/OrInputBoxV3/styles.js} +1 -54
  122. package/dist/bundled/v2/components/OrInputV3/OrInputV3.js +386 -14
  123. package/dist/bundled/v2/components/OrInputV3/index.js +27 -9
  124. package/dist/bundled/v2/components/OrInputV3/props.js +11 -0
  125. package/dist/bundled/v2/components/OrInputV3/styles.js +14 -0
  126. package/dist/bundled/v2/components/OrInputs/index.js +11 -8
  127. package/dist/bundled/v2/components/OrLabelV3/OrLabelV3.js +92 -4
  128. package/dist/bundled/v2/components/OrLabelV3/index.js +4 -2
  129. package/dist/bundled/v2/components/OrLabelV3/props.js +7 -0
  130. package/dist/bundled/v2/components/OrLabelV3/styles.js +29 -0
  131. package/dist/bundled/v2/components/OrLinkV3/OrLinkV3.js +88 -4
  132. package/dist/bundled/v2/components/OrLinkV3/index.js +4 -2
  133. package/dist/bundled/v2/components/OrLinkV3/props.js +10 -0
  134. package/dist/bundled/v2/components/OrLinkV3/styles.js +26 -0
  135. package/dist/bundled/v2/components/OrList/OrList.js +10 -7
  136. package/dist/bundled/v2/components/OrList/index.js +10 -7
  137. package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +10 -7
  138. package/dist/bundled/v2/components/OrListOfInputs/index.js +10 -7
  139. package/dist/bundled/v2/components/OrLoader/OrLoader.js +109 -5
  140. package/dist/bundled/v2/components/OrLoader/constants.js +8 -0
  141. package/dist/bundled/v2/components/OrLoader/index.js +2 -1
  142. package/dist/bundled/v2/components/OrLoaderV3/OrLoaderV3.js +150 -4
  143. package/dist/bundled/v2/components/OrLoaderV3/index.js +4 -2
  144. package/dist/bundled/v2/components/OrLoaderV3/props.js +18 -0
  145. package/dist/bundled/v2/components/OrLoaderV3/styles.js +17 -0
  146. package/dist/bundled/v2/components/OrMenuItemV3/OrMenuItemV3.js +5 -18
  147. package/dist/bundled/v2/components/OrMenuItemV3/index.js +5 -2
  148. package/dist/bundled/v2/components/OrMenuItemV3/styles.js +17 -0
  149. package/dist/bundled/v2/components/OrMenuV3/OrMenuV3.js +10 -13
  150. package/dist/bundled/v2/components/OrMenuV3/index.js +11 -5
  151. package/dist/bundled/v2/components/OrMenuV3/props.js +1 -0
  152. package/dist/bundled/v2/components/OrMenuV3/styles.js +10 -0
  153. package/dist/bundled/v2/components/OrModal/OrModal.js +1465 -15
  154. package/dist/bundled/v2/components/OrModal/constants.js +10 -0
  155. package/dist/bundled/v2/components/OrModal/index.js +12 -8
  156. package/dist/bundled/v2/components/OrModalV3/OrModalV3.js +141 -10
  157. package/dist/bundled/v2/components/OrModalV3/index.js +19 -7
  158. package/dist/bundled/v2/components/OrModalV3/props.js +8 -0
  159. package/dist/bundled/v2/components/OrModalV3/styles.js +38 -0
  160. package/dist/bundled/v2/components/OrNotification/OrNotification.js +140 -12
  161. package/dist/bundled/v2/components/OrNotification/constants.js +14 -0
  162. package/dist/bundled/v2/components/OrNotification/index.js +12 -8
  163. package/dist/bundled/v2/components/OrNotificationV3/OrNotificationV3.js +122 -9
  164. package/dist/bundled/v2/components/OrNotificationV3/index.js +19 -7
  165. package/dist/bundled/v2/components/OrNotificationV3/props.js +9 -0
  166. package/dist/bundled/v2/components/OrNotificationV3/styles.js +59 -0
  167. package/dist/bundled/v2/components/OrNumberInput/OrNumberInput.js +2 -2
  168. package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +10 -7
  169. package/dist/bundled/v2/components/OrOverflowMenu/index.js +10 -7
  170. package/dist/bundled/v2/components/OrOverflowMenuItem/OrOverflowMenuItem.js +10 -7
  171. package/dist/bundled/v2/components/OrOverlayV3/OrOverlayV3.js +4 -10
  172. package/dist/bundled/v2/components/OrOverlayV3/index.js +4 -2
  173. package/dist/bundled/v2/components/OrOverlayV3/styles.js +9 -0
  174. package/dist/bundled/v2/components/OrPassword/OrPassword.js +11 -8
  175. package/dist/bundled/v2/components/OrPopoverV3/OrPopoverV3.js +224 -10
  176. package/dist/bundled/v2/components/OrPopoverV3/index.js +9 -4
  177. package/dist/bundled/v2/components/OrPopoverV3/props.js +23 -0
  178. package/dist/bundled/v2/components/OrPopoverV3/styles.js +44 -0
  179. package/dist/bundled/v2/components/OrProgress/OrProgress.js +214 -5
  180. package/dist/bundled/v2/components/OrProgress/constants.js +15 -0
  181. package/dist/bundled/v2/components/OrProgress/index.js +2 -1
  182. package/dist/bundled/v2/components/OrProgressV3/OrProgressV3.js +245 -7
  183. package/dist/bundled/v2/components/OrProgressV3/index.js +5 -3
  184. package/dist/bundled/v2/components/OrProgressV3/props.js +15 -0
  185. package/dist/bundled/v2/components/OrProgressV3/styles.js +63 -0
  186. package/dist/bundled/v2/components/OrRadioV3/OrRadioV3.js +5 -32
  187. package/dist/bundled/v2/components/OrRadioV3/index.js +5 -2
  188. package/dist/bundled/v2/components/OrRadioV3/styles.js +31 -0
  189. package/dist/bundled/v2/components/OrSearch/OrSearch.js +10 -7
  190. package/dist/bundled/v2/components/OrSearchV3/OrSearchV3.js +27 -9
  191. package/dist/bundled/v2/components/OrSearchV3/index.js +27 -9
  192. package/dist/bundled/v2/components/OrSearchV3/props.js +1 -0
  193. package/dist/bundled/v2/components/OrSegmentedControlItemV3/OrSegmentedControlItemV3.js +2 -31
  194. package/dist/bundled/v2/components/OrSegmentedControlV3/OrSegmentedControlV3.js +127 -5
  195. package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +4 -2
  196. package/dist/bundled/v2/components/OrSegmentedControlV3/props.js +7 -0
  197. package/dist/bundled/v2/components/OrSegmentedControlV3/styles.js +31 -0
  198. package/dist/bundled/v2/components/OrSelect/OrSelect.js +10 -7
  199. package/dist/bundled/{v3/constants-59507e57.js → v2/components/OrSelect/constants.js} +1 -1
  200. package/dist/bundled/v2/components/OrSelect/index.js +10 -7
  201. package/dist/bundled/v2/components/OrSelectContent/OrSelectContent.js +10 -7
  202. package/dist/bundled/v2/components/OrSelectContentEmpty/OrSelectContentEmpty.js +1 -1
  203. package/dist/bundled/v2/components/OrSelectContentOptions/OrSelectContentOptions.js +8 -6
  204. package/dist/bundled/v2/components/OrSelectInput/OrSelectInput.js +8 -6
  205. package/dist/bundled/v2/components/OrSelectInputValue/OrSelectInputValue.js +8 -6
  206. package/dist/bundled/v2/components/OrSelectMain/OrSelectMain.js +10 -7
  207. package/dist/bundled/v2/components/OrSelectOption/OrSelectOption.js +7 -5
  208. package/dist/bundled/v2/components/OrSelectSearchOptions/OrSelectSearchOptions.js +8 -6
  209. package/dist/bundled/v2/components/OrSelectV3/OrSelectV3.js +39 -49
  210. package/dist/bundled/v2/components/OrSelectV3/index.js +39 -13
  211. package/dist/bundled/v2/components/OrSelectV3/props.js +1 -0
  212. package/dist/bundled/v2/components/OrSelectV3/styles.js +37 -0
  213. package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +145 -6
  214. package/dist/bundled/v2/components/OrSidebar/constants.js +7 -0
  215. package/dist/bundled/v2/components/OrSidebar/index.js +2 -1
  216. package/dist/bundled/v2/components/OrSidebarV3/OrSidebarV3.js +159 -5
  217. package/dist/bundled/v2/components/OrSidebarV3/index.js +3 -1
  218. package/dist/bundled/v2/components/OrSidebarV3/props.js +7 -0
  219. package/dist/bundled/v2/components/OrSidebarV3/styles.js +68 -0
  220. package/dist/bundled/v2/components/OrSkeleton/constants.js +12 -0
  221. package/dist/bundled/v2/components/OrSkeleton/index.js +3 -2
  222. package/dist/bundled/v2/components/OrSkeletonCircle/OrSkeletonCircle.js +1 -1
  223. package/dist/bundled/v2/components/OrSkeletonCircleV3/OrSkeletonCircleV3.js +3 -3
  224. package/dist/bundled/v2/components/OrSkeletonRect/OrSkeletonRect.js +1 -1
  225. package/dist/bundled/v2/components/OrSkeletonRectV3/OrSkeletonRectV3.js +3 -3
  226. package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.js +97 -6
  227. package/dist/bundled/v2/components/OrSkeletonTextV3/OrSkeletonTextV3.js +3 -3
  228. package/dist/bundled/v2/components/OrSkeletonV3/index.js +3 -3
  229. package/dist/bundled/{v3/styles-ed564e39.js → v2/components/OrSkeletonV3/styles.js} +1 -1
  230. package/dist/bundled/v2/components/OrSlider/OrSlider.js +7 -5
  231. package/dist/bundled/v2/components/OrSlider/index.js +7 -5
  232. package/dist/bundled/v2/components/OrSortHeaderV3/OrSortHeaderV3.js +5 -16
  233. package/dist/bundled/v2/components/OrSortHeaderV3/index.js +5 -2
  234. package/dist/bundled/v2/components/OrSortHeaderV3/styles.js +15 -0
  235. package/dist/bundled/v2/components/OrStepper/OrStepper.js +10 -7
  236. package/dist/bundled/v2/components/OrStepper/index.js +10 -7
  237. package/dist/bundled/v2/components/OrStepperButtonOptions/OrStepperButtonOptions.js +10 -7
  238. package/dist/bundled/v2/components/OrStepperOptionHorizontal/OrStepperOptionHorizontal.js +10 -7
  239. package/dist/bundled/v2/components/OrStepperOptionVertical/OrStepperOptionVertical.js +10 -7
  240. package/dist/bundled/v2/components/OrSwitch/OrSwitch.js +2 -1
  241. package/dist/bundled/v2/components/OrSwitch/index.js +2 -1
  242. package/dist/bundled/v2/components/OrSwitchV3/OrSwitchV3.js +8 -53
  243. package/dist/bundled/v2/components/OrSwitchV3/index.js +8 -3
  244. package/dist/bundled/{v3/OrSwitch.vue_vue_type_script_lang-088550b0.js → v2/components/OrSwitchV3/styles.js} +1 -85
  245. package/dist/bundled/v2/components/OrTabV3/OrTabV3.js +2 -19
  246. package/dist/bundled/v2/components/OrTabV3/index.js +2 -1
  247. package/dist/bundled/{v3/OrTab.vue_vue_type_script_lang-a4c48577.js → v2/components/OrTabV3/styles.js} +1 -28
  248. package/dist/bundled/v2/components/OrTabsV3/OrTabsV3.js +223 -12
  249. package/dist/bundled/v2/components/OrTabsV3/index.js +18 -6
  250. package/dist/bundled/v2/components/OrTabsV3/props.js +7 -0
  251. package/dist/bundled/v2/components/OrTabsV3/styles.js +19 -0
  252. package/dist/bundled/v2/components/OrTag/OrTag.js +11 -6
  253. package/dist/bundled/v2/components/OrTag/index.js +11 -6
  254. package/dist/bundled/v2/components/OrTagV3/OrTagV3.js +135 -9
  255. package/dist/bundled/v2/components/OrTagV3/index.js +19 -7
  256. package/dist/bundled/v2/components/OrTagV3/props.js +13 -0
  257. package/dist/bundled/v2/components/OrTagV3/styles.js +34 -0
  258. package/dist/bundled/v2/{constants-b4c183aa.js → components/OrTeleport/constants.js} +1 -1
  259. package/dist/bundled/v2/components/OrTeleport/index.js +1 -1
  260. package/dist/bundled/v2/components/OrTeleportVue2/OrTeleportVue2.js +1 -1
  261. package/dist/bundled/v2/components/OrTeleportVue3/OrTeleportVue3.js +1 -1
  262. package/dist/bundled/v2/components/OrTextV3/OrTextV3.js +2 -17
  263. package/dist/bundled/v2/components/OrTextV3/index.js +2 -1
  264. package/dist/bundled/v2/components/OrTextV3/styles.js +17 -0
  265. package/dist/bundled/v2/components/OrTextarea/OrTextarea.js +2 -2
  266. package/dist/bundled/v2/components/OrTextareaV3/OrTextareaV3.js +10 -16
  267. package/dist/bundled/v2/components/OrTextareaV3/index.js +10 -3
  268. package/dist/bundled/v2/components/OrTextareaV3/props.js +1 -0
  269. package/dist/bundled/v2/components/OrTextareaV3/styles.js +14 -0
  270. package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +528 -18
  271. package/dist/bundled/v2/components/OrTextbox/constants.js +11 -0
  272. package/dist/bundled/v2/components/OrTextbox/index.js +13 -9
  273. package/dist/bundled/v2/components/OrToast/OrToast.js +13 -9
  274. package/dist/bundled/v2/components/OrToast/Timer.js +37 -0
  275. package/dist/bundled/v2/{constants-25998e4c.js → components/OrToast/constants.js} +1 -1
  276. package/dist/bundled/v2/components/OrToast/index.js +5 -3
  277. package/dist/bundled/{v3/useToastEventBus-422dae05.js → v2/components/OrToast/useQueue.js} +1 -23
  278. package/dist/bundled/{v3/useToast-0c42015d.js → v2/components/OrToast/useToast.js} +5 -38
  279. package/dist/bundled/v2/components/OrToast/useToastEventBus.js +24 -0
  280. package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +15 -10
  281. package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainerV3.js +23 -9
  282. package/dist/bundled/v2/components/OrToastV3/OrToastV3.js +196 -12
  283. package/dist/bundled/v2/components/OrToastV3/Timer.js +37 -0
  284. package/dist/bundled/v2/components/OrToastV3/index.js +4 -2
  285. package/dist/bundled/v2/components/OrToastV3/props.js +1 -0
  286. package/dist/bundled/v2/components/OrToastV3/styles.js +64 -0
  287. package/dist/bundled/v2/{useToastEventBus-422dae05.js → components/OrToastV3/useQueue.js} +1 -23
  288. package/dist/bundled/v2/{useToast-40bff6ec.js → components/OrToastV3/useToast.js} +5 -38
  289. package/dist/bundled/v2/components/OrToastV3/useToastEventBus.js +24 -0
  290. package/dist/bundled/v2/components/OrTooltip/OrTooltip.js +4 -3
  291. package/dist/bundled/v2/components/OrTooltip/index.js +4 -3
  292. package/dist/bundled/v2/components/OrTooltipV3/OrTooltipV3.js +10 -49
  293. package/dist/bundled/v2/components/OrTooltipV3/index.js +11 -5
  294. package/dist/bundled/v2/components/OrTooltipV3/props.js +1 -0
  295. package/dist/bundled/v2/components/OrTooltipV3/styles.js +46 -0
  296. package/dist/bundled/v2/components/OrTooltipWrapperV2/OrTooltipWrapperV2.js +4 -3
  297. package/dist/bundled/v2/components/index.js +157 -61
  298. package/dist/bundled/v2/directives/dropdown-close.js +15 -0
  299. package/dist/bundled/{v3/dropdown-open-0d314aa4.js → v2/directives/dropdown-open.js} +1 -13
  300. package/dist/bundled/v2/directives/index.js +2 -1
  301. package/dist/bundled/v2/hooks/index.js +6 -5
  302. package/dist/bundled/v2/{useClassAttribute-47fdb016.js → hooks/useClassAttribute.js} +1 -1
  303. package/dist/bundled/v2/{useElevation-31bfe1f6.js → hooks/useElevation.js} +2 -5
  304. package/dist/bundled/v2/{useOverflow-af6161c8.js → hooks/useOverflow.js} +1 -1
  305. package/dist/bundled/v2/hooks/useResponsive/index.js +1 -1
  306. package/dist/bundled/{v3/useResponsive-a02e95b7.js → v2/hooks/useResponsive/useResponsive.js} +1 -1
  307. package/dist/bundled/v2/{useToggle-29e4d7c7.js → hooks/useToggle.js} +1 -1
  308. package/dist/bundled/v2/index.js +159 -70
  309. package/dist/bundled/{v3/OrCode.vue_vue_type_script_lang-fe4c9a58.js → v2/lang-d640563a.js} +276 -4238
  310. package/dist/bundled/v2/utils/constants/color.js +16 -0
  311. package/dist/bundled/v2/utils/constants/key-codes.js +16 -0
  312. package/dist/bundled/v2/utils/constants/poper.js +10 -0
  313. package/dist/bundled/v2/utils/constants/regex.js +49 -0
  314. package/dist/bundled/v2/{color-1f348774.js → utils/functions/color.js} +11 -32
  315. package/dist/bundled/v2/utils/functions/dom.js +167 -0
  316. package/dist/bundled/v2/utils/functions/hash.js +8 -0
  317. package/dist/bundled/v2/{px-to-rem-0b26b83e.js → utils/functions/px-to-rem.js} +1 -1
  318. package/dist/bundled/v2/utils/functions/text.js +9 -0
  319. package/dist/bundled/v2/utils/isVisible.js +5 -0
  320. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-51387b7f.js +69 -0
  321. package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-a3740c88.js → OrAvatar.vue_vue_type_script_lang-7f2cfae5.js} +3 -9
  322. package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-7926afd5.js → OrBottomSheet.vue_vue_type_script_lang-bcf12a2a.js} +3 -38
  323. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-76ff19e0.js +55 -0
  324. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-aa34ef87.js → OrButton.vue_vue_type_script_lang-b48cc1bf.js} +4 -3
  325. package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-255594c4.js → OrButton.vue_vue_type_script_lang-ed520a05.js} +4 -26
  326. package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-51a6b8a8.js → OrCard.vue_vue_type_script_lang-92676a3f.js} +2 -15
  327. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-136bbb5b.js → OrCardCollection.vue_vue_type_script_lang-7ea46f31.js} +5 -10
  328. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-761c74df.js → OrCardCollection.vue_vue_type_script_lang-80ed3d2d.js} +11 -24
  329. package/dist/bundled/v3/{OrCarousel.vue_vue_type_script_lang-80efcb20.js → OrCarousel.vue_vue_type_script_lang-d347c544.js} +4 -23
  330. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-3e6ddbd0.js → OrCheckbox.vue_vue_type_script_lang-841594f0.js} +4 -32
  331. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-dbf18135.js → OrCheckbox.vue_vue_type_script_lang-948ed4f0.js} +1 -1
  332. package/dist/bundled/v3/{OrChips.vue_vue_type_script_lang-fc2bd126.js → OrChips.vue_vue_type_script_lang-20f25092.js} +2 -1
  333. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-ec35d27e.js +3957 -0
  334. package/dist/bundled/v3/{OrCollapse.vue_vue_type_script_lang-76b28b03.js → OrCollapse.vue_vue_type_script_lang-e22b5a76.js} +2 -2
  335. package/dist/bundled/v3/OrColorPicker.vue_vue_type_script_lang-7987074d.js +58 -0
  336. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-9367f23b.js → OrConfirm.vue_vue_type_script_lang-96d0eb06.js} +4 -3
  337. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-642b8f83.js → OrConfirm.vue_vue_type_script_lang-9f31c964.js} +7 -52
  338. package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-09a33c8a.js → OrDateTimePicker.vue_vue_type_script_lang-a3b3aac4.js} +7 -6
  339. package/dist/bundled/v3/{OrEmptyState.vue_vue_type_script_lang-8392055c.js → OrEmptyState.vue_vue_type_script_lang-4c5ad2a9.js} +3 -50
  340. package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-6954e9de.js → OrError.vue_vue_type_script_lang-98601766.js} +2 -21
  341. package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-4fd7c0f4.js → OrErrorTag.vue_vue_type_script_lang-05e8460d.js} +3 -18
  342. package/dist/bundled/v3/OrExpansionPanel.vue_vue_type_script_lang-c908e8be.js +53 -0
  343. package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-2fd2bd45.js → OrFab.vue_vue_type_script_lang-e0018fef.js} +4 -26
  344. package/dist/bundled/v3/{OrFloating.vue_vue_type_script_lang-d29049e5.js → OrFloating.vue_vue_type_script_lang-66ce28ae.js} +3 -23
  345. package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-7dc58eba.js → OrHint.vue_vue_type_script_lang-e5ffd5fa.js} +2 -21
  346. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-1cb537ef.js +37 -0
  347. package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-d4254862.js → OrIcon.vue_vue_type_script_lang-aadbcbe3.js} +5 -26
  348. package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-71dd403b.js → OrIconButton.vue_vue_type_script_lang-721e0c2f.js} +4 -4
  349. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-da74839d.js +55 -0
  350. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-fdb31f3d.js → OrInlineInput.vue_vue_type_script_lang-c4f6a48e.js} +9 -40
  351. package/dist/bundled/v3/OrInlineInputBox.vue_vue_type_script_lang-5fd272da.js +33 -0
  352. package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-02e46795.js → OrInlineTextEdit.vue_vue_type_script_lang-e253d248.js} +6 -17
  353. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-f04c4f6c.js → OrInlineTextarea.vue_vue_type_script_lang-228e0fe5.js} +6 -25
  354. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-e970f1b2.js → OrInput.vue_vue_type_script_lang-d1c06414.js} +11 -29
  355. package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-49d89486.js +45 -0
  356. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-5bedeb7c.js +45 -0
  357. package/dist/bundled/v3/OrLink.vue_vue_type_script_lang-2f3d1a29.js +49 -0
  358. package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-3c02c236.js → OrList.vue_vue_type_script_lang-49d54b35.js} +3 -3
  359. package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-8b0e7a41.js → OrListOfInputs.vue_vue_type_script_lang-1176c219.js} +3 -3
  360. package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-352f1432.js → OrLoader.vue_vue_type_script_lang-b48715a3.js} +2 -8
  361. package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-b8a13a32.js → OrLoader.vue_vue_type_script_lang-f692d020.js} +4 -35
  362. package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-2b12f986.js → OrMenu.vue_vue_type_script_lang-b642edb4.js} +4 -11
  363. package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-53cb4736.js → OrMenuItem.vue_vue_type_script_lang-78262bac.js} +3 -18
  364. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-76e9e15a.js → OrModal.vue_vue_type_script_lang-0768f700.js} +6 -48
  365. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-a988003c.js → OrModal.vue_vue_type_script_lang-ee130ace.js} +3 -11
  366. package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-050af525.js → OrNotification.vue_vue_type_script_lang-bfa90980.js} +4 -16
  367. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-fc61927a.js +55 -0
  368. package/dist/bundled/v3/{OrNumberInput.vue_vue_type_script_lang-b8c3e548.js → OrNumberInput.vue_vue_type_script_lang-62ab9884.js} +0 -0
  369. package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-eee56669.js → OrOverflowMenu.vue_vue_type_script_lang-5b37e82f.js} +3 -2
  370. package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-f2bdd70b.js → OrOverlay.vue_vue_type_script_lang-5e5b5fac.js} +3 -10
  371. package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-aae45890.js → OrPassword.vue_vue_type_script_lang-0be1092d.js} +3 -3
  372. package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-3aab2e20.js → OrPopover.vue_vue_type_script_lang-bca04ff0.js} +7 -70
  373. package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-6105a07e.js → OrProgress.vue_vue_type_script_lang-26d7b3da.js} +2 -15
  374. package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-42d51690.js → OrProgress.vue_vue_type_script_lang-720cd55c.js} +5 -77
  375. package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-1dc76d07.js → OrRadio.vue_vue_type_script_lang-5cc9bde1.js} +4 -32
  376. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-692ef46f.js → OrSearch.vue_vue_type_script_lang-94badc35.js} +3 -3
  377. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-923fcd46.js → OrSearch.vue_vue_type_script_lang-a55b9a2b.js} +2 -2
  378. package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-4ef23285.js → OrSegmentedControl.vue_vue_type_script_lang-0723e144.js} +3 -8
  379. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-2e23b39c.js → OrSelect.vue_vue_type_script_lang-055a36a4.js} +17 -50
  380. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-0ec9363b.js → OrSelect.vue_vue_type_script_lang-14c949c1.js} +1 -1
  381. package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-755f291c.js → OrSidebar.vue_vue_type_script_lang-00e9cda7.js} +2 -7
  382. package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-d438c111.js → OrSidebar.vue_vue_type_script_lang-4f5c8abd.js} +3 -72
  383. package/dist/bundled/v3/{OrSkeletonCircle.vue_vue_type_script_lang-30516785.js → OrSkeletonCircle.vue_vue_type_script_lang-e8f70634.js} +1 -1
  384. package/dist/bundled/v3/{OrSkeletonCircle.vue_vue_type_script_lang-21b57a2f.js → OrSkeletonCircle.vue_vue_type_script_lang-ef1d0034.js} +3 -3
  385. package/dist/bundled/v3/{OrSkeletonRect.vue_vue_type_script_lang-71f648ad.js → OrSkeletonRect.vue_vue_type_script_lang-808412d2.js} +1 -1
  386. package/dist/bundled/v3/{OrSkeletonRect.vue_vue_type_script_lang-f6cc46a6.js → OrSkeletonRect.vue_vue_type_script_lang-87fe8cfd.js} +3 -3
  387. package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-eb7a0efa.js → OrSkeletonText.vue_vue_type_script_lang-66622b63.js} +3 -3
  388. package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-2a1e065a.js → OrSkeletonText.vue_vue_type_script_lang-c8b26b0a.js} +3 -13
  389. package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-a5e4b426.js → OrSlider.vue_vue_type_script_lang-ad7c7c0e.js} +2 -2
  390. package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-b4b32dc2.js → OrSortHeader.vue_vue_type_script_lang-dcee77e5.js} +3 -16
  391. package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-13ba3e63.js → OrStepper.vue_vue_type_script_lang-305d2a1a.js} +0 -0
  392. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-85ca85ee.js → OrSwitch.vue_vue_type_script_lang-1c079a74.js} +1 -1
  393. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-7912c1f9.js +87 -0
  394. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-61ff4904.js +29 -0
  395. package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-86b1bf60.js → OrTabs.vue_vue_type_script_lang-ec821ca3.js} +8 -30
  396. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-35dd890d.js → OrTag.vue_vue_type_script_lang-0ecaa8bc.js} +2 -2
  397. package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-d70c4e48.js → OrTag.vue_vue_type_script_lang-c9188abe.js} +5 -48
  398. package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-16fa067b.js → OrText.vue_vue_type_script_lang-1edab64a.js} +2 -17
  399. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-1f2bdb60.js → OrTextarea.vue_vue_type_script_lang-1d983e7f.js} +3 -3
  400. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-ee596578.js → OrTextarea.vue_vue_type_script_lang-d7f4ea68.js} +7 -18
  401. package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-d5d776d4.js → OrTextbox.vue_vue_type_script_lang-7118b5ac.js} +7 -16
  402. package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-5c92febc.js → OrToastContainer.vue_vue_type_script_lang-05c8eaef.js} +3 -2
  403. package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-2256f09d.js → OrToastContainer.vue_vue_type_script_lang-23dc2104.js} +4 -2
  404. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-680dfd41.js → OrTooltip.vue_vue_type_script_lang-1e610987.js} +4 -47
  405. package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-42773e6f.js → OrTooltip.vue_vue_type_script_lang-f8b8a2c1.js} +2 -1
  406. package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +10 -7
  407. package/dist/bundled/v3/components/OrAvatar/constants.js +8 -0
  408. package/dist/bundled/v3/components/OrAvatar/index.js +9 -6
  409. package/dist/bundled/v3/components/OrAvatarV3/OrAvatarV3.js +12 -5
  410. package/dist/bundled/v3/components/OrAvatarV3/index.js +11 -4
  411. package/dist/bundled/v3/components/OrAvatarV3/props.js +19 -0
  412. package/dist/bundled/v3/components/OrAvatarV3/styles.js +65 -0
  413. package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheetV3.js +8 -5
  414. package/dist/bundled/v3/components/OrBottomSheetV3/index.js +7 -4
  415. package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +37 -0
  416. package/dist/bundled/v3/components/OrButton/OrButton.js +5 -3
  417. package/dist/bundled/v3/components/OrButton/constants.js +25 -0
  418. package/dist/bundled/v3/components/OrButton/index.js +4 -2
  419. package/dist/bundled/v3/components/OrButtonV2/OrButtonV2.js +12 -9
  420. package/dist/bundled/v3/{constants-c5d1139f.js → components/OrButtonV2/constants.js} +1 -1
  421. package/dist/bundled/v3/components/OrButtonV2/index.js +13 -10
  422. package/dist/bundled/v3/components/OrButtonV3/OrButtonV3.js +8 -4
  423. package/dist/bundled/v3/components/OrButtonV3/index.js +7 -3
  424. package/dist/bundled/v3/components/OrButtonV3/props.js +21 -0
  425. package/dist/bundled/v3/components/OrButtonV3/styles.js +61 -0
  426. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +17 -13
  427. package/dist/bundled/v3/components/OrCardCollection/constants.js +7 -0
  428. package/dist/bundled/v3/components/OrCardCollection/index.js +16 -12
  429. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollectionV3.js +48 -22
  430. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +47 -21
  431. package/dist/bundled/v3/components/OrCardCollectionV3/props.js +16 -0
  432. package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +30 -0
  433. package/dist/bundled/v3/components/OrCardCollectionView.vue2V3/OrCardCollectionView.vue2V3.js +41 -3
  434. package/dist/bundled/v3/components/OrCardCollectionView.vue3V3/OrCardCollectionView.vue3V3.js +2 -1
  435. package/dist/bundled/v3/components/OrCardV3/OrCardV3.js +4 -3
  436. package/dist/bundled/v3/components/OrCardV3/index.js +3 -2
  437. package/dist/bundled/v3/components/OrCardV3/styles.js +15 -0
  438. package/dist/bundled/v3/components/OrCarousel/OrCarousel.js +10 -7
  439. package/dist/bundled/v3/components/OrCarousel/constants.js +21 -0
  440. package/dist/bundled/v3/components/OrCarousel/index.js +9 -6
  441. package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +9 -7
  442. package/dist/bundled/v3/components/OrCheckbox/index.js +8 -6
  443. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckboxV3.js +7 -4
  444. package/dist/bundled/v3/components/OrCheckboxV3/index.js +6 -3
  445. package/dist/bundled/v3/components/OrCheckboxV3/styles.js +31 -0
  446. package/dist/bundled/v3/components/OrChip/OrChip.js +7 -5
  447. package/dist/bundled/v3/components/OrChips/OrChips.js +11 -8
  448. package/dist/bundled/v3/components/OrChips/constants.js +10 -0
  449. package/dist/bundled/v3/components/OrChips/index.js +10 -7
  450. package/dist/bundled/v3/components/OrChipsInput/OrChipsInput.js +105 -10
  451. package/dist/bundled/v3/components/OrCode/OrCode.js +18 -12
  452. package/dist/bundled/v3/components/OrCode/constants.js +11 -0
  453. package/dist/bundled/v3/components/OrCode/index.js +17 -11
  454. package/dist/bundled/v3/components/OrCode/lang.js +2 -0
  455. package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +4 -4
  456. package/dist/bundled/v3/components/OrCollapse/index.js +3 -3
  457. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +8 -5
  458. package/dist/bundled/v3/components/OrColorPicker/constants.js +323 -0
  459. package/dist/bundled/v3/components/OrColorPicker/defultPalette.js +15 -0
  460. package/dist/bundled/v3/components/OrColorPicker/index.js +7 -4
  461. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +18 -14
  462. package/dist/bundled/v3/components/OrConfirm/index.js +17 -13
  463. package/dist/bundled/v3/components/OrConfirmV3/OrConfirmV3.js +42 -18
  464. package/dist/bundled/v3/components/OrConfirmV3/index.js +41 -17
  465. package/dist/bundled/v3/components/OrConfirmV3/props.js +7 -0
  466. package/dist/bundled/v3/components/OrConfirmV3/styles.js +45 -0
  467. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +17 -13
  468. package/dist/bundled/v3/components/OrDateTimePicker/constants.js +20 -0
  469. package/dist/bundled/v3/components/OrDateTimePicker/index.js +17 -13
  470. package/dist/bundled/v3/components/OrDateTimePickerCalendarItem/OrDateTimePickerCalendarItem.js +81 -5
  471. package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyStateV3.js +4 -2
  472. package/dist/bundled/v3/components/OrEmptyStateV3/index.js +3 -1
  473. package/dist/bundled/v3/components/OrEmptyStateV3/props.js +7 -0
  474. package/dist/bundled/v3/components/OrEmptyStateV3/styles.js +46 -0
  475. package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTagV3.js +7 -4
  476. package/dist/bundled/v3/components/OrErrorTagV3/index.js +6 -3
  477. package/dist/bundled/v3/components/OrErrorTagV3/styles.js +17 -0
  478. package/dist/bundled/v3/components/OrErrorV3/OrErrorV3.js +4 -3
  479. package/dist/bundled/v3/components/OrErrorV3/index.js +3 -2
  480. package/dist/bundled/v3/components/OrErrorV3/styles.js +21 -0
  481. package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanelV3.js +8 -4
  482. package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +7 -3
  483. package/dist/bundled/v3/components/OrExpansionPanelV3/props.js +12 -0
  484. package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +49 -0
  485. package/dist/bundled/v3/components/OrFabV3/OrFabV3.js +8 -4
  486. package/dist/bundled/v3/components/OrFabV3/index.js +7 -3
  487. package/dist/bundled/v3/components/OrFabV3/props.js +7 -0
  488. package/dist/bundled/v3/components/OrFabV3/styles.js +19 -0
  489. package/dist/bundled/v3/components/OrFloating/OrFloating.js +5 -4
  490. package/dist/bundled/v3/components/OrFloating/constants.js +22 -0
  491. package/dist/bundled/v3/components/OrFloating/index.js +4 -3
  492. package/dist/bundled/v3/components/OrHintV3/OrHintV3.js +4 -3
  493. package/dist/bundled/v3/components/OrHintV3/index.js +3 -2
  494. package/dist/bundled/v3/components/OrHintV3/styles.js +21 -0
  495. package/dist/bundled/v3/components/OrIcon/OrIcon.js +8 -6
  496. package/dist/bundled/v3/components/OrIcon/constants.js +24 -0
  497. package/dist/bundled/v3/components/OrIcon/index.js +7 -5
  498. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButtonV2.js +13 -10
  499. package/dist/bundled/v3/components/OrIconButtonV2/index.js +12 -9
  500. package/dist/bundled/v3/components/OrIconButtonV3/OrIconButtonV3.js +20 -10
  501. package/dist/bundled/v3/components/OrIconButtonV3/index.js +19 -9
  502. package/dist/bundled/v3/components/OrIconButtonV3/props.js +10 -0
  503. package/dist/bundled/v3/components/OrIconButtonV3/styles.js +48 -0
  504. package/dist/bundled/v3/components/OrIconV3/OrIconV3.js +5 -3
  505. package/dist/bundled/v3/components/OrIconV3/index.js +4 -2
  506. package/dist/bundled/v3/components/OrIconV3/props.js +17 -0
  507. package/dist/bundled/v3/components/OrIconV3/styles.js +44 -0
  508. package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBoxV3.js +5 -3
  509. package/dist/bundled/v3/components/OrInlineInputBoxV3/index.js +4 -2
  510. package/dist/bundled/v3/components/OrInlineInputBoxV3/props.js +7 -0
  511. package/dist/bundled/{v2/OrInlineInputBox-614a3bf6.js → v3/components/OrInlineInputBoxV3/styles.js} +1 -75
  512. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInputV3.js +30 -14
  513. package/dist/bundled/v3/components/OrInlineInputV3/index.js +29 -13
  514. package/dist/bundled/v3/components/OrInlineInputV3/props.js +9 -0
  515. package/dist/bundled/v3/components/OrInlineInputV3/styles.js +29 -0
  516. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +16 -12
  517. package/dist/bundled/v3/components/OrInlineTextEdit/constants.js +13 -0
  518. package/dist/bundled/v3/components/OrInlineTextEdit/index.js +15 -11
  519. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextareaV3.js +29 -14
  520. package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +28 -13
  521. package/dist/bundled/v3/components/OrInlineTextareaV3/styles.js +21 -0
  522. package/dist/bundled/v3/components/OrInput/OrInput.js +3 -3
  523. package/dist/bundled/v3/components/OrInputBoxV3/OrInputBoxV3.js +5 -3
  524. package/dist/bundled/v3/components/OrInputBoxV3/index.js +4 -2
  525. package/dist/bundled/v3/components/OrInputBoxV3/props.js +12 -0
  526. package/dist/bundled/{v2/OrInputBox-65544401.js → v3/components/OrInputBoxV3/styles.js} +1 -94
  527. package/dist/bundled/v3/components/OrInputV3/OrInputV3.js +33 -15
  528. package/dist/bundled/v3/components/OrInputV3/index.js +32 -14
  529. package/dist/bundled/v3/components/OrInputV3/props.js +11 -0
  530. package/dist/bundled/v3/components/OrInputV3/styles.js +14 -0
  531. package/dist/bundled/v3/components/OrInputs/index.js +18 -15
  532. package/dist/bundled/v3/components/OrLabelV3/OrLabelV3.js +5 -3
  533. package/dist/bundled/v3/components/OrLabelV3/index.js +4 -2
  534. package/dist/bundled/v3/components/OrLabelV3/props.js +7 -0
  535. package/dist/bundled/v3/components/OrLabelV3/styles.js +29 -0
  536. package/dist/bundled/v3/components/OrLinkV3/OrLinkV3.js +5 -3
  537. package/dist/bundled/v3/components/OrLinkV3/index.js +4 -2
  538. package/dist/bundled/v3/components/OrLinkV3/props.js +10 -0
  539. package/dist/bundled/v3/components/OrLinkV3/styles.js +26 -0
  540. package/dist/bundled/v3/components/OrList/OrList.js +15 -12
  541. package/dist/bundled/v3/components/OrList/index.js +14 -11
  542. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +17 -14
  543. package/dist/bundled/v3/components/OrListOfInputs/index.js +16 -13
  544. package/dist/bundled/v3/components/OrLoader/OrLoader.js +3 -2
  545. package/dist/bundled/v3/components/OrLoader/constants.js +8 -0
  546. package/dist/bundled/v3/components/OrLoader/index.js +2 -1
  547. package/dist/bundled/v3/components/OrLoaderV3/OrLoaderV3.js +5 -3
  548. package/dist/bundled/v3/components/OrLoaderV3/index.js +4 -2
  549. package/dist/bundled/v3/components/OrLoaderV3/props.js +18 -0
  550. package/dist/bundled/v3/components/OrLoaderV3/styles.js +17 -0
  551. package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItemV3.js +7 -4
  552. package/dist/bundled/v3/components/OrMenuItemV3/index.js +6 -3
  553. package/dist/bundled/v3/components/OrMenuItemV3/styles.js +17 -0
  554. package/dist/bundled/v3/components/OrMenuV3/OrMenuV3.js +14 -8
  555. package/dist/bundled/v3/components/OrMenuV3/index.js +14 -8
  556. package/dist/bundled/v3/components/OrMenuV3/props.js +1 -0
  557. package/dist/bundled/v3/components/OrMenuV3/styles.js +10 -0
  558. package/dist/bundled/v3/components/OrModal/OrModal.js +15 -11
  559. package/dist/bundled/v3/components/OrModal/constants.js +10 -0
  560. package/dist/bundled/v3/components/OrModal/index.js +14 -10
  561. package/dist/bundled/v3/components/OrModalV3/OrModalV3.js +23 -11
  562. package/dist/bundled/v3/components/OrModalV3/index.js +22 -10
  563. package/dist/bundled/v3/components/OrModalV3/props.js +8 -0
  564. package/dist/bundled/v3/components/OrModalV3/styles.js +38 -0
  565. package/dist/bundled/v3/components/OrNotification/OrNotification.js +15 -11
  566. package/dist/bundled/v3/components/OrNotification/constants.js +14 -0
  567. package/dist/bundled/v3/components/OrNotification/index.js +14 -10
  568. package/dist/bundled/v3/components/OrNotificationV3/OrNotificationV3.js +23 -11
  569. package/dist/bundled/v3/components/OrNotificationV3/index.js +22 -10
  570. package/dist/bundled/v3/components/OrNotificationV3/props.js +9 -0
  571. package/dist/bundled/v3/components/OrNotificationV3/styles.js +59 -0
  572. package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +5 -5
  573. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +15 -12
  574. package/dist/bundled/v3/components/OrOverflowMenu/index.js +14 -11
  575. package/dist/bundled/v3/components/OrOverflowMenuItem/OrOverflowMenuItem.js +11 -8
  576. package/dist/bundled/v3/components/OrOverlayV3/OrOverlayV3.js +6 -4
  577. package/dist/bundled/v3/components/OrOverlayV3/index.js +5 -3
  578. package/dist/bundled/v3/components/OrOverlayV3/styles.js +9 -0
  579. package/dist/bundled/v3/components/OrPassword/OrPassword.js +16 -13
  580. package/dist/bundled/v3/components/OrPopoverV3/OrPopoverV3.js +12 -7
  581. package/dist/bundled/v3/components/OrPopoverV3/index.js +11 -6
  582. package/dist/bundled/v3/components/OrPopoverV3/props.js +23 -0
  583. package/dist/bundled/v3/components/OrPopoverV3/styles.js +44 -0
  584. package/dist/bundled/v3/components/OrProgress/OrProgress.js +3 -2
  585. package/dist/bundled/v3/components/OrProgress/constants.js +15 -0
  586. package/dist/bundled/v3/components/OrProgress/index.js +2 -1
  587. package/dist/bundled/v3/components/OrProgressV3/OrProgressV3.js +6 -4
  588. package/dist/bundled/v3/components/OrProgressV3/index.js +5 -3
  589. package/dist/bundled/v3/components/OrProgressV3/props.js +15 -0
  590. package/dist/bundled/v3/components/OrProgressV3/styles.js +63 -0
  591. package/dist/bundled/v3/components/OrRadioV3/OrRadioV3.js +7 -4
  592. package/dist/bundled/v3/components/OrRadioV3/index.js +6 -3
  593. package/dist/bundled/v3/components/OrRadioV3/styles.js +31 -0
  594. package/dist/bundled/v3/components/OrSearch/OrSearch.js +15 -12
  595. package/dist/bundled/v3/components/OrSearchV3/OrSearchV3.js +34 -16
  596. package/dist/bundled/v3/components/OrSearchV3/index.js +33 -15
  597. package/dist/bundled/v3/components/OrSearchV3/props.js +1 -0
  598. package/dist/bundled/v3/components/OrSegmentedControlItemV3/OrSegmentedControlItemV3.js +2 -31
  599. package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControlV3.js +5 -3
  600. package/dist/bundled/v3/components/OrSegmentedControlV3/index.js +4 -2
  601. package/dist/bundled/v3/components/OrSegmentedControlV3/props.js +7 -0
  602. package/dist/bundled/v3/components/OrSegmentedControlV3/styles.js +31 -0
  603. package/dist/bundled/v3/components/OrSelect/OrSelect.js +13 -10
  604. package/dist/bundled/{v2/constants-59507e57.js → v3/components/OrSelect/constants.js} +1 -1
  605. package/dist/bundled/v3/components/OrSelect/index.js +12 -9
  606. package/dist/bundled/v3/components/OrSelectContent/OrSelectContent.js +11 -8
  607. package/dist/bundled/v3/components/OrSelectContentEmpty/OrSelectContentEmpty.js +1 -1
  608. package/dist/bundled/v3/components/OrSelectContentOptions/OrSelectContentOptions.js +9 -7
  609. package/dist/bundled/v3/components/OrSelectInput/OrSelectInput.js +8 -6
  610. package/dist/bundled/v3/components/OrSelectInputValue/OrSelectInputValue.js +8 -6
  611. package/dist/bundled/v3/components/OrSelectMain/OrSelectMain.js +11 -8
  612. package/dist/bundled/v3/components/OrSelectOption/OrSelectOption.js +8 -6
  613. package/dist/bundled/v3/components/OrSelectSearchOptions/OrSelectSearchOptions.js +8 -6
  614. package/dist/bundled/v3/components/OrSelectV3/OrSelectV3.js +48 -22
  615. package/dist/bundled/v3/components/OrSelectV3/index.js +47 -21
  616. package/dist/bundled/v3/components/OrSelectV3/props.js +1 -0
  617. package/dist/bundled/v3/components/OrSelectV3/styles.js +37 -0
  618. package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +3 -2
  619. package/dist/bundled/v3/components/OrSidebar/constants.js +7 -0
  620. package/dist/bundled/v3/components/OrSidebar/index.js +2 -1
  621. package/dist/bundled/v3/components/OrSidebarV3/OrSidebarV3.js +4 -2
  622. package/dist/bundled/v3/components/OrSidebarV3/index.js +3 -1
  623. package/dist/bundled/v3/components/OrSidebarV3/props.js +7 -0
  624. package/dist/bundled/v3/components/OrSidebarV3/styles.js +68 -0
  625. package/dist/bundled/v3/components/OrSkeleton/constants.js +12 -0
  626. package/dist/bundled/v3/components/OrSkeleton/index.js +5 -4
  627. package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.js +3 -3
  628. package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircleV3.js +5 -5
  629. package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.js +3 -3
  630. package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRectV3.js +5 -5
  631. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.js +4 -3
  632. package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonTextV3.js +5 -5
  633. package/dist/bundled/v3/components/OrSkeletonV3/index.js +6 -6
  634. package/dist/bundled/{v2/styles-ed564e39.js → v3/components/OrSkeletonV3/styles.js} +1 -1
  635. package/dist/bundled/v3/components/OrSlider/OrSlider.js +9 -7
  636. package/dist/bundled/v3/components/OrSlider/index.js +8 -6
  637. package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeaderV3.js +7 -4
  638. package/dist/bundled/v3/components/OrSortHeaderV3/index.js +6 -3
  639. package/dist/bundled/v3/components/OrSortHeaderV3/styles.js +15 -0
  640. package/dist/bundled/v3/components/OrStepper/OrStepper.js +13 -10
  641. package/dist/bundled/v3/components/OrStepper/index.js +12 -9
  642. package/dist/bundled/v3/components/OrStepperButtonOptions/OrStepperButtonOptions.js +11 -8
  643. package/dist/bundled/v3/components/OrStepperOptionHorizontal/OrStepperOptionHorizontal.js +11 -8
  644. package/dist/bundled/v3/components/OrStepperOptionVertical/OrStepperOptionVertical.js +11 -8
  645. package/dist/bundled/v3/components/OrSwitch/OrSwitch.js +4 -3
  646. package/dist/bundled/v3/components/OrSwitch/index.js +3 -2
  647. package/dist/bundled/v3/components/OrSwitchV3/OrSwitchV3.js +10 -5
  648. package/dist/bundled/v3/components/OrSwitchV3/index.js +9 -4
  649. package/dist/bundled/v3/components/OrSwitchV3/styles.js +51 -0
  650. package/dist/bundled/v3/components/OrTabV3/OrTabV3.js +4 -3
  651. package/dist/bundled/v3/components/OrTabV3/index.js +3 -2
  652. package/dist/bundled/v3/components/OrTabV3/styles.js +19 -0
  653. package/dist/bundled/v3/components/OrTabsV3/OrTabsV3.js +24 -12
  654. package/dist/bundled/v3/components/OrTabsV3/index.js +23 -11
  655. package/dist/bundled/v3/components/OrTabsV3/props.js +7 -0
  656. package/dist/bundled/v3/components/OrTabsV3/styles.js +19 -0
  657. package/dist/bundled/v3/components/OrTag/OrTag.js +13 -8
  658. package/dist/bundled/v3/components/OrTag/index.js +12 -7
  659. package/dist/bundled/v3/components/OrTagV3/OrTagV3.js +23 -11
  660. package/dist/bundled/v3/components/OrTagV3/index.js +22 -10
  661. package/dist/bundled/v3/components/OrTagV3/props.js +13 -0
  662. package/dist/bundled/v3/components/OrTagV3/styles.js +34 -0
  663. package/dist/bundled/v3/{constants-b4c183aa.js → components/OrTeleport/constants.js} +1 -1
  664. package/dist/bundled/v3/components/OrTeleport/index.js +1 -1
  665. package/dist/bundled/v3/components/OrTeleportVue2/OrTeleportVue2.js +1 -1
  666. package/dist/bundled/v3/components/OrTeleportVue3/OrTeleportVue3.js +1 -1
  667. package/dist/bundled/v3/components/OrTextV3/OrTextV3.js +4 -3
  668. package/dist/bundled/v3/components/OrTextV3/index.js +3 -2
  669. package/dist/bundled/v3/components/OrTextV3/styles.js +17 -0
  670. package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +5 -5
  671. package/dist/bundled/v3/components/OrTextareaV3/OrTextareaV3.js +14 -7
  672. package/dist/bundled/v3/components/OrTextareaV3/index.js +13 -6
  673. package/dist/bundled/v3/components/OrTextareaV3/props.js +1 -0
  674. package/dist/bundled/v3/components/OrTextareaV3/styles.js +14 -0
  675. package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +17 -13
  676. package/dist/bundled/v3/components/OrTextbox/constants.js +11 -0
  677. package/dist/bundled/v3/components/OrTextbox/index.js +16 -12
  678. package/dist/bundled/v3/components/OrToast/OrToast.js +15 -11
  679. package/dist/bundled/v3/components/OrToast/Timer.js +37 -0
  680. package/dist/bundled/v3/{constants-25998e4c.js → components/OrToast/constants.js} +1 -1
  681. package/dist/bundled/v3/components/OrToast/index.js +5 -3
  682. package/dist/bundled/{v2/useToastEventBus-578adc7c.js → v3/components/OrToast/useQueue.js} +1 -23
  683. package/dist/bundled/{v2/useToast-0c42015d.js → v3/components/OrToast/useToast.js} +5 -38
  684. package/dist/bundled/v3/components/OrToast/useToastEventBus.js +24 -0
  685. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +19 -14
  686. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainerV3.js +28 -14
  687. package/dist/bundled/v3/components/OrToastV3/OrToastV3.js +167 -16
  688. package/dist/bundled/v3/components/OrToastV3/Timer.js +37 -0
  689. package/dist/bundled/v3/components/OrToastV3/index.js +4 -2
  690. package/dist/bundled/v3/components/OrToastV3/props.js +1 -0
  691. package/dist/bundled/v3/components/OrToastV3/styles.js +64 -0
  692. package/dist/bundled/v3/{useToastEventBus-578adc7c.js → components/OrToastV3/useQueue.js} +1 -23
  693. package/dist/bundled/v3/{useToast-40bff6ec.js → components/OrToastV3/useToast.js} +5 -38
  694. package/dist/bundled/v3/components/OrToastV3/useToastEventBus.js +24 -0
  695. package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +6 -5
  696. package/dist/bundled/v3/components/OrTooltip/index.js +5 -4
  697. package/dist/bundled/v3/components/OrTooltipV3/OrTooltipV3.js +14 -8
  698. package/dist/bundled/v3/components/OrTooltipV3/index.js +14 -8
  699. package/dist/bundled/v3/components/OrTooltipV3/props.js +1 -0
  700. package/dist/bundled/v3/components/OrTooltipV3/styles.js +46 -0
  701. package/dist/bundled/v3/components/OrTooltipWrapperV2/OrTooltipWrapperV2.js +5 -4
  702. package/dist/bundled/v3/components/index.js +204 -108
  703. package/dist/bundled/v3/directives/dropdown-close.js +15 -0
  704. package/dist/bundled/{v2/dropdown-open-0d314aa4.js → v3/directives/dropdown-open.js} +1 -13
  705. package/dist/bundled/v3/directives/index.js +2 -1
  706. package/dist/bundled/v3/hooks/index.js +6 -5
  707. package/dist/bundled/v3/{useClassAttribute-47fdb016.js → hooks/useClassAttribute.js} +1 -1
  708. package/dist/bundled/v3/{useElevation-31bfe1f6.js → hooks/useElevation.js} +2 -5
  709. package/dist/bundled/v3/{useOverflow-af6161c8.js → hooks/useOverflow.js} +1 -1
  710. package/dist/bundled/v3/hooks/useResponsive/index.js +1 -1
  711. package/dist/bundled/{v2/useResponsive-a02e95b7.js → v3/hooks/useResponsive/useResponsive.js} +1 -1
  712. package/dist/bundled/v3/{useToggle-29e4d7c7.js → hooks/useToggle.js} +1 -1
  713. package/dist/bundled/v3/index.js +205 -116
  714. package/dist/bundled/{v2/OrCode-62c3d816.js → v3/lang-d640563a.js} +254 -4336
  715. package/dist/bundled/v3/utils/constants/color.js +16 -0
  716. package/dist/bundled/v3/utils/constants/key-codes.js +16 -0
  717. package/dist/bundled/v3/utils/constants/poper.js +10 -0
  718. package/dist/bundled/v3/utils/constants/regex.js +49 -0
  719. package/dist/bundled/v3/{color-1f348774.js → utils/functions/color.js} +11 -32
  720. package/dist/bundled/v3/utils/functions/dom.js +167 -0
  721. package/dist/bundled/v3/utils/functions/hash.js +8 -0
  722. package/dist/bundled/v3/{px-to-rem-0b26b83e.js → utils/functions/px-to-rem.js} +1 -1
  723. package/dist/bundled/v3/utils/functions/text.js +9 -0
  724. package/dist/bundled/v3/utils/isVisible.js +5 -0
  725. package/package.json +2 -2
  726. package/dist/bundled/v2/OrAvatar-6268adbf.js +0 -116
  727. package/dist/bundled/v2/OrAvatar-bf65f9a9.js +0 -194
  728. package/dist/bundled/v2/OrButton-2ca1c3d6.js +0 -198
  729. package/dist/bundled/v2/OrButton-e28c7ff6.js +0 -192
  730. package/dist/bundled/v2/OrCardCollection-dc511c6a.js +0 -224
  731. package/dist/bundled/v2/OrCardCollection-f49f899c.js +0 -259
  732. package/dist/bundled/v2/OrCardCollectionView.vue2-56150344.js +0 -93
  733. package/dist/bundled/v2/OrChipsInput-8b18de32.js +0 -151
  734. package/dist/bundled/v2/OrColorPicker-99f6c9e0.js +0 -495
  735. package/dist/bundled/v2/OrConfirm-ba45ed78.js +0 -317
  736. package/dist/bundled/v2/OrDateTimePickerCalendarItem-9d83bb44.js +0 -130
  737. package/dist/bundled/v2/OrEmptyState-2481f13f.js +0 -158
  738. package/dist/bundled/v2/OrExpansionPanel-94bf7c43.js +0 -176
  739. package/dist/bundled/v2/OrFab-9921d745.js +0 -104
  740. package/dist/bundled/v2/OrFloating-0397263c.js +0 -209
  741. package/dist/bundled/v2/OrIcon-7e3098b7.js +0 -129
  742. package/dist/bundled/v2/OrIcon-d69f7e66.js +0 -178
  743. package/dist/bundled/v2/OrIconButton-69a3f0e3.js +0 -163
  744. package/dist/bundled/v2/OrInlineInput-cfc0b5e2.js +0 -363
  745. package/dist/bundled/v2/OrInlineTextEdit-9dfa5fd9.js +0 -400
  746. package/dist/bundled/v2/OrInput-f5a4e016.js +0 -386
  747. package/dist/bundled/v2/OrLabel-b26f4298.js +0 -124
  748. package/dist/bundled/v2/OrLink-bb7b075d.js +0 -120
  749. package/dist/bundled/v2/OrLoader-003941a2.js +0 -115
  750. package/dist/bundled/v2/OrLoader-5cf41b7d.js +0 -181
  751. package/dist/bundled/v2/OrModal-6ee4a641.js +0 -1463
  752. package/dist/bundled/v2/OrModal-cc607462.js +0 -169
  753. package/dist/bundled/v2/OrNotification-648598db.js +0 -173
  754. package/dist/bundled/v2/OrNotification-9b05b5b8.js +0 -143
  755. package/dist/bundled/v2/OrPopover-6750b9e2.js +0 -284
  756. package/dist/bundled/v2/OrProgress-005c516d.js +0 -317
  757. package/dist/bundled/v2/OrProgress-4ee24824.js +0 -227
  758. package/dist/bundled/v2/OrSegmentedControl-42ce2576.js +0 -131
  759. package/dist/bundled/v2/OrSidebar-7d6125bb.js +0 -150
  760. package/dist/bundled/v2/OrSidebar-fabc7bc9.js +0 -228
  761. package/dist/bundled/v2/OrSkeletonText-de14d2a1.js +0 -107
  762. package/dist/bundled/v2/OrTabs-67a73c3d.js +0 -232
  763. package/dist/bundled/v2/OrTag-75925f25.js +0 -164
  764. package/dist/bundled/v2/OrTextbox-b203d2d3.js +0 -529
  765. package/dist/bundled/v2/OrToast-feaa0a27.js +0 -241
  766. package/dist/bundled/v2/dom-a98e78cb.js +0 -59
  767. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-4f793db1.js +0 -147
  768. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-65924b87.js +0 -133
  769. package/dist/bundled/v3/OrCardCollectionView.vue3-27432e35.js +0 -69
  770. package/dist/bundled/v3/OrChipsInput-949fd28b.js +0 -106
  771. package/dist/bundled/v3/OrDateTimePickerCalendarItem-6c38b593.js +0 -99
  772. package/dist/bundled/v3/OrExpansionPanel.vue_vue_type_script_lang-efcd3cc1.js +0 -110
  773. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-c13ec0ac.js +0 -94
  774. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-55e01b7a.js +0 -77
  775. package/dist/bundled/v3/OrLink.vue_vue_type_script_lang-faa57156.js +0 -81
  776. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-6a4fc666.js +0 -119
  777. package/dist/bundled/v3/OrToast-86bdb931.js +0 -210
  778. package/dist/bundled/v3/dom-a98e78cb.js +0 -59
@@ -1,21 +1,1471 @@
1
- export { _ as default } from '../../OrModal-6ee4a641.js';
2
- import '../../normalize-component-6e8e3d80.js';
3
- import '../../browser-82dea9ed.js';
4
- import 'vue-demi';
5
- import 'lodash';
6
- import '@vueuse/core';
7
- import '../OrIconButtonV2/OrIconButtonV2.js';
1
+ import { ref, watch, defineComponent, onBeforeUnmount } from 'vue-demi';
2
+ import _ from 'lodash';
3
+ import { OrModalSizes } from './constants.js';
4
+ import { unrefElement, tryOnScopeDispose, onClickOutside } from '@vueuse/core';
5
+ import __vue_component__$1 from '../OrIconButtonV2/OrIconButtonV2.js';
6
+ import __vue_component__$2 from '../OrOverlay/OrOverlay.js';
7
+ import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
8
+ import { c as createInjector } from '../../browser-82dea9ed.js';
8
9
  import '../OrTooltipWrapperV2/OrTooltipWrapperV2.js';
9
10
  import '../OrTooltip/OrTooltip.js';
10
11
  import '../OrTooltipContent/OrTooltipContent.js';
11
- import '../../OrFloating-0397263c.js';
12
+ import '../OrFloating/OrFloating.js';
12
13
  import '../../floating-ui.dom.esm-83eba816.js';
13
14
  import '../OrTeleportVue2/OrTeleportVue2.js';
14
15
  import 'portal-vue/dist/portal-vue.esm.js';
15
- import '../../constants-b4c183aa.js';
16
- import '../../dom-a98e78cb.js';
17
- import '../../constants-c5d1139f.js';
18
- import '../../OrIcon-d69f7e66.js';
19
- import '../../px-to-rem-0b26b83e.js';
20
- import '../../OrLoader-003941a2.js';
21
- import '../OrOverlay/OrOverlay.js';
16
+ import '../OrTeleport/constants.js';
17
+ import '../OrFloating/constants.js';
18
+ import '../../utils/functions/dom.js';
19
+ import '../OrButtonV2/constants.js';
20
+ import '../OrIcon/OrIcon.js';
21
+ import '../OrIcon/constants.js';
22
+ import '../../utils/functions/px-to-rem.js';
23
+ import '../OrLoader/OrLoader.js';
24
+ import '../OrLoader/constants.js';
25
+
26
+ /*!
27
+ * tabbable 6.0.1
28
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
29
+ */
30
+ var candidateSelectors = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]:not(slot)', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable="false"])', 'details>summary:first-of-type', 'details'];
31
+ var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
32
+ var NoElement = typeof Element === 'undefined';
33
+ var matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
34
+ var getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {
35
+ return element.getRootNode();
36
+ } : function (element) {
37
+ return element.ownerDocument;
38
+ };
39
+
40
+ /**
41
+ * @param {Element} el container to check in
42
+ * @param {boolean} includeContainer add container to check
43
+ * @param {(node: Element) => boolean} filter filter candidates
44
+ * @returns {Element[]}
45
+ */
46
+ var getCandidates = function getCandidates(el, includeContainer, filter) {
47
+ var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
48
+ if (includeContainer && matches.call(el, candidateSelector)) {
49
+ candidates.unshift(el);
50
+ }
51
+ candidates = candidates.filter(filter);
52
+ return candidates;
53
+ };
54
+
55
+ /**
56
+ * @callback GetShadowRoot
57
+ * @param {Element} element to check for shadow root
58
+ * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.
59
+ */
60
+
61
+ /**
62
+ * @callback ShadowRootFilter
63
+ * @param {Element} shadowHostNode the element which contains shadow content
64
+ * @returns {boolean} true if a shadow root could potentially contain valid candidates.
65
+ */
66
+
67
+ /**
68
+ * @typedef {Object} CandidateScope
69
+ * @property {Element} scopeParent contains inner candidates
70
+ * @property {Element[]} candidates list of candidates found in the scope parent
71
+ */
72
+
73
+ /**
74
+ * @typedef {Object} IterativeOptions
75
+ * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;
76
+ * if a function, implies shadow support is enabled and either returns the shadow root of an element
77
+ * or a boolean stating if it has an undisclosed shadow root
78
+ * @property {(node: Element) => boolean} filter filter candidates
79
+ * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list
80
+ * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;
81
+ */
82
+
83
+ /**
84
+ * @param {Element[]} elements list of element containers to match candidates from
85
+ * @param {boolean} includeContainer add container list to check
86
+ * @param {IterativeOptions} options
87
+ * @returns {Array.<Element|CandidateScope>}
88
+ */
89
+ var getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
90
+ var candidates = [];
91
+ var elementsToCheck = Array.from(elements);
92
+ while (elementsToCheck.length) {
93
+ var element = elementsToCheck.shift();
94
+ if (element.tagName === 'SLOT') {
95
+ // add shadow dom slot scope (slot itself cannot be focusable)
96
+ var assigned = element.assignedElements();
97
+ var content = assigned.length ? assigned : element.children;
98
+ var nestedCandidates = getCandidatesIteratively(content, true, options);
99
+ if (options.flatten) {
100
+ candidates.push.apply(candidates, nestedCandidates);
101
+ } else {
102
+ candidates.push({
103
+ scopeParent: element,
104
+ candidates: nestedCandidates
105
+ });
106
+ }
107
+ } else {
108
+ // check candidate element
109
+ var validCandidate = matches.call(element, candidateSelector);
110
+ if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {
111
+ candidates.push(element);
112
+ }
113
+
114
+ // iterate over shadow content if possible
115
+ var shadowRoot = element.shadowRoot ||
116
+ // check for an undisclosed shadow
117
+ typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);
118
+ var validShadowRoot = !options.shadowRootFilter || options.shadowRootFilter(element);
119
+ if (shadowRoot && validShadowRoot) {
120
+ // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed
121
+ // shadow exists, so look at light dom children as fallback BUT create a scope for any
122
+ // child candidates found because they're likely slotted elements (elements that are
123
+ // children of the web component element (which has the shadow), in the light dom, but
124
+ // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,
125
+ // _after_ we return from this recursive call
126
+ var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);
127
+ if (options.flatten) {
128
+ candidates.push.apply(candidates, _nestedCandidates);
129
+ } else {
130
+ candidates.push({
131
+ scopeParent: element,
132
+ candidates: _nestedCandidates
133
+ });
134
+ }
135
+ } else {
136
+ // there's not shadow so just dig into the element's (light dom) children
137
+ // __without__ giving the element special scope treatment
138
+ elementsToCheck.unshift.apply(elementsToCheck, element.children);
139
+ }
140
+ }
141
+ }
142
+ return candidates;
143
+ };
144
+ var getTabindex = function getTabindex(node, isScope) {
145
+ if (node.tabIndex < 0) {
146
+ // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
147
+ // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
148
+ // yet they are still part of the regular tab order; in FF, they get a default
149
+ // `tabIndex` of 0; since Chrome still puts those elements in the regular tab
150
+ // order, consider their tab index to be 0.
151
+ // Also browsers do not return `tabIndex` correctly for contentEditable nodes;
152
+ // so if they don't have a tabindex attribute specifically set, assume it's 0.
153
+ //
154
+ // isScope is positive for custom element with shadow root or slot that by default
155
+ // have tabIndex -1, but need to be sorted by document order in order for their
156
+ // content to be inserted in the correct position
157
+ if ((isScope || /^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || node.isContentEditable) && isNaN(parseInt(node.getAttribute('tabindex'), 10))) {
158
+ return 0;
159
+ }
160
+ }
161
+ return node.tabIndex;
162
+ };
163
+ var sortOrderedTabbables = function sortOrderedTabbables(a, b) {
164
+ return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
165
+ };
166
+ var isInput = function isInput(node) {
167
+ return node.tagName === 'INPUT';
168
+ };
169
+ var isHiddenInput = function isHiddenInput(node) {
170
+ return isInput(node) && node.type === 'hidden';
171
+ };
172
+ var isDetailsWithSummary = function isDetailsWithSummary(node) {
173
+ var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {
174
+ return child.tagName === 'SUMMARY';
175
+ });
176
+ return r;
177
+ };
178
+ var getCheckedRadio = function getCheckedRadio(nodes, form) {
179
+ for (var i = 0; i < nodes.length; i++) {
180
+ if (nodes[i].checked && nodes[i].form === form) {
181
+ return nodes[i];
182
+ }
183
+ }
184
+ };
185
+ var isTabbableRadio = function isTabbableRadio(node) {
186
+ if (!node.name) {
187
+ return true;
188
+ }
189
+ var radioScope = node.form || getRootNode(node);
190
+ var queryRadios = function queryRadios(name) {
191
+ return radioScope.querySelectorAll('input[type="radio"][name="' + name + '"]');
192
+ };
193
+ var radioSet;
194
+ if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {
195
+ radioSet = queryRadios(window.CSS.escape(node.name));
196
+ } else {
197
+ try {
198
+ radioSet = queryRadios(node.name);
199
+ } catch (err) {
200
+ // eslint-disable-next-line no-console
201
+ 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);
202
+ return false;
203
+ }
204
+ }
205
+ var checked = getCheckedRadio(radioSet, node.form);
206
+ return !checked || checked === node;
207
+ };
208
+ var isRadio = function isRadio(node) {
209
+ return isInput(node) && node.type === 'radio';
210
+ };
211
+ var isNonTabbableRadio = function isNonTabbableRadio(node) {
212
+ return isRadio(node) && !isTabbableRadio(node);
213
+ };
214
+
215
+ // determines if a node is ultimately attached to the window's document
216
+ var isNodeAttached = function isNodeAttached(node) {
217
+ var _nodeRootHost;
218
+ // The root node is the shadow root if the node is in a shadow DOM; some document otherwise
219
+ // (but NOT _the_ document; see second 'If' comment below for more).
220
+ // If rootNode is shadow root, it'll have a host, which is the element to which the shadow
221
+ // is attached, and the one we need to check if it's in the document or not (because the
222
+ // shadow, and all nodes it contains, is never considered in the document since shadows
223
+ // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,
224
+ // is hidden, or is not in the document itself but is detached, it will affect the shadow's
225
+ // visibility, including all the nodes it contains). The host could be any normal node,
226
+ // or a custom element (i.e. web component). Either way, that's the one that is considered
227
+ // part of the document, not the shadow root, nor any of its children (i.e. the node being
228
+ // tested).
229
+ // To further complicate things, we have to look all the way up until we find a shadow HOST
230
+ // that is attached (or find none) because the node might be in nested shadows...
231
+ // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the
232
+ // document (per the docs) and while it's a Document-type object, that document does not
233
+ // appear to be the same as the node's `ownerDocument` for some reason, so it's safer
234
+ // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,
235
+ // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when
236
+ // node is actually detached.
237
+ var nodeRootHost = getRootNode(node).host;
238
+ var attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && _nodeRootHost.ownerDocument.contains(nodeRootHost) || node.ownerDocument.contains(node));
239
+ while (!attached && nodeRootHost) {
240
+ var _nodeRootHost2;
241
+ // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,
242
+ // which means we need to get the host's host and check if that parent host is contained
243
+ // in (i.e. attached to) the document
244
+ nodeRootHost = getRootNode(nodeRootHost).host;
245
+ attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && _nodeRootHost2.ownerDocument.contains(nodeRootHost));
246
+ }
247
+ return attached;
248
+ };
249
+ var isZeroArea = function isZeroArea(node) {
250
+ var _node$getBoundingClie = node.getBoundingClientRect(),
251
+ width = _node$getBoundingClie.width,
252
+ height = _node$getBoundingClie.height;
253
+ return width === 0 && height === 0;
254
+ };
255
+ var isHidden = function isHidden(node, _ref) {
256
+ var displayCheck = _ref.displayCheck,
257
+ getShadowRoot = _ref.getShadowRoot;
258
+ // NOTE: visibility will be `undefined` if node is detached from the document
259
+ // (see notes about this further down), which means we will consider it visible
260
+ // (this is legacy behavior from a very long way back)
261
+ // NOTE: we check this regardless of `displayCheck="none"` because this is a
262
+ // _visibility_ check, not a _display_ check
263
+ if (getComputedStyle(node).visibility === 'hidden') {
264
+ return true;
265
+ }
266
+ var isDirectSummary = matches.call(node, 'details>summary:first-of-type');
267
+ var nodeUnderDetails = isDirectSummary ? node.parentElement : node;
268
+ if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {
269
+ return true;
270
+ }
271
+ if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {
272
+ if (typeof getShadowRoot === 'function') {
273
+ // figure out if we should consider the node to be in an undisclosed shadow and use the
274
+ // 'non-zero-area' fallback
275
+ var originalNode = node;
276
+ while (node) {
277
+ var parentElement = node.parentElement;
278
+ var rootNode = getRootNode(node);
279
+ if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow
280
+ ) {
281
+ // node has an undisclosed shadow which means we can only treat it as a black box, so we
282
+ // fall back to a non-zero-area test
283
+ return isZeroArea(node);
284
+ } else if (node.assignedSlot) {
285
+ // iterate up slot
286
+ node = node.assignedSlot;
287
+ } else if (!parentElement && rootNode !== node.ownerDocument) {
288
+ // cross shadow boundary
289
+ node = rootNode.host;
290
+ } else {
291
+ // iterate up normal dom
292
+ node = parentElement;
293
+ }
294
+ }
295
+ node = originalNode;
296
+ }
297
+ // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support
298
+ // (i.e. it does not also presume that all nodes might have undisclosed shadows); or
299
+ // it might be a falsy value, which means shadow DOM support is disabled
300
+
301
+ // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)
302
+ // now we can just test to see if it would normally be visible or not, provided it's
303
+ // attached to the main document.
304
+ // NOTE: We must consider case where node is inside a shadow DOM and given directly to
305
+ // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.
306
+
307
+ if (isNodeAttached(node)) {
308
+ // this works wherever the node is: if there's at least one client rect, it's
309
+ // somehow displayed; it also covers the CSS 'display: contents' case where the
310
+ // node itself is hidden in place of its contents; and there's no need to search
311
+ // up the hierarchy either
312
+ return !node.getClientRects().length;
313
+ }
314
+
315
+ // Else, the node isn't attached to the document, which means the `getClientRects()`
316
+ // API will __always__ return zero rects (this can happen, for example, if React
317
+ // is used to render nodes onto a detached tree, as confirmed in this thread:
318
+ // https://github.com/facebook/react/issues/9117#issuecomment-284228870)
319
+ //
320
+ // It also means that even window.getComputedStyle(node).display will return `undefined`
321
+ // because styles are only computed for nodes that are in the document.
322
+ //
323
+ // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable
324
+ // somehow. Though it was never stated officially, anyone who has ever used tabbable
325
+ // APIs on nodes in detached containers has actually implicitly used tabbable in what
326
+ // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck="none"` mode -- essentially
327
+ // considering __everything__ to be visible because of the innability to determine styles.
328
+ //
329
+ // v6.0.0: As of this major release, the default 'full' option __no longer treats detached
330
+ // nodes as visible with the 'none' fallback.__
331
+ if (displayCheck !== 'legacy-full') {
332
+ return true; // hidden
333
+ }
334
+ // else, fallback to 'none' mode and consider the node visible
335
+ } else if (displayCheck === 'non-zero-area') {
336
+ // NOTE: Even though this tests that the node's client rect is non-zero to determine
337
+ // whether it's displayed, and that a detached node will __always__ have a zero-area
338
+ // client rect, we don't special-case for whether the node is attached or not. In
339
+ // this mode, we do want to consider nodes that have a zero area to be hidden at all
340
+ // times, and that includes attached or not.
341
+ return isZeroArea(node);
342
+ }
343
+
344
+ // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume
345
+ // it's visible
346
+ return false;
347
+ };
348
+
349
+ // form fields (nested) inside a disabled fieldset are not focusable/tabbable
350
+ // unless they are in the _first_ <legend> element of the top-most disabled
351
+ // fieldset
352
+ var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
353
+ if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {
354
+ var parentNode = node.parentElement;
355
+ // check if `node` is contained in a disabled <fieldset>
356
+ while (parentNode) {
357
+ if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {
358
+ // look for the first <legend> among the children of the disabled <fieldset>
359
+ for (var i = 0; i < parentNode.children.length; i++) {
360
+ var child = parentNode.children.item(i);
361
+ // when the first <legend> (in document order) is found
362
+ if (child.tagName === 'LEGEND') {
363
+ // if its parent <fieldset> is not nested in another disabled <fieldset>,
364
+ // return whether `node` is a descendant of its first <legend>
365
+ return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);
366
+ }
367
+ }
368
+ // the disabled <fieldset> containing `node` has no <legend>
369
+ return true;
370
+ }
371
+ parentNode = parentNode.parentElement;
372
+ }
373
+ }
374
+
375
+ // else, node's tabbable/focusable state should not be affected by a fieldset's
376
+ // enabled/disabled state
377
+ return false;
378
+ };
379
+ var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
380
+ if (node.disabled || isHiddenInput(node) || isHidden(node, options) ||
381
+ // For a details element with a summary, the summary element gets the focus
382
+ isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
383
+ return false;
384
+ }
385
+ return true;
386
+ };
387
+ var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
388
+ if (isNonTabbableRadio(node) || getTabindex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {
389
+ return false;
390
+ }
391
+ return true;
392
+ };
393
+ var isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {
394
+ var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);
395
+ if (isNaN(tabIndex) || tabIndex >= 0) {
396
+ return true;
397
+ }
398
+ // If a custom element has an explicit negative tabindex,
399
+ // browsers will not allow tab targeting said element's children.
400
+ return false;
401
+ };
402
+
403
+ /**
404
+ * @param {Array.<Element|CandidateScope>} candidates
405
+ * @returns Element[]
406
+ */
407
+ var sortByOrder = function sortByOrder(candidates) {
408
+ var regularTabbables = [];
409
+ var orderedTabbables = [];
410
+ candidates.forEach(function (item, i) {
411
+ var isScope = !!item.scopeParent;
412
+ var element = isScope ? item.scopeParent : item;
413
+ var candidateTabindex = getTabindex(element, isScope);
414
+ var elements = isScope ? sortByOrder(item.candidates) : element;
415
+ if (candidateTabindex === 0) {
416
+ isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
417
+ } else {
418
+ orderedTabbables.push({
419
+ documentOrder: i,
420
+ tabIndex: candidateTabindex,
421
+ item: item,
422
+ isScope: isScope,
423
+ content: elements
424
+ });
425
+ }
426
+ });
427
+ return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {
428
+ sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);
429
+ return acc;
430
+ }, []).concat(regularTabbables);
431
+ };
432
+ var tabbable = function tabbable(el, options) {
433
+ options = options || {};
434
+ var candidates;
435
+ if (options.getShadowRoot) {
436
+ candidates = getCandidatesIteratively([el], options.includeContainer, {
437
+ filter: isNodeMatchingSelectorTabbable.bind(null, options),
438
+ flatten: false,
439
+ getShadowRoot: options.getShadowRoot,
440
+ shadowRootFilter: isValidShadowRootTabbable
441
+ });
442
+ } else {
443
+ candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
444
+ }
445
+ return sortByOrder(candidates);
446
+ };
447
+ var focusable = function focusable(el, options) {
448
+ options = options || {};
449
+ var candidates;
450
+ if (options.getShadowRoot) {
451
+ candidates = getCandidatesIteratively([el], options.includeContainer, {
452
+ filter: isNodeMatchingSelectorFocusable.bind(null, options),
453
+ flatten: true,
454
+ getShadowRoot: options.getShadowRoot
455
+ });
456
+ } else {
457
+ candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
458
+ }
459
+ return candidates;
460
+ };
461
+ var isTabbable = function isTabbable(node, options) {
462
+ options = options || {};
463
+ if (!node) {
464
+ throw new Error('No node provided');
465
+ }
466
+ if (matches.call(node, candidateSelector) === false) {
467
+ return false;
468
+ }
469
+ return isNodeMatchingSelectorTabbable(options, node);
470
+ };
471
+ var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');
472
+ var isFocusable = function isFocusable(node, options) {
473
+ options = options || {};
474
+ if (!node) {
475
+ throw new Error('No node provided');
476
+ }
477
+ if (matches.call(node, focusableCandidateSelector) === false) {
478
+ return false;
479
+ }
480
+ return isNodeMatchingSelectorFocusable(options, node);
481
+ };
482
+
483
+ /*!
484
+ * focus-trap 7.2.0
485
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
486
+ */
487
+ function ownKeys(object, enumerableOnly) {
488
+ var keys = Object.keys(object);
489
+ if (Object.getOwnPropertySymbols) {
490
+ var symbols = Object.getOwnPropertySymbols(object);
491
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
492
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
493
+ })), keys.push.apply(keys, symbols);
494
+ }
495
+ return keys;
496
+ }
497
+ function _objectSpread2(target) {
498
+ for (var i = 1; i < arguments.length; i++) {
499
+ var source = null != arguments[i] ? arguments[i] : {};
500
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
501
+ _defineProperty(target, key, source[key]);
502
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
503
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
504
+ });
505
+ }
506
+ return target;
507
+ }
508
+ function _defineProperty(obj, key, value) {
509
+ key = _toPropertyKey(key);
510
+ if (key in obj) {
511
+ Object.defineProperty(obj, key, {
512
+ value: value,
513
+ enumerable: true,
514
+ configurable: true,
515
+ writable: true
516
+ });
517
+ } else {
518
+ obj[key] = value;
519
+ }
520
+ return obj;
521
+ }
522
+ function _toPrimitive(input, hint) {
523
+ if (typeof input !== "object" || input === null) return input;
524
+ var prim = input[Symbol.toPrimitive];
525
+ if (prim !== undefined) {
526
+ var res = prim.call(input, hint || "default");
527
+ if (typeof res !== "object") return res;
528
+ throw new TypeError("@@toPrimitive must return a primitive value.");
529
+ }
530
+ return (hint === "string" ? String : Number)(input);
531
+ }
532
+ function _toPropertyKey(arg) {
533
+ var key = _toPrimitive(arg, "string");
534
+ return typeof key === "symbol" ? key : String(key);
535
+ }
536
+ var activeFocusTraps = {
537
+ activateTrap: function activateTrap(trapStack, trap) {
538
+ if (trapStack.length > 0) {
539
+ var activeTrap = trapStack[trapStack.length - 1];
540
+ if (activeTrap !== trap) {
541
+ activeTrap.pause();
542
+ }
543
+ }
544
+ var trapIndex = trapStack.indexOf(trap);
545
+ if (trapIndex === -1) {
546
+ trapStack.push(trap);
547
+ } else {
548
+ // move this existing trap to the front of the queue
549
+ trapStack.splice(trapIndex, 1);
550
+ trapStack.push(trap);
551
+ }
552
+ },
553
+ deactivateTrap: function deactivateTrap(trapStack, trap) {
554
+ var trapIndex = trapStack.indexOf(trap);
555
+ if (trapIndex !== -1) {
556
+ trapStack.splice(trapIndex, 1);
557
+ }
558
+ if (trapStack.length > 0) {
559
+ trapStack[trapStack.length - 1].unpause();
560
+ }
561
+ }
562
+ };
563
+ var isSelectableInput = function isSelectableInput(node) {
564
+ return node.tagName && node.tagName.toLowerCase() === 'input' && typeof node.select === 'function';
565
+ };
566
+ var isEscapeEvent = function isEscapeEvent(e) {
567
+ return e.key === 'Escape' || e.key === 'Esc' || e.keyCode === 27;
568
+ };
569
+ var isTabEvent = function isTabEvent(e) {
570
+ return e.key === 'Tab' || e.keyCode === 9;
571
+ };
572
+
573
+ // checks for TAB by default
574
+ var isKeyForward = function isKeyForward(e) {
575
+ return isTabEvent(e) && !e.shiftKey;
576
+ };
577
+
578
+ // checks for SHIFT+TAB by default
579
+ var isKeyBackward = function isKeyBackward(e) {
580
+ return isTabEvent(e) && e.shiftKey;
581
+ };
582
+ var delay = function delay(fn) {
583
+ return setTimeout(fn, 0);
584
+ };
585
+
586
+ // Array.find/findIndex() are not supported on IE; this replicates enough
587
+ // of Array.findIndex() for our needs
588
+ var findIndex = function findIndex(arr, fn) {
589
+ var idx = -1;
590
+ arr.every(function (value, i) {
591
+ if (fn(value)) {
592
+ idx = i;
593
+ return false; // break
594
+ }
595
+
596
+ return true; // next
597
+ });
598
+
599
+ return idx;
600
+ };
601
+
602
+ /**
603
+ * Get an option's value when it could be a plain value, or a handler that provides
604
+ * the value.
605
+ * @param {*} value Option's value to check.
606
+ * @param {...*} [params] Any parameters to pass to the handler, if `value` is a function.
607
+ * @returns {*} The `value`, or the handler's returned value.
608
+ */
609
+ var valueOrHandler = function valueOrHandler(value) {
610
+ for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
611
+ params[_key - 1] = arguments[_key];
612
+ }
613
+ return typeof value === 'function' ? value.apply(void 0, params) : value;
614
+ };
615
+ var getActualTarget = function getActualTarget(event) {
616
+ // NOTE: If the trap is _inside_ a shadow DOM, event.target will always be the
617
+ // shadow host. However, event.target.composedPath() will be an array of
618
+ // nodes "clicked" from inner-most (the actual element inside the shadow) to
619
+ // outer-most (the host HTML document). If we have access to composedPath(),
620
+ // then use its first element; otherwise, fall back to event.target (and
621
+ // this only works for an _open_ shadow DOM; otherwise,
622
+ // composedPath()[0] === event.target always).
623
+ return event.target.shadowRoot && typeof event.composedPath === 'function' ? event.composedPath()[0] : event.target;
624
+ };
625
+
626
+ // NOTE: this must be _outside_ `createFocusTrap()` to make sure all traps in this
627
+ // current instance use the same stack if `userOptions.trapStack` isn't specified
628
+ var internalTrapStack = [];
629
+ var createFocusTrap = function createFocusTrap(elements, userOptions) {
630
+ // SSR: a live trap shouldn't be created in this type of environment so this
631
+ // should be safe code to execute if the `document` option isn't specified
632
+ var doc = (userOptions === null || userOptions === void 0 ? void 0 : userOptions.document) || document;
633
+ var trapStack = (userOptions === null || userOptions === void 0 ? void 0 : userOptions.trapStack) || internalTrapStack;
634
+ var config = _objectSpread2({
635
+ returnFocusOnDeactivate: true,
636
+ escapeDeactivates: true,
637
+ delayInitialFocus: true,
638
+ isKeyForward: isKeyForward,
639
+ isKeyBackward: isKeyBackward
640
+ }, userOptions);
641
+ var state = {
642
+ // containers given to createFocusTrap()
643
+ // @type {Array<HTMLElement>}
644
+ containers: [],
645
+ // list of objects identifying tabbable nodes in `containers` in the trap
646
+ // NOTE: it's possible that a group has no tabbable nodes if nodes get removed while the trap
647
+ // is active, but the trap should never get to a state where there isn't at least one group
648
+ // with at least one tabbable node in it (that would lead to an error condition that would
649
+ // result in an error being thrown)
650
+ // @type {Array<{
651
+ // container: HTMLElement,
652
+ // tabbableNodes: Array<HTMLElement>, // empty if none
653
+ // focusableNodes: Array<HTMLElement>, // empty if none
654
+ // firstTabbableNode: HTMLElement|null,
655
+ // lastTabbableNode: HTMLElement|null,
656
+ // nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined
657
+ // }>}
658
+ containerGroups: [],
659
+ // same order/length as `containers` list
660
+
661
+ // references to objects in `containerGroups`, but only those that actually have
662
+ // tabbable nodes in them
663
+ // NOTE: same order as `containers` and `containerGroups`, but __not necessarily__
664
+ // the same length
665
+ tabbableGroups: [],
666
+ nodeFocusedBeforeActivation: null,
667
+ mostRecentlyFocusedNode: null,
668
+ active: false,
669
+ paused: false,
670
+ // timer ID for when delayInitialFocus is true and initial focus in this trap
671
+ // has been delayed during activation
672
+ delayInitialFocusTimer: undefined
673
+ };
674
+ 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
675
+
676
+ /**
677
+ * Gets a configuration option value.
678
+ * @param {Object|undefined} configOverrideOptions If true, and option is defined in this set,
679
+ * value will be taken from this object. Otherwise, value will be taken from base configuration.
680
+ * @param {string} optionName Name of the option whose value is sought.
681
+ * @param {string|undefined} [configOptionName] Name of option to use __instead of__ `optionName`
682
+ * IIF `configOverrideOptions` is not defined. Otherwise, `optionName` is used.
683
+ */
684
+ var getOption = function getOption(configOverrideOptions, optionName, configOptionName) {
685
+ return configOverrideOptions && configOverrideOptions[optionName] !== undefined ? configOverrideOptions[optionName] : config[configOptionName || optionName];
686
+ };
687
+
688
+ /**
689
+ * Finds the index of the container that contains the element.
690
+ * @param {HTMLElement} element
691
+ * @returns {number} Index of the container in either `state.containers` or
692
+ * `state.containerGroups` (the order/length of these lists are the same); -1
693
+ * if the element isn't found.
694
+ */
695
+ var findContainerIndex = function findContainerIndex(element) {
696
+ // NOTE: search `containerGroups` because it's possible a group contains no tabbable
697
+ // nodes, but still contains focusable nodes (e.g. if they all have `tabindex=-1`)
698
+ // and we still need to find the element in there
699
+ return state.containerGroups.findIndex(function (_ref) {
700
+ var container = _ref.container,
701
+ tabbableNodes = _ref.tabbableNodes;
702
+ return container.contains(element) ||
703
+ // fall back to explicit tabbable search which will take into consideration any
704
+ // web components if the `tabbableOptions.getShadowRoot` option was used for
705
+ // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
706
+ // look inside web components even if open)
707
+ tabbableNodes.find(function (node) {
708
+ return node === element;
709
+ });
710
+ });
711
+ };
712
+
713
+ /**
714
+ * Gets the node for the given option, which is expected to be an option that
715
+ * can be either a DOM node, a string that is a selector to get a node, `false`
716
+ * (if a node is explicitly NOT given), or a function that returns any of these
717
+ * values.
718
+ * @param {string} optionName
719
+ * @returns {undefined | false | HTMLElement | SVGElement} Returns
720
+ * `undefined` if the option is not specified; `false` if the option
721
+ * resolved to `false` (node explicitly not given); otherwise, the resolved
722
+ * DOM node.
723
+ * @throws {Error} If the option is set, not `false`, and is not, or does not
724
+ * resolve to a node.
725
+ */
726
+ var getNodeForOption = function getNodeForOption(optionName) {
727
+ var optionValue = config[optionName];
728
+ if (typeof optionValue === 'function') {
729
+ for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
730
+ params[_key2 - 1] = arguments[_key2];
731
+ }
732
+ optionValue = optionValue.apply(void 0, params);
733
+ }
734
+ if (optionValue === true) {
735
+ optionValue = undefined; // use default value
736
+ }
737
+
738
+ if (!optionValue) {
739
+ if (optionValue === undefined || optionValue === false) {
740
+ return optionValue;
741
+ }
742
+ // else, empty string (invalid), null (invalid), 0 (invalid)
743
+
744
+ throw new Error("`".concat(optionName, "` was specified but was not a node, or did not return a node"));
745
+ }
746
+ var node = optionValue; // could be HTMLElement, SVGElement, or non-empty string at this point
747
+
748
+ if (typeof optionValue === 'string') {
749
+ node = doc.querySelector(optionValue); // resolve to node, or null if fails
750
+ if (!node) {
751
+ throw new Error("`".concat(optionName, "` as selector refers to no known node"));
752
+ }
753
+ }
754
+ return node;
755
+ };
756
+ var getInitialFocusNode = function getInitialFocusNode() {
757
+ var node = getNodeForOption('initialFocus');
758
+
759
+ // false explicitly indicates we want no initialFocus at all
760
+ if (node === false) {
761
+ return false;
762
+ }
763
+ if (node === undefined) {
764
+ // option not specified: use fallback options
765
+ if (findContainerIndex(doc.activeElement) >= 0) {
766
+ node = doc.activeElement;
767
+ } else {
768
+ var firstTabbableGroup = state.tabbableGroups[0];
769
+ var firstTabbableNode = firstTabbableGroup && firstTabbableGroup.firstTabbableNode;
770
+
771
+ // NOTE: `fallbackFocus` option function cannot return `false` (not supported)
772
+ node = firstTabbableNode || getNodeForOption('fallbackFocus');
773
+ }
774
+ }
775
+ if (!node) {
776
+ throw new Error('Your focus-trap needs to have at least one focusable element');
777
+ }
778
+ return node;
779
+ };
780
+ var updateTabbableNodes = function updateTabbableNodes() {
781
+ state.containerGroups = state.containers.map(function (container) {
782
+ var tabbableNodes = tabbable(container, config.tabbableOptions);
783
+
784
+ // NOTE: if we have tabbable nodes, we must have focusable nodes; focusable nodes
785
+ // are a superset of tabbable nodes
786
+ var focusableNodes = focusable(container, config.tabbableOptions);
787
+ return {
788
+ container: container,
789
+ tabbableNodes: tabbableNodes,
790
+ focusableNodes: focusableNodes,
791
+ firstTabbableNode: tabbableNodes.length > 0 ? tabbableNodes[0] : null,
792
+ lastTabbableNode: tabbableNodes.length > 0 ? tabbableNodes[tabbableNodes.length - 1] : null,
793
+ /**
794
+ * Finds the __tabbable__ node that follows the given node in the specified direction,
795
+ * in this container, if any.
796
+ * @param {HTMLElement} node
797
+ * @param {boolean} [forward] True if going in forward tab order; false if going
798
+ * in reverse.
799
+ * @returns {HTMLElement|undefined} The next tabbable node, if any.
800
+ */
801
+ nextTabbableNode: function nextTabbableNode(node) {
802
+ var forward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
803
+ // NOTE: If tabindex is positive (in order to manipulate the tab order separate
804
+ // from the DOM order), this __will not work__ because the list of focusableNodes,
805
+ // while it contains tabbable nodes, does not sort its nodes in any order other
806
+ // than DOM order, because it can't: Where would you place focusable (but not
807
+ // tabbable) nodes in that order? They have no order, because they aren't tabbale...
808
+ // Support for positive tabindex is already broken and hard to manage (possibly
809
+ // not supportable, TBD), so this isn't going to make things worse than they
810
+ // already are, and at least makes things better for the majority of cases where
811
+ // tabindex is either 0/unset or negative.
812
+ // FYI, positive tabindex issue: https://github.com/focus-trap/focus-trap/issues/375
813
+ var nodeIdx = focusableNodes.findIndex(function (n) {
814
+ return n === node;
815
+ });
816
+ if (nodeIdx < 0) {
817
+ return undefined;
818
+ }
819
+ if (forward) {
820
+ return focusableNodes.slice(nodeIdx + 1).find(function (n) {
821
+ return isTabbable(n, config.tabbableOptions);
822
+ });
823
+ }
824
+ return focusableNodes.slice(0, nodeIdx).reverse().find(function (n) {
825
+ return isTabbable(n, config.tabbableOptions);
826
+ });
827
+ }
828
+ };
829
+ });
830
+ state.tabbableGroups = state.containerGroups.filter(function (group) {
831
+ return group.tabbableNodes.length > 0;
832
+ });
833
+
834
+ // throw if no groups have tabbable nodes and we don't have a fallback focus node either
835
+ if (state.tabbableGroups.length <= 0 && !getNodeForOption('fallbackFocus') // returning false not supported for this option
836
+ ) {
837
+ throw new Error('Your focus-trap must have at least one container with at least one tabbable node in it at all times');
838
+ }
839
+ };
840
+ var tryFocus = function tryFocus(node) {
841
+ if (node === false) {
842
+ return;
843
+ }
844
+ if (node === doc.activeElement) {
845
+ return;
846
+ }
847
+ if (!node || !node.focus) {
848
+ tryFocus(getInitialFocusNode());
849
+ return;
850
+ }
851
+ node.focus({
852
+ preventScroll: !!config.preventScroll
853
+ });
854
+ state.mostRecentlyFocusedNode = node;
855
+ if (isSelectableInput(node)) {
856
+ node.select();
857
+ }
858
+ };
859
+ var getReturnFocusNode = function getReturnFocusNode(previousActiveElement) {
860
+ var node = getNodeForOption('setReturnFocus', previousActiveElement);
861
+ return node ? node : node === false ? false : previousActiveElement;
862
+ };
863
+
864
+ // This needs to be done on mousedown and touchstart instead of click
865
+ // so that it precedes the focus event.
866
+ var checkPointerDown = function checkPointerDown(e) {
867
+ var target = getActualTarget(e);
868
+ if (findContainerIndex(target) >= 0) {
869
+ // allow the click since it ocurred inside the trap
870
+ return;
871
+ }
872
+ if (valueOrHandler(config.clickOutsideDeactivates, e)) {
873
+ // immediately deactivate the trap
874
+ trap.deactivate({
875
+ // if, on deactivation, we should return focus to the node originally-focused
876
+ // when the trap was activated (or the configured `setReturnFocus` node),
877
+ // then assume it's also OK to return focus to the outside node that was
878
+ // just clicked, causing deactivation, as long as that node is focusable;
879
+ // if it isn't focusable, then return focus to the original node focused
880
+ // on activation (or the configured `setReturnFocus` node)
881
+ // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
882
+ // which will result in the outside click setting focus to the node
883
+ // that was clicked, whether it's focusable or not; by setting
884
+ // `returnFocus: true`, we'll attempt to re-focus the node originally-focused
885
+ // on activation (or the configured `setReturnFocus` node)
886
+ returnFocus: config.returnFocusOnDeactivate && !isFocusable(target, config.tabbableOptions)
887
+ });
888
+ return;
889
+ }
890
+
891
+ // This is needed for mobile devices.
892
+ // (If we'll only let `click` events through,
893
+ // then on mobile they will be blocked anyways if `touchstart` is blocked.)
894
+ if (valueOrHandler(config.allowOutsideClick, e)) {
895
+ // allow the click outside the trap to take place
896
+ return;
897
+ }
898
+
899
+ // otherwise, prevent the click
900
+ e.preventDefault();
901
+ };
902
+
903
+ // In case focus escapes the trap for some strange reason, pull it back in.
904
+ var checkFocusIn = function checkFocusIn(e) {
905
+ var target = getActualTarget(e);
906
+ var targetContained = findContainerIndex(target) >= 0;
907
+
908
+ // In Firefox when you Tab out of an iframe the Document is briefly focused.
909
+ if (targetContained || target instanceof Document) {
910
+ if (targetContained) {
911
+ state.mostRecentlyFocusedNode = target;
912
+ }
913
+ } else {
914
+ // escaped! pull it back in to where it just left
915
+ e.stopImmediatePropagation();
916
+ tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());
917
+ }
918
+ };
919
+
920
+ // Hijack key nav events on the first and last focusable nodes of the trap,
921
+ // in order to prevent focus from escaping. If it escapes for even a
922
+ // moment it can end up scrolling the page and causing confusion so we
923
+ // kind of need to capture the action at the keydown phase.
924
+ var checkKeyNav = function checkKeyNav(event) {
925
+ var isBackward = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
926
+ var target = getActualTarget(event);
927
+ updateTabbableNodes();
928
+ var destinationNode = null;
929
+ if (state.tabbableGroups.length > 0) {
930
+ // make sure the target is actually contained in a group
931
+ // NOTE: the target may also be the container itself if it's focusable
932
+ // with tabIndex='-1' and was given initial focus
933
+ var containerIndex = findContainerIndex(target);
934
+ var containerGroup = containerIndex >= 0 ? state.containerGroups[containerIndex] : undefined;
935
+ if (containerIndex < 0) {
936
+ // target not found in any group: quite possible focus has escaped the trap,
937
+ // so bring it back into...
938
+ if (isBackward) {
939
+ // ...the last node in the last group
940
+ destinationNode = state.tabbableGroups[state.tabbableGroups.length - 1].lastTabbableNode;
941
+ } else {
942
+ // ...the first node in the first group
943
+ destinationNode = state.tabbableGroups[0].firstTabbableNode;
944
+ }
945
+ } else if (isBackward) {
946
+ // REVERSE
947
+
948
+ // is the target the first tabbable node in a group?
949
+ var startOfGroupIndex = findIndex(state.tabbableGroups, function (_ref2) {
950
+ var firstTabbableNode = _ref2.firstTabbableNode;
951
+ return target === firstTabbableNode;
952
+ });
953
+ if (startOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target, false))) {
954
+ // an exception case where the target is either the container itself, or
955
+ // a non-tabbable node that was given focus (i.e. tabindex is negative
956
+ // and user clicked on it or node was programmatically given focus)
957
+ // and is not followed by any other tabbable node, in which
958
+ // case, we should handle shift+tab as if focus were on the container's
959
+ // first tabbable node, and go to the last tabbable node of the LAST group
960
+ startOfGroupIndex = containerIndex;
961
+ }
962
+ if (startOfGroupIndex >= 0) {
963
+ // YES: then shift+tab should go to the last tabbable node in the
964
+ // previous group (and wrap around to the last tabbable node of
965
+ // the LAST group if it's the first tabbable node of the FIRST group)
966
+ var destinationGroupIndex = startOfGroupIndex === 0 ? state.tabbableGroups.length - 1 : startOfGroupIndex - 1;
967
+ var destinationGroup = state.tabbableGroups[destinationGroupIndex];
968
+ destinationNode = destinationGroup.lastTabbableNode;
969
+ } else if (!isTabEvent(event)) {
970
+ // user must have customized the nav keys so we have to move focus manually _within_
971
+ // the active group: do this based on the order determined by tabbable()
972
+ destinationNode = containerGroup.nextTabbableNode(target, false);
973
+ }
974
+ } else {
975
+ // FORWARD
976
+
977
+ // is the target the last tabbable node in a group?
978
+ var lastOfGroupIndex = findIndex(state.tabbableGroups, function (_ref3) {
979
+ var lastTabbableNode = _ref3.lastTabbableNode;
980
+ return target === lastTabbableNode;
981
+ });
982
+ if (lastOfGroupIndex < 0 && (containerGroup.container === target || isFocusable(target, config.tabbableOptions) && !isTabbable(target, config.tabbableOptions) && !containerGroup.nextTabbableNode(target))) {
983
+ // an exception case where the target is the container itself, or
984
+ // a non-tabbable node that was given focus (i.e. tabindex is negative
985
+ // and user clicked on it or node was programmatically given focus)
986
+ // and is not followed by any other tabbable node, in which
987
+ // case, we should handle tab as if focus were on the container's
988
+ // last tabbable node, and go to the first tabbable node of the FIRST group
989
+ lastOfGroupIndex = containerIndex;
990
+ }
991
+ if (lastOfGroupIndex >= 0) {
992
+ // YES: then tab should go to the first tabbable node in the next
993
+ // group (and wrap around to the first tabbable node of the FIRST
994
+ // group if it's the last tabbable node of the LAST group)
995
+ var _destinationGroupIndex = lastOfGroupIndex === state.tabbableGroups.length - 1 ? 0 : lastOfGroupIndex + 1;
996
+ var _destinationGroup = state.tabbableGroups[_destinationGroupIndex];
997
+ destinationNode = _destinationGroup.firstTabbableNode;
998
+ } else if (!isTabEvent(event)) {
999
+ // user must have customized the nav keys so we have to move focus manually _within_
1000
+ // the active group: do this based on the order determined by tabbable()
1001
+ destinationNode = containerGroup.nextTabbableNode(target);
1002
+ }
1003
+ }
1004
+ } else {
1005
+ // no groups available
1006
+ // NOTE: the fallbackFocus option does not support returning false to opt-out
1007
+ destinationNode = getNodeForOption('fallbackFocus');
1008
+ }
1009
+ if (destinationNode) {
1010
+ if (isTabEvent(event)) {
1011
+ // since tab natively moves focus, we wouldn't have a destination node unless we
1012
+ // were on the edge of a container and had to move to the next/previous edge, in
1013
+ // which case we want to prevent default to keep the browser from moving focus
1014
+ // to where it normally would
1015
+ event.preventDefault();
1016
+ }
1017
+ tryFocus(destinationNode);
1018
+ }
1019
+ // else, let the browser take care of [shift+]tab and move the focus
1020
+ };
1021
+
1022
+ var checkKey = function checkKey(event) {
1023
+ if (isEscapeEvent(event) && valueOrHandler(config.escapeDeactivates, event) !== false) {
1024
+ event.preventDefault();
1025
+ trap.deactivate();
1026
+ return;
1027
+ }
1028
+ if (config.isKeyForward(event) || config.isKeyBackward(event)) {
1029
+ checkKeyNav(event, config.isKeyBackward(event));
1030
+ }
1031
+ };
1032
+ var checkClick = function checkClick(e) {
1033
+ var target = getActualTarget(e);
1034
+ if (findContainerIndex(target) >= 0) {
1035
+ return;
1036
+ }
1037
+ if (valueOrHandler(config.clickOutsideDeactivates, e)) {
1038
+ return;
1039
+ }
1040
+ if (valueOrHandler(config.allowOutsideClick, e)) {
1041
+ return;
1042
+ }
1043
+ e.preventDefault();
1044
+ e.stopImmediatePropagation();
1045
+ };
1046
+
1047
+ //
1048
+ // EVENT LISTENERS
1049
+ //
1050
+
1051
+ var addListeners = function addListeners() {
1052
+ if (!state.active) {
1053
+ return;
1054
+ }
1055
+
1056
+ // There can be only one listening focus trap at a time
1057
+ activeFocusTraps.activateTrap(trapStack, trap);
1058
+
1059
+ // Delay ensures that the focused element doesn't capture the event
1060
+ // that caused the focus trap activation.
1061
+ state.delayInitialFocusTimer = config.delayInitialFocus ? delay(function () {
1062
+ tryFocus(getInitialFocusNode());
1063
+ }) : tryFocus(getInitialFocusNode());
1064
+ doc.addEventListener('focusin', checkFocusIn, true);
1065
+ doc.addEventListener('mousedown', checkPointerDown, {
1066
+ capture: true,
1067
+ passive: false
1068
+ });
1069
+ doc.addEventListener('touchstart', checkPointerDown, {
1070
+ capture: true,
1071
+ passive: false
1072
+ });
1073
+ doc.addEventListener('click', checkClick, {
1074
+ capture: true,
1075
+ passive: false
1076
+ });
1077
+ doc.addEventListener('keydown', checkKey, {
1078
+ capture: true,
1079
+ passive: false
1080
+ });
1081
+ return trap;
1082
+ };
1083
+ var removeListeners = function removeListeners() {
1084
+ if (!state.active) {
1085
+ return;
1086
+ }
1087
+ doc.removeEventListener('focusin', checkFocusIn, true);
1088
+ doc.removeEventListener('mousedown', checkPointerDown, true);
1089
+ doc.removeEventListener('touchstart', checkPointerDown, true);
1090
+ doc.removeEventListener('click', checkClick, true);
1091
+ doc.removeEventListener('keydown', checkKey, true);
1092
+ return trap;
1093
+ };
1094
+
1095
+ //
1096
+ // TRAP DEFINITION
1097
+ //
1098
+
1099
+ trap = {
1100
+ get active() {
1101
+ return state.active;
1102
+ },
1103
+ get paused() {
1104
+ return state.paused;
1105
+ },
1106
+ activate: function activate(activateOptions) {
1107
+ if (state.active) {
1108
+ return this;
1109
+ }
1110
+ var onActivate = getOption(activateOptions, 'onActivate');
1111
+ var onPostActivate = getOption(activateOptions, 'onPostActivate');
1112
+ var checkCanFocusTrap = getOption(activateOptions, 'checkCanFocusTrap');
1113
+ if (!checkCanFocusTrap) {
1114
+ updateTabbableNodes();
1115
+ }
1116
+ state.active = true;
1117
+ state.paused = false;
1118
+ state.nodeFocusedBeforeActivation = doc.activeElement;
1119
+ if (onActivate) {
1120
+ onActivate();
1121
+ }
1122
+ var finishActivation = function finishActivation() {
1123
+ if (checkCanFocusTrap) {
1124
+ updateTabbableNodes();
1125
+ }
1126
+ addListeners();
1127
+ if (onPostActivate) {
1128
+ onPostActivate();
1129
+ }
1130
+ };
1131
+ if (checkCanFocusTrap) {
1132
+ checkCanFocusTrap(state.containers.concat()).then(finishActivation, finishActivation);
1133
+ return this;
1134
+ }
1135
+ finishActivation();
1136
+ return this;
1137
+ },
1138
+ deactivate: function deactivate(deactivateOptions) {
1139
+ if (!state.active) {
1140
+ return this;
1141
+ }
1142
+ var options = _objectSpread2({
1143
+ onDeactivate: config.onDeactivate,
1144
+ onPostDeactivate: config.onPostDeactivate,
1145
+ checkCanReturnFocus: config.checkCanReturnFocus
1146
+ }, deactivateOptions);
1147
+ clearTimeout(state.delayInitialFocusTimer); // noop if undefined
1148
+ state.delayInitialFocusTimer = undefined;
1149
+ removeListeners();
1150
+ state.active = false;
1151
+ state.paused = false;
1152
+ activeFocusTraps.deactivateTrap(trapStack, trap);
1153
+ var onDeactivate = getOption(options, 'onDeactivate');
1154
+ var onPostDeactivate = getOption(options, 'onPostDeactivate');
1155
+ var checkCanReturnFocus = getOption(options, 'checkCanReturnFocus');
1156
+ var returnFocus = getOption(options, 'returnFocus', 'returnFocusOnDeactivate');
1157
+ if (onDeactivate) {
1158
+ onDeactivate();
1159
+ }
1160
+ var finishDeactivation = function finishDeactivation() {
1161
+ delay(function () {
1162
+ if (returnFocus) {
1163
+ tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));
1164
+ }
1165
+ if (onPostDeactivate) {
1166
+ onPostDeactivate();
1167
+ }
1168
+ });
1169
+ };
1170
+ if (returnFocus && checkCanReturnFocus) {
1171
+ checkCanReturnFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation)).then(finishDeactivation, finishDeactivation);
1172
+ return this;
1173
+ }
1174
+ finishDeactivation();
1175
+ return this;
1176
+ },
1177
+ pause: function pause() {
1178
+ if (state.paused || !state.active) {
1179
+ return this;
1180
+ }
1181
+ state.paused = true;
1182
+ removeListeners();
1183
+ return this;
1184
+ },
1185
+ unpause: function unpause() {
1186
+ if (!state.paused || !state.active) {
1187
+ return this;
1188
+ }
1189
+ state.paused = false;
1190
+ updateTabbableNodes();
1191
+ addListeners();
1192
+ return this;
1193
+ },
1194
+ updateContainerElements: function updateContainerElements(containerElements) {
1195
+ var elementsAsArray = [].concat(containerElements).filter(Boolean);
1196
+ state.containers = elementsAsArray.map(function (element) {
1197
+ return typeof element === 'string' ? doc.querySelector(element) : element;
1198
+ });
1199
+ if (state.active) {
1200
+ updateTabbableNodes();
1201
+ }
1202
+ return this;
1203
+ }
1204
+ };
1205
+
1206
+ // initialize container elements
1207
+ trap.updateContainerElements(elements);
1208
+ return trap;
1209
+ };
1210
+
1211
+ var __defProp = Object.defineProperty;
1212
+ var __defProps = Object.defineProperties;
1213
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
1214
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
1215
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
1216
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
1217
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1218
+ var __spreadValues = (a, b) => {
1219
+ for (var prop in b || (b = {}))
1220
+ if (__hasOwnProp.call(b, prop))
1221
+ __defNormalProp(a, prop, b[prop]);
1222
+ if (__getOwnPropSymbols)
1223
+ for (var prop of __getOwnPropSymbols(b)) {
1224
+ if (__propIsEnum.call(b, prop))
1225
+ __defNormalProp(a, prop, b[prop]);
1226
+ }
1227
+ return a;
1228
+ };
1229
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
1230
+ var __objRest = (source, exclude) => {
1231
+ var target = {};
1232
+ for (var prop in source)
1233
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
1234
+ target[prop] = source[prop];
1235
+ if (source != null && __getOwnPropSymbols)
1236
+ for (var prop of __getOwnPropSymbols(source)) {
1237
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
1238
+ target[prop] = source[prop];
1239
+ }
1240
+ return target;
1241
+ };
1242
+ function useFocusTrap(target, options = {}) {
1243
+ let trap;
1244
+ const _a = options, { immediate } = _a, focusTrapOptions = __objRest(_a, ["immediate"]);
1245
+ const hasFocus = ref(false);
1246
+ const isPaused = ref(false);
1247
+ const activate = (opts) => trap && trap.activate(opts);
1248
+ const deactivate = (opts) => trap && trap.deactivate(opts);
1249
+ const pause = () => {
1250
+ if (trap) {
1251
+ trap.pause();
1252
+ isPaused.value = true;
1253
+ }
1254
+ };
1255
+ const unpause = () => {
1256
+ if (trap) {
1257
+ trap.unpause();
1258
+ isPaused.value = false;
1259
+ }
1260
+ };
1261
+ watch(() => unrefElement(target), (el) => {
1262
+ if (!el)
1263
+ return;
1264
+ trap = createFocusTrap(el, __spreadProps(__spreadValues({}, focusTrapOptions), {
1265
+ onActivate() {
1266
+ hasFocus.value = true;
1267
+ if (options.onActivate)
1268
+ options.onActivate();
1269
+ },
1270
+ onDeactivate() {
1271
+ hasFocus.value = false;
1272
+ if (options.onDeactivate)
1273
+ options.onDeactivate();
1274
+ }
1275
+ }));
1276
+ if (immediate)
1277
+ activate();
1278
+ }, { flush: "post" });
1279
+ tryOnScopeDispose(() => deactivate());
1280
+ return {
1281
+ hasFocus,
1282
+ isPaused,
1283
+ activate,
1284
+ deactivate,
1285
+ pause,
1286
+ unpause
1287
+ };
1288
+ }
1289
+
1290
+ var script = defineComponent({
1291
+ name: 'OrModal',
1292
+ components: {
1293
+ OrIconButton: __vue_component__$1,
1294
+ OrOverlay: __vue_component__$2
1295
+ },
1296
+ props: {
1297
+ titleText: {
1298
+ type: String,
1299
+ required: false,
1300
+ default: null,
1301
+ validator: _.isString
1302
+ },
1303
+ showClose: {
1304
+ type: Boolean,
1305
+ default: true,
1306
+ validator: _.isBoolean
1307
+ },
1308
+ closeOnClickOutside: {
1309
+ type: Boolean,
1310
+ required: false,
1311
+ default: false,
1312
+ validator: _.isBoolean
1313
+ },
1314
+ size: {
1315
+ type: String,
1316
+ required: false,
1317
+ default: OrModalSizes.small
1318
+ },
1319
+ isOpen: {
1320
+ type: Boolean,
1321
+ required: true,
1322
+ validator: _.isBoolean
1323
+ },
1324
+ isWithoutOverlay: {
1325
+ type: Boolean,
1326
+ required: false,
1327
+ default: false,
1328
+ validator: _.isBoolean
1329
+ },
1330
+ trapFocus: {
1331
+ type: Boolean,
1332
+ default: true,
1333
+ validator: _.isBoolean
1334
+ }
1335
+ },
1336
+ emits: ['close'],
1337
+ setup(props, {
1338
+ emit
1339
+ }) {
1340
+ const overlay = ref();
1341
+ let container = ref(null);
1342
+ let trap = useFocusTrap(container, {
1343
+ immediate: props.trapFocus,
1344
+ fallbackFocus: '.container',
1345
+ allowOutsideClick: true
1346
+ });
1347
+ const handleClose = () => emit('close');
1348
+ onClickOutside(container, evt => {
1349
+ if (!evt.composedPath().includes(overlay.value.$el)) return;
1350
+ if (props.closeOnClickOutside) handleClose();
1351
+ });
1352
+ const toggleFocusTrap = isNeedToTrap => {
1353
+ if (isNeedToTrap && props.isOpen) {
1354
+ trap.activate();
1355
+ } else {
1356
+ trap === null || trap === void 0 ? void 0 : trap.deactivate();
1357
+ }
1358
+ };
1359
+ watch(() => props.trapFocus, toggleFocusTrap, {
1360
+ immediate: true
1361
+ });
1362
+ watch(() => props.isOpen, isOpen => {
1363
+ toggleFocusTrap(false);
1364
+ if (isOpen) {
1365
+ container = ref(null);
1366
+ } else {
1367
+ trap === null || trap === void 0 ? void 0 : trap.deactivate();
1368
+ }
1369
+ });
1370
+ onBeforeUnmount(() => {
1371
+ trap === null || trap === void 0 ? void 0 : trap.deactivate();
1372
+ });
1373
+ return {
1374
+ container,
1375
+ overlay,
1376
+ handleClose
1377
+ };
1378
+ },
1379
+ computed: {
1380
+ sizeClass() {
1381
+ return `is-${this.size}`;
1382
+ }
1383
+ }
1384
+ });
1385
+
1386
+ /* script */
1387
+ const __vue_script__ = script;
1388
+
1389
+ /* template */
1390
+ var __vue_render__ = function () {
1391
+ var _vm = this;
1392
+ var _h = _vm.$createElement;
1393
+ var _c = _vm._self._c || _h;
1394
+ return _vm.isOpen ? _c('div', {
1395
+ staticClass: "or-modal"
1396
+ }, [_c('or-overlay', {
1397
+ ref: "overlay",
1398
+ attrs: {
1399
+ "is-active": "",
1400
+ "is-without-background": _vm.isWithoutOverlay
1401
+ }
1402
+ }, [_c('div', {
1403
+ ref: "container",
1404
+ class: [_vm.sizeClass, 'container', {
1405
+ 'is-without-overlay': _vm.isWithoutOverlay
1406
+ }]
1407
+ }, [_vm._t("header", function () {
1408
+ return [_c('div', {
1409
+ staticClass: "header"
1410
+ }, [_vm._t("title", function () {
1411
+ return [_c('div', {
1412
+ staticClass: "title"
1413
+ }, [_vm._v("\n " + _vm._s(_vm.titleText) + "\n ")])];
1414
+ }), _vm._v(" "), _c('or-icon-button', {
1415
+ directives: [{
1416
+ name: "show",
1417
+ rawName: "v-show",
1418
+ value: _vm.showClose,
1419
+ expression: "showClose"
1420
+ }],
1421
+ attrs: {
1422
+ "icon": "close",
1423
+ "icon-color": "neutral-6"
1424
+ },
1425
+ on: {
1426
+ "click": _vm.handleClose
1427
+ }
1428
+ })], 2)];
1429
+ }), _vm._v(" "), _vm._t("content", function () {
1430
+ return [_c('div', {
1431
+ staticClass: "content"
1432
+ }, [_vm._t("default")], 2)];
1433
+ }), _vm._v(" "), _c('div', {
1434
+ directives: [{
1435
+ name: "show",
1436
+ rawName: "v-show",
1437
+ value: _vm.$slots.footer,
1438
+ expression: "$slots.footer"
1439
+ }],
1440
+ staticClass: "footer"
1441
+ }, [_vm._t("footer", null, {
1442
+ "close": _vm.handleClose
1443
+ })], 2)], 2)])], 1) : _vm._e();
1444
+ };
1445
+ var __vue_staticRenderFns__ = [];
1446
+
1447
+ /* style */
1448
+ const __vue_inject_styles__ = function (inject) {
1449
+ if (!inject) return;
1450
+ inject("data-v-1caff449_0", {
1451
+ source: "@keyframes spinAround-data-v-1caff449{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-1caff449{from{opacity:1}to{opacity:0}}.or-modal[data-v-1caff449]{position:fixed;top:0;left:0;z-index:50;width:100%;height:100%}.or-modal .or-overlay[data-v-1caff449]{align-items:center;justify-content:center}.or-modal .container[data-v-1caff449]{position:absolute;display:flex;flex-flow:column;max-width:100%;max-height:80%;background-color:var(--c-neutral-0);border-radius:var(--s-2);outline:0}.or-modal .container.is-without-overlay[data-v-1caff449]{box-shadow:0 .125rem .5rem 0 rgba(0,0,0,.1)}.or-modal .container.is-fullScreen[data-v-1caff449]{width:calc(100% - var(--s-7));height:calc(100% - var(--s-7));max-height:calc(100% - var(--s-7));margin:0 auto}.or-modal .container.is-tiny[data-v-1caff449]{width:320px}.or-modal .container.is-small[data-v-1caff449]{width:480px}.or-modal .container.is-medium[data-v-1caff449]{width:700px}.or-modal .container.is-large[data-v-1caff449]{width:1049px}.or-modal .container .header[data-v-1caff449]{display:flex;justify-content:space-between;padding:24px 24px 20px 24px;border-radius:var(--s-2) var(--s-2) 0 0}.or-modal .container .header .title[data-v-1caff449]{font-size:1.125rem;font-weight:700}.or-modal .container .content[data-v-1caff449]{flex-grow:1;padding:0 24px 24px 24px;overflow:auto}.or-modal .container .footer[data-v-1caff449]{padding:16px 24px 24px 24px;border-radius:0 0 var(--s-2) var(--s-2);box-shadow:0 -3px 4px 0 rgba(0,0,0,.08)}",
1452
+ map: undefined,
1453
+ media: undefined
1454
+ });
1455
+ };
1456
+ /* scoped */
1457
+ const __vue_scope_id__ = "data-v-1caff449";
1458
+ /* module identifier */
1459
+ const __vue_module_identifier__ = undefined;
1460
+ /* functional template */
1461
+ const __vue_is_functional_template__ = false;
1462
+ /* style inject SSR */
1463
+
1464
+ /* style inject shadow dom */
1465
+
1466
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
1467
+ render: __vue_render__,
1468
+ staticRenderFns: __vue_staticRenderFns__
1469
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);
1470
+
1471
+ export { __vue_component__ as default };