@onereach/ui-components 2.70.0-beta.2204.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 (2469) hide show
  1. package/dist/bundled/v2/components/OrAvatar/OrAvatar.js +120 -0
  2. package/dist/bundled/v2/components/OrAvatar/constants.js +8 -0
  3. package/dist/bundled/v2/components/OrAvatar/index.js +17 -0
  4. package/dist/bundled/v2/components/OrAvatarV3/OrAvatarV3.js +121 -0
  5. package/dist/bundled/v2/components/OrAvatarV3/index.js +13 -0
  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 +144 -0
  9. package/dist/bundled/v2/components/OrBottomSheetV3/index.js +12 -0
  10. package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +37 -0
  11. package/dist/bundled/v2/components/OrButton/OrButton.js +177 -0
  12. package/dist/bundled/v2/components/OrButton/constants.js +25 -0
  13. package/dist/bundled/v2/components/OrButton/index.js +8 -0
  14. package/dist/bundled/v2/components/OrButtonV2/OrButtonV2.js +187 -0
  15. package/dist/bundled/v2/components/OrButtonV2/constants.js +43 -0
  16. package/dist/bundled/v2/components/OrButtonV2/index.d.ts +3 -0
  17. package/dist/bundled/v2/components/OrButtonV2/index.js +22 -0
  18. package/dist/bundled/v2/components/OrButtonV3/OrButtonV3.js +116 -0
  19. package/dist/bundled/v2/components/OrButtonV3/index.js +9 -0
  20. package/dist/bundled/v2/components/OrButtonV3/props.js +21 -0
  21. package/dist/bundled/v2/components/OrButtonV3/styles.js +61 -0
  22. package/dist/bundled/v2/components/OrCard/OrCard.js +68 -0
  23. package/dist/bundled/v2/components/OrCard/index.js +4 -0
  24. package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +241 -0
  25. package/dist/bundled/v2/components/OrCardCollection/constants.js +7 -0
  26. package/dist/bundled/v2/components/OrCardCollection/index.js +31 -0
  27. package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollectionV3.js +287 -0
  28. package/dist/bundled/v2/components/OrCardCollectionV3/index.js +54 -0
  29. package/dist/bundled/v2/components/OrCardCollectionV3/props.js +16 -0
  30. package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +30 -0
  31. package/dist/bundled/v2/components/OrCardCollectionView.vue2V3/OrCardCollectionView.vue2V3.js +65 -0
  32. package/dist/bundled/v2/components/OrCardCollectionView.vue3V3/OrCardCollectionView.vue3V3.js +4 -0
  33. package/dist/bundled/v2/components/OrCardV3/OrCardV3.js +57 -0
  34. package/dist/bundled/v2/components/OrCardV3/index.js +5 -0
  35. package/dist/bundled/v2/components/OrCardV3/styles.js +15 -0
  36. package/dist/bundled/v2/components/OrCarousel/OrCarousel.js +2876 -0
  37. package/dist/bundled/v2/components/OrCarousel/constants.js +21 -0
  38. package/dist/bundled/v2/components/OrCarousel/index.js +18 -0
  39. package/dist/bundled/v2/components/OrCarouselItem/OrCarouselItem.js +41 -0
  40. package/dist/bundled/v2/components/OrCheckbox/OrCheckbox.js +194 -0
  41. package/dist/bundled/v2/components/OrCheckbox/index.js +16 -0
  42. package/dist/bundled/v2/components/OrCheckboxV3/OrCheckboxV3.js +182 -0
  43. package/dist/bundled/v2/components/OrCheckboxV3/index.js +9 -0
  44. package/dist/bundled/v2/components/OrCheckboxV3/styles.js +31 -0
  45. package/dist/bundled/v2/components/OrChip/OrChip.js +105 -0
  46. package/dist/bundled/v2/components/OrChips/OrChips.js +193 -0
  47. package/dist/bundled/v2/components/OrChips/constants.js +10 -0
  48. package/dist/bundled/v2/components/OrChips/index.js +21 -0
  49. package/dist/bundled/v2/components/OrChipsInput/OrChipsInput.js +155 -0
  50. package/dist/bundled/v2/components/OrChipsInput/constants.d.ts +9 -0
  51. package/dist/bundled/v2/components/OrCode/OrCode.js +4094 -0
  52. package/dist/bundled/v2/components/OrCode/constants.js +11 -0
  53. package/dist/bundled/v2/components/OrCode/index.js +31 -0
  54. package/dist/bundled/v2/components/OrCode/lang.js +2 -0
  55. package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +171 -0
  56. package/dist/bundled/v2/components/OrCollapse/index.js +7 -0
  57. package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +170 -0
  58. package/dist/bundled/v2/components/OrColorPicker/constants.js +323 -0
  59. package/dist/bundled/v2/components/OrColorPicker/defultPalette.js +15 -0
  60. package/dist/bundled/v2/components/OrColorPicker/index.js +15 -0
  61. package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +284 -0
  62. package/dist/bundled/v2/components/OrConfirm/index.js +33 -0
  63. package/dist/bundled/v2/components/OrConfirmV3/OrConfirmV3.js +310 -0
  64. package/dist/bundled/v2/components/OrConfirmV3/index.js +49 -0
  65. package/dist/bundled/v2/components/OrConfirmV3/props.js +7 -0
  66. package/dist/bundled/v2/components/OrConfirmV3/styles.js +45 -0
  67. package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +659 -0
  68. package/dist/bundled/v2/components/OrDateTimePicker/constants.js +20 -0
  69. package/dist/bundled/v2/components/OrDateTimePicker/index.js +29 -0
  70. package/dist/bundled/v2/components/OrDateTimePickerCalendarItem/OrDateTimePickerCalendarItem.js +112 -0
  71. package/dist/bundled/v2/components/OrEmptyStateV3/OrEmptyStateV3.js +111 -0
  72. package/dist/bundled/v2/components/OrEmptyStateV3/index.js +5 -0
  73. package/dist/bundled/v2/components/OrEmptyStateV3/props.js +7 -0
  74. package/dist/bundled/v2/components/OrEmptyStateV3/styles.js +46 -0
  75. package/dist/bundled/v2/components/OrError/OrError.js +55 -0
  76. package/dist/bundled/v2/components/OrError/index.js +4 -0
  77. package/dist/bundled/v2/components/OrErrorTagV3/OrErrorTagV3.js +70 -0
  78. package/dist/bundled/v2/components/OrErrorTagV3/index.js +8 -0
  79. package/dist/bundled/v2/components/OrErrorTagV3/styles.js +17 -0
  80. package/dist/bundled/v2/components/OrErrorV3/OrErrorV3.js +74 -0
  81. package/dist/bundled/v2/components/OrErrorV3/index.js +5 -0
  82. package/dist/bundled/v2/components/OrErrorV3/styles.js +21 -0
  83. package/dist/bundled/v2/components/OrExpansionPanelV3/OrExpansionPanelV3.js +121 -0
  84. package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +9 -0
  85. package/dist/bundled/v2/components/OrExpansionPanelV3/props.js +12 -0
  86. package/dist/bundled/v2/components/OrExpansionPanelV3/styles.js +49 -0
  87. package/dist/bundled/v2/components/OrFabV3/OrFabV3.js +85 -0
  88. package/dist/bundled/v2/components/OrFabV3/index.js +9 -0
  89. package/dist/bundled/v2/components/OrFabV3/props.js +7 -0
  90. package/dist/bundled/v2/components/OrFabV3/styles.js +19 -0
  91. package/dist/bundled/v2/components/OrFloating/OrFloating.js +192 -0
  92. package/dist/bundled/v2/components/OrFloating/constants.js +22 -0
  93. package/dist/bundled/v2/components/OrFloating/index.js +11 -0
  94. package/dist/bundled/v2/components/OrHint/OrHint.js +58 -0
  95. package/dist/bundled/v2/components/OrHint/index.js +5 -0
  96. package/dist/bundled/v2/components/OrHintV3/OrHintV3.js +74 -0
  97. package/dist/bundled/v2/components/OrHintV3/index.js +5 -0
  98. package/dist/bundled/v2/components/OrHintV3/styles.js +21 -0
  99. package/dist/bundled/v2/components/OrIcon/OrIcon.js +162 -0
  100. package/dist/bundled/v2/components/OrIcon/constants.js +24 -0
  101. package/dist/bundled/v2/components/OrIcon/index.js +15 -0
  102. package/dist/bundled/v2/components/OrIconButtonV2/OrIconButton.vue.d.ts +132 -0
  103. package/dist/bundled/v2/components/OrIconButtonV2/OrIconButtonV2.js +168 -0
  104. package/dist/bundled/v2/components/OrIconButtonV2/index.d.ts +1 -0
  105. package/dist/bundled/v2/components/OrIconButtonV2/index.js +21 -0
  106. package/dist/bundled/v2/components/OrIconButtonV3/OrIconButtonV3.js +128 -0
  107. package/dist/bundled/v2/components/OrIconButtonV3/index.js +25 -0
  108. package/dist/bundled/v2/components/OrIconButtonV3/props.js +10 -0
  109. package/dist/bundled/v2/components/OrIconButtonV3/styles.js +48 -0
  110. package/dist/bundled/v2/components/OrIconV3/OrIconV3.js +72 -0
  111. package/dist/bundled/v2/components/OrIconV3/index.js +6 -0
  112. package/dist/bundled/v2/components/OrIconV3/props.js +17 -0
  113. package/dist/bundled/v2/components/OrIconV3/styles.js +44 -0
  114. package/dist/bundled/v2/components/OrInlineInputBoxV3/OrInlineInputBoxV3.js +71 -0
  115. package/dist/bundled/v2/components/OrInlineInputBoxV3/index.js +6 -0
  116. package/dist/bundled/v2/components/OrInlineInputBoxV3/props.js +7 -0
  117. package/dist/bundled/v2/components/OrInlineInputBoxV3/styles.js +23 -0
  118. package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInputV3.js +356 -0
  119. package/dist/bundled/v2/components/OrInlineInputV3/index.js +36 -0
  120. package/dist/bundled/v2/components/OrInlineInputV3/props.js +9 -0
  121. package/dist/bundled/v2/components/OrInlineInputV3/styles.js +29 -0
  122. package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +404 -0
  123. package/dist/bundled/v2/components/OrInlineTextEdit/constants.js +13 -0
  124. package/dist/bundled/v2/components/OrInlineTextEdit/index.js +26 -0
  125. package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextareaV3.js +273 -0
  126. package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +35 -0
  127. package/dist/bundled/v2/components/OrInlineTextareaV3/styles.js +21 -0
  128. package/dist/bundled/v2/components/OrInput/OrInput.js +333 -0
  129. package/dist/bundled/v2/components/OrInputBoxV3/OrInputBoxV3.js +85 -0
  130. package/dist/bundled/v2/components/OrInputBoxV3/index.js +6 -0
  131. package/dist/bundled/v2/components/OrInputBoxV3/props.js +12 -0
  132. package/dist/bundled/v2/components/OrInputBoxV3/styles.js +45 -0
  133. package/dist/bundled/v2/components/OrInputV3/OrInputV3.js +393 -0
  134. package/dist/bundled/v2/components/OrInputV3/index.js +39 -0
  135. package/dist/bundled/v2/components/OrInputV3/props.js +11 -0
  136. package/dist/bundled/v2/components/OrInputV3/styles.js +14 -0
  137. package/dist/bundled/v2/components/OrInputs/index.js +32 -0
  138. package/dist/bundled/v2/components/OrLabel/OrLabel.js +81 -0
  139. package/dist/bundled/v2/components/OrLabel/index.js +5 -0
  140. package/dist/bundled/v2/components/OrLabelV3/OrLabelV3.js +92 -0
  141. package/dist/bundled/v2/components/OrLabelV3/index.js +6 -0
  142. package/dist/bundled/v2/components/OrLabelV3/props.js +7 -0
  143. package/dist/bundled/v2/components/OrLabelV3/styles.js +29 -0
  144. package/dist/bundled/v2/components/OrLinkV3/OrLinkV3.js +88 -0
  145. package/dist/bundled/v2/components/OrLinkV3/index.js +6 -0
  146. package/dist/bundled/v2/components/OrLinkV3/props.js +10 -0
  147. package/dist/bundled/v2/components/OrLinkV3/styles.js +26 -0
  148. package/dist/bundled/v2/components/OrList/OrList.js +2891 -0
  149. package/dist/bundled/v2/components/OrList/index.js +26 -0
  150. package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +243 -0
  151. package/dist/bundled/v2/components/OrListOfInputs/index.js +30 -0
  152. package/dist/bundled/v2/components/OrLoader/OrLoader.js +109 -0
  153. package/dist/bundled/v2/components/OrLoader/constants.js +8 -0
  154. package/dist/bundled/v2/components/OrLoader/index.js +6 -0
  155. package/dist/bundled/v2/components/OrLoaderV3/OrLoaderV3.js +150 -0
  156. package/dist/bundled/v2/components/OrLoaderV3/index.js +6 -0
  157. package/dist/bundled/v2/components/OrLoaderV3/props.js +18 -0
  158. package/dist/bundled/v2/components/OrLoaderV3/styles.js +17 -0
  159. package/dist/bundled/v2/components/OrMenuItemV3/OrMenuItemV3.js +98 -0
  160. package/dist/bundled/v2/components/OrMenuItemV3/index.js +8 -0
  161. package/dist/bundled/v2/components/OrMenuItemV3/styles.js +17 -0
  162. package/dist/bundled/v2/components/OrMenuV3/OrMenuV3.js +153 -0
  163. package/dist/bundled/v2/components/OrMenuV3/index.js +19 -0
  164. package/dist/bundled/v2/components/OrMenuV3/props.js +1 -0
  165. package/dist/bundled/v2/components/OrMenuV3/styles.js +10 -0
  166. package/dist/bundled/v2/components/OrModal/OrModal.js +1471 -0
  167. package/dist/bundled/v2/components/OrModal/constants.js +10 -0
  168. package/dist/bundled/v2/components/OrModal/index.js +25 -0
  169. package/dist/bundled/v2/components/OrModalV3/OrModalV3.js +147 -0
  170. package/dist/bundled/v2/components/OrModalV3/index.js +28 -0
  171. package/dist/bundled/v2/components/OrModalV3/props.js +8 -0
  172. package/dist/bundled/v2/components/OrModalV3/styles.js +38 -0
  173. package/dist/bundled/v2/components/OrNotification/OrNotification.js +147 -0
  174. package/dist/bundled/v2/components/OrNotification/constants.js +14 -0
  175. package/dist/bundled/v2/components/OrNotification/index.js +23 -0
  176. package/dist/bundled/v2/components/OrNotificationV3/OrNotificationV3.js +129 -0
  177. package/dist/bundled/v2/components/OrNotificationV3/index.js +28 -0
  178. package/dist/bundled/v2/components/OrNotificationV3/props.js +9 -0
  179. package/dist/bundled/v2/components/OrNotificationV3/styles.js +59 -0
  180. package/dist/bundled/v2/components/OrNumberInput/OrNumberInput.js +233 -0
  181. package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +173 -0
  182. package/dist/bundled/v2/components/OrOverflowMenu/index.js +25 -0
  183. package/dist/bundled/v2/components/OrOverflowMenuItem/OrOverflowMenuItem.js +114 -0
  184. package/dist/bundled/v2/components/OrOverlay/OrOverlay.js +74 -0
  185. package/dist/bundled/v2/components/OrOverlay/index.js +4 -0
  186. package/dist/bundled/v2/components/OrOverlayV3/OrOverlayV3.js +82 -0
  187. package/dist/bundled/v2/components/OrOverlayV3/index.js +10 -0
  188. package/dist/bundled/v2/components/OrOverlayV3/styles.js +9 -0
  189. package/dist/bundled/v2/components/OrPassword/OrPassword.js +245 -0
  190. package/dist/bundled/v2/components/OrPopoverV3/OrPopoverV3.js +226 -0
  191. package/dist/bundled/v2/components/OrPopoverV3/index.js +17 -0
  192. package/dist/bundled/v2/components/OrPopoverV3/props.js +23 -0
  193. package/dist/bundled/v2/components/OrPopoverV3/styles.js +44 -0
  194. package/dist/bundled/v2/components/OrProgress/OrProgress.js +214 -0
  195. package/dist/bundled/v2/components/OrProgress/constants.js +15 -0
  196. package/dist/bundled/v2/components/OrProgress/index.js +6 -0
  197. package/dist/bundled/v2/components/OrProgressV3/OrProgressV3.js +245 -0
  198. package/dist/bundled/v2/components/OrProgressV3/index.js +9 -0
  199. package/dist/bundled/v2/components/OrProgressV3/props.js +15 -0
  200. package/dist/bundled/v2/components/OrProgressV3/styles.js +63 -0
  201. package/dist/bundled/v2/components/OrRadio/OrRadio.js +144 -0
  202. package/dist/bundled/v2/components/OrRadio/index.js +5 -0
  203. package/dist/bundled/v2/components/OrRadioGroup/OrRadioGroup.js +90 -0
  204. package/dist/bundled/v2/components/OrRadioGroup/index.js +4 -0
  205. package/dist/bundled/v2/components/OrRadioV3/OrRadioV3.js +164 -0
  206. package/dist/bundled/v2/components/OrRadioV3/index.js +9 -0
  207. package/dist/bundled/v2/components/OrRadioV3/styles.js +31 -0
  208. package/dist/bundled/v2/components/OrSearch/OrSearch.js +266 -0
  209. package/dist/bundled/v2/components/OrSearchV3/OrSearchV3.js +179 -0
  210. package/dist/bundled/v2/components/OrSearchV3/index.js +40 -0
  211. package/dist/bundled/v2/components/OrSearchV3/props.js +1 -0
  212. package/dist/bundled/v2/components/OrSegmentedControlItemV3/OrSegmentedControlItemV3.js +86 -0
  213. package/dist/bundled/v2/components/OrSegmentedControlV3/OrSegmentedControlV3.js +127 -0
  214. package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +7 -0
  215. package/dist/bundled/v2/components/OrSegmentedControlV3/props.js +7 -0
  216. package/dist/bundled/v2/components/OrSegmentedControlV3/styles.js +31 -0
  217. package/dist/bundled/v2/components/OrSelect/OrSelect.js +239 -0
  218. package/dist/bundled/v2/components/OrSelect/constants.js +50 -0
  219. package/dist/bundled/v2/components/OrSelect/index.js +32 -0
  220. package/dist/bundled/v2/components/OrSelectContent/OrSelectContent.js +160 -0
  221. package/dist/bundled/v2/components/OrSelectContentEmpty/OrSelectContentEmpty.js +63 -0
  222. package/dist/bundled/v2/components/OrSelectContentEmpty/constants.d.ts +50 -0
  223. package/dist/bundled/v2/components/OrSelectContentEmpty/stories.helpers.d.ts +6 -0
  224. package/dist/bundled/v2/components/OrSelectContentEmpty/types.d.ts +9 -0
  225. package/dist/bundled/v2/components/OrSelectContentOptions/OrSelectContentOptions.js +102 -0
  226. package/dist/bundled/v2/components/OrSelectContentOptions/constants.d.ts +50 -0
  227. package/dist/bundled/v2/components/OrSelectContentOptions/stories.helpers.d.ts +6 -0
  228. package/dist/bundled/v2/components/OrSelectContentOptions/types.d.ts +9 -0
  229. package/dist/bundled/v2/components/OrSelectInput/OrSelectInput.js +132 -0
  230. package/dist/bundled/v2/components/OrSelectInput/constants.d.ts +50 -0
  231. package/dist/bundled/v2/components/OrSelectInput/stories.helpers.d.ts +6 -0
  232. package/dist/bundled/v2/components/OrSelectInput/types.d.ts +9 -0
  233. package/dist/bundled/v2/components/OrSelectInputValue/OrSelectInputValue.js +119 -0
  234. package/dist/bundled/v2/components/OrSelectInputValue/constants.d.ts +50 -0
  235. package/dist/bundled/v2/components/OrSelectInputValue/stories.helpers.d.ts +6 -0
  236. package/dist/bundled/v2/components/OrSelectInputValue/types.d.ts +9 -0
  237. package/dist/bundled/v2/components/OrSelectMain/OrSelectMain.js +220 -0
  238. package/dist/bundled/v2/components/OrSelectMain/constants.d.ts +50 -0
  239. package/dist/bundled/v2/components/OrSelectMain/stories.helpers.d.ts +6 -0
  240. package/dist/bundled/v2/components/OrSelectMain/types.d.ts +9 -0
  241. package/dist/bundled/v2/components/OrSelectOption/OrSelectOption.js +94 -0
  242. package/dist/bundled/v2/components/OrSelectOption/constants.d.ts +50 -0
  243. package/dist/bundled/v2/components/OrSelectOption/stories.helpers.d.ts +6 -0
  244. package/dist/bundled/v2/components/OrSelectOption/types.d.ts +9 -0
  245. package/dist/bundled/v2/components/OrSelectSearchOptions/OrSelectSearchOptions.js +115 -0
  246. package/dist/bundled/v2/components/OrSelectSearchOptions/constants.d.ts +50 -0
  247. package/dist/bundled/v2/components/OrSelectSearchOptions/stories.helpers.d.ts +6 -0
  248. package/dist/bundled/v2/components/OrSelectSearchOptions/types.d.ts +9 -0
  249. package/dist/bundled/v2/components/OrSelectV3/OrSelectV3.js +521 -0
  250. package/dist/bundled/v2/components/OrSelectV3/index.js +54 -0
  251. package/dist/bundled/v2/components/OrSelectV3/props.js +1 -0
  252. package/dist/bundled/v2/components/OrSelectV3/styles.js +37 -0
  253. package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +145 -0
  254. package/dist/bundled/v2/components/OrSidebar/constants.js +7 -0
  255. package/dist/bundled/v2/components/OrSidebar/index.js +7 -0
  256. package/dist/bundled/v2/components/OrSidebarV3/OrSidebarV3.js +159 -0
  257. package/dist/bundled/v2/components/OrSidebarV3/index.js +7 -0
  258. package/dist/bundled/v2/components/OrSidebarV3/props.js +7 -0
  259. package/dist/bundled/v2/components/OrSidebarV3/styles.js +68 -0
  260. package/dist/bundled/v2/components/OrSkeleton/constants.js +12 -0
  261. package/dist/bundled/v2/components/OrSkeleton/index.js +9 -0
  262. package/dist/bundled/v2/components/OrSkeletonCircle/OrSkeletonCircle.js +81 -0
  263. package/dist/bundled/v2/components/OrSkeletonCircleV3/OrSkeletonCircleV3.js +84 -0
  264. package/dist/bundled/v2/components/OrSkeletonRect/OrSkeletonRect.js +84 -0
  265. package/dist/bundled/v2/components/OrSkeletonRect/constants.d.ts +9 -0
  266. package/dist/bundled/v2/components/OrSkeletonRectV3/OrSkeletonRectV3.js +87 -0
  267. package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.js +97 -0
  268. package/dist/bundled/v2/components/OrSkeletonText/constants.d.ts +9 -0
  269. package/dist/bundled/v2/components/OrSkeletonTextV3/OrSkeletonTextV3.js +116 -0
  270. package/dist/bundled/v2/components/OrSkeletonTextV3/styles.d.ts +6 -0
  271. package/dist/bundled/v2/components/OrSkeletonV3/index.js +9 -0
  272. package/dist/bundled/v2/components/OrSkeletonV3/styles.d.ts +6 -0
  273. package/dist/bundled/v2/components/OrSkeletonV3/styles.js +34 -0
  274. package/dist/bundled/v2/components/OrSlider/OrSlider.js +382 -0
  275. package/dist/bundled/v2/components/OrSlider/index.js +17 -0
  276. package/dist/bundled/v2/components/OrSortHeaderV3/OrSortHeaderV3.js +121 -0
  277. package/dist/bundled/v2/components/OrSortHeaderV3/index.js +8 -0
  278. package/dist/bundled/v2/components/OrSortHeaderV3/styles.js +15 -0
  279. package/dist/bundled/v2/components/OrStepper/OrStepper.js +197 -0
  280. package/dist/bundled/v2/components/OrStepper/index.js +25 -0
  281. package/dist/bundled/v2/components/OrStepperButtonOptions/OrStepperButtonOptions.js +127 -0
  282. package/dist/bundled/v2/components/OrStepperOptionHorizontal/OrStepperOptionHorizontal.js +117 -0
  283. package/dist/bundled/v2/components/OrStepperOptionHorizontal/StatusIcon.vue.d.ts +22 -0
  284. package/dist/bundled/v2/components/OrStepperOptionVertical/OrStepperOptionVertical.js +147 -0
  285. package/dist/bundled/v2/components/OrStepperOptionVertical/StatusIcon.vue.d.ts +22 -0
  286. package/dist/bundled/v2/components/OrStepperTitle/OrStepperTitle.js +89 -0
  287. package/dist/bundled/v2/components/OrStepperTitle/StatusIcon.vue.d.ts +22 -0
  288. package/dist/bundled/v2/components/OrSwitch/OrSwitch.js +156 -0
  289. package/dist/bundled/v2/components/OrSwitch/index.js +7 -0
  290. package/dist/bundled/v2/components/OrSwitchV3/OrSwitchV3.js +198 -0
  291. package/dist/bundled/v2/components/OrSwitchV3/index.js +12 -0
  292. package/dist/bundled/v2/components/OrSwitchV3/styles.js +51 -0
  293. package/dist/bundled/v2/components/OrTab/OrTab.js +110 -0
  294. package/dist/bundled/v2/components/OrTab/index.js +6 -0
  295. package/dist/bundled/v2/components/OrTabHeaderItem/OrTabHeaderItem.js +113 -0
  296. package/dist/bundled/v2/components/OrTabHeaderItem/index.js +5 -0
  297. package/dist/bundled/v2/components/OrTabV3/OrTabV3.js +79 -0
  298. package/dist/bundled/v2/components/OrTabV3/index.js +5 -0
  299. package/dist/bundled/v2/components/OrTabV3/styles.js +19 -0
  300. package/dist/bundled/v2/components/OrTabs/OrTabs.js +115 -0
  301. package/dist/bundled/v2/components/OrTabs/index.js +6 -0
  302. package/dist/bundled/v2/components/OrTabsV3/OrTabsV3.js +228 -0
  303. package/dist/bundled/v2/components/OrTabsV3/index.js +29 -0
  304. package/dist/bundled/v2/components/OrTabsV3/props.js +7 -0
  305. package/dist/bundled/v2/components/OrTabsV3/styles.js +19 -0
  306. package/dist/bundled/v2/components/OrTag/OrTag.js +131 -0
  307. package/dist/bundled/v2/components/OrTag/index.js +20 -0
  308. package/dist/bundled/v2/components/OrTagV3/OrTagV3.js +142 -0
  309. package/dist/bundled/v2/components/OrTagV3/index.js +28 -0
  310. package/dist/bundled/v2/components/OrTagV3/props.js +13 -0
  311. package/dist/bundled/v2/components/OrTagV3/styles.js +34 -0
  312. package/dist/bundled/v2/components/OrTeleport/constants.js +16 -0
  313. package/dist/bundled/v2/components/OrTeleport/index.js +5 -0
  314. package/dist/bundled/v2/components/OrTeleport.vue2V3/OrTeleport.vue2V3.js +59 -0
  315. package/dist/bundled/v2/components/OrTeleport.vue3V3/OrTeleport.vue3V3.js +4 -0
  316. package/dist/bundled/v2/components/OrTeleportV3/index.js +4 -0
  317. package/dist/bundled/v2/components/OrTeleportVue2/OrTeleportVue2.js +51 -0
  318. package/dist/bundled/v2/components/OrTeleportVue2/OrTeleportVue2.vue.d.ts +33 -0
  319. package/dist/bundled/v2/components/OrTeleportVue3/OrTeleportVue3.js +46 -0
  320. package/dist/bundled/v2/components/OrTeleportVue3/OrTeleportVue3.vue.d.ts +33 -0
  321. package/dist/bundled/v2/components/OrTeleportVue3/constants.d.ts +12 -0
  322. package/dist/bundled/v2/components/OrTextV3/OrTextV3.js +87 -0
  323. package/dist/bundled/v2/components/OrTextV3/index.js +5 -0
  324. package/dist/bundled/v2/components/OrTextV3/styles.js +17 -0
  325. package/dist/bundled/v2/components/OrTextarea/OrTextarea.js +329 -0
  326. package/dist/bundled/v2/components/OrTextareaV3/OrTextareaV3.js +228 -0
  327. package/dist/bundled/v2/components/OrTextareaV3/index.js +16 -0
  328. package/dist/bundled/v2/components/OrTextareaV3/props.js +1 -0
  329. package/dist/bundled/v2/components/OrTextareaV3/styles.js +14 -0
  330. package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +534 -0
  331. package/dist/bundled/v2/components/OrTextbox/constants.js +11 -0
  332. package/dist/bundled/v2/components/OrTextbox/index.js +28 -0
  333. package/dist/bundled/v2/components/OrToast/OrToast.js +162 -0
  334. package/dist/bundled/v2/components/OrToast/Timer.js +37 -0
  335. package/dist/bundled/v2/components/OrToast/constants.js +24 -0
  336. package/dist/bundled/v2/components/OrToast/index.js +7 -0
  337. package/dist/bundled/v2/components/OrToast/useQueue.js +33 -0
  338. package/dist/bundled/v2/components/OrToast/useToast.js +82 -0
  339. package/dist/bundled/v2/components/OrToast/useToastEventBus.js +24 -0
  340. package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +223 -0
  341. package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainerV3.js +236 -0
  342. package/dist/bundled/v2/components/OrToastV3/OrToastV3.js +203 -0
  343. package/dist/bundled/v2/components/OrToastV3/Timer.js +37 -0
  344. package/dist/bundled/v2/components/OrToastV3/index.js +7 -0
  345. package/dist/bundled/v2/components/OrToastV3/props.js +1 -0
  346. package/dist/bundled/v2/components/OrToastV3/styles.js +64 -0
  347. package/dist/bundled/v2/components/OrToastV3/useQueue.js +33 -0
  348. package/dist/bundled/v2/components/OrToastV3/useToast.js +82 -0
  349. package/dist/bundled/v2/components/OrToastV3/useToastEventBus.js +24 -0
  350. package/dist/bundled/v2/components/OrTooltip/OrTooltip.js +164 -0
  351. package/dist/bundled/v2/components/OrTooltip/index.js +13 -0
  352. package/dist/bundled/v2/components/OrTooltipContent/OrTooltipContent.js +74 -0
  353. package/dist/bundled/v2/components/OrTooltipV3/OrTooltipV3.js +136 -0
  354. package/dist/bundled/v2/components/OrTooltipV3/index.js +19 -0
  355. package/dist/bundled/v2/components/OrTooltipV3/props.js +1 -0
  356. package/dist/bundled/v2/components/OrTooltipV3/styles.js +46 -0
  357. package/dist/bundled/v2/components/OrTooltipWrapperV2/OrTooltipWrapperV2.js +79 -0
  358. package/dist/bundled/v2/components/StatusIcon/StatusIcon.js +67 -0
  359. package/dist/bundled/v2/components/index.d.ts +1 -1
  360. package/dist/bundled/v2/components/index.js +244 -119
  361. package/dist/bundled/v2/directives/dropdown-close.js +15 -0
  362. package/dist/bundled/v2/directives/dropdown-open.js +16 -0
  363. package/dist/bundled/v2/directives/index.js +3 -4
  364. package/dist/bundled/v2/hooks/index.js +7 -8
  365. package/dist/bundled/v2/hooks/useClassAttribute.js +32 -0
  366. package/dist/bundled/v2/hooks/useElevation.js +21 -0
  367. package/dist/bundled/v2/hooks/useOverflow.js +64 -0
  368. package/dist/bundled/v2/hooks/useResponsive/index.js +2 -4
  369. package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +13 -0
  370. package/dist/bundled/v2/hooks/useToggle.js +22 -0
  371. package/dist/bundled/v2/index-63e094a0.js +15 -0
  372. package/dist/bundled/v2/index.js +244 -126
  373. package/dist/bundled/v2/lang-d640563a.js +25647 -0
  374. package/dist/bundled/v2/props-fb3f60a5.js +32 -0
  375. package/dist/bundled/v2/types-668300dd.js +5 -0
  376. package/dist/bundled/v2/utils/constants/color.js +16 -0
  377. package/dist/bundled/v2/utils/constants/key-codes.js +16 -0
  378. package/dist/bundled/v2/utils/constants/poper.js +10 -0
  379. package/dist/bundled/v2/utils/constants/regex.js +49 -0
  380. package/dist/bundled/v2/utils/functions/color.js +39 -0
  381. package/dist/bundled/v2/utils/functions/dom.js +167 -0
  382. package/dist/bundled/v2/utils/functions/hash.js +8 -0
  383. package/dist/bundled/v2/utils/functions/px-to-rem.js +3 -0
  384. package/dist/bundled/v2/utils/functions/text.js +9 -0
  385. package/dist/bundled/v2/utils/isVisible.js +5 -0
  386. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-51387b7f.js +69 -0
  387. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-7f2cfae5.js +57 -0
  388. package/dist/bundled/v3/OrBottomSheet.vue_vue_type_script_lang-bcf12a2a.js +95 -0
  389. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-76ff19e0.js +55 -0
  390. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-b48cc1bf.js +100 -0
  391. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-ed520a05.js +100 -0
  392. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-81561dd8.js +21 -0
  393. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-92676a3f.js +22 -0
  394. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-7ea46f31.js +102 -0
  395. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-80ed3d2d.js +132 -0
  396. package/dist/bundled/v3/OrCarousel.vue_vue_type_script_lang-d347c544.js +2799 -0
  397. package/dist/bundled/v3/OrCarouselItem.vue_vue_type_script_lang-67503f53.js +7 -0
  398. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-841594f0.js +82 -0
  399. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-948ed4f0.js +88 -0
  400. package/dist/bundled/v3/OrChips.vue_vue_type_script_lang-20f25092.js +96 -0
  401. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-ec35d27e.js +3957 -0
  402. package/dist/bundled/v3/OrCollapse.vue_vue_type_script_lang-e22b5a76.js +114 -0
  403. package/dist/bundled/v3/OrColorPicker.vue_vue_type_script_lang-7987074d.js +58 -0
  404. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-96d0eb06.js +160 -0
  405. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-9f31c964.js +180 -0
  406. package/dist/bundled/v3/OrDateTimePicker.vue_vue_type_script_lang-a3b3aac4.js +371 -0
  407. package/dist/bundled/v3/OrEmptyState.vue_vue_type_script_lang-4c5ad2a9.js +64 -0
  408. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-450321b8.js +13 -0
  409. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-98601766.js +32 -0
  410. package/dist/bundled/v3/OrErrorTag.vue_vue_type_script_lang-05e8460d.js +27 -0
  411. package/dist/bundled/v3/OrExpansionPanel.vue_vue_type_script_lang-c908e8be.js +53 -0
  412. package/dist/bundled/v3/OrFab.vue_vue_type_script_lang-e0018fef.js +39 -0
  413. package/dist/bundled/v3/OrFloating.vue_vue_type_script_lang-66ce28ae.js +148 -0
  414. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-5d628c6c.js +16 -0
  415. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-e5ffd5fa.js +32 -0
  416. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-1cb537ef.js +37 -0
  417. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-aadbcbe3.js +94 -0
  418. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-721e0c2f.js +91 -0
  419. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-da74839d.js +55 -0
  420. package/dist/bundled/v3/OrInlineInput.vue_vue_type_script_lang-c4f6a48e.js +142 -0
  421. package/dist/bundled/v3/OrInlineInputBox.vue_vue_type_script_lang-5fd272da.js +33 -0
  422. package/dist/bundled/v3/OrInlineTextEdit.vue_vue_type_script_lang-e253d248.js +232 -0
  423. package/dist/bundled/v3/OrInlineTextarea.vue_vue_type_script_lang-228e0fe5.js +132 -0
  424. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-d1c06414.js +131 -0
  425. package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-49d89486.js +45 -0
  426. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-5bedeb7c.js +45 -0
  427. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-95601b40.js +37 -0
  428. package/dist/bundled/v3/OrLink.vue_vue_type_script_lang-2f3d1a29.js +49 -0
  429. package/dist/bundled/v3/OrList.vue_vue_type_script_lang-49d54b35.js +2759 -0
  430. package/dist/bundled/v3/OrListOfInputs.vue_vue_type_script_lang-1176c219.js +86 -0
  431. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-b48715a3.js +48 -0
  432. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-f692d020.js +61 -0
  433. package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-b642edb4.js +85 -0
  434. package/dist/bundled/v3/OrMenuItem.vue_vue_type_script_lang-78262bac.js +42 -0
  435. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-0768f700.js +71 -0
  436. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-ee130ace.js +1370 -0
  437. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-bfa90980.js +70 -0
  438. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-fc61927a.js +55 -0
  439. package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-62ab9884.js +112 -0
  440. package/dist/bundled/v3/OrOverflowMenu.vue_vue_type_script_lang-5b37e82f.js +71 -0
  441. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-2f5d626d.js +33 -0
  442. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-5e5b5fac.js +42 -0
  443. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-0be1092d.js +98 -0
  444. package/dist/bundled/v3/OrPopover.vue_vue_type_script_lang-bca04ff0.js +181 -0
  445. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-26d7b3da.js +133 -0
  446. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-720cd55c.js +137 -0
  447. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-5cc9bde1.js +78 -0
  448. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-cc11200c.js +85 -0
  449. package/dist/bundled/v3/OrRadioGroup.vue_vue_type_script_lang-75b6c81b.js +47 -0
  450. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-94badc35.js +80 -0
  451. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-a55b9a2b.js +121 -0
  452. package/dist/bundled/v3/OrSegmentedControl.vue_vue_type_script_lang-0723e144.js +76 -0
  453. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-055a36a4.js +265 -0
  454. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-14c949c1.js +111 -0
  455. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-00e9cda7.js +89 -0
  456. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-4f5c8abd.js +112 -0
  457. package/dist/bundled/v3/OrSkeletonCircle.vue_vue_type_script_lang-e8f70634.js +39 -0
  458. package/dist/bundled/v3/OrSkeletonCircle.vue_vue_type_script_lang-ef1d0034.js +48 -0
  459. package/dist/bundled/v3/OrSkeletonRect.vue_vue_type_script_lang-808412d2.js +42 -0
  460. package/dist/bundled/v3/OrSkeletonRect.vue_vue_type_script_lang-87fe8cfd.js +51 -0
  461. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-66622b63.js +74 -0
  462. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-c8b26b0a.js +50 -0
  463. package/dist/bundled/v3/OrSlider.vue_vue_type_script_lang-ad7c7c0e.js +227 -0
  464. package/dist/bundled/v3/OrSortHeader.vue_vue_type_script_lang-dcee77e5.js +69 -0
  465. package/dist/bundled/v3/OrStepper.vue_vue_type_script_lang-305d2a1a.js +70 -0
  466. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-1c079a74.js +81 -0
  467. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-7912c1f9.js +87 -0
  468. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-61ff4904.js +29 -0
  469. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-71e4fa50.js +61 -0
  470. package/dist/bundled/v3/OrTabHeaderItem.vue_vue_type_script_lang-0a67721f.js +63 -0
  471. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-06a89286.js +45 -0
  472. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-ec821ca3.js +137 -0
  473. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-0ecaa8bc.js +58 -0
  474. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-c9188abe.js +58 -0
  475. package/dist/bundled/v3/OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js +17 -0
  476. package/dist/bundled/v3/OrText.vue_vue_type_script_lang-1edab64a.js +48 -0
  477. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-1d983e7f.js +187 -0
  478. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-d7f4ea68.js +106 -0
  479. package/dist/bundled/v3/OrTextbox.vue_vue_type_script_lang-7118b5ac.js +354 -0
  480. package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-05c8eaef.js +135 -0
  481. package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-23dc2104.js +147 -0
  482. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-1e610987.js +75 -0
  483. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-f8b8a2c1.js +88 -0
  484. package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +44 -0
  485. package/dist/bundled/v3/components/OrAvatar/constants.js +8 -0
  486. package/dist/bundled/v3/components/OrAvatar/index.js +18 -0
  487. package/dist/bundled/v3/components/OrAvatarV3/OrAvatarV3.js +37 -0
  488. package/dist/bundled/v3/components/OrAvatarV3/index.js +14 -0
  489. package/dist/bundled/v3/components/OrAvatarV3/props.js +19 -0
  490. package/dist/bundled/v3/components/OrAvatarV3/styles.js +65 -0
  491. package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheetV3.js +39 -0
  492. package/dist/bundled/v3/components/OrBottomSheetV3/index.js +13 -0
  493. package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +37 -0
  494. package/dist/bundled/v3/components/OrButton/OrButton.js +49 -0
  495. package/dist/bundled/v3/components/OrButton/constants.js +25 -0
  496. package/dist/bundled/v3/components/OrButton/index.js +9 -0
  497. package/dist/bundled/v3/components/OrButtonV2/OrButtonV2.js +58 -0
  498. package/dist/bundled/v3/components/OrButtonV2/constants.d.ts +35 -0
  499. package/dist/bundled/v3/components/OrButtonV2/constants.js +43 -0
  500. package/dist/bundled/v3/components/OrButtonV2/index.d.ts +3 -0
  501. package/dist/bundled/v3/components/OrButtonV2/index.js +25 -0
  502. package/dist/bundled/v3/components/OrButtonV3/OrButtonV3.js +42 -0
  503. package/dist/bundled/v3/components/OrButtonV3/index.js +10 -0
  504. package/dist/bundled/v3/components/OrButtonV3/props.js +21 -0
  505. package/dist/bundled/v3/components/OrButtonV3/styles.js +61 -0
  506. package/dist/bundled/v3/components/OrCard/OrCard.js +22 -0
  507. package/dist/bundled/v3/components/OrCard/index.js +2 -0
  508. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +126 -0
  509. package/dist/bundled/v3/components/OrCardCollection/constants.js +7 -0
  510. package/dist/bundled/v3/components/OrCardCollection/index.js +41 -0
  511. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollectionV3.js +162 -0
  512. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +70 -0
  513. package/dist/bundled/v3/components/OrCardCollectionV3/props.d.ts +8 -0
  514. package/dist/bundled/v3/components/OrCardCollectionV3/props.js +16 -0
  515. package/dist/bundled/v3/components/OrCardCollectionV3/styles.d.ts +6 -0
  516. package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +30 -0
  517. package/dist/bundled/v3/components/OrCardCollectionV3/types.d.ts +12 -0
  518. package/dist/bundled/v3/components/OrCardCollectionView.vue2V3/OrCardCollectionView.vue2V3.js +41 -0
  519. package/dist/bundled/v3/components/OrCardCollectionView.vue3V3/OrCardCollectionView.vue3V3.js +4 -0
  520. package/dist/bundled/v3/components/OrCardCollectionView.vue3V3/props.d.ts +8 -0
  521. package/dist/bundled/v3/components/OrCardCollectionView.vue3V3/styles.d.ts +6 -0
  522. package/dist/bundled/v3/components/OrCardCollectionView.vue3V3/types.d.ts +12 -0
  523. package/dist/bundled/v3/components/OrCardV3/OrCardV3.js +17 -0
  524. package/dist/bundled/v3/components/OrCardV3/index.js +4 -0
  525. package/dist/bundled/v3/components/OrCardV3/styles.js +15 -0
  526. package/dist/bundled/v3/components/OrCarousel/OrCarousel.js +61 -0
  527. package/dist/bundled/v3/components/OrCarousel/OrCarouselItem.vue.d.ts +2 -0
  528. package/dist/bundled/v3/components/OrCarousel/constants.d.ts +15 -0
  529. package/dist/bundled/v3/components/OrCarousel/constants.js +21 -0
  530. package/dist/bundled/v3/components/OrCarousel/index.js +21 -0
  531. package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.js +14 -0
  532. package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.vue.d.ts +2 -0
  533. package/dist/bundled/v3/components/OrCarouselItem/constants.d.ts +15 -0
  534. package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +78 -0
  535. package/dist/bundled/v3/components/OrCheckbox/index.js +17 -0
  536. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckboxV3.js +49 -0
  537. package/dist/bundled/v3/components/OrCheckboxV3/index.js +9 -0
  538. package/dist/bundled/v3/components/OrCheckboxV3/styles.js +31 -0
  539. package/dist/bundled/v3/components/OrChip/OrChip.js +79 -0
  540. package/dist/bundled/v3/components/OrChip/OrChip.vue.d.ts +58 -0
  541. package/dist/bundled/v3/components/OrChip/constants.d.ts +9 -0
  542. package/dist/bundled/v3/components/OrChips/OrChip.vue.d.ts +58 -0
  543. package/dist/bundled/v3/components/OrChips/OrChips.js +70 -0
  544. package/dist/bundled/v3/components/OrChips/OrChipsInput.vue.d.ts +82 -0
  545. package/dist/bundled/v3/components/OrChips/constants.d.ts +9 -0
  546. package/dist/bundled/v3/components/OrChips/constants.js +10 -0
  547. package/dist/bundled/v3/components/OrChips/index.js +24 -0
  548. package/dist/bundled/v3/components/OrChipsInput/OrChipsInput.js +111 -0
  549. package/dist/bundled/v3/components/OrChipsInput/OrChipsInput.vue.d.ts +82 -0
  550. package/dist/bundled/v3/components/OrChipsInput/constants.d.ts +9 -0
  551. package/dist/bundled/v3/components/OrCode/OrCode.js +128 -0
  552. package/dist/bundled/v3/components/OrCode/constants.js +11 -0
  553. package/dist/bundled/v3/components/OrCode/index.js +40 -0
  554. package/dist/bundled/v3/components/OrCode/lang.js +2 -0
  555. package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +40 -0
  556. package/dist/bundled/v3/components/OrCollapse/index.js +5 -0
  557. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +86 -0
  558. package/dist/bundled/v3/components/OrColorPicker/constants.js +323 -0
  559. package/dist/bundled/v3/components/OrColorPicker/defultPalette.js +15 -0
  560. package/dist/bundled/v3/components/OrColorPicker/index.js +15 -0
  561. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +101 -0
  562. package/dist/bundled/v3/components/OrConfirm/index.js +44 -0
  563. package/dist/bundled/v3/components/OrConfirmV3/OrConfirmV3.js +127 -0
  564. package/dist/bundled/v3/components/OrConfirmV3/index.js +62 -0
  565. package/dist/bundled/v3/components/OrConfirmV3/props.js +7 -0
  566. package/dist/bundled/v3/components/OrConfirmV3/styles.js +45 -0
  567. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +258 -0
  568. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePickerCalendarItem.vue.d.ts +92 -0
  569. package/dist/bundled/v3/components/OrDateTimePicker/constants.d.ts +24 -0
  570. package/dist/bundled/v3/components/OrDateTimePicker/constants.js +20 -0
  571. package/dist/bundled/v3/components/OrDateTimePicker/index.js +37 -0
  572. package/dist/bundled/v3/components/OrDateTimePickerCalendarItem/OrDateTimePickerCalendarItem.js +81 -0
  573. package/dist/bundled/v3/components/OrDateTimePickerCalendarItem/OrDateTimePickerCalendarItem.vue.d.ts +92 -0
  574. package/dist/bundled/v3/components/OrDateTimePickerCalendarItem/constants.d.ts +24 -0
  575. package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyStateV3.js +29 -0
  576. package/dist/bundled/v3/components/OrEmptyStateV3/index.js +4 -0
  577. package/dist/bundled/v3/components/OrEmptyStateV3/props.js +7 -0
  578. package/dist/bundled/v3/components/OrEmptyStateV3/styles.js +46 -0
  579. package/dist/bundled/v3/components/OrError/OrError.js +19 -0
  580. package/dist/bundled/v3/components/OrError/index.js +2 -0
  581. package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTagV3.js +28 -0
  582. package/dist/bundled/v3/components/OrErrorTagV3/index.js +9 -0
  583. package/dist/bundled/v3/components/OrErrorTagV3/styles.js +17 -0
  584. package/dist/bundled/v3/components/OrErrorV3/OrErrorV3.js +23 -0
  585. package/dist/bundled/v3/components/OrErrorV3/index.js +4 -0
  586. package/dist/bundled/v3/components/OrErrorV3/styles.js +21 -0
  587. package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanelV3.js +40 -0
  588. package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +10 -0
  589. package/dist/bundled/v3/components/OrExpansionPanelV3/props.js +12 -0
  590. package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +49 -0
  591. package/dist/bundled/v3/components/OrFabV3/OrFabV3.js +29 -0
  592. package/dist/bundled/v3/components/OrFabV3/index.js +10 -0
  593. package/dist/bundled/v3/components/OrFabV3/props.js +7 -0
  594. package/dist/bundled/v3/components/OrFabV3/styles.js +19 -0
  595. package/dist/bundled/v3/components/OrFloating/OrFloating.js +31 -0
  596. package/dist/bundled/v3/components/OrFloating/constants.js +22 -0
  597. package/dist/bundled/v3/components/OrFloating/index.js +9 -0
  598. package/dist/bundled/v3/components/OrHint/OrHint.js +20 -0
  599. package/dist/bundled/v3/components/OrHint/index.js +3 -0
  600. package/dist/bundled/v3/components/OrHintV3/OrHintV3.js +23 -0
  601. package/dist/bundled/v3/components/OrHintV3/index.js +4 -0
  602. package/dist/bundled/v3/components/OrHintV3/styles.js +21 -0
  603. package/dist/bundled/v3/components/OrIcon/OrIcon.js +52 -0
  604. package/dist/bundled/v3/components/OrIcon/constants.js +24 -0
  605. package/dist/bundled/v3/components/OrIcon/index.js +15 -0
  606. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +132 -0
  607. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButtonV2.js +62 -0
  608. package/dist/bundled/v3/components/OrIconButtonV2/index.d.ts +1 -0
  609. package/dist/bundled/v3/components/OrIconButtonV2/index.js +24 -0
  610. package/dist/bundled/v3/components/OrIconButtonV3/OrIconButtonV3.js +60 -0
  611. package/dist/bundled/v3/components/OrIconButtonV3/index.js +30 -0
  612. package/dist/bundled/v3/components/OrIconButtonV3/props.js +10 -0
  613. package/dist/bundled/v3/components/OrIconButtonV3/styles.js +48 -0
  614. package/dist/bundled/v3/components/OrIconV3/OrIconV3.js +18 -0
  615. package/dist/bundled/v3/components/OrIconV3/index.js +5 -0
  616. package/dist/bundled/v3/components/OrIconV3/props.js +17 -0
  617. package/dist/bundled/v3/components/OrIconV3/styles.js +44 -0
  618. package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBoxV3.js +20 -0
  619. package/dist/bundled/v3/components/OrInlineInputBoxV3/index.js +5 -0
  620. package/dist/bundled/v3/components/OrInlineInputBoxV3/props.js +7 -0
  621. package/dist/bundled/v3/components/OrInlineInputBoxV3/styles.js +23 -0
  622. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInputV3.js +121 -0
  623. package/dist/bundled/v3/components/OrInlineInputV3/index.js +44 -0
  624. package/dist/bundled/v3/components/OrInlineInputV3/props.js +9 -0
  625. package/dist/bundled/v3/components/OrInlineInputV3/styles.js +29 -0
  626. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +129 -0
  627. package/dist/bundled/v3/components/OrInlineTextEdit/constants.js +13 -0
  628. package/dist/bundled/v3/components/OrInlineTextEdit/index.js +32 -0
  629. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextareaV3.js +119 -0
  630. package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +43 -0
  631. package/dist/bundled/v3/components/OrInlineTextareaV3/styles.js +21 -0
  632. package/dist/bundled/v3/components/OrInput/OrInput.js +300 -0
  633. package/dist/bundled/v3/components/OrInput/OrInput.vue.d.ts +204 -0
  634. package/dist/bundled/v3/components/OrInputBoxV3/OrInputBoxV3.js +22 -0
  635. package/dist/bundled/v3/components/OrInputBoxV3/index.js +5 -0
  636. package/dist/bundled/v3/components/OrInputBoxV3/props.js +12 -0
  637. package/dist/bundled/v3/components/OrInputBoxV3/styles.js +45 -0
  638. package/dist/bundled/v3/components/OrInputV3/OrInputV3.js +155 -0
  639. package/dist/bundled/v3/components/OrInputV3/index.js +48 -0
  640. package/dist/bundled/v3/components/OrInputV3/props.js +11 -0
  641. package/dist/bundled/v3/components/OrInputV3/styles.js +14 -0
  642. package/dist/bundled/v3/components/OrInputs/OrInput.vue.d.ts +204 -0
  643. package/dist/bundled/v3/components/OrInputs/OrNumberInput.vue.d.ts +185 -0
  644. package/dist/bundled/v3/components/OrInputs/OrPassword.vue.d.ts +158 -0
  645. package/dist/bundled/v3/components/OrInputs/OrSearch.vue.d.ts +182 -0
  646. package/dist/bundled/v3/components/OrInputs/OrTextarea.vue.d.ts +179 -0
  647. package/dist/bundled/v3/components/OrInputs/index.js +40 -0
  648. package/dist/bundled/v3/components/OrLabel/OrLabel.js +23 -0
  649. package/dist/bundled/v3/components/OrLabel/index.js +3 -0
  650. package/dist/bundled/v3/components/OrLabelV3/OrLabelV3.js +28 -0
  651. package/dist/bundled/v3/components/OrLabelV3/index.js +5 -0
  652. package/dist/bundled/v3/components/OrLabelV3/props.js +7 -0
  653. package/dist/bundled/v3/components/OrLabelV3/styles.js +29 -0
  654. package/dist/bundled/v3/components/OrLinkV3/OrLinkV3.js +25 -0
  655. package/dist/bundled/v3/components/OrLinkV3/index.js +5 -0
  656. package/dist/bundled/v3/components/OrLinkV3/props.js +10 -0
  657. package/dist/bundled/v3/components/OrLinkV3/styles.js +26 -0
  658. package/dist/bundled/v3/components/OrList/OrList.js +114 -0
  659. package/dist/bundled/v3/components/OrList/index.js +33 -0
  660. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +119 -0
  661. package/dist/bundled/v3/components/OrListOfInputs/index.js +40 -0
  662. package/dist/bundled/v3/components/OrLoader/OrLoader.js +46 -0
  663. package/dist/bundled/v3/components/OrLoader/constants.js +8 -0
  664. package/dist/bundled/v3/components/OrLoader/index.js +4 -0
  665. package/dist/bundled/v3/components/OrLoaderV3/OrLoaderV3.js +69 -0
  666. package/dist/bundled/v3/components/OrLoaderV3/index.js +5 -0
  667. package/dist/bundled/v3/components/OrLoaderV3/props.js +18 -0
  668. package/dist/bundled/v3/components/OrLoaderV3/styles.js +17 -0
  669. package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItemV3.js +36 -0
  670. package/dist/bundled/v3/components/OrMenuItemV3/index.js +9 -0
  671. package/dist/bundled/v3/components/OrMenuItemV3/styles.js +17 -0
  672. package/dist/bundled/v3/components/OrMenuV3/OrMenuV3.js +50 -0
  673. package/dist/bundled/v3/components/OrMenuV3/index.js +22 -0
  674. package/dist/bundled/v3/components/OrMenuV3/props.js +1 -0
  675. package/dist/bundled/v3/components/OrMenuV3/styles.js +10 -0
  676. package/dist/bundled/v3/components/OrModal/OrModal.js +79 -0
  677. package/dist/bundled/v3/components/OrModal/constants.js +10 -0
  678. package/dist/bundled/v3/components/OrModal/index.js +30 -0
  679. package/dist/bundled/v3/components/OrModalV3/OrModalV3.js +69 -0
  680. package/dist/bundled/v3/components/OrModalV3/index.js +34 -0
  681. package/dist/bundled/v3/components/OrModalV3/props.js +8 -0
  682. package/dist/bundled/v3/components/OrModalV3/styles.js +38 -0
  683. package/dist/bundled/v3/components/OrNotification/OrNotification.js +60 -0
  684. package/dist/bundled/v3/components/OrNotification/constants.js +14 -0
  685. package/dist/bundled/v3/components/OrNotification/index.js +27 -0
  686. package/dist/bundled/v3/components/OrNotificationV3/OrNotificationV3.js +61 -0
  687. package/dist/bundled/v3/components/OrNotificationV3/index.js +34 -0
  688. package/dist/bundled/v3/components/OrNotificationV3/props.js +9 -0
  689. package/dist/bundled/v3/components/OrNotificationV3/styles.js +59 -0
  690. package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +74 -0
  691. package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.vue.d.ts +185 -0
  692. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +84 -0
  693. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenuItem.vue.d.ts +75 -0
  694. package/dist/bundled/v3/components/OrOverflowMenu/index.js +30 -0
  695. package/dist/bundled/v3/components/OrOverflowMenu/types.d.ts +7 -0
  696. package/dist/bundled/v3/components/OrOverflowMenuItem/OrOverflowMenuItem.js +87 -0
  697. package/dist/bundled/v3/components/OrOverflowMenuItem/OrOverflowMenuItem.vue.d.ts +75 -0
  698. package/dist/bundled/v3/components/OrOverflowMenuItem/types.d.ts +7 -0
  699. package/dist/bundled/v3/components/OrOverlay/OrOverlay.js +18 -0
  700. package/dist/bundled/v3/components/OrOverlay/index.js +2 -0
  701. package/dist/bundled/v3/components/OrOverlayV3/OrOverlayV3.js +29 -0
  702. package/dist/bundled/v3/components/OrOverlayV3/index.js +10 -0
  703. package/dist/bundled/v3/components/OrOverlayV3/styles.js +9 -0
  704. package/dist/bundled/v3/components/OrPassword/OrPassword.js +102 -0
  705. package/dist/bundled/v3/components/OrPassword/OrPassword.vue.d.ts +158 -0
  706. package/dist/bundled/v3/components/OrPopoverV3/OrPopoverV3.js +51 -0
  707. package/dist/bundled/v3/components/OrPopoverV3/index.js +19 -0
  708. package/dist/bundled/v3/components/OrPopoverV3/props.js +23 -0
  709. package/dist/bundled/v3/components/OrPopoverV3/styles.js +44 -0
  710. package/dist/bundled/v3/components/OrProgress/OrProgress.js +66 -0
  711. package/dist/bundled/v3/components/OrProgress/constants.js +15 -0
  712. package/dist/bundled/v3/components/OrProgress/index.js +4 -0
  713. package/dist/bundled/v3/components/OrProgressV3/OrProgressV3.js +85 -0
  714. package/dist/bundled/v3/components/OrProgressV3/index.js +8 -0
  715. package/dist/bundled/v3/components/OrProgressV3/props.js +15 -0
  716. package/dist/bundled/v3/components/OrProgressV3/styles.js +63 -0
  717. package/dist/bundled/v3/components/OrRadio/OrRadio.js +34 -0
  718. package/dist/bundled/v3/components/OrRadio/index.js +3 -0
  719. package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.js +19 -0
  720. package/dist/bundled/v3/components/OrRadioGroup/index.js +2 -0
  721. package/dist/bundled/v3/components/OrRadioV3/OrRadioV3.js +48 -0
  722. package/dist/bundled/v3/components/OrRadioV3/index.js +9 -0
  723. package/dist/bundled/v3/components/OrRadioV3/styles.js +31 -0
  724. package/dist/bundled/v3/components/OrSearch/OrSearch.js +104 -0
  725. package/dist/bundled/v3/components/OrSearch/OrSearch.vue.d.ts +182 -0
  726. package/dist/bundled/v3/components/OrSearchV3/OrSearchV3.js +80 -0
  727. package/dist/bundled/v3/components/OrSearchV3/index.js +51 -0
  728. package/dist/bundled/v3/components/OrSearchV3/props.js +1 -0
  729. package/dist/bundled/v3/components/OrSegmentedControlItemV3/OrSegmentedControlItemV3.js +61 -0
  730. package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControlV3.js +32 -0
  731. package/dist/bundled/v3/components/OrSegmentedControlV3/index.js +7 -0
  732. package/dist/bundled/v3/components/OrSegmentedControlV3/props.js +7 -0
  733. package/dist/bundled/v3/components/OrSegmentedControlV3/styles.js +31 -0
  734. package/dist/bundled/v3/components/OrSelect/OrSelect.js +90 -0
  735. package/dist/bundled/v3/components/OrSelect/OrSelectContent.vue.d.ts +114 -0
  736. package/dist/bundled/v3/components/OrSelect/OrSelectContentEmpty.vue.d.ts +63 -0
  737. package/dist/bundled/v3/components/OrSelect/OrSelectContentOptions.vue.d.ts +87 -0
  738. package/dist/bundled/v3/components/OrSelect/OrSelectInput.vue.d.ts +81 -0
  739. package/dist/bundled/v3/components/OrSelect/OrSelectInputValue.vue.d.ts +58 -0
  740. package/dist/bundled/v3/components/OrSelect/OrSelectMain.vue.d.ts +158 -0
  741. package/dist/bundled/v3/components/OrSelect/OrSelectOption.vue.d.ts +37 -0
  742. package/dist/bundled/v3/components/OrSelect/OrSelectSearchOptions.vue.d.ts +38 -0
  743. package/dist/bundled/v3/components/OrSelect/constants.d.ts +50 -0
  744. package/dist/bundled/v3/components/OrSelect/constants.js +50 -0
  745. package/dist/bundled/v3/components/OrSelect/index.js +37 -0
  746. package/dist/bundled/v3/components/OrSelect/stories.helpers.d.ts +6 -0
  747. package/dist/bundled/v3/components/OrSelect/types.d.ts +9 -0
  748. package/dist/bundled/v3/components/OrSelectContent/OrSelectContent.js +125 -0
  749. package/dist/bundled/v3/components/OrSelectContent/OrSelectContent.vue.d.ts +114 -0
  750. package/dist/bundled/v3/components/OrSelectContent/constants.d.ts +50 -0
  751. package/dist/bundled/v3/components/OrSelectContent/stories.helpers.d.ts +6 -0
  752. package/dist/bundled/v3/components/OrSelectContent/types.d.ts +9 -0
  753. package/dist/bundled/v3/components/OrSelectContentEmpty/OrSelectContentEmpty.js +43 -0
  754. package/dist/bundled/v3/components/OrSelectContentEmpty/OrSelectContentEmpty.vue.d.ts +63 -0
  755. package/dist/bundled/v3/components/OrSelectContentEmpty/constants.d.ts +50 -0
  756. package/dist/bundled/v3/components/OrSelectContentEmpty/stories.helpers.d.ts +6 -0
  757. package/dist/bundled/v3/components/OrSelectContentEmpty/types.d.ts +9 -0
  758. package/dist/bundled/v3/components/OrSelectContentOptions/OrSelectContentOptions.js +73 -0
  759. package/dist/bundled/v3/components/OrSelectContentOptions/OrSelectContentOptions.vue.d.ts +87 -0
  760. package/dist/bundled/v3/components/OrSelectContentOptions/constants.d.ts +50 -0
  761. package/dist/bundled/v3/components/OrSelectContentOptions/stories.helpers.d.ts +6 -0
  762. package/dist/bundled/v3/components/OrSelectContentOptions/types.d.ts +9 -0
  763. package/dist/bundled/v3/components/OrSelectInput/OrSelectInput.js +102 -0
  764. package/dist/bundled/v3/components/OrSelectInput/OrSelectInput.vue.d.ts +81 -0
  765. package/dist/bundled/v3/components/OrSelectInput/constants.d.ts +50 -0
  766. package/dist/bundled/v3/components/OrSelectInput/stories.helpers.d.ts +6 -0
  767. package/dist/bundled/v3/components/OrSelectInput/types.d.ts +9 -0
  768. package/dist/bundled/v3/components/OrSelectInputValue/OrSelectInputValue.js +90 -0
  769. package/dist/bundled/v3/components/OrSelectInputValue/OrSelectInputValue.vue.d.ts +58 -0
  770. package/dist/bundled/v3/components/OrSelectInputValue/constants.d.ts +50 -0
  771. package/dist/bundled/v3/components/OrSelectInputValue/stories.helpers.d.ts +6 -0
  772. package/dist/bundled/v3/components/OrSelectInputValue/types.d.ts +9 -0
  773. package/dist/bundled/v3/components/OrSelectMain/OrSelectMain.js +176 -0
  774. package/dist/bundled/v3/components/OrSelectMain/OrSelectMain.vue.d.ts +158 -0
  775. package/dist/bundled/v3/components/OrSelectMain/constants.d.ts +50 -0
  776. package/dist/bundled/v3/components/OrSelectMain/stories.helpers.d.ts +6 -0
  777. package/dist/bundled/v3/components/OrSelectMain/types.d.ts +9 -0
  778. package/dist/bundled/v3/components/OrSelectOption/OrSelectOption.js +68 -0
  779. package/dist/bundled/v3/components/OrSelectOption/OrSelectOption.vue.d.ts +37 -0
  780. package/dist/bundled/v3/components/OrSelectOption/constants.d.ts +50 -0
  781. package/dist/bundled/v3/components/OrSelectOption/stories.helpers.d.ts +6 -0
  782. package/dist/bundled/v3/components/OrSelectOption/types.d.ts +9 -0
  783. package/dist/bundled/v3/components/OrSelectSearchOptions/OrSelectSearchOptions.js +78 -0
  784. package/dist/bundled/v3/components/OrSelectSearchOptions/OrSelectSearchOptions.vue.d.ts +38 -0
  785. package/dist/bundled/v3/components/OrSelectSearchOptions/constants.d.ts +50 -0
  786. package/dist/bundled/v3/components/OrSelectSearchOptions/stories.helpers.d.ts +6 -0
  787. package/dist/bundled/v3/components/OrSelectSearchOptions/types.d.ts +9 -0
  788. package/dist/bundled/v3/components/OrSelectV3/OrSelectV3.js +277 -0
  789. package/dist/bundled/v3/components/OrSelectV3/index.js +69 -0
  790. package/dist/bundled/v3/components/OrSelectV3/props.js +1 -0
  791. package/dist/bundled/v3/components/OrSelectV3/styles.js +37 -0
  792. package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +41 -0
  793. package/dist/bundled/v3/components/OrSidebar/constants.js +7 -0
  794. package/dist/bundled/v3/components/OrSidebar/index.js +5 -0
  795. package/dist/bundled/v3/components/OrSidebarV3/OrSidebarV3.js +32 -0
  796. package/dist/bundled/v3/components/OrSidebarV3/index.js +6 -0
  797. package/dist/bundled/v3/components/OrSidebarV3/props.js +7 -0
  798. package/dist/bundled/v3/components/OrSidebarV3/styles.js +68 -0
  799. package/dist/bundled/v3/components/OrSkeleton/OrSkeletonCircle.vue.d.ts +43 -0
  800. package/dist/bundled/v3/components/OrSkeleton/OrSkeletonRect.vue.d.ts +56 -0
  801. package/dist/bundled/v3/components/OrSkeleton/OrSkeletonText.vue.d.ts +73 -0
  802. package/dist/bundled/v3/components/OrSkeleton/constants.d.ts +9 -0
  803. package/dist/bundled/v3/components/OrSkeleton/constants.js +12 -0
  804. package/dist/bundled/v3/components/OrSkeleton/index.js +7 -0
  805. package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.js +21 -0
  806. package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.vue.d.ts +43 -0
  807. package/dist/bundled/v3/components/OrSkeletonCircle/constants.d.ts +9 -0
  808. package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircleV3.js +20 -0
  809. package/dist/bundled/v3/components/OrSkeletonCircleV3/styles.d.ts +6 -0
  810. package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.js +21 -0
  811. package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.vue.d.ts +56 -0
  812. package/dist/bundled/v3/components/OrSkeletonRect/constants.d.ts +9 -0
  813. package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRectV3.js +20 -0
  814. package/dist/bundled/v3/components/OrSkeletonRectV3/styles.d.ts +6 -0
  815. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.js +27 -0
  816. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.vue.d.ts +73 -0
  817. package/dist/bundled/v3/components/OrSkeletonText/constants.d.ts +9 -0
  818. package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonTextV3.js +26 -0
  819. package/dist/bundled/v3/components/OrSkeletonTextV3/styles.d.ts +6 -0
  820. package/dist/bundled/v3/components/OrSkeletonV3/index.js +8 -0
  821. package/dist/bundled/v3/components/OrSkeletonV3/styles.d.ts +6 -0
  822. package/dist/bundled/v3/components/OrSkeletonV3/styles.js +34 -0
  823. package/dist/bundled/v3/components/OrSlider/OrSlider.js +101 -0
  824. package/dist/bundled/v3/components/OrSlider/index.js +18 -0
  825. package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeaderV3.js +31 -0
  826. package/dist/bundled/v3/components/OrSortHeaderV3/index.js +9 -0
  827. package/dist/bundled/v3/components/OrSortHeaderV3/styles.js +15 -0
  828. package/dist/bundled/v3/components/OrStepper/OrStepper.js +79 -0
  829. package/dist/bundled/v3/components/OrStepper/OrStepperButtonOptions.vue.d.ts +73 -0
  830. package/dist/bundled/v3/components/OrStepper/OrStepperOptionHorizontal.vue.d.ts +106 -0
  831. package/dist/bundled/v3/components/OrStepper/OrStepperOptionVertical.vue.d.ts +106 -0
  832. package/dist/bundled/v3/components/OrStepper/OrStepperTitle.vue.d.ts +66 -0
  833. package/dist/bundled/v3/components/OrStepper/StatusIcon.vue.d.ts +22 -0
  834. package/dist/bundled/v3/components/OrStepper/index.js +28 -0
  835. package/dist/bundled/v3/components/OrStepperButtonOptions/OrStepperButtonOptions.js +85 -0
  836. package/dist/bundled/v3/components/OrStepperButtonOptions/OrStepperButtonOptions.vue.d.ts +73 -0
  837. package/dist/bundled/v3/components/OrStepperButtonOptions/StatusIcon.vue.d.ts +22 -0
  838. package/dist/bundled/v3/components/OrStepperOptionHorizontal/OrStepperOptionHorizontal.js +90 -0
  839. package/dist/bundled/v3/components/OrStepperOptionHorizontal/OrStepperOptionHorizontal.vue.d.ts +106 -0
  840. package/dist/bundled/v3/components/OrStepperOptionHorizontal/StatusIcon.vue.d.ts +22 -0
  841. package/dist/bundled/v3/components/OrStepperOptionVertical/OrStepperOptionVertical.js +111 -0
  842. package/dist/bundled/v3/components/OrStepperOptionVertical/OrStepperOptionVertical.vue.d.ts +106 -0
  843. package/dist/bundled/v3/components/OrStepperOptionVertical/StatusIcon.vue.d.ts +22 -0
  844. package/dist/bundled/v3/components/OrStepperTitle/OrStepperTitle.js +64 -0
  845. package/dist/bundled/v3/components/OrStepperTitle/OrStepperTitle.vue.d.ts +66 -0
  846. package/dist/bundled/v3/components/OrStepperTitle/StatusIcon.vue.d.ts +22 -0
  847. package/dist/bundled/v3/components/OrSwitch/OrSwitch.js +52 -0
  848. package/dist/bundled/v3/components/OrSwitch/index.js +8 -0
  849. package/dist/bundled/v3/components/OrSwitchV3/OrSwitchV3.js +64 -0
  850. package/dist/bundled/v3/components/OrSwitchV3/index.js +13 -0
  851. package/dist/bundled/v3/components/OrSwitchV3/styles.js +51 -0
  852. package/dist/bundled/v3/components/OrTab/OrTab.js +22 -0
  853. package/dist/bundled/v3/components/OrTab/index.js +4 -0
  854. package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.js +27 -0
  855. package/dist/bundled/v3/components/OrTabHeaderItem/index.js +3 -0
  856. package/dist/bundled/v3/components/OrTabV3/OrTabV3.js +23 -0
  857. package/dist/bundled/v3/components/OrTabV3/index.js +4 -0
  858. package/dist/bundled/v3/components/OrTabV3/styles.js +19 -0
  859. package/dist/bundled/v3/components/OrTabs/OrTabs.js +47 -0
  860. package/dist/bundled/v3/components/OrTabs/index.js +7 -0
  861. package/dist/bundled/v3/components/OrTabsV3/OrTabsV3.js +92 -0
  862. package/dist/bundled/v3/components/OrTabsV3/index.js +36 -0
  863. package/dist/bundled/v3/components/OrTabsV3/props.js +7 -0
  864. package/dist/bundled/v3/components/OrTabsV3/styles.js +19 -0
  865. package/dist/bundled/v3/components/OrTag/OrTag.js +49 -0
  866. package/dist/bundled/v3/components/OrTag/index.js +21 -0
  867. package/dist/bundled/v3/components/OrTagV3/OrTagV3.js +62 -0
  868. package/dist/bundled/v3/components/OrTagV3/index.js +34 -0
  869. package/dist/bundled/v3/components/OrTagV3/props.js +13 -0
  870. package/dist/bundled/v3/components/OrTagV3/styles.js +34 -0
  871. package/dist/bundled/v3/components/OrTeleport/OrTeleportVue2.vue.d.ts +33 -0
  872. package/dist/bundled/v3/components/OrTeleport/OrTeleportVue3.vue.d.ts +33 -0
  873. package/dist/bundled/v3/components/OrTeleport/constants.d.ts +12 -0
  874. package/dist/bundled/v3/components/OrTeleport/constants.js +16 -0
  875. package/dist/bundled/v3/components/OrTeleport/index.js +4 -0
  876. package/dist/bundled/v3/components/OrTeleport.vue2V3/OrTeleport.vue2V3.js +14 -0
  877. package/dist/bundled/v3/components/OrTeleport.vue3V3/OrTeleport.vue3V3.js +4 -0
  878. package/dist/bundled/v3/components/OrTeleportV3/index.js +2 -0
  879. package/dist/bundled/v3/components/OrTeleportVue2/OrTeleportVue2.js +29 -0
  880. package/dist/bundled/v3/components/OrTeleportVue2/OrTeleportVue2.vue.d.ts +33 -0
  881. package/dist/bundled/v3/components/OrTeleportVue2/constants.d.ts +12 -0
  882. package/dist/bundled/v3/components/OrTeleportVue3/OrTeleportVue3.js +20 -0
  883. package/dist/bundled/v3/components/OrTeleportVue3/OrTeleportVue3.vue.d.ts +33 -0
  884. package/dist/bundled/v3/components/OrTeleportVue3/constants.d.ts +12 -0
  885. package/dist/bundled/v3/components/OrTextV3/OrTextV3.js +21 -0
  886. package/dist/bundled/v3/components/OrTextV3/index.js +4 -0
  887. package/dist/bundled/v3/components/OrTextV3/styles.js +17 -0
  888. package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +121 -0
  889. package/dist/bundled/v3/components/OrTextarea/OrTextarea.vue.d.ts +179 -0
  890. package/dist/bundled/v3/components/OrTextareaV3/OrTextareaV3.js +97 -0
  891. package/dist/bundled/v3/components/OrTextareaV3/index.js +19 -0
  892. package/dist/bundled/v3/components/OrTextareaV3/props.js +1 -0
  893. package/dist/bundled/v3/components/OrTextareaV3/styles.js +14 -0
  894. package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +169 -0
  895. package/dist/bundled/v3/components/OrTextbox/constants.js +11 -0
  896. package/dist/bundled/v3/components/OrTextbox/index.js +36 -0
  897. package/dist/bundled/v3/components/OrToast/OrToast.js +137 -0
  898. package/dist/bundled/v3/components/OrToast/OrToastContainer.vue.d.ts +93 -0
  899. package/dist/bundled/v3/components/OrToast/Timer.d.ts +11 -0
  900. package/dist/bundled/v3/components/OrToast/Timer.js +37 -0
  901. package/dist/bundled/v3/components/OrToast/composable/useQueue.d.ts +8 -0
  902. package/dist/bundled/v3/components/OrToast/composable/useToast.d.ts +13 -0
  903. package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.d.ts +9 -0
  904. package/dist/bundled/v3/components/OrToast/constants.d.ts +18 -0
  905. package/dist/bundled/v3/components/OrToast/constants.js +24 -0
  906. package/dist/bundled/v3/components/OrToast/index.js +7 -0
  907. package/dist/bundled/v3/components/OrToast/types.d.ts +31 -0
  908. package/dist/bundled/v3/components/OrToast/useQueue.js +33 -0
  909. package/dist/bundled/v3/components/OrToast/useToast.js +82 -0
  910. package/dist/bundled/v3/components/OrToast/useToastEventBus.js +24 -0
  911. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +73 -0
  912. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +93 -0
  913. package/dist/bundled/v3/components/OrToastContainer/Timer.d.ts +11 -0
  914. package/dist/bundled/v3/components/OrToastContainer/composable/useQueue.d.ts +8 -0
  915. package/dist/bundled/v3/components/OrToastContainer/composable/useToast.d.ts +13 -0
  916. package/dist/bundled/v3/components/OrToastContainer/composable/useToastEventBus.d.ts +9 -0
  917. package/dist/bundled/v3/components/OrToastContainer/constants.d.ts +18 -0
  918. package/dist/bundled/v3/components/OrToastContainer/types.d.ts +31 -0
  919. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainerV3.js +80 -0
  920. package/dist/bundled/v3/components/OrToastContainerV3/Timer.d.ts +11 -0
  921. package/dist/bundled/v3/components/OrToastContainerV3/composable/useQueue.d.ts +8 -0
  922. package/dist/bundled/v3/components/OrToastContainerV3/composable/useToast.d.ts +13 -0
  923. package/dist/bundled/v3/components/OrToastContainerV3/composable/useToastEventBus.d.ts +9 -0
  924. package/dist/bundled/v3/components/OrToastContainerV3/props.d.ts +18 -0
  925. package/dist/bundled/v3/components/OrToastContainerV3/styles.d.ts +6 -0
  926. package/dist/bundled/v3/components/OrToastContainerV3/types.d.ts +31 -0
  927. package/dist/bundled/v3/components/OrToastV3/OrToastV3.js +177 -0
  928. package/dist/bundled/v3/components/OrToastV3/Timer.d.ts +11 -0
  929. package/dist/bundled/v3/components/OrToastV3/Timer.js +37 -0
  930. package/dist/bundled/v3/components/OrToastV3/composable/useQueue.d.ts +8 -0
  931. package/dist/bundled/v3/components/OrToastV3/composable/useToast.d.ts +13 -0
  932. package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.d.ts +9 -0
  933. package/dist/bundled/v3/components/OrToastV3/index.js +7 -0
  934. package/dist/bundled/v3/components/OrToastV3/props.d.ts +18 -0
  935. package/dist/bundled/v3/components/OrToastV3/props.js +1 -0
  936. package/dist/bundled/v3/components/OrToastV3/styles.d.ts +6 -0
  937. package/dist/bundled/v3/components/OrToastV3/styles.js +64 -0
  938. package/dist/bundled/v3/components/OrToastV3/types.d.ts +31 -0
  939. package/dist/bundled/v3/components/OrToastV3/useQueue.js +33 -0
  940. package/dist/bundled/v3/components/OrToastV3/useToast.js +82 -0
  941. package/dist/bundled/v3/components/OrToastV3/useToastEventBus.js +24 -0
  942. package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +54 -0
  943. package/dist/bundled/v3/components/OrTooltip/OrTooltipContent.vue.d.ts +38 -0
  944. package/dist/bundled/v3/components/OrTooltip/index.js +13 -0
  945. package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.js +44 -0
  946. package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.vue.d.ts +38 -0
  947. package/dist/bundled/v3/components/OrTooltipV3/OrTooltipV3.js +50 -0
  948. package/dist/bundled/v3/components/OrTooltipV3/index.js +22 -0
  949. package/dist/bundled/v3/components/OrTooltipV3/props.js +1 -0
  950. package/dist/bundled/v3/components/OrTooltipV3/styles.js +46 -0
  951. package/dist/bundled/v3/components/OrTooltipWrapperV2/OrTooltipWrapperV2.js +61 -0
  952. package/dist/bundled/v3/components/OrTooltipWrapperV2/constants.d.ts +35 -0
  953. package/dist/bundled/v3/components/StatusIcon/StatusIcon.js +43 -0
  954. package/dist/bundled/v3/components/index.d.ts +1 -1
  955. package/dist/bundled/v3/components/index.js +283 -137
  956. package/dist/bundled/v3/directives/dropdown-close.js +15 -0
  957. package/dist/bundled/v3/directives/dropdown-open.js +16 -0
  958. package/dist/bundled/v3/directives/index.js +3 -2
  959. package/dist/bundled/v3/hooks/index.js +7 -6
  960. package/dist/bundled/v3/hooks/useClassAttribute.js +32 -0
  961. package/dist/bundled/v3/hooks/useElevation.js +21 -0
  962. package/dist/bundled/v3/hooks/useOverflow.js +64 -0
  963. package/dist/bundled/v3/hooks/useResponsive/index.js +2 -2
  964. package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +13 -0
  965. package/dist/bundled/v3/hooks/useToggle.js +22 -0
  966. package/dist/bundled/v3/index-63e094a0.js +15 -0
  967. package/dist/bundled/v3/index.js +286 -3060
  968. package/dist/bundled/v3/lang-d640563a.js +25647 -0
  969. package/dist/bundled/v3/props-fb3f60a5.js +32 -0
  970. package/dist/bundled/v3/types-668300dd.js +5 -0
  971. package/dist/bundled/v3/utils/constants/color.js +16 -0
  972. package/dist/bundled/v3/utils/constants/key-codes.js +16 -0
  973. package/dist/bundled/v3/utils/constants/poper.js +10 -0
  974. package/dist/bundled/v3/utils/constants/regex.js +49 -0
  975. package/dist/bundled/v3/utils/functions/color.js +39 -0
  976. package/dist/bundled/v3/utils/functions/dom.js +167 -0
  977. package/dist/bundled/v3/utils/functions/hash.js +8 -0
  978. package/dist/bundled/v3/utils/functions/px-to-rem.js +3 -0
  979. package/dist/bundled/v3/utils/functions/text.js +9 -0
  980. package/dist/bundled/v3/utils/isVisible.js +5 -0
  981. package/dist/esm/v2/OrButton-205de9ab.js +81 -0
  982. package/dist/esm/v2/OrButton.vue_rollup-plugin-vue_script-350539bb.js +97 -0
  983. package/dist/esm/v2/OrCardCollection-a5908d2f.js +227 -0
  984. package/dist/esm/v2/OrCode-39b1a950.js +390 -0
  985. package/dist/esm/v2/OrConfirm-c169ea9c.js +261 -0
  986. package/dist/esm/v2/OrDateTimePicker-059f70cc.js +770 -0
  987. package/dist/esm/v2/OrIconButton-b6d043d4.js +70 -0
  988. package/dist/esm/v2/OrIconButton.vue_rollup-plugin-vue_script-4eb22255.js +197 -0
  989. package/dist/esm/v2/OrInlineTextEdit-97ec79e2.js +402 -0
  990. package/dist/esm/v2/OrList-5b15bcf9.js +299 -0
  991. package/dist/esm/v2/OrListOfInputs-ea213381.js +224 -0
  992. package/dist/esm/v2/OrModal-835d7168.js +202 -0
  993. package/dist/esm/v2/OrNotification-90132617.js +145 -0
  994. package/dist/esm/v2/OrOverflowMenu-23b8c775.js +251 -0
  995. package/dist/esm/v2/OrPassword-a5eab968.js +386 -0
  996. package/dist/esm/v2/OrSearch-4f1afe0f.js +129 -0
  997. package/dist/esm/v2/OrSearch.vue_rollup-plugin-vue_script-f17c67bf.js +821 -0
  998. package/dist/esm/v2/OrStepper-e8532526.js +647 -0
  999. package/dist/esm/v2/OrTextbox-da767eb4.js +532 -0
  1000. package/dist/esm/v2/OrToastContainer-ef992f39.js +341 -0
  1001. package/dist/esm/v2/components/index.d.ts +1 -1
  1002. package/dist/esm/v2/components/index.js +20 -43
  1003. package/dist/esm/v2/components/or-button-v2/index.d.ts +1 -1
  1004. package/dist/esm/v2/components/or-button-v2/index.js +6 -5
  1005. package/dist/esm/v2/components/or-card-collection/index.js +6 -5
  1006. package/dist/esm/v2/components/or-code/index.js +5 -4
  1007. package/dist/esm/v2/components/or-confirm/index.js +7 -6
  1008. package/dist/esm/v2/components/or-date-time-picker/index.js +4 -3
  1009. package/dist/esm/v2/components/or-icon-button-v2/OrIconButton.vue.d.ts +132 -0
  1010. package/dist/esm/v2/components/or-icon-button-v2/index.d.ts +1 -0
  1011. package/dist/esm/v2/components/or-icon-button-v2/index.js +16 -0
  1012. package/dist/esm/v2/components/or-inline-text-edit/index.js +4 -3
  1013. package/dist/esm/v2/components/or-inputs/index.js +6 -5
  1014. package/dist/esm/v2/components/or-list/index.js +5 -4
  1015. package/dist/esm/v2/components/or-list-of-inputs/index.js +7 -6
  1016. package/dist/esm/v2/components/or-modal/index.js +4 -3
  1017. package/dist/esm/v2/components/or-notification/index.js +4 -3
  1018. package/dist/esm/v2/components/or-overflow-menu/index.js +5 -4
  1019. package/dist/esm/v2/components/or-stepper/index.js +4 -3
  1020. package/dist/esm/v2/components/or-textbox/index.js +4 -3
  1021. package/dist/esm/v2/components/or-toast/index.js +4 -3
  1022. package/dist/esm/v2/index.js +20 -43
  1023. package/dist/esm/v3/OrButton-49dda0ef.js +135 -0
  1024. package/dist/esm/v3/OrCardCollection-d3001076.js +190 -0
  1025. package/dist/esm/v3/OrCode-d343f94b.js +353 -0
  1026. package/dist/esm/v3/OrConfirm-8bcd1068.js +215 -0
  1027. package/dist/esm/v3/OrDateTimePicker-4805c791.js +679 -0
  1028. package/dist/esm/v3/OrIconButton-db670a12.js +214 -0
  1029. package/dist/esm/v3/OrInlineTextEdit-86c05559.js +339 -0
  1030. package/dist/esm/v3/OrList-6e524e63.js +258 -0
  1031. package/dist/esm/v3/OrListOfInputs-b0b814ec.js +164 -0
  1032. package/dist/esm/v3/OrModal-f91af2b2.js +164 -0
  1033. package/dist/esm/v3/OrNotification-42c46030.js +115 -0
  1034. package/dist/esm/v3/OrOverflowMenu-6a517ecf.js +186 -0
  1035. package/dist/esm/v3/OrSearch-ffc484f6.js +1076 -0
  1036. package/dist/esm/v3/OrStepper-f7dea1b9.js +427 -0
  1037. package/dist/esm/v3/OrTextbox-582d41ef.js +494 -0
  1038. package/dist/esm/v3/OrToastContainer-17b30607.js +281 -0
  1039. package/dist/esm/v3/components/index.d.ts +1 -1
  1040. package/dist/esm/v3/components/index.js +16 -39
  1041. package/dist/esm/v3/components/or-button-v2/index.d.ts +1 -1
  1042. package/dist/esm/v3/components/or-button-v2/index.js +2 -1
  1043. package/dist/esm/v3/components/or-card-collection/index.js +4 -3
  1044. package/dist/esm/v3/components/or-code/index.js +4 -3
  1045. package/dist/esm/v3/components/or-confirm/index.js +5 -4
  1046. package/dist/esm/v3/components/or-date-time-picker/index.js +3 -2
  1047. package/dist/esm/v3/components/or-icon-button-v2/OrIconButton.vue.d.ts +132 -0
  1048. package/dist/esm/v3/components/or-icon-button-v2/index.d.ts +1 -0
  1049. package/dist/esm/v3/components/or-icon-button-v2/index.js +13 -0
  1050. package/dist/esm/v3/components/or-inline-text-edit/index.js +3 -2
  1051. package/dist/esm/v3/components/or-inputs/index.js +3 -2
  1052. package/dist/esm/v3/components/or-list/index.js +3 -2
  1053. package/dist/esm/v3/components/or-list-of-inputs/index.js +5 -4
  1054. package/dist/esm/v3/components/or-modal/index.js +3 -2
  1055. package/dist/esm/v3/components/or-notification/index.js +3 -2
  1056. package/dist/esm/v3/components/or-overflow-menu/index.js +3 -2
  1057. package/dist/esm/v3/components/or-stepper/index.js +3 -2
  1058. package/dist/esm/v3/components/or-textbox/index.js +3 -2
  1059. package/dist/esm/v3/components/or-toast/index.js +3 -2
  1060. package/dist/esm/v3/index.js +16 -39
  1061. package/package.json +38 -31
  1062. package/src/components/index.ts +1 -1
  1063. package/src/components/or-button-v2/index.ts +1 -1
  1064. package/src/components/or-icon-button-v2/OrIconButton.stories.ts +124 -0
  1065. package/src/components/or-icon-button-v2/OrIconButton.vue +250 -0
  1066. package/src/components/or-icon-button-v2/index.ts +1 -0
  1067. package/src/utils/functions/text.ts +2 -2
  1068. package/dist/bundled/v2/OrAvatar-0a2c265f.js +0 -118
  1069. package/dist/bundled/v2/OrAvatar-ae61bfb9.js +0 -196
  1070. package/dist/bundled/v2/OrBottomSheet-1cd1ab4c.js +0 -176
  1071. package/dist/bundled/v2/OrButton-2abd29d0.js +0 -200
  1072. package/dist/bundled/v2/OrButton-4b99c680.js +0 -194
  1073. package/dist/bundled/v2/OrButton-705cd0bd.js +0 -177
  1074. package/dist/bundled/v2/OrCard-29116e1f.js +0 -72
  1075. package/dist/bundled/v2/OrCard-a6b30f8f.js +0 -70
  1076. package/dist/bundled/v2/OrCardCollection-89428bbf.js +0 -226
  1077. package/dist/bundled/v2/OrCardCollection-c4209a92.js +0 -350
  1078. package/dist/bundled/v2/OrCarouselItem-6da755c0.js +0 -2924
  1079. package/dist/bundled/v2/OrCheckbox-4cbddd67.js +0 -186
  1080. package/dist/bundled/v2/OrCheckbox-dbef9f9a.js +0 -211
  1081. package/dist/bundled/v2/OrChip-000fe7b5.js +0 -96
  1082. package/dist/bundled/v2/OrChips-890b8476.js +0 -327
  1083. package/dist/bundled/v2/OrCode-be1bd373.js +0 -4255
  1084. package/dist/bundled/v2/OrCollapse-3aa9a9b7.js +0 -173
  1085. package/dist/bundled/v2/OrColorPicker-a1a37e83.js +0 -497
  1086. package/dist/bundled/v2/OrConfirm-56d01cff.js +0 -263
  1087. package/dist/bundled/v2/OrConfirm-cab6535b.js +0 -319
  1088. package/dist/bundled/v2/OrDateTimePicker-e212f892.js +0 -771
  1089. package/dist/bundled/v2/OrEmptyState-9fb413f9.js +0 -160
  1090. package/dist/bundled/v2/OrError-31503e4c.js +0 -57
  1091. package/dist/bundled/v2/OrError-aad17598.js +0 -95
  1092. package/dist/bundled/v2/OrErrorTag-d0c5bcf4.js +0 -85
  1093. package/dist/bundled/v2/OrExpansionPanel-995caa85.js +0 -178
  1094. package/dist/bundled/v2/OrFab-7cc75893.js +0 -106
  1095. package/dist/bundled/v2/OrFloating-554d6f58.js +0 -211
  1096. package/dist/bundled/v2/OrHint-f38a1940.js +0 -95
  1097. package/dist/bundled/v2/OrHint-fabea4cf.js +0 -60
  1098. package/dist/bundled/v2/OrIcon-10ec459c.js +0 -180
  1099. package/dist/bundled/v2/OrIcon-8625385f.js +0 -131
  1100. package/dist/bundled/v2/OrIconButton-65962c1c.js +0 -209
  1101. package/dist/bundled/v2/OrIconButton-a215104c.js +0 -165
  1102. package/dist/bundled/v2/OrInlineInput-9add2e1e.js +0 -365
  1103. package/dist/bundled/v2/OrInlineInputBox-f457210f.js +0 -99
  1104. package/dist/bundled/v2/OrInlineTextEdit-7262efdf.js +0 -402
  1105. package/dist/bundled/v2/OrInlineTextarea-9c6f9044.js +0 -269
  1106. package/dist/bundled/v2/OrInput-08f2f666.js +0 -334
  1107. package/dist/bundled/v2/OrInput-8b90e08f.js +0 -388
  1108. package/dist/bundled/v2/OrInputBox-79ec54ad.js +0 -140
  1109. package/dist/bundled/v2/OrLabel-172c4b89.js +0 -126
  1110. package/dist/bundled/v2/OrLabel-74c73ba4.js +0 -83
  1111. package/dist/bundled/v2/OrLink-e7b57307.js +0 -122
  1112. package/dist/bundled/v2/OrList-4e84a3b4.js +0 -2878
  1113. package/dist/bundled/v2/OrListOfInputs-8f076650.js +0 -224
  1114. package/dist/bundled/v2/OrLoader-05057239.js +0 -117
  1115. package/dist/bundled/v2/OrLoader-6a1f937b.js +0 -183
  1116. package/dist/bundled/v2/OrMenu-fa47c888.js +0 -150
  1117. package/dist/bundled/v2/OrMenuItem-26420908.js +0 -113
  1118. package/dist/bundled/v2/OrModal-a5411b0d.js +0 -1465
  1119. package/dist/bundled/v2/OrModal-f89de11f.js +0 -171
  1120. package/dist/bundled/v2/OrNotification-3909aaf2.js +0 -145
  1121. package/dist/bundled/v2/OrNotification-d76a062d.js +0 -175
  1122. package/dist/bundled/v2/OrOverflowMenu-711e460e.js +0 -252
  1123. package/dist/bundled/v2/OrOverlay-3c89d622.js +0 -89
  1124. package/dist/bundled/v2/OrOverlay-47967a8b.js +0 -76
  1125. package/dist/bundled/v2/OrPassword-7da938aa.js +0 -772
  1126. package/dist/bundled/v2/OrPopover-5dc240f1.js +0 -286
  1127. package/dist/bundled/v2/OrProgress-cc397a38.js +0 -319
  1128. package/dist/bundled/v2/OrProgress-de947341.js +0 -229
  1129. package/dist/bundled/v2/OrRadio-187d6fc7.js +0 -146
  1130. package/dist/bundled/v2/OrRadio-cd39b20b.js +0 -193
  1131. package/dist/bundled/v2/OrRadioGroup-aa9f0757.js +0 -92
  1132. package/dist/bundled/v2/OrRichTextEditor-6f78ecb2.js +0 -29978
  1133. package/dist/bundled/v2/OrSearch-76b002cf.js +0 -148
  1134. package/dist/bundled/v2/OrSearch-f7cfa52f.js +0 -248
  1135. package/dist/bundled/v2/OrSegmentedControl-21cc914e.js +0 -243
  1136. package/dist/bundled/v2/OrSelect-a23d4210.js +0 -1128
  1137. package/dist/bundled/v2/OrSelect-b20a9be0.js +0 -522
  1138. package/dist/bundled/v2/OrSidebar-c95ef614.js +0 -230
  1139. package/dist/bundled/v2/OrSidebar-e2b2c9ec.js +0 -152
  1140. package/dist/bundled/v2/OrSkeletonText-242d22f3.js +0 -262
  1141. package/dist/bundled/v2/OrSkeletonText-516993b4.js +0 -307
  1142. package/dist/bundled/v2/OrSlider-59d05856.js +0 -374
  1143. package/dist/bundled/v2/OrSortHeader-9932d28f.js +0 -134
  1144. package/dist/bundled/v2/OrStepper-3fc1a2b3.js +0 -653
  1145. package/dist/bundled/v2/OrSwitch-237a2081.js +0 -245
  1146. package/dist/bundled/v2/OrSwitch-47670dbd.js +0 -157
  1147. package/dist/bundled/v2/OrTab-b2c6d977.js +0 -112
  1148. package/dist/bundled/v2/OrTab-dd949240.js +0 -98
  1149. package/dist/bundled/v2/OrTabHeaderItem-d39c3cf7.js +0 -115
  1150. package/dist/bundled/v2/OrTabs-42f7c52c.js +0 -234
  1151. package/dist/bundled/v2/OrTabs-4c8f6422.js +0 -116
  1152. package/dist/bundled/v2/OrTag-6440aa89.js +0 -166
  1153. package/dist/bundled/v2/OrTag-79e48fec.js +0 -119
  1154. package/dist/bundled/v2/OrTeleport.vue2-e9ba3054.js +0 -61
  1155. package/dist/bundled/v2/OrTeleportVue2-3544f185.js +0 -67
  1156. package/dist/bundled/v2/OrText-eac4b9f5.js +0 -104
  1157. package/dist/bundled/v2/OrTextarea-5593fbe9.js +0 -236
  1158. package/dist/bundled/v2/OrTextbox-eacd9b19.js +0 -531
  1159. package/dist/bundled/v2/OrToastContainer-b03adc37.js +0 -342
  1160. package/dist/bundled/v2/OrTooltip-dfea7af2.js +0 -160
  1161. package/dist/bundled/v2/OrTooltip-fbfa05fd.js +0 -170
  1162. package/dist/bundled/v2/OrTooltipContent-f0fd5f75.js +0 -76
  1163. package/dist/bundled/v2/codemirrorView-77ce9187.js +0 -7136
  1164. package/dist/bundled/v2/color-1f348774.js +0 -60
  1165. package/dist/bundled/v2/components/or-avatar/index.js +0 -15
  1166. package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.stories3.d.ts +0 -42
  1167. package/dist/bundled/v2/components/or-avatar-v3/index.js +0 -8
  1168. package/dist/bundled/v2/components/or-bottom-sheet-v3/OrBottomSheet.stories3.d.ts +0 -12
  1169. package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +0 -11
  1170. package/dist/bundled/v2/components/or-button/index.js +0 -8
  1171. package/dist/bundled/v2/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1172. package/dist/bundled/v2/components/or-button-v2/index.d.ts +0 -3
  1173. package/dist/bundled/v2/components/or-button-v2/index.js +0 -19
  1174. package/dist/bundled/v2/components/or-button-v3/OrButton.stories3.d.ts +0 -22
  1175. package/dist/bundled/v2/components/or-button-v3/index.js +0 -7
  1176. package/dist/bundled/v2/components/or-card/index.js +0 -6
  1177. package/dist/bundled/v2/components/or-card-collection/index.js +0 -27
  1178. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -27
  1179. package/dist/bundled/v2/components/or-card-collection-v3/index.js +0 -29
  1180. package/dist/bundled/v2/components/or-card-v3/OrCard.stories3.d.ts +0 -12
  1181. package/dist/bundled/v2/components/or-card-v3/index.js +0 -6
  1182. package/dist/bundled/v2/components/or-carousel/index.js +0 -15
  1183. package/dist/bundled/v2/components/or-checkbox/index.js +0 -15
  1184. package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.stories3.d.ts +0 -12
  1185. package/dist/bundled/v2/components/or-checkbox-v3/index.js +0 -8
  1186. package/dist/bundled/v2/components/or-chips/index.js +0 -18
  1187. package/dist/bundled/v2/components/or-code/index.js +0 -27
  1188. package/dist/bundled/v2/components/or-collapse/index.js +0 -9
  1189. package/dist/bundled/v2/components/or-color-picker/index.js +0 -13
  1190. package/dist/bundled/v2/components/or-confirm/index.js +0 -29
  1191. package/dist/bundled/v2/components/or-confirm-v3/OrConfirm.stories3.d.ts +0 -42
  1192. package/dist/bundled/v2/components/or-confirm-v3/index.js +0 -27
  1193. package/dist/bundled/v2/components/or-date-time-picker/index.js +0 -24
  1194. package/dist/bundled/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -24
  1195. package/dist/bundled/v2/components/or-empty-state-v3/index.js +0 -5
  1196. package/dist/bundled/v2/components/or-error/index.js +0 -6
  1197. package/dist/bundled/v2/components/or-error-tag-v3/OrErrorTag.stories3.d.ts +0 -12
  1198. package/dist/bundled/v2/components/or-error-tag-v3/index.js +0 -7
  1199. package/dist/bundled/v2/components/or-error-v3/OrError.stories3.d.ts +0 -12
  1200. package/dist/bundled/v2/components/or-error-v3/index.js +0 -6
  1201. package/dist/bundled/v2/components/or-expansion-panel-v3/OrExpansionPanel.stories3.d.ts +0 -12
  1202. package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +0 -7
  1203. package/dist/bundled/v2/components/or-fab-v3/OrFab.stories3.d.ts +0 -12
  1204. package/dist/bundled/v2/components/or-fab-v3/index.js +0 -7
  1205. package/dist/bundled/v2/components/or-floating/index.js +0 -11
  1206. package/dist/bundled/v2/components/or-hint/index.js +0 -7
  1207. package/dist/bundled/v2/components/or-hint-v3/OrHint.stories3.d.ts +0 -12
  1208. package/dist/bundled/v2/components/or-hint-v3/index.js +0 -6
  1209. package/dist/bundled/v2/components/or-icon/index.js +0 -14
  1210. package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.stories3.d.ts +0 -17
  1211. package/dist/bundled/v2/components/or-icon-button-v3/index.js +0 -17
  1212. package/dist/bundled/v2/components/or-icon-v3/OrIcon.stories3.d.ts +0 -12
  1213. package/dist/bundled/v2/components/or-icon-v3/index.js +0 -6
  1214. package/dist/bundled/v2/components/or-inline-input-box-v3/OrInlineInputBox.stories3.d.ts +0 -12
  1215. package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +0 -6
  1216. package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.stories3.d.ts +0 -12
  1217. package/dist/bundled/v2/components/or-inline-input-v3/index.js +0 -22
  1218. package/dist/bundled/v2/components/or-inline-text-edit/index.js +0 -22
  1219. package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.stories3.d.ts +0 -12
  1220. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +0 -22
  1221. package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.stories3.d.ts +0 -12
  1222. package/dist/bundled/v2/components/or-input-box-v3/index.js +0 -6
  1223. package/dist/bundled/v2/components/or-input-v3/OrInput.stories3.d.ts +0 -27
  1224. package/dist/bundled/v2/components/or-input-v3/index.js +0 -23
  1225. package/dist/bundled/v2/components/or-inputs/index.js +0 -27
  1226. package/dist/bundled/v2/components/or-label/index.js +0 -7
  1227. package/dist/bundled/v2/components/or-label-v3/OrLabel.stories3.d.ts +0 -12
  1228. package/dist/bundled/v2/components/or-label-v3/index.js +0 -6
  1229. package/dist/bundled/v2/components/or-link-v3/OrLink.stories3.d.ts +0 -27
  1230. package/dist/bundled/v2/components/or-link-v3/index.js +0 -6
  1231. package/dist/bundled/v2/components/or-list/index.js +0 -23
  1232. package/dist/bundled/v2/components/or-list-of-inputs/index.js +0 -27
  1233. package/dist/bundled/v2/components/or-loader/index.js +0 -7
  1234. package/dist/bundled/v2/components/or-loader-v3/OrLoader.stories3.d.ts +0 -22
  1235. package/dist/bundled/v2/components/or-loader-v3/index.js +0 -6
  1236. package/dist/bundled/v2/components/or-menu-item-v3/OrMenuItem.stories3.d.ts +0 -17
  1237. package/dist/bundled/v2/components/or-menu-item-v3/index.js +0 -7
  1238. package/dist/bundled/v2/components/or-menu-v3/OrMenu.stories3.d.ts +0 -17
  1239. package/dist/bundled/v2/components/or-menu-v3/index.js +0 -15
  1240. package/dist/bundled/v2/components/or-modal/index.js +0 -21
  1241. package/dist/bundled/v2/components/or-modal-v3/OrModal.stories3.d.ts +0 -22
  1242. package/dist/bundled/v2/components/or-modal-v3/index.js +0 -18
  1243. package/dist/bundled/v2/components/or-notification/index.js +0 -19
  1244. package/dist/bundled/v2/components/or-notification-v3/OrNotification.stories3.d.ts +0 -12
  1245. package/dist/bundled/v2/components/or-notification-v3/index.js +0 -18
  1246. package/dist/bundled/v2/components/or-overflow-menu/index.js +0 -21
  1247. package/dist/bundled/v2/components/or-overlay/index.js +0 -6
  1248. package/dist/bundled/v2/components/or-overlay-v3/OrOverlay.stories3.d.ts +0 -12
  1249. package/dist/bundled/v2/components/or-overlay-v3/index.js +0 -10
  1250. package/dist/bundled/v2/components/or-popover-v3/OrPopover.stories3.d.ts +0 -12
  1251. package/dist/bundled/v2/components/or-popover-v3/index.js +0 -14
  1252. package/dist/bundled/v2/components/or-progress/index.js +0 -7
  1253. package/dist/bundled/v2/components/or-progress-v3/OrProgress.stories3.d.ts +0 -82
  1254. package/dist/bundled/v2/components/or-progress-v3/index.js +0 -9
  1255. package/dist/bundled/v2/components/or-radio/index.js +0 -7
  1256. package/dist/bundled/v2/components/or-radio-group/index.js +0 -6
  1257. package/dist/bundled/v2/components/or-radio-v3/OrRadio.stories3.d.ts +0 -12
  1258. package/dist/bundled/v2/components/or-radio-v3/index.js +0 -8
  1259. package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
  1260. package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -171
  1261. package/dist/bundled/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
  1262. package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +0 -26
  1263. package/dist/bundled/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -7
  1264. package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
  1265. package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
  1266. package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
  1267. package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -2
  1268. package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
  1269. package/dist/bundled/v2/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
  1270. package/dist/bundled/v2/components/or-search-v3/OrSearch.stories3.d.ts +0 -12
  1271. package/dist/bundled/v2/components/or-search-v3/index.js +0 -24
  1272. package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.stories3.d.ts +0 -12
  1273. package/dist/bundled/v2/components/or-segmented-control-v3/index.js +0 -6
  1274. package/dist/bundled/v2/components/or-select/index.js +0 -21
  1275. package/dist/bundled/v2/components/or-select-v3/OrSelect.stories3.d.ts +0 -42
  1276. package/dist/bundled/v2/components/or-select-v3/index.js +0 -30
  1277. package/dist/bundled/v2/components/or-sidebar/index.js +0 -8
  1278. package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +0 -37
  1279. package/dist/bundled/v2/components/or-sidebar-v3/index.js +0 -7
  1280. package/dist/bundled/v2/components/or-skeleton/index.js +0 -8
  1281. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeleton.stories3.d.ts +0 -35
  1282. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonCircle.stories3.d.ts +0 -22
  1283. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonRect.stories3.d.ts +0 -32
  1284. package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonText.stories3.d.ts +0 -32
  1285. package/dist/bundled/v2/components/or-skeleton-v3/index.js +0 -8
  1286. package/dist/bundled/v2/components/or-slider/index.js +0 -16
  1287. package/dist/bundled/v2/components/or-sort-header-v3/OrSortHeader.stories3.d.ts +0 -12
  1288. package/dist/bundled/v2/components/or-sort-header-v3/index.js +0 -7
  1289. package/dist/bundled/v2/components/or-stepper/index.js +0 -18
  1290. package/dist/bundled/v2/components/or-switch/index.js +0 -8
  1291. package/dist/bundled/v2/components/or-switch-v3/OrSwitch.stories3.d.ts +0 -12
  1292. package/dist/bundled/v2/components/or-switch-v3/index.js +0 -9
  1293. package/dist/bundled/v2/components/or-tab/index.js +0 -8
  1294. package/dist/bundled/v2/components/or-tab-header-item/index.js +0 -7
  1295. package/dist/bundled/v2/components/or-tab-v3/OrTab.stories3.d.ts +0 -12
  1296. package/dist/bundled/v2/components/or-tab-v3/index.js +0 -6
  1297. package/dist/bundled/v2/components/or-tabs/index.js +0 -8
  1298. package/dist/bundled/v2/components/or-tabs-v3/OrTabs.stories3.d.ts +0 -17
  1299. package/dist/bundled/v2/components/or-tabs-v3/index.js +0 -19
  1300. package/dist/bundled/v2/components/or-tag/index.js +0 -16
  1301. package/dist/bundled/v2/components/or-tag-v3/OrTag.stories3.d.ts +0 -22
  1302. package/dist/bundled/v2/components/or-tag-v3/index.js +0 -18
  1303. package/dist/bundled/v2/components/or-teleport/index.js +0 -6
  1304. package/dist/bundled/v2/components/or-teleport-v3/OrTeleport.stories3.d.ts +0 -12
  1305. package/dist/bundled/v2/components/or-teleport-v3/index.js +0 -6
  1306. package/dist/bundled/v2/components/or-text-v3/OrText.stories3.d.ts +0 -12
  1307. package/dist/bundled/v2/components/or-text-v3/index.js +0 -6
  1308. package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.stories3.d.ts +0 -12
  1309. package/dist/bundled/v2/components/or-textarea-v3/index.js +0 -11
  1310. package/dist/bundled/v2/components/or-textbox/index.js +0 -24
  1311. package/dist/bundled/v2/components/or-toast/composable/index.js +0 -5
  1312. package/dist/bundled/v2/components/or-toast/index.js +0 -22
  1313. package/dist/bundled/v2/components/or-toast-v3/OrToast.stories3.d.ts +0 -12
  1314. package/dist/bundled/v2/components/or-toast-v3/OrToastContainer.stories3.d.ts +0 -45
  1315. package/dist/bundled/v2/components/or-toast-v3/composable/index.js +0 -5
  1316. package/dist/bundled/v2/components/or-toast-v3/index.js +0 -21
  1317. package/dist/bundled/v2/components/or-tooltip/index.js +0 -13
  1318. package/dist/bundled/v2/components/or-tooltip-v3/OrTooltip.stories3.d.ts +0 -12
  1319. package/dist/bundled/v2/components/or-tooltip-v3/index.js +0 -15
  1320. package/dist/bundled/v2/constants-c5d1139f.js +0 -43
  1321. package/dist/bundled/v2/dom-3a15d036.js +0 -59
  1322. package/dist/bundled/v2/dropdown-open-e2a93aaf.js +0 -28
  1323. package/dist/bundled/v2/index-17f264f9.js +0 -16
  1324. package/dist/bundled/v2/index-46cc379c.js +0 -12186
  1325. package/dist/bundled/v2/index-780d00b0.js +0 -13307
  1326. package/dist/bundled/v2/index-fa6eb4ca.js +0 -11
  1327. package/dist/bundled/v2/px-to-rem-0b26b83e.js +0 -3
  1328. package/dist/bundled/v2/types-fdd34542.js +0 -450
  1329. package/dist/bundled/v2/useClassAttribute-9bf33346.js +0 -33
  1330. package/dist/bundled/v2/useElevation-aac032f4.js +0 -25
  1331. package/dist/bundled/v2/useOverflow-bae6342f.js +0 -65
  1332. package/dist/bundled/v2/useResponsive-e13dfbb0.js +0 -14
  1333. package/dist/bundled/v2/useToast-1faa828c.js +0 -189
  1334. package/dist/bundled/v2/useToast-3a3d4280.js +0 -197
  1335. package/dist/bundled/v2/useToggle-6166bd53.js +0 -23
  1336. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-0426862b.js +0 -147
  1337. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-07889664.js +0 -63
  1338. package/dist/bundled/v3/OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js +0 -147
  1339. package/dist/bundled/v3/OrButton-a671b8a1.js +0 -33
  1340. package/dist/bundled/v3/OrButton-ec723bb7.js +0 -39
  1341. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-b0dc31ca.js +0 -133
  1342. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-c0800f20.js +0 -122
  1343. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-ffc66d00.js +0 -99
  1344. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-165de137.js +0 -35
  1345. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-90ba001b.js +0 -21
  1346. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-9a2ae9a3.js +0 -236
  1347. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-d8124dda.js +0 -190
  1348. package/dist/bundled/v3/OrCarouselItem-f4b9541d.js +0 -55
  1349. package/dist/bundled/v3/OrCarouselItem.vue_vue_type_script_lang-ad286afc.js +0 -2822
  1350. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-8b36e06c.js +0 -110
  1351. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-d8a66818.js +0 -88
  1352. package/dist/bundled/v3/OrChip-5d502431.js +0 -67
  1353. package/dist/bundled/v3/OrChips.vue_vue_type_script_lang-69917e34.js +0 -196
  1354. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-0f668150.js +0 -4133
  1355. package/dist/bundled/v3/OrCollapse-63e83681.js +0 -35
  1356. package/dist/bundled/v3/OrCollapse.vue_vue_type_script_lang-65cbb754.js +0 -114
  1357. package/dist/bundled/v3/OrColorPicker.vue_vue_type_script_lang-4141378d.js +0 -389
  1358. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-0f16fc67.js +0 -159
  1359. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-f57ffa1a.js +0 -225
  1360. package/dist/bundled/v3/OrDateTimePicker.vue_vue_type_script_lang-7bfe5005.js +0 -463
  1361. package/dist/bundled/v3/OrEmptyState.vue_vue_type_script_lang-da7d6c42.js +0 -111
  1362. package/dist/bundled/v3/OrError-b43ebad8.js +0 -17
  1363. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-7c39e012.js +0 -13
  1364. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-cc6c135f.js +0 -51
  1365. package/dist/bundled/v3/OrErrorTag.vue_vue_type_script_lang-4828c387.js +0 -42
  1366. package/dist/bundled/v3/OrExpansionPanel.vue_vue_type_script_lang-7f9c6721.js +0 -110
  1367. package/dist/bundled/v3/OrFab.vue_vue_type_script_lang-2adeaed6.js +0 -61
  1368. package/dist/bundled/v3/OrFloating-b6672a37.js +0 -23
  1369. package/dist/bundled/v3/OrFloating.vue_vue_type_script_lang-8bf2b7ae.js +0 -168
  1370. package/dist/bundled/v3/OrHint-9592499e.js +0 -37
  1371. package/dist/bundled/v3/OrHint-c9114268.js +0 -17
  1372. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-78598c8e.js +0 -16
  1373. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-8e657168.js +0 -51
  1374. package/dist/bundled/v3/OrIcon-1cae8a64.js +0 -39
  1375. package/dist/bundled/v3/OrIcon-d878b768.js +0 -13
  1376. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-7e3a17fe.js +0 -115
  1377. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-a119a715.js +0 -94
  1378. package/dist/bundled/v3/OrIconButton-1581013c.js +0 -31
  1379. package/dist/bundled/v3/OrIconButton-e637158e.js +0 -40
  1380. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-40547ab0.js +0 -163
  1381. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-f6f801ff.js +0 -132
  1382. package/dist/bundled/v3/OrInlineInput.vue_vue_type_script_lang-f29483f4.js +0 -172
  1383. package/dist/bundled/v3/OrInlineInputBox-9d68ded1.js +0 -15
  1384. package/dist/bundled/v3/OrInlineInputBox.vue_vue_type_script_lang-73750005.js +0 -59
  1385. package/dist/bundled/v3/OrInlineTextEdit.vue_vue_type_script_lang-da6887aa.js +0 -243
  1386. package/dist/bundled/v3/OrInlineTextarea.vue_vue_type_script_lang-cc40af48.js +0 -150
  1387. package/dist/bundled/v3/OrInput-7d4b571a.js +0 -298
  1388. package/dist/bundled/v3/OrInput-fa782fc1.js +0 -108
  1389. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-f6d793d3.js +0 -148
  1390. package/dist/bundled/v3/OrInputBox-eb54d73d.js +0 -17
  1391. package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-5ee4ee45.js +0 -98
  1392. package/dist/bundled/v3/OrLabel-c6873e79.js +0 -23
  1393. package/dist/bundled/v3/OrLabel-e412c532.js +0 -20
  1394. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-27f8b12d.js +0 -37
  1395. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-96f94c4e.js +0 -77
  1396. package/dist/bundled/v3/OrLink.vue_vue_type_script_lang-9d3a32c7.js +0 -81
  1397. package/dist/bundled/v3/OrList.vue_vue_type_script_lang-c7ab26a0.js +0 -2759
  1398. package/dist/bundled/v3/OrListOfInputs.vue_vue_type_script_lang-62dbf1e7.js +0 -166
  1399. package/dist/bundled/v3/OrLoader-c4bbef2f.js +0 -64
  1400. package/dist/bundled/v3/OrLoader-ee97fef4.js +0 -42
  1401. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-1378ab8e.js +0 -54
  1402. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-5405040c.js +0 -92
  1403. package/dist/bundled/v3/OrMenu-f26e8e55.js +0 -29
  1404. package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-2446a69a.js +0 -92
  1405. package/dist/bundled/v3/OrMenuItem-4feaba6c.js +0 -28
  1406. package/dist/bundled/v3/OrMenuItem.vue_vue_type_script_lang-0ffaef05.js +0 -57
  1407. package/dist/bundled/v3/OrModal-868160ef.js +0 -51
  1408. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-80a7b906.js +0 -113
  1409. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-a1ed2ebb.js +0 -1391
  1410. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-07163a83.js +0 -82
  1411. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-fbb35355.js +0 -119
  1412. package/dist/bundled/v3/OrOverflowMenu.vue_vue_type_script_lang-0397533d.js +0 -135
  1413. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-b9bf5e50.js +0 -33
  1414. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-cb3aad0c.js +0 -58
  1415. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-13bc5b00.js +0 -390
  1416. package/dist/bundled/v3/OrPopover-c462ce77.js +0 -33
  1417. package/dist/bundled/v3/OrPopover.vue_vue_type_script_lang-54c7b11c.js +0 -268
  1418. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-3f9ec654.js +0 -146
  1419. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-a73c0acf.js +0 -209
  1420. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-2e666a56.js +0 -106
  1421. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-c956b54b.js +0 -85
  1422. package/dist/bundled/v3/OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js +0 -47
  1423. package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-067e56ab.js +0 -29858
  1424. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-014ad470.js +0 -80
  1425. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-16fbccc0.js +0 -121
  1426. package/dist/bundled/v3/OrSegmentedControl.vue_vue_type_script_lang-579406f5.js +0 -162
  1427. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-15285ce4.js +0 -389
  1428. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-26c0a70a.js +0 -815
  1429. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-7c55ac0a.js +0 -94
  1430. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-ce0b152c.js +0 -181
  1431. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js +0 -191
  1432. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js +0 -131
  1433. package/dist/bundled/v3/OrSlider.vue_vue_type_script_lang-d47ff040.js +0 -227
  1434. package/dist/bundled/v3/OrSortHeader.vue_vue_type_script_lang-75115125.js +0 -82
  1435. package/dist/bundled/v3/OrStepper.vue_vue_type_script_lang-7de7c1ad.js +0 -376
  1436. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-04829f64.js +0 -135
  1437. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-f55d33f4.js +0 -81
  1438. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-134ad9d1.js +0 -46
  1439. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-de7c7063.js +0 -61
  1440. package/dist/bundled/v3/OrTabHeaderItem.vue_vue_type_script_lang-e1f29563.js +0 -63
  1441. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-40e2a6e9.js +0 -66
  1442. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-61b79a5a.js +0 -175
  1443. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-8c526c11.js +0 -58
  1444. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-dc6a4011.js +0 -101
  1445. package/dist/bundled/v3/OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js +0 -17
  1446. package/dist/bundled/v3/OrTeleportVue3-012351e1.js +0 -33
  1447. package/dist/bundled/v3/OrText.vue_vue_type_script_lang-d9525d49.js +0 -63
  1448. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-8e3531cd.js +0 -116
  1449. package/dist/bundled/v3/OrTextbox.vue_vue_type_script_lang-b5c4a93a.js +0 -363
  1450. package/dist/bundled/v3/OrToastContainer-7c3c0b12.js +0 -40
  1451. package/dist/bundled/v3/OrToastContainer-f5525225.js +0 -41
  1452. package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-4bb702ce.js +0 -301
  1453. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-67cc86ed.js +0 -118
  1454. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-fa52d391.js +0 -87
  1455. package/dist/bundled/v3/OrTooltipContent-b0dcb862.js +0 -43
  1456. package/dist/bundled/v3/codemirrorView-77ce9187.js +0 -7136
  1457. package/dist/bundled/v3/color-1f348774.js +0 -60
  1458. package/dist/bundled/v3/components/or-avatar/index.js +0 -13
  1459. package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.stories3.d.ts +0 -42
  1460. package/dist/bundled/v3/components/or-avatar-v3/index.js +0 -6
  1461. package/dist/bundled/v3/components/or-bottom-sheet-v3/OrBottomSheet.stories3.d.ts +0 -12
  1462. package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +0 -7
  1463. package/dist/bundled/v3/components/or-button/index.js +0 -6
  1464. package/dist/bundled/v3/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1465. package/dist/bundled/v3/components/or-button-v2/index.d.ts +0 -3
  1466. package/dist/bundled/v3/components/or-button-v2/index.js +0 -18
  1467. package/dist/bundled/v3/components/or-button-v3/OrButton.stories3.d.ts +0 -22
  1468. package/dist/bundled/v3/components/or-button-v3/index.js +0 -5
  1469. package/dist/bundled/v3/components/or-card/index.js +0 -2
  1470. package/dist/bundled/v3/components/or-card-collection/index.js +0 -31
  1471. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -27
  1472. package/dist/bundled/v3/components/or-card-collection-v3/index.js +0 -36
  1473. package/dist/bundled/v3/components/or-card-v3/OrCard.stories3.d.ts +0 -12
  1474. package/dist/bundled/v3/components/or-card-v3/index.js +0 -3
  1475. package/dist/bundled/v3/components/or-carousel/index.js +0 -14
  1476. package/dist/bundled/v3/components/or-checkbox/index.js +0 -13
  1477. package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.stories3.d.ts +0 -12
  1478. package/dist/bundled/v3/components/or-checkbox-v3/index.js +0 -5
  1479. package/dist/bundled/v3/components/or-chips/index.js +0 -18
  1480. package/dist/bundled/v3/components/or-code/index.js +0 -31
  1481. package/dist/bundled/v3/components/or-collapse/index.js +0 -5
  1482. package/dist/bundled/v3/components/or-color-picker/index.js +0 -10
  1483. package/dist/bundled/v3/components/or-confirm/index.js +0 -35
  1484. package/dist/bundled/v3/components/or-confirm-v3/OrConfirm.stories3.d.ts +0 -42
  1485. package/dist/bundled/v3/components/or-confirm-v3/index.js +0 -32
  1486. package/dist/bundled/v3/components/or-date-time-picker/index.js +0 -28
  1487. package/dist/bundled/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -24
  1488. package/dist/bundled/v3/components/or-empty-state-v3/index.js +0 -2
  1489. package/dist/bundled/v3/components/or-error/index.js +0 -2
  1490. package/dist/bundled/v3/components/or-error-tag-v3/OrErrorTag.stories3.d.ts +0 -12
  1491. package/dist/bundled/v3/components/or-error-tag-v3/index.js +0 -5
  1492. package/dist/bundled/v3/components/or-error-v3/OrError.stories3.d.ts +0 -12
  1493. package/dist/bundled/v3/components/or-error-v3/index.js +0 -3
  1494. package/dist/bundled/v3/components/or-expansion-panel-v3/OrExpansionPanel.stories3.d.ts +0 -12
  1495. package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +0 -5
  1496. package/dist/bundled/v3/components/or-fab-v3/OrFab.stories3.d.ts +0 -12
  1497. package/dist/bundled/v3/components/or-fab-v3/index.js +0 -5
  1498. package/dist/bundled/v3/components/or-floating/index.js +0 -6
  1499. package/dist/bundled/v3/components/or-hint/index.js +0 -3
  1500. package/dist/bundled/v3/components/or-hint-v3/OrHint.stories3.d.ts +0 -12
  1501. package/dist/bundled/v3/components/or-hint-v3/index.js +0 -3
  1502. package/dist/bundled/v3/components/or-icon/index.js +0 -11
  1503. package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.stories3.d.ts +0 -17
  1504. package/dist/bundled/v3/components/or-icon-button-v3/index.js +0 -15
  1505. package/dist/bundled/v3/components/or-icon-v3/OrIcon.stories3.d.ts +0 -12
  1506. package/dist/bundled/v3/components/or-icon-v3/index.js +0 -3
  1507. package/dist/bundled/v3/components/or-inline-input-box-v3/OrInlineInputBox.stories3.d.ts +0 -12
  1508. package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +0 -3
  1509. package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.stories3.d.ts +0 -12
  1510. package/dist/bundled/v3/components/or-inline-input-v3/index.js +0 -22
  1511. package/dist/bundled/v3/components/or-inline-text-edit/index.js +0 -24
  1512. package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.stories3.d.ts +0 -12
  1513. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +0 -22
  1514. package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.stories3.d.ts +0 -12
  1515. package/dist/bundled/v3/components/or-input-box-v3/index.js +0 -3
  1516. package/dist/bundled/v3/components/or-input-v3/OrInput.stories3.d.ts +0 -27
  1517. package/dist/bundled/v3/components/or-input-v3/index.js +0 -24
  1518. package/dist/bundled/v3/components/or-inputs/index.js +0 -31
  1519. package/dist/bundled/v3/components/or-label/index.js +0 -3
  1520. package/dist/bundled/v3/components/or-label-v3/OrLabel.stories3.d.ts +0 -12
  1521. package/dist/bundled/v3/components/or-label-v3/index.js +0 -3
  1522. package/dist/bundled/v3/components/or-link-v3/OrLink.stories3.d.ts +0 -27
  1523. package/dist/bundled/v3/components/or-link-v3/index.js +0 -3
  1524. package/dist/bundled/v3/components/or-list/index.js +0 -26
  1525. package/dist/bundled/v3/components/or-list-of-inputs/index.js +0 -32
  1526. package/dist/bundled/v3/components/or-loader/index.js +0 -3
  1527. package/dist/bundled/v3/components/or-loader-v3/OrLoader.stories3.d.ts +0 -22
  1528. package/dist/bundled/v3/components/or-loader-v3/index.js +0 -3
  1529. package/dist/bundled/v3/components/or-menu-item-v3/OrMenuItem.stories3.d.ts +0 -17
  1530. package/dist/bundled/v3/components/or-menu-item-v3/index.js +0 -5
  1531. package/dist/bundled/v3/components/or-menu-v3/OrMenu.stories3.d.ts +0 -17
  1532. package/dist/bundled/v3/components/or-menu-v3/index.js +0 -12
  1533. package/dist/bundled/v3/components/or-modal/index.js +0 -21
  1534. package/dist/bundled/v3/components/or-modal-v3/OrModal.stories3.d.ts +0 -22
  1535. package/dist/bundled/v3/components/or-modal-v3/index.js +0 -17
  1536. package/dist/bundled/v3/components/or-notification/index.js +0 -19
  1537. package/dist/bundled/v3/components/or-notification-v3/OrNotification.stories3.d.ts +0 -12
  1538. package/dist/bundled/v3/components/or-notification-v3/index.js +0 -17
  1539. package/dist/bundled/v3/components/or-overflow-menu/index.js +0 -22
  1540. package/dist/bundled/v3/components/or-overlay/index.js +0 -2
  1541. package/dist/bundled/v3/components/or-overlay-v3/OrOverlay.stories3.d.ts +0 -12
  1542. package/dist/bundled/v3/components/or-overlay-v3/index.js +0 -6
  1543. package/dist/bundled/v3/components/or-popover-v3/OrPopover.stories3.d.ts +0 -12
  1544. package/dist/bundled/v3/components/or-popover-v3/index.js +0 -10
  1545. package/dist/bundled/v3/components/or-progress/index.js +0 -3
  1546. package/dist/bundled/v3/components/or-progress-v3/OrProgress.stories3.d.ts +0 -82
  1547. package/dist/bundled/v3/components/or-progress-v3/index.js +0 -6
  1548. package/dist/bundled/v3/components/or-radio/index.js +0 -3
  1549. package/dist/bundled/v3/components/or-radio-group/index.js +0 -2
  1550. package/dist/bundled/v3/components/or-radio-v3/OrRadio.stories3.d.ts +0 -12
  1551. package/dist/bundled/v3/components/or-radio-v3/index.js +0 -5
  1552. package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
  1553. package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -171
  1554. package/dist/bundled/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
  1555. package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +0 -27
  1556. package/dist/bundled/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -7
  1557. package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
  1558. package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
  1559. package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
  1560. package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -2
  1561. package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
  1562. package/dist/bundled/v3/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
  1563. package/dist/bundled/v3/components/or-search-v3/OrSearch.stories3.d.ts +0 -12
  1564. package/dist/bundled/v3/components/or-search-v3/index.js +0 -27
  1565. package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.stories3.d.ts +0 -12
  1566. package/dist/bundled/v3/components/or-segmented-control-v3/index.js +0 -3
  1567. package/dist/bundled/v3/components/or-select/index.js +0 -22
  1568. package/dist/bundled/v3/components/or-select-v3/OrSelect.stories3.d.ts +0 -42
  1569. package/dist/bundled/v3/components/or-select-v3/index.js +0 -34
  1570. package/dist/bundled/v3/components/or-sidebar/index.js +0 -4
  1571. package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +0 -37
  1572. package/dist/bundled/v3/components/or-sidebar-v3/index.js +0 -4
  1573. package/dist/bundled/v3/components/or-skeleton/index.js +0 -4
  1574. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeleton.stories3.d.ts +0 -35
  1575. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonCircle.stories3.d.ts +0 -22
  1576. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonRect.stories3.d.ts +0 -32
  1577. package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonText.stories3.d.ts +0 -32
  1578. package/dist/bundled/v3/components/or-skeleton-v3/index.js +0 -5
  1579. package/dist/bundled/v3/components/or-slider/index.js +0 -14
  1580. package/dist/bundled/v3/components/or-sort-header-v3/OrSortHeader.stories3.d.ts +0 -12
  1581. package/dist/bundled/v3/components/or-sort-header-v3/index.js +0 -5
  1582. package/dist/bundled/v3/components/or-stepper/index.js +0 -18
  1583. package/dist/bundled/v3/components/or-switch/index.js +0 -6
  1584. package/dist/bundled/v3/components/or-switch-v3/OrSwitch.stories3.d.ts +0 -12
  1585. package/dist/bundled/v3/components/or-switch-v3/index.js +0 -7
  1586. package/dist/bundled/v3/components/or-tab/index.js +0 -4
  1587. package/dist/bundled/v3/components/or-tab-header-item/index.js +0 -3
  1588. package/dist/bundled/v3/components/or-tab-v3/OrTab.stories3.d.ts +0 -12
  1589. package/dist/bundled/v3/components/or-tab-v3/index.js +0 -3
  1590. package/dist/bundled/v3/components/or-tabs/index.js +0 -5
  1591. package/dist/bundled/v3/components/or-tabs-v3/OrTabs.stories3.d.ts +0 -17
  1592. package/dist/bundled/v3/components/or-tabs-v3/index.js +0 -19
  1593. package/dist/bundled/v3/components/or-tag/index.js +0 -14
  1594. package/dist/bundled/v3/components/or-tag-v3/OrTag.stories3.d.ts +0 -22
  1595. package/dist/bundled/v3/components/or-tag-v3/index.js +0 -17
  1596. package/dist/bundled/v3/components/or-teleport/index.js +0 -2
  1597. package/dist/bundled/v3/components/or-teleport-v3/OrTeleport.stories3.d.ts +0 -12
  1598. package/dist/bundled/v3/components/or-teleport-v3/index.js +0 -2
  1599. package/dist/bundled/v3/components/or-text-v3/OrText.stories3.d.ts +0 -12
  1600. package/dist/bundled/v3/components/or-text-v3/index.js +0 -3
  1601. package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.stories3.d.ts +0 -12
  1602. package/dist/bundled/v3/components/or-textarea-v3/index.js +0 -10
  1603. package/dist/bundled/v3/components/or-textbox/index.js +0 -28
  1604. package/dist/bundled/v3/components/or-toast/composable/index.js +0 -3
  1605. package/dist/bundled/v3/components/or-toast/index.js +0 -23
  1606. package/dist/bundled/v3/components/or-toast-v3/OrToast.stories3.d.ts +0 -12
  1607. package/dist/bundled/v3/components/or-toast-v3/OrToastContainer.stories3.d.ts +0 -45
  1608. package/dist/bundled/v3/components/or-toast-v3/composable/index.js +0 -3
  1609. package/dist/bundled/v3/components/or-toast-v3/index.js +0 -22
  1610. package/dist/bundled/v3/components/or-tooltip/index.js +0 -10
  1611. package/dist/bundled/v3/components/or-tooltip-v3/OrTooltip.stories3.d.ts +0 -12
  1612. package/dist/bundled/v3/components/or-tooltip-v3/index.js +0 -12
  1613. package/dist/bundled/v3/constants-c5d1139f.js +0 -43
  1614. package/dist/bundled/v3/dom-d21d0a92.js +0 -59
  1615. package/dist/bundled/v3/dropdown-open-293d2de2.js +0 -28
  1616. package/dist/bundled/v3/index-01519e46.js +0 -15
  1617. package/dist/bundled/v3/index-44faad6a.js +0 -12186
  1618. package/dist/bundled/v3/index-780d00b0.js +0 -13307
  1619. package/dist/bundled/v3/px-to-rem-0b26b83e.js +0 -3
  1620. package/dist/bundled/v3/types-dcc78caa.js +0 -352
  1621. package/dist/bundled/v3/useClassAttribute-00888f78.js +0 -9
  1622. package/dist/bundled/v3/useElevation-c8d5d3ba.js +0 -24
  1623. package/dist/bundled/v3/useOverflow-6dce216b.js +0 -64
  1624. package/dist/bundled/v3/useResponsive-9d397e2a.js +0 -13
  1625. package/dist/bundled/v3/useToast-4d4329cd.js +0 -196
  1626. package/dist/bundled/v3/useToast-d5b3c109.js +0 -188
  1627. package/dist/bundled/v3/useToggle-09b6cb90.js +0 -22
  1628. package/dist/esm/v2/OrButton-c4f9955b.js +0 -81
  1629. package/dist/esm/v2/OrCardCollection-f6b07557.js +0 -226
  1630. package/dist/esm/v2/OrCode-d4400b42.js +0 -389
  1631. package/dist/esm/v2/OrConfirm-d7112dd3.js +0 -261
  1632. package/dist/esm/v2/OrDateTimePicker-349df9b2.js +0 -769
  1633. package/dist/esm/v2/OrIconButton-014e86a7.js +0 -70
  1634. package/dist/esm/v2/OrIconButton.vue_rollup-plugin-vue_script-9fb7b7ab.js +0 -288
  1635. package/dist/esm/v2/OrInlineTextEdit-b47cfc2d.js +0 -401
  1636. package/dist/esm/v2/OrList-d4781f7b.js +0 -299
  1637. package/dist/esm/v2/OrListOfInputs-50aa1ef1.js +0 -223
  1638. package/dist/esm/v2/OrModal-97e83549.js +0 -201
  1639. package/dist/esm/v2/OrNotification-a9231a83.js +0 -144
  1640. package/dist/esm/v2/OrOverflowMenu-10a4166a.js +0 -250
  1641. package/dist/esm/v2/OrPassword-1fa97156.js +0 -386
  1642. package/dist/esm/v2/OrRichTextEditor-d778e173.js +0 -607
  1643. package/dist/esm/v2/OrSearch-0589d17d.js +0 -129
  1644. package/dist/esm/v2/OrSearch.vue_rollup-plugin-vue_script-197d77fc.js +0 -820
  1645. package/dist/esm/v2/OrStepper-4f44e7b7.js +0 -647
  1646. package/dist/esm/v2/OrTextbox-2594c980.js +0 -531
  1647. package/dist/esm/v2/OrToastContainer-2fbd4358.js +0 -340
  1648. package/dist/esm/v2/codemirrorView-2e87c938.js +0 -184
  1649. package/dist/esm/v2/components/or-avatar-v3/OrAvatar.stories3.d.ts +0 -42
  1650. package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.stories3.d.ts +0 -12
  1651. package/dist/esm/v2/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1652. package/dist/esm/v2/components/or-button-v3/OrButton.stories3.d.ts +0 -22
  1653. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -27
  1654. package/dist/esm/v2/components/or-card-v3/OrCard.stories3.d.ts +0 -12
  1655. package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.stories3.d.ts +0 -12
  1656. package/dist/esm/v2/components/or-confirm-v3/OrConfirm.stories3.d.ts +0 -42
  1657. package/dist/esm/v2/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -24
  1658. package/dist/esm/v2/components/or-error-tag-v3/OrErrorTag.stories3.d.ts +0 -12
  1659. package/dist/esm/v2/components/or-error-v3/OrError.stories3.d.ts +0 -12
  1660. package/dist/esm/v2/components/or-expansion-panel-v3/OrExpansionPanel.stories3.d.ts +0 -12
  1661. package/dist/esm/v2/components/or-fab-v3/OrFab.stories3.d.ts +0 -12
  1662. package/dist/esm/v2/components/or-hint-v3/OrHint.stories3.d.ts +0 -12
  1663. package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.stories3.d.ts +0 -17
  1664. package/dist/esm/v2/components/or-icon-v3/OrIcon.stories3.d.ts +0 -12
  1665. package/dist/esm/v2/components/or-inline-input-box-v3/OrInlineInputBox.stories3.d.ts +0 -12
  1666. package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.stories3.d.ts +0 -12
  1667. package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.stories3.d.ts +0 -12
  1668. package/dist/esm/v2/components/or-input-box-v3/OrInputBox.stories3.d.ts +0 -12
  1669. package/dist/esm/v2/components/or-input-v3/OrInput.stories3.d.ts +0 -27
  1670. package/dist/esm/v2/components/or-label-v3/OrLabel.stories3.d.ts +0 -12
  1671. package/dist/esm/v2/components/or-link-v3/OrLink.stories3.d.ts +0 -27
  1672. package/dist/esm/v2/components/or-loader-v3/OrLoader.stories3.d.ts +0 -22
  1673. package/dist/esm/v2/components/or-menu-item-v3/OrMenuItem.stories3.d.ts +0 -17
  1674. package/dist/esm/v2/components/or-menu-v3/OrMenu.stories3.d.ts +0 -17
  1675. package/dist/esm/v2/components/or-modal-v3/OrModal.stories3.d.ts +0 -22
  1676. package/dist/esm/v2/components/or-notification-v3/OrNotification.stories3.d.ts +0 -12
  1677. package/dist/esm/v2/components/or-overlay-v3/OrOverlay.stories3.d.ts +0 -12
  1678. package/dist/esm/v2/components/or-popover-v3/OrPopover.stories3.d.ts +0 -12
  1679. package/dist/esm/v2/components/or-progress-v3/OrProgress.stories3.d.ts +0 -82
  1680. package/dist/esm/v2/components/or-radio-v3/OrRadio.stories3.d.ts +0 -12
  1681. package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
  1682. package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -171
  1683. package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
  1684. package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +0 -47
  1685. package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -7
  1686. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
  1687. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
  1688. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
  1689. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -5
  1690. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
  1691. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
  1692. package/dist/esm/v2/components/or-search-v3/OrSearch.stories3.d.ts +0 -12
  1693. package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.stories3.d.ts +0 -12
  1694. package/dist/esm/v2/components/or-select-v3/OrSelect.stories3.d.ts +0 -42
  1695. package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +0 -37
  1696. package/dist/esm/v2/components/or-skeleton-v3/OrSkeleton.stories3.d.ts +0 -35
  1697. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonCircle.stories3.d.ts +0 -22
  1698. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonRect.stories3.d.ts +0 -32
  1699. package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonText.stories3.d.ts +0 -32
  1700. package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.stories3.d.ts +0 -12
  1701. package/dist/esm/v2/components/or-switch-v3/OrSwitch.stories3.d.ts +0 -12
  1702. package/dist/esm/v2/components/or-tab-v3/OrTab.stories3.d.ts +0 -12
  1703. package/dist/esm/v2/components/or-tabs-v3/OrTabs.stories3.d.ts +0 -17
  1704. package/dist/esm/v2/components/or-tag-v3/OrTag.stories3.d.ts +0 -22
  1705. package/dist/esm/v2/components/or-teleport-v3/OrTeleport.stories3.d.ts +0 -12
  1706. package/dist/esm/v2/components/or-text-v3/OrText.stories3.d.ts +0 -12
  1707. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.stories3.d.ts +0 -12
  1708. package/dist/esm/v2/components/or-toast-v3/OrToast.stories3.d.ts +0 -12
  1709. package/dist/esm/v2/components/or-toast-v3/OrToastContainer.stories3.d.ts +0 -45
  1710. package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.stories3.d.ts +0 -12
  1711. package/dist/esm/v3/OrCardCollection-a5e326ef.js +0 -189
  1712. package/dist/esm/v3/OrCode-5ed69c23.js +0 -352
  1713. package/dist/esm/v3/OrConfirm-f39bd784.js +0 -214
  1714. package/dist/esm/v3/OrDateTimePicker-f2e08564.js +0 -678
  1715. package/dist/esm/v3/OrIconButton-8be9c89f.js +0 -341
  1716. package/dist/esm/v3/OrInlineTextEdit-1aa477b5.js +0 -338
  1717. package/dist/esm/v3/OrList-b740d13e.js +0 -257
  1718. package/dist/esm/v3/OrListOfInputs-7a67440f.js +0 -163
  1719. package/dist/esm/v3/OrModal-8b074b0c.js +0 -163
  1720. package/dist/esm/v3/OrNotification-e85a4956.js +0 -114
  1721. package/dist/esm/v3/OrOverflowMenu-e82cbcbe.js +0 -185
  1722. package/dist/esm/v3/OrRichTextEditor-91a94381.js +0 -576
  1723. package/dist/esm/v3/OrSearch-7cb2c91c.js +0 -1075
  1724. package/dist/esm/v3/OrStepper-f19b4eac.js +0 -426
  1725. package/dist/esm/v3/OrTextbox-2f33e9c3.js +0 -493
  1726. package/dist/esm/v3/OrToastContainer-40c4c1c8.js +0 -280
  1727. package/dist/esm/v3/codemirrorView-2e87c938.js +0 -184
  1728. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.stories3.d.ts +0 -42
  1729. package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.stories3.d.ts +0 -12
  1730. package/dist/esm/v3/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1731. package/dist/esm/v3/components/or-button-v3/OrButton.stories3.d.ts +0 -22
  1732. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -27
  1733. package/dist/esm/v3/components/or-card-v3/OrCard.stories3.d.ts +0 -12
  1734. package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.stories3.d.ts +0 -12
  1735. package/dist/esm/v3/components/or-confirm-v3/OrConfirm.stories3.d.ts +0 -42
  1736. package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.stories3.d.ts +0 -24
  1737. package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.stories3.d.ts +0 -12
  1738. package/dist/esm/v3/components/or-error-v3/OrError.stories3.d.ts +0 -12
  1739. package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.stories3.d.ts +0 -12
  1740. package/dist/esm/v3/components/or-fab-v3/OrFab.stories3.d.ts +0 -12
  1741. package/dist/esm/v3/components/or-hint-v3/OrHint.stories3.d.ts +0 -12
  1742. package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.stories3.d.ts +0 -17
  1743. package/dist/esm/v3/components/or-icon-v3/OrIcon.stories3.d.ts +0 -12
  1744. package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.stories3.d.ts +0 -12
  1745. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.stories3.d.ts +0 -12
  1746. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.stories3.d.ts +0 -12
  1747. package/dist/esm/v3/components/or-input-box-v3/OrInputBox.stories3.d.ts +0 -12
  1748. package/dist/esm/v3/components/or-input-v3/OrInput.stories3.d.ts +0 -27
  1749. package/dist/esm/v3/components/or-label-v3/OrLabel.stories3.d.ts +0 -12
  1750. package/dist/esm/v3/components/or-link-v3/OrLink.stories3.d.ts +0 -27
  1751. package/dist/esm/v3/components/or-loader-v3/OrLoader.stories3.d.ts +0 -22
  1752. package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.stories3.d.ts +0 -17
  1753. package/dist/esm/v3/components/or-menu-v3/OrMenu.stories3.d.ts +0 -17
  1754. package/dist/esm/v3/components/or-modal-v3/OrModal.stories3.d.ts +0 -22
  1755. package/dist/esm/v3/components/or-notification-v3/OrNotification.stories3.d.ts +0 -12
  1756. package/dist/esm/v3/components/or-overlay-v3/OrOverlay.stories3.d.ts +0 -12
  1757. package/dist/esm/v3/components/or-popover-v3/OrPopover.stories3.d.ts +0 -12
  1758. package/dist/esm/v3/components/or-progress-v3/OrProgress.stories3.d.ts +0 -82
  1759. package/dist/esm/v3/components/or-radio-v3/OrRadio.stories3.d.ts +0 -12
  1760. package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +0 -12
  1761. package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -171
  1762. package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
  1763. package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +0 -46
  1764. package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -7
  1765. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
  1766. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
  1767. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
  1768. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -5
  1769. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
  1770. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
  1771. package/dist/esm/v3/components/or-search-v3/OrSearch.stories3.d.ts +0 -12
  1772. package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.stories3.d.ts +0 -12
  1773. package/dist/esm/v3/components/or-select-v3/OrSelect.stories3.d.ts +0 -42
  1774. package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +0 -37
  1775. package/dist/esm/v3/components/or-skeleton-v3/OrSkeleton.stories3.d.ts +0 -35
  1776. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonCircle.stories3.d.ts +0 -22
  1777. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonRect.stories3.d.ts +0 -32
  1778. package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonText.stories3.d.ts +0 -32
  1779. package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.stories3.d.ts +0 -12
  1780. package/dist/esm/v3/components/or-switch-v3/OrSwitch.stories3.d.ts +0 -12
  1781. package/dist/esm/v3/components/or-tab-v3/OrTab.stories3.d.ts +0 -12
  1782. package/dist/esm/v3/components/or-tabs-v3/OrTabs.stories3.d.ts +0 -17
  1783. package/dist/esm/v3/components/or-tag-v3/OrTag.stories3.d.ts +0 -22
  1784. package/dist/esm/v3/components/or-teleport-v3/OrTeleport.stories3.d.ts +0 -12
  1785. package/dist/esm/v3/components/or-text-v3/OrText.stories3.d.ts +0 -12
  1786. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.stories3.d.ts +0 -12
  1787. package/dist/esm/v3/components/or-toast-v3/OrToast.stories3.d.ts +0 -12
  1788. package/dist/esm/v3/components/or-toast-v3/OrToastContainer.stories3.d.ts +0 -45
  1789. package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.stories3.d.ts +0 -12
  1790. package/src/components/or-button-v2/OrIconButton.stories.ts +0 -124
  1791. package/src/components/or-button-v2/OrIconButton.vue +0 -250
  1792. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +0 -7
  1793. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +0 -79
  1794. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -525
  1795. package/src/components/or-rich-text-editor-v3/index.ts +0 -1
  1796. package/src/components/or-rich-text-editor-v3/styles.ts +0 -72
  1797. package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.ts +0 -40
  1798. package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.ts +0 -252
  1799. package/src/components/or-rich-text-editor-v3/utils/codemirror/index.ts +0 -1
  1800. package/src/components/or-rich-text-editor-v3/utils/codemirror/types.ts +0 -22
  1801. package/src/components/or-rich-text-editor-v3/utils/markdown.ts +0 -110
  1802. /package/dist/bundled/v2/components/{or-avatar → OrAvatar}/OrAvatar.vue.d.ts +0 -0
  1803. /package/dist/bundled/v2/components/{or-avatar → OrAvatar}/constants.d.ts +0 -0
  1804. /package/dist/bundled/v2/components/{or-avatar → OrAvatar}/index.d.ts +0 -0
  1805. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/OrAvatar.vue.d.ts +0 -0
  1806. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/index.d.ts +0 -0
  1807. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/props.d.ts +0 -0
  1808. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/styles.d.ts +0 -0
  1809. /package/dist/bundled/v2/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/OrBottomSheet.vue.d.ts +0 -0
  1810. /package/dist/bundled/v2/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/index.d.ts +0 -0
  1811. /package/dist/bundled/v2/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/styles.d.ts +0 -0
  1812. /package/dist/bundled/v2/components/{or-button → OrButton}/OrButton.vue.d.ts +0 -0
  1813. /package/dist/bundled/v2/components/{or-button → OrButton}/constants.d.ts +0 -0
  1814. /package/dist/bundled/v2/components/{or-button → OrButton}/index.d.ts +0 -0
  1815. /package/dist/bundled/v2/components/{or-button-v2 → OrButtonV2}/OrButton.vue.d.ts +0 -0
  1816. /package/dist/bundled/v2/components/{or-button-v2 → OrButtonV2}/OrTooltipWrapper.vue.d.ts +0 -0
  1817. /package/dist/bundled/v2/components/{or-button-v2 → OrButtonV2}/constants.d.ts +0 -0
  1818. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/OrButton.vue.d.ts +0 -0
  1819. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/index.d.ts +0 -0
  1820. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/props.d.ts +0 -0
  1821. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/styles.d.ts +0 -0
  1822. /package/dist/bundled/v2/components/{or-card → OrCard}/OrCard.vue.d.ts +0 -0
  1823. /package/dist/bundled/v2/components/{or-card → OrCard}/index.d.ts +0 -0
  1824. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/OrCardCollection.vue.d.ts +0 -0
  1825. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/constants.d.ts +0 -0
  1826. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/index.d.ts +0 -0
  1827. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/types.d.ts +0 -0
  1828. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/OrCardCollection.vue.d.ts +0 -0
  1829. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/OrCardCollectionView.vue2.vue.d.ts +0 -0
  1830. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/index.d.ts +0 -0
  1831. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/props.d.ts +0 -0
  1832. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/styles.d.ts +0 -0
  1833. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/types.d.ts +0 -0
  1834. /package/dist/bundled/{v3/components/or-card-collection-v3 → v2/components/OrCardCollectionView.vue2V3}/props.d.ts +0 -0
  1835. /package/dist/bundled/{v3/components/or-card-collection-v3 → v2/components/OrCardCollectionView.vue2V3}/styles.d.ts +0 -0
  1836. /package/dist/bundled/{v3/components/or-card-collection-v3 → v2/components/OrCardCollectionView.vue2V3}/types.d.ts +0 -0
  1837. /package/dist/bundled/v2/components/{or-card-v3 → OrCardV3}/OrCard.vue.d.ts +0 -0
  1838. /package/dist/bundled/v2/components/{or-card-v3 → OrCardV3}/index.d.ts +0 -0
  1839. /package/dist/bundled/v2/components/{or-card-v3 → OrCardV3}/styles.d.ts +0 -0
  1840. /package/dist/bundled/v2/components/{or-carousel → OrCarousel}/OrCarousel.vue.d.ts +0 -0
  1841. /package/dist/bundled/v2/components/{or-carousel → OrCarousel}/OrCarouselItem.vue.d.ts +0 -0
  1842. /package/dist/bundled/v2/components/{or-carousel → OrCarousel}/constants.d.ts +0 -0
  1843. /package/dist/bundled/v2/components/{or-carousel → OrCarousel}/index.d.ts +0 -0
  1844. /package/dist/bundled/{v3/components/or-carousel → v2/components/OrCarouselItem}/OrCarouselItem.vue.d.ts +0 -0
  1845. /package/dist/bundled/{v3/components/or-carousel → v2/components/OrCarouselItem}/constants.d.ts +0 -0
  1846. /package/dist/bundled/v2/components/{or-checkbox → OrCheckbox}/OrCheckbox.vue.d.ts +0 -0
  1847. /package/dist/bundled/v2/components/{or-checkbox → OrCheckbox}/index.d.ts +0 -0
  1848. /package/dist/bundled/v2/components/{or-checkbox-v3 → OrCheckboxV3}/OrCheckbox.vue.d.ts +0 -0
  1849. /package/dist/bundled/v2/components/{or-checkbox-v3 → OrCheckboxV3}/index.d.ts +0 -0
  1850. /package/dist/bundled/v2/components/{or-checkbox-v3 → OrCheckboxV3}/styles.d.ts +0 -0
  1851. /package/dist/bundled/v2/components/{or-chips → OrChip}/OrChip.vue.d.ts +0 -0
  1852. /package/dist/bundled/v2/components/{or-chips → OrChip}/constants.d.ts +0 -0
  1853. /package/dist/bundled/{v3/components/or-chips → v2/components/OrChips}/OrChip.vue.d.ts +0 -0
  1854. /package/dist/bundled/v2/components/{or-chips → OrChips}/OrChips.vue.d.ts +0 -0
  1855. /package/dist/bundled/v2/components/{or-chips → OrChips}/OrChipsInput.vue.d.ts +0 -0
  1856. /package/dist/bundled/{v3/components/or-chips → v2/components/OrChips}/constants.d.ts +0 -0
  1857. /package/dist/bundled/v2/components/{or-chips → OrChips}/index.d.ts +0 -0
  1858. /package/dist/bundled/{v3/components/or-chips → v2/components/OrChipsInput}/OrChipsInput.vue.d.ts +0 -0
  1859. /package/dist/bundled/v2/components/{or-code → OrCode}/OrCode.vue.d.ts +0 -0
  1860. /package/dist/bundled/v2/components/{or-code → OrCode}/constants.d.ts +0 -0
  1861. /package/dist/bundled/v2/components/{or-code → OrCode}/index.d.ts +0 -0
  1862. /package/dist/bundled/v2/components/{or-code → OrCode}/lang.d.ts +0 -0
  1863. /package/dist/bundled/v2/components/{or-collapse → OrCollapse}/OrCollapse.vue.d.ts +0 -0
  1864. /package/dist/bundled/v2/components/{or-collapse → OrCollapse}/index.d.ts +0 -0
  1865. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/OrColorPicker.vue.d.ts +0 -0
  1866. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/constants.d.ts +0 -0
  1867. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/index.d.ts +0 -0
  1868. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/types.d.ts +0 -0
  1869. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/utils/defultPalette.d.ts +0 -0
  1870. /package/dist/bundled/v2/components/{or-confirm → OrConfirm}/OrConfirm.vue.d.ts +0 -0
  1871. /package/dist/bundled/v2/components/{or-confirm → OrConfirm}/index.d.ts +0 -0
  1872. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/OrConfirm.vue.d.ts +0 -0
  1873. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/index.d.ts +0 -0
  1874. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/props.d.ts +0 -0
  1875. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/styles.d.ts +0 -0
  1876. /package/dist/bundled/v2/components/{or-date-time-picker → OrDateTimePicker}/OrDateTimePicker.vue.d.ts +0 -0
  1877. /package/dist/bundled/v2/components/{or-date-time-picker → OrDateTimePicker}/OrDateTimePickerCalendarItem.vue.d.ts +0 -0
  1878. /package/dist/bundled/v2/components/{or-date-time-picker → OrDateTimePicker}/constants.d.ts +0 -0
  1879. /package/dist/bundled/v2/components/{or-date-time-picker → OrDateTimePicker}/index.d.ts +0 -0
  1880. /package/dist/bundled/{v3/components/or-date-time-picker → v2/components/OrDateTimePickerCalendarItem}/OrDateTimePickerCalendarItem.vue.d.ts +0 -0
  1881. /package/dist/bundled/{v3/components/or-date-time-picker → v2/components/OrDateTimePickerCalendarItem}/constants.d.ts +0 -0
  1882. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/OrEmptyState.vue.d.ts +0 -0
  1883. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/index.d.ts +0 -0
  1884. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/props.d.ts +0 -0
  1885. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/styles.d.ts +0 -0
  1886. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/types.d.ts +0 -0
  1887. /package/dist/bundled/v2/components/{or-error → OrError}/OrError.vue.d.ts +0 -0
  1888. /package/dist/bundled/v2/components/{or-error → OrError}/index.d.ts +0 -0
  1889. /package/dist/bundled/v2/components/{or-error-tag-v3 → OrErrorTagV3}/OrErrorTag.vue.d.ts +0 -0
  1890. /package/dist/bundled/v2/components/{or-error-tag-v3 → OrErrorTagV3}/index.d.ts +0 -0
  1891. /package/dist/bundled/v2/components/{or-error-tag-v3 → OrErrorTagV3}/styles.d.ts +0 -0
  1892. /package/dist/bundled/v2/components/{or-error-v3 → OrErrorV3}/OrError.vue.d.ts +0 -0
  1893. /package/dist/bundled/v2/components/{or-error-v3 → OrErrorV3}/index.d.ts +0 -0
  1894. /package/dist/bundled/v2/components/{or-error-v3 → OrErrorV3}/styles.d.ts +0 -0
  1895. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/OrExpansionPanel.vue.d.ts +0 -0
  1896. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/index.d.ts +0 -0
  1897. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/props.d.ts +0 -0
  1898. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/styles.d.ts +0 -0
  1899. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/OrFab.vue.d.ts +0 -0
  1900. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/index.d.ts +0 -0
  1901. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/props.d.ts +0 -0
  1902. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/styles.d.ts +0 -0
  1903. /package/dist/bundled/v2/components/{or-floating → OrFloating}/OrFloating.vue.d.ts +0 -0
  1904. /package/dist/bundled/v2/components/{or-floating → OrFloating}/constants.d.ts +0 -0
  1905. /package/dist/bundled/v2/components/{or-floating → OrFloating}/index.d.ts +0 -0
  1906. /package/dist/bundled/v2/components/{or-hint → OrHint}/OrHint.vue.d.ts +0 -0
  1907. /package/dist/bundled/v2/components/{or-hint → OrHint}/index.d.ts +0 -0
  1908. /package/dist/bundled/v2/components/{or-hint-v3 → OrHintV3}/OrHint.vue.d.ts +0 -0
  1909. /package/dist/bundled/v2/components/{or-hint-v3 → OrHintV3}/index.d.ts +0 -0
  1910. /package/dist/bundled/v2/components/{or-hint-v3 → OrHintV3}/styles.d.ts +0 -0
  1911. /package/dist/bundled/v2/components/{or-icon → OrIcon}/OrIcon.vue.d.ts +0 -0
  1912. /package/dist/bundled/v2/components/{or-icon → OrIcon}/constants.d.ts +0 -0
  1913. /package/dist/bundled/v2/components/{or-icon → OrIcon}/index.d.ts +0 -0
  1914. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/OrIconButton.vue.d.ts +0 -0
  1915. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/index.d.ts +0 -0
  1916. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/props.d.ts +0 -0
  1917. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/styles.d.ts +0 -0
  1918. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/OrIcon.vue.d.ts +0 -0
  1919. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/index.d.ts +0 -0
  1920. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/props.d.ts +0 -0
  1921. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/styles.d.ts +0 -0
  1922. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/OrInlineInputBox.vue.d.ts +0 -0
  1923. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/index.d.ts +0 -0
  1924. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/props.d.ts +0 -0
  1925. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/styles.d.ts +0 -0
  1926. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/OrInlineInput.vue.d.ts +0 -0
  1927. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/index.d.ts +0 -0
  1928. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/props.d.ts +0 -0
  1929. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/styles.d.ts +0 -0
  1930. /package/dist/bundled/v2/components/{or-inline-text-edit → OrInlineTextEdit}/OrInlineTextEdit.vue.d.ts +0 -0
  1931. /package/dist/bundled/v2/components/{or-inline-text-edit → OrInlineTextEdit}/constants.d.ts +0 -0
  1932. /package/dist/bundled/v2/components/{or-inline-text-edit → OrInlineTextEdit}/index.d.ts +0 -0
  1933. /package/dist/bundled/v2/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/OrInlineTextarea.vue.d.ts +0 -0
  1934. /package/dist/bundled/v2/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/index.d.ts +0 -0
  1935. /package/dist/bundled/v2/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/styles.d.ts +0 -0
  1936. /package/dist/bundled/v2/components/{or-inputs → OrInput}/OrInput.vue.d.ts +0 -0
  1937. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/OrInputBox.vue.d.ts +0 -0
  1938. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/index.d.ts +0 -0
  1939. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/props.d.ts +0 -0
  1940. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/styles.d.ts +0 -0
  1941. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/OrInput.vue.d.ts +0 -0
  1942. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/index.d.ts +0 -0
  1943. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/props.d.ts +0 -0
  1944. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/styles.d.ts +0 -0
  1945. /package/dist/bundled/{v3/components/or-inputs → v2/components/OrInputs}/OrInput.vue.d.ts +0 -0
  1946. /package/dist/bundled/v2/components/{or-inputs → OrInputs}/OrNumberInput.vue.d.ts +0 -0
  1947. /package/dist/bundled/v2/components/{or-inputs → OrInputs}/OrPassword.vue.d.ts +0 -0
  1948. /package/dist/bundled/v2/components/{or-inputs → OrInputs}/OrSearch.vue.d.ts +0 -0
  1949. /package/dist/bundled/v2/components/{or-inputs → OrInputs}/OrTextarea.vue.d.ts +0 -0
  1950. /package/dist/bundled/v2/components/{or-inputs → OrInputs}/index.d.ts +0 -0
  1951. /package/dist/bundled/v2/components/{or-label → OrLabel}/OrLabel.vue.d.ts +0 -0
  1952. /package/dist/bundled/v2/components/{or-label → OrLabel}/index.d.ts +0 -0
  1953. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/OrLabel.vue.d.ts +0 -0
  1954. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/index.d.ts +0 -0
  1955. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/props.d.ts +0 -0
  1956. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/styles.d.ts +0 -0
  1957. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/OrLink.vue.d.ts +0 -0
  1958. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/index.d.ts +0 -0
  1959. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/props.d.ts +0 -0
  1960. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/styles.d.ts +0 -0
  1961. /package/dist/bundled/v2/components/{or-list → OrList}/OrList.vue.d.ts +0 -0
  1962. /package/dist/bundled/v2/components/{or-list → OrList}/index.d.ts +0 -0
  1963. /package/dist/bundled/v2/components/{or-list-of-inputs → OrListOfInputs}/OrListOfInputs.vue.d.ts +0 -0
  1964. /package/dist/bundled/v2/components/{or-list-of-inputs → OrListOfInputs}/index.d.ts +0 -0
  1965. /package/dist/bundled/v2/components/{or-loader → OrLoader}/OrLoader.vue.d.ts +0 -0
  1966. /package/dist/bundled/v2/components/{or-loader → OrLoader}/constants.d.ts +0 -0
  1967. /package/dist/bundled/v2/components/{or-loader → OrLoader}/index.d.ts +0 -0
  1968. /package/dist/bundled/v2/components/{or-loader → OrLoader}/types.d.ts +0 -0
  1969. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/OrLoader.vue.d.ts +0 -0
  1970. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/index.d.ts +0 -0
  1971. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/props.d.ts +0 -0
  1972. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/styles.d.ts +0 -0
  1973. /package/dist/bundled/v2/components/{or-menu-item-v3 → OrMenuItemV3}/OrMenuItem.vue.d.ts +0 -0
  1974. /package/dist/bundled/v2/components/{or-menu-item-v3 → OrMenuItemV3}/index.d.ts +0 -0
  1975. /package/dist/bundled/v2/components/{or-menu-item-v3 → OrMenuItemV3}/styles.d.ts +0 -0
  1976. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/OrMenu.vue.d.ts +0 -0
  1977. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/index.d.ts +0 -0
  1978. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/props.d.ts +0 -0
  1979. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/styles.d.ts +0 -0
  1980. /package/dist/bundled/v2/components/{or-modal → OrModal}/OrModal.vue.d.ts +0 -0
  1981. /package/dist/bundled/v2/components/{or-modal → OrModal}/constants.d.ts +0 -0
  1982. /package/dist/bundled/v2/components/{or-modal → OrModal}/index.d.ts +0 -0
  1983. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/OrModal.vue.d.ts +0 -0
  1984. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/index.d.ts +0 -0
  1985. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/props.d.ts +0 -0
  1986. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/styles.d.ts +0 -0
  1987. /package/dist/bundled/v2/components/{or-notification → OrNotification}/OrNotification.vue.d.ts +0 -0
  1988. /package/dist/bundled/v2/components/{or-notification → OrNotification}/constants.d.ts +0 -0
  1989. /package/dist/bundled/v2/components/{or-notification → OrNotification}/index.d.ts +0 -0
  1990. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/OrNotification.vue.d.ts +0 -0
  1991. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/index.d.ts +0 -0
  1992. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/props.d.ts +0 -0
  1993. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/styles.d.ts +0 -0
  1994. /package/dist/bundled/{v3/components/or-inputs → v2/components/OrNumberInput}/OrNumberInput.vue.d.ts +0 -0
  1995. /package/dist/bundled/v2/components/{or-overflow-menu → OrOverflowMenu}/OrOverflowMenu.vue.d.ts +0 -0
  1996. /package/dist/bundled/v2/components/{or-overflow-menu → OrOverflowMenu}/OrOverflowMenuItem.vue.d.ts +0 -0
  1997. /package/dist/bundled/v2/components/{or-overflow-menu → OrOverflowMenu}/index.d.ts +0 -0
  1998. /package/dist/bundled/v2/components/{or-overflow-menu → OrOverflowMenu}/types.d.ts +0 -0
  1999. /package/dist/bundled/{v3/components/or-overflow-menu → v2/components/OrOverflowMenuItem}/OrOverflowMenuItem.vue.d.ts +0 -0
  2000. /package/dist/bundled/{v3/components/or-overflow-menu → v2/components/OrOverflowMenuItem}/types.d.ts +0 -0
  2001. /package/dist/bundled/v2/components/{or-overlay → OrOverlay}/OrOverlay.vue.d.ts +0 -0
  2002. /package/dist/bundled/v2/components/{or-overlay → OrOverlay}/index.d.ts +0 -0
  2003. /package/dist/bundled/v2/components/{or-overlay-v3 → OrOverlayV3}/OrOverlay.vue.d.ts +0 -0
  2004. /package/dist/bundled/v2/components/{or-overlay-v3 → OrOverlayV3}/index.d.ts +0 -0
  2005. /package/dist/bundled/v2/components/{or-overlay-v3 → OrOverlayV3}/styles.d.ts +0 -0
  2006. /package/dist/bundled/{v3/components/or-inputs → v2/components/OrPassword}/OrPassword.vue.d.ts +0 -0
  2007. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/OrPopover.vue.d.ts +0 -0
  2008. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/index.d.ts +0 -0
  2009. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/props.d.ts +0 -0
  2010. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/styles.d.ts +0 -0
  2011. /package/dist/bundled/v2/components/{or-progress → OrProgress}/OrProgress.vue.d.ts +0 -0
  2012. /package/dist/bundled/v2/components/{or-progress → OrProgress}/constants.d.ts +0 -0
  2013. /package/dist/bundled/v2/components/{or-progress → OrProgress}/index.d.ts +0 -0
  2014. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/OrProgress.vue.d.ts +0 -0
  2015. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/index.d.ts +0 -0
  2016. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/props.d.ts +0 -0
  2017. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/styles.d.ts +0 -0
  2018. /package/dist/bundled/v2/components/{or-radio → OrRadio}/OrRadio.vue.d.ts +0 -0
  2019. /package/dist/bundled/v2/components/{or-radio → OrRadio}/index.d.ts +0 -0
  2020. /package/dist/bundled/v2/components/{or-radio-group → OrRadioGroup}/OrRadioGroup.vue.d.ts +0 -0
  2021. /package/dist/bundled/v2/components/{or-radio-group → OrRadioGroup}/index.d.ts +0 -0
  2022. /package/dist/bundled/v2/components/{or-radio-v3 → OrRadioV3}/OrRadio.vue.d.ts +0 -0
  2023. /package/dist/bundled/v2/components/{or-radio-v3 → OrRadioV3}/index.d.ts +0 -0
  2024. /package/dist/bundled/v2/components/{or-radio-v3 → OrRadioV3}/styles.d.ts +0 -0
  2025. /package/dist/bundled/{v3/components/or-inputs → v2/components/OrSearch}/OrSearch.vue.d.ts +0 -0
  2026. /package/dist/bundled/v2/components/{or-search-v3 → OrSearchV3}/OrSearch.vue.d.ts +0 -0
  2027. /package/dist/bundled/v2/components/{or-search-v3 → OrSearchV3}/index.d.ts +0 -0
  2028. /package/dist/bundled/v2/components/{or-search-v3 → OrSearchV3}/props.d.ts +0 -0
  2029. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/OrSegmentedControl.vue.d.ts +0 -0
  2030. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +0 -0
  2031. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/components/or-segmented-control-item/styles.d.ts +0 -0
  2032. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/index.d.ts +0 -0
  2033. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/props.d.ts +0 -0
  2034. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/styles.d.ts +0 -0
  2035. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/types.d.ts +0 -0
  2036. /package/dist/bundled/v2/components/{or-select → OrSelect}/OrSelect.vue.d.ts +0 -0
  2037. /package/dist/bundled/v2/components/{or-select → OrSelect}/OrSelectContent.vue.d.ts +0 -0
  2038. /package/dist/bundled/v2/components/{or-select → OrSelect}/OrSelectContentEmpty.vue.d.ts +0 -0
  2039. /package/dist/bundled/v2/components/{or-select → OrSelect}/OrSelectContentOptions.vue.d.ts +0 -0
  2040. /package/dist/bundled/v2/components/{or-select → OrSelect}/OrSelectInput.vue.d.ts +0 -0
  2041. /package/dist/bundled/v2/components/{or-select → OrSelect}/OrSelectInputValue.vue.d.ts +0 -0
  2042. /package/dist/bundled/v2/components/{or-select → OrSelect}/OrSelectMain.vue.d.ts +0 -0
  2043. /package/dist/bundled/v2/components/{or-select → OrSelect}/OrSelectOption.vue.d.ts +0 -0
  2044. /package/dist/bundled/v2/components/{or-select → OrSelect}/OrSelectSearchOptions.vue.d.ts +0 -0
  2045. /package/dist/bundled/v2/components/{or-select → OrSelect}/constants.d.ts +0 -0
  2046. /package/dist/bundled/v2/components/{or-select → OrSelect}/index.d.ts +0 -0
  2047. /package/dist/bundled/v2/components/{or-select → OrSelect}/stories.helpers.d.ts +0 -0
  2048. /package/dist/bundled/v2/components/{or-select → OrSelect}/types.d.ts +0 -0
  2049. /package/dist/bundled/{v3/components/or-select → v2/components/OrSelectContent}/OrSelectContent.vue.d.ts +0 -0
  2050. /package/dist/bundled/{v3/components/or-select → v2/components/OrSelectContent}/constants.d.ts +0 -0
  2051. /package/dist/bundled/{v3/components/or-select → v2/components/OrSelectContent}/stories.helpers.d.ts +0 -0
  2052. /package/dist/bundled/{v3/components/or-select → v2/components/OrSelectContent}/types.d.ts +0 -0
  2053. /package/dist/bundled/{v3/components/or-select → v2/components/OrSelectContentEmpty}/OrSelectContentEmpty.vue.d.ts +0 -0
  2054. /package/dist/bundled/{v3/components/or-select → v2/components/OrSelectContentOptions}/OrSelectContentOptions.vue.d.ts +0 -0
  2055. /package/dist/bundled/{v3/components/or-select → v2/components/OrSelectInput}/OrSelectInput.vue.d.ts +0 -0
  2056. /package/dist/bundled/{v3/components/or-select → v2/components/OrSelectInputValue}/OrSelectInputValue.vue.d.ts +0 -0
  2057. /package/dist/bundled/{v3/components/or-select → v2/components/OrSelectMain}/OrSelectMain.vue.d.ts +0 -0
  2058. /package/dist/bundled/{v3/components/or-select → v2/components/OrSelectOption}/OrSelectOption.vue.d.ts +0 -0
  2059. /package/dist/bundled/{v3/components/or-select → v2/components/OrSelectSearchOptions}/OrSelectSearchOptions.vue.d.ts +0 -0
  2060. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/OrSelect.vue.d.ts +0 -0
  2061. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/index.d.ts +0 -0
  2062. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/props.d.ts +0 -0
  2063. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/styles.d.ts +0 -0
  2064. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/types.d.ts +0 -0
  2065. /package/dist/bundled/v2/components/{or-sidebar → OrSidebar}/OrSidebar.vue.d.ts +0 -0
  2066. /package/dist/bundled/v2/components/{or-sidebar → OrSidebar}/constants.d.ts +0 -0
  2067. /package/dist/bundled/v2/components/{or-sidebar → OrSidebar}/index.d.ts +0 -0
  2068. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/OrSidebar.vue.d.ts +0 -0
  2069. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/index.d.ts +0 -0
  2070. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/props.d.ts +0 -0
  2071. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/styles.d.ts +0 -0
  2072. /package/dist/bundled/v2/components/{or-skeleton → OrSkeleton}/OrSkeletonCircle.vue.d.ts +0 -0
  2073. /package/dist/bundled/v2/components/{or-skeleton → OrSkeleton}/OrSkeletonRect.vue.d.ts +0 -0
  2074. /package/dist/bundled/v2/components/{or-skeleton → OrSkeleton}/OrSkeletonText.vue.d.ts +0 -0
  2075. /package/dist/bundled/v2/components/{or-skeleton → OrSkeleton}/constants.d.ts +0 -0
  2076. /package/dist/bundled/v2/components/{or-skeleton → OrSkeleton}/index.d.ts +0 -0
  2077. /package/dist/bundled/{v3/components/or-skeleton → v2/components/OrSkeletonCircle}/OrSkeletonCircle.vue.d.ts +0 -0
  2078. /package/dist/bundled/{v3/components/or-skeleton → v2/components/OrSkeletonCircle}/constants.d.ts +0 -0
  2079. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonCircleV3}/styles.d.ts +0 -0
  2080. /package/dist/bundled/{v3/components/or-skeleton → v2/components/OrSkeletonRect}/OrSkeletonRect.vue.d.ts +0 -0
  2081. /package/dist/bundled/{v3/components/or-skeleton-v3 → v2/components/OrSkeletonRectV3}/styles.d.ts +0 -0
  2082. /package/dist/bundled/{v3/components/or-skeleton → v2/components/OrSkeletonText}/OrSkeletonText.vue.d.ts +0 -0
  2083. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonV3}/OrSkeletonCircle.vue.d.ts +0 -0
  2084. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonV3}/OrSkeletonRect.vue.d.ts +0 -0
  2085. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonV3}/OrSkeletonText.vue.d.ts +0 -0
  2086. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonV3}/index.d.ts +0 -0
  2087. /package/dist/bundled/v2/components/{or-slider → OrSlider}/OrSlider.vue.d.ts +0 -0
  2088. /package/dist/bundled/v2/components/{or-slider → OrSlider}/index.d.ts +0 -0
  2089. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/OrSortHeader.vue.d.ts +0 -0
  2090. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/index.d.ts +0 -0
  2091. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/styles.d.ts +0 -0
  2092. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/types.d.ts +0 -0
  2093. /package/dist/bundled/v2/components/{or-stepper → OrStepper}/OrStepper.vue.d.ts +0 -0
  2094. /package/dist/bundled/v2/components/{or-stepper → OrStepper}/OrStepperButtonOptions.vue.d.ts +0 -0
  2095. /package/dist/bundled/v2/components/{or-stepper → OrStepper}/OrStepperOptionHorizontal.vue.d.ts +0 -0
  2096. /package/dist/bundled/v2/components/{or-stepper → OrStepper}/OrStepperOptionVertical.vue.d.ts +0 -0
  2097. /package/dist/bundled/v2/components/{or-stepper → OrStepper}/OrStepperTitle.vue.d.ts +0 -0
  2098. /package/dist/bundled/v2/components/{or-stepper → OrStepper}/StatusIcon.vue.d.ts +0 -0
  2099. /package/dist/bundled/v2/components/{or-stepper → OrStepper}/index.d.ts +0 -0
  2100. /package/dist/bundled/{v3/components/or-stepper → v2/components/OrStepperButtonOptions}/OrStepperButtonOptions.vue.d.ts +0 -0
  2101. /package/dist/bundled/{v3/components/or-stepper → v2/components/OrStepperButtonOptions}/StatusIcon.vue.d.ts +0 -0
  2102. /package/dist/bundled/{v3/components/or-stepper → v2/components/OrStepperOptionHorizontal}/OrStepperOptionHorizontal.vue.d.ts +0 -0
  2103. /package/dist/bundled/{v3/components/or-stepper → v2/components/OrStepperOptionVertical}/OrStepperOptionVertical.vue.d.ts +0 -0
  2104. /package/dist/bundled/{v3/components/or-stepper → v2/components/OrStepperTitle}/OrStepperTitle.vue.d.ts +0 -0
  2105. /package/dist/bundled/v2/components/{or-switch → OrSwitch}/OrSwitch.vue.d.ts +0 -0
  2106. /package/dist/bundled/v2/components/{or-switch → OrSwitch}/index.d.ts +0 -0
  2107. /package/dist/bundled/v2/components/{or-switch-v3 → OrSwitchV3}/OrSwitch.vue.d.ts +0 -0
  2108. /package/dist/bundled/v2/components/{or-switch-v3 → OrSwitchV3}/index.d.ts +0 -0
  2109. /package/dist/bundled/v2/components/{or-switch-v3 → OrSwitchV3}/styles.d.ts +0 -0
  2110. /package/dist/bundled/v2/components/{or-tab → OrTab}/OrTab.vue.d.ts +0 -0
  2111. /package/dist/bundled/v2/components/{or-tab → OrTab}/index.d.ts +0 -0
  2112. /package/dist/bundled/v2/components/{or-tab-header-item → OrTabHeaderItem}/OrTabHeaderItem.vue.d.ts +0 -0
  2113. /package/dist/bundled/v2/components/{or-tab-header-item → OrTabHeaderItem}/index.d.ts +0 -0
  2114. /package/dist/bundled/v2/components/{or-tab-v3 → OrTabV3}/OrTab.vue.d.ts +0 -0
  2115. /package/dist/bundled/v2/components/{or-tab-v3 → OrTabV3}/index.d.ts +0 -0
  2116. /package/dist/bundled/v2/components/{or-tab-v3 → OrTabV3}/styles.d.ts +0 -0
  2117. /package/dist/bundled/v2/components/{or-tabs → OrTabs}/OrTabs.vue.d.ts +0 -0
  2118. /package/dist/bundled/v2/components/{or-tabs → OrTabs}/index.d.ts +0 -0
  2119. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/OrTabs.vue.d.ts +0 -0
  2120. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/index.d.ts +0 -0
  2121. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/props.d.ts +0 -0
  2122. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/styles.d.ts +0 -0
  2123. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/types.d.ts +0 -0
  2124. /package/dist/bundled/v2/components/{or-tag → OrTag}/OrTag.vue.d.ts +0 -0
  2125. /package/dist/bundled/v2/components/{or-tag → OrTag}/index.d.ts +0 -0
  2126. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/OrTag.vue.d.ts +0 -0
  2127. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/index.d.ts +0 -0
  2128. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/props.d.ts +0 -0
  2129. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/styles.d.ts +0 -0
  2130. /package/dist/bundled/v2/components/{or-teleport → OrTeleport}/OrTeleportVue2.vue.d.ts +0 -0
  2131. /package/dist/bundled/{v3/components/or-teleport → v2/components/OrTeleport}/OrTeleportVue3.vue.d.ts +0 -0
  2132. /package/dist/bundled/v2/components/{or-teleport → OrTeleport}/constants.d.ts +0 -0
  2133. /package/dist/bundled/v2/components/{or-teleport → OrTeleport}/index.d.ts +0 -0
  2134. /package/dist/bundled/v2/components/{or-teleport-v3 → OrTeleportV3}/OrTeleport.vue2.vue.d.ts +0 -0
  2135. /package/dist/bundled/v2/components/{or-teleport-v3 → OrTeleportV3}/index.d.ts +0 -0
  2136. /package/dist/bundled/{v3/components/or-teleport → v2/components/OrTeleportVue2}/constants.d.ts +0 -0
  2137. /package/dist/bundled/v2/components/{or-text-v3 → OrTextV3}/OrText.vue.d.ts +0 -0
  2138. /package/dist/bundled/v2/components/{or-text-v3 → OrTextV3}/index.d.ts +0 -0
  2139. /package/dist/bundled/v2/components/{or-text-v3 → OrTextV3}/styles.d.ts +0 -0
  2140. /package/dist/bundled/{v3/components/or-inputs → v2/components/OrTextarea}/OrTextarea.vue.d.ts +0 -0
  2141. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/OrTextarea.vue.d.ts +0 -0
  2142. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/index.d.ts +0 -0
  2143. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/props.d.ts +0 -0
  2144. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/styles.d.ts +0 -0
  2145. /package/dist/bundled/v2/components/{or-textbox → OrTextbox}/OrTextbox.vue.d.ts +0 -0
  2146. /package/dist/bundled/v2/components/{or-textbox → OrTextbox}/constants.d.ts +0 -0
  2147. /package/dist/bundled/v2/components/{or-textbox → OrTextbox}/index.d.ts +0 -0
  2148. /package/dist/bundled/v2/components/{or-toast → OrToast}/OrToast.vue.d.ts +0 -0
  2149. /package/dist/bundled/v2/components/{or-toast → OrToast}/OrToastContainer.vue.d.ts +0 -0
  2150. /package/dist/bundled/v2/components/{or-toast-v3 → OrToast}/Timer.d.ts +0 -0
  2151. /package/dist/bundled/v2/components/{or-toast → OrToast}/composable/index.d.ts +0 -0
  2152. /package/dist/bundled/v2/components/{or-toast-v3 → OrToast}/composable/useQueue.d.ts +0 -0
  2153. /package/dist/bundled/v2/components/{or-toast-v3 → OrToast}/composable/useToast.d.ts +0 -0
  2154. /package/dist/bundled/v2/components/{or-toast-v3 → OrToast}/composable/useToastEventBus.d.ts +0 -0
  2155. /package/dist/bundled/v2/components/{or-toast → OrToast}/constants.d.ts +0 -0
  2156. /package/dist/bundled/v2/components/{or-toast → OrToast}/index.d.ts +0 -0
  2157. /package/dist/bundled/v2/components/{or-toast → OrToast}/types.d.ts +0 -0
  2158. /package/dist/bundled/{v3/components/or-toast → v2/components/OrToastContainer}/OrToastContainer.vue.d.ts +0 -0
  2159. /package/dist/bundled/v2/components/{or-toast → OrToastContainer}/Timer.d.ts +0 -0
  2160. /package/dist/bundled/v2/components/{or-toast → OrToastContainer}/composable/useQueue.d.ts +0 -0
  2161. /package/dist/bundled/v2/components/{or-toast → OrToastContainer}/composable/useToast.d.ts +0 -0
  2162. /package/dist/bundled/v2/components/{or-toast → OrToastContainer}/composable/useToastEventBus.d.ts +0 -0
  2163. /package/dist/bundled/{v3/components/or-toast → v2/components/OrToastContainer}/constants.d.ts +0 -0
  2164. /package/dist/bundled/{v3/components/or-toast → v2/components/OrToastContainer}/types.d.ts +0 -0
  2165. /package/dist/bundled/{v3/components/or-toast-v3 → v2/components/OrToastContainerV3}/Timer.d.ts +0 -0
  2166. /package/dist/bundled/{v3/components/or-toast-v3 → v2/components/OrToastContainerV3}/composable/useQueue.d.ts +0 -0
  2167. /package/dist/bundled/{v3/components/or-toast-v3 → v2/components/OrToastContainerV3}/composable/useToast.d.ts +0 -0
  2168. /package/dist/bundled/{v3/components/or-toast-v3 → v2/components/OrToastContainerV3}/composable/useToastEventBus.d.ts +0 -0
  2169. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastContainerV3}/props.d.ts +0 -0
  2170. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastContainerV3}/styles.d.ts +0 -0
  2171. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastContainerV3}/types.d.ts +0 -0
  2172. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/OrToast.vue.d.ts +0 -0
  2173. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/OrToastContainer.vue.d.ts +0 -0
  2174. /package/dist/bundled/{v3/components/or-toast → v2/components/OrToastV3}/Timer.d.ts +0 -0
  2175. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/composable/index.d.ts +0 -0
  2176. /package/dist/bundled/{v3/components/or-toast → v2/components/OrToastV3}/composable/useQueue.d.ts +0 -0
  2177. /package/dist/bundled/{v3/components/or-toast → v2/components/OrToastV3}/composable/useToast.d.ts +0 -0
  2178. /package/dist/bundled/{v3/components/or-toast → v2/components/OrToastV3}/composable/useToastEventBus.d.ts +0 -0
  2179. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/index.d.ts +0 -0
  2180. /package/dist/bundled/{v3/components/or-toast-v3 → v2/components/OrToastV3}/props.d.ts +0 -0
  2181. /package/dist/bundled/{v3/components/or-toast-v3 → v2/components/OrToastV3}/styles.d.ts +0 -0
  2182. /package/dist/bundled/{v3/components/or-toast-v3 → v2/components/OrToastV3}/types.d.ts +0 -0
  2183. /package/dist/bundled/v2/components/{or-tooltip → OrTooltip}/OrTooltip.vue.d.ts +0 -0
  2184. /package/dist/bundled/v2/components/{or-tooltip → OrTooltip}/OrTooltipContent.vue.d.ts +0 -0
  2185. /package/dist/bundled/v2/components/{or-tooltip → OrTooltip}/index.d.ts +0 -0
  2186. /package/dist/bundled/{v3/components/or-tooltip → v2/components/OrTooltipContent}/OrTooltipContent.vue.d.ts +0 -0
  2187. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/OrTooltip.vue.d.ts +0 -0
  2188. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/index.d.ts +0 -0
  2189. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/props.d.ts +0 -0
  2190. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/styles.d.ts +0 -0
  2191. /package/dist/bundled/{v3/components/or-button-v2 → v2/components/OrTooltipWrapperV2}/constants.d.ts +0 -0
  2192. /package/dist/bundled/v3/components/{or-avatar → OrAvatar}/OrAvatar.vue.d.ts +0 -0
  2193. /package/dist/bundled/v3/components/{or-avatar → OrAvatar}/constants.d.ts +0 -0
  2194. /package/dist/bundled/v3/components/{or-avatar → OrAvatar}/index.d.ts +0 -0
  2195. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/OrAvatar.vue.d.ts +0 -0
  2196. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/index.d.ts +0 -0
  2197. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/props.d.ts +0 -0
  2198. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/styles.d.ts +0 -0
  2199. /package/dist/bundled/v3/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/OrBottomSheet.vue.d.ts +0 -0
  2200. /package/dist/bundled/v3/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/index.d.ts +0 -0
  2201. /package/dist/bundled/v3/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/styles.d.ts +0 -0
  2202. /package/dist/bundled/v3/components/{or-button → OrButton}/OrButton.vue.d.ts +0 -0
  2203. /package/dist/bundled/v3/components/{or-button → OrButton}/constants.d.ts +0 -0
  2204. /package/dist/bundled/v3/components/{or-button → OrButton}/index.d.ts +0 -0
  2205. /package/dist/bundled/v3/components/{or-button-v2 → OrButtonV2}/OrButton.vue.d.ts +0 -0
  2206. /package/dist/bundled/v3/components/{or-button-v2 → OrButtonV2}/OrTooltipWrapper.vue.d.ts +0 -0
  2207. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/OrButton.vue.d.ts +0 -0
  2208. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/index.d.ts +0 -0
  2209. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/props.d.ts +0 -0
  2210. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/styles.d.ts +0 -0
  2211. /package/dist/bundled/v3/components/{or-card → OrCard}/OrCard.vue.d.ts +0 -0
  2212. /package/dist/bundled/v3/components/{or-card → OrCard}/index.d.ts +0 -0
  2213. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/OrCardCollection.vue.d.ts +0 -0
  2214. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/constants.d.ts +0 -0
  2215. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/index.d.ts +0 -0
  2216. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/types.d.ts +0 -0
  2217. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/OrCardCollection.vue.d.ts +0 -0
  2218. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/OrCardCollectionView.vue3.vue.d.ts +0 -0
  2219. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/index.d.ts +0 -0
  2220. /package/dist/bundled/v3/components/{or-card-v3 → OrCardV3}/OrCard.vue.d.ts +0 -0
  2221. /package/dist/bundled/v3/components/{or-card-v3 → OrCardV3}/index.d.ts +0 -0
  2222. /package/dist/bundled/v3/components/{or-card-v3 → OrCardV3}/styles.d.ts +0 -0
  2223. /package/dist/bundled/v3/components/{or-carousel → OrCarousel}/OrCarousel.vue.d.ts +0 -0
  2224. /package/dist/bundled/v3/components/{or-carousel → OrCarousel}/index.d.ts +0 -0
  2225. /package/dist/bundled/v3/components/{or-checkbox → OrCheckbox}/OrCheckbox.vue.d.ts +0 -0
  2226. /package/dist/bundled/v3/components/{or-checkbox → OrCheckbox}/index.d.ts +0 -0
  2227. /package/dist/bundled/v3/components/{or-checkbox-v3 → OrCheckboxV3}/OrCheckbox.vue.d.ts +0 -0
  2228. /package/dist/bundled/v3/components/{or-checkbox-v3 → OrCheckboxV3}/index.d.ts +0 -0
  2229. /package/dist/bundled/v3/components/{or-checkbox-v3 → OrCheckboxV3}/styles.d.ts +0 -0
  2230. /package/dist/bundled/v3/components/{or-chips → OrChips}/OrChips.vue.d.ts +0 -0
  2231. /package/dist/bundled/v3/components/{or-chips → OrChips}/index.d.ts +0 -0
  2232. /package/dist/bundled/v3/components/{or-code → OrCode}/OrCode.vue.d.ts +0 -0
  2233. /package/dist/bundled/v3/components/{or-code → OrCode}/constants.d.ts +0 -0
  2234. /package/dist/bundled/v3/components/{or-code → OrCode}/index.d.ts +0 -0
  2235. /package/dist/bundled/v3/components/{or-code → OrCode}/lang.d.ts +0 -0
  2236. /package/dist/bundled/v3/components/{or-collapse → OrCollapse}/OrCollapse.vue.d.ts +0 -0
  2237. /package/dist/bundled/v3/components/{or-collapse → OrCollapse}/index.d.ts +0 -0
  2238. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/OrColorPicker.vue.d.ts +0 -0
  2239. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/constants.d.ts +0 -0
  2240. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/index.d.ts +0 -0
  2241. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/types.d.ts +0 -0
  2242. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/utils/defultPalette.d.ts +0 -0
  2243. /package/dist/bundled/v3/components/{or-confirm → OrConfirm}/OrConfirm.vue.d.ts +0 -0
  2244. /package/dist/bundled/v3/components/{or-confirm → OrConfirm}/index.d.ts +0 -0
  2245. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/OrConfirm.vue.d.ts +0 -0
  2246. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/index.d.ts +0 -0
  2247. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/props.d.ts +0 -0
  2248. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/styles.d.ts +0 -0
  2249. /package/dist/bundled/v3/components/{or-date-time-picker → OrDateTimePicker}/OrDateTimePicker.vue.d.ts +0 -0
  2250. /package/dist/bundled/v3/components/{or-date-time-picker → OrDateTimePicker}/index.d.ts +0 -0
  2251. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/OrEmptyState.vue.d.ts +0 -0
  2252. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/index.d.ts +0 -0
  2253. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/props.d.ts +0 -0
  2254. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/styles.d.ts +0 -0
  2255. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/types.d.ts +0 -0
  2256. /package/dist/bundled/v3/components/{or-error → OrError}/OrError.vue.d.ts +0 -0
  2257. /package/dist/bundled/v3/components/{or-error → OrError}/index.d.ts +0 -0
  2258. /package/dist/bundled/v3/components/{or-error-tag-v3 → OrErrorTagV3}/OrErrorTag.vue.d.ts +0 -0
  2259. /package/dist/bundled/v3/components/{or-error-tag-v3 → OrErrorTagV3}/index.d.ts +0 -0
  2260. /package/dist/bundled/v3/components/{or-error-tag-v3 → OrErrorTagV3}/styles.d.ts +0 -0
  2261. /package/dist/bundled/v3/components/{or-error-v3 → OrErrorV3}/OrError.vue.d.ts +0 -0
  2262. /package/dist/bundled/v3/components/{or-error-v3 → OrErrorV3}/index.d.ts +0 -0
  2263. /package/dist/bundled/v3/components/{or-error-v3 → OrErrorV3}/styles.d.ts +0 -0
  2264. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/OrExpansionPanel.vue.d.ts +0 -0
  2265. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/index.d.ts +0 -0
  2266. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/props.d.ts +0 -0
  2267. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/styles.d.ts +0 -0
  2268. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/OrFab.vue.d.ts +0 -0
  2269. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/index.d.ts +0 -0
  2270. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/props.d.ts +0 -0
  2271. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/styles.d.ts +0 -0
  2272. /package/dist/bundled/v3/components/{or-floating → OrFloating}/OrFloating.vue.d.ts +0 -0
  2273. /package/dist/bundled/v3/components/{or-floating → OrFloating}/constants.d.ts +0 -0
  2274. /package/dist/bundled/v3/components/{or-floating → OrFloating}/index.d.ts +0 -0
  2275. /package/dist/bundled/v3/components/{or-hint → OrHint}/OrHint.vue.d.ts +0 -0
  2276. /package/dist/bundled/v3/components/{or-hint → OrHint}/index.d.ts +0 -0
  2277. /package/dist/bundled/v3/components/{or-hint-v3 → OrHintV3}/OrHint.vue.d.ts +0 -0
  2278. /package/dist/bundled/v3/components/{or-hint-v3 → OrHintV3}/index.d.ts +0 -0
  2279. /package/dist/bundled/v3/components/{or-hint-v3 → OrHintV3}/styles.d.ts +0 -0
  2280. /package/dist/bundled/v3/components/{or-icon → OrIcon}/OrIcon.vue.d.ts +0 -0
  2281. /package/dist/bundled/v3/components/{or-icon → OrIcon}/constants.d.ts +0 -0
  2282. /package/dist/bundled/v3/components/{or-icon → OrIcon}/index.d.ts +0 -0
  2283. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/OrIconButton.vue.d.ts +0 -0
  2284. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/index.d.ts +0 -0
  2285. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/props.d.ts +0 -0
  2286. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/styles.d.ts +0 -0
  2287. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/OrIcon.vue.d.ts +0 -0
  2288. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/index.d.ts +0 -0
  2289. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/props.d.ts +0 -0
  2290. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/styles.d.ts +0 -0
  2291. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/OrInlineInputBox.vue.d.ts +0 -0
  2292. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/index.d.ts +0 -0
  2293. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/props.d.ts +0 -0
  2294. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/styles.d.ts +0 -0
  2295. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/OrInlineInput.vue.d.ts +0 -0
  2296. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/index.d.ts +0 -0
  2297. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/props.d.ts +0 -0
  2298. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/styles.d.ts +0 -0
  2299. /package/dist/bundled/v3/components/{or-inline-text-edit → OrInlineTextEdit}/OrInlineTextEdit.vue.d.ts +0 -0
  2300. /package/dist/bundled/v3/components/{or-inline-text-edit → OrInlineTextEdit}/constants.d.ts +0 -0
  2301. /package/dist/bundled/v3/components/{or-inline-text-edit → OrInlineTextEdit}/index.d.ts +0 -0
  2302. /package/dist/bundled/v3/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/OrInlineTextarea.vue.d.ts +0 -0
  2303. /package/dist/bundled/v3/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/index.d.ts +0 -0
  2304. /package/dist/bundled/v3/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/styles.d.ts +0 -0
  2305. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/OrInputBox.vue.d.ts +0 -0
  2306. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/index.d.ts +0 -0
  2307. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/props.d.ts +0 -0
  2308. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/styles.d.ts +0 -0
  2309. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/OrInput.vue.d.ts +0 -0
  2310. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/index.d.ts +0 -0
  2311. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/props.d.ts +0 -0
  2312. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/styles.d.ts +0 -0
  2313. /package/dist/bundled/v3/components/{or-inputs → OrInputs}/index.d.ts +0 -0
  2314. /package/dist/bundled/v3/components/{or-label → OrLabel}/OrLabel.vue.d.ts +0 -0
  2315. /package/dist/bundled/v3/components/{or-label → OrLabel}/index.d.ts +0 -0
  2316. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/OrLabel.vue.d.ts +0 -0
  2317. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/index.d.ts +0 -0
  2318. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/props.d.ts +0 -0
  2319. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/styles.d.ts +0 -0
  2320. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/OrLink.vue.d.ts +0 -0
  2321. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/index.d.ts +0 -0
  2322. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/props.d.ts +0 -0
  2323. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/styles.d.ts +0 -0
  2324. /package/dist/bundled/v3/components/{or-list → OrList}/OrList.vue.d.ts +0 -0
  2325. /package/dist/bundled/v3/components/{or-list → OrList}/index.d.ts +0 -0
  2326. /package/dist/bundled/v3/components/{or-list-of-inputs → OrListOfInputs}/OrListOfInputs.vue.d.ts +0 -0
  2327. /package/dist/bundled/v3/components/{or-list-of-inputs → OrListOfInputs}/index.d.ts +0 -0
  2328. /package/dist/bundled/v3/components/{or-loader → OrLoader}/OrLoader.vue.d.ts +0 -0
  2329. /package/dist/bundled/v3/components/{or-loader → OrLoader}/constants.d.ts +0 -0
  2330. /package/dist/bundled/v3/components/{or-loader → OrLoader}/index.d.ts +0 -0
  2331. /package/dist/bundled/v3/components/{or-loader → OrLoader}/types.d.ts +0 -0
  2332. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/OrLoader.vue.d.ts +0 -0
  2333. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/index.d.ts +0 -0
  2334. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/props.d.ts +0 -0
  2335. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/styles.d.ts +0 -0
  2336. /package/dist/bundled/v3/components/{or-menu-item-v3 → OrMenuItemV3}/OrMenuItem.vue.d.ts +0 -0
  2337. /package/dist/bundled/v3/components/{or-menu-item-v3 → OrMenuItemV3}/index.d.ts +0 -0
  2338. /package/dist/bundled/v3/components/{or-menu-item-v3 → OrMenuItemV3}/styles.d.ts +0 -0
  2339. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/OrMenu.vue.d.ts +0 -0
  2340. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/index.d.ts +0 -0
  2341. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/props.d.ts +0 -0
  2342. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/styles.d.ts +0 -0
  2343. /package/dist/bundled/v3/components/{or-modal → OrModal}/OrModal.vue.d.ts +0 -0
  2344. /package/dist/bundled/v3/components/{or-modal → OrModal}/constants.d.ts +0 -0
  2345. /package/dist/bundled/v3/components/{or-modal → OrModal}/index.d.ts +0 -0
  2346. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/OrModal.vue.d.ts +0 -0
  2347. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/index.d.ts +0 -0
  2348. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/props.d.ts +0 -0
  2349. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/styles.d.ts +0 -0
  2350. /package/dist/bundled/v3/components/{or-notification → OrNotification}/OrNotification.vue.d.ts +0 -0
  2351. /package/dist/bundled/v3/components/{or-notification → OrNotification}/constants.d.ts +0 -0
  2352. /package/dist/bundled/v3/components/{or-notification → OrNotification}/index.d.ts +0 -0
  2353. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/OrNotification.vue.d.ts +0 -0
  2354. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/index.d.ts +0 -0
  2355. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/props.d.ts +0 -0
  2356. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/styles.d.ts +0 -0
  2357. /package/dist/bundled/v3/components/{or-overflow-menu → OrOverflowMenu}/OrOverflowMenu.vue.d.ts +0 -0
  2358. /package/dist/bundled/v3/components/{or-overflow-menu → OrOverflowMenu}/index.d.ts +0 -0
  2359. /package/dist/bundled/v3/components/{or-overlay → OrOverlay}/OrOverlay.vue.d.ts +0 -0
  2360. /package/dist/bundled/v3/components/{or-overlay → OrOverlay}/index.d.ts +0 -0
  2361. /package/dist/bundled/v3/components/{or-overlay-v3 → OrOverlayV3}/OrOverlay.vue.d.ts +0 -0
  2362. /package/dist/bundled/v3/components/{or-overlay-v3 → OrOverlayV3}/index.d.ts +0 -0
  2363. /package/dist/bundled/v3/components/{or-overlay-v3 → OrOverlayV3}/styles.d.ts +0 -0
  2364. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/OrPopover.vue.d.ts +0 -0
  2365. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/index.d.ts +0 -0
  2366. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/props.d.ts +0 -0
  2367. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/styles.d.ts +0 -0
  2368. /package/dist/bundled/v3/components/{or-progress → OrProgress}/OrProgress.vue.d.ts +0 -0
  2369. /package/dist/bundled/v3/components/{or-progress → OrProgress}/constants.d.ts +0 -0
  2370. /package/dist/bundled/v3/components/{or-progress → OrProgress}/index.d.ts +0 -0
  2371. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/OrProgress.vue.d.ts +0 -0
  2372. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/index.d.ts +0 -0
  2373. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/props.d.ts +0 -0
  2374. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/styles.d.ts +0 -0
  2375. /package/dist/bundled/v3/components/{or-radio → OrRadio}/OrRadio.vue.d.ts +0 -0
  2376. /package/dist/bundled/v3/components/{or-radio → OrRadio}/index.d.ts +0 -0
  2377. /package/dist/bundled/v3/components/{or-radio-group → OrRadioGroup}/OrRadioGroup.vue.d.ts +0 -0
  2378. /package/dist/bundled/v3/components/{or-radio-group → OrRadioGroup}/index.d.ts +0 -0
  2379. /package/dist/bundled/v3/components/{or-radio-v3 → OrRadioV3}/OrRadio.vue.d.ts +0 -0
  2380. /package/dist/bundled/v3/components/{or-radio-v3 → OrRadioV3}/index.d.ts +0 -0
  2381. /package/dist/bundled/v3/components/{or-radio-v3 → OrRadioV3}/styles.d.ts +0 -0
  2382. /package/dist/bundled/v3/components/{or-search-v3 → OrSearchV3}/OrSearch.vue.d.ts +0 -0
  2383. /package/dist/bundled/v3/components/{or-search-v3 → OrSearchV3}/index.d.ts +0 -0
  2384. /package/dist/bundled/v3/components/{or-search-v3 → OrSearchV3}/props.d.ts +0 -0
  2385. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/OrSegmentedControl.vue.d.ts +0 -0
  2386. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +0 -0
  2387. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/components/or-segmented-control-item/styles.d.ts +0 -0
  2388. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/index.d.ts +0 -0
  2389. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/props.d.ts +0 -0
  2390. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/styles.d.ts +0 -0
  2391. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/types.d.ts +0 -0
  2392. /package/dist/bundled/v3/components/{or-select → OrSelect}/OrSelect.vue.d.ts +0 -0
  2393. /package/dist/bundled/v3/components/{or-select → OrSelect}/index.d.ts +0 -0
  2394. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/OrSelect.vue.d.ts +0 -0
  2395. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/index.d.ts +0 -0
  2396. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/props.d.ts +0 -0
  2397. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/styles.d.ts +0 -0
  2398. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/types.d.ts +0 -0
  2399. /package/dist/bundled/v3/components/{or-sidebar → OrSidebar}/OrSidebar.vue.d.ts +0 -0
  2400. /package/dist/bundled/v3/components/{or-sidebar → OrSidebar}/constants.d.ts +0 -0
  2401. /package/dist/bundled/v3/components/{or-sidebar → OrSidebar}/index.d.ts +0 -0
  2402. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/OrSidebar.vue.d.ts +0 -0
  2403. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/index.d.ts +0 -0
  2404. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/props.d.ts +0 -0
  2405. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/styles.d.ts +0 -0
  2406. /package/dist/bundled/v3/components/{or-skeleton → OrSkeleton}/index.d.ts +0 -0
  2407. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonV3}/OrSkeletonCircle.vue.d.ts +0 -0
  2408. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonV3}/OrSkeletonRect.vue.d.ts +0 -0
  2409. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonV3}/OrSkeletonText.vue.d.ts +0 -0
  2410. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonV3}/index.d.ts +0 -0
  2411. /package/dist/bundled/v3/components/{or-slider → OrSlider}/OrSlider.vue.d.ts +0 -0
  2412. /package/dist/bundled/v3/components/{or-slider → OrSlider}/index.d.ts +0 -0
  2413. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/OrSortHeader.vue.d.ts +0 -0
  2414. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/index.d.ts +0 -0
  2415. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/styles.d.ts +0 -0
  2416. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/types.d.ts +0 -0
  2417. /package/dist/bundled/v3/components/{or-stepper → OrStepper}/OrStepper.vue.d.ts +0 -0
  2418. /package/dist/bundled/v3/components/{or-stepper → OrStepper}/index.d.ts +0 -0
  2419. /package/dist/bundled/v3/components/{or-switch → OrSwitch}/OrSwitch.vue.d.ts +0 -0
  2420. /package/dist/bundled/v3/components/{or-switch → OrSwitch}/index.d.ts +0 -0
  2421. /package/dist/bundled/v3/components/{or-switch-v3 → OrSwitchV3}/OrSwitch.vue.d.ts +0 -0
  2422. /package/dist/bundled/v3/components/{or-switch-v3 → OrSwitchV3}/index.d.ts +0 -0
  2423. /package/dist/bundled/v3/components/{or-switch-v3 → OrSwitchV3}/styles.d.ts +0 -0
  2424. /package/dist/bundled/v3/components/{or-tab → OrTab}/OrTab.vue.d.ts +0 -0
  2425. /package/dist/bundled/v3/components/{or-tab → OrTab}/index.d.ts +0 -0
  2426. /package/dist/bundled/v3/components/{or-tab-header-item → OrTabHeaderItem}/OrTabHeaderItem.vue.d.ts +0 -0
  2427. /package/dist/bundled/v3/components/{or-tab-header-item → OrTabHeaderItem}/index.d.ts +0 -0
  2428. /package/dist/bundled/v3/components/{or-tab-v3 → OrTabV3}/OrTab.vue.d.ts +0 -0
  2429. /package/dist/bundled/v3/components/{or-tab-v3 → OrTabV3}/index.d.ts +0 -0
  2430. /package/dist/bundled/v3/components/{or-tab-v3 → OrTabV3}/styles.d.ts +0 -0
  2431. /package/dist/bundled/v3/components/{or-tabs → OrTabs}/OrTabs.vue.d.ts +0 -0
  2432. /package/dist/bundled/v3/components/{or-tabs → OrTabs}/index.d.ts +0 -0
  2433. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/OrTabs.vue.d.ts +0 -0
  2434. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/index.d.ts +0 -0
  2435. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/props.d.ts +0 -0
  2436. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/styles.d.ts +0 -0
  2437. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/types.d.ts +0 -0
  2438. /package/dist/bundled/v3/components/{or-tag → OrTag}/OrTag.vue.d.ts +0 -0
  2439. /package/dist/bundled/v3/components/{or-tag → OrTag}/index.d.ts +0 -0
  2440. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/OrTag.vue.d.ts +0 -0
  2441. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/index.d.ts +0 -0
  2442. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/props.d.ts +0 -0
  2443. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/styles.d.ts +0 -0
  2444. /package/dist/bundled/v3/components/{or-teleport → OrTeleport}/index.d.ts +0 -0
  2445. /package/dist/bundled/v3/components/{or-teleport-v3 → OrTeleportV3}/OrTeleport.vue3.vue.d.ts +0 -0
  2446. /package/dist/bundled/v3/components/{or-teleport-v3 → OrTeleportV3}/index.d.ts +0 -0
  2447. /package/dist/bundled/v3/components/{or-text-v3 → OrTextV3}/OrText.vue.d.ts +0 -0
  2448. /package/dist/bundled/v3/components/{or-text-v3 → OrTextV3}/index.d.ts +0 -0
  2449. /package/dist/bundled/v3/components/{or-text-v3 → OrTextV3}/styles.d.ts +0 -0
  2450. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/OrTextarea.vue.d.ts +0 -0
  2451. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/index.d.ts +0 -0
  2452. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/props.d.ts +0 -0
  2453. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/styles.d.ts +0 -0
  2454. /package/dist/bundled/v3/components/{or-textbox → OrTextbox}/OrTextbox.vue.d.ts +0 -0
  2455. /package/dist/bundled/v3/components/{or-textbox → OrTextbox}/constants.d.ts +0 -0
  2456. /package/dist/bundled/v3/components/{or-textbox → OrTextbox}/index.d.ts +0 -0
  2457. /package/dist/bundled/v3/components/{or-toast → OrToast}/OrToast.vue.d.ts +0 -0
  2458. /package/dist/bundled/v3/components/{or-toast → OrToast}/composable/index.d.ts +0 -0
  2459. /package/dist/bundled/v3/components/{or-toast → OrToast}/index.d.ts +0 -0
  2460. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/OrToast.vue.d.ts +0 -0
  2461. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/OrToastContainer.vue.d.ts +0 -0
  2462. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/composable/index.d.ts +0 -0
  2463. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/index.d.ts +0 -0
  2464. /package/dist/bundled/v3/components/{or-tooltip → OrTooltip}/OrTooltip.vue.d.ts +0 -0
  2465. /package/dist/bundled/v3/components/{or-tooltip → OrTooltip}/index.d.ts +0 -0
  2466. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/OrTooltip.vue.d.ts +0 -0
  2467. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/index.d.ts +0 -0
  2468. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/props.d.ts +0 -0
  2469. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/styles.d.ts +0 -0
@@ -0,0 +1,4094 @@
1
+ import { E as EditorView, F as Facet, c as combineConfig, S as StateField, a as EditorSelection, T as Transaction, C as ChangeSet, b as ChangeDesc, I as IndentContext, g as getIndentation, i as indentString, d as Text, e as indentUnit, f as countColumn, h as getIndentUnit, A as Annotation, j as StateEffect, m as matchBrackets, s as syntaxTree, N as NodeProp, D as Direction, k as findClusterBreak, V as ViewPlugin, l as Decoration, n as codePointAt, o as codePointSize, p as getPanel, q as CharCategory, P as Prec, r as fromCodePoint, t as showPanel, R as RangeSetBuilder, u as EditorState, v as runScopeHandlers, w as hoverTooltip, W as WidgetType, x as logException, y as lineNumbers, z as highlightActiveLineGutter, B as highlightSpecialChars, G as foldGutter, H as drawSelection, J as dropCursor, K as indentOnInput, L as syntaxHighlighting, M as defaultHighlightStyle, O as bracketMatching, Q as closeBrackets, U as autocompletion, X as rectangularSelection, Y as crosshairCursor, Z as highlightActiveLine, _ as keymap, $ as closeBracketsKeymap, a0 as foldKeymap, a1 as completionKeymap, a2 as languages } from '../../lang-d640563a.js';
2
+ import { useElementHover } from '@vueuse/core';
3
+ import _ from 'lodash';
4
+ import { defineComponent, ref } from 'vue-demi';
5
+ import __vue_component__$3 from '../OrTeleportVue2/OrTeleportVue2.js';
6
+ import { OrCodeLanguages } from './constants.js';
7
+ import __vue_component__$1 from '../OrIconButtonV2/OrIconButtonV2.js';
8
+ import __vue_component__$2 from '../OrModal/OrModal.js';
9
+ import __vue_component__$4 from '../OrError/OrError.js';
10
+ import __vue_component__$5 from '../OrHint/OrHint.js';
11
+ import __vue_component__$6 from '../OrLabel/OrLabel.js';
12
+ import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
13
+ import { c as createInjector } from '../../browser-82dea9ed.js';
14
+ import 'portal-vue/dist/portal-vue.esm.js';
15
+ import '../OrTeleport/constants.js';
16
+ import '../OrTooltipWrapperV2/OrTooltipWrapperV2.js';
17
+ import '../OrTooltip/OrTooltip.js';
18
+ import '../OrTooltipContent/OrTooltipContent.js';
19
+ import '../OrFloating/OrFloating.js';
20
+ import '../../floating-ui.dom.esm-83eba816.js';
21
+ import '../OrFloating/constants.js';
22
+ import '../../utils/functions/dom.js';
23
+ import '../OrButtonV2/constants.js';
24
+ import '../OrIcon/OrIcon.js';
25
+ import '../OrIcon/constants.js';
26
+ import '../../utils/functions/px-to-rem.js';
27
+ import '../OrLoader/OrLoader.js';
28
+ import '../OrLoader/constants.js';
29
+ import '../OrModal/constants.js';
30
+ import '../OrOverlay/OrOverlay.js';
31
+
32
+ /**
33
+ Comment or uncomment the current selection. Will use line comments
34
+ if available, otherwise falling back to block comments.
35
+ */
36
+ const toggleComment = target => {
37
+ let {
38
+ state
39
+ } = target,
40
+ line = state.doc.lineAt(state.selection.main.head),
41
+ config = getConfig(target.state, line.from);
42
+ return config.line ? toggleLineComment(target) : config.block ? toggleBlockCommentByLine(target) : false;
43
+ };
44
+ function command(f, option) {
45
+ return ({
46
+ state,
47
+ dispatch
48
+ }) => {
49
+ if (state.readOnly) return false;
50
+ let tr = f(option, state);
51
+ if (!tr) return false;
52
+ dispatch(state.update(tr));
53
+ return true;
54
+ };
55
+ }
56
+ /**
57
+ Comment or uncomment the current selection using line comments.
58
+ The line comment syntax is taken from the
59
+ [`commentTokens`](https://codemirror.net/6/docs/ref/#commands.CommentTokens) [language
60
+ data](https://codemirror.net/6/docs/ref/#state.EditorState.languageDataAt).
61
+ */
62
+ const toggleLineComment = /*@__PURE__*/command(changeLineComment, 0 /* CommentOption.Toggle */);
63
+ /**
64
+ Comment or uncomment the current selection using block comments.
65
+ The block comment syntax is taken from the
66
+ [`commentTokens`](https://codemirror.net/6/docs/ref/#commands.CommentTokens) [language
67
+ data](https://codemirror.net/6/docs/ref/#state.EditorState.languageDataAt).
68
+ */
69
+ const toggleBlockComment = /*@__PURE__*/command(changeBlockComment, 0 /* CommentOption.Toggle */);
70
+ /**
71
+ Comment or uncomment the lines around the current selection using
72
+ block comments.
73
+ */
74
+ const toggleBlockCommentByLine = /*@__PURE__*/command((o, s) => changeBlockComment(o, s, selectedLineRanges(s)), 0 /* CommentOption.Toggle */);
75
+ function getConfig(state, pos) {
76
+ let data = state.languageDataAt("commentTokens", pos);
77
+ return data.length ? data[0] : {};
78
+ }
79
+ const SearchMargin = 50;
80
+ /**
81
+ Determines if the given range is block-commented in the given
82
+ state.
83
+ */
84
+ function findBlockComment(state, {
85
+ open,
86
+ close
87
+ }, from, to) {
88
+ let textBefore = state.sliceDoc(from - SearchMargin, from);
89
+ let textAfter = state.sliceDoc(to, to + SearchMargin);
90
+ let spaceBefore = /\s*$/.exec(textBefore)[0].length,
91
+ spaceAfter = /^\s*/.exec(textAfter)[0].length;
92
+ let beforeOff = textBefore.length - spaceBefore;
93
+ if (textBefore.slice(beforeOff - open.length, beforeOff) == open && textAfter.slice(spaceAfter, spaceAfter + close.length) == close) {
94
+ return {
95
+ open: {
96
+ pos: from - spaceBefore,
97
+ margin: spaceBefore && 1
98
+ },
99
+ close: {
100
+ pos: to + spaceAfter,
101
+ margin: spaceAfter && 1
102
+ }
103
+ };
104
+ }
105
+ let startText, endText;
106
+ if (to - from <= 2 * SearchMargin) {
107
+ startText = endText = state.sliceDoc(from, to);
108
+ } else {
109
+ startText = state.sliceDoc(from, from + SearchMargin);
110
+ endText = state.sliceDoc(to - SearchMargin, to);
111
+ }
112
+ let startSpace = /^\s*/.exec(startText)[0].length,
113
+ endSpace = /\s*$/.exec(endText)[0].length;
114
+ let endOff = endText.length - endSpace - close.length;
115
+ if (startText.slice(startSpace, startSpace + open.length) == open && endText.slice(endOff, endOff + close.length) == close) {
116
+ return {
117
+ open: {
118
+ pos: from + startSpace + open.length,
119
+ margin: /\s/.test(startText.charAt(startSpace + open.length)) ? 1 : 0
120
+ },
121
+ close: {
122
+ pos: to - endSpace - close.length,
123
+ margin: /\s/.test(endText.charAt(endOff - 1)) ? 1 : 0
124
+ }
125
+ };
126
+ }
127
+ return null;
128
+ }
129
+ function selectedLineRanges(state) {
130
+ let ranges = [];
131
+ for (let r of state.selection.ranges) {
132
+ let fromLine = state.doc.lineAt(r.from);
133
+ let toLine = r.to <= fromLine.to ? fromLine : state.doc.lineAt(r.to);
134
+ let last = ranges.length - 1;
135
+ if (last >= 0 && ranges[last].to > fromLine.from) ranges[last].to = toLine.to;else ranges.push({
136
+ from: fromLine.from,
137
+ to: toLine.to
138
+ });
139
+ }
140
+ return ranges;
141
+ }
142
+ // Performs toggle, comment and uncomment of block comments in
143
+ // languages that support them.
144
+ function changeBlockComment(option, state, ranges = state.selection.ranges) {
145
+ let tokens = ranges.map(r => getConfig(state, r.from).block);
146
+ if (!tokens.every(c => c)) return null;
147
+ let comments = ranges.map((r, i) => findBlockComment(state, tokens[i], r.from, r.to));
148
+ if (option != 2 /* CommentOption.Uncomment */ && !comments.every(c => c)) {
149
+ return {
150
+ changes: state.changes(ranges.map((range, i) => {
151
+ if (comments[i]) return [];
152
+ return [{
153
+ from: range.from,
154
+ insert: tokens[i].open + " "
155
+ }, {
156
+ from: range.to,
157
+ insert: " " + tokens[i].close
158
+ }];
159
+ }))
160
+ };
161
+ } else if (option != 1 /* CommentOption.Comment */ && comments.some(c => c)) {
162
+ let changes = [];
163
+ for (let i = 0, comment; i < comments.length; i++) if (comment = comments[i]) {
164
+ let token = tokens[i],
165
+ {
166
+ open,
167
+ close
168
+ } = comment;
169
+ changes.push({
170
+ from: open.pos - token.open.length,
171
+ to: open.pos + open.margin
172
+ }, {
173
+ from: close.pos - close.margin,
174
+ to: close.pos + token.close.length
175
+ });
176
+ }
177
+ return {
178
+ changes
179
+ };
180
+ }
181
+ return null;
182
+ }
183
+ // Performs toggle, comment and uncomment of line comments.
184
+ function changeLineComment(option, state, ranges = state.selection.ranges) {
185
+ let lines = [];
186
+ let prevLine = -1;
187
+ for (let {
188
+ from,
189
+ to
190
+ } of ranges) {
191
+ let startI = lines.length,
192
+ minIndent = 1e9;
193
+ for (let pos = from; pos <= to;) {
194
+ let line = state.doc.lineAt(pos);
195
+ if (line.from > prevLine && (from == to || to > line.from)) {
196
+ prevLine = line.from;
197
+ let token = getConfig(state, line.from).line;
198
+ if (!token) continue;
199
+ let indent = /^\s*/.exec(line.text)[0].length;
200
+ let empty = indent == line.length;
201
+ let comment = line.text.slice(indent, indent + token.length) == token ? indent : -1;
202
+ if (indent < line.text.length && indent < minIndent) minIndent = indent;
203
+ lines.push({
204
+ line,
205
+ comment,
206
+ token,
207
+ indent,
208
+ empty,
209
+ single: false
210
+ });
211
+ }
212
+ pos = line.to + 1;
213
+ }
214
+ if (minIndent < 1e9) for (let i = startI; i < lines.length; i++) if (lines[i].indent < lines[i].line.text.length) lines[i].indent = minIndent;
215
+ if (lines.length == startI + 1) lines[startI].single = true;
216
+ }
217
+ if (option != 2 /* CommentOption.Uncomment */ && lines.some(l => l.comment < 0 && (!l.empty || l.single))) {
218
+ let changes = [];
219
+ for (let {
220
+ line,
221
+ token,
222
+ indent,
223
+ empty,
224
+ single
225
+ } of lines) if (single || !empty) changes.push({
226
+ from: line.from + indent,
227
+ insert: token + " "
228
+ });
229
+ let changeSet = state.changes(changes);
230
+ return {
231
+ changes: changeSet,
232
+ selection: state.selection.map(changeSet, 1)
233
+ };
234
+ } else if (option != 1 /* CommentOption.Comment */ && lines.some(l => l.comment >= 0)) {
235
+ let changes = [];
236
+ for (let {
237
+ line,
238
+ comment,
239
+ token
240
+ } of lines) if (comment >= 0) {
241
+ let from = line.from + comment,
242
+ to = from + token.length;
243
+ if (line.text[to - line.from] == " ") to++;
244
+ changes.push({
245
+ from,
246
+ to
247
+ });
248
+ }
249
+ return {
250
+ changes
251
+ };
252
+ }
253
+ return null;
254
+ }
255
+ const fromHistory = /*@__PURE__*/Annotation.define();
256
+ /**
257
+ Transaction annotation that will prevent that transaction from
258
+ being combined with other transactions in the undo history. Given
259
+ `"before"`, it'll prevent merging with previous transactions. With
260
+ `"after"`, subsequent transactions won't be combined with this
261
+ one. With `"full"`, the transaction is isolated on both sides.
262
+ */
263
+ const isolateHistory = /*@__PURE__*/Annotation.define();
264
+ /**
265
+ This facet provides a way to register functions that, given a
266
+ transaction, provide a set of effects that the history should
267
+ store when inverting the transaction. This can be used to
268
+ integrate some kinds of effects in the history, so that they can
269
+ be undone (and redone again).
270
+ */
271
+ const invertedEffects = /*@__PURE__*/Facet.define();
272
+ const historyConfig = /*@__PURE__*/Facet.define({
273
+ combine(configs) {
274
+ return combineConfig(configs, {
275
+ minDepth: 100,
276
+ newGroupDelay: 500,
277
+ joinToEvent: (_t, isAdjacent) => isAdjacent
278
+ }, {
279
+ minDepth: Math.max,
280
+ newGroupDelay: Math.min,
281
+ joinToEvent: (a, b) => (tr, adj) => a(tr, adj) || b(tr, adj)
282
+ });
283
+ }
284
+ });
285
+ function changeEnd(changes) {
286
+ let end = 0;
287
+ changes.iterChangedRanges((_, to) => end = to);
288
+ return end;
289
+ }
290
+ const historyField_ = /*@__PURE__*/StateField.define({
291
+ create() {
292
+ return HistoryState.empty;
293
+ },
294
+ update(state, tr) {
295
+ let config = tr.state.facet(historyConfig);
296
+ let fromHist = tr.annotation(fromHistory);
297
+ if (fromHist) {
298
+ let selection = tr.docChanged ? EditorSelection.single(changeEnd(tr.changes)) : undefined;
299
+ let item = HistEvent.fromTransaction(tr, selection),
300
+ from = fromHist.side;
301
+ let other = from == 0 /* BranchName.Done */ ? state.undone : state.done;
302
+ if (item) other = updateBranch(other, other.length, config.minDepth, item);else other = addSelection(other, tr.startState.selection);
303
+ return new HistoryState(from == 0 /* BranchName.Done */ ? fromHist.rest : other, from == 0 /* BranchName.Done */ ? other : fromHist.rest);
304
+ }
305
+ let isolate = tr.annotation(isolateHistory);
306
+ if (isolate == "full" || isolate == "before") state = state.isolate();
307
+ if (tr.annotation(Transaction.addToHistory) === false) return !tr.changes.empty ? state.addMapping(tr.changes.desc) : state;
308
+ let event = HistEvent.fromTransaction(tr);
309
+ let time = tr.annotation(Transaction.time),
310
+ userEvent = tr.annotation(Transaction.userEvent);
311
+ if (event) state = state.addChanges(event, time, userEvent, config, tr);else if (tr.selection) state = state.addSelection(tr.startState.selection, time, userEvent, config.newGroupDelay);
312
+ if (isolate == "full" || isolate == "after") state = state.isolate();
313
+ return state;
314
+ },
315
+ toJSON(value) {
316
+ return {
317
+ done: value.done.map(e => e.toJSON()),
318
+ undone: value.undone.map(e => e.toJSON())
319
+ };
320
+ },
321
+ fromJSON(json) {
322
+ return new HistoryState(json.done.map(HistEvent.fromJSON), json.undone.map(HistEvent.fromJSON));
323
+ }
324
+ });
325
+ /**
326
+ Create a history extension with the given configuration.
327
+ */
328
+ function history(config = {}) {
329
+ return [historyField_, historyConfig.of(config), EditorView.domEventHandlers({
330
+ beforeinput(e, view) {
331
+ let command = e.inputType == "historyUndo" ? undo : e.inputType == "historyRedo" ? redo : null;
332
+ if (!command) return false;
333
+ e.preventDefault();
334
+ return command(view);
335
+ }
336
+ })];
337
+ }
338
+ function cmd(side, selection) {
339
+ return function ({
340
+ state,
341
+ dispatch
342
+ }) {
343
+ if (!selection && state.readOnly) return false;
344
+ let historyState = state.field(historyField_, false);
345
+ if (!historyState) return false;
346
+ let tr = historyState.pop(side, state, selection);
347
+ if (!tr) return false;
348
+ dispatch(tr);
349
+ return true;
350
+ };
351
+ }
352
+ /**
353
+ Undo a single group of history events. Returns false if no group
354
+ was available.
355
+ */
356
+ const undo = /*@__PURE__*/cmd(0 /* BranchName.Done */, false);
357
+ /**
358
+ Redo a group of history events. Returns false if no group was
359
+ available.
360
+ */
361
+ const redo = /*@__PURE__*/cmd(1 /* BranchName.Undone */, false);
362
+ /**
363
+ Undo a change or selection change.
364
+ */
365
+ const undoSelection = /*@__PURE__*/cmd(0 /* BranchName.Done */, true);
366
+ /**
367
+ Redo a change or selection change.
368
+ */
369
+ const redoSelection = /*@__PURE__*/cmd(1 /* BranchName.Undone */, true);
370
+ // History events store groups of changes or effects that need to be
371
+ // undone/redone together.
372
+ class HistEvent {
373
+ constructor(
374
+ // The changes in this event. Normal events hold at least one
375
+ // change or effect. But it may be necessary to store selection
376
+ // events before the first change, in which case a special type of
377
+ // instance is created which doesn't hold any changes, with
378
+ // changes == startSelection == undefined
379
+ changes,
380
+ // The effects associated with this event
381
+ effects,
382
+ // Accumulated mapping (from addToHistory==false) that should be
383
+ // applied to events below this one.
384
+ mapped,
385
+ // The selection before this event
386
+ startSelection,
387
+ // Stores selection changes after this event, to be used for
388
+ // selection undo/redo.
389
+ selectionsAfter) {
390
+ this.changes = changes;
391
+ this.effects = effects;
392
+ this.mapped = mapped;
393
+ this.startSelection = startSelection;
394
+ this.selectionsAfter = selectionsAfter;
395
+ }
396
+ setSelAfter(after) {
397
+ return new HistEvent(this.changes, this.effects, this.mapped, this.startSelection, after);
398
+ }
399
+ toJSON() {
400
+ var _a, _b, _c;
401
+ return {
402
+ changes: (_a = this.changes) === null || _a === void 0 ? void 0 : _a.toJSON(),
403
+ mapped: (_b = this.mapped) === null || _b === void 0 ? void 0 : _b.toJSON(),
404
+ startSelection: (_c = this.startSelection) === null || _c === void 0 ? void 0 : _c.toJSON(),
405
+ selectionsAfter: this.selectionsAfter.map(s => s.toJSON())
406
+ };
407
+ }
408
+ static fromJSON(json) {
409
+ return new HistEvent(json.changes && ChangeSet.fromJSON(json.changes), [], json.mapped && ChangeDesc.fromJSON(json.mapped), json.startSelection && EditorSelection.fromJSON(json.startSelection), json.selectionsAfter.map(EditorSelection.fromJSON));
410
+ }
411
+ // This does not check `addToHistory` and such, it assumes the
412
+ // transaction needs to be converted to an item. Returns null when
413
+ // there are no changes or effects in the transaction.
414
+ static fromTransaction(tr, selection) {
415
+ let effects = none;
416
+ for (let invert of tr.startState.facet(invertedEffects)) {
417
+ let result = invert(tr);
418
+ if (result.length) effects = effects.concat(result);
419
+ }
420
+ if (!effects.length && tr.changes.empty) return null;
421
+ return new HistEvent(tr.changes.invert(tr.startState.doc), effects, undefined, selection || tr.startState.selection, none);
422
+ }
423
+ static selection(selections) {
424
+ return new HistEvent(undefined, none, undefined, undefined, selections);
425
+ }
426
+ }
427
+ function updateBranch(branch, to, maxLen, newEvent) {
428
+ let start = to + 1 > maxLen + 20 ? to - maxLen - 1 : 0;
429
+ let newBranch = branch.slice(start, to);
430
+ newBranch.push(newEvent);
431
+ return newBranch;
432
+ }
433
+ function isAdjacent(a, b) {
434
+ let ranges = [],
435
+ isAdjacent = false;
436
+ a.iterChangedRanges((f, t) => ranges.push(f, t));
437
+ b.iterChangedRanges((_f, _t, f, t) => {
438
+ for (let i = 0; i < ranges.length;) {
439
+ let from = ranges[i++],
440
+ to = ranges[i++];
441
+ if (t >= from && f <= to) isAdjacent = true;
442
+ }
443
+ });
444
+ return isAdjacent;
445
+ }
446
+ function eqSelectionShape(a, b) {
447
+ return a.ranges.length == b.ranges.length && a.ranges.filter((r, i) => r.empty != b.ranges[i].empty).length === 0;
448
+ }
449
+ function conc(a, b) {
450
+ return !a.length ? b : !b.length ? a : a.concat(b);
451
+ }
452
+ const none = [];
453
+ const MaxSelectionsPerEvent = 200;
454
+ function addSelection(branch, selection) {
455
+ if (!branch.length) {
456
+ return [HistEvent.selection([selection])];
457
+ } else {
458
+ let lastEvent = branch[branch.length - 1];
459
+ let sels = lastEvent.selectionsAfter.slice(Math.max(0, lastEvent.selectionsAfter.length - MaxSelectionsPerEvent));
460
+ if (sels.length && sels[sels.length - 1].eq(selection)) return branch;
461
+ sels.push(selection);
462
+ return updateBranch(branch, branch.length - 1, 1e9, lastEvent.setSelAfter(sels));
463
+ }
464
+ }
465
+ // Assumes the top item has one or more selectionAfter values
466
+ function popSelection(branch) {
467
+ let last = branch[branch.length - 1];
468
+ let newBranch = branch.slice();
469
+ newBranch[branch.length - 1] = last.setSelAfter(last.selectionsAfter.slice(0, last.selectionsAfter.length - 1));
470
+ return newBranch;
471
+ }
472
+ // Add a mapping to the top event in the given branch. If this maps
473
+ // away all the changes and effects in that item, drop it and
474
+ // propagate the mapping to the next item.
475
+ function addMappingToBranch(branch, mapping) {
476
+ if (!branch.length) return branch;
477
+ let length = branch.length,
478
+ selections = none;
479
+ while (length) {
480
+ let event = mapEvent(branch[length - 1], mapping, selections);
481
+ if (event.changes && !event.changes.empty || event.effects.length) {
482
+ // Event survived mapping
483
+ let result = branch.slice(0, length);
484
+ result[length - 1] = event;
485
+ return result;
486
+ } else {
487
+ // Drop this event, since there's no changes or effects left
488
+ mapping = event.mapped;
489
+ length--;
490
+ selections = event.selectionsAfter;
491
+ }
492
+ }
493
+ return selections.length ? [HistEvent.selection(selections)] : none;
494
+ }
495
+ function mapEvent(event, mapping, extraSelections) {
496
+ let selections = conc(event.selectionsAfter.length ? event.selectionsAfter.map(s => s.map(mapping)) : none, extraSelections);
497
+ // Change-less events don't store mappings (they are always the last event in a branch)
498
+ if (!event.changes) return HistEvent.selection(selections);
499
+ let mappedChanges = event.changes.map(mapping),
500
+ before = mapping.mapDesc(event.changes, true);
501
+ let fullMapping = event.mapped ? event.mapped.composeDesc(before) : before;
502
+ return new HistEvent(mappedChanges, StateEffect.mapEffects(event.effects, mapping), fullMapping, event.startSelection.map(before), selections);
503
+ }
504
+ const joinableUserEvent = /^(input\.type|delete)($|\.)/;
505
+ class HistoryState {
506
+ constructor(done, undone, prevTime = 0, prevUserEvent = undefined) {
507
+ this.done = done;
508
+ this.undone = undone;
509
+ this.prevTime = prevTime;
510
+ this.prevUserEvent = prevUserEvent;
511
+ }
512
+ isolate() {
513
+ return this.prevTime ? new HistoryState(this.done, this.undone) : this;
514
+ }
515
+ addChanges(event, time, userEvent, config, tr) {
516
+ let done = this.done,
517
+ lastEvent = done[done.length - 1];
518
+ if (lastEvent && lastEvent.changes && !lastEvent.changes.empty && event.changes && (!userEvent || joinableUserEvent.test(userEvent)) && (!lastEvent.selectionsAfter.length && time - this.prevTime < config.newGroupDelay && config.joinToEvent(tr, isAdjacent(lastEvent.changes, event.changes)) ||
519
+ // For compose (but not compose.start) events, always join with previous event
520
+ userEvent == "input.type.compose")) {
521
+ done = updateBranch(done, done.length - 1, config.minDepth, new HistEvent(event.changes.compose(lastEvent.changes), conc(event.effects, lastEvent.effects), lastEvent.mapped, lastEvent.startSelection, none));
522
+ } else {
523
+ done = updateBranch(done, done.length, config.minDepth, event);
524
+ }
525
+ return new HistoryState(done, none, time, userEvent);
526
+ }
527
+ addSelection(selection, time, userEvent, newGroupDelay) {
528
+ let last = this.done.length ? this.done[this.done.length - 1].selectionsAfter : none;
529
+ if (last.length > 0 && time - this.prevTime < newGroupDelay && userEvent == this.prevUserEvent && userEvent && /^select($|\.)/.test(userEvent) && eqSelectionShape(last[last.length - 1], selection)) return this;
530
+ return new HistoryState(addSelection(this.done, selection), this.undone, time, userEvent);
531
+ }
532
+ addMapping(mapping) {
533
+ return new HistoryState(addMappingToBranch(this.done, mapping), addMappingToBranch(this.undone, mapping), this.prevTime, this.prevUserEvent);
534
+ }
535
+ pop(side, state, selection) {
536
+ let branch = side == 0 /* BranchName.Done */ ? this.done : this.undone;
537
+ if (branch.length == 0) return null;
538
+ let event = branch[branch.length - 1];
539
+ if (selection && event.selectionsAfter.length) {
540
+ return state.update({
541
+ selection: event.selectionsAfter[event.selectionsAfter.length - 1],
542
+ annotations: fromHistory.of({
543
+ side,
544
+ rest: popSelection(branch)
545
+ }),
546
+ userEvent: side == 0 /* BranchName.Done */ ? "select.undo" : "select.redo",
547
+ scrollIntoView: true
548
+ });
549
+ } else if (!event.changes) {
550
+ return null;
551
+ } else {
552
+ let rest = branch.length == 1 ? none : branch.slice(0, branch.length - 1);
553
+ if (event.mapped) rest = addMappingToBranch(rest, event.mapped);
554
+ return state.update({
555
+ changes: event.changes,
556
+ selection: event.startSelection,
557
+ effects: event.effects,
558
+ annotations: fromHistory.of({
559
+ side,
560
+ rest
561
+ }),
562
+ filter: false,
563
+ userEvent: side == 0 /* BranchName.Done */ ? "undo" : "redo",
564
+ scrollIntoView: true
565
+ });
566
+ }
567
+ }
568
+ }
569
+ HistoryState.empty = /*@__PURE__*/new HistoryState(none, none);
570
+ /**
571
+ Default key bindings for the undo history.
572
+
573
+ - Mod-z: [`undo`](https://codemirror.net/6/docs/ref/#commands.undo).
574
+ - Mod-y (Mod-Shift-z on macOS) + Ctrl-Shift-z on Linux: [`redo`](https://codemirror.net/6/docs/ref/#commands.redo).
575
+ - Mod-u: [`undoSelection`](https://codemirror.net/6/docs/ref/#commands.undoSelection).
576
+ - Alt-u (Mod-Shift-u on macOS): [`redoSelection`](https://codemirror.net/6/docs/ref/#commands.redoSelection).
577
+ */
578
+ const historyKeymap = [{
579
+ key: "Mod-z",
580
+ run: undo,
581
+ preventDefault: true
582
+ }, {
583
+ key: "Mod-y",
584
+ mac: "Mod-Shift-z",
585
+ run: redo,
586
+ preventDefault: true
587
+ }, {
588
+ linux: "Ctrl-Shift-z",
589
+ run: redo,
590
+ preventDefault: true
591
+ }, {
592
+ key: "Mod-u",
593
+ run: undoSelection,
594
+ preventDefault: true
595
+ }, {
596
+ key: "Alt-u",
597
+ mac: "Mod-Shift-u",
598
+ run: redoSelection,
599
+ preventDefault: true
600
+ }];
601
+ function updateSel(sel, by) {
602
+ return EditorSelection.create(sel.ranges.map(by), sel.mainIndex);
603
+ }
604
+ function setSel(state, selection) {
605
+ return state.update({
606
+ selection,
607
+ scrollIntoView: true,
608
+ userEvent: "select"
609
+ });
610
+ }
611
+ function moveSel({
612
+ state,
613
+ dispatch
614
+ }, how) {
615
+ let selection = updateSel(state.selection, how);
616
+ if (selection.eq(state.selection)) return false;
617
+ dispatch(setSel(state, selection));
618
+ return true;
619
+ }
620
+ function rangeEnd(range, forward) {
621
+ return EditorSelection.cursor(forward ? range.to : range.from);
622
+ }
623
+ function cursorByChar(view, forward) {
624
+ return moveSel(view, range => range.empty ? view.moveByChar(range, forward) : rangeEnd(range, forward));
625
+ }
626
+ function ltrAtCursor(view) {
627
+ return view.textDirectionAt(view.state.selection.main.head) == Direction.LTR;
628
+ }
629
+ /**
630
+ Move the selection one character to the left (which is backward in
631
+ left-to-right text, forward in right-to-left text).
632
+ */
633
+ const cursorCharLeft = view => cursorByChar(view, !ltrAtCursor(view));
634
+ /**
635
+ Move the selection one character to the right.
636
+ */
637
+ const cursorCharRight = view => cursorByChar(view, ltrAtCursor(view));
638
+ function cursorByGroup(view, forward) {
639
+ return moveSel(view, range => range.empty ? view.moveByGroup(range, forward) : rangeEnd(range, forward));
640
+ }
641
+ /**
642
+ Move the selection to the left across one group of word or
643
+ non-word (but also non-space) characters.
644
+ */
645
+ const cursorGroupLeft = view => cursorByGroup(view, !ltrAtCursor(view));
646
+ /**
647
+ Move the selection one group to the right.
648
+ */
649
+ const cursorGroupRight = view => cursorByGroup(view, ltrAtCursor(view));
650
+ function interestingNode(state, node, bracketProp) {
651
+ if (node.type.prop(bracketProp)) return true;
652
+ let len = node.to - node.from;
653
+ return len && (len > 2 || /[^\s,.;:]/.test(state.sliceDoc(node.from, node.to))) || node.firstChild;
654
+ }
655
+ function moveBySyntax(state, start, forward) {
656
+ let pos = syntaxTree(state).resolveInner(start.head);
657
+ let bracketProp = forward ? NodeProp.closedBy : NodeProp.openedBy;
658
+ // Scan forward through child nodes to see if there's an interesting
659
+ // node ahead.
660
+ for (let at = start.head;;) {
661
+ let next = forward ? pos.childAfter(at) : pos.childBefore(at);
662
+ if (!next) break;
663
+ if (interestingNode(state, next, bracketProp)) pos = next;else at = forward ? next.to : next.from;
664
+ }
665
+ let bracket = pos.type.prop(bracketProp),
666
+ match,
667
+ newPos;
668
+ if (bracket && (match = forward ? matchBrackets(state, pos.from, 1) : matchBrackets(state, pos.to, -1)) && match.matched) newPos = forward ? match.end.to : match.end.from;else newPos = forward ? pos.to : pos.from;
669
+ return EditorSelection.cursor(newPos, forward ? -1 : 1);
670
+ }
671
+ /**
672
+ Move the cursor over the next syntactic element to the left.
673
+ */
674
+ const cursorSyntaxLeft = view => moveSel(view, range => moveBySyntax(view.state, range, !ltrAtCursor(view)));
675
+ /**
676
+ Move the cursor over the next syntactic element to the right.
677
+ */
678
+ const cursorSyntaxRight = view => moveSel(view, range => moveBySyntax(view.state, range, ltrAtCursor(view)));
679
+ function cursorByLine(view, forward) {
680
+ return moveSel(view, range => {
681
+ if (!range.empty) return rangeEnd(range, forward);
682
+ let moved = view.moveVertically(range, forward);
683
+ return moved.head != range.head ? moved : view.moveToLineBoundary(range, forward);
684
+ });
685
+ }
686
+ /**
687
+ Move the selection one line up.
688
+ */
689
+ const cursorLineUp = view => cursorByLine(view, false);
690
+ /**
691
+ Move the selection one line down.
692
+ */
693
+ const cursorLineDown = view => cursorByLine(view, true);
694
+ function pageInfo(view) {
695
+ let selfScroll = view.scrollDOM.clientHeight < view.scrollDOM.scrollHeight - 2;
696
+ let marginTop = 0,
697
+ marginBottom = 0,
698
+ height;
699
+ if (selfScroll) {
700
+ for (let source of view.state.facet(EditorView.scrollMargins)) {
701
+ let margins = source(view);
702
+ if (margins === null || margins === void 0 ? void 0 : margins.top) marginTop = Math.max(margins === null || margins === void 0 ? void 0 : margins.top, marginTop);
703
+ if (margins === null || margins === void 0 ? void 0 : margins.bottom) marginBottom = Math.max(margins === null || margins === void 0 ? void 0 : margins.bottom, marginBottom);
704
+ }
705
+ height = view.scrollDOM.clientHeight - marginTop - marginBottom;
706
+ } else {
707
+ height = (view.dom.ownerDocument.defaultView || window).innerHeight;
708
+ }
709
+ return {
710
+ marginTop,
711
+ marginBottom,
712
+ selfScroll,
713
+ height: Math.max(view.defaultLineHeight, height - 5)
714
+ };
715
+ }
716
+ function cursorByPage(view, forward) {
717
+ let page = pageInfo(view);
718
+ let {
719
+ state
720
+ } = view,
721
+ selection = updateSel(state.selection, range => {
722
+ return range.empty ? view.moveVertically(range, forward, page.height) : rangeEnd(range, forward);
723
+ });
724
+ if (selection.eq(state.selection)) return false;
725
+ let effect;
726
+ if (page.selfScroll) {
727
+ let startPos = view.coordsAtPos(state.selection.main.head);
728
+ let scrollRect = view.scrollDOM.getBoundingClientRect();
729
+ let scrollTop = scrollRect.top + page.marginTop,
730
+ scrollBottom = scrollRect.bottom - page.marginBottom;
731
+ if (startPos && startPos.top > scrollTop && startPos.bottom < scrollBottom) effect = EditorView.scrollIntoView(selection.main.head, {
732
+ y: "start",
733
+ yMargin: startPos.top - scrollTop
734
+ });
735
+ }
736
+ view.dispatch(setSel(state, selection), {
737
+ effects: effect
738
+ });
739
+ return true;
740
+ }
741
+ /**
742
+ Move the selection one page up.
743
+ */
744
+ const cursorPageUp = view => cursorByPage(view, false);
745
+ /**
746
+ Move the selection one page down.
747
+ */
748
+ const cursorPageDown = view => cursorByPage(view, true);
749
+ function moveByLineBoundary(view, start, forward) {
750
+ let line = view.lineBlockAt(start.head),
751
+ moved = view.moveToLineBoundary(start, forward);
752
+ if (moved.head == start.head && moved.head != (forward ? line.to : line.from)) moved = view.moveToLineBoundary(start, forward, false);
753
+ if (!forward && moved.head == line.from && line.length) {
754
+ let space = /^\s*/.exec(view.state.sliceDoc(line.from, Math.min(line.from + 100, line.to)))[0].length;
755
+ if (space && start.head != line.from + space) moved = EditorSelection.cursor(line.from + space);
756
+ }
757
+ return moved;
758
+ }
759
+ /**
760
+ Move the selection to the next line wrap point, or to the end of
761
+ the line if there isn't one left on this line.
762
+ */
763
+ const cursorLineBoundaryForward = view => moveSel(view, range => moveByLineBoundary(view, range, true));
764
+ /**
765
+ Move the selection to previous line wrap point, or failing that to
766
+ the start of the line. If the line is indented, and the cursor
767
+ isn't already at the end of the indentation, this will move to the
768
+ end of the indentation instead of the start of the line.
769
+ */
770
+ const cursorLineBoundaryBackward = view => moveSel(view, range => moveByLineBoundary(view, range, false));
771
+ /**
772
+ Move the selection one line wrap point to the left.
773
+ */
774
+ const cursorLineBoundaryLeft = view => moveSel(view, range => moveByLineBoundary(view, range, !ltrAtCursor(view)));
775
+ /**
776
+ Move the selection one line wrap point to the right.
777
+ */
778
+ const cursorLineBoundaryRight = view => moveSel(view, range => moveByLineBoundary(view, range, ltrAtCursor(view)));
779
+ /**
780
+ Move the selection to the start of the line.
781
+ */
782
+ const cursorLineStart = view => moveSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).from, 1));
783
+ /**
784
+ Move the selection to the end of the line.
785
+ */
786
+ const cursorLineEnd = view => moveSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).to, -1));
787
+ function toMatchingBracket(state, dispatch, extend) {
788
+ let found = false,
789
+ selection = updateSel(state.selection, range => {
790
+ let matching = matchBrackets(state, range.head, -1) || matchBrackets(state, range.head, 1) || range.head > 0 && matchBrackets(state, range.head - 1, 1) || range.head < state.doc.length && matchBrackets(state, range.head + 1, -1);
791
+ if (!matching || !matching.end) return range;
792
+ found = true;
793
+ let head = matching.start.from == range.head ? matching.end.to : matching.end.from;
794
+ return extend ? EditorSelection.range(range.anchor, head) : EditorSelection.cursor(head);
795
+ });
796
+ if (!found) return false;
797
+ dispatch(setSel(state, selection));
798
+ return true;
799
+ }
800
+ /**
801
+ Move the selection to the bracket matching the one it is currently
802
+ on, if any.
803
+ */
804
+ const cursorMatchingBracket = ({
805
+ state,
806
+ dispatch
807
+ }) => toMatchingBracket(state, dispatch, false);
808
+ function extendSel(view, how) {
809
+ let selection = updateSel(view.state.selection, range => {
810
+ let head = how(range);
811
+ return EditorSelection.range(range.anchor, head.head, head.goalColumn, head.bidiLevel || undefined);
812
+ });
813
+ if (selection.eq(view.state.selection)) return false;
814
+ view.dispatch(setSel(view.state, selection));
815
+ return true;
816
+ }
817
+ function selectByChar(view, forward) {
818
+ return extendSel(view, range => view.moveByChar(range, forward));
819
+ }
820
+ /**
821
+ Move the selection head one character to the left, while leaving
822
+ the anchor in place.
823
+ */
824
+ const selectCharLeft = view => selectByChar(view, !ltrAtCursor(view));
825
+ /**
826
+ Move the selection head one character to the right.
827
+ */
828
+ const selectCharRight = view => selectByChar(view, ltrAtCursor(view));
829
+ function selectByGroup(view, forward) {
830
+ return extendSel(view, range => view.moveByGroup(range, forward));
831
+ }
832
+ /**
833
+ Move the selection head one [group](https://codemirror.net/6/docs/ref/#commands.cursorGroupLeft) to
834
+ the left.
835
+ */
836
+ const selectGroupLeft = view => selectByGroup(view, !ltrAtCursor(view));
837
+ /**
838
+ Move the selection head one group to the right.
839
+ */
840
+ const selectGroupRight = view => selectByGroup(view, ltrAtCursor(view));
841
+ /**
842
+ Move the selection head over the next syntactic element to the left.
843
+ */
844
+ const selectSyntaxLeft = view => extendSel(view, range => moveBySyntax(view.state, range, !ltrAtCursor(view)));
845
+ /**
846
+ Move the selection head over the next syntactic element to the right.
847
+ */
848
+ const selectSyntaxRight = view => extendSel(view, range => moveBySyntax(view.state, range, ltrAtCursor(view)));
849
+ function selectByLine(view, forward) {
850
+ return extendSel(view, range => view.moveVertically(range, forward));
851
+ }
852
+ /**
853
+ Move the selection head one line up.
854
+ */
855
+ const selectLineUp = view => selectByLine(view, false);
856
+ /**
857
+ Move the selection head one line down.
858
+ */
859
+ const selectLineDown = view => selectByLine(view, true);
860
+ function selectByPage(view, forward) {
861
+ return extendSel(view, range => view.moveVertically(range, forward, pageInfo(view).height));
862
+ }
863
+ /**
864
+ Move the selection head one page up.
865
+ */
866
+ const selectPageUp = view => selectByPage(view, false);
867
+ /**
868
+ Move the selection head one page down.
869
+ */
870
+ const selectPageDown = view => selectByPage(view, true);
871
+ /**
872
+ Move the selection head to the next line boundary.
873
+ */
874
+ const selectLineBoundaryForward = view => extendSel(view, range => moveByLineBoundary(view, range, true));
875
+ /**
876
+ Move the selection head to the previous line boundary.
877
+ */
878
+ const selectLineBoundaryBackward = view => extendSel(view, range => moveByLineBoundary(view, range, false));
879
+ /**
880
+ Move the selection head one line boundary to the left.
881
+ */
882
+ const selectLineBoundaryLeft = view => extendSel(view, range => moveByLineBoundary(view, range, !ltrAtCursor(view)));
883
+ /**
884
+ Move the selection head one line boundary to the right.
885
+ */
886
+ const selectLineBoundaryRight = view => extendSel(view, range => moveByLineBoundary(view, range, ltrAtCursor(view)));
887
+ /**
888
+ Move the selection head to the start of the line.
889
+ */
890
+ const selectLineStart = view => extendSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).from));
891
+ /**
892
+ Move the selection head to the end of the line.
893
+ */
894
+ const selectLineEnd = view => extendSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).to));
895
+ /**
896
+ Move the selection to the start of the document.
897
+ */
898
+ const cursorDocStart = ({
899
+ state,
900
+ dispatch
901
+ }) => {
902
+ dispatch(setSel(state, {
903
+ anchor: 0
904
+ }));
905
+ return true;
906
+ };
907
+ /**
908
+ Move the selection to the end of the document.
909
+ */
910
+ const cursorDocEnd = ({
911
+ state,
912
+ dispatch
913
+ }) => {
914
+ dispatch(setSel(state, {
915
+ anchor: state.doc.length
916
+ }));
917
+ return true;
918
+ };
919
+ /**
920
+ Move the selection head to the start of the document.
921
+ */
922
+ const selectDocStart = ({
923
+ state,
924
+ dispatch
925
+ }) => {
926
+ dispatch(setSel(state, {
927
+ anchor: state.selection.main.anchor,
928
+ head: 0
929
+ }));
930
+ return true;
931
+ };
932
+ /**
933
+ Move the selection head to the end of the document.
934
+ */
935
+ const selectDocEnd = ({
936
+ state,
937
+ dispatch
938
+ }) => {
939
+ dispatch(setSel(state, {
940
+ anchor: state.selection.main.anchor,
941
+ head: state.doc.length
942
+ }));
943
+ return true;
944
+ };
945
+ /**
946
+ Select the entire document.
947
+ */
948
+ const selectAll = ({
949
+ state,
950
+ dispatch
951
+ }) => {
952
+ dispatch(state.update({
953
+ selection: {
954
+ anchor: 0,
955
+ head: state.doc.length
956
+ },
957
+ userEvent: "select"
958
+ }));
959
+ return true;
960
+ };
961
+ /**
962
+ Expand the selection to cover entire lines.
963
+ */
964
+ const selectLine = ({
965
+ state,
966
+ dispatch
967
+ }) => {
968
+ let ranges = selectedLineBlocks(state).map(({
969
+ from,
970
+ to
971
+ }) => EditorSelection.range(from, Math.min(to + 1, state.doc.length)));
972
+ dispatch(state.update({
973
+ selection: EditorSelection.create(ranges),
974
+ userEvent: "select"
975
+ }));
976
+ return true;
977
+ };
978
+ /**
979
+ Select the next syntactic construct that is larger than the
980
+ selection. Note that this will only work insofar as the language
981
+ [provider](https://codemirror.net/6/docs/ref/#language.language) you use builds up a full
982
+ syntax tree.
983
+ */
984
+ const selectParentSyntax = ({
985
+ state,
986
+ dispatch
987
+ }) => {
988
+ let selection = updateSel(state.selection, range => {
989
+ var _a;
990
+ let context = syntaxTree(state).resolveInner(range.head, 1);
991
+ while (!(context.from < range.from && context.to >= range.to || context.to > range.to && context.from <= range.from || !((_a = context.parent) === null || _a === void 0 ? void 0 : _a.parent))) context = context.parent;
992
+ return EditorSelection.range(context.to, context.from);
993
+ });
994
+ dispatch(setSel(state, selection));
995
+ return true;
996
+ };
997
+ /**
998
+ Simplify the current selection. When multiple ranges are selected,
999
+ reduce it to its main range. Otherwise, if the selection is
1000
+ non-empty, convert it to a cursor selection.
1001
+ */
1002
+ const simplifySelection = ({
1003
+ state,
1004
+ dispatch
1005
+ }) => {
1006
+ let cur = state.selection,
1007
+ selection = null;
1008
+ if (cur.ranges.length > 1) selection = EditorSelection.create([cur.main]);else if (!cur.main.empty) selection = EditorSelection.create([EditorSelection.cursor(cur.main.head)]);
1009
+ if (!selection) return false;
1010
+ dispatch(setSel(state, selection));
1011
+ return true;
1012
+ };
1013
+ function deleteBy(target, by) {
1014
+ if (target.state.readOnly) return false;
1015
+ let event = "delete.selection",
1016
+ {
1017
+ state
1018
+ } = target;
1019
+ let changes = state.changeByRange(range => {
1020
+ let {
1021
+ from,
1022
+ to
1023
+ } = range;
1024
+ if (from == to) {
1025
+ let towards = by(from);
1026
+ if (towards < from) {
1027
+ event = "delete.backward";
1028
+ towards = skipAtomic(target, towards, false);
1029
+ } else if (towards > from) {
1030
+ event = "delete.forward";
1031
+ towards = skipAtomic(target, towards, true);
1032
+ }
1033
+ from = Math.min(from, towards);
1034
+ to = Math.max(to, towards);
1035
+ } else {
1036
+ from = skipAtomic(target, from, false);
1037
+ to = skipAtomic(target, to, true);
1038
+ }
1039
+ return from == to ? {
1040
+ range
1041
+ } : {
1042
+ changes: {
1043
+ from,
1044
+ to
1045
+ },
1046
+ range: EditorSelection.cursor(from)
1047
+ };
1048
+ });
1049
+ if (changes.changes.empty) return false;
1050
+ target.dispatch(state.update(changes, {
1051
+ scrollIntoView: true,
1052
+ userEvent: event,
1053
+ effects: event == "delete.selection" ? EditorView.announce.of(state.phrase("Selection deleted")) : undefined
1054
+ }));
1055
+ return true;
1056
+ }
1057
+ function skipAtomic(target, pos, forward) {
1058
+ if (target instanceof EditorView) for (let ranges of target.state.facet(EditorView.atomicRanges).map(f => f(target))) ranges.between(pos, pos, (from, to) => {
1059
+ if (from < pos && to > pos) pos = forward ? to : from;
1060
+ });
1061
+ return pos;
1062
+ }
1063
+ const deleteByChar = (target, forward) => deleteBy(target, pos => {
1064
+ let {
1065
+ state
1066
+ } = target,
1067
+ line = state.doc.lineAt(pos),
1068
+ before,
1069
+ targetPos;
1070
+ if (!forward && pos > line.from && pos < line.from + 200 && !/[^ \t]/.test(before = line.text.slice(0, pos - line.from))) {
1071
+ if (before[before.length - 1] == "\t") return pos - 1;
1072
+ let col = countColumn(before, state.tabSize),
1073
+ drop = col % getIndentUnit(state) || getIndentUnit(state);
1074
+ for (let i = 0; i < drop && before[before.length - 1 - i] == " "; i++) pos--;
1075
+ targetPos = pos;
1076
+ } else {
1077
+ targetPos = findClusterBreak(line.text, pos - line.from, forward, forward) + line.from;
1078
+ if (targetPos == pos && line.number != (forward ? state.doc.lines : 1)) targetPos += forward ? 1 : -1;
1079
+ }
1080
+ return targetPos;
1081
+ });
1082
+ /**
1083
+ Delete the selection, or, for cursor selections, the character
1084
+ before the cursor.
1085
+ */
1086
+ const deleteCharBackward = view => deleteByChar(view, false);
1087
+ /**
1088
+ Delete the selection or the character after the cursor.
1089
+ */
1090
+ const deleteCharForward = view => deleteByChar(view, true);
1091
+ const deleteByGroup = (target, forward) => deleteBy(target, start => {
1092
+ let pos = start,
1093
+ {
1094
+ state
1095
+ } = target,
1096
+ line = state.doc.lineAt(pos);
1097
+ let categorize = state.charCategorizer(pos);
1098
+ for (let cat = null;;) {
1099
+ if (pos == (forward ? line.to : line.from)) {
1100
+ if (pos == start && line.number != (forward ? state.doc.lines : 1)) pos += forward ? 1 : -1;
1101
+ break;
1102
+ }
1103
+ let next = findClusterBreak(line.text, pos - line.from, forward) + line.from;
1104
+ let nextChar = line.text.slice(Math.min(pos, next) - line.from, Math.max(pos, next) - line.from);
1105
+ let nextCat = categorize(nextChar);
1106
+ if (cat != null && nextCat != cat) break;
1107
+ if (nextChar != " " || pos != start) cat = nextCat;
1108
+ pos = next;
1109
+ }
1110
+ return pos;
1111
+ });
1112
+ /**
1113
+ Delete the selection or backward until the end of the next
1114
+ [group](https://codemirror.net/6/docs/ref/#view.EditorView.moveByGroup), only skipping groups of
1115
+ whitespace when they consist of a single space.
1116
+ */
1117
+ const deleteGroupBackward = target => deleteByGroup(target, false);
1118
+ /**
1119
+ Delete the selection or forward until the end of the next group.
1120
+ */
1121
+ const deleteGroupForward = target => deleteByGroup(target, true);
1122
+ /**
1123
+ Delete the selection, or, if it is a cursor selection, delete to
1124
+ the end of the line. If the cursor is directly at the end of the
1125
+ line, delete the line break after it.
1126
+ */
1127
+ const deleteToLineEnd = view => deleteBy(view, pos => {
1128
+ let lineEnd = view.lineBlockAt(pos).to;
1129
+ return pos < lineEnd ? lineEnd : Math.min(view.state.doc.length, pos + 1);
1130
+ });
1131
+ /**
1132
+ Delete the selection, or, if it is a cursor selection, delete to
1133
+ the start of the line. If the cursor is directly at the start of the
1134
+ line, delete the line break before it.
1135
+ */
1136
+ const deleteToLineStart = view => deleteBy(view, pos => {
1137
+ let lineStart = view.lineBlockAt(pos).from;
1138
+ return pos > lineStart ? lineStart : Math.max(0, pos - 1);
1139
+ });
1140
+ /**
1141
+ Replace each selection range with a line break, leaving the cursor
1142
+ on the line before the break.
1143
+ */
1144
+ const splitLine = ({
1145
+ state,
1146
+ dispatch
1147
+ }) => {
1148
+ if (state.readOnly) return false;
1149
+ let changes = state.changeByRange(range => {
1150
+ return {
1151
+ changes: {
1152
+ from: range.from,
1153
+ to: range.to,
1154
+ insert: Text.of(["", ""])
1155
+ },
1156
+ range: EditorSelection.cursor(range.from)
1157
+ };
1158
+ });
1159
+ dispatch(state.update(changes, {
1160
+ scrollIntoView: true,
1161
+ userEvent: "input"
1162
+ }));
1163
+ return true;
1164
+ };
1165
+ /**
1166
+ Flip the characters before and after the cursor(s).
1167
+ */
1168
+ const transposeChars = ({
1169
+ state,
1170
+ dispatch
1171
+ }) => {
1172
+ if (state.readOnly) return false;
1173
+ let changes = state.changeByRange(range => {
1174
+ if (!range.empty || range.from == 0 || range.from == state.doc.length) return {
1175
+ range
1176
+ };
1177
+ let pos = range.from,
1178
+ line = state.doc.lineAt(pos);
1179
+ let from = pos == line.from ? pos - 1 : findClusterBreak(line.text, pos - line.from, false) + line.from;
1180
+ let to = pos == line.to ? pos + 1 : findClusterBreak(line.text, pos - line.from, true) + line.from;
1181
+ return {
1182
+ changes: {
1183
+ from,
1184
+ to,
1185
+ insert: state.doc.slice(pos, to).append(state.doc.slice(from, pos))
1186
+ },
1187
+ range: EditorSelection.cursor(to)
1188
+ };
1189
+ });
1190
+ if (changes.changes.empty) return false;
1191
+ dispatch(state.update(changes, {
1192
+ scrollIntoView: true,
1193
+ userEvent: "move.character"
1194
+ }));
1195
+ return true;
1196
+ };
1197
+ function selectedLineBlocks(state) {
1198
+ let blocks = [],
1199
+ upto = -1;
1200
+ for (let range of state.selection.ranges) {
1201
+ let startLine = state.doc.lineAt(range.from),
1202
+ endLine = state.doc.lineAt(range.to);
1203
+ if (!range.empty && range.to == endLine.from) endLine = state.doc.lineAt(range.to - 1);
1204
+ if (upto >= startLine.number) {
1205
+ let prev = blocks[blocks.length - 1];
1206
+ prev.to = endLine.to;
1207
+ prev.ranges.push(range);
1208
+ } else {
1209
+ blocks.push({
1210
+ from: startLine.from,
1211
+ to: endLine.to,
1212
+ ranges: [range]
1213
+ });
1214
+ }
1215
+ upto = endLine.number + 1;
1216
+ }
1217
+ return blocks;
1218
+ }
1219
+ function moveLine(state, dispatch, forward) {
1220
+ if (state.readOnly) return false;
1221
+ let changes = [],
1222
+ ranges = [];
1223
+ for (let block of selectedLineBlocks(state)) {
1224
+ if (forward ? block.to == state.doc.length : block.from == 0) continue;
1225
+ let nextLine = state.doc.lineAt(forward ? block.to + 1 : block.from - 1);
1226
+ let size = nextLine.length + 1;
1227
+ if (forward) {
1228
+ changes.push({
1229
+ from: block.to,
1230
+ to: nextLine.to
1231
+ }, {
1232
+ from: block.from,
1233
+ insert: nextLine.text + state.lineBreak
1234
+ });
1235
+ for (let r of block.ranges) ranges.push(EditorSelection.range(Math.min(state.doc.length, r.anchor + size), Math.min(state.doc.length, r.head + size)));
1236
+ } else {
1237
+ changes.push({
1238
+ from: nextLine.from,
1239
+ to: block.from
1240
+ }, {
1241
+ from: block.to,
1242
+ insert: state.lineBreak + nextLine.text
1243
+ });
1244
+ for (let r of block.ranges) ranges.push(EditorSelection.range(r.anchor - size, r.head - size));
1245
+ }
1246
+ }
1247
+ if (!changes.length) return false;
1248
+ dispatch(state.update({
1249
+ changes,
1250
+ scrollIntoView: true,
1251
+ selection: EditorSelection.create(ranges, state.selection.mainIndex),
1252
+ userEvent: "move.line"
1253
+ }));
1254
+ return true;
1255
+ }
1256
+ /**
1257
+ Move the selected lines up one line.
1258
+ */
1259
+ const moveLineUp = ({
1260
+ state,
1261
+ dispatch
1262
+ }) => moveLine(state, dispatch, false);
1263
+ /**
1264
+ Move the selected lines down one line.
1265
+ */
1266
+ const moveLineDown = ({
1267
+ state,
1268
+ dispatch
1269
+ }) => moveLine(state, dispatch, true);
1270
+ function copyLine(state, dispatch, forward) {
1271
+ if (state.readOnly) return false;
1272
+ let changes = [];
1273
+ for (let block of selectedLineBlocks(state)) {
1274
+ if (forward) changes.push({
1275
+ from: block.from,
1276
+ insert: state.doc.slice(block.from, block.to) + state.lineBreak
1277
+ });else changes.push({
1278
+ from: block.to,
1279
+ insert: state.lineBreak + state.doc.slice(block.from, block.to)
1280
+ });
1281
+ }
1282
+ dispatch(state.update({
1283
+ changes,
1284
+ scrollIntoView: true,
1285
+ userEvent: "input.copyline"
1286
+ }));
1287
+ return true;
1288
+ }
1289
+ /**
1290
+ Create a copy of the selected lines. Keep the selection in the top copy.
1291
+ */
1292
+ const copyLineUp = ({
1293
+ state,
1294
+ dispatch
1295
+ }) => copyLine(state, dispatch, false);
1296
+ /**
1297
+ Create a copy of the selected lines. Keep the selection in the bottom copy.
1298
+ */
1299
+ const copyLineDown = ({
1300
+ state,
1301
+ dispatch
1302
+ }) => copyLine(state, dispatch, true);
1303
+ /**
1304
+ Delete selected lines.
1305
+ */
1306
+ const deleteLine = view => {
1307
+ if (view.state.readOnly) return false;
1308
+ let {
1309
+ state
1310
+ } = view,
1311
+ changes = state.changes(selectedLineBlocks(state).map(({
1312
+ from,
1313
+ to
1314
+ }) => {
1315
+ if (from > 0) from--;else if (to < state.doc.length) to++;
1316
+ return {
1317
+ from,
1318
+ to
1319
+ };
1320
+ }));
1321
+ let selection = updateSel(state.selection, range => view.moveVertically(range, true)).map(changes);
1322
+ view.dispatch({
1323
+ changes,
1324
+ selection,
1325
+ scrollIntoView: true,
1326
+ userEvent: "delete.line"
1327
+ });
1328
+ return true;
1329
+ };
1330
+ function isBetweenBrackets(state, pos) {
1331
+ if (/\(\)|\[\]|\{\}/.test(state.sliceDoc(pos - 1, pos + 1))) return {
1332
+ from: pos,
1333
+ to: pos
1334
+ };
1335
+ let context = syntaxTree(state).resolveInner(pos);
1336
+ let before = context.childBefore(pos),
1337
+ after = context.childAfter(pos),
1338
+ closedBy;
1339
+ if (before && after && before.to <= pos && after.from >= pos && (closedBy = before.type.prop(NodeProp.closedBy)) && closedBy.indexOf(after.name) > -1 && state.doc.lineAt(before.to).from == state.doc.lineAt(after.from).from) return {
1340
+ from: before.to,
1341
+ to: after.from
1342
+ };
1343
+ return null;
1344
+ }
1345
+ /**
1346
+ Replace the selection with a newline and indent the newly created
1347
+ line(s). If the current line consists only of whitespace, this
1348
+ will also delete that whitespace. When the cursor is between
1349
+ matching brackets, an additional newline will be inserted after
1350
+ the cursor.
1351
+ */
1352
+ const insertNewlineAndIndent = /*@__PURE__*/newlineAndIndent(false);
1353
+ /**
1354
+ Create a blank, indented line below the current line.
1355
+ */
1356
+ const insertBlankLine = /*@__PURE__*/newlineAndIndent(true);
1357
+ function newlineAndIndent(atEof) {
1358
+ return ({
1359
+ state,
1360
+ dispatch
1361
+ }) => {
1362
+ if (state.readOnly) return false;
1363
+ let changes = state.changeByRange(range => {
1364
+ let {
1365
+ from,
1366
+ to
1367
+ } = range,
1368
+ line = state.doc.lineAt(from);
1369
+ let explode = !atEof && from == to && isBetweenBrackets(state, from);
1370
+ if (atEof) from = to = (to <= line.to ? line : state.doc.lineAt(to)).to;
1371
+ let cx = new IndentContext(state, {
1372
+ simulateBreak: from,
1373
+ simulateDoubleBreak: !!explode
1374
+ });
1375
+ let indent = getIndentation(cx, from);
1376
+ if (indent == null) indent = /^\s*/.exec(state.doc.lineAt(from).text)[0].length;
1377
+ while (to < line.to && /\s/.test(line.text[to - line.from])) to++;
1378
+ if (explode) ({
1379
+ from,
1380
+ to
1381
+ } = explode);else if (from > line.from && from < line.from + 100 && !/\S/.test(line.text.slice(0, from))) from = line.from;
1382
+ let insert = ["", indentString(state, indent)];
1383
+ if (explode) insert.push(indentString(state, cx.lineIndent(line.from, -1)));
1384
+ return {
1385
+ changes: {
1386
+ from,
1387
+ to,
1388
+ insert: Text.of(insert)
1389
+ },
1390
+ range: EditorSelection.cursor(from + 1 + insert[1].length)
1391
+ };
1392
+ });
1393
+ dispatch(state.update(changes, {
1394
+ scrollIntoView: true,
1395
+ userEvent: "input"
1396
+ }));
1397
+ return true;
1398
+ };
1399
+ }
1400
+ function changeBySelectedLine(state, f) {
1401
+ let atLine = -1;
1402
+ return state.changeByRange(range => {
1403
+ let changes = [];
1404
+ for (let pos = range.from; pos <= range.to;) {
1405
+ let line = state.doc.lineAt(pos);
1406
+ if (line.number > atLine && (range.empty || range.to > line.from)) {
1407
+ f(line, changes, range);
1408
+ atLine = line.number;
1409
+ }
1410
+ pos = line.to + 1;
1411
+ }
1412
+ let changeSet = state.changes(changes);
1413
+ return {
1414
+ changes,
1415
+ range: EditorSelection.range(changeSet.mapPos(range.anchor, 1), changeSet.mapPos(range.head, 1))
1416
+ };
1417
+ });
1418
+ }
1419
+ /**
1420
+ Auto-indent the selected lines. This uses the [indentation service
1421
+ facet](https://codemirror.net/6/docs/ref/#language.indentService) as source for auto-indent
1422
+ information.
1423
+ */
1424
+ const indentSelection = ({
1425
+ state,
1426
+ dispatch
1427
+ }) => {
1428
+ if (state.readOnly) return false;
1429
+ let updated = Object.create(null);
1430
+ let context = new IndentContext(state, {
1431
+ overrideIndentation: start => {
1432
+ let found = updated[start];
1433
+ return found == null ? -1 : found;
1434
+ }
1435
+ });
1436
+ let changes = changeBySelectedLine(state, (line, changes, range) => {
1437
+ let indent = getIndentation(context, line.from);
1438
+ if (indent == null) return;
1439
+ if (!/\S/.test(line.text)) indent = 0;
1440
+ let cur = /^\s*/.exec(line.text)[0];
1441
+ let norm = indentString(state, indent);
1442
+ if (cur != norm || range.from < line.from + cur.length) {
1443
+ updated[line.from] = indent;
1444
+ changes.push({
1445
+ from: line.from,
1446
+ to: line.from + cur.length,
1447
+ insert: norm
1448
+ });
1449
+ }
1450
+ });
1451
+ if (!changes.changes.empty) dispatch(state.update(changes, {
1452
+ userEvent: "indent"
1453
+ }));
1454
+ return true;
1455
+ };
1456
+ /**
1457
+ Add a [unit](https://codemirror.net/6/docs/ref/#language.indentUnit) of indentation to all selected
1458
+ lines.
1459
+ */
1460
+ const indentMore = ({
1461
+ state,
1462
+ dispatch
1463
+ }) => {
1464
+ if (state.readOnly) return false;
1465
+ dispatch(state.update(changeBySelectedLine(state, (line, changes) => {
1466
+ changes.push({
1467
+ from: line.from,
1468
+ insert: state.facet(indentUnit)
1469
+ });
1470
+ }), {
1471
+ userEvent: "input.indent"
1472
+ }));
1473
+ return true;
1474
+ };
1475
+ /**
1476
+ Remove a [unit](https://codemirror.net/6/docs/ref/#language.indentUnit) of indentation from all
1477
+ selected lines.
1478
+ */
1479
+ const indentLess = ({
1480
+ state,
1481
+ dispatch
1482
+ }) => {
1483
+ if (state.readOnly) return false;
1484
+ dispatch(state.update(changeBySelectedLine(state, (line, changes) => {
1485
+ let space = /^\s*/.exec(line.text)[0];
1486
+ if (!space) return;
1487
+ let col = countColumn(space, state.tabSize),
1488
+ keep = 0;
1489
+ let insert = indentString(state, Math.max(0, col - getIndentUnit(state)));
1490
+ while (keep < space.length && keep < insert.length && space.charCodeAt(keep) == insert.charCodeAt(keep)) keep++;
1491
+ changes.push({
1492
+ from: line.from + keep,
1493
+ to: line.from + space.length,
1494
+ insert: insert.slice(keep)
1495
+ });
1496
+ }), {
1497
+ userEvent: "delete.dedent"
1498
+ }));
1499
+ return true;
1500
+ };
1501
+ /**
1502
+ Array of key bindings containing the Emacs-style bindings that are
1503
+ available on macOS by default.
1504
+
1505
+ - Ctrl-b: [`cursorCharLeft`](https://codemirror.net/6/docs/ref/#commands.cursorCharLeft) ([`selectCharLeft`](https://codemirror.net/6/docs/ref/#commands.selectCharLeft) with Shift)
1506
+ - Ctrl-f: [`cursorCharRight`](https://codemirror.net/6/docs/ref/#commands.cursorCharRight) ([`selectCharRight`](https://codemirror.net/6/docs/ref/#commands.selectCharRight) with Shift)
1507
+ - Ctrl-p: [`cursorLineUp`](https://codemirror.net/6/docs/ref/#commands.cursorLineUp) ([`selectLineUp`](https://codemirror.net/6/docs/ref/#commands.selectLineUp) with Shift)
1508
+ - Ctrl-n: [`cursorLineDown`](https://codemirror.net/6/docs/ref/#commands.cursorLineDown) ([`selectLineDown`](https://codemirror.net/6/docs/ref/#commands.selectLineDown) with Shift)
1509
+ - Ctrl-a: [`cursorLineStart`](https://codemirror.net/6/docs/ref/#commands.cursorLineStart) ([`selectLineStart`](https://codemirror.net/6/docs/ref/#commands.selectLineStart) with Shift)
1510
+ - Ctrl-e: [`cursorLineEnd`](https://codemirror.net/6/docs/ref/#commands.cursorLineEnd) ([`selectLineEnd`](https://codemirror.net/6/docs/ref/#commands.selectLineEnd) with Shift)
1511
+ - Ctrl-d: [`deleteCharForward`](https://codemirror.net/6/docs/ref/#commands.deleteCharForward)
1512
+ - Ctrl-h: [`deleteCharBackward`](https://codemirror.net/6/docs/ref/#commands.deleteCharBackward)
1513
+ - Ctrl-k: [`deleteToLineEnd`](https://codemirror.net/6/docs/ref/#commands.deleteToLineEnd)
1514
+ - Ctrl-Alt-h: [`deleteGroupBackward`](https://codemirror.net/6/docs/ref/#commands.deleteGroupBackward)
1515
+ - Ctrl-o: [`splitLine`](https://codemirror.net/6/docs/ref/#commands.splitLine)
1516
+ - Ctrl-t: [`transposeChars`](https://codemirror.net/6/docs/ref/#commands.transposeChars)
1517
+ - Ctrl-v: [`cursorPageDown`](https://codemirror.net/6/docs/ref/#commands.cursorPageDown)
1518
+ - Alt-v: [`cursorPageUp`](https://codemirror.net/6/docs/ref/#commands.cursorPageUp)
1519
+ */
1520
+ const emacsStyleKeymap = [{
1521
+ key: "Ctrl-b",
1522
+ run: cursorCharLeft,
1523
+ shift: selectCharLeft,
1524
+ preventDefault: true
1525
+ }, {
1526
+ key: "Ctrl-f",
1527
+ run: cursorCharRight,
1528
+ shift: selectCharRight
1529
+ }, {
1530
+ key: "Ctrl-p",
1531
+ run: cursorLineUp,
1532
+ shift: selectLineUp
1533
+ }, {
1534
+ key: "Ctrl-n",
1535
+ run: cursorLineDown,
1536
+ shift: selectLineDown
1537
+ }, {
1538
+ key: "Ctrl-a",
1539
+ run: cursorLineStart,
1540
+ shift: selectLineStart
1541
+ }, {
1542
+ key: "Ctrl-e",
1543
+ run: cursorLineEnd,
1544
+ shift: selectLineEnd
1545
+ }, {
1546
+ key: "Ctrl-d",
1547
+ run: deleteCharForward
1548
+ }, {
1549
+ key: "Ctrl-h",
1550
+ run: deleteCharBackward
1551
+ }, {
1552
+ key: "Ctrl-k",
1553
+ run: deleteToLineEnd
1554
+ }, {
1555
+ key: "Ctrl-Alt-h",
1556
+ run: deleteGroupBackward
1557
+ }, {
1558
+ key: "Ctrl-o",
1559
+ run: splitLine
1560
+ }, {
1561
+ key: "Ctrl-t",
1562
+ run: transposeChars
1563
+ }, {
1564
+ key: "Ctrl-v",
1565
+ run: cursorPageDown
1566
+ }];
1567
+ /**
1568
+ An array of key bindings closely sticking to platform-standard or
1569
+ widely used bindings. (This includes the bindings from
1570
+ [`emacsStyleKeymap`](https://codemirror.net/6/docs/ref/#commands.emacsStyleKeymap), with their `key`
1571
+ property changed to `mac`.)
1572
+
1573
+ - ArrowLeft: [`cursorCharLeft`](https://codemirror.net/6/docs/ref/#commands.cursorCharLeft) ([`selectCharLeft`](https://codemirror.net/6/docs/ref/#commands.selectCharLeft) with Shift)
1574
+ - ArrowRight: [`cursorCharRight`](https://codemirror.net/6/docs/ref/#commands.cursorCharRight) ([`selectCharRight`](https://codemirror.net/6/docs/ref/#commands.selectCharRight) with Shift)
1575
+ - Ctrl-ArrowLeft (Alt-ArrowLeft on macOS): [`cursorGroupLeft`](https://codemirror.net/6/docs/ref/#commands.cursorGroupLeft) ([`selectGroupLeft`](https://codemirror.net/6/docs/ref/#commands.selectGroupLeft) with Shift)
1576
+ - Ctrl-ArrowRight (Alt-ArrowRight on macOS): [`cursorGroupRight`](https://codemirror.net/6/docs/ref/#commands.cursorGroupRight) ([`selectGroupRight`](https://codemirror.net/6/docs/ref/#commands.selectGroupRight) with Shift)
1577
+ - Cmd-ArrowLeft (on macOS): [`cursorLineStart`](https://codemirror.net/6/docs/ref/#commands.cursorLineStart) ([`selectLineStart`](https://codemirror.net/6/docs/ref/#commands.selectLineStart) with Shift)
1578
+ - Cmd-ArrowRight (on macOS): [`cursorLineEnd`](https://codemirror.net/6/docs/ref/#commands.cursorLineEnd) ([`selectLineEnd`](https://codemirror.net/6/docs/ref/#commands.selectLineEnd) with Shift)
1579
+ - ArrowUp: [`cursorLineUp`](https://codemirror.net/6/docs/ref/#commands.cursorLineUp) ([`selectLineUp`](https://codemirror.net/6/docs/ref/#commands.selectLineUp) with Shift)
1580
+ - ArrowDown: [`cursorLineDown`](https://codemirror.net/6/docs/ref/#commands.cursorLineDown) ([`selectLineDown`](https://codemirror.net/6/docs/ref/#commands.selectLineDown) with Shift)
1581
+ - Cmd-ArrowUp (on macOS): [`cursorDocStart`](https://codemirror.net/6/docs/ref/#commands.cursorDocStart) ([`selectDocStart`](https://codemirror.net/6/docs/ref/#commands.selectDocStart) with Shift)
1582
+ - Cmd-ArrowDown (on macOS): [`cursorDocEnd`](https://codemirror.net/6/docs/ref/#commands.cursorDocEnd) ([`selectDocEnd`](https://codemirror.net/6/docs/ref/#commands.selectDocEnd) with Shift)
1583
+ - Ctrl-ArrowUp (on macOS): [`cursorPageUp`](https://codemirror.net/6/docs/ref/#commands.cursorPageUp) ([`selectPageUp`](https://codemirror.net/6/docs/ref/#commands.selectPageUp) with Shift)
1584
+ - Ctrl-ArrowDown (on macOS): [`cursorPageDown`](https://codemirror.net/6/docs/ref/#commands.cursorPageDown) ([`selectPageDown`](https://codemirror.net/6/docs/ref/#commands.selectPageDown) with Shift)
1585
+ - PageUp: [`cursorPageUp`](https://codemirror.net/6/docs/ref/#commands.cursorPageUp) ([`selectPageUp`](https://codemirror.net/6/docs/ref/#commands.selectPageUp) with Shift)
1586
+ - PageDown: [`cursorPageDown`](https://codemirror.net/6/docs/ref/#commands.cursorPageDown) ([`selectPageDown`](https://codemirror.net/6/docs/ref/#commands.selectPageDown) with Shift)
1587
+ - Home: [`cursorLineBoundaryBackward`](https://codemirror.net/6/docs/ref/#commands.cursorLineBoundaryBackward) ([`selectLineBoundaryBackward`](https://codemirror.net/6/docs/ref/#commands.selectLineBoundaryBackward) with Shift)
1588
+ - End: [`cursorLineBoundaryForward`](https://codemirror.net/6/docs/ref/#commands.cursorLineBoundaryForward) ([`selectLineBoundaryForward`](https://codemirror.net/6/docs/ref/#commands.selectLineBoundaryForward) with Shift)
1589
+ - Ctrl-Home (Cmd-Home on macOS): [`cursorDocStart`](https://codemirror.net/6/docs/ref/#commands.cursorDocStart) ([`selectDocStart`](https://codemirror.net/6/docs/ref/#commands.selectDocStart) with Shift)
1590
+ - Ctrl-End (Cmd-Home on macOS): [`cursorDocEnd`](https://codemirror.net/6/docs/ref/#commands.cursorDocEnd) ([`selectDocEnd`](https://codemirror.net/6/docs/ref/#commands.selectDocEnd) with Shift)
1591
+ - Enter: [`insertNewlineAndIndent`](https://codemirror.net/6/docs/ref/#commands.insertNewlineAndIndent)
1592
+ - Ctrl-a (Cmd-a on macOS): [`selectAll`](https://codemirror.net/6/docs/ref/#commands.selectAll)
1593
+ - Backspace: [`deleteCharBackward`](https://codemirror.net/6/docs/ref/#commands.deleteCharBackward)
1594
+ - Delete: [`deleteCharForward`](https://codemirror.net/6/docs/ref/#commands.deleteCharForward)
1595
+ - Ctrl-Backspace (Alt-Backspace on macOS): [`deleteGroupBackward`](https://codemirror.net/6/docs/ref/#commands.deleteGroupBackward)
1596
+ - Ctrl-Delete (Alt-Delete on macOS): [`deleteGroupForward`](https://codemirror.net/6/docs/ref/#commands.deleteGroupForward)
1597
+ - Cmd-Backspace (macOS): [`deleteToLineStart`](https://codemirror.net/6/docs/ref/#commands.deleteToLineStart).
1598
+ - Cmd-Delete (macOS): [`deleteToLineEnd`](https://codemirror.net/6/docs/ref/#commands.deleteToLineEnd).
1599
+ */
1600
+ const standardKeymap = /*@__PURE__*/[{
1601
+ key: "ArrowLeft",
1602
+ run: cursorCharLeft,
1603
+ shift: selectCharLeft,
1604
+ preventDefault: true
1605
+ }, {
1606
+ key: "Mod-ArrowLeft",
1607
+ mac: "Alt-ArrowLeft",
1608
+ run: cursorGroupLeft,
1609
+ shift: selectGroupLeft,
1610
+ preventDefault: true
1611
+ }, {
1612
+ mac: "Cmd-ArrowLeft",
1613
+ run: cursorLineBoundaryLeft,
1614
+ shift: selectLineBoundaryLeft,
1615
+ preventDefault: true
1616
+ }, {
1617
+ key: "ArrowRight",
1618
+ run: cursorCharRight,
1619
+ shift: selectCharRight,
1620
+ preventDefault: true
1621
+ }, {
1622
+ key: "Mod-ArrowRight",
1623
+ mac: "Alt-ArrowRight",
1624
+ run: cursorGroupRight,
1625
+ shift: selectGroupRight,
1626
+ preventDefault: true
1627
+ }, {
1628
+ mac: "Cmd-ArrowRight",
1629
+ run: cursorLineBoundaryRight,
1630
+ shift: selectLineBoundaryRight,
1631
+ preventDefault: true
1632
+ }, {
1633
+ key: "ArrowUp",
1634
+ run: cursorLineUp,
1635
+ shift: selectLineUp,
1636
+ preventDefault: true
1637
+ }, {
1638
+ mac: "Cmd-ArrowUp",
1639
+ run: cursorDocStart,
1640
+ shift: selectDocStart
1641
+ }, {
1642
+ mac: "Ctrl-ArrowUp",
1643
+ run: cursorPageUp,
1644
+ shift: selectPageUp
1645
+ }, {
1646
+ key: "ArrowDown",
1647
+ run: cursorLineDown,
1648
+ shift: selectLineDown,
1649
+ preventDefault: true
1650
+ }, {
1651
+ mac: "Cmd-ArrowDown",
1652
+ run: cursorDocEnd,
1653
+ shift: selectDocEnd
1654
+ }, {
1655
+ mac: "Ctrl-ArrowDown",
1656
+ run: cursorPageDown,
1657
+ shift: selectPageDown
1658
+ }, {
1659
+ key: "PageUp",
1660
+ run: cursorPageUp,
1661
+ shift: selectPageUp
1662
+ }, {
1663
+ key: "PageDown",
1664
+ run: cursorPageDown,
1665
+ shift: selectPageDown
1666
+ }, {
1667
+ key: "Home",
1668
+ run: cursorLineBoundaryBackward,
1669
+ shift: selectLineBoundaryBackward,
1670
+ preventDefault: true
1671
+ }, {
1672
+ key: "Mod-Home",
1673
+ run: cursorDocStart,
1674
+ shift: selectDocStart
1675
+ }, {
1676
+ key: "End",
1677
+ run: cursorLineBoundaryForward,
1678
+ shift: selectLineBoundaryForward,
1679
+ preventDefault: true
1680
+ }, {
1681
+ key: "Mod-End",
1682
+ run: cursorDocEnd,
1683
+ shift: selectDocEnd
1684
+ }, {
1685
+ key: "Enter",
1686
+ run: insertNewlineAndIndent
1687
+ }, {
1688
+ key: "Mod-a",
1689
+ run: selectAll
1690
+ }, {
1691
+ key: "Backspace",
1692
+ run: deleteCharBackward,
1693
+ shift: deleteCharBackward
1694
+ }, {
1695
+ key: "Delete",
1696
+ run: deleteCharForward
1697
+ }, {
1698
+ key: "Mod-Backspace",
1699
+ mac: "Alt-Backspace",
1700
+ run: deleteGroupBackward
1701
+ }, {
1702
+ key: "Mod-Delete",
1703
+ mac: "Alt-Delete",
1704
+ run: deleteGroupForward
1705
+ }, {
1706
+ mac: "Mod-Backspace",
1707
+ run: deleteToLineStart
1708
+ }, {
1709
+ mac: "Mod-Delete",
1710
+ run: deleteToLineEnd
1711
+ }].concat( /*@__PURE__*/emacsStyleKeymap.map(b => ({
1712
+ mac: b.key,
1713
+ run: b.run,
1714
+ shift: b.shift
1715
+ })));
1716
+ /**
1717
+ The default keymap. Includes all bindings from
1718
+ [`standardKeymap`](https://codemirror.net/6/docs/ref/#commands.standardKeymap) plus the following:
1719
+
1720
+ - Alt-ArrowLeft (Ctrl-ArrowLeft on macOS): [`cursorSyntaxLeft`](https://codemirror.net/6/docs/ref/#commands.cursorSyntaxLeft) ([`selectSyntaxLeft`](https://codemirror.net/6/docs/ref/#commands.selectSyntaxLeft) with Shift)
1721
+ - Alt-ArrowRight (Ctrl-ArrowRight on macOS): [`cursorSyntaxRight`](https://codemirror.net/6/docs/ref/#commands.cursorSyntaxRight) ([`selectSyntaxRight`](https://codemirror.net/6/docs/ref/#commands.selectSyntaxRight) with Shift)
1722
+ - Alt-ArrowUp: [`moveLineUp`](https://codemirror.net/6/docs/ref/#commands.moveLineUp)
1723
+ - Alt-ArrowDown: [`moveLineDown`](https://codemirror.net/6/docs/ref/#commands.moveLineDown)
1724
+ - Shift-Alt-ArrowUp: [`copyLineUp`](https://codemirror.net/6/docs/ref/#commands.copyLineUp)
1725
+ - Shift-Alt-ArrowDown: [`copyLineDown`](https://codemirror.net/6/docs/ref/#commands.copyLineDown)
1726
+ - Escape: [`simplifySelection`](https://codemirror.net/6/docs/ref/#commands.simplifySelection)
1727
+ - Ctrl-Enter (Comd-Enter on macOS): [`insertBlankLine`](https://codemirror.net/6/docs/ref/#commands.insertBlankLine)
1728
+ - Alt-l (Ctrl-l on macOS): [`selectLine`](https://codemirror.net/6/docs/ref/#commands.selectLine)
1729
+ - Ctrl-i (Cmd-i on macOS): [`selectParentSyntax`](https://codemirror.net/6/docs/ref/#commands.selectParentSyntax)
1730
+ - Ctrl-[ (Cmd-[ on macOS): [`indentLess`](https://codemirror.net/6/docs/ref/#commands.indentLess)
1731
+ - Ctrl-] (Cmd-] on macOS): [`indentMore`](https://codemirror.net/6/docs/ref/#commands.indentMore)
1732
+ - Ctrl-Alt-\\ (Cmd-Alt-\\ on macOS): [`indentSelection`](https://codemirror.net/6/docs/ref/#commands.indentSelection)
1733
+ - Shift-Ctrl-k (Shift-Cmd-k on macOS): [`deleteLine`](https://codemirror.net/6/docs/ref/#commands.deleteLine)
1734
+ - Shift-Ctrl-\\ (Shift-Cmd-\\ on macOS): [`cursorMatchingBracket`](https://codemirror.net/6/docs/ref/#commands.cursorMatchingBracket)
1735
+ - Ctrl-/ (Cmd-/ on macOS): [`toggleComment`](https://codemirror.net/6/docs/ref/#commands.toggleComment).
1736
+ - Shift-Alt-a: [`toggleBlockComment`](https://codemirror.net/6/docs/ref/#commands.toggleBlockComment).
1737
+ */
1738
+ const defaultKeymap = /*@__PURE__*/[{
1739
+ key: "Alt-ArrowLeft",
1740
+ mac: "Ctrl-ArrowLeft",
1741
+ run: cursorSyntaxLeft,
1742
+ shift: selectSyntaxLeft
1743
+ }, {
1744
+ key: "Alt-ArrowRight",
1745
+ mac: "Ctrl-ArrowRight",
1746
+ run: cursorSyntaxRight,
1747
+ shift: selectSyntaxRight
1748
+ }, {
1749
+ key: "Alt-ArrowUp",
1750
+ run: moveLineUp
1751
+ }, {
1752
+ key: "Shift-Alt-ArrowUp",
1753
+ run: copyLineUp
1754
+ }, {
1755
+ key: "Alt-ArrowDown",
1756
+ run: moveLineDown
1757
+ }, {
1758
+ key: "Shift-Alt-ArrowDown",
1759
+ run: copyLineDown
1760
+ }, {
1761
+ key: "Escape",
1762
+ run: simplifySelection
1763
+ }, {
1764
+ key: "Mod-Enter",
1765
+ run: insertBlankLine
1766
+ }, {
1767
+ key: "Alt-l",
1768
+ mac: "Ctrl-l",
1769
+ run: selectLine
1770
+ }, {
1771
+ key: "Mod-i",
1772
+ run: selectParentSyntax,
1773
+ preventDefault: true
1774
+ }, {
1775
+ key: "Mod-[",
1776
+ run: indentLess
1777
+ }, {
1778
+ key: "Mod-]",
1779
+ run: indentMore
1780
+ }, {
1781
+ key: "Mod-Alt-\\",
1782
+ run: indentSelection
1783
+ }, {
1784
+ key: "Shift-Mod-k",
1785
+ run: deleteLine
1786
+ }, {
1787
+ key: "Shift-Mod-\\",
1788
+ run: cursorMatchingBracket
1789
+ }, {
1790
+ key: "Mod-/",
1791
+ run: toggleComment
1792
+ }, {
1793
+ key: "Alt-A",
1794
+ run: toggleBlockComment
1795
+ }].concat(standardKeymap);
1796
+ /**
1797
+ A binding that binds Tab to [`indentMore`](https://codemirror.net/6/docs/ref/#commands.indentMore) and
1798
+ Shift-Tab to [`indentLess`](https://codemirror.net/6/docs/ref/#commands.indentLess).
1799
+ Please see the [Tab example](../../examples/tab/) before using
1800
+ this.
1801
+ */
1802
+ const indentWithTab = {
1803
+ key: "Tab",
1804
+ run: indentMore,
1805
+ shift: indentLess
1806
+ };
1807
+
1808
+ function crelt() {
1809
+ var elt = arguments[0];
1810
+ if (typeof elt == "string") elt = document.createElement(elt);
1811
+ var i = 1,
1812
+ next = arguments[1];
1813
+ if (next && typeof next == "object" && next.nodeType == null && !Array.isArray(next)) {
1814
+ for (var name in next) if (Object.prototype.hasOwnProperty.call(next, name)) {
1815
+ var value = next[name];
1816
+ if (typeof value == "string") elt.setAttribute(name, value);else if (value != null) elt[name] = value;
1817
+ }
1818
+ i++;
1819
+ }
1820
+ for (; i < arguments.length; i++) add(elt, arguments[i]);
1821
+ return elt;
1822
+ }
1823
+ function add(elt, child) {
1824
+ if (typeof child == "string") {
1825
+ elt.appendChild(document.createTextNode(child));
1826
+ } else if (child == null) ; else if (child.nodeType != null) {
1827
+ elt.appendChild(child);
1828
+ } else if (Array.isArray(child)) {
1829
+ for (var i = 0; i < child.length; i++) add(elt, child[i]);
1830
+ } else {
1831
+ throw new RangeError("Unsupported child node: " + child);
1832
+ }
1833
+ }
1834
+
1835
+ const basicNormalize = typeof String.prototype.normalize == "function" ? x => x.normalize("NFKD") : x => x;
1836
+ /**
1837
+ A search cursor provides an iterator over text matches in a
1838
+ document.
1839
+ */
1840
+ class SearchCursor {
1841
+ /**
1842
+ Create a text cursor. The query is the search string, `from` to
1843
+ `to` provides the region to search.
1844
+
1845
+ When `normalize` is given, it will be called, on both the query
1846
+ string and the content it is matched against, before comparing.
1847
+ You can, for example, create a case-insensitive search by
1848
+ passing `s => s.toLowerCase()`.
1849
+
1850
+ Text is always normalized with
1851
+ [`.normalize("NFKD")`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize)
1852
+ (when supported).
1853
+ */
1854
+ constructor(text, query, from = 0, to = text.length, normalize, test) {
1855
+ this.test = test;
1856
+ /**
1857
+ The current match (only holds a meaningful value after
1858
+ [`next`](https://codemirror.net/6/docs/ref/#search.SearchCursor.next) has been called and when
1859
+ `done` is false).
1860
+ */
1861
+ this.value = {
1862
+ from: 0,
1863
+ to: 0
1864
+ };
1865
+ /**
1866
+ Whether the end of the iterated region has been reached.
1867
+ */
1868
+ this.done = false;
1869
+ this.matches = [];
1870
+ this.buffer = "";
1871
+ this.bufferPos = 0;
1872
+ this.iter = text.iterRange(from, to);
1873
+ this.bufferStart = from;
1874
+ this.normalize = normalize ? x => normalize(basicNormalize(x)) : basicNormalize;
1875
+ this.query = this.normalize(query);
1876
+ }
1877
+ peek() {
1878
+ if (this.bufferPos == this.buffer.length) {
1879
+ this.bufferStart += this.buffer.length;
1880
+ this.iter.next();
1881
+ if (this.iter.done) return -1;
1882
+ this.bufferPos = 0;
1883
+ this.buffer = this.iter.value;
1884
+ }
1885
+ return codePointAt(this.buffer, this.bufferPos);
1886
+ }
1887
+ /**
1888
+ Look for the next match. Updates the iterator's
1889
+ [`value`](https://codemirror.net/6/docs/ref/#search.SearchCursor.value) and
1890
+ [`done`](https://codemirror.net/6/docs/ref/#search.SearchCursor.done) properties. Should be called
1891
+ at least once before using the cursor.
1892
+ */
1893
+ next() {
1894
+ while (this.matches.length) this.matches.pop();
1895
+ return this.nextOverlapping();
1896
+ }
1897
+ /**
1898
+ The `next` method will ignore matches that partially overlap a
1899
+ previous match. This method behaves like `next`, but includes
1900
+ such matches.
1901
+ */
1902
+ nextOverlapping() {
1903
+ for (;;) {
1904
+ let next = this.peek();
1905
+ if (next < 0) {
1906
+ this.done = true;
1907
+ return this;
1908
+ }
1909
+ let str = fromCodePoint(next),
1910
+ start = this.bufferStart + this.bufferPos;
1911
+ this.bufferPos += codePointSize(next);
1912
+ let norm = this.normalize(str);
1913
+ for (let i = 0, pos = start;; i++) {
1914
+ let code = norm.charCodeAt(i);
1915
+ let match = this.match(code, pos);
1916
+ if (match) {
1917
+ this.value = match;
1918
+ return this;
1919
+ }
1920
+ if (i == norm.length - 1) break;
1921
+ if (pos == start && i < str.length && str.charCodeAt(i) == code) pos++;
1922
+ }
1923
+ }
1924
+ }
1925
+ match(code, pos) {
1926
+ let match = null;
1927
+ for (let i = 0; i < this.matches.length; i += 2) {
1928
+ let index = this.matches[i],
1929
+ keep = false;
1930
+ if (this.query.charCodeAt(index) == code) {
1931
+ if (index == this.query.length - 1) {
1932
+ match = {
1933
+ from: this.matches[i + 1],
1934
+ to: pos + 1
1935
+ };
1936
+ } else {
1937
+ this.matches[i]++;
1938
+ keep = true;
1939
+ }
1940
+ }
1941
+ if (!keep) {
1942
+ this.matches.splice(i, 2);
1943
+ i -= 2;
1944
+ }
1945
+ }
1946
+ if (this.query.charCodeAt(0) == code) {
1947
+ if (this.query.length == 1) match = {
1948
+ from: pos,
1949
+ to: pos + 1
1950
+ };else this.matches.push(1, pos);
1951
+ }
1952
+ if (match && this.test && !this.test(match.from, match.to, this.buffer, this.bufferPos)) match = null;
1953
+ return match;
1954
+ }
1955
+ }
1956
+ if (typeof Symbol != "undefined") SearchCursor.prototype[Symbol.iterator] = function () {
1957
+ return this;
1958
+ };
1959
+ const empty = {
1960
+ from: -1,
1961
+ to: -1,
1962
+ match: /*@__PURE__*/ /.*/.exec("")
1963
+ };
1964
+ const baseFlags = "gm" + (/x/.unicode == null ? "" : "u");
1965
+ /**
1966
+ This class is similar to [`SearchCursor`](https://codemirror.net/6/docs/ref/#search.SearchCursor)
1967
+ but searches for a regular expression pattern instead of a plain
1968
+ string.
1969
+ */
1970
+ class RegExpCursor {
1971
+ /**
1972
+ Create a cursor that will search the given range in the given
1973
+ document. `query` should be the raw pattern (as you'd pass it to
1974
+ `new RegExp`).
1975
+ */
1976
+ constructor(text, query, options, from = 0, to = text.length) {
1977
+ this.text = text;
1978
+ this.to = to;
1979
+ this.curLine = "";
1980
+ /**
1981
+ Set to `true` when the cursor has reached the end of the search
1982
+ range.
1983
+ */
1984
+ this.done = false;
1985
+ /**
1986
+ Will contain an object with the extent of the match and the
1987
+ match object when [`next`](https://codemirror.net/6/docs/ref/#search.RegExpCursor.next)
1988
+ sucessfully finds a match.
1989
+ */
1990
+ this.value = empty;
1991
+ if (/\\[sWDnr]|\n|\r|\[\^/.test(query)) return new MultilineRegExpCursor(text, query, options, from, to);
1992
+ this.re = new RegExp(query, baseFlags + ((options === null || options === void 0 ? void 0 : options.ignoreCase) ? "i" : ""));
1993
+ this.test = options === null || options === void 0 ? void 0 : options.test;
1994
+ this.iter = text.iter();
1995
+ let startLine = text.lineAt(from);
1996
+ this.curLineStart = startLine.from;
1997
+ this.matchPos = toCharEnd(text, from);
1998
+ this.getLine(this.curLineStart);
1999
+ }
2000
+ getLine(skip) {
2001
+ this.iter.next(skip);
2002
+ if (this.iter.lineBreak) {
2003
+ this.curLine = "";
2004
+ } else {
2005
+ this.curLine = this.iter.value;
2006
+ if (this.curLineStart + this.curLine.length > this.to) this.curLine = this.curLine.slice(0, this.to - this.curLineStart);
2007
+ this.iter.next();
2008
+ }
2009
+ }
2010
+ nextLine() {
2011
+ this.curLineStart = this.curLineStart + this.curLine.length + 1;
2012
+ if (this.curLineStart > this.to) this.curLine = "";else this.getLine(0);
2013
+ }
2014
+ /**
2015
+ Move to the next match, if there is one.
2016
+ */
2017
+ next() {
2018
+ for (let off = this.matchPos - this.curLineStart;;) {
2019
+ this.re.lastIndex = off;
2020
+ let match = this.matchPos <= this.to && this.re.exec(this.curLine);
2021
+ if (match) {
2022
+ let from = this.curLineStart + match.index,
2023
+ to = from + match[0].length;
2024
+ this.matchPos = toCharEnd(this.text, to + (from == to ? 1 : 0));
2025
+ if (from == this.curLineStart + this.curLine.length) this.nextLine();
2026
+ if ((from < to || from > this.value.to) && (!this.test || this.test(from, to, match))) {
2027
+ this.value = {
2028
+ from,
2029
+ to,
2030
+ match
2031
+ };
2032
+ return this;
2033
+ }
2034
+ off = this.matchPos - this.curLineStart;
2035
+ } else if (this.curLineStart + this.curLine.length < this.to) {
2036
+ this.nextLine();
2037
+ off = 0;
2038
+ } else {
2039
+ this.done = true;
2040
+ return this;
2041
+ }
2042
+ }
2043
+ }
2044
+ }
2045
+ const flattened = /*@__PURE__*/new WeakMap();
2046
+ // Reusable (partially) flattened document strings
2047
+ class FlattenedDoc {
2048
+ constructor(from, text) {
2049
+ this.from = from;
2050
+ this.text = text;
2051
+ }
2052
+ get to() {
2053
+ return this.from + this.text.length;
2054
+ }
2055
+ static get(doc, from, to) {
2056
+ let cached = flattened.get(doc);
2057
+ if (!cached || cached.from >= to || cached.to <= from) {
2058
+ let flat = new FlattenedDoc(from, doc.sliceString(from, to));
2059
+ flattened.set(doc, flat);
2060
+ return flat;
2061
+ }
2062
+ if (cached.from == from && cached.to == to) return cached;
2063
+ let {
2064
+ text,
2065
+ from: cachedFrom
2066
+ } = cached;
2067
+ if (cachedFrom > from) {
2068
+ text = doc.sliceString(from, cachedFrom) + text;
2069
+ cachedFrom = from;
2070
+ }
2071
+ if (cached.to < to) text += doc.sliceString(cached.to, to);
2072
+ flattened.set(doc, new FlattenedDoc(cachedFrom, text));
2073
+ return new FlattenedDoc(from, text.slice(from - cachedFrom, to - cachedFrom));
2074
+ }
2075
+ }
2076
+ class MultilineRegExpCursor {
2077
+ constructor(text, query, options, from, to) {
2078
+ this.text = text;
2079
+ this.to = to;
2080
+ this.done = false;
2081
+ this.value = empty;
2082
+ this.matchPos = toCharEnd(text, from);
2083
+ this.re = new RegExp(query, baseFlags + ((options === null || options === void 0 ? void 0 : options.ignoreCase) ? "i" : ""));
2084
+ this.test = options === null || options === void 0 ? void 0 : options.test;
2085
+ this.flat = FlattenedDoc.get(text, from, this.chunkEnd(from + 5000 /* Chunk.Base */));
2086
+ }
2087
+
2088
+ chunkEnd(pos) {
2089
+ return pos >= this.to ? this.to : this.text.lineAt(pos).to;
2090
+ }
2091
+ next() {
2092
+ for (;;) {
2093
+ let off = this.re.lastIndex = this.matchPos - this.flat.from;
2094
+ let match = this.re.exec(this.flat.text);
2095
+ // Skip empty matches directly after the last match
2096
+ if (match && !match[0] && match.index == off) {
2097
+ this.re.lastIndex = off + 1;
2098
+ match = this.re.exec(this.flat.text);
2099
+ }
2100
+ if (match) {
2101
+ let from = this.flat.from + match.index,
2102
+ to = from + match[0].length;
2103
+ // If a match goes almost to the end of a noncomplete chunk, try
2104
+ // again, since it'll likely be able to match more
2105
+ if ((this.flat.to >= this.to || match.index + match[0].length <= this.flat.text.length - 10) && (!this.test || this.test(from, to, match))) {
2106
+ this.value = {
2107
+ from,
2108
+ to,
2109
+ match
2110
+ };
2111
+ this.matchPos = toCharEnd(this.text, to + (from == to ? 1 : 0));
2112
+ return this;
2113
+ }
2114
+ }
2115
+ if (this.flat.to == this.to) {
2116
+ this.done = true;
2117
+ return this;
2118
+ }
2119
+ // Grow the flattened doc
2120
+ this.flat = FlattenedDoc.get(this.text, this.flat.from, this.chunkEnd(this.flat.from + this.flat.text.length * 2));
2121
+ }
2122
+ }
2123
+ }
2124
+ if (typeof Symbol != "undefined") {
2125
+ RegExpCursor.prototype[Symbol.iterator] = MultilineRegExpCursor.prototype[Symbol.iterator] = function () {
2126
+ return this;
2127
+ };
2128
+ }
2129
+ function validRegExp(source) {
2130
+ try {
2131
+ new RegExp(source, baseFlags);
2132
+ return true;
2133
+ } catch (_a) {
2134
+ return false;
2135
+ }
2136
+ }
2137
+ function toCharEnd(text, pos) {
2138
+ if (pos >= text.length) return pos;
2139
+ let line = text.lineAt(pos),
2140
+ next;
2141
+ while (pos < line.to && (next = line.text.charCodeAt(pos - line.from)) >= 0xDC00 && next < 0xE000) pos++;
2142
+ return pos;
2143
+ }
2144
+ function createLineDialog(view) {
2145
+ let input = crelt("input", {
2146
+ class: "cm-textfield",
2147
+ name: "line"
2148
+ });
2149
+ let dom = crelt("form", {
2150
+ class: "cm-gotoLine",
2151
+ onkeydown: event => {
2152
+ if (event.keyCode == 27) {
2153
+ // Escape
2154
+ event.preventDefault();
2155
+ view.dispatch({
2156
+ effects: dialogEffect.of(false)
2157
+ });
2158
+ view.focus();
2159
+ } else if (event.keyCode == 13) {
2160
+ // Enter
2161
+ event.preventDefault();
2162
+ go();
2163
+ }
2164
+ },
2165
+ onsubmit: event => {
2166
+ event.preventDefault();
2167
+ go();
2168
+ }
2169
+ }, crelt("label", view.state.phrase("Go to line"), ": ", input), " ", crelt("button", {
2170
+ class: "cm-button",
2171
+ type: "submit"
2172
+ }, view.state.phrase("go")));
2173
+ function go() {
2174
+ let match = /^([+-])?(\d+)?(:\d+)?(%)?$/.exec(input.value);
2175
+ if (!match) return;
2176
+ let {
2177
+ state
2178
+ } = view,
2179
+ startLine = state.doc.lineAt(state.selection.main.head);
2180
+ let [, sign, ln, cl, percent] = match;
2181
+ let col = cl ? +cl.slice(1) : 0;
2182
+ let line = ln ? +ln : startLine.number;
2183
+ if (ln && percent) {
2184
+ let pc = line / 100;
2185
+ if (sign) pc = pc * (sign == "-" ? -1 : 1) + startLine.number / state.doc.lines;
2186
+ line = Math.round(state.doc.lines * pc);
2187
+ } else if (ln && sign) {
2188
+ line = line * (sign == "-" ? -1 : 1) + startLine.number;
2189
+ }
2190
+ let docLine = state.doc.line(Math.max(1, Math.min(state.doc.lines, line)));
2191
+ view.dispatch({
2192
+ effects: dialogEffect.of(false),
2193
+ selection: EditorSelection.cursor(docLine.from + Math.max(0, Math.min(col, docLine.length))),
2194
+ scrollIntoView: true
2195
+ });
2196
+ view.focus();
2197
+ }
2198
+ return {
2199
+ dom
2200
+ };
2201
+ }
2202
+ const dialogEffect = /*@__PURE__*/StateEffect.define();
2203
+ const dialogField = /*@__PURE__*/StateField.define({
2204
+ create() {
2205
+ return true;
2206
+ },
2207
+ update(value, tr) {
2208
+ for (let e of tr.effects) if (e.is(dialogEffect)) value = e.value;
2209
+ return value;
2210
+ },
2211
+ provide: f => showPanel.from(f, val => val ? createLineDialog : null)
2212
+ });
2213
+ /**
2214
+ Command that shows a dialog asking the user for a line number, and
2215
+ when a valid position is provided, moves the cursor to that line.
2216
+
2217
+ Supports line numbers, relative line offsets prefixed with `+` or
2218
+ `-`, document percentages suffixed with `%`, and an optional
2219
+ column position by adding `:` and a second number after the line
2220
+ number.
2221
+
2222
+ The dialog can be styled with the `panel.gotoLine` theme
2223
+ selector.
2224
+ */
2225
+ const gotoLine = view => {
2226
+ let panel = getPanel(view, createLineDialog);
2227
+ if (!panel) {
2228
+ let effects = [dialogEffect.of(true)];
2229
+ if (view.state.field(dialogField, false) == null) effects.push(StateEffect.appendConfig.of([dialogField, baseTheme$1]));
2230
+ view.dispatch({
2231
+ effects
2232
+ });
2233
+ panel = getPanel(view, createLineDialog);
2234
+ }
2235
+ if (panel) panel.dom.querySelector("input").focus();
2236
+ return true;
2237
+ };
2238
+ const baseTheme$1 = /*@__PURE__*/EditorView.baseTheme({
2239
+ ".cm-panel.cm-gotoLine": {
2240
+ padding: "2px 6px 4px",
2241
+ "& label": {
2242
+ fontSize: "80%"
2243
+ }
2244
+ }
2245
+ });
2246
+ const defaultHighlightOptions = {
2247
+ highlightWordAroundCursor: false,
2248
+ minSelectionLength: 1,
2249
+ maxMatches: 100,
2250
+ wholeWords: false
2251
+ };
2252
+ const highlightConfig = /*@__PURE__*/Facet.define({
2253
+ combine(options) {
2254
+ return combineConfig(options, defaultHighlightOptions, {
2255
+ highlightWordAroundCursor: (a, b) => a || b,
2256
+ minSelectionLength: Math.min,
2257
+ maxMatches: Math.min
2258
+ });
2259
+ }
2260
+ });
2261
+ /**
2262
+ This extension highlights text that matches the selection. It uses
2263
+ the `"cm-selectionMatch"` class for the highlighting. When
2264
+ `highlightWordAroundCursor` is enabled, the word at the cursor
2265
+ itself will be highlighted with `"cm-selectionMatch-main"`.
2266
+ */
2267
+ function highlightSelectionMatches(options) {
2268
+ let ext = [defaultTheme, matchHighlighter];
2269
+ if (options) ext.push(highlightConfig.of(options));
2270
+ return ext;
2271
+ }
2272
+ const matchDeco = /*@__PURE__*/Decoration.mark({
2273
+ class: "cm-selectionMatch"
2274
+ });
2275
+ const mainMatchDeco = /*@__PURE__*/Decoration.mark({
2276
+ class: "cm-selectionMatch cm-selectionMatch-main"
2277
+ });
2278
+ // Whether the characters directly outside the given positions are non-word characters
2279
+ function insideWordBoundaries(check, state, from, to) {
2280
+ return (from == 0 || check(state.sliceDoc(from - 1, from)) != CharCategory.Word) && (to == state.doc.length || check(state.sliceDoc(to, to + 1)) != CharCategory.Word);
2281
+ }
2282
+ // Whether the characters directly at the given positions are word characters
2283
+ function insideWord(check, state, from, to) {
2284
+ return check(state.sliceDoc(from, from + 1)) == CharCategory.Word && check(state.sliceDoc(to - 1, to)) == CharCategory.Word;
2285
+ }
2286
+ const matchHighlighter = /*@__PURE__*/ViewPlugin.fromClass(class {
2287
+ constructor(view) {
2288
+ this.decorations = this.getDeco(view);
2289
+ }
2290
+ update(update) {
2291
+ if (update.selectionSet || update.docChanged || update.viewportChanged) this.decorations = this.getDeco(update.view);
2292
+ }
2293
+ getDeco(view) {
2294
+ let conf = view.state.facet(highlightConfig);
2295
+ let {
2296
+ state
2297
+ } = view,
2298
+ sel = state.selection;
2299
+ if (sel.ranges.length > 1) return Decoration.none;
2300
+ let range = sel.main,
2301
+ query,
2302
+ check = null;
2303
+ if (range.empty) {
2304
+ if (!conf.highlightWordAroundCursor) return Decoration.none;
2305
+ let word = state.wordAt(range.head);
2306
+ if (!word) return Decoration.none;
2307
+ check = state.charCategorizer(range.head);
2308
+ query = state.sliceDoc(word.from, word.to);
2309
+ } else {
2310
+ let len = range.to - range.from;
2311
+ if (len < conf.minSelectionLength || len > 200) return Decoration.none;
2312
+ if (conf.wholeWords) {
2313
+ query = state.sliceDoc(range.from, range.to); // TODO: allow and include leading/trailing space?
2314
+ check = state.charCategorizer(range.head);
2315
+ if (!(insideWordBoundaries(check, state, range.from, range.to) && insideWord(check, state, range.from, range.to))) return Decoration.none;
2316
+ } else {
2317
+ query = state.sliceDoc(range.from, range.to).trim();
2318
+ if (!query) return Decoration.none;
2319
+ }
2320
+ }
2321
+ let deco = [];
2322
+ for (let part of view.visibleRanges) {
2323
+ let cursor = new SearchCursor(state.doc, query, part.from, part.to);
2324
+ while (!cursor.next().done) {
2325
+ let {
2326
+ from,
2327
+ to
2328
+ } = cursor.value;
2329
+ if (!check || insideWordBoundaries(check, state, from, to)) {
2330
+ if (range.empty && from <= range.from && to >= range.to) deco.push(mainMatchDeco.range(from, to));else if (from >= range.to || to <= range.from) deco.push(matchDeco.range(from, to));
2331
+ if (deco.length > conf.maxMatches) return Decoration.none;
2332
+ }
2333
+ }
2334
+ }
2335
+ return Decoration.set(deco);
2336
+ }
2337
+ }, {
2338
+ decorations: v => v.decorations
2339
+ });
2340
+ const defaultTheme = /*@__PURE__*/EditorView.baseTheme({
2341
+ ".cm-selectionMatch": {
2342
+ backgroundColor: "#99ff7780"
2343
+ },
2344
+ ".cm-searchMatch .cm-selectionMatch": {
2345
+ backgroundColor: "transparent"
2346
+ }
2347
+ });
2348
+ // Select the words around the cursors.
2349
+ const selectWord = ({
2350
+ state,
2351
+ dispatch
2352
+ }) => {
2353
+ let {
2354
+ selection
2355
+ } = state;
2356
+ let newSel = EditorSelection.create(selection.ranges.map(range => state.wordAt(range.head) || EditorSelection.cursor(range.head)), selection.mainIndex);
2357
+ if (newSel.eq(selection)) return false;
2358
+ dispatch(state.update({
2359
+ selection: newSel
2360
+ }));
2361
+ return true;
2362
+ };
2363
+ // Find next occurrence of query relative to last cursor. Wrap around
2364
+ // the document if there are no more matches.
2365
+ function findNextOccurrence(state, query) {
2366
+ let {
2367
+ main,
2368
+ ranges
2369
+ } = state.selection;
2370
+ let word = state.wordAt(main.head),
2371
+ fullWord = word && word.from == main.from && word.to == main.to;
2372
+ for (let cycled = false, cursor = new SearchCursor(state.doc, query, ranges[ranges.length - 1].to);;) {
2373
+ cursor.next();
2374
+ if (cursor.done) {
2375
+ if (cycled) return null;
2376
+ cursor = new SearchCursor(state.doc, query, 0, Math.max(0, ranges[ranges.length - 1].from - 1));
2377
+ cycled = true;
2378
+ } else {
2379
+ if (cycled && ranges.some(r => r.from == cursor.value.from)) continue;
2380
+ if (fullWord) {
2381
+ let word = state.wordAt(cursor.value.from);
2382
+ if (!word || word.from != cursor.value.from || word.to != cursor.value.to) continue;
2383
+ }
2384
+ return cursor.value;
2385
+ }
2386
+ }
2387
+ }
2388
+ /**
2389
+ Select next occurrence of the current selection. Expand selection
2390
+ to the surrounding word when the selection is empty.
2391
+ */
2392
+ const selectNextOccurrence = ({
2393
+ state,
2394
+ dispatch
2395
+ }) => {
2396
+ let {
2397
+ ranges
2398
+ } = state.selection;
2399
+ if (ranges.some(sel => sel.from === sel.to)) return selectWord({
2400
+ state,
2401
+ dispatch
2402
+ });
2403
+ let searchedText = state.sliceDoc(ranges[0].from, ranges[0].to);
2404
+ if (state.selection.ranges.some(r => state.sliceDoc(r.from, r.to) != searchedText)) return false;
2405
+ let range = findNextOccurrence(state, searchedText);
2406
+ if (!range) return false;
2407
+ dispatch(state.update({
2408
+ selection: state.selection.addRange(EditorSelection.range(range.from, range.to), false),
2409
+ effects: EditorView.scrollIntoView(range.to)
2410
+ }));
2411
+ return true;
2412
+ };
2413
+ const searchConfigFacet = /*@__PURE__*/Facet.define({
2414
+ combine(configs) {
2415
+ return combineConfig(configs, {
2416
+ top: false,
2417
+ caseSensitive: false,
2418
+ literal: false,
2419
+ wholeWord: false,
2420
+ createPanel: view => new SearchPanel(view)
2421
+ });
2422
+ }
2423
+ });
2424
+ /**
2425
+ A search query. Part of the editor's search state.
2426
+ */
2427
+ class SearchQuery {
2428
+ /**
2429
+ Create a query object.
2430
+ */
2431
+ constructor(config) {
2432
+ this.search = config.search;
2433
+ this.caseSensitive = !!config.caseSensitive;
2434
+ this.literal = !!config.literal;
2435
+ this.regexp = !!config.regexp;
2436
+ this.replace = config.replace || "";
2437
+ this.valid = !!this.search && (!this.regexp || validRegExp(this.search));
2438
+ this.unquoted = this.unquote(this.search);
2439
+ this.wholeWord = !!config.wholeWord;
2440
+ }
2441
+ /**
2442
+ @internal
2443
+ */
2444
+ unquote(text) {
2445
+ return this.literal ? text : text.replace(/\\([nrt\\])/g, (_, ch) => ch == "n" ? "\n" : ch == "r" ? "\r" : ch == "t" ? "\t" : "\\");
2446
+ }
2447
+ /**
2448
+ Compare this query to another query.
2449
+ */
2450
+ eq(other) {
2451
+ return this.search == other.search && this.replace == other.replace && this.caseSensitive == other.caseSensitive && this.regexp == other.regexp && this.wholeWord == other.wholeWord;
2452
+ }
2453
+ /**
2454
+ @internal
2455
+ */
2456
+ create() {
2457
+ return this.regexp ? new RegExpQuery(this) : new StringQuery(this);
2458
+ }
2459
+ /**
2460
+ Get a search cursor for this query, searching through the given
2461
+ range in the given state.
2462
+ */
2463
+ getCursor(state, from = 0, to) {
2464
+ let st = state.doc ? state : EditorState.create({
2465
+ doc: state
2466
+ });
2467
+ if (to == null) to = st.doc.length;
2468
+ return this.regexp ? regexpCursor(this, st, from, to) : stringCursor(this, st, from, to);
2469
+ }
2470
+ }
2471
+ class QueryType {
2472
+ constructor(spec) {
2473
+ this.spec = spec;
2474
+ }
2475
+ }
2476
+ function stringCursor(spec, state, from, to) {
2477
+ return new SearchCursor(state.doc, spec.unquoted, from, to, spec.caseSensitive ? undefined : x => x.toLowerCase(), spec.wholeWord ? stringWordTest(state.doc, state.charCategorizer(state.selection.main.head)) : undefined);
2478
+ }
2479
+ function stringWordTest(doc, categorizer) {
2480
+ return (from, to, buf, bufPos) => {
2481
+ if (bufPos > from || bufPos + buf.length < to) {
2482
+ bufPos = Math.max(0, from - 2);
2483
+ buf = doc.sliceString(bufPos, Math.min(doc.length, to + 2));
2484
+ }
2485
+ return (categorizer(charBefore(buf, from - bufPos)) != CharCategory.Word || categorizer(charAfter(buf, from - bufPos)) != CharCategory.Word) && (categorizer(charAfter(buf, to - bufPos)) != CharCategory.Word || categorizer(charBefore(buf, to - bufPos)) != CharCategory.Word);
2486
+ };
2487
+ }
2488
+ class StringQuery extends QueryType {
2489
+ constructor(spec) {
2490
+ super(spec);
2491
+ }
2492
+ nextMatch(state, curFrom, curTo) {
2493
+ let cursor = stringCursor(this.spec, state, curTo, state.doc.length).nextOverlapping();
2494
+ if (cursor.done) cursor = stringCursor(this.spec, state, 0, curFrom).nextOverlapping();
2495
+ return cursor.done ? null : cursor.value;
2496
+ }
2497
+ // Searching in reverse is, rather than implementing inverted search
2498
+ // cursor, done by scanning chunk after chunk forward.
2499
+ prevMatchInRange(state, from, to) {
2500
+ for (let pos = to;;) {
2501
+ let start = Math.max(from, pos - 10000 /* FindPrev.ChunkSize */ - this.spec.unquoted.length);
2502
+ let cursor = stringCursor(this.spec, state, start, pos),
2503
+ range = null;
2504
+ while (!cursor.nextOverlapping().done) range = cursor.value;
2505
+ if (range) return range;
2506
+ if (start == from) return null;
2507
+ pos -= 10000 /* FindPrev.ChunkSize */;
2508
+ }
2509
+ }
2510
+
2511
+ prevMatch(state, curFrom, curTo) {
2512
+ return this.prevMatchInRange(state, 0, curFrom) || this.prevMatchInRange(state, curTo, state.doc.length);
2513
+ }
2514
+ getReplacement(_result) {
2515
+ return this.spec.unquote(this.spec.replace);
2516
+ }
2517
+ matchAll(state, limit) {
2518
+ let cursor = stringCursor(this.spec, state, 0, state.doc.length),
2519
+ ranges = [];
2520
+ while (!cursor.next().done) {
2521
+ if (ranges.length >= limit) return null;
2522
+ ranges.push(cursor.value);
2523
+ }
2524
+ return ranges;
2525
+ }
2526
+ highlight(state, from, to, add) {
2527
+ let cursor = stringCursor(this.spec, state, Math.max(0, from - this.spec.unquoted.length), Math.min(to + this.spec.unquoted.length, state.doc.length));
2528
+ while (!cursor.next().done) add(cursor.value.from, cursor.value.to);
2529
+ }
2530
+ }
2531
+ function regexpCursor(spec, state, from, to) {
2532
+ return new RegExpCursor(state.doc, spec.search, {
2533
+ ignoreCase: !spec.caseSensitive,
2534
+ test: spec.wholeWord ? regexpWordTest(state.charCategorizer(state.selection.main.head)) : undefined
2535
+ }, from, to);
2536
+ }
2537
+ function charBefore(str, index) {
2538
+ return str.slice(findClusterBreak(str, index, false), index);
2539
+ }
2540
+ function charAfter(str, index) {
2541
+ return str.slice(index, findClusterBreak(str, index));
2542
+ }
2543
+ function regexpWordTest(categorizer) {
2544
+ return (_from, _to, match) => !match[0].length || (categorizer(charBefore(match.input, match.index)) != CharCategory.Word || categorizer(charAfter(match.input, match.index)) != CharCategory.Word) && (categorizer(charAfter(match.input, match.index + match[0].length)) != CharCategory.Word || categorizer(charBefore(match.input, match.index + match[0].length)) != CharCategory.Word);
2545
+ }
2546
+ class RegExpQuery extends QueryType {
2547
+ nextMatch(state, curFrom, curTo) {
2548
+ let cursor = regexpCursor(this.spec, state, curTo, state.doc.length).next();
2549
+ if (cursor.done) cursor = regexpCursor(this.spec, state, 0, curFrom).next();
2550
+ return cursor.done ? null : cursor.value;
2551
+ }
2552
+ prevMatchInRange(state, from, to) {
2553
+ for (let size = 1;; size++) {
2554
+ let start = Math.max(from, to - size * 10000 /* FindPrev.ChunkSize */);
2555
+ let cursor = regexpCursor(this.spec, state, start, to),
2556
+ range = null;
2557
+ while (!cursor.next().done) range = cursor.value;
2558
+ if (range && (start == from || range.from > start + 10)) return range;
2559
+ if (start == from) return null;
2560
+ }
2561
+ }
2562
+ prevMatch(state, curFrom, curTo) {
2563
+ return this.prevMatchInRange(state, 0, curFrom) || this.prevMatchInRange(state, curTo, state.doc.length);
2564
+ }
2565
+ getReplacement(result) {
2566
+ return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g, (m, i) => i == "$" ? "$" : i == "&" ? result.match[0] : i != "0" && +i < result.match.length ? result.match[i] : m));
2567
+ }
2568
+ matchAll(state, limit) {
2569
+ let cursor = regexpCursor(this.spec, state, 0, state.doc.length),
2570
+ ranges = [];
2571
+ while (!cursor.next().done) {
2572
+ if (ranges.length >= limit) return null;
2573
+ ranges.push(cursor.value);
2574
+ }
2575
+ return ranges;
2576
+ }
2577
+ highlight(state, from, to, add) {
2578
+ let cursor = regexpCursor(this.spec, state, Math.max(0, from - 250 /* RegExp.HighlightMargin */), Math.min(to + 250 /* RegExp.HighlightMargin */, state.doc.length));
2579
+ while (!cursor.next().done) add(cursor.value.from, cursor.value.to);
2580
+ }
2581
+ }
2582
+ /**
2583
+ A state effect that updates the current search query. Note that
2584
+ this only has an effect if the search state has been initialized
2585
+ (by including [`search`](https://codemirror.net/6/docs/ref/#search.search) in your configuration or
2586
+ by running [`openSearchPanel`](https://codemirror.net/6/docs/ref/#search.openSearchPanel) at least
2587
+ once).
2588
+ */
2589
+ const setSearchQuery = /*@__PURE__*/StateEffect.define();
2590
+ const togglePanel$1 = /*@__PURE__*/StateEffect.define();
2591
+ const searchState = /*@__PURE__*/StateField.define({
2592
+ create(state) {
2593
+ return new SearchState(defaultQuery(state).create(), null);
2594
+ },
2595
+ update(value, tr) {
2596
+ for (let effect of tr.effects) {
2597
+ if (effect.is(setSearchQuery)) value = new SearchState(effect.value.create(), value.panel);else if (effect.is(togglePanel$1)) value = new SearchState(value.query, effect.value ? createSearchPanel : null);
2598
+ }
2599
+ return value;
2600
+ },
2601
+ provide: f => showPanel.from(f, val => val.panel)
2602
+ });
2603
+ class SearchState {
2604
+ constructor(query, panel) {
2605
+ this.query = query;
2606
+ this.panel = panel;
2607
+ }
2608
+ }
2609
+ const matchMark = /*@__PURE__*/Decoration.mark({
2610
+ class: "cm-searchMatch"
2611
+ }),
2612
+ selectedMatchMark = /*@__PURE__*/Decoration.mark({
2613
+ class: "cm-searchMatch cm-searchMatch-selected"
2614
+ });
2615
+ const searchHighlighter = /*@__PURE__*/ViewPlugin.fromClass(class {
2616
+ constructor(view) {
2617
+ this.view = view;
2618
+ this.decorations = this.highlight(view.state.field(searchState));
2619
+ }
2620
+ update(update) {
2621
+ let state = update.state.field(searchState);
2622
+ if (state != update.startState.field(searchState) || update.docChanged || update.selectionSet || update.viewportChanged) this.decorations = this.highlight(state);
2623
+ }
2624
+ highlight({
2625
+ query,
2626
+ panel
2627
+ }) {
2628
+ if (!panel || !query.spec.valid) return Decoration.none;
2629
+ let {
2630
+ view
2631
+ } = this;
2632
+ let builder = new RangeSetBuilder();
2633
+ for (let i = 0, ranges = view.visibleRanges, l = ranges.length; i < l; i++) {
2634
+ let {
2635
+ from,
2636
+ to
2637
+ } = ranges[i];
2638
+ while (i < l - 1 && to > ranges[i + 1].from - 2 * 250 /* RegExp.HighlightMargin */) to = ranges[++i].to;
2639
+ query.highlight(view.state, from, to, (from, to) => {
2640
+ let selected = view.state.selection.ranges.some(r => r.from == from && r.to == to);
2641
+ builder.add(from, to, selected ? selectedMatchMark : matchMark);
2642
+ });
2643
+ }
2644
+ return builder.finish();
2645
+ }
2646
+ }, {
2647
+ decorations: v => v.decorations
2648
+ });
2649
+ function searchCommand(f) {
2650
+ return view => {
2651
+ let state = view.state.field(searchState, false);
2652
+ return state && state.query.spec.valid ? f(view, state) : openSearchPanel(view);
2653
+ };
2654
+ }
2655
+ /**
2656
+ Open the search panel if it isn't already open, and move the
2657
+ selection to the first match after the current main selection.
2658
+ Will wrap around to the start of the document when it reaches the
2659
+ end.
2660
+ */
2661
+ const findNext = /*@__PURE__*/searchCommand((view, {
2662
+ query
2663
+ }) => {
2664
+ let {
2665
+ to
2666
+ } = view.state.selection.main;
2667
+ let next = query.nextMatch(view.state, to, to);
2668
+ if (!next) return false;
2669
+ view.dispatch({
2670
+ selection: {
2671
+ anchor: next.from,
2672
+ head: next.to
2673
+ },
2674
+ scrollIntoView: true,
2675
+ effects: announceMatch(view, next),
2676
+ userEvent: "select.search"
2677
+ });
2678
+ return true;
2679
+ });
2680
+ /**
2681
+ Move the selection to the previous instance of the search query,
2682
+ before the current main selection. Will wrap past the start
2683
+ of the document to start searching at the end again.
2684
+ */
2685
+ const findPrevious = /*@__PURE__*/searchCommand((view, {
2686
+ query
2687
+ }) => {
2688
+ let {
2689
+ state
2690
+ } = view,
2691
+ {
2692
+ from
2693
+ } = state.selection.main;
2694
+ let range = query.prevMatch(state, from, from);
2695
+ if (!range) return false;
2696
+ view.dispatch({
2697
+ selection: {
2698
+ anchor: range.from,
2699
+ head: range.to
2700
+ },
2701
+ scrollIntoView: true,
2702
+ effects: announceMatch(view, range),
2703
+ userEvent: "select.search"
2704
+ });
2705
+ return true;
2706
+ });
2707
+ /**
2708
+ Select all instances of the search query.
2709
+ */
2710
+ const selectMatches = /*@__PURE__*/searchCommand((view, {
2711
+ query
2712
+ }) => {
2713
+ let ranges = query.matchAll(view.state, 1000);
2714
+ if (!ranges || !ranges.length) return false;
2715
+ view.dispatch({
2716
+ selection: EditorSelection.create(ranges.map(r => EditorSelection.range(r.from, r.to))),
2717
+ userEvent: "select.search.matches"
2718
+ });
2719
+ return true;
2720
+ });
2721
+ /**
2722
+ Select all instances of the currently selected text.
2723
+ */
2724
+ const selectSelectionMatches = ({
2725
+ state,
2726
+ dispatch
2727
+ }) => {
2728
+ let sel = state.selection;
2729
+ if (sel.ranges.length > 1 || sel.main.empty) return false;
2730
+ let {
2731
+ from,
2732
+ to
2733
+ } = sel.main;
2734
+ let ranges = [],
2735
+ main = 0;
2736
+ for (let cur = new SearchCursor(state.doc, state.sliceDoc(from, to)); !cur.next().done;) {
2737
+ if (ranges.length > 1000) return false;
2738
+ if (cur.value.from == from) main = ranges.length;
2739
+ ranges.push(EditorSelection.range(cur.value.from, cur.value.to));
2740
+ }
2741
+ dispatch(state.update({
2742
+ selection: EditorSelection.create(ranges, main),
2743
+ userEvent: "select.search.matches"
2744
+ }));
2745
+ return true;
2746
+ };
2747
+ /**
2748
+ Replace the current match of the search query.
2749
+ */
2750
+ const replaceNext = /*@__PURE__*/searchCommand((view, {
2751
+ query
2752
+ }) => {
2753
+ let {
2754
+ state
2755
+ } = view,
2756
+ {
2757
+ from,
2758
+ to
2759
+ } = state.selection.main;
2760
+ if (state.readOnly) return false;
2761
+ let next = query.nextMatch(state, from, from);
2762
+ if (!next) return false;
2763
+ let changes = [],
2764
+ selection,
2765
+ replacement;
2766
+ let announce = [];
2767
+ if (next.from == from && next.to == to) {
2768
+ replacement = state.toText(query.getReplacement(next));
2769
+ changes.push({
2770
+ from: next.from,
2771
+ to: next.to,
2772
+ insert: replacement
2773
+ });
2774
+ next = query.nextMatch(state, next.from, next.to);
2775
+ announce.push(EditorView.announce.of(state.phrase("replaced match on line $", state.doc.lineAt(from).number) + "."));
2776
+ }
2777
+ if (next) {
2778
+ let off = changes.length == 0 || changes[0].from >= next.to ? 0 : next.to - next.from - replacement.length;
2779
+ selection = {
2780
+ anchor: next.from - off,
2781
+ head: next.to - off
2782
+ };
2783
+ announce.push(announceMatch(view, next));
2784
+ }
2785
+ view.dispatch({
2786
+ changes,
2787
+ selection,
2788
+ scrollIntoView: !!selection,
2789
+ effects: announce,
2790
+ userEvent: "input.replace"
2791
+ });
2792
+ return true;
2793
+ });
2794
+ /**
2795
+ Replace all instances of the search query with the given
2796
+ replacement.
2797
+ */
2798
+ const replaceAll = /*@__PURE__*/searchCommand((view, {
2799
+ query
2800
+ }) => {
2801
+ if (view.state.readOnly) return false;
2802
+ let changes = query.matchAll(view.state, 1e9).map(match => {
2803
+ let {
2804
+ from,
2805
+ to
2806
+ } = match;
2807
+ return {
2808
+ from,
2809
+ to,
2810
+ insert: query.getReplacement(match)
2811
+ };
2812
+ });
2813
+ if (!changes.length) return false;
2814
+ let announceText = view.state.phrase("replaced $ matches", changes.length) + ".";
2815
+ view.dispatch({
2816
+ changes,
2817
+ effects: EditorView.announce.of(announceText),
2818
+ userEvent: "input.replace.all"
2819
+ });
2820
+ return true;
2821
+ });
2822
+ function createSearchPanel(view) {
2823
+ return view.state.facet(searchConfigFacet).createPanel(view);
2824
+ }
2825
+ function defaultQuery(state, fallback) {
2826
+ var _a, _b, _c, _d;
2827
+ let sel = state.selection.main;
2828
+ let selText = sel.empty || sel.to > sel.from + 100 ? "" : state.sliceDoc(sel.from, sel.to);
2829
+ if (fallback && !selText) return fallback;
2830
+ let config = state.facet(searchConfigFacet);
2831
+ return new SearchQuery({
2832
+ search: ((_a = fallback === null || fallback === void 0 ? void 0 : fallback.literal) !== null && _a !== void 0 ? _a : config.literal) ? selText : selText.replace(/\n/g, "\\n"),
2833
+ caseSensitive: (_b = fallback === null || fallback === void 0 ? void 0 : fallback.caseSensitive) !== null && _b !== void 0 ? _b : config.caseSensitive,
2834
+ literal: (_c = fallback === null || fallback === void 0 ? void 0 : fallback.literal) !== null && _c !== void 0 ? _c : config.literal,
2835
+ wholeWord: (_d = fallback === null || fallback === void 0 ? void 0 : fallback.wholeWord) !== null && _d !== void 0 ? _d : config.wholeWord
2836
+ });
2837
+ }
2838
+ /**
2839
+ Make sure the search panel is open and focused.
2840
+ */
2841
+ const openSearchPanel = view => {
2842
+ let state = view.state.field(searchState, false);
2843
+ if (state && state.panel) {
2844
+ let panel = getPanel(view, createSearchPanel);
2845
+ if (!panel) return false;
2846
+ let searchInput = panel.dom.querySelector("[main-field]");
2847
+ if (searchInput && searchInput != view.root.activeElement) {
2848
+ let query = defaultQuery(view.state, state.query.spec);
2849
+ if (query.valid) view.dispatch({
2850
+ effects: setSearchQuery.of(query)
2851
+ });
2852
+ searchInput.focus();
2853
+ searchInput.select();
2854
+ }
2855
+ } else {
2856
+ view.dispatch({
2857
+ effects: [togglePanel$1.of(true), state ? setSearchQuery.of(defaultQuery(view.state, state.query.spec)) : StateEffect.appendConfig.of(searchExtensions)]
2858
+ });
2859
+ }
2860
+ return true;
2861
+ };
2862
+ /**
2863
+ Close the search panel.
2864
+ */
2865
+ const closeSearchPanel = view => {
2866
+ let state = view.state.field(searchState, false);
2867
+ if (!state || !state.panel) return false;
2868
+ let panel = getPanel(view, createSearchPanel);
2869
+ if (panel && panel.dom.contains(view.root.activeElement)) view.focus();
2870
+ view.dispatch({
2871
+ effects: togglePanel$1.of(false)
2872
+ });
2873
+ return true;
2874
+ };
2875
+ /**
2876
+ Default search-related key bindings.
2877
+
2878
+ - Mod-f: [`openSearchPanel`](https://codemirror.net/6/docs/ref/#search.openSearchPanel)
2879
+ - F3, Mod-g: [`findNext`](https://codemirror.net/6/docs/ref/#search.findNext)
2880
+ - Shift-F3, Shift-Mod-g: [`findPrevious`](https://codemirror.net/6/docs/ref/#search.findPrevious)
2881
+ - Alt-g: [`gotoLine`](https://codemirror.net/6/docs/ref/#search.gotoLine)
2882
+ - Mod-d: [`selectNextOccurrence`](https://codemirror.net/6/docs/ref/#search.selectNextOccurrence)
2883
+ */
2884
+ const searchKeymap = [{
2885
+ key: "Mod-f",
2886
+ run: openSearchPanel,
2887
+ scope: "editor search-panel"
2888
+ }, {
2889
+ key: "F3",
2890
+ run: findNext,
2891
+ shift: findPrevious,
2892
+ scope: "editor search-panel",
2893
+ preventDefault: true
2894
+ }, {
2895
+ key: "Mod-g",
2896
+ run: findNext,
2897
+ shift: findPrevious,
2898
+ scope: "editor search-panel",
2899
+ preventDefault: true
2900
+ }, {
2901
+ key: "Escape",
2902
+ run: closeSearchPanel,
2903
+ scope: "editor search-panel"
2904
+ }, {
2905
+ key: "Mod-Shift-l",
2906
+ run: selectSelectionMatches
2907
+ }, {
2908
+ key: "Alt-g",
2909
+ run: gotoLine
2910
+ }, {
2911
+ key: "Mod-d",
2912
+ run: selectNextOccurrence,
2913
+ preventDefault: true
2914
+ }];
2915
+ class SearchPanel {
2916
+ constructor(view) {
2917
+ this.view = view;
2918
+ let query = this.query = view.state.field(searchState).query.spec;
2919
+ this.commit = this.commit.bind(this);
2920
+ this.searchField = crelt("input", {
2921
+ value: query.search,
2922
+ placeholder: phrase(view, "Find"),
2923
+ "aria-label": phrase(view, "Find"),
2924
+ class: "cm-textfield",
2925
+ name: "search",
2926
+ form: "",
2927
+ "main-field": "true",
2928
+ onchange: this.commit,
2929
+ onkeyup: this.commit
2930
+ });
2931
+ this.replaceField = crelt("input", {
2932
+ value: query.replace,
2933
+ placeholder: phrase(view, "Replace"),
2934
+ "aria-label": phrase(view, "Replace"),
2935
+ class: "cm-textfield",
2936
+ name: "replace",
2937
+ form: "",
2938
+ onchange: this.commit,
2939
+ onkeyup: this.commit
2940
+ });
2941
+ this.caseField = crelt("input", {
2942
+ type: "checkbox",
2943
+ name: "case",
2944
+ form: "",
2945
+ checked: query.caseSensitive,
2946
+ onchange: this.commit
2947
+ });
2948
+ this.reField = crelt("input", {
2949
+ type: "checkbox",
2950
+ name: "re",
2951
+ form: "",
2952
+ checked: query.regexp,
2953
+ onchange: this.commit
2954
+ });
2955
+ this.wordField = crelt("input", {
2956
+ type: "checkbox",
2957
+ name: "word",
2958
+ form: "",
2959
+ checked: query.wholeWord,
2960
+ onchange: this.commit
2961
+ });
2962
+ function button(name, onclick, content) {
2963
+ return crelt("button", {
2964
+ class: "cm-button",
2965
+ name,
2966
+ onclick,
2967
+ type: "button"
2968
+ }, content);
2969
+ }
2970
+ this.dom = crelt("div", {
2971
+ onkeydown: e => this.keydown(e),
2972
+ class: "cm-search"
2973
+ }, [this.searchField, button("next", () => findNext(view), [phrase(view, "next")]), button("prev", () => findPrevious(view), [phrase(view, "previous")]), button("select", () => selectMatches(view), [phrase(view, "all")]), crelt("label", null, [this.caseField, phrase(view, "match case")]), crelt("label", null, [this.reField, phrase(view, "regexp")]), crelt("label", null, [this.wordField, phrase(view, "by word")]), ...(view.state.readOnly ? [] : [crelt("br"), this.replaceField, button("replace", () => replaceNext(view), [phrase(view, "replace")]), button("replaceAll", () => replaceAll(view), [phrase(view, "replace all")])]), crelt("button", {
2974
+ name: "close",
2975
+ onclick: () => closeSearchPanel(view),
2976
+ "aria-label": phrase(view, "close"),
2977
+ type: "button"
2978
+ }, ["×"])]);
2979
+ }
2980
+ commit() {
2981
+ let query = new SearchQuery({
2982
+ search: this.searchField.value,
2983
+ caseSensitive: this.caseField.checked,
2984
+ regexp: this.reField.checked,
2985
+ wholeWord: this.wordField.checked,
2986
+ replace: this.replaceField.value
2987
+ });
2988
+ if (!query.eq(this.query)) {
2989
+ this.query = query;
2990
+ this.view.dispatch({
2991
+ effects: setSearchQuery.of(query)
2992
+ });
2993
+ }
2994
+ }
2995
+ keydown(e) {
2996
+ if (runScopeHandlers(this.view, e, "search-panel")) {
2997
+ e.preventDefault();
2998
+ } else if (e.keyCode == 13 && e.target == this.searchField) {
2999
+ e.preventDefault();
3000
+ (e.shiftKey ? findPrevious : findNext)(this.view);
3001
+ } else if (e.keyCode == 13 && e.target == this.replaceField) {
3002
+ e.preventDefault();
3003
+ replaceNext(this.view);
3004
+ }
3005
+ }
3006
+ update(update) {
3007
+ for (let tr of update.transactions) for (let effect of tr.effects) {
3008
+ if (effect.is(setSearchQuery) && !effect.value.eq(this.query)) this.setQuery(effect.value);
3009
+ }
3010
+ }
3011
+ setQuery(query) {
3012
+ this.query = query;
3013
+ this.searchField.value = query.search;
3014
+ this.replaceField.value = query.replace;
3015
+ this.caseField.checked = query.caseSensitive;
3016
+ this.reField.checked = query.regexp;
3017
+ this.wordField.checked = query.wholeWord;
3018
+ }
3019
+ mount() {
3020
+ this.searchField.select();
3021
+ }
3022
+ get pos() {
3023
+ return 80;
3024
+ }
3025
+ get top() {
3026
+ return this.view.state.facet(searchConfigFacet).top;
3027
+ }
3028
+ }
3029
+ function phrase(view, phrase) {
3030
+ return view.state.phrase(phrase);
3031
+ }
3032
+ const AnnounceMargin = 30;
3033
+ const Break = /[\s\.,:;?!]/;
3034
+ function announceMatch(view, {
3035
+ from,
3036
+ to
3037
+ }) {
3038
+ let line = view.state.doc.lineAt(from),
3039
+ lineEnd = view.state.doc.lineAt(to).to;
3040
+ let start = Math.max(line.from, from - AnnounceMargin),
3041
+ end = Math.min(lineEnd, to + AnnounceMargin);
3042
+ let text = view.state.sliceDoc(start, end);
3043
+ if (start != line.from) {
3044
+ for (let i = 0; i < AnnounceMargin; i++) if (!Break.test(text[i + 1]) && Break.test(text[i])) {
3045
+ text = text.slice(i);
3046
+ break;
3047
+ }
3048
+ }
3049
+ if (end != lineEnd) {
3050
+ for (let i = text.length - 1; i > text.length - AnnounceMargin; i--) if (!Break.test(text[i - 1]) && Break.test(text[i])) {
3051
+ text = text.slice(0, i);
3052
+ break;
3053
+ }
3054
+ }
3055
+ return EditorView.announce.of(`${view.state.phrase("current match")}. ${text} ${view.state.phrase("on line")} ${line.number}.`);
3056
+ }
3057
+ const baseTheme$2 = /*@__PURE__*/EditorView.baseTheme({
3058
+ ".cm-panel.cm-search": {
3059
+ padding: "2px 6px 4px",
3060
+ position: "relative",
3061
+ "& [name=close]": {
3062
+ position: "absolute",
3063
+ top: "0",
3064
+ right: "4px",
3065
+ backgroundColor: "inherit",
3066
+ border: "none",
3067
+ font: "inherit",
3068
+ padding: 0,
3069
+ margin: 0
3070
+ },
3071
+ "& input, & button, & label": {
3072
+ margin: ".2em .6em .2em 0"
3073
+ },
3074
+ "& input[type=checkbox]": {
3075
+ marginRight: ".2em"
3076
+ },
3077
+ "& label": {
3078
+ fontSize: "80%",
3079
+ whiteSpace: "pre"
3080
+ }
3081
+ },
3082
+ "&light .cm-searchMatch": {
3083
+ backgroundColor: "#ffff0054"
3084
+ },
3085
+ "&dark .cm-searchMatch": {
3086
+ backgroundColor: "#00ffff8a"
3087
+ },
3088
+ "&light .cm-searchMatch-selected": {
3089
+ backgroundColor: "#ff6a0054"
3090
+ },
3091
+ "&dark .cm-searchMatch-selected": {
3092
+ backgroundColor: "#ff00ff8a"
3093
+ }
3094
+ });
3095
+ const searchExtensions = [searchState, /*@__PURE__*/Prec.lowest(searchHighlighter), baseTheme$2];
3096
+
3097
+ class SelectedDiagnostic {
3098
+ constructor(from, to, diagnostic) {
3099
+ this.from = from;
3100
+ this.to = to;
3101
+ this.diagnostic = diagnostic;
3102
+ }
3103
+ }
3104
+ class LintState {
3105
+ constructor(diagnostics, panel, selected) {
3106
+ this.diagnostics = diagnostics;
3107
+ this.panel = panel;
3108
+ this.selected = selected;
3109
+ }
3110
+ static init(diagnostics, panel, state) {
3111
+ // Filter the list of diagnostics for which to create markers
3112
+ let markedDiagnostics = diagnostics;
3113
+ let diagnosticFilter = state.facet(lintConfig).markerFilter;
3114
+ if (diagnosticFilter) markedDiagnostics = diagnosticFilter(markedDiagnostics);
3115
+ let ranges = Decoration.set(markedDiagnostics.map(d => {
3116
+ // For zero-length ranges or ranges covering only a line break, create a widget
3117
+ return d.from == d.to || d.from == d.to - 1 && state.doc.lineAt(d.from).to == d.from ? Decoration.widget({
3118
+ widget: new DiagnosticWidget(d),
3119
+ diagnostic: d
3120
+ }).range(d.from) : Decoration.mark({
3121
+ attributes: {
3122
+ class: "cm-lintRange cm-lintRange-" + d.severity
3123
+ },
3124
+ diagnostic: d
3125
+ }).range(d.from, d.to);
3126
+ }), true);
3127
+ return new LintState(ranges, panel, findDiagnostic(ranges));
3128
+ }
3129
+ }
3130
+ function findDiagnostic(diagnostics, diagnostic = null, after = 0) {
3131
+ let found = null;
3132
+ diagnostics.between(after, 1e9, (from, to, {
3133
+ spec
3134
+ }) => {
3135
+ if (diagnostic && spec.diagnostic != diagnostic) return;
3136
+ found = new SelectedDiagnostic(from, to, spec.diagnostic);
3137
+ return false;
3138
+ });
3139
+ return found;
3140
+ }
3141
+ function hideTooltip(tr, tooltip) {
3142
+ return !!(tr.effects.some(e => e.is(setDiagnosticsEffect)) || tr.changes.touchesRange(tooltip.pos));
3143
+ }
3144
+ function maybeEnableLint(state, effects) {
3145
+ return state.field(lintState, false) ? effects : effects.concat(StateEffect.appendConfig.of([lintState, EditorView.decorations.compute([lintState], state => {
3146
+ let {
3147
+ selected,
3148
+ panel
3149
+ } = state.field(lintState);
3150
+ return !selected || !panel || selected.from == selected.to ? Decoration.none : Decoration.set([activeMark.range(selected.from, selected.to)]);
3151
+ }), hoverTooltip(lintTooltip, {
3152
+ hideOn: hideTooltip
3153
+ }), baseTheme]));
3154
+ }
3155
+ /**
3156
+ Returns a transaction spec which updates the current set of
3157
+ diagnostics, and enables the lint extension if if wasn't already
3158
+ active.
3159
+ */
3160
+ function setDiagnostics(state, diagnostics) {
3161
+ return {
3162
+ effects: maybeEnableLint(state, [setDiagnosticsEffect.of(diagnostics)])
3163
+ };
3164
+ }
3165
+ /**
3166
+ The state effect that updates the set of active diagnostics. Can
3167
+ be useful when writing an extension that needs to track these.
3168
+ */
3169
+ const setDiagnosticsEffect = /*@__PURE__*/StateEffect.define();
3170
+ const togglePanel = /*@__PURE__*/StateEffect.define();
3171
+ const movePanelSelection = /*@__PURE__*/StateEffect.define();
3172
+ const lintState = /*@__PURE__*/StateField.define({
3173
+ create() {
3174
+ return new LintState(Decoration.none, null, null);
3175
+ },
3176
+ update(value, tr) {
3177
+ if (tr.docChanged) {
3178
+ let mapped = value.diagnostics.map(tr.changes),
3179
+ selected = null;
3180
+ if (value.selected) {
3181
+ let selPos = tr.changes.mapPos(value.selected.from, 1);
3182
+ selected = findDiagnostic(mapped, value.selected.diagnostic, selPos) || findDiagnostic(mapped, null, selPos);
3183
+ }
3184
+ value = new LintState(mapped, value.panel, selected);
3185
+ }
3186
+ for (let effect of tr.effects) {
3187
+ if (effect.is(setDiagnosticsEffect)) {
3188
+ value = LintState.init(effect.value, value.panel, tr.state);
3189
+ } else if (effect.is(togglePanel)) {
3190
+ value = new LintState(value.diagnostics, effect.value ? LintPanel.open : null, value.selected);
3191
+ } else if (effect.is(movePanelSelection)) {
3192
+ value = new LintState(value.diagnostics, value.panel, effect.value);
3193
+ }
3194
+ }
3195
+ return value;
3196
+ },
3197
+ provide: f => [showPanel.from(f, val => val.panel), EditorView.decorations.from(f, s => s.diagnostics)]
3198
+ });
3199
+ const activeMark = /*@__PURE__*/Decoration.mark({
3200
+ class: "cm-lintRange cm-lintRange-active"
3201
+ });
3202
+ function lintTooltip(view, pos, side) {
3203
+ let {
3204
+ diagnostics
3205
+ } = view.state.field(lintState);
3206
+ let found = [],
3207
+ stackStart = 2e8,
3208
+ stackEnd = 0;
3209
+ diagnostics.between(pos - (side < 0 ? 1 : 0), pos + (side > 0 ? 1 : 0), (from, to, {
3210
+ spec
3211
+ }) => {
3212
+ if (pos >= from && pos <= to && (from == to || (pos > from || side > 0) && (pos < to || side < 0))) {
3213
+ found.push(spec.diagnostic);
3214
+ stackStart = Math.min(from, stackStart);
3215
+ stackEnd = Math.max(to, stackEnd);
3216
+ }
3217
+ });
3218
+ let diagnosticFilter = view.state.facet(lintConfig).tooltipFilter;
3219
+ if (diagnosticFilter) found = diagnosticFilter(found);
3220
+ if (!found.length) return null;
3221
+ return {
3222
+ pos: stackStart,
3223
+ end: stackEnd,
3224
+ above: view.state.doc.lineAt(stackStart).to < stackEnd,
3225
+ create() {
3226
+ return {
3227
+ dom: diagnosticsTooltip(view, found)
3228
+ };
3229
+ }
3230
+ };
3231
+ }
3232
+ function diagnosticsTooltip(view, diagnostics) {
3233
+ return crelt("ul", {
3234
+ class: "cm-tooltip-lint"
3235
+ }, diagnostics.map(d => renderDiagnostic(view, d, false)));
3236
+ }
3237
+ /**
3238
+ Command to open and focus the lint panel.
3239
+ */
3240
+ const openLintPanel = view => {
3241
+ let field = view.state.field(lintState, false);
3242
+ if (!field || !field.panel) view.dispatch({
3243
+ effects: maybeEnableLint(view.state, [togglePanel.of(true)])
3244
+ });
3245
+ let panel = getPanel(view, LintPanel.open);
3246
+ if (panel) panel.dom.querySelector(".cm-panel-lint ul").focus();
3247
+ return true;
3248
+ };
3249
+ /**
3250
+ Command to close the lint panel, when open.
3251
+ */
3252
+ const closeLintPanel = view => {
3253
+ let field = view.state.field(lintState, false);
3254
+ if (!field || !field.panel) return false;
3255
+ view.dispatch({
3256
+ effects: togglePanel.of(false)
3257
+ });
3258
+ return true;
3259
+ };
3260
+ /**
3261
+ Move the selection to the next diagnostic.
3262
+ */
3263
+ const nextDiagnostic = view => {
3264
+ let field = view.state.field(lintState, false);
3265
+ if (!field) return false;
3266
+ let sel = view.state.selection.main,
3267
+ next = field.diagnostics.iter(sel.to + 1);
3268
+ if (!next.value) {
3269
+ next = field.diagnostics.iter(0);
3270
+ if (!next.value || next.from == sel.from && next.to == sel.to) return false;
3271
+ }
3272
+ view.dispatch({
3273
+ selection: {
3274
+ anchor: next.from,
3275
+ head: next.to
3276
+ },
3277
+ scrollIntoView: true
3278
+ });
3279
+ return true;
3280
+ };
3281
+ /**
3282
+ A set of default key bindings for the lint functionality.
3283
+
3284
+ - Ctrl-Shift-m (Cmd-Shift-m on macOS): [`openLintPanel`](https://codemirror.net/6/docs/ref/#lint.openLintPanel)
3285
+ - F8: [`nextDiagnostic`](https://codemirror.net/6/docs/ref/#lint.nextDiagnostic)
3286
+ */
3287
+ const lintKeymap = [{
3288
+ key: "Mod-Shift-m",
3289
+ run: openLintPanel,
3290
+ preventDefault: true
3291
+ }, {
3292
+ key: "F8",
3293
+ run: nextDiagnostic
3294
+ }];
3295
+ const lintPlugin = /*@__PURE__*/ViewPlugin.fromClass(class {
3296
+ constructor(view) {
3297
+ this.view = view;
3298
+ this.timeout = -1;
3299
+ this.set = true;
3300
+ let {
3301
+ delay
3302
+ } = view.state.facet(lintConfig);
3303
+ this.lintTime = Date.now() + delay;
3304
+ this.run = this.run.bind(this);
3305
+ this.timeout = setTimeout(this.run, delay);
3306
+ }
3307
+ run() {
3308
+ let now = Date.now();
3309
+ if (now < this.lintTime - 10) {
3310
+ setTimeout(this.run, this.lintTime - now);
3311
+ } else {
3312
+ this.set = false;
3313
+ let {
3314
+ state
3315
+ } = this.view,
3316
+ {
3317
+ sources
3318
+ } = state.facet(lintConfig);
3319
+ Promise.all(sources.map(source => Promise.resolve(source(this.view)))).then(annotations => {
3320
+ let all = annotations.reduce((a, b) => a.concat(b));
3321
+ if (this.view.state.doc == state.doc) this.view.dispatch(setDiagnostics(this.view.state, all));
3322
+ }, error => {
3323
+ logException(this.view.state, error);
3324
+ });
3325
+ }
3326
+ }
3327
+ update(update) {
3328
+ let config = update.state.facet(lintConfig);
3329
+ if (update.docChanged || config != update.startState.facet(lintConfig)) {
3330
+ this.lintTime = Date.now() + config.delay;
3331
+ if (!this.set) {
3332
+ this.set = true;
3333
+ this.timeout = setTimeout(this.run, config.delay);
3334
+ }
3335
+ }
3336
+ }
3337
+ force() {
3338
+ if (this.set) {
3339
+ this.lintTime = Date.now();
3340
+ this.run();
3341
+ }
3342
+ }
3343
+ destroy() {
3344
+ clearTimeout(this.timeout);
3345
+ }
3346
+ });
3347
+ const lintConfig = /*@__PURE__*/Facet.define({
3348
+ combine(input) {
3349
+ return Object.assign({
3350
+ sources: input.map(i => i.source)
3351
+ }, combineConfig(input.map(i => i.config), {
3352
+ delay: 750,
3353
+ markerFilter: null,
3354
+ tooltipFilter: null
3355
+ }));
3356
+ },
3357
+ enables: lintPlugin
3358
+ });
3359
+ function assignKeys(actions) {
3360
+ let assigned = [];
3361
+ if (actions) actions: for (let {
3362
+ name
3363
+ } of actions) {
3364
+ for (let i = 0; i < name.length; i++) {
3365
+ let ch = name[i];
3366
+ if (/[a-zA-Z]/.test(ch) && !assigned.some(c => c.toLowerCase() == ch.toLowerCase())) {
3367
+ assigned.push(ch);
3368
+ continue actions;
3369
+ }
3370
+ }
3371
+ assigned.push("");
3372
+ }
3373
+ return assigned;
3374
+ }
3375
+ function renderDiagnostic(view, diagnostic, inPanel) {
3376
+ var _a;
3377
+ let keys = inPanel ? assignKeys(diagnostic.actions) : [];
3378
+ return crelt("li", {
3379
+ class: "cm-diagnostic cm-diagnostic-" + diagnostic.severity
3380
+ }, crelt("span", {
3381
+ class: "cm-diagnosticText"
3382
+ }, diagnostic.renderMessage ? diagnostic.renderMessage() : diagnostic.message), (_a = diagnostic.actions) === null || _a === void 0 ? void 0 : _a.map((action, i) => {
3383
+ let click = e => {
3384
+ e.preventDefault();
3385
+ let found = findDiagnostic(view.state.field(lintState).diagnostics, diagnostic);
3386
+ if (found) action.apply(view, found.from, found.to);
3387
+ };
3388
+ let {
3389
+ name
3390
+ } = action,
3391
+ keyIndex = keys[i] ? name.indexOf(keys[i]) : -1;
3392
+ let nameElt = keyIndex < 0 ? name : [name.slice(0, keyIndex), crelt("u", name.slice(keyIndex, keyIndex + 1)), name.slice(keyIndex + 1)];
3393
+ return crelt("button", {
3394
+ type: "button",
3395
+ class: "cm-diagnosticAction",
3396
+ onclick: click,
3397
+ onmousedown: click,
3398
+ "aria-label": ` Action: ${name}${keyIndex < 0 ? "" : ` (access key "${keys[i]})"`}.`
3399
+ }, nameElt);
3400
+ }), diagnostic.source && crelt("div", {
3401
+ class: "cm-diagnosticSource"
3402
+ }, diagnostic.source));
3403
+ }
3404
+ class DiagnosticWidget extends WidgetType {
3405
+ constructor(diagnostic) {
3406
+ super();
3407
+ this.diagnostic = diagnostic;
3408
+ }
3409
+ eq(other) {
3410
+ return other.diagnostic == this.diagnostic;
3411
+ }
3412
+ toDOM() {
3413
+ return crelt("span", {
3414
+ class: "cm-lintPoint cm-lintPoint-" + this.diagnostic.severity
3415
+ });
3416
+ }
3417
+ }
3418
+ class PanelItem {
3419
+ constructor(view, diagnostic) {
3420
+ this.diagnostic = diagnostic;
3421
+ this.id = "item_" + Math.floor(Math.random() * 0xffffffff).toString(16);
3422
+ this.dom = renderDiagnostic(view, diagnostic, true);
3423
+ this.dom.id = this.id;
3424
+ this.dom.setAttribute("role", "option");
3425
+ }
3426
+ }
3427
+ class LintPanel {
3428
+ constructor(view) {
3429
+ this.view = view;
3430
+ this.items = [];
3431
+ let onkeydown = event => {
3432
+ if (event.keyCode == 27) {
3433
+ // Escape
3434
+ closeLintPanel(this.view);
3435
+ this.view.focus();
3436
+ } else if (event.keyCode == 38 || event.keyCode == 33) {
3437
+ // ArrowUp, PageUp
3438
+ this.moveSelection((this.selectedIndex - 1 + this.items.length) % this.items.length);
3439
+ } else if (event.keyCode == 40 || event.keyCode == 34) {
3440
+ // ArrowDown, PageDown
3441
+ this.moveSelection((this.selectedIndex + 1) % this.items.length);
3442
+ } else if (event.keyCode == 36) {
3443
+ // Home
3444
+ this.moveSelection(0);
3445
+ } else if (event.keyCode == 35) {
3446
+ // End
3447
+ this.moveSelection(this.items.length - 1);
3448
+ } else if (event.keyCode == 13) {
3449
+ // Enter
3450
+ this.view.focus();
3451
+ } else if (event.keyCode >= 65 && event.keyCode <= 90 && this.selectedIndex >= 0) {
3452
+ // A-Z
3453
+ let {
3454
+ diagnostic
3455
+ } = this.items[this.selectedIndex],
3456
+ keys = assignKeys(diagnostic.actions);
3457
+ for (let i = 0; i < keys.length; i++) if (keys[i].toUpperCase().charCodeAt(0) == event.keyCode) {
3458
+ let found = findDiagnostic(this.view.state.field(lintState).diagnostics, diagnostic);
3459
+ if (found) diagnostic.actions[i].apply(view, found.from, found.to);
3460
+ }
3461
+ } else {
3462
+ return;
3463
+ }
3464
+ event.preventDefault();
3465
+ };
3466
+ let onclick = event => {
3467
+ for (let i = 0; i < this.items.length; i++) {
3468
+ if (this.items[i].dom.contains(event.target)) this.moveSelection(i);
3469
+ }
3470
+ };
3471
+ this.list = crelt("ul", {
3472
+ tabIndex: 0,
3473
+ role: "listbox",
3474
+ "aria-label": this.view.state.phrase("Diagnostics"),
3475
+ onkeydown,
3476
+ onclick
3477
+ });
3478
+ this.dom = crelt("div", {
3479
+ class: "cm-panel-lint"
3480
+ }, this.list, crelt("button", {
3481
+ type: "button",
3482
+ name: "close",
3483
+ "aria-label": this.view.state.phrase("close"),
3484
+ onclick: () => closeLintPanel(this.view)
3485
+ }, "×"));
3486
+ this.update();
3487
+ }
3488
+ get selectedIndex() {
3489
+ let selected = this.view.state.field(lintState).selected;
3490
+ if (!selected) return -1;
3491
+ for (let i = 0; i < this.items.length; i++) if (this.items[i].diagnostic == selected.diagnostic) return i;
3492
+ return -1;
3493
+ }
3494
+ update() {
3495
+ let {
3496
+ diagnostics,
3497
+ selected
3498
+ } = this.view.state.field(lintState);
3499
+ let i = 0,
3500
+ needsSync = false,
3501
+ newSelectedItem = null;
3502
+ diagnostics.between(0, this.view.state.doc.length, (_start, _end, {
3503
+ spec
3504
+ }) => {
3505
+ let found = -1,
3506
+ item;
3507
+ for (let j = i; j < this.items.length; j++) if (this.items[j].diagnostic == spec.diagnostic) {
3508
+ found = j;
3509
+ break;
3510
+ }
3511
+ if (found < 0) {
3512
+ item = new PanelItem(this.view, spec.diagnostic);
3513
+ this.items.splice(i, 0, item);
3514
+ needsSync = true;
3515
+ } else {
3516
+ item = this.items[found];
3517
+ if (found > i) {
3518
+ this.items.splice(i, found - i);
3519
+ needsSync = true;
3520
+ }
3521
+ }
3522
+ if (selected && item.diagnostic == selected.diagnostic) {
3523
+ if (!item.dom.hasAttribute("aria-selected")) {
3524
+ item.dom.setAttribute("aria-selected", "true");
3525
+ newSelectedItem = item;
3526
+ }
3527
+ } else if (item.dom.hasAttribute("aria-selected")) {
3528
+ item.dom.removeAttribute("aria-selected");
3529
+ }
3530
+ i++;
3531
+ });
3532
+ while (i < this.items.length && !(this.items.length == 1 && this.items[0].diagnostic.from < 0)) {
3533
+ needsSync = true;
3534
+ this.items.pop();
3535
+ }
3536
+ if (this.items.length == 0) {
3537
+ this.items.push(new PanelItem(this.view, {
3538
+ from: -1,
3539
+ to: -1,
3540
+ severity: "info",
3541
+ message: this.view.state.phrase("No diagnostics")
3542
+ }));
3543
+ needsSync = true;
3544
+ }
3545
+ if (newSelectedItem) {
3546
+ this.list.setAttribute("aria-activedescendant", newSelectedItem.id);
3547
+ this.view.requestMeasure({
3548
+ key: this,
3549
+ read: () => ({
3550
+ sel: newSelectedItem.dom.getBoundingClientRect(),
3551
+ panel: this.list.getBoundingClientRect()
3552
+ }),
3553
+ write: ({
3554
+ sel,
3555
+ panel
3556
+ }) => {
3557
+ if (sel.top < panel.top) this.list.scrollTop -= panel.top - sel.top;else if (sel.bottom > panel.bottom) this.list.scrollTop += sel.bottom - panel.bottom;
3558
+ }
3559
+ });
3560
+ } else if (this.selectedIndex < 0) {
3561
+ this.list.removeAttribute("aria-activedescendant");
3562
+ }
3563
+ if (needsSync) this.sync();
3564
+ }
3565
+ sync() {
3566
+ let domPos = this.list.firstChild;
3567
+ function rm() {
3568
+ let prev = domPos;
3569
+ domPos = prev.nextSibling;
3570
+ prev.remove();
3571
+ }
3572
+ for (let item of this.items) {
3573
+ if (item.dom.parentNode == this.list) {
3574
+ while (domPos != item.dom) rm();
3575
+ domPos = item.dom.nextSibling;
3576
+ } else {
3577
+ this.list.insertBefore(item.dom, domPos);
3578
+ }
3579
+ }
3580
+ while (domPos) rm();
3581
+ }
3582
+ moveSelection(selectedIndex) {
3583
+ if (this.selectedIndex < 0) return;
3584
+ let field = this.view.state.field(lintState);
3585
+ let selection = findDiagnostic(field.diagnostics, this.items[selectedIndex].diagnostic);
3586
+ if (!selection) return;
3587
+ this.view.dispatch({
3588
+ selection: {
3589
+ anchor: selection.from,
3590
+ head: selection.to
3591
+ },
3592
+ scrollIntoView: true,
3593
+ effects: movePanelSelection.of(selection)
3594
+ });
3595
+ }
3596
+ static open(view) {
3597
+ return new LintPanel(view);
3598
+ }
3599
+ }
3600
+ function svg(content, attrs = `viewBox="0 0 40 40"`) {
3601
+ return `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${attrs}>${encodeURIComponent(content)}</svg>')`;
3602
+ }
3603
+ function underline(color) {
3604
+ return svg(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${color}" fill="none" stroke-width=".7"/>`, `width="6" height="3"`);
3605
+ }
3606
+ const baseTheme = /*@__PURE__*/EditorView.baseTheme({
3607
+ ".cm-diagnostic": {
3608
+ padding: "3px 6px 3px 8px",
3609
+ marginLeft: "-1px",
3610
+ display: "block",
3611
+ whiteSpace: "pre-wrap"
3612
+ },
3613
+ ".cm-diagnostic-error": {
3614
+ borderLeft: "5px solid #d11"
3615
+ },
3616
+ ".cm-diagnostic-warning": {
3617
+ borderLeft: "5px solid orange"
3618
+ },
3619
+ ".cm-diagnostic-info": {
3620
+ borderLeft: "5px solid #999"
3621
+ },
3622
+ ".cm-diagnosticAction": {
3623
+ font: "inherit",
3624
+ border: "none",
3625
+ padding: "2px 4px",
3626
+ backgroundColor: "#444",
3627
+ color: "white",
3628
+ borderRadius: "3px",
3629
+ marginLeft: "8px"
3630
+ },
3631
+ ".cm-diagnosticSource": {
3632
+ fontSize: "70%",
3633
+ opacity: .7
3634
+ },
3635
+ ".cm-lintRange": {
3636
+ backgroundPosition: "left bottom",
3637
+ backgroundRepeat: "repeat-x",
3638
+ paddingBottom: "0.7px"
3639
+ },
3640
+ ".cm-lintRange-error": {
3641
+ backgroundImage: /*@__PURE__*/underline("#d11")
3642
+ },
3643
+ ".cm-lintRange-warning": {
3644
+ backgroundImage: /*@__PURE__*/underline("orange")
3645
+ },
3646
+ ".cm-lintRange-info": {
3647
+ backgroundImage: /*@__PURE__*/underline("#999")
3648
+ },
3649
+ ".cm-lintRange-active": {
3650
+ backgroundColor: "#ffdd9980"
3651
+ },
3652
+ ".cm-tooltip-lint": {
3653
+ padding: 0,
3654
+ margin: 0
3655
+ },
3656
+ ".cm-lintPoint": {
3657
+ position: "relative",
3658
+ "&:after": {
3659
+ content: '""',
3660
+ position: "absolute",
3661
+ bottom: 0,
3662
+ left: "-2px",
3663
+ borderLeft: "3px solid transparent",
3664
+ borderRight: "3px solid transparent",
3665
+ borderBottom: "4px solid #d11"
3666
+ }
3667
+ },
3668
+ ".cm-lintPoint-warning": {
3669
+ "&:after": {
3670
+ borderBottomColor: "orange"
3671
+ }
3672
+ },
3673
+ ".cm-lintPoint-info": {
3674
+ "&:after": {
3675
+ borderBottomColor: "#999"
3676
+ }
3677
+ },
3678
+ ".cm-panel.cm-panel-lint": {
3679
+ position: "relative",
3680
+ "& ul": {
3681
+ maxHeight: "100px",
3682
+ overflowY: "auto",
3683
+ "& [aria-selected]": {
3684
+ backgroundColor: "#ddd",
3685
+ "& u": {
3686
+ textDecoration: "underline"
3687
+ }
3688
+ },
3689
+ "&:focus [aria-selected]": {
3690
+ background_fallback: "#bdf",
3691
+ backgroundColor: "Highlight",
3692
+ color_fallback: "white",
3693
+ color: "HighlightText"
3694
+ },
3695
+ "& u": {
3696
+ textDecoration: "none"
3697
+ },
3698
+ padding: 0,
3699
+ margin: 0
3700
+ },
3701
+ "& [name=close]": {
3702
+ position: "absolute",
3703
+ top: "0",
3704
+ right: "2px",
3705
+ background: "inherit",
3706
+ border: "none",
3707
+ font: "inherit",
3708
+ padding: 0,
3709
+ margin: 0
3710
+ }
3711
+ }
3712
+ });
3713
+
3714
+ // (The superfluous function calls around the list of extensions work
3715
+ // around current limitations in tree-shaking software.)
3716
+ /**
3717
+ This is an extension value that just pulls together a number of
3718
+ extensions that you might want in a basic editor. It is meant as a
3719
+ convenient helper to quickly set up CodeMirror without installing
3720
+ and importing a lot of separate packages.
3721
+
3722
+ Specifically, it includes...
3723
+
3724
+ - [the default command bindings](https://codemirror.net/6/docs/ref/#commands.defaultKeymap)
3725
+ - [line numbers](https://codemirror.net/6/docs/ref/#view.lineNumbers)
3726
+ - [special character highlighting](https://codemirror.net/6/docs/ref/#view.highlightSpecialChars)
3727
+ - [the undo history](https://codemirror.net/6/docs/ref/#commands.history)
3728
+ - [a fold gutter](https://codemirror.net/6/docs/ref/#language.foldGutter)
3729
+ - [custom selection drawing](https://codemirror.net/6/docs/ref/#view.drawSelection)
3730
+ - [drop cursor](https://codemirror.net/6/docs/ref/#view.dropCursor)
3731
+ - [multiple selections](https://codemirror.net/6/docs/ref/#state.EditorState^allowMultipleSelections)
3732
+ - [reindentation on input](https://codemirror.net/6/docs/ref/#language.indentOnInput)
3733
+ - [the default highlight style](https://codemirror.net/6/docs/ref/#language.defaultHighlightStyle) (as fallback)
3734
+ - [bracket matching](https://codemirror.net/6/docs/ref/#language.bracketMatching)
3735
+ - [bracket closing](https://codemirror.net/6/docs/ref/#autocomplete.closeBrackets)
3736
+ - [autocompletion](https://codemirror.net/6/docs/ref/#autocomplete.autocompletion)
3737
+ - [rectangular selection](https://codemirror.net/6/docs/ref/#view.rectangularSelection) and [crosshair cursor](https://codemirror.net/6/docs/ref/#view.crosshairCursor)
3738
+ - [active line highlighting](https://codemirror.net/6/docs/ref/#view.highlightActiveLine)
3739
+ - [active line gutter highlighting](https://codemirror.net/6/docs/ref/#view.highlightActiveLineGutter)
3740
+ - [selection match highlighting](https://codemirror.net/6/docs/ref/#search.highlightSelectionMatches)
3741
+ - [search](https://codemirror.net/6/docs/ref/#search.searchKeymap)
3742
+ - [linting](https://codemirror.net/6/docs/ref/#lint.lintKeymap)
3743
+
3744
+ (You'll probably want to add some language package to your setup
3745
+ too.)
3746
+
3747
+ This extension does not allow customization. The idea is that,
3748
+ once you decide you want to configure your editor more precisely,
3749
+ you take this package's source (which is just a bunch of imports
3750
+ and an array literal), copy it into your own code, and adjust it
3751
+ as desired.
3752
+ */
3753
+ const basicSetup = /*@__PURE__*/(() => [lineNumbers(), highlightActiveLineGutter(), highlightSpecialChars(), history(), foldGutter(), drawSelection(), dropCursor(), EditorState.allowMultipleSelections.of(true), indentOnInput(), syntaxHighlighting(defaultHighlightStyle, {
3754
+ fallback: true
3755
+ }), bracketMatching(), closeBrackets(), autocompletion(), rectangularSelection(), crosshairCursor(), highlightActiveLine(), highlightSelectionMatches(), keymap.of([...closeBracketsKeymap, ...defaultKeymap, ...searchKeymap, ...historyKeymap, ...foldKeymap, ...completionKeymap, ...lintKeymap])])();
3756
+
3757
+ //partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
3758
+ var script = defineComponent({
3759
+ name: 'OrCode',
3760
+ components: {
3761
+ OrIconButton: __vue_component__$1,
3762
+ OrModal: __vue_component__$2,
3763
+ OrTeleport: __vue_component__$3,
3764
+ OrError: __vue_component__$4,
3765
+ OrHint: __vue_component__$5,
3766
+ OrLabel: __vue_component__$6
3767
+ },
3768
+ model: {
3769
+ prop: 'modelValue',
3770
+ event: 'update:modelValue'
3771
+ },
3772
+ props: {
3773
+ label: {
3774
+ type: String,
3775
+ default: '',
3776
+ required: false
3777
+ },
3778
+ modelValue: {
3779
+ type: String,
3780
+ default: '',
3781
+ required: false
3782
+ },
3783
+ language: {
3784
+ type: [Object, String],
3785
+ required: false,
3786
+ default: OrCodeLanguages.JS
3787
+ },
3788
+ isReadonly: {
3789
+ type: Boolean,
3790
+ required: false,
3791
+ default: false
3792
+ },
3793
+ extensions: {
3794
+ type: Array,
3795
+ required: false,
3796
+ default: () => [basicSetup]
3797
+ },
3798
+ phrases: {
3799
+ type: Object,
3800
+ required: false,
3801
+ default: null
3802
+ },
3803
+ isShowingFullscreen: {
3804
+ type: Boolean,
3805
+ default: true,
3806
+ required: false
3807
+ },
3808
+ isInvalid: {
3809
+ type: Boolean,
3810
+ default: false,
3811
+ required: false
3812
+ },
3813
+ error: {
3814
+ type: String,
3815
+ default: '',
3816
+ required: false
3817
+ },
3818
+ hint: {
3819
+ type: String,
3820
+ default: '',
3821
+ required: false
3822
+ },
3823
+ allowPaste: {
3824
+ type: Boolean,
3825
+ default: true
3826
+ },
3827
+ allowDrop: {
3828
+ type: Boolean,
3829
+ default: true
3830
+ },
3831
+ lineWrapping: {
3832
+ type: Boolean,
3833
+ default: false
3834
+ }
3835
+ },
3836
+ emits: ['update:modelValue', 'focus', 'blur'],
3837
+ setup(props, {
3838
+ emit
3839
+ }) {
3840
+ const root = ref();
3841
+ const target = ref();
3842
+ const fullscreenTarget = ref();
3843
+ const isHovered = useElementHover(root);
3844
+ const editor = new EditorView({
3845
+ state: EditorState.create({
3846
+ doc: props.modelValue
3847
+ }),
3848
+ dispatch: tr => {
3849
+ editor.update([tr]);
3850
+ if (tr.changes.empty) return;
3851
+ emit('update:modelValue', editor.state.doc.toString());
3852
+ }
3853
+ });
3854
+ return {
3855
+ root,
3856
+ target,
3857
+ fullscreenTarget,
3858
+ editor,
3859
+ isHovered
3860
+ };
3861
+ },
3862
+ data() {
3863
+ return {
3864
+ isFullscreen: false
3865
+ };
3866
+ },
3867
+ computed: {
3868
+ localLanguage() {
3869
+ if (_.includes(_.values(OrCodeLanguages), this.language)) {
3870
+ return languages[this.language];
3871
+ } else {
3872
+ return this.language;
3873
+ }
3874
+ },
3875
+ localExtensions() {
3876
+ const {
3877
+ allowDrop,
3878
+ allowPaste,
3879
+ lineWrapping
3880
+ } = this;
3881
+ const ext = _.compact([
3882
+ // Toggle light/dark mode
3883
+ EditorView.baseTheme({}),
3884
+ // locale settings
3885
+ this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
3886
+ // Parser language setting
3887
+ this.localLanguage,
3888
+ // Editable option
3889
+ EditorView.editable.of(!this.isReadonly),
3890
+ // Focus and blur listener
3891
+ EditorView.updateListener.of(viewUpdate => {
3892
+ if (viewUpdate.focusChanged) {
3893
+ viewUpdate.view.hasFocus ? this.$emit('focus') : this.$emit('blur', viewUpdate.state.doc.toString());
3894
+ }
3895
+ }), EditorView.domEventHandlers({
3896
+ drop(event) {
3897
+ if (!allowDrop) {
3898
+ event.preventDefault();
3899
+ return true;
3900
+ }
3901
+ },
3902
+ paste(event) {
3903
+ if (!allowPaste) {
3904
+ event.preventDefault();
3905
+ return true;
3906
+ }
3907
+ }
3908
+ }),
3909
+ // line wrapping
3910
+ lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])]);
3911
+ // Append Extensions (such as basic-setup)
3912
+ if (this.extensions.length !== 0) _.merge(ext, this.extensions);
3913
+ return ext;
3914
+ },
3915
+ isShowingError() {
3916
+ return !!this.error && this.isInvalid;
3917
+ },
3918
+ isShowingHint() {
3919
+ return !!this.hint && !this.isShowingError;
3920
+ },
3921
+ isShowingHeader() {
3922
+ var _a;
3923
+ return this.isShowingFullscreen || this.$slots.label || this.$slots.actions || ((_a = this.$scopedSlots) === null || _a === void 0 ? void 0 : _a.actions);
3924
+ }
3925
+ },
3926
+ watch: {
3927
+ modelValue(value) {
3928
+ if (this.editor.composing) return;
3929
+ if (this.editor.state.doc.toString() === value) return;
3930
+ const previous = this.editor.state.selection;
3931
+ this.editor.setState(EditorState.create({
3932
+ doc: value,
3933
+ extensions: this.localExtensions,
3934
+ selection: _.some(previous.ranges, range => range.to > value.length) ? {
3935
+ anchor: value.length
3936
+ } : previous
3937
+ }));
3938
+ },
3939
+ isFullscreen(value) {
3940
+ if (value) {
3941
+ this.fullscreenTarget.append(this.editor.dom);
3942
+ } else {
3943
+ this.target.append(this.editor.dom);
3944
+ }
3945
+ },
3946
+ localExtensions() {
3947
+ this.updateEditorState();
3948
+ }
3949
+ },
3950
+ mounted() {
3951
+ this.updateEditorState();
3952
+ this.target.append(this.editor.dom);
3953
+ },
3954
+ beforeUnmount() {
3955
+ var _a;
3956
+ (_a = this.editor) === null || _a === void 0 ? void 0 : _a.destroy();
3957
+ },
3958
+ methods: {
3959
+ updateEditorState() {
3960
+ this.editor.setState(EditorState.create({
3961
+ doc: this.modelValue,
3962
+ extensions: this.localExtensions
3963
+ }));
3964
+ },
3965
+ toggleFullscreen(value) {
3966
+ this.isFullscreen = value === undefined ? !this.isFullscreen : value;
3967
+ }
3968
+ }
3969
+ });
3970
+
3971
+ /* script */
3972
+ const __vue_script__ = script;
3973
+
3974
+ /* template */
3975
+ var __vue_render__ = function () {
3976
+ var _vm = this;
3977
+ var _h = _vm.$createElement;
3978
+ var _c = _vm._self._c || _h;
3979
+ return _c('div', {
3980
+ ref: "root",
3981
+ staticClass: "or-code"
3982
+ }, [_vm.isShowingHeader ? _c('div', {
3983
+ staticClass: "header"
3984
+ }, [_c('or-label', {
3985
+ attrs: {
3986
+ "label": _vm.label
3987
+ },
3988
+ scopedSlots: _vm._u([{
3989
+ key: "append",
3990
+ fn: function () {
3991
+ return [_vm._t("label-append")];
3992
+ },
3993
+ proxy: true
3994
+ }], null, true)
3995
+ }, [_vm._t("label")], 2), _vm._v(" "), _c('div', {
3996
+ staticClass: "actions",
3997
+ class: {
3998
+ 'is-visible': _vm.isHovered
3999
+ }
4000
+ }, [_vm._t("actions", function () {
4001
+ return [_vm.isShowingFullscreen ? _c('or-icon-button', {
4002
+ staticClass: "fullscreen-button",
4003
+ attrs: {
4004
+ "icon": "fullscreen",
4005
+ "icon-color": "neutral-3"
4006
+ },
4007
+ on: {
4008
+ "click": function ($event) {
4009
+ return _vm.toggleFullscreen(true);
4010
+ }
4011
+ }
4012
+ }) : _vm._e()];
4013
+ }, {
4014
+ "toggleFullscreen": _vm.toggleFullscreen
4015
+ })], 2)], 1) : _vm._e(), _vm._v(" "), _c('div', {
4016
+ ref: "target",
4017
+ staticClass: "or-code-editor",
4018
+ class: {
4019
+ 'is-invalid': _vm.isInvalid
4020
+ }
4021
+ }), _vm._v(" "), _c('div', {
4022
+ staticClass: "footer"
4023
+ }, [_vm.isShowingError ? _c('or-error', {
4024
+ staticClass: "or-code-error",
4025
+ attrs: {
4026
+ "error": _vm.error
4027
+ }
4028
+ }) : _vm._e(), _vm._v(" "), _vm.isShowingHint ? _c('or-hint', {
4029
+ staticClass: "or-code-hint",
4030
+ attrs: {
4031
+ "hint": _vm.hint
4032
+ }
4033
+ }) : _vm._e()], 1), _vm._v(" "), _c('or-teleport', [_c('or-modal', {
4034
+ directives: [{
4035
+ name: "show",
4036
+ rawName: "v-show",
4037
+ value: _vm.isFullscreen,
4038
+ expression: "isFullscreen"
4039
+ }],
4040
+ attrs: {
4041
+ "title-text": _vm.label,
4042
+ "size": "fullScreen",
4043
+ "is-open": "",
4044
+ "trap-focus": false
4045
+ },
4046
+ on: {
4047
+ "close": function ($event) {
4048
+ return _vm.toggleFullscreen(false);
4049
+ }
4050
+ }
4051
+ }, [_vm.$slots['modal-actions'] ? _c('div', {
4052
+ staticClass: "header"
4053
+ }, [_c('div', {
4054
+ staticClass: "actions is-visible"
4055
+ }, [_vm._t("modal-actions")], 2)]) : _vm._e(), _vm._v(" "), _c('div', {
4056
+ ref: "fullscreenTarget",
4057
+ staticClass: "or-code-editor",
4058
+ class: {
4059
+ 'is-invalid': _vm.isInvalid
4060
+ }
4061
+ }), _vm._v(" "), _vm.isShowingError ? _c('or-error', {
4062
+ staticClass: "or-code-error",
4063
+ attrs: {
4064
+ "error": _vm.error
4065
+ }
4066
+ }) : _vm._e()], 1)], 1)], 1);
4067
+ };
4068
+ var __vue_staticRenderFns__ = [];
4069
+
4070
+ /* style */
4071
+ const __vue_inject_styles__ = function (inject) {
4072
+ if (!inject) return;
4073
+ inject("data-v-2056db5f_0", {
4074
+ source: "@keyframes spinAround-data-v-2056db5f{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes fade-data-v-2056db5f{from{opacity:1}to{opacity:0}}.or-code .fullscreen-button[data-v-2056db5f]{width:2.25rem;height:2.25rem}.or-code .fullscreen-button>.or-icon[data-v-2056db5f]{font-size:1.5rem}.or-code .footer .or-code-error[data-v-2056db5f],.or-code .footer .or-code-hint[data-v-2056db5f]{flex-shrink:1;transition-timing-function:var(--t-func);transition-duration:var(--t-duration);transition-property:height,opacity}.header[data-v-2056db5f]{display:flex;flex-direction:row;align-items:center;height:36px}.header .actions[data-v-2056db5f]{margin-left:auto}.header .actions[data-v-2056db5f]:not(.is-visible){display:none}.or-code-editor[data-v-2056db5f]{min-height:calc(1.4em + 8px);overflow:auto;font-size:var(--fs-0);border:1px solid var(--c-neutral-2);border-radius:var(--s-2)}.or-code-editor.is-invalid[data-v-2056db5f]{border-color:var(--c-error)}.or-code-editor[data-v-2056db5f]> *{width:100%;height:100%}.or-code[data-v-2056db5f],.or-modal[data-v-2056db5f] .content{display:flex;flex-direction:column}.or-code .or-code-editor[data-v-2056db5f],.or-modal[data-v-2056db5f] .content .or-code-editor{flex-grow:1;text-align:left!important}",
4075
+ map: undefined,
4076
+ media: undefined
4077
+ });
4078
+ };
4079
+ /* scoped */
4080
+ const __vue_scope_id__ = "data-v-2056db5f";
4081
+ /* module identifier */
4082
+ const __vue_module_identifier__ = undefined;
4083
+ /* functional template */
4084
+ const __vue_is_functional_template__ = false;
4085
+ /* style inject SSR */
4086
+
4087
+ /* style inject shadow dom */
4088
+
4089
+ const __vue_component__ = /*#__PURE__*/normalizeComponent({
4090
+ render: __vue_render__,
4091
+ staticRenderFns: __vue_staticRenderFns__
4092
+ }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);
4093
+
4094
+ export { __vue_component__ as default };