@onereach/ui-components 3.0.2-beta.2473.0 → 3.1.0-beta.2474.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 (2567) hide show
  1. package/dist/bundled/v2/components/OrAvatar/OrAvatar.js +117 -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/OrAvatar.js +118 -0
  5. package/dist/bundled/v2/components/OrAvatarV3/index.js +12 -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/OrBottomSheet.js +142 -0
  9. package/dist/bundled/v2/components/OrBottomSheetV3/index.js +11 -0
  10. package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +37 -0
  11. package/dist/bundled/v2/components/OrButton/OrButton.js +174 -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/OrButton.js +185 -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 +21 -0
  18. package/dist/bundled/v2/components/OrButtonV3/OrButton.js +118 -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 +67 -0
  22. package/dist/bundled/v2/components/OrCard/OrCard.js +65 -0
  23. package/dist/bundled/v2/components/OrCard/index.js +4 -0
  24. package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +236 -0
  25. package/dist/bundled/v2/components/OrCardCollection/constants.js +7 -0
  26. package/dist/bundled/v2/components/OrCardCollection/index.js +30 -0
  27. package/dist/bundled/v2/components/OrCardCollection/types.js +1 -0
  28. package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +347 -0
  29. package/dist/bundled/v2/components/OrCardCollectionV3/index.js +55 -0
  30. package/dist/bundled/v2/components/OrCardCollectionV3/props.js +16 -0
  31. package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +30 -0
  32. package/dist/bundled/v2/components/OrCardCollectionV3/types.js +1 -0
  33. package/dist/bundled/v2/components/OrCardV3/OrCard.js +54 -0
  34. package/dist/bundled/v2/components/OrCardV3/index.js +4 -0
  35. package/dist/bundled/v2/components/OrCardV3/styles.js +15 -0
  36. package/dist/bundled/v2/components/OrCarousel/OrCarousel.js +2873 -0
  37. package/dist/bundled/v2/components/OrCarousel/constants.js +21 -0
  38. package/dist/bundled/v2/components/OrCarousel/index.d.ts +2 -0
  39. package/dist/bundled/v2/components/OrCarousel/index.js +18 -0
  40. package/dist/bundled/v2/components/OrCarouselItem/OrCarouselItem.js +41 -0
  41. package/dist/bundled/v2/components/OrCarouselItem/index.d.ts +1 -0
  42. package/dist/bundled/v2/components/OrCarouselItem/index.js +3 -0
  43. package/dist/bundled/v2/components/OrCheckbox/OrCheckbox.js +191 -0
  44. package/dist/bundled/v2/components/OrCheckbox/index.js +16 -0
  45. package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +187 -0
  46. package/dist/bundled/v2/components/OrCheckboxV3/index.js +10 -0
  47. package/dist/bundled/v2/components/OrCheckboxV3/styles.js +31 -0
  48. package/dist/bundled/v2/components/OrChip/OrChip.js +102 -0
  49. package/dist/bundled/v2/components/OrChip/index.d.ts +1 -0
  50. package/dist/bundled/v2/components/OrChip/index.js +16 -0
  51. package/dist/bundled/v2/components/OrChips/OrChips.js +323 -0
  52. package/dist/bundled/v2/components/OrChips/constants.js +10 -0
  53. package/dist/bundled/v2/components/OrChips/index.d.ts +2 -0
  54. package/dist/bundled/v2/components/OrChips/index.js +20 -0
  55. package/dist/bundled/v2/components/OrCode/OrCode.js +4094 -0
  56. package/dist/bundled/v2/components/OrCode/constants.js +11 -0
  57. package/dist/bundled/v2/components/OrCode/index.js +32 -0
  58. package/dist/bundled/v2/components/OrCode/lang.js +3 -0
  59. package/dist/bundled/v2/components/OrCode/theme.js +189 -0
  60. package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +168 -0
  61. package/dist/bundled/v2/components/OrCollapse/index.js +7 -0
  62. package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +167 -0
  63. package/dist/bundled/v2/components/OrColorPicker/constants.js +323 -0
  64. package/dist/bundled/v2/components/OrColorPicker/index.js +15 -0
  65. package/dist/bundled/v2/components/OrColorPicker/types.js +1 -0
  66. package/dist/bundled/v2/components/OrColorPicker/utils/defultPalette.js +15 -0
  67. package/dist/bundled/v2/components/OrCombinedInputV3/OrCombinedInput.js +148 -0
  68. package/dist/bundled/v2/components/OrCombinedInputV3/index.js +12 -0
  69. package/dist/bundled/v2/components/OrCombinedInputV3/props.js +1 -0
  70. package/dist/bundled/v2/components/OrCombinedInputV3/styles.js +16 -0
  71. package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +280 -0
  72. package/dist/bundled/v2/components/OrConfirm/index.js +32 -0
  73. package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +322 -0
  74. package/dist/bundled/v2/components/OrConfirmV3/index.js +51 -0
  75. package/dist/bundled/v2/components/OrConfirmV3/props.js +7 -0
  76. package/dist/bundled/v2/components/OrConfirmV3/styles.js +47 -0
  77. package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +759 -0
  78. package/dist/bundled/v2/components/OrDateTimePicker/constants.js +20 -0
  79. package/dist/bundled/v2/components/OrDateTimePicker/index.js +27 -0
  80. package/dist/bundled/v2/components/OrEmptyStateV3/OrEmptyState.js +111 -0
  81. package/dist/bundled/v2/components/OrEmptyStateV3/index.js +5 -0
  82. package/dist/bundled/v2/components/OrEmptyStateV3/props.js +7 -0
  83. package/dist/bundled/v2/components/OrEmptyStateV3/styles.js +46 -0
  84. package/dist/bundled/v2/components/OrEmptyStateV3/types.js +1 -0
  85. package/dist/bundled/v2/components/OrError/OrError.js +52 -0
  86. package/dist/bundled/v2/components/OrError/index.js +4 -0
  87. package/dist/bundled/v2/components/OrErrorTagV3/OrErrorTag.js +67 -0
  88. package/dist/bundled/v2/components/OrErrorTagV3/index.js +7 -0
  89. package/dist/bundled/v2/components/OrErrorTagV3/styles.js +15 -0
  90. package/dist/bundled/v2/components/OrErrorV3/OrError.js +71 -0
  91. package/dist/bundled/v2/components/OrErrorV3/index.js +4 -0
  92. package/dist/bundled/v2/components/OrErrorV3/styles.js +19 -0
  93. package/dist/bundled/v2/components/OrExpansionPanelV3/OrExpansionPanel.js +147 -0
  94. package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +8 -0
  95. package/dist/bundled/v2/components/OrExpansionPanelV3/props.js +12 -0
  96. package/dist/bundled/v2/components/OrExpansionPanelV3/styles.js +51 -0
  97. package/dist/bundled/v2/components/OrFabV3/OrFab.js +83 -0
  98. package/dist/bundled/v2/components/OrFabV3/index.js +8 -0
  99. package/dist/bundled/v2/components/OrFabV3/props.js +7 -0
  100. package/dist/bundled/v2/components/OrFabV3/styles.js +19 -0
  101. package/dist/bundled/v2/components/OrFloating/OrFloating.js +189 -0
  102. package/dist/bundled/v2/components/OrFloating/constants.js +22 -0
  103. package/dist/bundled/v2/components/OrFloating/index.js +11 -0
  104. package/dist/bundled/v2/components/OrHint/OrHint.js +55 -0
  105. package/dist/bundled/v2/components/OrHint/index.js +5 -0
  106. package/dist/bundled/v2/components/OrHintV3/OrHint.js +71 -0
  107. package/dist/bundled/v2/components/OrHintV3/index.js +4 -0
  108. package/dist/bundled/v2/components/OrHintV3/styles.js +19 -0
  109. package/dist/bundled/v2/components/OrIcon/OrIcon.js +159 -0
  110. package/dist/bundled/v2/components/OrIcon/constants.js +24 -0
  111. package/dist/bundled/v2/components/OrIcon/index.js +15 -0
  112. package/dist/bundled/v2/components/OrIconButtonV2/OrIconButton.js +230 -0
  113. package/dist/bundled/v2/components/OrIconButtonV2/OrIconButton.vue.d.ts +132 -0
  114. package/dist/bundled/v2/components/OrIconButtonV2/index.d.ts +1 -0
  115. package/dist/bundled/v2/components/OrIconButtonV2/index.js +20 -0
  116. package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +130 -0
  117. package/dist/bundled/v2/components/OrIconButtonV3/index.js +24 -0
  118. package/dist/bundled/v2/components/OrIconButtonV3/props.js +10 -0
  119. package/dist/bundled/v2/components/OrIconButtonV3/styles.js +50 -0
  120. package/dist/bundled/v2/components/OrIconV3/OrIcon.js +69 -0
  121. package/dist/bundled/v2/components/OrIconV3/index.js +5 -0
  122. package/dist/bundled/v2/components/OrIconV3/props.js +17 -0
  123. package/dist/bundled/v2/components/OrIconV3/styles.js +46 -0
  124. package/dist/bundled/v2/components/OrInlineInputBoxV3/OrInlineInputBox.js +68 -0
  125. package/dist/bundled/v2/components/OrInlineInputBoxV3/index.js +5 -0
  126. package/dist/bundled/v2/components/OrInlineInputBoxV3/props.js +7 -0
  127. package/dist/bundled/v2/components/OrInlineInputBoxV3/styles.js +23 -0
  128. package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +376 -0
  129. package/dist/bundled/v2/components/OrInlineInputV3/index.js +38 -0
  130. package/dist/bundled/v2/components/OrInlineInputV3/props.js +9 -0
  131. package/dist/bundled/v2/components/OrInlineInputV3/styles.js +29 -0
  132. package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +400 -0
  133. package/dist/bundled/v2/components/OrInlineTextEdit/constants.js +13 -0
  134. package/dist/bundled/v2/components/OrInlineTextEdit/index.js +25 -0
  135. package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +293 -0
  136. package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +37 -0
  137. package/dist/bundled/v2/components/OrInlineTextareaV3/styles.js +21 -0
  138. package/dist/bundled/v2/components/OrInput/OrInput.js +330 -0
  139. package/dist/bundled/v2/components/OrInput/index.js +11 -0
  140. package/dist/bundled/v2/components/OrInputBoxV3/OrInputBox.js +82 -0
  141. package/dist/bundled/v2/components/OrInputBoxV3/index.js +5 -0
  142. package/dist/bundled/v2/components/OrInputBoxV3/props.js +12 -0
  143. package/dist/bundled/v2/components/OrInputBoxV3/styles.js +45 -0
  144. package/dist/bundled/v2/components/OrInputV3/OrInput.js +433 -0
  145. package/dist/bundled/v2/components/OrInputV3/index.js +44 -0
  146. package/dist/bundled/v2/components/OrInputV3/props.js +11 -0
  147. package/dist/bundled/v2/components/OrInputV3/styles.js +14 -0
  148. package/dist/bundled/v2/components/OrLabel/OrLabel.js +78 -0
  149. package/dist/bundled/v2/components/OrLabel/index.js +5 -0
  150. package/dist/bundled/v2/components/OrLabelV3/OrLabel.js +89 -0
  151. package/dist/bundled/v2/components/OrLabelV3/index.js +5 -0
  152. package/dist/bundled/v2/components/OrLabelV3/props.js +7 -0
  153. package/dist/bundled/v2/components/OrLabelV3/styles.js +29 -0
  154. package/dist/bundled/v2/components/OrLinkV3/OrLink.js +85 -0
  155. package/dist/bundled/v2/components/OrLinkV3/index.js +5 -0
  156. package/dist/bundled/v2/components/OrLinkV3/props.js +10 -0
  157. package/dist/bundled/v2/components/OrLinkV3/styles.js +30 -0
  158. package/dist/bundled/v2/components/OrList/OrList.js +2887 -0
  159. package/dist/bundled/v2/components/OrList/index.js +25 -0
  160. package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +239 -0
  161. package/dist/bundled/v2/components/OrListOfInputs/index.js +29 -0
  162. package/dist/bundled/v2/components/OrLoader/OrLoader.js +106 -0
  163. package/dist/bundled/v2/components/OrLoader/constants.js +8 -0
  164. package/dist/bundled/v2/components/OrLoader/index.js +6 -0
  165. package/dist/bundled/v2/components/OrLoader/types.js +1 -0
  166. package/dist/bundled/v2/components/OrLoaderV3/OrLoader.js +170 -0
  167. package/dist/bundled/v2/components/OrLoaderV3/index.js +6 -0
  168. package/dist/bundled/v2/components/OrLoaderV3/props.js +18 -0
  169. package/dist/bundled/v2/components/OrLoaderV3/styles.js +17 -0
  170. package/dist/bundled/v2/components/OrMenuItemV3/OrMenuItem.js +95 -0
  171. package/dist/bundled/v2/components/OrMenuItemV3/index.js +7 -0
  172. package/dist/bundled/v2/components/OrMenuItemV3/styles.js +17 -0
  173. package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +148 -0
  174. package/dist/bundled/v2/components/OrMenuV3/index.js +18 -0
  175. package/dist/bundled/v2/components/OrMenuV3/props.js +1 -0
  176. package/dist/bundled/v2/components/OrMenuV3/styles.js +7 -0
  177. package/dist/bundled/v2/components/OrModal/OrModal.js +1467 -0
  178. package/dist/bundled/v2/components/OrModal/constants.js +10 -0
  179. package/dist/bundled/v2/components/OrModal/index.js +24 -0
  180. package/dist/bundled/v2/components/OrModalV3/OrModal.js +141 -0
  181. package/dist/bundled/v2/components/OrModalV3/index.js +27 -0
  182. package/dist/bundled/v2/components/OrModalV3/props.js +8 -0
  183. package/dist/bundled/v2/components/OrModalV3/styles.js +33 -0
  184. package/dist/bundled/v2/components/OrNotification/OrNotification.js +143 -0
  185. package/dist/bundled/v2/components/OrNotification/constants.js +14 -0
  186. package/dist/bundled/v2/components/OrNotification/index.js +22 -0
  187. package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +127 -0
  188. package/dist/bundled/v2/components/OrNotificationV3/index.js +27 -0
  189. package/dist/bundled/v2/components/OrNotificationV3/props.js +9 -0
  190. package/dist/bundled/v2/components/OrNotificationV3/styles.js +54 -0
  191. package/dist/bundled/v2/components/OrNumberInput/OrNumberInput.js +233 -0
  192. package/dist/bundled/v2/components/OrNumberInput/index.js +12 -0
  193. package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +259 -0
  194. package/dist/bundled/v2/components/OrOverflowMenu/index.js +23 -0
  195. package/dist/bundled/v2/components/OrOverflowMenu/types.js +1 -0
  196. package/dist/bundled/v2/components/OrOverlay/OrOverlay.js +71 -0
  197. package/dist/bundled/v2/components/OrOverlay/index.js +4 -0
  198. package/dist/bundled/v2/components/OrOverlayV3/OrOverlay.js +80 -0
  199. package/dist/bundled/v2/components/OrOverlayV3/index.js +9 -0
  200. package/dist/bundled/v2/components/OrOverlayV3/styles.js +9 -0
  201. package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +332 -0
  202. package/dist/bundled/v2/components/OrPaginationV3/index.js +31 -0
  203. package/dist/bundled/v2/components/OrPaginationV3/styles.js +26 -0
  204. package/dist/bundled/v2/components/OrPaginationV3/types.js +1 -0
  205. package/dist/bundled/v2/components/OrPassword/OrPassword.js +241 -0
  206. package/dist/bundled/v2/components/OrPassword/index.js +28 -0
  207. package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +232 -0
  208. package/dist/bundled/v2/components/OrPopoverV3/index.js +16 -0
  209. package/dist/bundled/v2/components/OrPopoverV3/props.js +23 -0
  210. package/dist/bundled/v2/components/OrPopoverV3/styles.js +44 -0
  211. package/dist/bundled/v2/components/OrProgress/OrProgress.js +211 -0
  212. package/dist/bundled/v2/components/OrProgress/constants.js +15 -0
  213. package/dist/bundled/v2/components/OrProgress/index.js +6 -0
  214. package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +246 -0
  215. package/dist/bundled/v2/components/OrProgressV3/index.js +8 -0
  216. package/dist/bundled/v2/components/OrProgressV3/props.js +15 -0
  217. package/dist/bundled/v2/components/OrProgressV3/styles.js +63 -0
  218. package/dist/bundled/v2/components/OrRadio/OrRadio.js +141 -0
  219. package/dist/bundled/v2/components/OrRadio/index.js +5 -0
  220. package/dist/bundled/v2/components/OrRadioGroup/OrRadioGroup.js +87 -0
  221. package/dist/bundled/v2/components/OrRadioGroup/index.js +4 -0
  222. package/dist/bundled/v2/components/OrRadioV3/OrRadio.js +169 -0
  223. package/dist/bundled/v2/components/OrRadioV3/index.js +10 -0
  224. package/dist/bundled/v2/components/OrRadioV3/styles.js +31 -0
  225. package/dist/bundled/v2/components/OrSearch/OrSearch.js +262 -0
  226. package/dist/bundled/v2/components/OrSearch/index.js +27 -0
  227. package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +183 -0
  228. package/dist/bundled/v2/components/OrSearchV3/index.js +45 -0
  229. package/dist/bundled/v2/components/OrSearchV3/props.js +1 -0
  230. package/dist/bundled/v2/components/OrSegmentedControlV3/OrSegmentedControl.js +213 -0
  231. package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +5 -0
  232. package/dist/bundled/v2/components/OrSegmentedControlV3/props.js +7 -0
  233. package/dist/bundled/v2/components/OrSegmentedControlV3/styles.js +15 -0
  234. package/dist/bundled/v2/components/OrSegmentedControlV3/types.js +1 -0
  235. package/dist/bundled/v2/components/OrSelect/OrSelect.js +1061 -0
  236. package/dist/bundled/v2/components/OrSelect/OrSelect.vue.d.ts +242 -0
  237. package/dist/bundled/v2/components/OrSelect/constants.js +50 -0
  238. package/dist/bundled/v2/components/OrSelect/index.js +24 -0
  239. package/dist/bundled/v2/components/OrSelect/types.js +1 -0
  240. package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +542 -0
  241. package/dist/bundled/v2/components/OrSelectV3/index.js +59 -0
  242. package/dist/bundled/v2/components/OrSelectV3/props.js +1 -0
  243. package/dist/bundled/v2/components/OrSelectV3/styles.js +43 -0
  244. package/dist/bundled/v2/components/OrSelectV3/types.js +1 -0
  245. package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +142 -0
  246. package/dist/bundled/v2/components/OrSidebar/constants.js +7 -0
  247. package/dist/bundled/v2/components/OrSidebar/index.js +7 -0
  248. package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +368 -0
  249. package/dist/bundled/v2/components/OrSidebarV3/index.js +28 -0
  250. package/dist/bundled/v2/components/OrSidebarV3/props.js +7 -0
  251. package/dist/bundled/v2/components/OrSidebarV3/styles.js +118 -0
  252. package/dist/bundled/v2/components/OrSkeleton/constants.js +12 -0
  253. package/dist/bundled/v2/components/OrSkeleton/index.d.ts +4 -0
  254. package/dist/bundled/v2/components/OrSkeleton/index.js +9 -0
  255. package/dist/bundled/v2/components/OrSkeletonCircle/OrSkeletonCircle.js +78 -0
  256. package/dist/bundled/v2/components/OrSkeletonCircle/index.d.ts +2 -0
  257. package/dist/bundled/v2/components/OrSkeletonCircle/index.js +7 -0
  258. package/dist/bundled/v2/components/OrSkeletonCircleV3/OrSkeletonCircle.js +81 -0
  259. package/dist/bundled/v2/components/OrSkeletonCircleV3/index.d.ts +1 -0
  260. package/dist/bundled/v2/components/OrSkeletonCircleV3/index.js +6 -0
  261. package/dist/bundled/v2/components/OrSkeletonRect/OrSkeletonRect.js +81 -0
  262. package/dist/bundled/v2/components/OrSkeletonRect/index.d.ts +2 -0
  263. package/dist/bundled/v2/components/OrSkeletonRect/index.js +7 -0
  264. package/dist/bundled/v2/components/OrSkeletonRectV3/OrSkeletonRect.js +84 -0
  265. package/dist/bundled/v2/components/OrSkeletonRectV3/index.d.ts +1 -0
  266. package/dist/bundled/v2/components/OrSkeletonRectV3/index.js +6 -0
  267. package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.js +94 -0
  268. package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.vue.d.ts +73 -0
  269. package/dist/bundled/v2/components/OrSkeletonText/index.d.ts +2 -0
  270. package/dist/bundled/v2/components/OrSkeletonText/index.js +7 -0
  271. package/dist/bundled/v2/components/OrSkeletonTextV3/OrSkeletonText.js +113 -0
  272. package/dist/bundled/v2/components/OrSkeletonTextV3/index.d.ts +1 -0
  273. package/dist/bundled/v2/components/OrSkeletonTextV3/index.js +6 -0
  274. package/dist/bundled/v2/components/OrSkeletonV3/index.d.ts +3 -0
  275. package/dist/bundled/v2/components/OrSkeletonV3/index.js +8 -0
  276. package/dist/bundled/v2/components/OrSkeletonV3/styles.js +34 -0
  277. package/dist/bundled/v2/components/OrSlider/OrSlider.js +378 -0
  278. package/dist/bundled/v2/components/OrSlider/index.js +17 -0
  279. package/dist/bundled/v2/components/OrSortHeaderV3/OrSortHeader.js +113 -0
  280. package/dist/bundled/v2/components/OrSortHeaderV3/index.js +7 -0
  281. package/dist/bundled/v2/components/OrSortHeaderV3/styles.js +15 -0
  282. package/dist/bundled/v2/components/OrSortHeaderV3/types.js +1 -0
  283. package/dist/bundled/v2/components/OrStepper/OrStepper.js +663 -0
  284. package/dist/bundled/v2/components/OrStepper/index.js +20 -0
  285. package/dist/bundled/v2/components/OrSwitch/OrSwitch.js +153 -0
  286. package/dist/bundled/v2/components/OrSwitch/index.js +7 -0
  287. package/dist/bundled/v2/components/OrSwitchV3/OrSwitch.js +204 -0
  288. package/dist/bundled/v2/components/OrSwitchV3/index.js +14 -0
  289. package/dist/bundled/v2/components/OrSwitchV3/styles.js +51 -0
  290. package/dist/bundled/v2/components/OrTab/OrTab.js +107 -0
  291. package/dist/bundled/v2/components/OrTab/index.js +6 -0
  292. package/dist/bundled/v2/components/OrTabHeaderItem/OrTabHeaderItem.js +110 -0
  293. package/dist/bundled/v2/components/OrTabHeaderItem/index.js +5 -0
  294. package/dist/bundled/v2/components/OrTabV3/OrTab.js +76 -0
  295. package/dist/bundled/v2/components/OrTabV3/index.js +4 -0
  296. package/dist/bundled/v2/components/OrTabV3/styles.js +19 -0
  297. package/dist/bundled/v2/components/OrTabs/OrTabs.js +112 -0
  298. package/dist/bundled/v2/components/OrTabs/index.js +6 -0
  299. package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +221 -0
  300. package/dist/bundled/v2/components/OrTabsV3/index.js +28 -0
  301. package/dist/bundled/v2/components/OrTabsV3/props.js +7 -0
  302. package/dist/bundled/v2/components/OrTabsV3/styles.js +19 -0
  303. package/dist/bundled/v2/components/OrTabsV3/types.js +1 -0
  304. package/dist/bundled/v2/components/OrTag/OrTag.js +128 -0
  305. package/dist/bundled/v2/components/OrTag/index.js +20 -0
  306. package/dist/bundled/v2/components/OrTagV3/OrTag.js +141 -0
  307. package/dist/bundled/v2/components/OrTagV3/index.js +27 -0
  308. package/dist/bundled/v2/components/OrTagV3/props.js +13 -0
  309. package/dist/bundled/v2/components/OrTagV3/styles.js +30 -0
  310. package/dist/bundled/v2/components/OrTeleport/OrTeleport.js +51 -0
  311. package/dist/bundled/v2/components/OrTeleport/constants.js +16 -0
  312. package/dist/bundled/v2/components/OrTeleport/index.js +5 -0
  313. package/dist/bundled/v2/components/OrTeleportV3/OrTeleport.js +59 -0
  314. package/dist/bundled/v2/components/OrTeleportV3/index.js +4 -0
  315. package/dist/bundled/v2/components/OrTextV3/OrText.js +117 -0
  316. package/dist/bundled/v2/components/OrTextV3/index.js +4 -0
  317. package/dist/bundled/v2/components/OrTextV3/styles.js +17 -0
  318. package/dist/bundled/v2/components/OrTextarea/OrTextarea.js +326 -0
  319. package/dist/bundled/v2/components/OrTextarea/index.js +11 -0
  320. package/dist/bundled/v2/components/OrTextareaV3/OrTextarea.js +252 -0
  321. package/dist/bundled/v2/components/OrTextareaV3/index.js +18 -0
  322. package/dist/bundled/v2/components/OrTextareaV3/props.js +1 -0
  323. package/dist/bundled/v2/components/OrTextareaV3/styles.js +14 -0
  324. package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +530 -0
  325. package/dist/bundled/v2/components/OrTextbox/constants.js +11 -0
  326. package/dist/bundled/v2/components/OrTextbox/index.js +27 -0
  327. package/dist/bundled/v2/components/OrToast/OrToast.js +158 -0
  328. package/dist/bundled/v2/components/OrToast/Timer.js +37 -0
  329. package/dist/bundled/v2/components/OrToast/composable/index.js +7 -0
  330. package/dist/bundled/v2/components/OrToast/composable/useQueue.js +33 -0
  331. package/dist/bundled/v2/components/OrToast/composable/useToast.js +82 -0
  332. package/dist/bundled/v2/components/OrToast/composable/useToastEventBus.js +24 -0
  333. package/dist/bundled/v2/components/OrToast/constants.js +24 -0
  334. package/dist/bundled/v2/components/OrToast/index.d.ts +5 -0
  335. package/dist/bundled/v2/components/OrToast/index.js +30 -0
  336. package/dist/bundled/v2/components/OrToast/types.js +1 -0
  337. package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +219 -0
  338. package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.vue.d.ts +93 -0
  339. package/dist/bundled/v2/components/OrToastContainer/index.d.ts +4 -0
  340. package/dist/bundled/v2/components/OrToastContainer/index.js +30 -0
  341. package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +232 -0
  342. package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.vue.d.ts +85 -0
  343. package/dist/bundled/v2/components/OrToastContainerV3/index.d.ts +4 -0
  344. package/dist/bundled/v2/components/OrToastContainerV3/index.js +37 -0
  345. package/dist/bundled/v2/components/OrToastV3/OrToast.js +195 -0
  346. package/dist/bundled/v2/components/OrToastV3/Timer.js +37 -0
  347. package/dist/bundled/v2/components/OrToastV3/composable/index.js +7 -0
  348. package/dist/bundled/v2/components/OrToastV3/composable/useQueue.js +33 -0
  349. package/dist/bundled/v2/components/OrToastV3/composable/useToast.js +82 -0
  350. package/dist/bundled/v2/components/OrToastV3/composable/useToastEventBus.js +24 -0
  351. package/dist/bundled/v2/components/OrToastV3/index.d.ts +5 -0
  352. package/dist/bundled/v2/components/OrToastV3/index.js +37 -0
  353. package/dist/bundled/v2/components/OrToastV3/props.js +1 -0
  354. package/dist/bundled/v2/components/OrToastV3/styles.js +59 -0
  355. package/dist/bundled/v2/components/OrToastV3/types.js +1 -0
  356. package/dist/bundled/v2/components/OrTooltip/OrTooltip.js +161 -0
  357. package/dist/bundled/v2/components/OrTooltip/index.d.ts +2 -0
  358. package/dist/bundled/v2/components/OrTooltip/index.js +13 -0
  359. package/dist/bundled/v2/components/OrTooltipContent/OrTooltipContent.js +71 -0
  360. package/dist/bundled/v2/components/OrTooltipContent/index.d.ts +1 -0
  361. package/dist/bundled/v2/components/OrTooltipContent/index.js +5 -0
  362. package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +133 -0
  363. package/dist/bundled/v2/components/OrTooltipV3/index.js +18 -0
  364. package/dist/bundled/v2/components/OrTooltipV3/props.js +1 -0
  365. package/dist/bundled/v2/components/OrTooltipV3/styles.js +46 -0
  366. package/dist/bundled/v2/components/index.d.ts +1 -0
  367. package/dist/bundled/v2/components/index.js +230 -119
  368. package/dist/bundled/v2/directives/dropdown-close.js +15 -0
  369. package/dist/bundled/v2/directives/dropdown-open.js +16 -0
  370. package/dist/bundled/v2/directives/index.js +3 -4
  371. package/dist/bundled/v2/hooks/index.js +9 -9
  372. package/dist/bundled/v2/hooks/useControlAttributes.js +12 -0
  373. package/dist/bundled/v2/hooks/useElevation.js +22 -0
  374. package/dist/bundled/v2/hooks/useIdAttribute.js +12 -0
  375. package/dist/bundled/v2/hooks/useOverflow.js +64 -0
  376. package/dist/bundled/v2/hooks/useResponsive/index.js +2 -4
  377. package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +13 -0
  378. package/dist/bundled/v2/hooks/useToggle.js +22 -0
  379. package/dist/bundled/v2/hooks/useValidationAttributes.js +16 -0
  380. package/dist/bundled/v2/index-63e094a0.js +15 -0
  381. package/dist/bundled/v2/index-6976c52a.js +17838 -0
  382. package/dist/bundled/v2/index.js +232 -128
  383. package/dist/bundled/v2/lang-02d2bb2d.js +7811 -0
  384. package/dist/bundled/v2/props-7be029c7.js +32 -0
  385. package/dist/bundled/v2/types-668300dd.js +5 -0
  386. package/dist/bundled/v2/utils/constants/color.js +16 -0
  387. package/dist/bundled/v2/utils/constants/key-codes.js +16 -0
  388. package/dist/bundled/v2/utils/constants/poper.js +10 -0
  389. package/dist/bundled/v2/utils/constants/regex.js +49 -0
  390. package/dist/bundled/v2/utils/functions/color.js +39 -0
  391. package/dist/bundled/v2/utils/functions/dom.js +166 -0
  392. package/dist/bundled/v2/utils/functions/hash.js +8 -0
  393. package/dist/bundled/v2/utils/functions/px-to-rem.js +3 -0
  394. package/dist/bundled/v2/utils/functions/text.js +9 -0
  395. package/dist/bundled/v2/utils/isVisible.js +5 -0
  396. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-29e8ad0e.js +57 -0
  397. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-623c32a1.js +66 -0
  398. package/dist/bundled/v3/OrBottomSheet.vue_vue_type_script_lang-1489a97d.js +93 -0
  399. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-0bdd0e1a.js +56 -0
  400. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-e768a47a.js +100 -0
  401. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-ed520a05.js +100 -0
  402. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-81561dd8.js +21 -0
  403. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-b204e541.js +19 -0
  404. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-24a8a534.js +102 -0
  405. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-37a42eda.js +165 -0
  406. package/dist/bundled/v3/OrCarousel.vue_vue_type_script_lang-0e87c56b.js +2799 -0
  407. package/dist/bundled/v3/OrCarouselItem.vue_vue_type_script_lang-42da2f4a.js +7 -0
  408. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-60cefcbd.js +90 -0
  409. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-6ff51af9.js +88 -0
  410. package/dist/bundled/v3/OrChip.vue_vue_type_script_lang-ceebbd82.js +43 -0
  411. package/dist/bundled/v3/OrChips.vue_vue_type_script_lang-94b456c7.js +190 -0
  412. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-f4385be0.js +3960 -0
  413. package/dist/bundled/v3/OrCollapse.vue_vue_type_script_lang-5137ca99.js +114 -0
  414. package/dist/bundled/v3/OrColorPicker.vue_vue_type_script_lang-3a799e23.js +58 -0
  415. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-20b68e49.js +190 -0
  416. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-f25e8792.js +161 -0
  417. package/dist/bundled/v3/OrDateTimePicker.vue_vue_type_script_lang-c4174322.js +446 -0
  418. package/dist/bundled/v3/OrEmptyState.vue_vue_type_script_lang-2c1f09ef.js +64 -0
  419. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-450321b8.js +13 -0
  420. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-df7b5e32.js +29 -0
  421. package/dist/bundled/v3/OrErrorTag.vue_vue_type_script_lang-a4be8f6a.js +24 -0
  422. package/dist/bundled/v3/OrExpansionPanel.vue_vue_type_script_lang-f1b6ff7d.js +77 -0
  423. package/dist/bundled/v3/OrFab.vue_vue_type_script_lang-fc0a7cff.js +38 -0
  424. package/dist/bundled/v3/OrFloating.vue_vue_type_script_lang-d64ad4a7.js +148 -0
  425. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-0f5e8377.js +29 -0
  426. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-5d628c6c.js +16 -0
  427. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-73f9cc63.js +34 -0
  428. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-e3152dc5.js +95 -0
  429. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-4a3f6358.js +137 -0
  430. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-925a22e4.js +57 -0
  431. package/dist/bundled/v3/OrInlineInput.vue_vue_type_script_lang-2c42dfae.js +149 -0
  432. package/dist/bundled/v3/OrInlineInputBox.vue_vue_type_script_lang-fe99c485.js +30 -0
  433. package/dist/bundled/v3/OrInlineTextEdit.vue_vue_type_script_lang-48e2d027.js +232 -0
  434. package/dist/bundled/v3/OrInlineTextarea.vue_vue_type_script_lang-ae6c2e72.js +139 -0
  435. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-4007572a.js +149 -0
  436. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-ad995b35.js +190 -0
  437. package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-e3bba923.js +42 -0
  438. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-3e11ab8a.js +42 -0
  439. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-95601b40.js +37 -0
  440. package/dist/bundled/v3/OrLink.vue_vue_type_script_lang-2d66ea4d.js +46 -0
  441. package/dist/bundled/v3/OrList.vue_vue_type_script_lang-e6d957ea.js +2759 -0
  442. package/dist/bundled/v3/OrListOfInputs.vue_vue_type_script_lang-3a34b998.js +87 -0
  443. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-49907820.js +80 -0
  444. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-b48715a3.js +48 -0
  445. package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-f6488feb.js +82 -0
  446. package/dist/bundled/v3/OrMenuItem.vue_vue_type_script_lang-b338d68a.js +39 -0
  447. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-631858eb.js +1370 -0
  448. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-efc20163.js +67 -0
  449. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-1e784b30.js +70 -0
  450. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-6b5c9ce4.js +54 -0
  451. package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-1d469d1f.js +113 -0
  452. package/dist/bundled/v3/OrOverflowMenu.vue_vue_type_script_lang-7daa3596.js +137 -0
  453. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-2f5d626d.js +33 -0
  454. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-30f62546.js +40 -0
  455. package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-61ad0c06.js +170 -0
  456. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-8f8ad07d.js +99 -0
  457. package/dist/bundled/v3/OrPopover.vue_vue_type_script_lang-04c253c8.js +179 -0
  458. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-0edde459.js +138 -0
  459. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-26d7b3da.js +133 -0
  460. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-99b109c4.js +86 -0
  461. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-cc11200c.js +85 -0
  462. package/dist/bundled/v3/OrRadioGroup.vue_vue_type_script_lang-75b6c81b.js +47 -0
  463. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-c135ee8f.js +78 -0
  464. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-df4b51d8.js +122 -0
  465. package/dist/bundled/v3/OrSegmentedControl.vue_vue_type_script_lang-d1b4694c.js +137 -0
  466. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-47b74119.js +259 -0
  467. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-d2fecd97.js +710 -0
  468. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-00e9cda7.js +89 -0
  469. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-c254b3bc.js +243 -0
  470. package/dist/bundled/v3/OrSkeletonCircle.vue_vue_type_script_lang-aa467e8d.js +39 -0
  471. package/dist/bundled/v3/OrSkeletonCircle.vue_vue_type_script_lang-c8b71588.js +45 -0
  472. package/dist/bundled/v3/OrSkeletonRect.vue_vue_type_script_lang-5032a7de.js +48 -0
  473. package/dist/bundled/v3/OrSkeletonRect.vue_vue_type_script_lang-659fb605.js +42 -0
  474. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-5028961c.js +50 -0
  475. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-97d92578.js +71 -0
  476. package/dist/bundled/v3/OrSlider.vue_vue_type_script_lang-900036a2.js +227 -0
  477. package/dist/bundled/v3/OrSortHeader.vue_vue_type_script_lang-424696e5.js +61 -0
  478. package/dist/bundled/v3/OrStepper.vue_vue_type_script_lang-fa155b91.js +377 -0
  479. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-1c079a74.js +81 -0
  480. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-53f0c8b1.js +95 -0
  481. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-4a262fa3.js +26 -0
  482. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-71e4fa50.js +61 -0
  483. package/dist/bundled/v3/OrTabHeaderItem.vue_vue_type_script_lang-0a67721f.js +63 -0
  484. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-06a89286.js +45 -0
  485. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-a292bcbc.js +130 -0
  486. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-f06b54a2.js +58 -0
  487. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-fdefd4a5.js +55 -0
  488. package/dist/bundled/v3/OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js +17 -0
  489. package/dist/bundled/v3/OrText.vue_vue_type_script_lang-23ff666f.js +78 -0
  490. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-1236e04a.js +187 -0
  491. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-2e216875.js +116 -0
  492. package/dist/bundled/v3/OrTextbox.vue_vue_type_script_lang-5657d588.js +354 -0
  493. package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-c5bf66be.js +135 -0
  494. package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-e8944471.js +147 -0
  495. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-5a3755b3.js +72 -0
  496. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-b8594f7e.js +89 -0
  497. package/dist/bundled/v3/OrTooltipContent.vue_vue_type_script_lang-969c20ed.js +22 -0
  498. package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +45 -0
  499. package/dist/bundled/v3/components/OrAvatar/constants.js +8 -0
  500. package/dist/bundled/v3/components/OrAvatar/index.js +19 -0
  501. package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.js +35 -0
  502. package/dist/bundled/v3/components/OrAvatarV3/index.js +13 -0
  503. package/dist/bundled/v3/components/OrAvatarV3/props.js +19 -0
  504. package/dist/bundled/v3/components/OrAvatarV3/styles.js +65 -0
  505. package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +38 -0
  506. package/dist/bundled/v3/components/OrBottomSheetV3/index.js +12 -0
  507. package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +37 -0
  508. package/dist/bundled/v3/components/OrButton/OrButton.js +49 -0
  509. package/dist/bundled/v3/components/OrButton/constants.js +25 -0
  510. package/dist/bundled/v3/components/OrButton/index.js +9 -0
  511. package/dist/bundled/v3/components/OrButtonV2/OrButton.js +61 -0
  512. package/dist/bundled/v3/components/OrButtonV2/constants.js +43 -0
  513. package/dist/bundled/v3/components/OrButtonV2/index.d.ts +3 -0
  514. package/dist/bundled/v3/components/OrButtonV2/index.js +25 -0
  515. package/dist/bundled/v3/components/OrButtonV3/OrButton.js +44 -0
  516. package/dist/bundled/v3/components/OrButtonV3/index.js +10 -0
  517. package/dist/bundled/v3/components/OrButtonV3/props.js +21 -0
  518. package/dist/bundled/v3/components/OrButtonV3/styles.js +67 -0
  519. package/dist/bundled/v3/components/OrCard/OrCard.js +22 -0
  520. package/dist/bundled/v3/components/OrCard/index.js +2 -0
  521. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +127 -0
  522. package/dist/bundled/v3/components/OrCardCollection/constants.js +7 -0
  523. package/dist/bundled/v3/components/OrCardCollection/index.js +42 -0
  524. package/dist/bundled/v3/components/OrCardCollection/types.js +1 -0
  525. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +162 -0
  526. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +71 -0
  527. package/dist/bundled/v3/components/OrCardCollectionV3/props.js +16 -0
  528. package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +30 -0
  529. package/dist/bundled/v3/components/OrCardCollectionV3/types.js +1 -0
  530. package/dist/bundled/v3/components/OrCardV3/OrCard.js +15 -0
  531. package/dist/bundled/v3/components/OrCardV3/index.js +3 -0
  532. package/dist/bundled/v3/components/OrCardV3/styles.js +15 -0
  533. package/dist/bundled/v3/components/OrCarousel/OrCarousel.js +62 -0
  534. package/dist/bundled/v3/components/OrCarousel/constants.js +21 -0
  535. package/dist/bundled/v3/components/OrCarousel/index.d.ts +2 -0
  536. package/dist/bundled/v3/components/OrCarousel/index.js +20 -0
  537. package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.js +14 -0
  538. package/dist/bundled/v3/components/OrCarouselItem/index.d.ts +1 -0
  539. package/dist/bundled/v3/components/OrCarouselItem/index.js +2 -0
  540. package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +79 -0
  541. package/dist/bundled/v3/components/OrCheckbox/index.js +18 -0
  542. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +51 -0
  543. package/dist/bundled/v3/components/OrCheckboxV3/index.js +10 -0
  544. package/dist/bundled/v3/components/OrCheckboxV3/styles.js +31 -0
  545. package/dist/bundled/v3/components/OrChip/OrChip.js +42 -0
  546. package/dist/bundled/v3/components/OrChip/index.d.ts +1 -0
  547. package/dist/bundled/v3/components/OrChip/index.js +18 -0
  548. package/dist/bundled/v3/components/OrChips/OrChips.js +71 -0
  549. package/dist/bundled/v3/components/OrChips/constants.js +10 -0
  550. package/dist/bundled/v3/components/OrChips/index.d.ts +2 -0
  551. package/dist/bundled/v3/components/OrChips/index.js +25 -0
  552. package/dist/bundled/v3/components/OrCode/OrCode.js +130 -0
  553. package/dist/bundled/v3/components/OrCode/constants.js +11 -0
  554. package/dist/bundled/v3/components/OrCode/index.js +42 -0
  555. package/dist/bundled/v3/components/OrCode/lang.js +3 -0
  556. package/dist/bundled/v3/components/OrCode/theme.js +189 -0
  557. package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +40 -0
  558. package/dist/bundled/v3/components/OrCollapse/index.js +5 -0
  559. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +86 -0
  560. package/dist/bundled/v3/components/OrColorPicker/constants.js +323 -0
  561. package/dist/bundled/v3/components/OrColorPicker/index.js +15 -0
  562. package/dist/bundled/v3/components/OrColorPicker/types.js +1 -0
  563. package/dist/bundled/v3/components/OrColorPicker/utils/defultPalette.js +15 -0
  564. package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.js +122 -0
  565. package/dist/bundled/v3/components/OrCombinedInputV3/index.js +15 -0
  566. package/dist/bundled/v3/components/OrCombinedInputV3/props.js +1 -0
  567. package/dist/bundled/v3/components/OrCombinedInputV3/styles.js +16 -0
  568. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +102 -0
  569. package/dist/bundled/v3/components/OrConfirm/index.js +45 -0
  570. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +129 -0
  571. package/dist/bundled/v3/components/OrConfirmV3/index.js +64 -0
  572. package/dist/bundled/v3/components/OrConfirmV3/props.js +7 -0
  573. package/dist/bundled/v3/components/OrConfirmV3/styles.js +47 -0
  574. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +259 -0
  575. package/dist/bundled/v3/components/OrDateTimePicker/constants.js +20 -0
  576. package/dist/bundled/v3/components/OrDateTimePicker/index.js +36 -0
  577. package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyState.js +29 -0
  578. package/dist/bundled/v3/components/OrEmptyStateV3/index.js +4 -0
  579. package/dist/bundled/v3/components/OrEmptyStateV3/props.js +7 -0
  580. package/dist/bundled/v3/components/OrEmptyStateV3/styles.js +46 -0
  581. package/dist/bundled/v3/components/OrEmptyStateV3/types.js +1 -0
  582. package/dist/bundled/v3/components/OrError/OrError.js +19 -0
  583. package/dist/bundled/v3/components/OrError/index.js +2 -0
  584. package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTag.js +26 -0
  585. package/dist/bundled/v3/components/OrErrorTagV3/index.js +8 -0
  586. package/dist/bundled/v3/components/OrErrorTagV3/styles.js +15 -0
  587. package/dist/bundled/v3/components/OrErrorV3/OrError.js +21 -0
  588. package/dist/bundled/v3/components/OrErrorV3/index.js +3 -0
  589. package/dist/bundled/v3/components/OrErrorV3/styles.js +19 -0
  590. package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.js +41 -0
  591. package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +9 -0
  592. package/dist/bundled/v3/components/OrExpansionPanelV3/props.js +12 -0
  593. package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +51 -0
  594. package/dist/bundled/v3/components/OrFabV3/OrFab.js +27 -0
  595. package/dist/bundled/v3/components/OrFabV3/index.js +9 -0
  596. package/dist/bundled/v3/components/OrFabV3/props.js +7 -0
  597. package/dist/bundled/v3/components/OrFabV3/styles.js +19 -0
  598. package/dist/bundled/v3/components/OrFloating/OrFloating.js +31 -0
  599. package/dist/bundled/v3/components/OrFloating/constants.js +22 -0
  600. package/dist/bundled/v3/components/OrFloating/index.js +9 -0
  601. package/dist/bundled/v3/components/OrHint/OrHint.js +20 -0
  602. package/dist/bundled/v3/components/OrHint/index.js +3 -0
  603. package/dist/bundled/v3/components/OrHintV3/OrHint.js +21 -0
  604. package/dist/bundled/v3/components/OrHintV3/index.js +3 -0
  605. package/dist/bundled/v3/components/OrHintV3/styles.js +19 -0
  606. package/dist/bundled/v3/components/OrIcon/OrIcon.js +53 -0
  607. package/dist/bundled/v3/components/OrIcon/constants.js +24 -0
  608. package/dist/bundled/v3/components/OrIcon/index.js +16 -0
  609. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +64 -0
  610. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +132 -0
  611. package/dist/bundled/v3/components/OrIconButtonV2/index.d.ts +1 -0
  612. package/dist/bundled/v3/components/OrIconButtonV2/index.js +24 -0
  613. package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +62 -0
  614. package/dist/bundled/v3/components/OrIconButtonV3/index.js +29 -0
  615. package/dist/bundled/v3/components/OrIconButtonV3/props.js +10 -0
  616. package/dist/bundled/v3/components/OrIconButtonV3/styles.js +50 -0
  617. package/dist/bundled/v3/components/OrIconV3/OrIcon.js +16 -0
  618. package/dist/bundled/v3/components/OrIconV3/index.js +4 -0
  619. package/dist/bundled/v3/components/OrIconV3/props.js +17 -0
  620. package/dist/bundled/v3/components/OrIconV3/styles.js +46 -0
  621. package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBox.js +18 -0
  622. package/dist/bundled/v3/components/OrInlineInputBoxV3/index.js +4 -0
  623. package/dist/bundled/v3/components/OrInlineInputBoxV3/props.js +7 -0
  624. package/dist/bundled/v3/components/OrInlineInputBoxV3/styles.js +23 -0
  625. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +125 -0
  626. package/dist/bundled/v3/components/OrInlineInputV3/index.js +46 -0
  627. package/dist/bundled/v3/components/OrInlineInputV3/props.js +9 -0
  628. package/dist/bundled/v3/components/OrInlineInputV3/styles.js +29 -0
  629. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +129 -0
  630. package/dist/bundled/v3/components/OrInlineTextEdit/constants.js +13 -0
  631. package/dist/bundled/v3/components/OrInlineTextEdit/index.js +32 -0
  632. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +123 -0
  633. package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +45 -0
  634. package/dist/bundled/v3/components/OrInlineTextareaV3/styles.js +21 -0
  635. package/dist/bundled/v3/components/OrInput/OrInput.js +123 -0
  636. package/dist/bundled/v3/components/OrInput/index.js +15 -0
  637. package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.js +20 -0
  638. package/dist/bundled/v3/components/OrInputBoxV3/index.js +4 -0
  639. package/dist/bundled/v3/components/OrInputBoxV3/props.js +12 -0
  640. package/dist/bundled/v3/components/OrInputBoxV3/styles.js +45 -0
  641. package/dist/bundled/v3/components/OrInputV3/OrInput.js +174 -0
  642. package/dist/bundled/v3/components/OrInputV3/index.js +54 -0
  643. package/dist/bundled/v3/components/OrInputV3/props.js +11 -0
  644. package/dist/bundled/v3/components/OrInputV3/styles.js +14 -0
  645. package/dist/bundled/v3/components/OrLabel/OrLabel.js +23 -0
  646. package/dist/bundled/v3/components/OrLabel/index.js +3 -0
  647. package/dist/bundled/v3/components/OrLabelV3/OrLabel.js +26 -0
  648. package/dist/bundled/v3/components/OrLabelV3/index.js +4 -0
  649. package/dist/bundled/v3/components/OrLabelV3/props.js +7 -0
  650. package/dist/bundled/v3/components/OrLabelV3/styles.js +29 -0
  651. package/dist/bundled/v3/components/OrLinkV3/OrLink.js +23 -0
  652. package/dist/bundled/v3/components/OrLinkV3/index.js +4 -0
  653. package/dist/bundled/v3/components/OrLinkV3/props.js +10 -0
  654. package/dist/bundled/v3/components/OrLinkV3/styles.js +30 -0
  655. package/dist/bundled/v3/components/OrList/OrList.js +114 -0
  656. package/dist/bundled/v3/components/OrList/index.js +33 -0
  657. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +120 -0
  658. package/dist/bundled/v3/components/OrListOfInputs/index.js +41 -0
  659. package/dist/bundled/v3/components/OrLoader/OrLoader.js +46 -0
  660. package/dist/bundled/v3/components/OrLoader/constants.js +8 -0
  661. package/dist/bundled/v3/components/OrLoader/index.js +4 -0
  662. package/dist/bundled/v3/components/OrLoader/types.js +1 -0
  663. package/dist/bundled/v3/components/OrLoaderV3/OrLoader.js +69 -0
  664. package/dist/bundled/v3/components/OrLoaderV3/index.js +5 -0
  665. package/dist/bundled/v3/components/OrLoaderV3/props.js +18 -0
  666. package/dist/bundled/v3/components/OrLoaderV3/styles.js +17 -0
  667. package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.js +34 -0
  668. package/dist/bundled/v3/components/OrMenuItemV3/index.js +8 -0
  669. package/dist/bundled/v3/components/OrMenuItemV3/styles.js +17 -0
  670. package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +47 -0
  671. package/dist/bundled/v3/components/OrMenuV3/index.js +21 -0
  672. package/dist/bundled/v3/components/OrMenuV3/props.js +1 -0
  673. package/dist/bundled/v3/components/OrMenuV3/styles.js +7 -0
  674. package/dist/bundled/v3/components/OrModal/OrModal.js +79 -0
  675. package/dist/bundled/v3/components/OrModal/constants.js +10 -0
  676. package/dist/bundled/v3/components/OrModal/index.js +30 -0
  677. package/dist/bundled/v3/components/OrModalV3/OrModal.js +66 -0
  678. package/dist/bundled/v3/components/OrModalV3/index.js +33 -0
  679. package/dist/bundled/v3/components/OrModalV3/props.js +8 -0
  680. package/dist/bundled/v3/components/OrModalV3/styles.js +33 -0
  681. package/dist/bundled/v3/components/OrNotification/OrNotification.js +60 -0
  682. package/dist/bundled/v3/components/OrNotification/constants.js +14 -0
  683. package/dist/bundled/v3/components/OrNotification/index.js +27 -0
  684. package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +59 -0
  685. package/dist/bundled/v3/components/OrNotificationV3/index.js +33 -0
  686. package/dist/bundled/v3/components/OrNotificationV3/props.js +9 -0
  687. package/dist/bundled/v3/components/OrNotificationV3/styles.js +54 -0
  688. package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +75 -0
  689. package/dist/bundled/v3/components/OrNumberInput/index.js +17 -0
  690. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +83 -0
  691. package/dist/bundled/v3/components/OrOverflowMenu/index.js +29 -0
  692. package/dist/bundled/v3/components/OrOverflowMenu/types.js +1 -0
  693. package/dist/bundled/v3/components/OrOverlay/OrOverlay.js +18 -0
  694. package/dist/bundled/v3/components/OrOverlay/index.js +2 -0
  695. package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +28 -0
  696. package/dist/bundled/v3/components/OrOverlayV3/index.js +9 -0
  697. package/dist/bundled/v3/components/OrOverlayV3/styles.js +9 -0
  698. package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +144 -0
  699. package/dist/bundled/v3/components/OrPaginationV3/index.js +39 -0
  700. package/dist/bundled/v3/components/OrPaginationV3/styles.js +26 -0
  701. package/dist/bundled/v3/components/OrPaginationV3/types.js +1 -0
  702. package/dist/bundled/v3/components/OrPassword/OrPassword.js +103 -0
  703. package/dist/bundled/v3/components/OrPassword/index.js +38 -0
  704. package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +51 -0
  705. package/dist/bundled/v3/components/OrPopoverV3/index.js +18 -0
  706. package/dist/bundled/v3/components/OrPopoverV3/props.js +23 -0
  707. package/dist/bundled/v3/components/OrPopoverV3/styles.js +44 -0
  708. package/dist/bundled/v3/components/OrProgress/OrProgress.js +66 -0
  709. package/dist/bundled/v3/components/OrProgress/constants.js +15 -0
  710. package/dist/bundled/v3/components/OrProgress/index.js +4 -0
  711. package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +84 -0
  712. package/dist/bundled/v3/components/OrProgressV3/index.js +7 -0
  713. package/dist/bundled/v3/components/OrProgressV3/props.js +15 -0
  714. package/dist/bundled/v3/components/OrProgressV3/styles.js +63 -0
  715. package/dist/bundled/v3/components/OrRadio/OrRadio.js +34 -0
  716. package/dist/bundled/v3/components/OrRadio/index.js +3 -0
  717. package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.js +19 -0
  718. package/dist/bundled/v3/components/OrRadioGroup/index.js +2 -0
  719. package/dist/bundled/v3/components/OrRadioV3/OrRadio.js +50 -0
  720. package/dist/bundled/v3/components/OrRadioV3/index.js +10 -0
  721. package/dist/bundled/v3/components/OrRadioV3/styles.js +31 -0
  722. package/dist/bundled/v3/components/OrSearch/OrSearch.js +105 -0
  723. package/dist/bundled/v3/components/OrSearch/index.js +37 -0
  724. package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +85 -0
  725. package/dist/bundled/v3/components/OrSearchV3/index.js +57 -0
  726. package/dist/bundled/v3/components/OrSearchV3/props.js +1 -0
  727. package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.js +29 -0
  728. package/dist/bundled/v3/components/OrSegmentedControlV3/index.js +5 -0
  729. package/dist/bundled/v3/components/OrSegmentedControlV3/props.js +7 -0
  730. package/dist/bundled/v3/components/OrSegmentedControlV3/styles.js +15 -0
  731. package/dist/bundled/v3/components/OrSegmentedControlV3/types.js +1 -0
  732. package/dist/bundled/v3/components/OrSelect/OrSelect.js +84 -0
  733. package/dist/bundled/v3/components/OrSelect/OrSelect.vue.d.ts +230 -0
  734. package/dist/bundled/v3/components/OrSelect/constants.js +50 -0
  735. package/dist/bundled/v3/components/OrSelect/index.js +31 -0
  736. package/dist/bundled/v3/components/OrSelect/types.js +1 -0
  737. package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +294 -0
  738. package/dist/bundled/v3/components/OrSelectV3/index.js +75 -0
  739. package/dist/bundled/v3/components/OrSelectV3/props.js +1 -0
  740. package/dist/bundled/v3/components/OrSelectV3/styles.js +43 -0
  741. package/dist/bundled/v3/components/OrSelectV3/types.js +1 -0
  742. package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +41 -0
  743. package/dist/bundled/v3/components/OrSidebar/constants.js +7 -0
  744. package/dist/bundled/v3/components/OrSidebar/index.js +5 -0
  745. package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +75 -0
  746. package/dist/bundled/v3/components/OrSidebarV3/index.js +34 -0
  747. package/dist/bundled/v3/components/OrSidebarV3/props.js +7 -0
  748. package/dist/bundled/v3/components/OrSidebarV3/styles.js +118 -0
  749. package/dist/bundled/v3/components/OrSkeleton/constants.js +12 -0
  750. package/dist/bundled/v3/components/OrSkeleton/index.d.ts +4 -0
  751. package/dist/bundled/v3/components/OrSkeleton/index.js +7 -0
  752. package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.js +21 -0
  753. package/dist/bundled/v3/components/OrSkeletonCircle/index.d.ts +2 -0
  754. package/dist/bundled/v3/components/OrSkeletonCircle/index.js +5 -0
  755. package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.js +18 -0
  756. package/dist/bundled/v3/components/OrSkeletonCircleV3/index.d.ts +1 -0
  757. package/dist/bundled/v3/components/OrSkeletonCircleV3/index.js +5 -0
  758. package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.js +21 -0
  759. package/dist/bundled/v3/components/OrSkeletonRect/index.d.ts +2 -0
  760. package/dist/bundled/v3/components/OrSkeletonRect/index.js +5 -0
  761. package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.js +18 -0
  762. package/dist/bundled/v3/components/OrSkeletonRectV3/index.d.ts +1 -0
  763. package/dist/bundled/v3/components/OrSkeletonRectV3/index.js +5 -0
  764. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.js +27 -0
  765. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.vue.d.ts +73 -0
  766. package/dist/bundled/v3/components/OrSkeletonText/index.d.ts +2 -0
  767. package/dist/bundled/v3/components/OrSkeletonText/index.js +5 -0
  768. package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.js +24 -0
  769. package/dist/bundled/v3/components/OrSkeletonTextV3/index.d.ts +1 -0
  770. package/dist/bundled/v3/components/OrSkeletonTextV3/index.js +5 -0
  771. package/dist/bundled/v3/components/OrSkeletonV3/index.d.ts +3 -0
  772. package/dist/bundled/v3/components/OrSkeletonV3/index.js +7 -0
  773. package/dist/bundled/v3/components/OrSkeletonV3/styles.js +34 -0
  774. package/dist/bundled/v3/components/OrSlider/OrSlider.js +102 -0
  775. package/dist/bundled/v3/components/OrSlider/index.js +19 -0
  776. package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.js +29 -0
  777. package/dist/bundled/v3/components/OrSortHeaderV3/index.js +8 -0
  778. package/dist/bundled/v3/components/OrSortHeaderV3/styles.js +15 -0
  779. package/dist/bundled/v3/components/OrSortHeaderV3/types.js +1 -0
  780. package/dist/bundled/v3/components/OrStepper/OrStepper.js +75 -0
  781. package/dist/bundled/v3/components/OrStepper/index.js +24 -0
  782. package/dist/bundled/v3/components/OrSwitch/OrSwitch.js +52 -0
  783. package/dist/bundled/v3/components/OrSwitch/index.js +8 -0
  784. package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +66 -0
  785. package/dist/bundled/v3/components/OrSwitchV3/index.js +15 -0
  786. package/dist/bundled/v3/components/OrSwitchV3/styles.js +51 -0
  787. package/dist/bundled/v3/components/OrTab/OrTab.js +22 -0
  788. package/dist/bundled/v3/components/OrTab/index.js +4 -0
  789. package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.js +27 -0
  790. package/dist/bundled/v3/components/OrTabHeaderItem/index.js +3 -0
  791. package/dist/bundled/v3/components/OrTabV3/OrTab.js +21 -0
  792. package/dist/bundled/v3/components/OrTabV3/index.js +3 -0
  793. package/dist/bundled/v3/components/OrTabV3/styles.js +19 -0
  794. package/dist/bundled/v3/components/OrTabs/OrTabs.js +47 -0
  795. package/dist/bundled/v3/components/OrTabs/index.js +7 -0
  796. package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +91 -0
  797. package/dist/bundled/v3/components/OrTabsV3/index.js +35 -0
  798. package/dist/bundled/v3/components/OrTabsV3/props.js +7 -0
  799. package/dist/bundled/v3/components/OrTabsV3/styles.js +19 -0
  800. package/dist/bundled/v3/components/OrTabsV3/types.js +1 -0
  801. package/dist/bundled/v3/components/OrTag/OrTag.js +50 -0
  802. package/dist/bundled/v3/components/OrTag/index.js +22 -0
  803. package/dist/bundled/v3/components/OrTagV3/OrTag.js +63 -0
  804. package/dist/bundled/v3/components/OrTagV3/index.js +33 -0
  805. package/dist/bundled/v3/components/OrTagV3/props.js +13 -0
  806. package/dist/bundled/v3/components/OrTagV3/styles.js +30 -0
  807. package/dist/bundled/v3/components/OrTeleport/OrTeleport.js +20 -0
  808. package/dist/bundled/v3/components/OrTeleport/constants.js +16 -0
  809. package/dist/bundled/v3/components/OrTeleport/index.js +4 -0
  810. package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.js +14 -0
  811. package/dist/bundled/v3/components/OrTeleportV3/index.js +2 -0
  812. package/dist/bundled/v3/components/OrTextV3/OrText.js +19 -0
  813. package/dist/bundled/v3/components/OrTextV3/index.js +3 -0
  814. package/dist/bundled/v3/components/OrTextV3/styles.js +17 -0
  815. package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +121 -0
  816. package/dist/bundled/v3/components/OrTextarea/index.js +15 -0
  817. package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +103 -0
  818. package/dist/bundled/v3/components/OrTextareaV3/index.js +21 -0
  819. package/dist/bundled/v3/components/OrTextareaV3/props.js +1 -0
  820. package/dist/bundled/v3/components/OrTextareaV3/styles.js +14 -0
  821. package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +169 -0
  822. package/dist/bundled/v3/components/OrTextbox/constants.js +11 -0
  823. package/dist/bundled/v3/components/OrTextbox/index.js +36 -0
  824. package/dist/bundled/v3/components/OrToast/OrToast.js +137 -0
  825. package/dist/bundled/v3/components/OrToast/Timer.js +37 -0
  826. package/dist/bundled/v3/components/OrToast/composable/index.js +7 -0
  827. package/dist/bundled/v3/components/OrToast/composable/useQueue.js +33 -0
  828. package/dist/bundled/v3/components/OrToast/composable/useToast.js +82 -0
  829. package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.js +24 -0
  830. package/dist/bundled/v3/components/OrToast/constants.js +24 -0
  831. package/dist/bundled/v3/components/OrToast/index.d.ts +5 -0
  832. package/dist/bundled/v3/components/OrToast/index.js +36 -0
  833. package/dist/bundled/v3/components/OrToast/types.js +1 -0
  834. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +73 -0
  835. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +93 -0
  836. package/dist/bundled/v3/components/OrToastContainer/index.d.ts +4 -0
  837. package/dist/bundled/v3/components/OrToastContainer/index.js +36 -0
  838. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +79 -0
  839. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.vue.d.ts +85 -0
  840. package/dist/bundled/v3/components/OrToastContainerV3/index.d.ts +4 -0
  841. package/dist/bundled/v3/components/OrToastContainerV3/index.js +44 -0
  842. package/dist/bundled/v3/components/OrToastV3/OrToast.js +172 -0
  843. package/dist/bundled/v3/components/OrToastV3/Timer.js +37 -0
  844. package/dist/bundled/v3/components/OrToastV3/composable/index.js +7 -0
  845. package/dist/bundled/v3/components/OrToastV3/composable/useQueue.js +33 -0
  846. package/dist/bundled/v3/components/OrToastV3/composable/useToast.js +82 -0
  847. package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.js +24 -0
  848. package/dist/bundled/v3/components/OrToastV3/index.d.ts +5 -0
  849. package/dist/bundled/v3/components/OrToastV3/index.js +44 -0
  850. package/dist/bundled/v3/components/OrToastV3/props.js +1 -0
  851. package/dist/bundled/v3/components/OrToastV3/styles.js +59 -0
  852. package/dist/bundled/v3/components/OrToastV3/types.js +1 -0
  853. package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +55 -0
  854. package/dist/bundled/v3/components/OrTooltip/index.d.ts +2 -0
  855. package/dist/bundled/v3/components/OrTooltip/index.js +14 -0
  856. package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.js +26 -0
  857. package/dist/bundled/v3/components/OrTooltipContent/index.d.ts +1 -0
  858. package/dist/bundled/v3/components/OrTooltipContent/index.js +3 -0
  859. package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +48 -0
  860. package/dist/bundled/v3/components/OrTooltipV3/index.js +21 -0
  861. package/dist/bundled/v3/components/OrTooltipV3/props.js +1 -0
  862. package/dist/bundled/v3/components/OrTooltipV3/styles.js +46 -0
  863. package/dist/bundled/v3/components/index.d.ts +1 -0
  864. package/dist/bundled/v3/components/index.js +273 -139
  865. package/dist/bundled/v3/directives/dropdown-close.js +15 -0
  866. package/dist/bundled/v3/directives/dropdown-open.js +16 -0
  867. package/dist/bundled/v3/directives/index.js +3 -2
  868. package/dist/bundled/v3/hooks/index.js +9 -7
  869. package/dist/bundled/v3/hooks/useControlAttributes.js +12 -0
  870. package/dist/bundled/v3/hooks/useElevation.js +22 -0
  871. package/dist/bundled/v3/hooks/useIdAttribute.js +12 -0
  872. package/dist/bundled/v3/hooks/useOverflow.js +64 -0
  873. package/dist/bundled/v3/hooks/useResponsive/index.js +2 -2
  874. package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +13 -0
  875. package/dist/bundled/v3/hooks/useToggle.js +22 -0
  876. package/dist/bundled/v3/hooks/useValidationAttributes.js +16 -0
  877. package/dist/bundled/v3/index-63e094a0.js +15 -0
  878. package/dist/bundled/v3/index-6976c52a.js +17838 -0
  879. package/dist/bundled/v3/index.js +335 -3102
  880. package/dist/bundled/v3/lang-02d2bb2d.js +7811 -0
  881. package/dist/bundled/v3/props-7be029c7.js +32 -0
  882. package/dist/bundled/v3/types-668300dd.js +5 -0
  883. package/dist/bundled/v3/utils/constants/color.js +16 -0
  884. package/dist/bundled/v3/utils/constants/key-codes.js +16 -0
  885. package/dist/bundled/v3/utils/constants/poper.js +10 -0
  886. package/dist/bundled/v3/utils/constants/regex.js +49 -0
  887. package/dist/bundled/v3/utils/functions/color.js +39 -0
  888. package/dist/bundled/v3/utils/functions/dom.js +166 -0
  889. package/dist/bundled/v3/utils/functions/hash.js +8 -0
  890. package/dist/bundled/v3/utils/functions/px-to-rem.js +3 -0
  891. package/dist/bundled/v3/utils/functions/text.js +9 -0
  892. package/dist/bundled/v3/utils/isVisible.js +5 -0
  893. package/dist/esm/v2/OrAvatar-da5cba16.js +113 -0
  894. package/dist/esm/v2/OrButton-86c800fe.js +75 -0
  895. package/dist/esm/v2/OrButton.vue_rollup-plugin-vue_styles.0-03013ef7.js +101 -0
  896. package/dist/esm/v2/OrCardCollection-d9206990.js +222 -0
  897. package/dist/esm/v2/OrCarousel-3c809a13.js +244 -0
  898. package/dist/esm/v2/OrCarouselItem-c614bab9.js +41 -0
  899. package/dist/esm/v2/OrCheckbox-bf34eb0f.js +181 -0
  900. package/dist/esm/v2/OrChip-416e848e.js +91 -0
  901. package/dist/esm/v2/OrChips-77e789e9.js +82 -0
  902. package/dist/esm/v2/OrChips.vue_rollup-plugin-vue_styles.0-e05c5ca8.js +240 -0
  903. package/dist/esm/v2/OrCode-90e15e84.js +557 -0
  904. package/dist/esm/v2/OrConfirm-360884f6.js +258 -0
  905. package/dist/esm/v2/OrDateTimePicker-0a5dfc88.js +766 -0
  906. package/dist/esm/v2/OrFab-d1275424.js +103 -0
  907. package/dist/esm/v2/OrIcon-8a6d663a.js +176 -0
  908. package/dist/esm/v2/OrIconButton-729fe6a2.js +64 -0
  909. package/dist/esm/v2/OrIconButton.vue_rollup-plugin-vue_styles.0-affe3331.js +200 -0
  910. package/dist/esm/v2/OrInlineTextEdit-24870b6d.js +399 -0
  911. package/dist/esm/v2/OrList-74216118.js +296 -0
  912. package/dist/esm/v2/OrListOfInputs-14c510e6.js +221 -0
  913. package/dist/esm/v2/OrModal-beff61df.js +199 -0
  914. package/dist/esm/v2/OrNotification-d0da833a.js +142 -0
  915. package/dist/esm/v2/OrOverflowMenu-abb6883b.js +245 -0
  916. package/dist/esm/v2/OrPassword-028c657f.js +223 -0
  917. package/dist/esm/v2/OrSearch-68a6f290.js +244 -0
  918. package/dist/esm/v2/OrSelect-eb5cc918.js +1092 -0
  919. package/dist/esm/v2/OrSkeletonCircle-287fb8bb.js +81 -0
  920. package/dist/esm/v2/OrSkeletonCircle-db96ddb6.js +78 -0
  921. package/dist/esm/v2/OrSkeletonRect-0f06777f.js +84 -0
  922. package/dist/esm/v2/OrSkeletonRect-8df5791c.js +81 -0
  923. package/dist/esm/v2/OrSkeletonText-5529bcd1.js +113 -0
  924. package/dist/esm/v2/OrSkeletonText-8063af02.js +94 -0
  925. package/dist/esm/v2/OrSlider-32a14ca4.js +368 -0
  926. package/dist/esm/v2/OrStepper-1856df54.js +644 -0
  927. package/dist/esm/v2/OrTag-a1fff567.js +114 -0
  928. package/dist/esm/v2/OrTextbox-639f07a1.js +529 -0
  929. package/dist/esm/v2/OrToastContainer-05c306b2.js +335 -0
  930. package/dist/esm/v2/OrTooltip-cfb56e8f.js +68 -0
  931. package/dist/esm/v2/OrTooltip.vue_rollup-plugin-vue_styles.0-122f7804.js +90 -0
  932. package/dist/esm/v2/OrTooltipContent-c9540548.js +71 -0
  933. package/dist/esm/v2/components/index.d.ts +1 -0
  934. package/dist/esm/v2/components/index.js +43 -33
  935. package/dist/esm/v2/components/or-avatar/index.js +4 -3
  936. package/dist/esm/v2/components/or-button-v2/index.d.ts +1 -1
  937. package/dist/esm/v2/components/or-button-v2/index.js +9 -7
  938. package/dist/esm/v2/components/or-card-collection/index.js +9 -7
  939. package/dist/esm/v2/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue.d.ts +35 -0
  940. package/dist/esm/v2/components/or-carousel/index.d.ts +2 -3
  941. package/dist/esm/v2/components/or-carousel/index.js +5 -3
  942. package/dist/esm/v2/components/or-carousel/or-carousel-item/index.d.ts +1 -0
  943. package/dist/esm/v2/components/or-carousel/or-carousel-item/index.js +3 -0
  944. package/dist/esm/v2/components/or-checkbox/index.js +4 -3
  945. package/dist/esm/v2/components/or-chips/index.d.ts +1 -1
  946. package/dist/esm/v2/components/or-chips/index.js +6 -4
  947. package/dist/esm/v2/components/or-chips/or-chip/index.d.ts +1 -0
  948. package/dist/esm/v2/components/or-chips/or-chip/index.js +14 -0
  949. package/dist/esm/v2/components/or-code/index.js +9 -7
  950. package/dist/esm/v2/components/or-confirm/index.js +10 -8
  951. package/dist/esm/v2/components/or-date-time-picker/index.js +8 -6
  952. package/dist/esm/v2/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue.d.ts +92 -0
  953. package/dist/esm/v2/components/or-fab-v3/index.js +1 -1
  954. package/dist/esm/v2/components/or-icon/index.js +3 -2
  955. package/dist/esm/v2/components/or-icon-button-v2/OrIconButton.vue.d.ts +132 -0
  956. package/dist/esm/v2/components/or-icon-button-v2/index.d.ts +1 -0
  957. package/dist/esm/v2/components/or-icon-button-v2/index.js +17 -0
  958. package/dist/esm/v2/components/or-icon-button-v2/partials/OrTooltipWrapper.vue.d.ts +32 -0
  959. package/dist/esm/v2/components/or-inline-text-edit/index.js +8 -6
  960. package/dist/esm/v2/components/or-list/index.js +9 -7
  961. package/dist/esm/v2/components/or-list-of-inputs/index.js +10 -8
  962. package/dist/esm/v2/components/or-modal/index.js +8 -6
  963. package/dist/esm/v2/components/or-notification/index.js +8 -6
  964. package/dist/esm/v2/components/or-overflow-menu/index.js +9 -7
  965. package/dist/esm/v2/components/or-password/index.js +8 -6
  966. package/dist/esm/v2/components/or-search/index.js +8 -6
  967. package/dist/esm/v2/components/or-select/OrSelect.vue.d.ts +20 -16
  968. package/dist/esm/v2/components/or-select/index.js +7 -5
  969. package/dist/esm/v2/components/or-select/partials/OrSelectContent.vue.d.ts +114 -0
  970. package/dist/esm/v2/components/or-select/partials/OrSelectContentOptions.vue.d.ts +87 -0
  971. package/dist/esm/v2/components/or-select/partials/OrSelectInput.vue.d.ts +81 -0
  972. package/dist/esm/v2/components/or-select/partials/OrSelectInputValue.vue.d.ts +58 -0
  973. package/dist/esm/v2/components/or-select/partials/OrSelectMain.vue.d.ts +158 -0
  974. package/dist/esm/v2/components/or-select/partials/OrSelectOption.vue.d.ts +37 -0
  975. package/dist/esm/v2/components/or-skeleton/index.d.ts +3 -3
  976. package/dist/esm/v2/components/or-skeleton/index.js +4 -1
  977. package/dist/esm/v2/components/or-skeleton/or-skeleton-circle/index.d.ts +2 -0
  978. package/dist/esm/v2/components/or-skeleton/or-skeleton-circle/index.js +7 -0
  979. package/dist/esm/v2/components/or-skeleton/or-skeleton-rect/index.d.ts +2 -0
  980. package/dist/esm/v2/components/or-skeleton/or-skeleton-rect/index.js +7 -0
  981. package/dist/esm/v2/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue.d.ts +73 -0
  982. package/dist/esm/v2/components/or-skeleton/or-skeleton-text/index.d.ts +2 -0
  983. package/dist/esm/v2/components/or-skeleton/or-skeleton-text/index.js +7 -0
  984. package/dist/esm/v2/components/or-skeleton-v3/index.d.ts +3 -3
  985. package/dist/esm/v2/components/or-skeleton-v3/index.js +4 -1
  986. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-circle-v3/index.d.ts +1 -0
  987. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-circle-v3/index.js +6 -0
  988. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-rect-v3/index.d.ts +1 -0
  989. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-rect-v3/index.js +6 -0
  990. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-text-v3/index.d.ts +1 -0
  991. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-text-v3/index.js +6 -0
  992. package/dist/esm/v2/components/or-slider/index.js +4 -3
  993. package/dist/esm/v2/components/or-stepper/index.js +8 -6
  994. package/dist/esm/v2/components/or-tag/index.js +4 -3
  995. package/dist/esm/v2/components/or-textbox/index.js +8 -6
  996. package/dist/esm/v2/components/or-toast/index.d.ts +2 -3
  997. package/dist/esm/v2/components/or-toast/index.js +8 -6
  998. package/dist/esm/v2/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +93 -0
  999. package/dist/esm/v2/components/or-toast/or-toast-container/index.d.ts +4 -0
  1000. package/dist/esm/v2/components/or-toast/or-toast-container/index.js +22 -0
  1001. package/dist/esm/v2/components/or-toast-v3/index.d.ts +2 -3
  1002. package/dist/esm/v2/components/or-toast-v3/index.js +1 -1
  1003. package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +85 -0
  1004. package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.d.ts +4 -0
  1005. package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +18 -0
  1006. package/dist/esm/v2/components/or-tooltip/index.d.ts +1 -1
  1007. package/dist/esm/v2/components/or-tooltip/index.js +5 -4
  1008. package/dist/esm/v2/components/or-tooltip/or-tooltip-content/index.d.ts +1 -0
  1009. package/dist/esm/v2/components/or-tooltip/or-tooltip-content/index.js +5 -0
  1010. package/dist/esm/v2/constants-0a28d818.js +12 -0
  1011. package/dist/esm/v2/index.js +43 -33
  1012. package/dist/esm/v2/styles-ed564e39.js +34 -0
  1013. package/dist/esm/v2/types-e10ddd9d.js +432 -0
  1014. package/dist/esm/v3/OrAvatar-b18f2208.js +89 -0
  1015. package/dist/esm/v3/OrButton-1e1b44e1.js +137 -0
  1016. package/dist/esm/v3/OrCardCollection-072286a2.js +293 -0
  1017. package/dist/esm/v3/OrCardCollection-f7eff96c.js +190 -0
  1018. package/dist/esm/v3/OrCarousel-8de5d65b.js +224 -0
  1019. package/dist/esm/v3/OrCarouselItem-8c7ccd0f.js +18 -0
  1020. package/dist/esm/v3/OrCheckbox-c2d9cf53.js +149 -0
  1021. package/dist/esm/v3/OrChip-ccd4b331.js +67 -0
  1022. package/dist/esm/v3/OrChips-9a19aa03.js +240 -0
  1023. package/dist/esm/v3/OrCode-b77df76f.js +523 -0
  1024. package/dist/esm/v3/OrConfirm-5e9a3a4a.js +215 -0
  1025. package/dist/esm/v3/OrDateTimePicker-01a7ffb1.js +681 -0
  1026. package/dist/esm/v3/OrFab-5f5fdd1e.js +77 -0
  1027. package/dist/esm/v3/OrIcon-9b3d24cc.js +153 -0
  1028. package/dist/esm/v3/OrIconButton-b8042604.js +217 -0
  1029. package/dist/esm/v3/OrInlineTextEdit-4b719869.js +339 -0
  1030. package/dist/esm/v3/OrList-b085648b.js +258 -0
  1031. package/dist/esm/v3/OrListOfInputs-4b8a2152.js +164 -0
  1032. package/dist/esm/v3/OrModal-6ec31764.js +164 -0
  1033. package/dist/esm/v3/OrNotification-ba04259f.js +115 -0
  1034. package/dist/esm/v3/OrOverflowMenu-8b2a4324.js +186 -0
  1035. package/dist/esm/v3/OrPassword-f0c62eba.js +163 -0
  1036. package/dist/esm/v3/OrSearch-5718a2b1.js +189 -0
  1037. package/dist/esm/v3/OrSelect-3d923250.js +804 -0
  1038. package/dist/esm/v3/OrSkeletonCircle-1aa63444.js +55 -0
  1039. package/dist/esm/v3/OrSkeletonCircle-d59d0e13.js +57 -0
  1040. package/dist/esm/v3/OrSkeletonRect-813bc73a.js +58 -0
  1041. package/dist/esm/v3/OrSkeletonRect-b0845041.js +60 -0
  1042. package/dist/esm/v3/OrSkeletonText-205898e9.js +89 -0
  1043. package/dist/esm/v3/OrSkeletonText-6de38947.js +71 -0
  1044. package/dist/esm/v3/OrSlider-ae7b8a11.js +310 -0
  1045. package/dist/esm/v3/OrStepper-de6f7fa0.js +427 -0
  1046. package/dist/esm/v3/OrTag-38d1ba92.js +86 -0
  1047. package/dist/esm/v3/OrTextbox-abe576c3.js +494 -0
  1048. package/dist/esm/v3/OrToastContainer-adb8f47d.js +281 -0
  1049. package/dist/esm/v3/OrTooltip-be7209e5.js +128 -0
  1050. package/dist/esm/v3/OrTooltipContent-68c34911.js +44 -0
  1051. package/dist/esm/v3/components/index.d.ts +1 -0
  1052. package/dist/esm/v3/components/index.js +40 -30
  1053. package/dist/esm/v3/components/or-avatar/index.js +4 -3
  1054. package/dist/esm/v3/components/or-button-v2/index.d.ts +1 -1
  1055. package/dist/esm/v3/components/or-button-v2/index.js +5 -3
  1056. package/dist/esm/v3/components/or-card-collection/index.js +7 -5
  1057. package/dist/esm/v3/components/or-card-collection-v3/index.js +1 -1
  1058. package/dist/esm/v3/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +35 -0
  1059. package/dist/esm/v3/components/or-carousel/index.d.ts +2 -3
  1060. package/dist/esm/v3/components/or-carousel/index.js +5 -3
  1061. package/dist/esm/v3/components/or-carousel/or-carousel-item/index.d.ts +1 -0
  1062. package/dist/esm/v3/components/or-carousel/or-carousel-item/index.js +3 -0
  1063. package/dist/esm/v3/components/or-checkbox/index.js +4 -3
  1064. package/dist/esm/v3/components/or-chips/index.d.ts +1 -1
  1065. package/dist/esm/v3/components/or-chips/index.js +5 -3
  1066. package/dist/esm/v3/components/or-chips/or-chip/index.d.ts +1 -0
  1067. package/dist/esm/v3/components/or-chips/or-chip/index.js +13 -0
  1068. package/dist/esm/v3/components/or-code/index.js +7 -5
  1069. package/dist/esm/v3/components/or-confirm/index.js +7 -5
  1070. package/dist/esm/v3/components/or-date-time-picker/index.js +6 -4
  1071. package/dist/esm/v3/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue.d.ts +92 -0
  1072. package/dist/esm/v3/components/or-fab-v3/index.js +1 -1
  1073. package/dist/esm/v3/components/or-icon/index.js +3 -2
  1074. package/dist/esm/v3/components/or-icon-button-v2/OrIconButton.vue.d.ts +132 -0
  1075. package/dist/esm/v3/components/or-icon-button-v2/index.d.ts +1 -0
  1076. package/dist/esm/v3/components/or-icon-button-v2/index.js +14 -0
  1077. package/dist/esm/v3/components/or-icon-button-v2/partials/OrTooltipWrapper.vue.d.ts +32 -0
  1078. package/dist/esm/v3/components/or-inline-text-edit/index.js +6 -4
  1079. package/dist/esm/v3/components/or-list/index.js +6 -4
  1080. package/dist/esm/v3/components/or-list-of-inputs/index.js +7 -5
  1081. package/dist/esm/v3/components/or-modal/index.js +6 -4
  1082. package/dist/esm/v3/components/or-notification/index.js +6 -4
  1083. package/dist/esm/v3/components/or-overflow-menu/index.js +6 -4
  1084. package/dist/esm/v3/components/or-password/index.js +6 -4
  1085. package/dist/esm/v3/components/or-search/index.js +6 -4
  1086. package/dist/esm/v3/components/or-select/OrSelect.vue.d.ts +2 -2
  1087. package/dist/esm/v3/components/or-select/index.js +7 -5
  1088. package/dist/esm/v3/components/or-select/partials/OrSelectContent.vue.d.ts +114 -0
  1089. package/dist/esm/v3/components/or-select/partials/OrSelectContentOptions.vue.d.ts +87 -0
  1090. package/dist/esm/v3/components/or-select/partials/OrSelectInput.vue.d.ts +81 -0
  1091. package/dist/esm/v3/components/or-select/partials/OrSelectInputValue.vue.d.ts +58 -0
  1092. package/dist/esm/v3/components/or-select/partials/OrSelectMain.vue.d.ts +158 -0
  1093. package/dist/esm/v3/components/or-select/partials/OrSelectOption.vue.d.ts +37 -0
  1094. package/dist/esm/v3/components/or-skeleton/index.d.ts +3 -3
  1095. package/dist/esm/v3/components/or-skeleton/index.js +4 -1
  1096. package/dist/esm/v3/components/or-skeleton/or-skeleton-circle/index.d.ts +2 -0
  1097. package/dist/esm/v3/components/or-skeleton/or-skeleton-circle/index.js +7 -0
  1098. package/dist/esm/v3/components/or-skeleton/or-skeleton-rect/index.d.ts +2 -0
  1099. package/dist/esm/v3/components/or-skeleton/or-skeleton-rect/index.js +7 -0
  1100. package/dist/esm/v3/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue.d.ts +73 -0
  1101. package/dist/esm/v3/components/or-skeleton/or-skeleton-text/index.d.ts +2 -0
  1102. package/dist/esm/v3/components/or-skeleton/or-skeleton-text/index.js +7 -0
  1103. package/dist/esm/v3/components/or-skeleton-v3/index.d.ts +3 -3
  1104. package/dist/esm/v3/components/or-skeleton-v3/index.js +4 -1
  1105. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-circle-v3/index.d.ts +1 -0
  1106. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-circle-v3/index.js +6 -0
  1107. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-rect-v3/index.d.ts +1 -0
  1108. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-rect-v3/index.js +6 -0
  1109. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-text-v3/index.d.ts +1 -0
  1110. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-text-v3/index.js +6 -0
  1111. package/dist/esm/v3/components/or-slider/index.js +4 -3
  1112. package/dist/esm/v3/components/or-stepper/index.js +6 -4
  1113. package/dist/esm/v3/components/or-tag/index.js +4 -3
  1114. package/dist/esm/v3/components/or-textbox/index.js +6 -4
  1115. package/dist/esm/v3/components/or-toast/index.d.ts +2 -3
  1116. package/dist/esm/v3/components/or-toast/index.js +6 -4
  1117. package/dist/esm/v3/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +93 -0
  1118. package/dist/esm/v3/components/or-toast/or-toast-container/index.d.ts +4 -0
  1119. package/dist/esm/v3/components/or-toast/or-toast-container/index.js +19 -0
  1120. package/dist/esm/v3/components/or-toast-v3/index.d.ts +2 -3
  1121. package/dist/esm/v3/components/or-toast-v3/index.js +1 -1
  1122. package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +85 -0
  1123. package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.d.ts +4 -0
  1124. package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +17 -0
  1125. package/dist/esm/v3/components/or-tooltip/index.d.ts +1 -1
  1126. package/dist/esm/v3/components/or-tooltip/index.js +4 -3
  1127. package/dist/esm/v3/components/or-tooltip/or-tooltip-content/index.d.ts +1 -0
  1128. package/dist/esm/v3/components/or-tooltip/or-tooltip-content/index.js +5 -0
  1129. package/dist/esm/v3/constants-0a28d818.js +12 -0
  1130. package/dist/esm/v3/index.js +40 -30
  1131. package/dist/esm/v3/styles-ed564e39.js +34 -0
  1132. package/dist/esm/v3/types-1911c470.js +378 -0
  1133. package/package.json +35 -7
  1134. package/src/components/index.ts +1 -0
  1135. package/src/components/or-button-v2/index.ts +1 -1
  1136. package/src/components/or-card-collection-v3/OrCardCollection.vue +1 -1
  1137. package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue +41 -0
  1138. package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue +42 -0
  1139. package/src/components/or-carousel/OrCarousel.stories.ts +1 -1
  1140. package/src/components/or-carousel/index.ts +2 -4
  1141. package/src/components/or-carousel/or-carousel-item/index.ts +1 -0
  1142. package/src/components/or-chips/OrChips.vue +1 -1
  1143. package/src/components/or-chips/index.ts +1 -1
  1144. package/src/components/or-chips/or-chip/OrChip.vue +109 -0
  1145. package/src/components/or-chips/or-chip/index.ts +1 -0
  1146. package/src/components/or-chips/partials/OrChipsInput.vue +140 -0
  1147. package/src/components/or-date-time-picker/OrDateTimePicker.vue +22 -22
  1148. package/src/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue +112 -0
  1149. package/src/components/or-fab-v3/OrFab.stories3.ts +2 -26
  1150. package/src/components/or-fab-v3/OrFab.vue +0 -1
  1151. package/src/components/or-icon-button-v2/OrIconButton.stories.ts +134 -0
  1152. package/src/components/or-icon-button-v2/OrIconButton.vue +257 -0
  1153. package/src/components/or-icon-button-v2/index.ts +1 -0
  1154. package/src/components/or-icon-button-v2/partials/OrTooltipWrapper.vue +49 -0
  1155. package/src/components/or-overflow-menu/OrOverflowMenu.vue +1 -1
  1156. package/src/components/or-overflow-menu/partials/OrOverflowMenuItem.vue +77 -0
  1157. package/src/components/or-select/OrSelect.vue +1 -1
  1158. package/src/components/or-select/partials/OrSelectContent.stories.ts +192 -0
  1159. package/src/components/or-select/partials/OrSelectContent.vue +165 -0
  1160. package/src/components/or-select/partials/OrSelectContentEmpty.vue +62 -0
  1161. package/src/components/or-select/partials/OrSelectContentOptions.vue +64 -0
  1162. package/src/components/or-select/partials/OrSelectInput.stories.ts +116 -0
  1163. package/src/components/or-select/partials/OrSelectInput.vue +167 -0
  1164. package/src/components/or-select/partials/OrSelectInputValue.vue +111 -0
  1165. package/src/components/or-select/partials/OrSelectMain.vue +203 -0
  1166. package/src/components/or-select/partials/OrSelectOption.vue +80 -0
  1167. package/src/components/or-select/partials/OrSelectSearchOptions.vue +101 -0
  1168. package/src/components/or-skeleton/OrSkeleton.stories.ts +4 -3
  1169. package/src/components/or-skeleton/index.ts +3 -3
  1170. package/src/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.stories.ts +35 -0
  1171. package/src/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.vue +56 -0
  1172. package/src/components/or-skeleton/or-skeleton-circle/index.ts +3 -0
  1173. package/src/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.stories.ts +53 -0
  1174. package/src/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.vue +59 -0
  1175. package/src/components/or-skeleton/or-skeleton-rect/index.ts +3 -0
  1176. package/src/components/or-skeleton/or-skeleton-text/OrSkeletonText.stories.ts +52 -0
  1177. package/src/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue +105 -0
  1178. package/src/components/or-skeleton/or-skeleton-text/index.ts +3 -0
  1179. package/src/components/or-skeleton-v3/OrSkeleton.stories3.ts +3 -3
  1180. package/src/components/or-skeleton-v3/index.ts +3 -3
  1181. package/src/components/or-skeleton-v3/or-skeleton-circle-v3/OrSkeletonCircle.vue +68 -0
  1182. package/src/components/or-skeleton-v3/or-skeleton-circle-v3/index.ts +1 -0
  1183. package/src/components/or-skeleton-v3/or-skeleton-rect-v3/OrSkeletonRect.vue +72 -0
  1184. package/src/components/or-skeleton-v3/or-skeleton-rect-v3/index.ts +1 -0
  1185. package/src/components/or-skeleton-v3/or-skeleton-text-v3/OrSkeletonText.vue +110 -0
  1186. package/src/components/or-skeleton-v3/or-skeleton-text-v3/index.ts +1 -0
  1187. package/src/components/or-stepper/OrStepper.vue +3 -3
  1188. package/src/components/or-stepper/partials/OrStepperButtonOptions.vue +71 -0
  1189. package/src/components/or-stepper/partials/StatusIcon.vue +80 -0
  1190. package/src/components/or-toast/index.ts +2 -3
  1191. package/src/components/or-toast/or-toast-container/OrToastContainer.stories.ts +65 -0
  1192. package/src/components/or-toast/or-toast-container/OrToastContainer.vue +247 -0
  1193. package/src/components/or-toast/or-toast-container/index.ts +5 -0
  1194. package/src/components/or-toast-v3/index.ts +2 -3
  1195. package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.stories3.ts +76 -0
  1196. package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue +211 -0
  1197. package/src/components/or-toast-v3/or-toast-container-v3/index.ts +5 -0
  1198. package/src/components/or-tooltip/OrTooltip.vue +1 -1
  1199. package/src/components/or-tooltip/index.ts +1 -1
  1200. package/src/components/or-tooltip/or-tooltip-content/index.ts +1 -0
  1201. package/dist/bundled/v2/OrAvatar-1d385f65.js +0 -193
  1202. package/dist/bundled/v2/OrAvatar-a54d87f6.js +0 -115
  1203. package/dist/bundled/v2/OrBottomSheet-08c7ec73.js +0 -174
  1204. package/dist/bundled/v2/OrButton-28addda1.js +0 -201
  1205. package/dist/bundled/v2/OrButton-979a5e9c.js +0 -197
  1206. package/dist/bundled/v2/OrButton-e812d1f7.js +0 -175
  1207. package/dist/bundled/v2/OrCard-cea07ac1.js +0 -69
  1208. package/dist/bundled/v2/OrCard-e07c7e8c.js +0 -67
  1209. package/dist/bundled/v2/OrCardCollection-19b22ac0.js +0 -222
  1210. package/dist/bundled/v2/OrCardCollection-a7706585.js +0 -347
  1211. package/dist/bundled/v2/OrCarouselItem-5ba1d0d3.js +0 -2921
  1212. package/dist/bundled/v2/OrCheckbox-445ed5cf.js +0 -215
  1213. package/dist/bundled/v2/OrCheckbox-76849460.js +0 -183
  1214. package/dist/bundled/v2/OrChip-ce81b0c6.js +0 -93
  1215. package/dist/bundled/v2/OrChips-bd939cdf.js +0 -321
  1216. package/dist/bundled/v2/OrCode-155b9178.js +0 -29896
  1217. package/dist/bundled/v2/OrCollapse-f7cbcd25.js +0 -170
  1218. package/dist/bundled/v2/OrColorPicker-8fa65edd.js +0 -494
  1219. package/dist/bundled/v2/OrConfirm-4d08c38d.js +0 -260
  1220. package/dist/bundled/v2/OrConfirm-f14ac69d.js +0 -331
  1221. package/dist/bundled/v2/OrDateTimePicker-def82ca4.js +0 -767
  1222. package/dist/bundled/v2/OrEmptyState-a38727b9.js +0 -160
  1223. package/dist/bundled/v2/OrError-1186b62f.js +0 -90
  1224. package/dist/bundled/v2/OrError-29f0ce95.js +0 -54
  1225. package/dist/bundled/v2/OrErrorTag-79922468.js +0 -80
  1226. package/dist/bundled/v2/OrExpansionPanel-7cd552fa.js +0 -206
  1227. package/dist/bundled/v2/OrFab-c2321877.js +0 -105
  1228. package/dist/bundled/v2/OrFloating-507e8028.js +0 -208
  1229. package/dist/bundled/v2/OrHint-29b31ba4.js +0 -90
  1230. package/dist/bundled/v2/OrHint-664117aa.js +0 -57
  1231. package/dist/bundled/v2/OrIcon-05d29a78.js +0 -130
  1232. package/dist/bundled/v2/OrIcon-90adc2bd.js +0 -177
  1233. package/dist/bundled/v2/OrIconButton-d427d121.js +0 -169
  1234. package/dist/bundled/v2/OrIconButton-e28d129f.js +0 -207
  1235. package/dist/bundled/v2/OrInlineInput-916fd2b8.js +0 -384
  1236. package/dist/bundled/v2/OrInlineInputBox-fbc52d40.js +0 -96
  1237. package/dist/bundled/v2/OrInlineTextEdit-96469839.js +0 -399
  1238. package/dist/bundled/v2/OrInlineTextarea-f26824e4.js +0 -288
  1239. package/dist/bundled/v2/OrInput-059a67b6.js +0 -427
  1240. package/dist/bundled/v2/OrInput-1589dca0.js +0 -331
  1241. package/dist/bundled/v2/OrInputBox-4d265915.js +0 -127
  1242. package/dist/bundled/v2/OrLabel-761500d5.js +0 -123
  1243. package/dist/bundled/v2/OrLabel-f19ccb5f.js +0 -80
  1244. package/dist/bundled/v2/OrLink-a407bb0d.js +0 -123
  1245. package/dist/bundled/v2/OrList-8339eb4c.js +0 -2875
  1246. package/dist/bundled/v2/OrListOfInputs-752b6998.js +0 -221
  1247. package/dist/bundled/v2/OrLoader-5cfd67fb.js +0 -114
  1248. package/dist/bundled/v2/OrLoader-dc73d8ee.js +0 -203
  1249. package/dist/bundled/v2/OrMenu-e1cf47b8.js +0 -142
  1250. package/dist/bundled/v2/OrMenuItem-7eb9d387.js +0 -110
  1251. package/dist/bundled/v2/OrModal-6cbeb15e.js +0 -160
  1252. package/dist/bundled/v2/OrModal-d1cb603e.js +0 -1462
  1253. package/dist/bundled/v2/OrNotification-50be557d.js +0 -142
  1254. package/dist/bundled/v2/OrNotification-8695c59e.js +0 -168
  1255. package/dist/bundled/v2/OrNumberInput-6b183931.js +0 -227
  1256. package/dist/bundled/v2/OrOverflowMenu-243d4723.js +0 -246
  1257. package/dist/bundled/v2/OrOverlay-4b923676.js +0 -87
  1258. package/dist/bundled/v2/OrOverlay-5263b088.js +0 -73
  1259. package/dist/bundled/v2/OrPagination-203a86f1.js +0 -336
  1260. package/dist/bundled/v2/OrPassword-1867d029.js +0 -224
  1261. package/dist/bundled/v2/OrPopover-06448d74.js +0 -292
  1262. package/dist/bundled/v2/OrProgress-5880025c.js +0 -226
  1263. package/dist/bundled/v2/OrProgress-e967daed.js +0 -320
  1264. package/dist/bundled/v2/OrRadio-787e3386.js +0 -197
  1265. package/dist/bundled/v2/OrRadio-c3655202.js +0 -143
  1266. package/dist/bundled/v2/OrRadioGroup-fbe23f97.js +0 -89
  1267. package/dist/bundled/v2/OrSearch-a8d4cf95.js +0 -146
  1268. package/dist/bundled/v2/OrSearch-c75656ff.js +0 -245
  1269. package/dist/bundled/v2/OrSegmentedControl-8b551ef0.js +0 -233
  1270. package/dist/bundled/v2/OrSelect-0b9b27e9.js +0 -544
  1271. package/dist/bundled/v2/OrSelect-39dedeb9.js +0 -1101
  1272. package/dist/bundled/v2/OrSidebar-0d6177e2.js +0 -351
  1273. package/dist/bundled/v2/OrSidebar-9e7fe79c.js +0 -149
  1274. package/dist/bundled/v2/OrSidebarCollapseButton-730a948a.js +0 -125
  1275. package/dist/bundled/v2/OrSkeletonText-1bf08dbc.js +0 -253
  1276. package/dist/bundled/v2/OrSkeletonText-e51ca60e.js +0 -300
  1277. package/dist/bundled/v2/OrSlider-e1408560.js +0 -370
  1278. package/dist/bundled/v2/OrSortHeader-c39b82c5.js +0 -126
  1279. package/dist/bundled/v2/OrStepper-24841eea.js +0 -650
  1280. package/dist/bundled/v2/OrSwitch-855e133d.js +0 -249
  1281. package/dist/bundled/v2/OrSwitch-d421b4d3.js +0 -154
  1282. package/dist/bundled/v2/OrTab-4c61cad9.js +0 -109
  1283. package/dist/bundled/v2/OrTab-f47594ad.js +0 -95
  1284. package/dist/bundled/v2/OrTabHeaderItem-38275146.js +0 -112
  1285. package/dist/bundled/v2/OrTabs-251baec9.js +0 -113
  1286. package/dist/bundled/v2/OrTabs-85d7036a.js +0 -227
  1287. package/dist/bundled/v2/OrTag-4af70bdb.js +0 -116
  1288. package/dist/bundled/v2/OrTag-7879a9fa.js +0 -161
  1289. package/dist/bundled/v2/OrTeleport.vue2-90147f16.js +0 -67
  1290. package/dist/bundled/v2/OrTeleport.vue2-e9ba3054.js +0 -61
  1291. package/dist/bundled/v2/OrText-7887212a.js +0 -134
  1292. package/dist/bundled/v2/OrTextarea-5027c642.js +0 -260
  1293. package/dist/bundled/v2/OrTextarea-8653f1b4.js +0 -327
  1294. package/dist/bundled/v2/OrTextbox-dbd1eae6.js +0 -528
  1295. package/dist/bundled/v2/OrToastContainer-a021147e.js +0 -336
  1296. package/dist/bundled/v2/OrTooltip-e34783de.js +0 -167
  1297. package/dist/bundled/v2/OrTooltip-e62cdd46.js +0 -157
  1298. package/dist/bundled/v2/OrTooltipContent-592eeb27.js +0 -73
  1299. package/dist/bundled/v2/color-1f348774.js +0 -60
  1300. package/dist/bundled/v2/components/or-avatar/index.js +0 -15
  1301. package/dist/bundled/v2/components/or-avatar-v3/index.js +0 -7
  1302. package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +0 -10
  1303. package/dist/bundled/v2/components/or-button/index.js +0 -8
  1304. package/dist/bundled/v2/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1305. package/dist/bundled/v2/components/or-button-v2/OrTooltipWrapper.vue.d.ts +0 -32
  1306. package/dist/bundled/v2/components/or-button-v2/index.d.ts +0 -3
  1307. package/dist/bundled/v2/components/or-button-v2/index.js +0 -19
  1308. package/dist/bundled/v2/components/or-button-v3/index.js +0 -7
  1309. package/dist/bundled/v2/components/or-card/index.js +0 -6
  1310. package/dist/bundled/v2/components/or-card-collection/index.js +0 -27
  1311. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +0 -35
  1312. package/dist/bundled/v2/components/or-card-collection-v3/index.js +0 -31
  1313. package/dist/bundled/v2/components/or-card-v3/index.js +0 -5
  1314. package/dist/bundled/v2/components/or-carousel/index.d.ts +0 -3
  1315. package/dist/bundled/v2/components/or-carousel/index.js +0 -15
  1316. package/dist/bundled/v2/components/or-checkbox/index.js +0 -15
  1317. package/dist/bundled/v2/components/or-checkbox-v3/index.js +0 -8
  1318. package/dist/bundled/v2/components/or-chips/index.d.ts +0 -2
  1319. package/dist/bundled/v2/components/or-chips/index.js +0 -18
  1320. package/dist/bundled/v2/components/or-code/index.js +0 -25
  1321. package/dist/bundled/v2/components/or-collapse/index.js +0 -9
  1322. package/dist/bundled/v2/components/or-color-picker/index.js +0 -13
  1323. package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -162
  1324. package/dist/bundled/v2/components/or-confirm/index.js +0 -29
  1325. package/dist/bundled/v2/components/or-confirm-v3/index.js +0 -29
  1326. package/dist/bundled/v2/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +0 -92
  1327. package/dist/bundled/v2/components/or-date-time-picker/index.js +0 -24
  1328. package/dist/bundled/v2/components/or-empty-state-v3/index.js +0 -5
  1329. package/dist/bundled/v2/components/or-error/index.js +0 -6
  1330. package/dist/bundled/v2/components/or-error-tag-v3/index.js +0 -6
  1331. package/dist/bundled/v2/components/or-error-v3/index.js +0 -5
  1332. package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +0 -6
  1333. package/dist/bundled/v2/components/or-fab-v3/index.js +0 -6
  1334. package/dist/bundled/v2/components/or-floating/index.js +0 -11
  1335. package/dist/bundled/v2/components/or-hint/index.js +0 -7
  1336. package/dist/bundled/v2/components/or-hint-v3/index.js +0 -5
  1337. package/dist/bundled/v2/components/or-icon/index.js +0 -14
  1338. package/dist/bundled/v2/components/or-icon-button-v3/index.js +0 -16
  1339. package/dist/bundled/v2/components/or-icon-v3/index.js +0 -5
  1340. package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +0 -5
  1341. package/dist/bundled/v2/components/or-inline-input-v3/index.js +0 -23
  1342. package/dist/bundled/v2/components/or-inline-text-edit/index.js +0 -22
  1343. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +0 -23
  1344. package/dist/bundled/v2/components/or-input/index.js +0 -13
  1345. package/dist/bundled/v2/components/or-input-box-v3/index.js +0 -6
  1346. package/dist/bundled/v2/components/or-input-v3/index.js +0 -26
  1347. package/dist/bundled/v2/components/or-label/index.js +0 -7
  1348. package/dist/bundled/v2/components/or-label-v3/index.js +0 -5
  1349. package/dist/bundled/v2/components/or-link-v3/index.js +0 -5
  1350. package/dist/bundled/v2/components/or-list/index.js +0 -23
  1351. package/dist/bundled/v2/components/or-list-of-inputs/index.js +0 -27
  1352. package/dist/bundled/v2/components/or-loader/index.js +0 -7
  1353. package/dist/bundled/v2/components/or-loader-v3/index.js +0 -6
  1354. package/dist/bundled/v2/components/or-menu-item-v3/index.js +0 -6
  1355. package/dist/bundled/v2/components/or-menu-v3/index.js +0 -14
  1356. package/dist/bundled/v2/components/or-modal/index.js +0 -21
  1357. package/dist/bundled/v2/components/or-modal-v3/index.js +0 -17
  1358. package/dist/bundled/v2/components/or-notification/index.js +0 -19
  1359. package/dist/bundled/v2/components/or-notification-v3/index.js +0 -17
  1360. package/dist/bundled/v2/components/or-number-input/index.js +0 -14
  1361. package/dist/bundled/v2/components/or-overflow-menu/index.js +0 -21
  1362. package/dist/bundled/v2/components/or-overlay/index.js +0 -6
  1363. package/dist/bundled/v2/components/or-overlay-v3/index.js +0 -9
  1364. package/dist/bundled/v2/components/or-pagination-v3/index.js +0 -19
  1365. package/dist/bundled/v2/components/or-password/index.js +0 -26
  1366. package/dist/bundled/v2/components/or-popover-v3/index.js +0 -13
  1367. package/dist/bundled/v2/components/or-progress/index.js +0 -7
  1368. package/dist/bundled/v2/components/or-progress-v3/index.js +0 -8
  1369. package/dist/bundled/v2/components/or-radio/index.js +0 -7
  1370. package/dist/bundled/v2/components/or-radio-group/index.js +0 -6
  1371. package/dist/bundled/v2/components/or-radio-v3/index.js +0 -8
  1372. package/dist/bundled/v2/components/or-search/index.js +0 -25
  1373. package/dist/bundled/v2/components/or-search-v3/index.js +0 -27
  1374. package/dist/bundled/v2/components/or-segmented-control-v3/index.js +0 -5
  1375. package/dist/bundled/v2/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +0 -49
  1376. package/dist/bundled/v2/components/or-segmented-control-v3/partials/or-segmented-control-item/styles.d.ts +0 -3
  1377. package/dist/bundled/v2/components/or-select/OrSelect.vue.d.ts +0 -238
  1378. package/dist/bundled/v2/components/or-select/OrSelectContent.vue.d.ts +0 -114
  1379. package/dist/bundled/v2/components/or-select/OrSelectContentOptions.vue.d.ts +0 -87
  1380. package/dist/bundled/v2/components/or-select/OrSelectInput.vue.d.ts +0 -81
  1381. package/dist/bundled/v2/components/or-select/OrSelectInputValue.vue.d.ts +0 -58
  1382. package/dist/bundled/v2/components/or-select/OrSelectMain.vue.d.ts +0 -158
  1383. package/dist/bundled/v2/components/or-select/OrSelectOption.vue.d.ts +0 -37
  1384. package/dist/bundled/v2/components/or-select/index.js +0 -21
  1385. package/dist/bundled/v2/components/or-select-v3/index.js +0 -33
  1386. package/dist/bundled/v2/components/or-sidebar/index.js +0 -8
  1387. package/dist/bundled/v2/components/or-sidebar-v3/index.js +0 -19
  1388. package/dist/bundled/v2/components/or-sidebar-v3/partials/index.d.ts +0 -1
  1389. package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +0 -18
  1390. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +0 -53
  1391. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
  1392. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -18
  1393. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +0 -2
  1394. package/dist/bundled/v2/components/or-skeleton/OrSkeletonText.vue.d.ts +0 -73
  1395. package/dist/bundled/v2/components/or-skeleton/index.d.ts +0 -4
  1396. package/dist/bundled/v2/components/or-skeleton/index.js +0 -8
  1397. package/dist/bundled/v2/components/or-skeleton-v3/index.d.ts +0 -3
  1398. package/dist/bundled/v2/components/or-skeleton-v3/index.js +0 -7
  1399. package/dist/bundled/v2/components/or-slider/index.js +0 -16
  1400. package/dist/bundled/v2/components/or-sort-header-v3/index.js +0 -6
  1401. package/dist/bundled/v2/components/or-stepper/index.js +0 -18
  1402. package/dist/bundled/v2/components/or-switch/index.js +0 -8
  1403. package/dist/bundled/v2/components/or-switch-v3/index.js +0 -10
  1404. package/dist/bundled/v2/components/or-tab/index.js +0 -8
  1405. package/dist/bundled/v2/components/or-tab-header-item/index.js +0 -7
  1406. package/dist/bundled/v2/components/or-tab-v3/index.js +0 -5
  1407. package/dist/bundled/v2/components/or-tabs/index.js +0 -8
  1408. package/dist/bundled/v2/components/or-tabs-v3/index.js +0 -18
  1409. package/dist/bundled/v2/components/or-tag/index.js +0 -16
  1410. package/dist/bundled/v2/components/or-tag-v3/index.js +0 -17
  1411. package/dist/bundled/v2/components/or-teleport/index.js +0 -6
  1412. package/dist/bundled/v2/components/or-teleport-v3/index.js +0 -6
  1413. package/dist/bundled/v2/components/or-text-v3/index.js +0 -5
  1414. package/dist/bundled/v2/components/or-textarea/index.js +0 -13
  1415. package/dist/bundled/v2/components/or-textarea-v3/index.js +0 -13
  1416. package/dist/bundled/v2/components/or-textbox/index.js +0 -24
  1417. package/dist/bundled/v2/components/or-toast/OrToastContainer.vue.d.ts +0 -93
  1418. package/dist/bundled/v2/components/or-toast/composable/index.js +0 -5
  1419. package/dist/bundled/v2/components/or-toast/index.d.ts +0 -6
  1420. package/dist/bundled/v2/components/or-toast/index.js +0 -22
  1421. package/dist/bundled/v2/components/or-toast-v3/OrToastContainer.vue.d.ts +0 -85
  1422. package/dist/bundled/v2/components/or-toast-v3/composable/index.js +0 -5
  1423. package/dist/bundled/v2/components/or-toast-v3/index.d.ts +0 -6
  1424. package/dist/bundled/v2/components/or-toast-v3/index.js +0 -20
  1425. package/dist/bundled/v2/components/or-tooltip/index.d.ts +0 -2
  1426. package/dist/bundled/v2/components/or-tooltip/index.js +0 -13
  1427. package/dist/bundled/v2/components/or-tooltip-v3/index.js +0 -14
  1428. package/dist/bundled/v2/components/or-tree-v3/OrTree.vue.d.ts +0 -47
  1429. package/dist/bundled/v2/components/or-tree-v3/TreeNode.vue.d.ts +0 -69
  1430. package/dist/bundled/v2/components/or-tree-v3/index.d.ts +0 -2
  1431. package/dist/bundled/v2/components/or-tree-v3/index.js +0 -236
  1432. package/dist/bundled/v2/components/or-tree-v3/styles.d.ts +0 -1
  1433. package/dist/bundled/v2/components/or-tree-v3/types.d.ts +0 -10
  1434. package/dist/bundled/v2/components/or-tree-v3/utils.d.ts +0 -5
  1435. package/dist/bundled/v2/constants-c5d1139f.js +0 -43
  1436. package/dist/bundled/v2/dom-7a41831b.js +0 -58
  1437. package/dist/bundled/v2/dropdown-open-e2a93aaf.js +0 -28
  1438. package/dist/bundled/v2/index-17f264f9.js +0 -16
  1439. package/dist/bundled/v2/index-fa6eb4ca.js +0 -11
  1440. package/dist/bundled/v2/props-78496a2d.js +0 -12
  1441. package/dist/bundled/v2/px-to-rem-0b26b83e.js +0 -3
  1442. package/dist/bundled/v2/types-79c4992b.js +0 -435
  1443. package/dist/bundled/v2/useElevation-b6e7590a.js +0 -26
  1444. package/dist/bundled/v2/useIdAttribute-cf61643f.js +0 -22
  1445. package/dist/bundled/v2/useOverflow-bae6342f.js +0 -65
  1446. package/dist/bundled/v2/useResponsive-e13dfbb0.js +0 -14
  1447. package/dist/bundled/v2/useToast-1faa828c.js +0 -189
  1448. package/dist/bundled/v2/useToast-3a3d4280.js +0 -197
  1449. package/dist/bundled/v2/useToggle-6166bd53.js +0 -23
  1450. package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +0 -17
  1451. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-45732c41.js +0 -144
  1452. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-a013315b.js +0 -63
  1453. package/dist/bundled/v3/OrBottomSheet.vue_vue_type_script_lang-e3ef075b.js +0 -145
  1454. package/dist/bundled/v3/OrButton-192156e6.js +0 -41
  1455. package/dist/bundled/v3/OrButton-7b1eac5d.js +0 -35
  1456. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-17f34bec.js +0 -99
  1457. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-c0800f20.js +0 -122
  1458. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-ed1524cf.js +0 -140
  1459. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-061e43c7.js +0 -32
  1460. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-90ba001b.js +0 -21
  1461. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-4b239b01.js +0 -190
  1462. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-dda3f349.js +0 -232
  1463. package/dist/bundled/v3/OrCarouselItem-361cd007.js +0 -55
  1464. package/dist/bundled/v3/OrCarouselItem.vue_vue_type_script_lang-cc31281a.js +0 -2822
  1465. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-04690001.js +0 -117
  1466. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-87143106.js +0 -88
  1467. package/dist/bundled/v3/OrChip-f8874fb2.js +0 -67
  1468. package/dist/bundled/v3/OrChips.vue_vue_type_script_lang-3c26c28f.js +0 -196
  1469. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-c639b8c1.js +0 -29778
  1470. package/dist/bundled/v3/OrCollapse-d2564011.js +0 -35
  1471. package/dist/bundled/v3/OrCollapse.vue_vue_type_script_lang-04ffe655.js +0 -114
  1472. package/dist/bundled/v3/OrColorPicker.vue_vue_type_script_lang-3b58e79f.js +0 -389
  1473. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-3eb862c3.js +0 -160
  1474. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-f8a75cf0.js +0 -237
  1475. package/dist/bundled/v3/OrDateTimePicker.vue_vue_type_script_lang-d7344d80.js +0 -463
  1476. package/dist/bundled/v3/OrEmptyState.vue_vue_type_script_lang-4dc955fd.js +0 -111
  1477. package/dist/bundled/v3/OrError-b43ebad8.js +0 -17
  1478. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-7305a1d9.js +0 -46
  1479. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-7c39e012.js +0 -13
  1480. package/dist/bundled/v3/OrErrorTag.vue_vue_type_script_lang-26bd7e9a.js +0 -37
  1481. package/dist/bundled/v3/OrExpansionPanel.vue_vue_type_script_lang-60d86e7b.js +0 -136
  1482. package/dist/bundled/v3/OrFab.vue_vue_type_script_lang-1bc958da.js +0 -60
  1483. package/dist/bundled/v3/OrFloating-c13f0eae.js +0 -23
  1484. package/dist/bundled/v3/OrFloating.vue_vue_type_script_lang-c7bbb811.js +0 -168
  1485. package/dist/bundled/v3/OrHint-c9114268.js +0 -17
  1486. package/dist/bundled/v3/OrHint-fcd2563e.js +0 -35
  1487. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-47d9b9ed.js +0 -46
  1488. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-78598c8e.js +0 -16
  1489. package/dist/bundled/v3/OrIcon-a670d8e9.js +0 -12
  1490. package/dist/bundled/v3/OrIcon-e8ea87d0.js +0 -39
  1491. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-4af1b391.js +0 -115
  1492. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-859d76fb.js +0 -93
  1493. package/dist/bundled/v3/OrIconButton-71a8da96.js +0 -42
  1494. package/dist/bundled/v3/OrIconButton-b3e4997b.js +0 -34
  1495. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-60d2d34d.js +0 -163
  1496. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-de03b47c.js +0 -135
  1497. package/dist/bundled/v3/OrInlineInput.vue_vue_type_script_lang-3d76b4b8.js +0 -178
  1498. package/dist/bundled/v3/OrInlineInputBox-019a5579.js +0 -14
  1499. package/dist/bundled/v3/OrInlineInputBox.vue_vue_type_script_lang-aff0fced.js +0 -56
  1500. package/dist/bundled/v3/OrInlineTextEdit.vue_vue_type_script_lang-af562778.js +0 -243
  1501. package/dist/bundled/v3/OrInlineTextarea.vue_vue_type_script_lang-5b87295b.js +0 -156
  1502. package/dist/bundled/v3/OrInput-0141dbad.js +0 -121
  1503. package/dist/bundled/v3/OrInput-d95faac1.js +0 -110
  1504. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-831761b8.js +0 -166
  1505. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-a415817b.js +0 -190
  1506. package/dist/bundled/v3/OrInputBox-66241142.js +0 -16
  1507. package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-d07fa3ad.js +0 -85
  1508. package/dist/bundled/v3/OrLabel-4da10c50.js +0 -22
  1509. package/dist/bundled/v3/OrLabel-e412c532.js +0 -20
  1510. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-27f8b12d.js +0 -37
  1511. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-5ba2b33c.js +0 -74
  1512. package/dist/bundled/v3/OrLink.vue_vue_type_script_lang-4506e3b2.js +0 -82
  1513. package/dist/bundled/v3/OrList.vue_vue_type_script_lang-e9c5f2b1.js +0 -2759
  1514. package/dist/bundled/v3/OrListOfInputs.vue_vue_type_script_lang-3d17ccac.js +0 -167
  1515. package/dist/bundled/v3/OrLoader-41de68e0.js +0 -64
  1516. package/dist/bundled/v3/OrLoader-ee97fef4.js +0 -42
  1517. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-1378ab8e.js +0 -54
  1518. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-9f6ed71f.js +0 -111
  1519. package/dist/bundled/v3/OrMenu-97b74f43.js +0 -27
  1520. package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-bff59dcb.js +0 -86
  1521. package/dist/bundled/v3/OrMenuItem-a90b0369.js +0 -27
  1522. package/dist/bundled/v3/OrMenuItem.vue_vue_type_script_lang-d65eec51.js +0 -54
  1523. package/dist/bundled/v3/OrModal-0f2cb8c9.js +0 -51
  1524. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-87032cf0.js +0 -104
  1525. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-a60d4580.js +0 -1391
  1526. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-10b7460c.js +0 -113
  1527. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-e063adb5.js +0 -82
  1528. package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-a25274f5.js +0 -113
  1529. package/dist/bundled/v3/OrOverflowMenu.vue_vue_type_script_lang-794aebbb.js +0 -135
  1530. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-b9bf5e50.js +0 -33
  1531. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-c298c8cd.js +0 -56
  1532. package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-8ec07f21.js +0 -194
  1533. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-61f6df6b.js +0 -99
  1534. package/dist/bundled/v3/OrPopover-f09c1ad2.js +0 -34
  1535. package/dist/bundled/v3/OrPopover.vue_vue_type_script_lang-1caf28d1.js +0 -266
  1536. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-3f9ec654.js +0 -146
  1537. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-d725e281.js +0 -210
  1538. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-23f050a2.js +0 -113
  1539. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-c956b54b.js +0 -85
  1540. package/dist/bundled/v3/OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js +0 -47
  1541. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-afb27ea5.js +0 -78
  1542. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-f4a3f989.js +0 -122
  1543. package/dist/bundled/v3/OrSegmentedControl.vue_vue_type_script_lang-b3069c12.js +0 -151
  1544. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-1574d816.js +0 -395
  1545. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-2016ac4e.js +0 -815
  1546. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-7c55ac0a.js +0 -94
  1547. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-bfaee185.js +0 -291
  1548. package/dist/bundled/v3/OrSidebarCollapseButton.vue_vue_type_script_lang-15f995a0.js +0 -75
  1549. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-5d63c696.js +0 -184
  1550. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js +0 -131
  1551. package/dist/bundled/v3/OrSlider.vue_vue_type_script_lang-a5a10569.js +0 -227
  1552. package/dist/bundled/v3/OrSortHeader.vue_vue_type_script_lang-73335917.js +0 -74
  1553. package/dist/bundled/v3/OrStepper.vue_vue_type_script_lang-c8f92d93.js +0 -376
  1554. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-c995850e.js +0 -142
  1555. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-f55d33f4.js +0 -81
  1556. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-045eb56a.js +0 -43
  1557. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-de7c7063.js +0 -61
  1558. package/dist/bundled/v3/OrTabHeaderItem.vue_vue_type_script_lang-e1f29563.js +0 -63
  1559. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-40e2a6e9.js +0 -66
  1560. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-4b181fc5.js +0 -167
  1561. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-429e76ad.js +0 -94
  1562. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-6677064d.js +0 -58
  1563. package/dist/bundled/v3/OrTeleport.vue3-12636ac0.js +0 -33
  1564. package/dist/bundled/v3/OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js +0 -17
  1565. package/dist/bundled/v3/OrText.vue_vue_type_script_lang-c12f7b15.js +0 -93
  1566. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-0ae5cda3.js +0 -126
  1567. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-13c5e976.js +0 -187
  1568. package/dist/bundled/v3/OrTextbox.vue_vue_type_script_lang-bda20419.js +0 -363
  1569. package/dist/bundled/v3/OrToastContainer-056470e4.js +0 -40
  1570. package/dist/bundled/v3/OrToastContainer-0b16a650.js +0 -41
  1571. package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-e495902f.js +0 -301
  1572. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-ce2158d0.js +0 -115
  1573. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-eb8ad0e1.js +0 -87
  1574. package/dist/bundled/v3/OrTooltipContent-b0dcb862.js +0 -43
  1575. package/dist/bundled/v3/color-1f348774.js +0 -60
  1576. package/dist/bundled/v3/components/or-avatar/index.js +0 -13
  1577. package/dist/bundled/v3/components/or-avatar-v3/index.js +0 -5
  1578. package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +0 -6
  1579. package/dist/bundled/v3/components/or-button/index.js +0 -6
  1580. package/dist/bundled/v3/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1581. package/dist/bundled/v3/components/or-button-v2/OrTooltipWrapper.vue.d.ts +0 -32
  1582. package/dist/bundled/v3/components/or-button-v2/index.d.ts +0 -3
  1583. package/dist/bundled/v3/components/or-button-v2/index.js +0 -18
  1584. package/dist/bundled/v3/components/or-button-v3/index.js +0 -5
  1585. package/dist/bundled/v3/components/or-card/index.js +0 -2
  1586. package/dist/bundled/v3/components/or-card-collection/index.js +0 -32
  1587. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +0 -35
  1588. package/dist/bundled/v3/components/or-card-collection-v3/index.js +0 -38
  1589. package/dist/bundled/v3/components/or-card-v3/index.js +0 -2
  1590. package/dist/bundled/v3/components/or-carousel/index.d.ts +0 -3
  1591. package/dist/bundled/v3/components/or-carousel/index.js +0 -14
  1592. package/dist/bundled/v3/components/or-checkbox/index.js +0 -13
  1593. package/dist/bundled/v3/components/or-checkbox-v3/index.js +0 -5
  1594. package/dist/bundled/v3/components/or-chips/index.d.ts +0 -2
  1595. package/dist/bundled/v3/components/or-chips/index.js +0 -18
  1596. package/dist/bundled/v3/components/or-code/index.js +0 -29
  1597. package/dist/bundled/v3/components/or-collapse/index.js +0 -5
  1598. package/dist/bundled/v3/components/or-color-picker/index.js +0 -10
  1599. package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -131
  1600. package/dist/bundled/v3/components/or-confirm/index.js +0 -36
  1601. package/dist/bundled/v3/components/or-confirm-v3/index.js +0 -34
  1602. package/dist/bundled/v3/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +0 -92
  1603. package/dist/bundled/v3/components/or-date-time-picker/index.js +0 -28
  1604. package/dist/bundled/v3/components/or-empty-state-v3/index.js +0 -2
  1605. package/dist/bundled/v3/components/or-error/index.js +0 -2
  1606. package/dist/bundled/v3/components/or-error-tag-v3/index.js +0 -4
  1607. package/dist/bundled/v3/components/or-error-v3/index.js +0 -2
  1608. package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +0 -4
  1609. package/dist/bundled/v3/components/or-fab-v3/index.js +0 -4
  1610. package/dist/bundled/v3/components/or-floating/index.js +0 -6
  1611. package/dist/bundled/v3/components/or-hint/index.js +0 -3
  1612. package/dist/bundled/v3/components/or-hint-v3/index.js +0 -2
  1613. package/dist/bundled/v3/components/or-icon/index.js +0 -11
  1614. package/dist/bundled/v3/components/or-icon-button-v3/index.js +0 -14
  1615. package/dist/bundled/v3/components/or-icon-v3/index.js +0 -2
  1616. package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +0 -2
  1617. package/dist/bundled/v3/components/or-inline-input-v3/index.js +0 -23
  1618. package/dist/bundled/v3/components/or-inline-text-edit/index.js +0 -24
  1619. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +0 -23
  1620. package/dist/bundled/v3/components/or-input/index.js +0 -14
  1621. package/dist/bundled/v3/components/or-input-box-v3/index.js +0 -3
  1622. package/dist/bundled/v3/components/or-input-v3/index.js +0 -28
  1623. package/dist/bundled/v3/components/or-label/index.js +0 -3
  1624. package/dist/bundled/v3/components/or-label-v3/index.js +0 -2
  1625. package/dist/bundled/v3/components/or-link-v3/index.js +0 -2
  1626. package/dist/bundled/v3/components/or-list/index.js +0 -26
  1627. package/dist/bundled/v3/components/or-list-of-inputs/index.js +0 -33
  1628. package/dist/bundled/v3/components/or-loader/index.js +0 -3
  1629. package/dist/bundled/v3/components/or-loader-v3/index.js +0 -3
  1630. package/dist/bundled/v3/components/or-menu-item-v3/index.js +0 -4
  1631. package/dist/bundled/v3/components/or-menu-v3/index.js +0 -11
  1632. package/dist/bundled/v3/components/or-modal/index.js +0 -21
  1633. package/dist/bundled/v3/components/or-modal-v3/index.js +0 -16
  1634. package/dist/bundled/v3/components/or-notification/index.js +0 -19
  1635. package/dist/bundled/v3/components/or-notification-v3/index.js +0 -16
  1636. package/dist/bundled/v3/components/or-number-input/index.js +0 -16
  1637. package/dist/bundled/v3/components/or-overflow-menu/index.js +0 -22
  1638. package/dist/bundled/v3/components/or-overlay/index.js +0 -2
  1639. package/dist/bundled/v3/components/or-overlay-v3/index.js +0 -5
  1640. package/dist/bundled/v3/components/or-pagination-v3/index.js +0 -21
  1641. package/dist/bundled/v3/components/or-password/index.js +0 -31
  1642. package/dist/bundled/v3/components/or-popover-v3/index.js +0 -9
  1643. package/dist/bundled/v3/components/or-progress/index.js +0 -3
  1644. package/dist/bundled/v3/components/or-progress-v3/index.js +0 -5
  1645. package/dist/bundled/v3/components/or-radio/index.js +0 -3
  1646. package/dist/bundled/v3/components/or-radio-group/index.js +0 -2
  1647. package/dist/bundled/v3/components/or-radio-v3/index.js +0 -5
  1648. package/dist/bundled/v3/components/or-search/index.js +0 -30
  1649. package/dist/bundled/v3/components/or-search-v3/index.js +0 -31
  1650. package/dist/bundled/v3/components/or-segmented-control-v3/index.js +0 -2
  1651. package/dist/bundled/v3/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +0 -49
  1652. package/dist/bundled/v3/components/or-segmented-control-v3/partials/or-segmented-control-item/styles.d.ts +0 -3
  1653. package/dist/bundled/v3/components/or-select/OrSelect.vue.d.ts +0 -230
  1654. package/dist/bundled/v3/components/or-select/OrSelectContent.vue.d.ts +0 -114
  1655. package/dist/bundled/v3/components/or-select/OrSelectContentOptions.vue.d.ts +0 -87
  1656. package/dist/bundled/v3/components/or-select/OrSelectInput.vue.d.ts +0 -81
  1657. package/dist/bundled/v3/components/or-select/OrSelectInputValue.vue.d.ts +0 -58
  1658. package/dist/bundled/v3/components/or-select/OrSelectMain.vue.d.ts +0 -158
  1659. package/dist/bundled/v3/components/or-select/OrSelectOption.vue.d.ts +0 -37
  1660. package/dist/bundled/v3/components/or-select/index.js +0 -22
  1661. package/dist/bundled/v3/components/or-select-v3/index.js +0 -38
  1662. package/dist/bundled/v3/components/or-sidebar/index.js +0 -4
  1663. package/dist/bundled/v3/components/or-sidebar-v3/index.js +0 -18
  1664. package/dist/bundled/v3/components/or-sidebar-v3/partials/index.d.ts +0 -1
  1665. package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +0 -17
  1666. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +0 -53
  1667. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
  1668. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -17
  1669. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +0 -2
  1670. package/dist/bundled/v3/components/or-skeleton/OrSkeletonText.vue.d.ts +0 -73
  1671. package/dist/bundled/v3/components/or-skeleton/index.d.ts +0 -4
  1672. package/dist/bundled/v3/components/or-skeleton/index.js +0 -4
  1673. package/dist/bundled/v3/components/or-skeleton-v3/index.d.ts +0 -3
  1674. package/dist/bundled/v3/components/or-skeleton-v3/index.js +0 -4
  1675. package/dist/bundled/v3/components/or-slider/index.js +0 -14
  1676. package/dist/bundled/v3/components/or-sort-header-v3/index.js +0 -4
  1677. package/dist/bundled/v3/components/or-stepper/index.js +0 -18
  1678. package/dist/bundled/v3/components/or-switch/index.js +0 -6
  1679. package/dist/bundled/v3/components/or-switch-v3/index.js +0 -8
  1680. package/dist/bundled/v3/components/or-tab/index.js +0 -4
  1681. package/dist/bundled/v3/components/or-tab-header-item/index.js +0 -3
  1682. package/dist/bundled/v3/components/or-tab-v3/index.js +0 -2
  1683. package/dist/bundled/v3/components/or-tabs/index.js +0 -5
  1684. package/dist/bundled/v3/components/or-tabs-v3/index.js +0 -18
  1685. package/dist/bundled/v3/components/or-tag/index.js +0 -14
  1686. package/dist/bundled/v3/components/or-tag-v3/index.js +0 -16
  1687. package/dist/bundled/v3/components/or-teleport/index.js +0 -2
  1688. package/dist/bundled/v3/components/or-teleport-v3/index.js +0 -2
  1689. package/dist/bundled/v3/components/or-text-v3/index.js +0 -2
  1690. package/dist/bundled/v3/components/or-textarea/index.js +0 -14
  1691. package/dist/bundled/v3/components/or-textarea-v3/index.js +0 -12
  1692. package/dist/bundled/v3/components/or-textbox/index.js +0 -28
  1693. package/dist/bundled/v3/components/or-toast/OrToastContainer.vue.d.ts +0 -93
  1694. package/dist/bundled/v3/components/or-toast/composable/index.js +0 -3
  1695. package/dist/bundled/v3/components/or-toast/index.d.ts +0 -6
  1696. package/dist/bundled/v3/components/or-toast/index.js +0 -23
  1697. package/dist/bundled/v3/components/or-toast-v3/OrToastContainer.vue.d.ts +0 -85
  1698. package/dist/bundled/v3/components/or-toast-v3/composable/index.js +0 -3
  1699. package/dist/bundled/v3/components/or-toast-v3/index.d.ts +0 -6
  1700. package/dist/bundled/v3/components/or-toast-v3/index.js +0 -21
  1701. package/dist/bundled/v3/components/or-tooltip/index.d.ts +0 -2
  1702. package/dist/bundled/v3/components/or-tooltip/index.js +0 -10
  1703. package/dist/bundled/v3/components/or-tooltip-v3/index.js +0 -11
  1704. package/dist/bundled/v3/components/or-tree-v3/OrTree.vue.d.ts +0 -47
  1705. package/dist/bundled/v3/components/or-tree-v3/TreeNode.vue.d.ts +0 -69
  1706. package/dist/bundled/v3/components/or-tree-v3/index.d.ts +0 -2
  1707. package/dist/bundled/v3/components/or-tree-v3/index.js +0 -176
  1708. package/dist/bundled/v3/components/or-tree-v3/styles.d.ts +0 -1
  1709. package/dist/bundled/v3/components/or-tree-v3/types.d.ts +0 -10
  1710. package/dist/bundled/v3/components/or-tree-v3/utils.d.ts +0 -5
  1711. package/dist/bundled/v3/constants-c5d1139f.js +0 -43
  1712. package/dist/bundled/v3/dom-4f424b9d.js +0 -58
  1713. package/dist/bundled/v3/dropdown-open-293d2de2.js +0 -28
  1714. package/dist/bundled/v3/index-01519e46.js +0 -15
  1715. package/dist/bundled/v3/props-78496a2d.js +0 -12
  1716. package/dist/bundled/v3/px-to-rem-0b26b83e.js +0 -3
  1717. package/dist/bundled/v3/types-f428a884.js +0 -343
  1718. package/dist/bundled/v3/useElevation-e8a2ce89.js +0 -25
  1719. package/dist/bundled/v3/useIdAttribute-b2e42f31.js +0 -21
  1720. package/dist/bundled/v3/useOverflow-6dce216b.js +0 -64
  1721. package/dist/bundled/v3/useResponsive-9d397e2a.js +0 -13
  1722. package/dist/bundled/v3/useToast-4d4329cd.js +0 -196
  1723. package/dist/bundled/v3/useToast-d5b3c109.js +0 -188
  1724. package/dist/bundled/v3/useToggle-09b6cb90.js +0 -22
  1725. package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +0 -16
  1726. package/dist/esm/v2/OrAvatar-b75af823.js +0 -113
  1727. package/dist/esm/v2/OrButton-12d5d556.js +0 -75
  1728. package/dist/esm/v2/OrCardCollection-1583425b.js +0 -221
  1729. package/dist/esm/v2/OrCarouselItem-d20717ec.js +0 -281
  1730. package/dist/esm/v2/OrCheckbox-63d444f1.js +0 -181
  1731. package/dist/esm/v2/OrChips-7f85a4ba.js +0 -82
  1732. package/dist/esm/v2/OrChips.vue_rollup-plugin-vue_styles.0-8d277377.js +0 -325
  1733. package/dist/esm/v2/OrCode-fd7c026c.js +0 -556
  1734. package/dist/esm/v2/OrConfirm-64e815c7.js +0 -258
  1735. package/dist/esm/v2/OrDateTimePicker-85e5e03e.js +0 -765
  1736. package/dist/esm/v2/OrFab-83550865.js +0 -103
  1737. package/dist/esm/v2/OrIcon-dd72b52f.js +0 -175
  1738. package/dist/esm/v2/OrIconButton-0984afde.js +0 -64
  1739. package/dist/esm/v2/OrIconButton.vue_rollup-plugin-vue_styles.0-acd57933.js +0 -294
  1740. package/dist/esm/v2/OrInlineTextEdit-f950e6d2.js +0 -398
  1741. package/dist/esm/v2/OrList-160e60f2.js +0 -296
  1742. package/dist/esm/v2/OrListOfInputs-9a08a3ee.js +0 -220
  1743. package/dist/esm/v2/OrModal-195ae7b6.js +0 -198
  1744. package/dist/esm/v2/OrNotification-48cd0779.js +0 -141
  1745. package/dist/esm/v2/OrOverflowMenu-1a82785c.js +0 -244
  1746. package/dist/esm/v2/OrPassword-239dfa7a.js +0 -222
  1747. package/dist/esm/v2/OrSearch-2fbdbec9.js +0 -243
  1748. package/dist/esm/v2/OrSelect-03e79c4b.js +0 -1091
  1749. package/dist/esm/v2/OrSkeletonText-6a6f285d.js +0 -249
  1750. package/dist/esm/v2/OrSkeletonText-ee42a9e9.js +0 -296
  1751. package/dist/esm/v2/OrSlider-ded83b5c.js +0 -368
  1752. package/dist/esm/v2/OrStepper-5286720c.js +0 -644
  1753. package/dist/esm/v2/OrTag-2845a49f.js +0 -114
  1754. package/dist/esm/v2/OrTextbox-cd85a59f.js +0 -528
  1755. package/dist/esm/v2/OrToastContainer-41b56042.js +0 -334
  1756. package/dist/esm/v2/OrTooltip-cefc51f9.js +0 -68
  1757. package/dist/esm/v2/OrTooltip.vue_rollup-plugin-vue_styles.0-154aac4c.js +0 -155
  1758. package/dist/esm/v2/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1759. package/dist/esm/v2/components/or-button-v2/OrTooltipWrapper.vue.d.ts +0 -32
  1760. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +0 -35
  1761. package/dist/esm/v2/components/or-chips/OrChipsInput.vue.d.ts +0 -82
  1762. package/dist/esm/v2/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +0 -92
  1763. package/dist/esm/v2/components/or-overflow-menu/OrOverflowMenuItem.vue.d.ts +0 -75
  1764. package/dist/esm/v2/components/or-select/OrSelectContent.vue.d.ts +0 -114
  1765. package/dist/esm/v2/components/or-select/OrSelectContentEmpty.vue.d.ts +0 -63
  1766. package/dist/esm/v2/components/or-select/OrSelectContentOptions.vue.d.ts +0 -87
  1767. package/dist/esm/v2/components/or-select/OrSelectInput.vue.d.ts +0 -81
  1768. package/dist/esm/v2/components/or-select/OrSelectInputValue.vue.d.ts +0 -58
  1769. package/dist/esm/v2/components/or-select/OrSelectMain.vue.d.ts +0 -158
  1770. package/dist/esm/v2/components/or-select/OrSelectOption.vue.d.ts +0 -37
  1771. package/dist/esm/v2/components/or-select/OrSelectSearchOptions.vue.d.ts +0 -38
  1772. package/dist/esm/v2/components/or-skeleton/OrSkeletonText.vue.d.ts +0 -73
  1773. package/dist/esm/v2/components/or-stepper/OrStepperButtonOptions.vue.d.ts +0 -73
  1774. package/dist/esm/v2/components/or-stepper/OrStepperOptionHorizontal.vue.d.ts +0 -106
  1775. package/dist/esm/v2/components/or-stepper/OrStepperOptionVertical.vue.d.ts +0 -106
  1776. package/dist/esm/v2/components/or-stepper/OrStepperTitle.vue.d.ts +0 -66
  1777. package/dist/esm/v2/components/or-stepper/StatusIcon.vue.d.ts +0 -22
  1778. package/dist/esm/v2/components/or-toast/OrToastContainer.vue.d.ts +0 -93
  1779. package/dist/esm/v2/components/or-toast-v3/OrToastContainer.vue.d.ts +0 -85
  1780. package/dist/esm/v2/components/or-tree-v3/OrTree.vue.d.ts +0 -47
  1781. package/dist/esm/v2/components/or-tree-v3/TreeNode.vue.d.ts +0 -69
  1782. package/dist/esm/v2/components/or-tree-v3/index.d.ts +0 -2
  1783. package/dist/esm/v2/components/or-tree-v3/index.js +0 -232
  1784. package/dist/esm/v2/components/or-tree-v3/styles.d.ts +0 -1
  1785. package/dist/esm/v2/components/or-tree-v3/types.d.ts +0 -10
  1786. package/dist/esm/v2/components/or-tree-v3/utils.d.ts +0 -5
  1787. package/dist/esm/v2/types-1e607d9c.js +0 -432
  1788. package/dist/esm/v3/OrAvatar-986baa65.js +0 -89
  1789. package/dist/esm/v3/OrCardCollection-70131a12.js +0 -189
  1790. package/dist/esm/v3/OrCardCollection-8bdbf9b7.js +0 -293
  1791. package/dist/esm/v3/OrCarouselItem-a3a855e8.js +0 -238
  1792. package/dist/esm/v3/OrCheckbox-8d8887ea.js +0 -149
  1793. package/dist/esm/v3/OrChips-d6227d21.js +0 -301
  1794. package/dist/esm/v3/OrCode-b5822f4e.js +0 -522
  1795. package/dist/esm/v3/OrConfirm-f408faf5.js +0 -214
  1796. package/dist/esm/v3/OrDateTimePicker-30749526.js +0 -680
  1797. package/dist/esm/v3/OrFab-fb3ecb60.js +0 -77
  1798. package/dist/esm/v3/OrIcon-ed3e10b4.js +0 -152
  1799. package/dist/esm/v3/OrIconButton-e6e83eae.js +0 -345
  1800. package/dist/esm/v3/OrInlineTextEdit-328c89ca.js +0 -338
  1801. package/dist/esm/v3/OrList-3c73e593.js +0 -257
  1802. package/dist/esm/v3/OrListOfInputs-5a834c95.js +0 -163
  1803. package/dist/esm/v3/OrModal-f3b2e0f4.js +0 -163
  1804. package/dist/esm/v3/OrNotification-6d2e0cf5.js +0 -114
  1805. package/dist/esm/v3/OrOverflowMenu-08626d66.js +0 -185
  1806. package/dist/esm/v3/OrPassword-4a37f3ac.js +0 -162
  1807. package/dist/esm/v3/OrSearch-1f80760e.js +0 -188
  1808. package/dist/esm/v3/OrSelect-88e5dfaf.js +0 -803
  1809. package/dist/esm/v3/OrSkeletonText-0546754d.js +0 -180
  1810. package/dist/esm/v3/OrSkeletonText-718a89f0.js +0 -224
  1811. package/dist/esm/v3/OrSlider-858576e2.js +0 -310
  1812. package/dist/esm/v3/OrStepper-cf0598d6.js +0 -426
  1813. package/dist/esm/v3/OrTag-2192a3cf.js +0 -86
  1814. package/dist/esm/v3/OrTextbox-b025d6e4.js +0 -493
  1815. package/dist/esm/v3/OrToastContainer-70cd8d1d.js +0 -280
  1816. package/dist/esm/v3/OrTooltip-8d7385bc.js +0 -165
  1817. package/dist/esm/v3/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1818. package/dist/esm/v3/components/or-button-v2/OrTooltipWrapper.vue.d.ts +0 -32
  1819. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +0 -35
  1820. package/dist/esm/v3/components/or-chips/OrChipsInput.vue.d.ts +0 -82
  1821. package/dist/esm/v3/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +0 -92
  1822. package/dist/esm/v3/components/or-overflow-menu/OrOverflowMenuItem.vue.d.ts +0 -75
  1823. package/dist/esm/v3/components/or-select/OrSelectContent.vue.d.ts +0 -114
  1824. package/dist/esm/v3/components/or-select/OrSelectContentEmpty.vue.d.ts +0 -63
  1825. package/dist/esm/v3/components/or-select/OrSelectContentOptions.vue.d.ts +0 -87
  1826. package/dist/esm/v3/components/or-select/OrSelectInput.vue.d.ts +0 -81
  1827. package/dist/esm/v3/components/or-select/OrSelectInputValue.vue.d.ts +0 -58
  1828. package/dist/esm/v3/components/or-select/OrSelectMain.vue.d.ts +0 -158
  1829. package/dist/esm/v3/components/or-select/OrSelectOption.vue.d.ts +0 -37
  1830. package/dist/esm/v3/components/or-select/OrSelectSearchOptions.vue.d.ts +0 -38
  1831. package/dist/esm/v3/components/or-skeleton/OrSkeletonText.vue.d.ts +0 -73
  1832. package/dist/esm/v3/components/or-stepper/OrStepperButtonOptions.vue.d.ts +0 -73
  1833. package/dist/esm/v3/components/or-stepper/OrStepperOptionHorizontal.vue.d.ts +0 -106
  1834. package/dist/esm/v3/components/or-stepper/OrStepperOptionVertical.vue.d.ts +0 -106
  1835. package/dist/esm/v3/components/or-stepper/OrStepperTitle.vue.d.ts +0 -66
  1836. package/dist/esm/v3/components/or-stepper/StatusIcon.vue.d.ts +0 -22
  1837. package/dist/esm/v3/components/or-toast/OrToastContainer.vue.d.ts +0 -93
  1838. package/dist/esm/v3/components/or-toast-v3/OrToastContainer.vue.d.ts +0 -85
  1839. package/dist/esm/v3/components/or-tree-v3/OrTree.vue.d.ts +0 -47
  1840. package/dist/esm/v3/components/or-tree-v3/TreeNode.vue.d.ts +0 -69
  1841. package/dist/esm/v3/components/or-tree-v3/index.d.ts +0 -2
  1842. package/dist/esm/v3/components/or-tree-v3/index.js +0 -174
  1843. package/dist/esm/v3/components/or-tree-v3/styles.d.ts +0 -1
  1844. package/dist/esm/v3/components/or-tree-v3/types.d.ts +0 -10
  1845. package/dist/esm/v3/components/or-tree-v3/utils.d.ts +0 -5
  1846. package/dist/esm/v3/types-9ab3399d.js +0 -378
  1847. package/src/components/or-button-v2/OrIconButton.stories.ts +0 -134
  1848. package/src/components/or-button-v2/OrIconButton.vue +0 -257
  1849. package/src/components/or-button-v2/OrTooltipWrapper.vue +0 -49
  1850. package/src/components/or-card-collection-v3/OrCardCollectionView.vue2.vue +0 -41
  1851. package/src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue +0 -42
  1852. package/src/components/or-chips/OrChip.vue +0 -109
  1853. package/src/components/or-chips/OrChipsInput.vue +0 -140
  1854. package/src/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue +0 -112
  1855. package/src/components/or-overflow-menu/OrOverflowMenuItem.vue +0 -77
  1856. package/src/components/or-select/OrSelectContent.stories.ts +0 -192
  1857. package/src/components/or-select/OrSelectContent.vue +0 -165
  1858. package/src/components/or-select/OrSelectContentEmpty.vue +0 -62
  1859. package/src/components/or-select/OrSelectContentOptions.vue +0 -64
  1860. package/src/components/or-select/OrSelectInput.stories.ts +0 -116
  1861. package/src/components/or-select/OrSelectInput.vue +0 -167
  1862. package/src/components/or-select/OrSelectInputValue.vue +0 -111
  1863. package/src/components/or-select/OrSelectMain.vue +0 -203
  1864. package/src/components/or-select/OrSelectOption.vue +0 -80
  1865. package/src/components/or-select/OrSelectSearchOptions.vue +0 -101
  1866. package/src/components/or-skeleton/OrSkeletonCircle.stories.ts +0 -35
  1867. package/src/components/or-skeleton/OrSkeletonCircle.vue +0 -56
  1868. package/src/components/or-skeleton/OrSkeletonRect.stories.ts +0 -53
  1869. package/src/components/or-skeleton/OrSkeletonRect.vue +0 -59
  1870. package/src/components/or-skeleton/OrSkeletonText.stories.ts +0 -52
  1871. package/src/components/or-skeleton/OrSkeletonText.vue +0 -105
  1872. package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +0 -68
  1873. package/src/components/or-skeleton-v3/OrSkeletonRect.vue +0 -72
  1874. package/src/components/or-skeleton-v3/OrSkeletonText.vue +0 -110
  1875. package/src/components/or-stepper/OrStepperButtonOptions.vue +0 -72
  1876. package/src/components/or-stepper/StatusIcon.vue +0 -80
  1877. package/src/components/or-toast/OrToastContainer.stories.ts +0 -66
  1878. package/src/components/or-toast/OrToastContainer.vue +0 -247
  1879. package/src/components/or-toast-v3/OrToastContainer.stories3.ts +0 -75
  1880. package/src/components/or-toast-v3/OrToastContainer.vue +0 -211
  1881. package/src/components/or-tree-v3/OrTree.stories3.ts +0 -104
  1882. package/src/components/or-tree-v3/OrTree.vue +0 -80
  1883. package/src/components/or-tree-v3/TreeNode.vue +0 -67
  1884. package/src/components/or-tree-v3/index.ts +0 -2
  1885. package/src/components/or-tree-v3/styles.ts +0 -13
  1886. package/src/components/or-tree-v3/types.ts +0 -12
  1887. package/src/components/or-tree-v3/utils.ts +0 -31
  1888. /package/dist/bundled/v2/components/{or-avatar → OrAvatar}/OrAvatar.vue.d.ts +0 -0
  1889. /package/dist/bundled/v2/components/{or-avatar → OrAvatar}/constants.d.ts +0 -0
  1890. /package/dist/bundled/v2/components/{or-avatar → OrAvatar}/index.d.ts +0 -0
  1891. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/OrAvatar.vue.d.ts +0 -0
  1892. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/index.d.ts +0 -0
  1893. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/props.d.ts +0 -0
  1894. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/styles.d.ts +0 -0
  1895. /package/dist/bundled/v2/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/OrBottomSheet.vue.d.ts +0 -0
  1896. /package/dist/bundled/v2/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/index.d.ts +0 -0
  1897. /package/dist/bundled/v2/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/styles.d.ts +0 -0
  1898. /package/dist/bundled/v2/components/{or-button → OrButton}/OrButton.vue.d.ts +0 -0
  1899. /package/dist/bundled/v2/components/{or-button → OrButton}/constants.d.ts +0 -0
  1900. /package/dist/bundled/v2/components/{or-button → OrButton}/index.d.ts +0 -0
  1901. /package/dist/bundled/v2/components/{or-button-v2 → OrButtonV2}/OrButton.vue.d.ts +0 -0
  1902. /package/dist/bundled/v2/components/{or-button-v2 → OrButtonV2}/constants.d.ts +0 -0
  1903. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/OrButton.vue.d.ts +0 -0
  1904. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/index.d.ts +0 -0
  1905. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/props.d.ts +0 -0
  1906. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/styles.d.ts +0 -0
  1907. /package/dist/bundled/v2/components/{or-card → OrCard}/OrCard.vue.d.ts +0 -0
  1908. /package/dist/bundled/v2/components/{or-card → OrCard}/index.d.ts +0 -0
  1909. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/OrCardCollection.vue.d.ts +0 -0
  1910. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/constants.d.ts +0 -0
  1911. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/index.d.ts +0 -0
  1912. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/types.d.ts +0 -0
  1913. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/OrCardCollection.vue.d.ts +0 -0
  1914. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/index.d.ts +0 -0
  1915. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/props.d.ts +0 -0
  1916. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/styles.d.ts +0 -0
  1917. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/types.d.ts +0 -0
  1918. /package/dist/bundled/v2/components/{or-card-v3 → OrCardV3}/OrCard.vue.d.ts +0 -0
  1919. /package/dist/bundled/v2/components/{or-card-v3 → OrCardV3}/index.d.ts +0 -0
  1920. /package/dist/bundled/v2/components/{or-card-v3 → OrCardV3}/styles.d.ts +0 -0
  1921. /package/dist/bundled/v2/components/{or-carousel → OrCarousel}/OrCarousel.vue.d.ts +0 -0
  1922. /package/dist/bundled/v2/components/{or-carousel → OrCarousel}/constants.d.ts +0 -0
  1923. /package/dist/bundled/v2/components/{or-carousel → OrCarouselItem}/OrCarouselItem.vue.d.ts +0 -0
  1924. /package/dist/bundled/v2/components/{or-checkbox → OrCheckbox}/OrCheckbox.vue.d.ts +0 -0
  1925. /package/dist/bundled/v2/components/{or-checkbox → OrCheckbox}/index.d.ts +0 -0
  1926. /package/dist/bundled/v2/components/{or-checkbox-v3 → OrCheckboxV3}/OrCheckbox.vue.d.ts +0 -0
  1927. /package/dist/bundled/v2/components/{or-checkbox-v3 → OrCheckboxV3}/index.d.ts +0 -0
  1928. /package/dist/bundled/v2/components/{or-checkbox-v3 → OrCheckboxV3}/styles.d.ts +0 -0
  1929. /package/dist/bundled/v2/components/{or-chips → OrChip}/OrChip.vue.d.ts +0 -0
  1930. /package/dist/bundled/v2/components/{or-chips → OrChips}/OrChips.vue.d.ts +0 -0
  1931. /package/dist/bundled/v2/components/{or-chips → OrChips}/constants.d.ts +0 -0
  1932. /package/dist/bundled/v2/components/{or-code → OrCode}/OrCode.vue.d.ts +0 -0
  1933. /package/dist/bundled/v2/components/{or-code → OrCode}/constants.d.ts +0 -0
  1934. /package/dist/bundled/v2/components/{or-code → OrCode}/index.d.ts +0 -0
  1935. /package/dist/bundled/v2/components/{or-code → OrCode}/lang.d.ts +0 -0
  1936. /package/dist/bundled/v2/components/{or-code → OrCode}/theme.d.ts +0 -0
  1937. /package/dist/bundled/v2/components/{or-collapse → OrCollapse}/OrCollapse.vue.d.ts +0 -0
  1938. /package/dist/bundled/v2/components/{or-collapse → OrCollapse}/index.d.ts +0 -0
  1939. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/OrColorPicker.vue.d.ts +0 -0
  1940. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/constants.d.ts +0 -0
  1941. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/index.d.ts +0 -0
  1942. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/types.d.ts +0 -0
  1943. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/utils/defultPalette.d.ts +0 -0
  1944. /package/dist/bundled/v2/components/{or-combined-input-v3 → OrCombinedInputV3}/OrCombinedInput.vue.d.ts +0 -0
  1945. /package/dist/bundled/v2/components/{or-combined-input-v3 → OrCombinedInputV3}/index.d.ts +0 -0
  1946. /package/dist/bundled/v2/components/{or-combined-input-v3 → OrCombinedInputV3}/props.d.ts +0 -0
  1947. /package/dist/bundled/v2/components/{or-combined-input-v3 → OrCombinedInputV3}/styles.d.ts +0 -0
  1948. /package/dist/bundled/v2/components/{or-confirm → OrConfirm}/OrConfirm.vue.d.ts +0 -0
  1949. /package/dist/bundled/v2/components/{or-confirm → OrConfirm}/index.d.ts +0 -0
  1950. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/OrConfirm.vue.d.ts +0 -0
  1951. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/index.d.ts +0 -0
  1952. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/props.d.ts +0 -0
  1953. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/styles.d.ts +0 -0
  1954. /package/dist/bundled/v2/components/{or-date-time-picker → OrDateTimePicker}/OrDateTimePicker.vue.d.ts +0 -0
  1955. /package/dist/bundled/v2/components/{or-date-time-picker → OrDateTimePicker}/constants.d.ts +0 -0
  1956. /package/dist/bundled/v2/components/{or-date-time-picker → OrDateTimePicker}/index.d.ts +0 -0
  1957. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/OrEmptyState.vue.d.ts +0 -0
  1958. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/index.d.ts +0 -0
  1959. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/props.d.ts +0 -0
  1960. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/styles.d.ts +0 -0
  1961. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/types.d.ts +0 -0
  1962. /package/dist/bundled/v2/components/{or-error → OrError}/OrError.vue.d.ts +0 -0
  1963. /package/dist/bundled/v2/components/{or-error → OrError}/index.d.ts +0 -0
  1964. /package/dist/bundled/v2/components/{or-error-tag-v3 → OrErrorTagV3}/OrErrorTag.vue.d.ts +0 -0
  1965. /package/dist/bundled/v2/components/{or-error-tag-v3 → OrErrorTagV3}/index.d.ts +0 -0
  1966. /package/dist/bundled/v2/components/{or-error-tag-v3 → OrErrorTagV3}/styles.d.ts +0 -0
  1967. /package/dist/bundled/v2/components/{or-error-v3 → OrErrorV3}/OrError.vue.d.ts +0 -0
  1968. /package/dist/bundled/v2/components/{or-error-v3 → OrErrorV3}/index.d.ts +0 -0
  1969. /package/dist/bundled/v2/components/{or-error-v3 → OrErrorV3}/styles.d.ts +0 -0
  1970. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/OrExpansionPanel.vue.d.ts +0 -0
  1971. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/index.d.ts +0 -0
  1972. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/props.d.ts +0 -0
  1973. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/styles.d.ts +0 -0
  1974. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/OrFab.vue.d.ts +0 -0
  1975. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/index.d.ts +0 -0
  1976. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/props.d.ts +0 -0
  1977. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/styles.d.ts +0 -0
  1978. /package/dist/bundled/v2/components/{or-floating → OrFloating}/OrFloating.vue.d.ts +0 -0
  1979. /package/dist/bundled/v2/components/{or-floating → OrFloating}/constants.d.ts +0 -0
  1980. /package/dist/bundled/v2/components/{or-floating → OrFloating}/index.d.ts +0 -0
  1981. /package/dist/bundled/v2/components/{or-hint → OrHint}/OrHint.vue.d.ts +0 -0
  1982. /package/dist/bundled/v2/components/{or-hint → OrHint}/index.d.ts +0 -0
  1983. /package/dist/bundled/v2/components/{or-hint-v3 → OrHintV3}/OrHint.vue.d.ts +0 -0
  1984. /package/dist/bundled/v2/components/{or-hint-v3 → OrHintV3}/index.d.ts +0 -0
  1985. /package/dist/bundled/v2/components/{or-hint-v3 → OrHintV3}/styles.d.ts +0 -0
  1986. /package/dist/bundled/v2/components/{or-icon → OrIcon}/OrIcon.vue.d.ts +0 -0
  1987. /package/dist/bundled/v2/components/{or-icon → OrIcon}/constants.d.ts +0 -0
  1988. /package/dist/bundled/v2/components/{or-icon → OrIcon}/index.d.ts +0 -0
  1989. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/OrIconButton.vue.d.ts +0 -0
  1990. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/index.d.ts +0 -0
  1991. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/props.d.ts +0 -0
  1992. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/styles.d.ts +0 -0
  1993. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/OrIcon.vue.d.ts +0 -0
  1994. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/index.d.ts +0 -0
  1995. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/props.d.ts +0 -0
  1996. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/styles.d.ts +0 -0
  1997. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/OrInlineInputBox.vue.d.ts +0 -0
  1998. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/index.d.ts +0 -0
  1999. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/props.d.ts +0 -0
  2000. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/styles.d.ts +0 -0
  2001. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/OrInlineInput.vue.d.ts +0 -0
  2002. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/index.d.ts +0 -0
  2003. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/props.d.ts +0 -0
  2004. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/styles.d.ts +0 -0
  2005. /package/dist/bundled/v2/components/{or-inline-text-edit → OrInlineTextEdit}/OrInlineTextEdit.vue.d.ts +0 -0
  2006. /package/dist/bundled/v2/components/{or-inline-text-edit → OrInlineTextEdit}/constants.d.ts +0 -0
  2007. /package/dist/bundled/v2/components/{or-inline-text-edit → OrInlineTextEdit}/index.d.ts +0 -0
  2008. /package/dist/bundled/v2/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/OrInlineTextarea.vue.d.ts +0 -0
  2009. /package/dist/bundled/v2/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/index.d.ts +0 -0
  2010. /package/dist/bundled/v2/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/styles.d.ts +0 -0
  2011. /package/dist/bundled/v2/components/{or-input → OrInput}/OrInput.vue.d.ts +0 -0
  2012. /package/dist/bundled/v2/components/{or-input → OrInput}/index.d.ts +0 -0
  2013. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/OrInputBox.vue.d.ts +0 -0
  2014. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/index.d.ts +0 -0
  2015. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/props.d.ts +0 -0
  2016. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/styles.d.ts +0 -0
  2017. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/OrInput.vue.d.ts +0 -0
  2018. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/index.d.ts +0 -0
  2019. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/props.d.ts +0 -0
  2020. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/styles.d.ts +0 -0
  2021. /package/dist/bundled/v2/components/{or-label → OrLabel}/OrLabel.vue.d.ts +0 -0
  2022. /package/dist/bundled/v2/components/{or-label → OrLabel}/index.d.ts +0 -0
  2023. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/OrLabel.vue.d.ts +0 -0
  2024. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/index.d.ts +0 -0
  2025. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/props.d.ts +0 -0
  2026. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/styles.d.ts +0 -0
  2027. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/OrLink.vue.d.ts +0 -0
  2028. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/index.d.ts +0 -0
  2029. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/props.d.ts +0 -0
  2030. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/styles.d.ts +0 -0
  2031. /package/dist/bundled/v2/components/{or-list → OrList}/OrList.vue.d.ts +0 -0
  2032. /package/dist/bundled/v2/components/{or-list → OrList}/index.d.ts +0 -0
  2033. /package/dist/bundled/v2/components/{or-list-of-inputs → OrListOfInputs}/OrListOfInputs.vue.d.ts +0 -0
  2034. /package/dist/bundled/v2/components/{or-list-of-inputs → OrListOfInputs}/index.d.ts +0 -0
  2035. /package/dist/bundled/v2/components/{or-loader → OrLoader}/OrLoader.vue.d.ts +0 -0
  2036. /package/dist/bundled/v2/components/{or-loader → OrLoader}/constants.d.ts +0 -0
  2037. /package/dist/bundled/v2/components/{or-loader → OrLoader}/index.d.ts +0 -0
  2038. /package/dist/bundled/v2/components/{or-loader → OrLoader}/types.d.ts +0 -0
  2039. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/OrLoader.vue.d.ts +0 -0
  2040. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/index.d.ts +0 -0
  2041. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/props.d.ts +0 -0
  2042. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/styles.d.ts +0 -0
  2043. /package/dist/bundled/v2/components/{or-menu-item-v3 → OrMenuItemV3}/OrMenuItem.vue.d.ts +0 -0
  2044. /package/dist/bundled/v2/components/{or-menu-item-v3 → OrMenuItemV3}/index.d.ts +0 -0
  2045. /package/dist/bundled/v2/components/{or-menu-item-v3 → OrMenuItemV3}/styles.d.ts +0 -0
  2046. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/OrMenu.vue.d.ts +0 -0
  2047. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/index.d.ts +0 -0
  2048. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/props.d.ts +0 -0
  2049. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/styles.d.ts +0 -0
  2050. /package/dist/bundled/v2/components/{or-modal → OrModal}/OrModal.vue.d.ts +0 -0
  2051. /package/dist/bundled/v2/components/{or-modal → OrModal}/constants.d.ts +0 -0
  2052. /package/dist/bundled/v2/components/{or-modal → OrModal}/index.d.ts +0 -0
  2053. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/OrModal.vue.d.ts +0 -0
  2054. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/index.d.ts +0 -0
  2055. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/props.d.ts +0 -0
  2056. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/styles.d.ts +0 -0
  2057. /package/dist/bundled/v2/components/{or-notification → OrNotification}/OrNotification.vue.d.ts +0 -0
  2058. /package/dist/bundled/v2/components/{or-notification → OrNotification}/constants.d.ts +0 -0
  2059. /package/dist/bundled/v2/components/{or-notification → OrNotification}/index.d.ts +0 -0
  2060. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/OrNotification.vue.d.ts +0 -0
  2061. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/index.d.ts +0 -0
  2062. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/props.d.ts +0 -0
  2063. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/styles.d.ts +0 -0
  2064. /package/dist/bundled/v2/components/{or-number-input → OrNumberInput}/OrNumberInput.vue.d.ts +0 -0
  2065. /package/dist/bundled/v2/components/{or-number-input → OrNumberInput}/index.d.ts +0 -0
  2066. /package/dist/bundled/v2/components/{or-overflow-menu → OrOverflowMenu}/OrOverflowMenu.vue.d.ts +0 -0
  2067. /package/dist/bundled/v2/components/{or-overflow-menu → OrOverflowMenu}/index.d.ts +0 -0
  2068. /package/dist/bundled/v2/components/{or-overflow-menu → OrOverflowMenu}/types.d.ts +0 -0
  2069. /package/dist/bundled/v2/components/{or-overlay → OrOverlay}/OrOverlay.vue.d.ts +0 -0
  2070. /package/dist/bundled/v2/components/{or-overlay → OrOverlay}/index.d.ts +0 -0
  2071. /package/dist/bundled/v2/components/{or-overlay-v3 → OrOverlayV3}/OrOverlay.vue.d.ts +0 -0
  2072. /package/dist/bundled/v2/components/{or-overlay-v3 → OrOverlayV3}/index.d.ts +0 -0
  2073. /package/dist/bundled/v2/components/{or-overlay-v3 → OrOverlayV3}/styles.d.ts +0 -0
  2074. /package/dist/bundled/v2/components/{or-pagination-v3 → OrPaginationV3}/OrPagination.vue.d.ts +0 -0
  2075. /package/dist/bundled/v2/components/{or-pagination-v3 → OrPaginationV3}/index.d.ts +0 -0
  2076. /package/dist/bundled/v2/components/{or-pagination-v3 → OrPaginationV3}/styles.d.ts +0 -0
  2077. /package/dist/bundled/v2/components/{or-pagination-v3 → OrPaginationV3}/types.d.ts +0 -0
  2078. /package/dist/bundled/v2/components/{or-password → OrPassword}/OrPassword.vue.d.ts +0 -0
  2079. /package/dist/bundled/v2/components/{or-password → OrPassword}/index.d.ts +0 -0
  2080. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/OrPopover.vue.d.ts +0 -0
  2081. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/index.d.ts +0 -0
  2082. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/props.d.ts +0 -0
  2083. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/styles.d.ts +0 -0
  2084. /package/dist/bundled/v2/components/{or-progress → OrProgress}/OrProgress.vue.d.ts +0 -0
  2085. /package/dist/bundled/v2/components/{or-progress → OrProgress}/constants.d.ts +0 -0
  2086. /package/dist/bundled/v2/components/{or-progress → OrProgress}/index.d.ts +0 -0
  2087. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/OrProgress.vue.d.ts +0 -0
  2088. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/index.d.ts +0 -0
  2089. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/props.d.ts +0 -0
  2090. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/styles.d.ts +0 -0
  2091. /package/dist/bundled/v2/components/{or-radio → OrRadio}/OrRadio.vue.d.ts +0 -0
  2092. /package/dist/bundled/v2/components/{or-radio → OrRadio}/index.d.ts +0 -0
  2093. /package/dist/bundled/v2/components/{or-radio-group → OrRadioGroup}/OrRadioGroup.vue.d.ts +0 -0
  2094. /package/dist/bundled/v2/components/{or-radio-group → OrRadioGroup}/index.d.ts +0 -0
  2095. /package/dist/bundled/v2/components/{or-radio-v3 → OrRadioV3}/OrRadio.vue.d.ts +0 -0
  2096. /package/dist/bundled/v2/components/{or-radio-v3 → OrRadioV3}/index.d.ts +0 -0
  2097. /package/dist/bundled/v2/components/{or-radio-v3 → OrRadioV3}/styles.d.ts +0 -0
  2098. /package/dist/bundled/v2/components/{or-search → OrSearch}/OrSearch.vue.d.ts +0 -0
  2099. /package/dist/bundled/v2/components/{or-search → OrSearch}/index.d.ts +0 -0
  2100. /package/dist/bundled/v2/components/{or-search-v3 → OrSearchV3}/OrSearch.vue.d.ts +0 -0
  2101. /package/dist/bundled/v2/components/{or-search-v3 → OrSearchV3}/index.d.ts +0 -0
  2102. /package/dist/bundled/v2/components/{or-search-v3 → OrSearchV3}/props.d.ts +0 -0
  2103. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/OrSegmentedControl.vue.d.ts +0 -0
  2104. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/index.d.ts +0 -0
  2105. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/props.d.ts +0 -0
  2106. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/styles.d.ts +0 -0
  2107. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/types.d.ts +0 -0
  2108. /package/dist/bundled/v2/components/{or-select → OrSelect}/constants.d.ts +0 -0
  2109. /package/dist/bundled/v2/components/{or-select → OrSelect}/index.d.ts +0 -0
  2110. /package/dist/bundled/v2/components/{or-select → OrSelect}/stories.helpers.d.ts +0 -0
  2111. /package/dist/bundled/v2/components/{or-select → OrSelect}/types.d.ts +0 -0
  2112. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/OrSelect.vue.d.ts +0 -0
  2113. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/index.d.ts +0 -0
  2114. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/props.d.ts +0 -0
  2115. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/styles.d.ts +0 -0
  2116. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/types.d.ts +0 -0
  2117. /package/dist/bundled/v2/components/{or-sidebar → OrSidebar}/OrSidebar.vue.d.ts +0 -0
  2118. /package/dist/bundled/v2/components/{or-sidebar → OrSidebar}/constants.d.ts +0 -0
  2119. /package/dist/bundled/v2/components/{or-sidebar → OrSidebar}/index.d.ts +0 -0
  2120. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/OrSidebar.vue.d.ts +0 -0
  2121. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/index.d.ts +0 -0
  2122. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/props.d.ts +0 -0
  2123. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/styles.d.ts +0 -0
  2124. /package/dist/bundled/v2/components/{or-skeleton → OrSkeleton}/constants.d.ts +0 -0
  2125. /package/dist/bundled/v2/components/{or-skeleton → OrSkeletonCircle}/OrSkeletonCircle.vue.d.ts +0 -0
  2126. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonCircleV3}/OrSkeletonCircle.vue.d.ts +0 -0
  2127. /package/dist/bundled/v2/components/{or-skeleton → OrSkeletonRect}/OrSkeletonRect.vue.d.ts +0 -0
  2128. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonRectV3}/OrSkeletonRect.vue.d.ts +0 -0
  2129. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonTextV3}/OrSkeletonText.vue.d.ts +0 -0
  2130. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonV3}/styles.d.ts +0 -0
  2131. /package/dist/bundled/v2/components/{or-slider → OrSlider}/OrSlider.vue.d.ts +0 -0
  2132. /package/dist/bundled/v2/components/{or-slider → OrSlider}/index.d.ts +0 -0
  2133. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/OrSortHeader.vue.d.ts +0 -0
  2134. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/index.d.ts +0 -0
  2135. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/styles.d.ts +0 -0
  2136. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/types.d.ts +0 -0
  2137. /package/dist/bundled/v2/components/{or-stepper → OrStepper}/OrStepper.vue.d.ts +0 -0
  2138. /package/dist/bundled/v2/components/{or-stepper → OrStepper}/index.d.ts +0 -0
  2139. /package/dist/bundled/v2/components/{or-switch → OrSwitch}/OrSwitch.vue.d.ts +0 -0
  2140. /package/dist/bundled/v2/components/{or-switch → OrSwitch}/index.d.ts +0 -0
  2141. /package/dist/bundled/v2/components/{or-switch-v3 → OrSwitchV3}/OrSwitch.vue.d.ts +0 -0
  2142. /package/dist/bundled/v2/components/{or-switch-v3 → OrSwitchV3}/index.d.ts +0 -0
  2143. /package/dist/bundled/v2/components/{or-switch-v3 → OrSwitchV3}/styles.d.ts +0 -0
  2144. /package/dist/bundled/v2/components/{or-tab → OrTab}/OrTab.vue.d.ts +0 -0
  2145. /package/dist/bundled/v2/components/{or-tab → OrTab}/index.d.ts +0 -0
  2146. /package/dist/bundled/v2/components/{or-tab-header-item → OrTabHeaderItem}/OrTabHeaderItem.vue.d.ts +0 -0
  2147. /package/dist/bundled/v2/components/{or-tab-header-item → OrTabHeaderItem}/index.d.ts +0 -0
  2148. /package/dist/bundled/v2/components/{or-tab-v3 → OrTabV3}/OrTab.vue.d.ts +0 -0
  2149. /package/dist/bundled/v2/components/{or-tab-v3 → OrTabV3}/index.d.ts +0 -0
  2150. /package/dist/bundled/v2/components/{or-tab-v3 → OrTabV3}/styles.d.ts +0 -0
  2151. /package/dist/bundled/v2/components/{or-tabs → OrTabs}/OrTabs.vue.d.ts +0 -0
  2152. /package/dist/bundled/v2/components/{or-tabs → OrTabs}/index.d.ts +0 -0
  2153. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/OrTabs.vue.d.ts +0 -0
  2154. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/index.d.ts +0 -0
  2155. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/props.d.ts +0 -0
  2156. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/styles.d.ts +0 -0
  2157. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/types.d.ts +0 -0
  2158. /package/dist/bundled/v2/components/{or-tag → OrTag}/OrTag.vue.d.ts +0 -0
  2159. /package/dist/bundled/v2/components/{or-tag → OrTag}/index.d.ts +0 -0
  2160. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/OrTag.vue.d.ts +0 -0
  2161. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/index.d.ts +0 -0
  2162. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/props.d.ts +0 -0
  2163. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/styles.d.ts +0 -0
  2164. /package/dist/bundled/v2/components/{or-teleport → OrTeleport}/OrTeleport.vue2.vue.d.ts +0 -0
  2165. /package/dist/bundled/v2/components/{or-teleport → OrTeleport}/constants.d.ts +0 -0
  2166. /package/dist/bundled/v2/components/{or-teleport → OrTeleport}/index.d.ts +0 -0
  2167. /package/dist/bundled/v2/components/{or-teleport-v3 → OrTeleportV3}/OrTeleport.vue2.vue.d.ts +0 -0
  2168. /package/dist/bundled/v2/components/{or-teleport-v3 → OrTeleportV3}/index.d.ts +0 -0
  2169. /package/dist/bundled/v2/components/{or-text-v3 → OrTextV3}/OrText.vue.d.ts +0 -0
  2170. /package/dist/bundled/v2/components/{or-text-v3 → OrTextV3}/index.d.ts +0 -0
  2171. /package/dist/bundled/v2/components/{or-text-v3 → OrTextV3}/styles.d.ts +0 -0
  2172. /package/dist/bundled/v2/components/{or-textarea → OrTextarea}/OrTextarea.vue.d.ts +0 -0
  2173. /package/dist/bundled/v2/components/{or-textarea → OrTextarea}/index.d.ts +0 -0
  2174. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/OrTextarea.vue.d.ts +0 -0
  2175. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/index.d.ts +0 -0
  2176. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/props.d.ts +0 -0
  2177. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/styles.d.ts +0 -0
  2178. /package/dist/bundled/v2/components/{or-textbox → OrTextbox}/OrTextbox.vue.d.ts +0 -0
  2179. /package/dist/bundled/v2/components/{or-textbox → OrTextbox}/constants.d.ts +0 -0
  2180. /package/dist/bundled/v2/components/{or-textbox → OrTextbox}/index.d.ts +0 -0
  2181. /package/dist/bundled/v2/components/{or-toast → OrToast}/OrToast.vue.d.ts +0 -0
  2182. /package/dist/bundled/v2/components/{or-toast-v3 → OrToast}/Timer.d.ts +0 -0
  2183. /package/dist/bundled/v2/components/{or-toast → OrToast}/composable/index.d.ts +0 -0
  2184. /package/dist/bundled/v2/components/{or-toast-v3 → OrToast}/composable/useQueue.d.ts +0 -0
  2185. /package/dist/bundled/v2/components/{or-toast-v3 → OrToast}/composable/useToast.d.ts +0 -0
  2186. /package/dist/bundled/v2/components/{or-toast-v3 → OrToast}/composable/useToastEventBus.d.ts +0 -0
  2187. /package/dist/bundled/v2/components/{or-toast → OrToast}/constants.d.ts +0 -0
  2188. /package/dist/bundled/v2/components/{or-toast → OrToast}/types.d.ts +0 -0
  2189. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/OrToast.vue.d.ts +0 -0
  2190. /package/dist/bundled/v2/components/{or-toast → OrToastV3}/Timer.d.ts +0 -0
  2191. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/composable/index.d.ts +0 -0
  2192. /package/dist/bundled/v2/components/{or-toast → OrToastV3}/composable/useQueue.d.ts +0 -0
  2193. /package/dist/bundled/v2/components/{or-toast → OrToastV3}/composable/useToast.d.ts +0 -0
  2194. /package/dist/bundled/v2/components/{or-toast → OrToastV3}/composable/useToastEventBus.d.ts +0 -0
  2195. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/props.d.ts +0 -0
  2196. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/styles.d.ts +0 -0
  2197. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/types.d.ts +0 -0
  2198. /package/dist/bundled/v2/components/{or-tooltip → OrTooltip}/OrTooltip.vue.d.ts +0 -0
  2199. /package/dist/bundled/v2/components/{or-tooltip → OrTooltipContent}/OrTooltipContent.vue.d.ts +0 -0
  2200. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/OrTooltip.vue.d.ts +0 -0
  2201. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/index.d.ts +0 -0
  2202. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/props.d.ts +0 -0
  2203. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/styles.d.ts +0 -0
  2204. /package/dist/bundled/v3/components/{or-avatar → OrAvatar}/OrAvatar.vue.d.ts +0 -0
  2205. /package/dist/bundled/v3/components/{or-avatar → OrAvatar}/constants.d.ts +0 -0
  2206. /package/dist/bundled/v3/components/{or-avatar → OrAvatar}/index.d.ts +0 -0
  2207. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/OrAvatar.vue.d.ts +0 -0
  2208. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/index.d.ts +0 -0
  2209. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/props.d.ts +0 -0
  2210. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/styles.d.ts +0 -0
  2211. /package/dist/bundled/v3/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/OrBottomSheet.vue.d.ts +0 -0
  2212. /package/dist/bundled/v3/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/index.d.ts +0 -0
  2213. /package/dist/bundled/v3/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/styles.d.ts +0 -0
  2214. /package/dist/bundled/v3/components/{or-button → OrButton}/OrButton.vue.d.ts +0 -0
  2215. /package/dist/bundled/v3/components/{or-button → OrButton}/constants.d.ts +0 -0
  2216. /package/dist/bundled/v3/components/{or-button → OrButton}/index.d.ts +0 -0
  2217. /package/dist/bundled/v3/components/{or-button-v2 → OrButtonV2}/OrButton.vue.d.ts +0 -0
  2218. /package/dist/bundled/v3/components/{or-button-v2 → OrButtonV2}/constants.d.ts +0 -0
  2219. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/OrButton.vue.d.ts +0 -0
  2220. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/index.d.ts +0 -0
  2221. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/props.d.ts +0 -0
  2222. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/styles.d.ts +0 -0
  2223. /package/dist/bundled/v3/components/{or-card → OrCard}/OrCard.vue.d.ts +0 -0
  2224. /package/dist/bundled/v3/components/{or-card → OrCard}/index.d.ts +0 -0
  2225. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/OrCardCollection.vue.d.ts +0 -0
  2226. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/constants.d.ts +0 -0
  2227. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/index.d.ts +0 -0
  2228. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/types.d.ts +0 -0
  2229. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/OrCardCollection.vue.d.ts +0 -0
  2230. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/index.d.ts +0 -0
  2231. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/props.d.ts +0 -0
  2232. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/styles.d.ts +0 -0
  2233. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/types.d.ts +0 -0
  2234. /package/dist/bundled/v3/components/{or-card-v3 → OrCardV3}/OrCard.vue.d.ts +0 -0
  2235. /package/dist/bundled/v3/components/{or-card-v3 → OrCardV3}/index.d.ts +0 -0
  2236. /package/dist/bundled/v3/components/{or-card-v3 → OrCardV3}/styles.d.ts +0 -0
  2237. /package/dist/bundled/v3/components/{or-carousel → OrCarousel}/OrCarousel.vue.d.ts +0 -0
  2238. /package/dist/bundled/v3/components/{or-carousel → OrCarousel}/constants.d.ts +0 -0
  2239. /package/dist/bundled/v3/components/{or-carousel → OrCarouselItem}/OrCarouselItem.vue.d.ts +0 -0
  2240. /package/dist/bundled/v3/components/{or-checkbox → OrCheckbox}/OrCheckbox.vue.d.ts +0 -0
  2241. /package/dist/bundled/v3/components/{or-checkbox → OrCheckbox}/index.d.ts +0 -0
  2242. /package/dist/bundled/v3/components/{or-checkbox-v3 → OrCheckboxV3}/OrCheckbox.vue.d.ts +0 -0
  2243. /package/dist/bundled/v3/components/{or-checkbox-v3 → OrCheckboxV3}/index.d.ts +0 -0
  2244. /package/dist/bundled/v3/components/{or-checkbox-v3 → OrCheckboxV3}/styles.d.ts +0 -0
  2245. /package/dist/bundled/v3/components/{or-chips → OrChip}/OrChip.vue.d.ts +0 -0
  2246. /package/dist/bundled/v3/components/{or-chips → OrChips}/OrChips.vue.d.ts +0 -0
  2247. /package/dist/bundled/v3/components/{or-chips → OrChips}/constants.d.ts +0 -0
  2248. /package/dist/bundled/v3/components/{or-code → OrCode}/OrCode.vue.d.ts +0 -0
  2249. /package/dist/bundled/v3/components/{or-code → OrCode}/constants.d.ts +0 -0
  2250. /package/dist/bundled/v3/components/{or-code → OrCode}/index.d.ts +0 -0
  2251. /package/dist/bundled/v3/components/{or-code → OrCode}/lang.d.ts +0 -0
  2252. /package/dist/bundled/v3/components/{or-code → OrCode}/theme.d.ts +0 -0
  2253. /package/dist/bundled/v3/components/{or-collapse → OrCollapse}/OrCollapse.vue.d.ts +0 -0
  2254. /package/dist/bundled/v3/components/{or-collapse → OrCollapse}/index.d.ts +0 -0
  2255. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/OrColorPicker.vue.d.ts +0 -0
  2256. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/constants.d.ts +0 -0
  2257. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/index.d.ts +0 -0
  2258. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/types.d.ts +0 -0
  2259. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/utils/defultPalette.d.ts +0 -0
  2260. /package/dist/bundled/v3/components/{or-combined-input-v3 → OrCombinedInputV3}/OrCombinedInput.vue.d.ts +0 -0
  2261. /package/dist/bundled/v3/components/{or-combined-input-v3 → OrCombinedInputV3}/index.d.ts +0 -0
  2262. /package/dist/bundled/v3/components/{or-combined-input-v3 → OrCombinedInputV3}/props.d.ts +0 -0
  2263. /package/dist/bundled/v3/components/{or-combined-input-v3 → OrCombinedInputV3}/styles.d.ts +0 -0
  2264. /package/dist/bundled/v3/components/{or-confirm → OrConfirm}/OrConfirm.vue.d.ts +0 -0
  2265. /package/dist/bundled/v3/components/{or-confirm → OrConfirm}/index.d.ts +0 -0
  2266. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/OrConfirm.vue.d.ts +0 -0
  2267. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/index.d.ts +0 -0
  2268. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/props.d.ts +0 -0
  2269. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/styles.d.ts +0 -0
  2270. /package/dist/bundled/v3/components/{or-date-time-picker → OrDateTimePicker}/OrDateTimePicker.vue.d.ts +0 -0
  2271. /package/dist/bundled/v3/components/{or-date-time-picker → OrDateTimePicker}/constants.d.ts +0 -0
  2272. /package/dist/bundled/v3/components/{or-date-time-picker → OrDateTimePicker}/index.d.ts +0 -0
  2273. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/OrEmptyState.vue.d.ts +0 -0
  2274. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/index.d.ts +0 -0
  2275. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/props.d.ts +0 -0
  2276. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/styles.d.ts +0 -0
  2277. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/types.d.ts +0 -0
  2278. /package/dist/bundled/v3/components/{or-error → OrError}/OrError.vue.d.ts +0 -0
  2279. /package/dist/bundled/v3/components/{or-error → OrError}/index.d.ts +0 -0
  2280. /package/dist/bundled/v3/components/{or-error-tag-v3 → OrErrorTagV3}/OrErrorTag.vue.d.ts +0 -0
  2281. /package/dist/bundled/v3/components/{or-error-tag-v3 → OrErrorTagV3}/index.d.ts +0 -0
  2282. /package/dist/bundled/v3/components/{or-error-tag-v3 → OrErrorTagV3}/styles.d.ts +0 -0
  2283. /package/dist/bundled/v3/components/{or-error-v3 → OrErrorV3}/OrError.vue.d.ts +0 -0
  2284. /package/dist/bundled/v3/components/{or-error-v3 → OrErrorV3}/index.d.ts +0 -0
  2285. /package/dist/bundled/v3/components/{or-error-v3 → OrErrorV3}/styles.d.ts +0 -0
  2286. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/OrExpansionPanel.vue.d.ts +0 -0
  2287. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/index.d.ts +0 -0
  2288. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/props.d.ts +0 -0
  2289. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/styles.d.ts +0 -0
  2290. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/OrFab.vue.d.ts +0 -0
  2291. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/index.d.ts +0 -0
  2292. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/props.d.ts +0 -0
  2293. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/styles.d.ts +0 -0
  2294. /package/dist/bundled/v3/components/{or-floating → OrFloating}/OrFloating.vue.d.ts +0 -0
  2295. /package/dist/bundled/v3/components/{or-floating → OrFloating}/constants.d.ts +0 -0
  2296. /package/dist/bundled/v3/components/{or-floating → OrFloating}/index.d.ts +0 -0
  2297. /package/dist/bundled/v3/components/{or-hint → OrHint}/OrHint.vue.d.ts +0 -0
  2298. /package/dist/bundled/v3/components/{or-hint → OrHint}/index.d.ts +0 -0
  2299. /package/dist/bundled/v3/components/{or-hint-v3 → OrHintV3}/OrHint.vue.d.ts +0 -0
  2300. /package/dist/bundled/v3/components/{or-hint-v3 → OrHintV3}/index.d.ts +0 -0
  2301. /package/dist/bundled/v3/components/{or-hint-v3 → OrHintV3}/styles.d.ts +0 -0
  2302. /package/dist/bundled/v3/components/{or-icon → OrIcon}/OrIcon.vue.d.ts +0 -0
  2303. /package/dist/bundled/v3/components/{or-icon → OrIcon}/constants.d.ts +0 -0
  2304. /package/dist/bundled/v3/components/{or-icon → OrIcon}/index.d.ts +0 -0
  2305. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/OrIconButton.vue.d.ts +0 -0
  2306. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/index.d.ts +0 -0
  2307. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/props.d.ts +0 -0
  2308. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/styles.d.ts +0 -0
  2309. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/OrIcon.vue.d.ts +0 -0
  2310. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/index.d.ts +0 -0
  2311. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/props.d.ts +0 -0
  2312. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/styles.d.ts +0 -0
  2313. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/OrInlineInputBox.vue.d.ts +0 -0
  2314. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/index.d.ts +0 -0
  2315. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/props.d.ts +0 -0
  2316. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/styles.d.ts +0 -0
  2317. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/OrInlineInput.vue.d.ts +0 -0
  2318. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/index.d.ts +0 -0
  2319. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/props.d.ts +0 -0
  2320. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/styles.d.ts +0 -0
  2321. /package/dist/bundled/v3/components/{or-inline-text-edit → OrInlineTextEdit}/OrInlineTextEdit.vue.d.ts +0 -0
  2322. /package/dist/bundled/v3/components/{or-inline-text-edit → OrInlineTextEdit}/constants.d.ts +0 -0
  2323. /package/dist/bundled/v3/components/{or-inline-text-edit → OrInlineTextEdit}/index.d.ts +0 -0
  2324. /package/dist/bundled/v3/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/OrInlineTextarea.vue.d.ts +0 -0
  2325. /package/dist/bundled/v3/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/index.d.ts +0 -0
  2326. /package/dist/bundled/v3/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/styles.d.ts +0 -0
  2327. /package/dist/bundled/v3/components/{or-input → OrInput}/OrInput.vue.d.ts +0 -0
  2328. /package/dist/bundled/v3/components/{or-input → OrInput}/index.d.ts +0 -0
  2329. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/OrInputBox.vue.d.ts +0 -0
  2330. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/index.d.ts +0 -0
  2331. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/props.d.ts +0 -0
  2332. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/styles.d.ts +0 -0
  2333. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/OrInput.vue.d.ts +0 -0
  2334. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/index.d.ts +0 -0
  2335. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/props.d.ts +0 -0
  2336. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/styles.d.ts +0 -0
  2337. /package/dist/bundled/v3/components/{or-label → OrLabel}/OrLabel.vue.d.ts +0 -0
  2338. /package/dist/bundled/v3/components/{or-label → OrLabel}/index.d.ts +0 -0
  2339. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/OrLabel.vue.d.ts +0 -0
  2340. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/index.d.ts +0 -0
  2341. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/props.d.ts +0 -0
  2342. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/styles.d.ts +0 -0
  2343. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/OrLink.vue.d.ts +0 -0
  2344. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/index.d.ts +0 -0
  2345. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/props.d.ts +0 -0
  2346. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/styles.d.ts +0 -0
  2347. /package/dist/bundled/v3/components/{or-list → OrList}/OrList.vue.d.ts +0 -0
  2348. /package/dist/bundled/v3/components/{or-list → OrList}/index.d.ts +0 -0
  2349. /package/dist/bundled/v3/components/{or-list-of-inputs → OrListOfInputs}/OrListOfInputs.vue.d.ts +0 -0
  2350. /package/dist/bundled/v3/components/{or-list-of-inputs → OrListOfInputs}/index.d.ts +0 -0
  2351. /package/dist/bundled/v3/components/{or-loader → OrLoader}/OrLoader.vue.d.ts +0 -0
  2352. /package/dist/bundled/v3/components/{or-loader → OrLoader}/constants.d.ts +0 -0
  2353. /package/dist/bundled/v3/components/{or-loader → OrLoader}/index.d.ts +0 -0
  2354. /package/dist/bundled/v3/components/{or-loader → OrLoader}/types.d.ts +0 -0
  2355. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/OrLoader.vue.d.ts +0 -0
  2356. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/index.d.ts +0 -0
  2357. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/props.d.ts +0 -0
  2358. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/styles.d.ts +0 -0
  2359. /package/dist/bundled/v3/components/{or-menu-item-v3 → OrMenuItemV3}/OrMenuItem.vue.d.ts +0 -0
  2360. /package/dist/bundled/v3/components/{or-menu-item-v3 → OrMenuItemV3}/index.d.ts +0 -0
  2361. /package/dist/bundled/v3/components/{or-menu-item-v3 → OrMenuItemV3}/styles.d.ts +0 -0
  2362. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/OrMenu.vue.d.ts +0 -0
  2363. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/index.d.ts +0 -0
  2364. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/props.d.ts +0 -0
  2365. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/styles.d.ts +0 -0
  2366. /package/dist/bundled/v3/components/{or-modal → OrModal}/OrModal.vue.d.ts +0 -0
  2367. /package/dist/bundled/v3/components/{or-modal → OrModal}/constants.d.ts +0 -0
  2368. /package/dist/bundled/v3/components/{or-modal → OrModal}/index.d.ts +0 -0
  2369. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/OrModal.vue.d.ts +0 -0
  2370. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/index.d.ts +0 -0
  2371. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/props.d.ts +0 -0
  2372. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/styles.d.ts +0 -0
  2373. /package/dist/bundled/v3/components/{or-notification → OrNotification}/OrNotification.vue.d.ts +0 -0
  2374. /package/dist/bundled/v3/components/{or-notification → OrNotification}/constants.d.ts +0 -0
  2375. /package/dist/bundled/v3/components/{or-notification → OrNotification}/index.d.ts +0 -0
  2376. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/OrNotification.vue.d.ts +0 -0
  2377. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/index.d.ts +0 -0
  2378. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/props.d.ts +0 -0
  2379. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/styles.d.ts +0 -0
  2380. /package/dist/bundled/v3/components/{or-number-input → OrNumberInput}/OrNumberInput.vue.d.ts +0 -0
  2381. /package/dist/bundled/v3/components/{or-number-input → OrNumberInput}/index.d.ts +0 -0
  2382. /package/dist/bundled/v3/components/{or-overflow-menu → OrOverflowMenu}/OrOverflowMenu.vue.d.ts +0 -0
  2383. /package/dist/bundled/v3/components/{or-overflow-menu → OrOverflowMenu}/index.d.ts +0 -0
  2384. /package/dist/bundled/v3/components/{or-overflow-menu → OrOverflowMenu}/types.d.ts +0 -0
  2385. /package/dist/bundled/v3/components/{or-overlay → OrOverlay}/OrOverlay.vue.d.ts +0 -0
  2386. /package/dist/bundled/v3/components/{or-overlay → OrOverlay}/index.d.ts +0 -0
  2387. /package/dist/bundled/v3/components/{or-overlay-v3 → OrOverlayV3}/OrOverlay.vue.d.ts +0 -0
  2388. /package/dist/bundled/v3/components/{or-overlay-v3 → OrOverlayV3}/index.d.ts +0 -0
  2389. /package/dist/bundled/v3/components/{or-overlay-v3 → OrOverlayV3}/styles.d.ts +0 -0
  2390. /package/dist/bundled/v3/components/{or-pagination-v3 → OrPaginationV3}/OrPagination.vue.d.ts +0 -0
  2391. /package/dist/bundled/v3/components/{or-pagination-v3 → OrPaginationV3}/index.d.ts +0 -0
  2392. /package/dist/bundled/v3/components/{or-pagination-v3 → OrPaginationV3}/styles.d.ts +0 -0
  2393. /package/dist/bundled/v3/components/{or-pagination-v3 → OrPaginationV3}/types.d.ts +0 -0
  2394. /package/dist/bundled/v3/components/{or-password → OrPassword}/OrPassword.vue.d.ts +0 -0
  2395. /package/dist/bundled/v3/components/{or-password → OrPassword}/index.d.ts +0 -0
  2396. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/OrPopover.vue.d.ts +0 -0
  2397. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/index.d.ts +0 -0
  2398. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/props.d.ts +0 -0
  2399. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/styles.d.ts +0 -0
  2400. /package/dist/bundled/v3/components/{or-progress → OrProgress}/OrProgress.vue.d.ts +0 -0
  2401. /package/dist/bundled/v3/components/{or-progress → OrProgress}/constants.d.ts +0 -0
  2402. /package/dist/bundled/v3/components/{or-progress → OrProgress}/index.d.ts +0 -0
  2403. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/OrProgress.vue.d.ts +0 -0
  2404. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/index.d.ts +0 -0
  2405. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/props.d.ts +0 -0
  2406. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/styles.d.ts +0 -0
  2407. /package/dist/bundled/v3/components/{or-radio → OrRadio}/OrRadio.vue.d.ts +0 -0
  2408. /package/dist/bundled/v3/components/{or-radio → OrRadio}/index.d.ts +0 -0
  2409. /package/dist/bundled/v3/components/{or-radio-group → OrRadioGroup}/OrRadioGroup.vue.d.ts +0 -0
  2410. /package/dist/bundled/v3/components/{or-radio-group → OrRadioGroup}/index.d.ts +0 -0
  2411. /package/dist/bundled/v3/components/{or-radio-v3 → OrRadioV3}/OrRadio.vue.d.ts +0 -0
  2412. /package/dist/bundled/v3/components/{or-radio-v3 → OrRadioV3}/index.d.ts +0 -0
  2413. /package/dist/bundled/v3/components/{or-radio-v3 → OrRadioV3}/styles.d.ts +0 -0
  2414. /package/dist/bundled/v3/components/{or-search → OrSearch}/OrSearch.vue.d.ts +0 -0
  2415. /package/dist/bundled/v3/components/{or-search → OrSearch}/index.d.ts +0 -0
  2416. /package/dist/bundled/v3/components/{or-search-v3 → OrSearchV3}/OrSearch.vue.d.ts +0 -0
  2417. /package/dist/bundled/v3/components/{or-search-v3 → OrSearchV3}/index.d.ts +0 -0
  2418. /package/dist/bundled/v3/components/{or-search-v3 → OrSearchV3}/props.d.ts +0 -0
  2419. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/OrSegmentedControl.vue.d.ts +0 -0
  2420. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/index.d.ts +0 -0
  2421. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/props.d.ts +0 -0
  2422. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/styles.d.ts +0 -0
  2423. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/types.d.ts +0 -0
  2424. /package/dist/bundled/v3/components/{or-select → OrSelect}/constants.d.ts +0 -0
  2425. /package/dist/bundled/v3/components/{or-select → OrSelect}/index.d.ts +0 -0
  2426. /package/dist/bundled/v3/components/{or-select → OrSelect}/stories.helpers.d.ts +0 -0
  2427. /package/dist/bundled/v3/components/{or-select → OrSelect}/types.d.ts +0 -0
  2428. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/OrSelect.vue.d.ts +0 -0
  2429. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/index.d.ts +0 -0
  2430. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/props.d.ts +0 -0
  2431. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/styles.d.ts +0 -0
  2432. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/types.d.ts +0 -0
  2433. /package/dist/bundled/v3/components/{or-sidebar → OrSidebar}/OrSidebar.vue.d.ts +0 -0
  2434. /package/dist/bundled/v3/components/{or-sidebar → OrSidebar}/constants.d.ts +0 -0
  2435. /package/dist/bundled/v3/components/{or-sidebar → OrSidebar}/index.d.ts +0 -0
  2436. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/OrSidebar.vue.d.ts +0 -0
  2437. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/index.d.ts +0 -0
  2438. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/props.d.ts +0 -0
  2439. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/styles.d.ts +0 -0
  2440. /package/dist/bundled/v3/components/{or-skeleton → OrSkeleton}/constants.d.ts +0 -0
  2441. /package/dist/bundled/v3/components/{or-skeleton → OrSkeletonCircle}/OrSkeletonCircle.vue.d.ts +0 -0
  2442. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonCircleV3}/OrSkeletonCircle.vue.d.ts +0 -0
  2443. /package/dist/bundled/v3/components/{or-skeleton → OrSkeletonRect}/OrSkeletonRect.vue.d.ts +0 -0
  2444. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonRectV3}/OrSkeletonRect.vue.d.ts +0 -0
  2445. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonTextV3}/OrSkeletonText.vue.d.ts +0 -0
  2446. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonV3}/styles.d.ts +0 -0
  2447. /package/dist/bundled/v3/components/{or-slider → OrSlider}/OrSlider.vue.d.ts +0 -0
  2448. /package/dist/bundled/v3/components/{or-slider → OrSlider}/index.d.ts +0 -0
  2449. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/OrSortHeader.vue.d.ts +0 -0
  2450. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/index.d.ts +0 -0
  2451. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/styles.d.ts +0 -0
  2452. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/types.d.ts +0 -0
  2453. /package/dist/bundled/v3/components/{or-stepper → OrStepper}/OrStepper.vue.d.ts +0 -0
  2454. /package/dist/bundled/v3/components/{or-stepper → OrStepper}/index.d.ts +0 -0
  2455. /package/dist/bundled/v3/components/{or-switch → OrSwitch}/OrSwitch.vue.d.ts +0 -0
  2456. /package/dist/bundled/v3/components/{or-switch → OrSwitch}/index.d.ts +0 -0
  2457. /package/dist/bundled/v3/components/{or-switch-v3 → OrSwitchV3}/OrSwitch.vue.d.ts +0 -0
  2458. /package/dist/bundled/v3/components/{or-switch-v3 → OrSwitchV3}/index.d.ts +0 -0
  2459. /package/dist/bundled/v3/components/{or-switch-v3 → OrSwitchV3}/styles.d.ts +0 -0
  2460. /package/dist/bundled/v3/components/{or-tab → OrTab}/OrTab.vue.d.ts +0 -0
  2461. /package/dist/bundled/v3/components/{or-tab → OrTab}/index.d.ts +0 -0
  2462. /package/dist/bundled/v3/components/{or-tab-header-item → OrTabHeaderItem}/OrTabHeaderItem.vue.d.ts +0 -0
  2463. /package/dist/bundled/v3/components/{or-tab-header-item → OrTabHeaderItem}/index.d.ts +0 -0
  2464. /package/dist/bundled/v3/components/{or-tab-v3 → OrTabV3}/OrTab.vue.d.ts +0 -0
  2465. /package/dist/bundled/v3/components/{or-tab-v3 → OrTabV3}/index.d.ts +0 -0
  2466. /package/dist/bundled/v3/components/{or-tab-v3 → OrTabV3}/styles.d.ts +0 -0
  2467. /package/dist/bundled/v3/components/{or-tabs → OrTabs}/OrTabs.vue.d.ts +0 -0
  2468. /package/dist/bundled/v3/components/{or-tabs → OrTabs}/index.d.ts +0 -0
  2469. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/OrTabs.vue.d.ts +0 -0
  2470. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/index.d.ts +0 -0
  2471. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/props.d.ts +0 -0
  2472. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/styles.d.ts +0 -0
  2473. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/types.d.ts +0 -0
  2474. /package/dist/bundled/v3/components/{or-tag → OrTag}/OrTag.vue.d.ts +0 -0
  2475. /package/dist/bundled/v3/components/{or-tag → OrTag}/index.d.ts +0 -0
  2476. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/OrTag.vue.d.ts +0 -0
  2477. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/index.d.ts +0 -0
  2478. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/props.d.ts +0 -0
  2479. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/styles.d.ts +0 -0
  2480. /package/dist/bundled/v3/components/{or-teleport → OrTeleport}/OrTeleport.vue3.vue.d.ts +0 -0
  2481. /package/dist/bundled/v3/components/{or-teleport → OrTeleport}/constants.d.ts +0 -0
  2482. /package/dist/bundled/v3/components/{or-teleport → OrTeleport}/index.d.ts +0 -0
  2483. /package/dist/bundled/v3/components/{or-teleport-v3 → OrTeleportV3}/OrTeleport.vue3.vue.d.ts +0 -0
  2484. /package/dist/bundled/v3/components/{or-teleport-v3 → OrTeleportV3}/index.d.ts +0 -0
  2485. /package/dist/bundled/v3/components/{or-text-v3 → OrTextV3}/OrText.vue.d.ts +0 -0
  2486. /package/dist/bundled/v3/components/{or-text-v3 → OrTextV3}/index.d.ts +0 -0
  2487. /package/dist/bundled/v3/components/{or-text-v3 → OrTextV3}/styles.d.ts +0 -0
  2488. /package/dist/bundled/v3/components/{or-textarea → OrTextarea}/OrTextarea.vue.d.ts +0 -0
  2489. /package/dist/bundled/v3/components/{or-textarea → OrTextarea}/index.d.ts +0 -0
  2490. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/OrTextarea.vue.d.ts +0 -0
  2491. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/index.d.ts +0 -0
  2492. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/props.d.ts +0 -0
  2493. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/styles.d.ts +0 -0
  2494. /package/dist/bundled/v3/components/{or-textbox → OrTextbox}/OrTextbox.vue.d.ts +0 -0
  2495. /package/dist/bundled/v3/components/{or-textbox → OrTextbox}/constants.d.ts +0 -0
  2496. /package/dist/bundled/v3/components/{or-textbox → OrTextbox}/index.d.ts +0 -0
  2497. /package/dist/bundled/v3/components/{or-toast → OrToast}/OrToast.vue.d.ts +0 -0
  2498. /package/dist/bundled/v3/components/{or-toast-v3 → OrToast}/Timer.d.ts +0 -0
  2499. /package/dist/bundled/v3/components/{or-toast → OrToast}/composable/index.d.ts +0 -0
  2500. /package/dist/bundled/v3/components/{or-toast-v3 → OrToast}/composable/useQueue.d.ts +0 -0
  2501. /package/dist/bundled/v3/components/{or-toast-v3 → OrToast}/composable/useToast.d.ts +0 -0
  2502. /package/dist/bundled/v3/components/{or-toast-v3 → OrToast}/composable/useToastEventBus.d.ts +0 -0
  2503. /package/dist/bundled/v3/components/{or-toast → OrToast}/constants.d.ts +0 -0
  2504. /package/dist/bundled/v3/components/{or-toast → OrToast}/types.d.ts +0 -0
  2505. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/OrToast.vue.d.ts +0 -0
  2506. /package/dist/bundled/v3/components/{or-toast → OrToastV3}/Timer.d.ts +0 -0
  2507. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/composable/index.d.ts +0 -0
  2508. /package/dist/bundled/v3/components/{or-toast → OrToastV3}/composable/useQueue.d.ts +0 -0
  2509. /package/dist/bundled/v3/components/{or-toast → OrToastV3}/composable/useToast.d.ts +0 -0
  2510. /package/dist/bundled/v3/components/{or-toast → OrToastV3}/composable/useToastEventBus.d.ts +0 -0
  2511. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/props.d.ts +0 -0
  2512. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/styles.d.ts +0 -0
  2513. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/types.d.ts +0 -0
  2514. /package/dist/bundled/v3/components/{or-tooltip → OrTooltip}/OrTooltip.vue.d.ts +0 -0
  2515. /package/dist/bundled/v3/components/{or-tooltip → OrTooltipContent}/OrTooltipContent.vue.d.ts +0 -0
  2516. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/OrTooltip.vue.d.ts +0 -0
  2517. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/index.d.ts +0 -0
  2518. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/props.d.ts +0 -0
  2519. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/styles.d.ts +0 -0
  2520. /package/dist/esm/v2/components/or-carousel/{OrCarouselItem.vue.d.ts → or-carousel-item/OrCarouselItem.vue.d.ts} +0 -0
  2521. /package/dist/esm/v2/components/or-chips/{OrChip.vue.d.ts → or-chip/OrChip.vue.d.ts} +0 -0
  2522. /package/dist/{bundled/v2/components/or-chips → esm/v2/components/or-chips/partials}/OrChipsInput.vue.d.ts +0 -0
  2523. /package/dist/{bundled/v2/components/or-overflow-menu → esm/v2/components/or-overflow-menu/partials}/OrOverflowMenuItem.vue.d.ts +0 -0
  2524. /package/dist/{bundled/v2/components/or-select → esm/v2/components/or-select/partials}/OrSelectContentEmpty.vue.d.ts +0 -0
  2525. /package/dist/{bundled/v2/components/or-select → esm/v2/components/or-select/partials}/OrSelectSearchOptions.vue.d.ts +0 -0
  2526. /package/dist/esm/v2/components/or-skeleton/{OrSkeletonCircle.vue.d.ts → or-skeleton-circle/OrSkeletonCircle.vue.d.ts} +0 -0
  2527. /package/dist/esm/v2/components/or-skeleton/{OrSkeletonRect.vue.d.ts → or-skeleton-rect/OrSkeletonRect.vue.d.ts} +0 -0
  2528. /package/dist/esm/v2/components/or-skeleton-v3/{OrSkeletonCircle.vue.d.ts → or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts} +0 -0
  2529. /package/dist/esm/v2/components/or-skeleton-v3/{OrSkeletonRect.vue.d.ts → or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts} +0 -0
  2530. /package/dist/esm/v2/components/or-skeleton-v3/{OrSkeletonText.vue.d.ts → or-skeleton-text-v3/OrSkeletonText.vue.d.ts} +0 -0
  2531. /package/dist/{bundled/v2/components/or-stepper → esm/v2/components/or-stepper/partials}/OrStepperButtonOptions.vue.d.ts +0 -0
  2532. /package/dist/{bundled/v2/components/or-stepper → esm/v2/components/or-stepper/partials}/OrStepperOptionHorizontal.vue.d.ts +0 -0
  2533. /package/dist/{bundled/v2/components/or-stepper → esm/v2/components/or-stepper/partials}/OrStepperOptionVertical.vue.d.ts +0 -0
  2534. /package/dist/{bundled/v2/components/or-stepper → esm/v2/components/or-stepper/partials}/OrStepperTitle.vue.d.ts +0 -0
  2535. /package/dist/{bundled/v2/components/or-stepper → esm/v2/components/or-stepper/partials}/StatusIcon.vue.d.ts +0 -0
  2536. /package/dist/esm/v2/components/or-tooltip/{OrTooltipContent.vue.d.ts → or-tooltip-content/OrTooltipContent.vue.d.ts} +0 -0
  2537. /package/dist/esm/v3/components/or-carousel/{OrCarouselItem.vue.d.ts → or-carousel-item/OrCarouselItem.vue.d.ts} +0 -0
  2538. /package/dist/esm/v3/components/or-chips/{OrChip.vue.d.ts → or-chip/OrChip.vue.d.ts} +0 -0
  2539. /package/dist/{bundled/v3/components/or-chips → esm/v3/components/or-chips/partials}/OrChipsInput.vue.d.ts +0 -0
  2540. /package/dist/{bundled/v3/components/or-overflow-menu → esm/v3/components/or-overflow-menu/partials}/OrOverflowMenuItem.vue.d.ts +0 -0
  2541. /package/dist/{bundled/v3/components/or-select → esm/v3/components/or-select/partials}/OrSelectContentEmpty.vue.d.ts +0 -0
  2542. /package/dist/{bundled/v3/components/or-select → esm/v3/components/or-select/partials}/OrSelectSearchOptions.vue.d.ts +0 -0
  2543. /package/dist/esm/v3/components/or-skeleton/{OrSkeletonCircle.vue.d.ts → or-skeleton-circle/OrSkeletonCircle.vue.d.ts} +0 -0
  2544. /package/dist/esm/v3/components/or-skeleton/{OrSkeletonRect.vue.d.ts → or-skeleton-rect/OrSkeletonRect.vue.d.ts} +0 -0
  2545. /package/dist/esm/v3/components/or-skeleton-v3/{OrSkeletonCircle.vue.d.ts → or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts} +0 -0
  2546. /package/dist/esm/v3/components/or-skeleton-v3/{OrSkeletonRect.vue.d.ts → or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts} +0 -0
  2547. /package/dist/esm/v3/components/or-skeleton-v3/{OrSkeletonText.vue.d.ts → or-skeleton-text-v3/OrSkeletonText.vue.d.ts} +0 -0
  2548. /package/dist/{bundled/v3/components/or-stepper → esm/v3/components/or-stepper/partials}/OrStepperButtonOptions.vue.d.ts +0 -0
  2549. /package/dist/{bundled/v3/components/or-stepper → esm/v3/components/or-stepper/partials}/OrStepperOptionHorizontal.vue.d.ts +0 -0
  2550. /package/dist/{bundled/v3/components/or-stepper → esm/v3/components/or-stepper/partials}/OrStepperOptionVertical.vue.d.ts +0 -0
  2551. /package/dist/{bundled/v3/components/or-stepper → esm/v3/components/or-stepper/partials}/OrStepperTitle.vue.d.ts +0 -0
  2552. /package/dist/{bundled/v3/components/or-stepper → esm/v3/components/or-stepper/partials}/StatusIcon.vue.d.ts +0 -0
  2553. /package/dist/esm/v3/components/or-tooltip/{OrTooltipContent.vue.d.ts → or-tooltip-content/OrTooltipContent.vue.d.ts} +0 -0
  2554. /package/src/components/or-carousel/{OrCarouselItem.vue → or-carousel-item/OrCarouselItem.vue} +0 -0
  2555. /package/src/components/or-chips/{OrChip.stories.ts → or-chip/OrChip.stories.ts} +0 -0
  2556. /package/src/components/or-skeleton-v3/{OrSkeletonCircle.docs.mdx → or-skeleton-circle-v3/OrSkeletonCircle.docs.mdx} +0 -0
  2557. /package/src/components/or-skeleton-v3/{OrSkeletonCircle.stories3.ts → or-skeleton-circle-v3/OrSkeletonCircle.stories3.ts} +0 -0
  2558. /package/src/components/or-skeleton-v3/{OrSkeletonRect.docs.mdx → or-skeleton-rect-v3/OrSkeletonRect.docs.mdx} +0 -0
  2559. /package/src/components/or-skeleton-v3/{OrSkeletonRect.stories3.ts → or-skeleton-rect-v3/OrSkeletonRect.stories3.ts} +0 -0
  2560. /package/src/components/or-skeleton-v3/{OrSkeletonText.docs.mdx → or-skeleton-text-v3/OrSkeletonText.docs.mdx} +0 -0
  2561. /package/src/components/or-skeleton-v3/{OrSkeletonText.stories3.ts → or-skeleton-text-v3/OrSkeletonText.stories3.ts} +0 -0
  2562. /package/src/components/or-stepper/{OrStepperOptionHorizontal.vue → partials/OrStepperOptionHorizontal.vue} +0 -0
  2563. /package/src/components/or-stepper/{OrStepperOptionVertical.vue → partials/OrStepperOptionVertical.vue} +0 -0
  2564. /package/src/components/or-stepper/{OrStepperTitle.vue → partials/OrStepperTitle.vue} +0 -0
  2565. /package/src/components/or-toast/{OrToastContainer.stories.mdx → or-toast-container/OrToastContainer.stories.mdx} +0 -0
  2566. /package/src/components/or-toast-v3/{OrToastContainer.docs.mdx → or-toast-container-v3/OrToastContainer.docs.mdx} +0 -0
  2567. /package/src/components/or-tooltip/{OrTooltipContent.vue → or-tooltip-content/OrTooltipContent.vue} +0 -0
@@ -0,0 +1,3960 @@
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 rectangularSelection, U as crosshairCursor, X as highlightActiveLine, Y as keymap, Z as foldKeymap } from './index-6976c52a.js';
2
+ import { c as closeBrackets, a as autocompletion, b as closeBracketsKeymap, d as completionKeymap, l as languages } from './lang-02d2bb2d.js';
3
+ import { useElementHover } from '@vueuse/core';
4
+ import { defineComponent, ref } from 'vue-demi';
5
+ import script$3 from './components/OrTeleport/OrTeleport.js';
6
+ import { OrCodeLanguages } from './components/OrCode/constants.js';
7
+ import theme from './components/OrCode/theme.js';
8
+ import './components/OrIconButtonV2/OrIconButton.js';
9
+ import './components/OrModal/OrModal.js';
10
+ import { s as script$2 } from './OrModal.vue_vue_type_script_lang-631858eb.js';
11
+ import './components/OrError/OrError.js';
12
+ import './components/OrHint/OrHint.js';
13
+ import './components/OrLabel/OrLabel.js';
14
+ import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-4a3f6358.js';
15
+ import { s as script$4 } from './OrError.vue_vue_type_script_lang-450321b8.js';
16
+ import { s as script$5 } from './OrHint.vue_vue_type_script_lang-5d628c6c.js';
17
+ import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-95601b40.js';
18
+
19
+ /**
20
+ Comment or uncomment the current selection. Will use line comments
21
+ if available, otherwise falling back to block comments.
22
+ */
23
+ const toggleComment = target => {
24
+ let {
25
+ state
26
+ } = target,
27
+ line = state.doc.lineAt(state.selection.main.head),
28
+ config = getConfig(target.state, line.from);
29
+ return config.line ? toggleLineComment(target) : config.block ? toggleBlockCommentByLine(target) : false;
30
+ };
31
+ function command(f, option) {
32
+ return ({
33
+ state,
34
+ dispatch
35
+ }) => {
36
+ if (state.readOnly) return false;
37
+ let tr = f(option, state);
38
+ if (!tr) return false;
39
+ dispatch(state.update(tr));
40
+ return true;
41
+ };
42
+ }
43
+ /**
44
+ Comment or uncomment the current selection using line comments.
45
+ The line comment syntax is taken from the
46
+ [`commentTokens`](https://codemirror.net/6/docs/ref/#commands.CommentTokens) [language
47
+ data](https://codemirror.net/6/docs/ref/#state.EditorState.languageDataAt).
48
+ */
49
+ const toggleLineComment = /*@__PURE__*/command(changeLineComment, 0 /* CommentOption.Toggle */);
50
+ /**
51
+ Comment or uncomment the current selection using block comments.
52
+ The block comment syntax is taken from the
53
+ [`commentTokens`](https://codemirror.net/6/docs/ref/#commands.CommentTokens) [language
54
+ data](https://codemirror.net/6/docs/ref/#state.EditorState.languageDataAt).
55
+ */
56
+ const toggleBlockComment = /*@__PURE__*/command(changeBlockComment, 0 /* CommentOption.Toggle */);
57
+ /**
58
+ Comment or uncomment the lines around the current selection using
59
+ block comments.
60
+ */
61
+ const toggleBlockCommentByLine = /*@__PURE__*/command((o, s) => changeBlockComment(o, s, selectedLineRanges(s)), 0 /* CommentOption.Toggle */);
62
+ function getConfig(state, pos) {
63
+ let data = state.languageDataAt("commentTokens", pos);
64
+ return data.length ? data[0] : {};
65
+ }
66
+ const SearchMargin = 50;
67
+ /**
68
+ Determines if the given range is block-commented in the given
69
+ state.
70
+ */
71
+ function findBlockComment(state, {
72
+ open,
73
+ close
74
+ }, from, to) {
75
+ let textBefore = state.sliceDoc(from - SearchMargin, from);
76
+ let textAfter = state.sliceDoc(to, to + SearchMargin);
77
+ let spaceBefore = /\s*$/.exec(textBefore)[0].length,
78
+ spaceAfter = /^\s*/.exec(textAfter)[0].length;
79
+ let beforeOff = textBefore.length - spaceBefore;
80
+ if (textBefore.slice(beforeOff - open.length, beforeOff) == open && textAfter.slice(spaceAfter, spaceAfter + close.length) == close) {
81
+ return {
82
+ open: {
83
+ pos: from - spaceBefore,
84
+ margin: spaceBefore && 1
85
+ },
86
+ close: {
87
+ pos: to + spaceAfter,
88
+ margin: spaceAfter && 1
89
+ }
90
+ };
91
+ }
92
+ let startText, endText;
93
+ if (to - from <= 2 * SearchMargin) {
94
+ startText = endText = state.sliceDoc(from, to);
95
+ } else {
96
+ startText = state.sliceDoc(from, from + SearchMargin);
97
+ endText = state.sliceDoc(to - SearchMargin, to);
98
+ }
99
+ let startSpace = /^\s*/.exec(startText)[0].length,
100
+ endSpace = /\s*$/.exec(endText)[0].length;
101
+ let endOff = endText.length - endSpace - close.length;
102
+ if (startText.slice(startSpace, startSpace + open.length) == open && endText.slice(endOff, endOff + close.length) == close) {
103
+ return {
104
+ open: {
105
+ pos: from + startSpace + open.length,
106
+ margin: /\s/.test(startText.charAt(startSpace + open.length)) ? 1 : 0
107
+ },
108
+ close: {
109
+ pos: to - endSpace - close.length,
110
+ margin: /\s/.test(endText.charAt(endOff - 1)) ? 1 : 0
111
+ }
112
+ };
113
+ }
114
+ return null;
115
+ }
116
+ function selectedLineRanges(state) {
117
+ let ranges = [];
118
+ for (let r of state.selection.ranges) {
119
+ let fromLine = state.doc.lineAt(r.from);
120
+ let toLine = r.to <= fromLine.to ? fromLine : state.doc.lineAt(r.to);
121
+ let last = ranges.length - 1;
122
+ if (last >= 0 && ranges[last].to > fromLine.from) ranges[last].to = toLine.to;else ranges.push({
123
+ from: fromLine.from,
124
+ to: toLine.to
125
+ });
126
+ }
127
+ return ranges;
128
+ }
129
+ // Performs toggle, comment and uncomment of block comments in
130
+ // languages that support them.
131
+ function changeBlockComment(option, state, ranges = state.selection.ranges) {
132
+ let tokens = ranges.map(r => getConfig(state, r.from).block);
133
+ if (!tokens.every(c => c)) return null;
134
+ let comments = ranges.map((r, i) => findBlockComment(state, tokens[i], r.from, r.to));
135
+ if (option != 2 /* CommentOption.Uncomment */ && !comments.every(c => c)) {
136
+ return {
137
+ changes: state.changes(ranges.map((range, i) => {
138
+ if (comments[i]) return [];
139
+ return [{
140
+ from: range.from,
141
+ insert: tokens[i].open + " "
142
+ }, {
143
+ from: range.to,
144
+ insert: " " + tokens[i].close
145
+ }];
146
+ }))
147
+ };
148
+ } else if (option != 1 /* CommentOption.Comment */ && comments.some(c => c)) {
149
+ let changes = [];
150
+ for (let i = 0, comment; i < comments.length; i++) if (comment = comments[i]) {
151
+ let token = tokens[i],
152
+ {
153
+ open,
154
+ close
155
+ } = comment;
156
+ changes.push({
157
+ from: open.pos - token.open.length,
158
+ to: open.pos + open.margin
159
+ }, {
160
+ from: close.pos - close.margin,
161
+ to: close.pos + token.close.length
162
+ });
163
+ }
164
+ return {
165
+ changes
166
+ };
167
+ }
168
+ return null;
169
+ }
170
+ // Performs toggle, comment and uncomment of line comments.
171
+ function changeLineComment(option, state, ranges = state.selection.ranges) {
172
+ let lines = [];
173
+ let prevLine = -1;
174
+ for (let {
175
+ from,
176
+ to
177
+ } of ranges) {
178
+ let startI = lines.length,
179
+ minIndent = 1e9;
180
+ for (let pos = from; pos <= to;) {
181
+ let line = state.doc.lineAt(pos);
182
+ if (line.from > prevLine && (from == to || to > line.from)) {
183
+ prevLine = line.from;
184
+ let token = getConfig(state, line.from).line;
185
+ if (!token) continue;
186
+ let indent = /^\s*/.exec(line.text)[0].length;
187
+ let empty = indent == line.length;
188
+ let comment = line.text.slice(indent, indent + token.length) == token ? indent : -1;
189
+ if (indent < line.text.length && indent < minIndent) minIndent = indent;
190
+ lines.push({
191
+ line,
192
+ comment,
193
+ token,
194
+ indent,
195
+ empty,
196
+ single: false
197
+ });
198
+ }
199
+ pos = line.to + 1;
200
+ }
201
+ if (minIndent < 1e9) for (let i = startI; i < lines.length; i++) if (lines[i].indent < lines[i].line.text.length) lines[i].indent = minIndent;
202
+ if (lines.length == startI + 1) lines[startI].single = true;
203
+ }
204
+ if (option != 2 /* CommentOption.Uncomment */ && lines.some(l => l.comment < 0 && (!l.empty || l.single))) {
205
+ let changes = [];
206
+ for (let {
207
+ line,
208
+ token,
209
+ indent,
210
+ empty,
211
+ single
212
+ } of lines) if (single || !empty) changes.push({
213
+ from: line.from + indent,
214
+ insert: token + " "
215
+ });
216
+ let changeSet = state.changes(changes);
217
+ return {
218
+ changes: changeSet,
219
+ selection: state.selection.map(changeSet, 1)
220
+ };
221
+ } else if (option != 1 /* CommentOption.Comment */ && lines.some(l => l.comment >= 0)) {
222
+ let changes = [];
223
+ for (let {
224
+ line,
225
+ comment,
226
+ token
227
+ } of lines) if (comment >= 0) {
228
+ let from = line.from + comment,
229
+ to = from + token.length;
230
+ if (line.text[to - line.from] == " ") to++;
231
+ changes.push({
232
+ from,
233
+ to
234
+ });
235
+ }
236
+ return {
237
+ changes
238
+ };
239
+ }
240
+ return null;
241
+ }
242
+ const fromHistory = /*@__PURE__*/Annotation.define();
243
+ /**
244
+ Transaction annotation that will prevent that transaction from
245
+ being combined with other transactions in the undo history. Given
246
+ `"before"`, it'll prevent merging with previous transactions. With
247
+ `"after"`, subsequent transactions won't be combined with this
248
+ one. With `"full"`, the transaction is isolated on both sides.
249
+ */
250
+ const isolateHistory = /*@__PURE__*/Annotation.define();
251
+ /**
252
+ This facet provides a way to register functions that, given a
253
+ transaction, provide a set of effects that the history should
254
+ store when inverting the transaction. This can be used to
255
+ integrate some kinds of effects in the history, so that they can
256
+ be undone (and redone again).
257
+ */
258
+ const invertedEffects = /*@__PURE__*/Facet.define();
259
+ const historyConfig = /*@__PURE__*/Facet.define({
260
+ combine(configs) {
261
+ return combineConfig(configs, {
262
+ minDepth: 100,
263
+ newGroupDelay: 500,
264
+ joinToEvent: (_t, isAdjacent) => isAdjacent
265
+ }, {
266
+ minDepth: Math.max,
267
+ newGroupDelay: Math.min,
268
+ joinToEvent: (a, b) => (tr, adj) => a(tr, adj) || b(tr, adj)
269
+ });
270
+ }
271
+ });
272
+ function changeEnd(changes) {
273
+ let end = 0;
274
+ changes.iterChangedRanges((_, to) => end = to);
275
+ return end;
276
+ }
277
+ const historyField_ = /*@__PURE__*/StateField.define({
278
+ create() {
279
+ return HistoryState.empty;
280
+ },
281
+ update(state, tr) {
282
+ let config = tr.state.facet(historyConfig);
283
+ let fromHist = tr.annotation(fromHistory);
284
+ if (fromHist) {
285
+ let selection = tr.docChanged ? EditorSelection.single(changeEnd(tr.changes)) : undefined;
286
+ let item = HistEvent.fromTransaction(tr, selection),
287
+ from = fromHist.side;
288
+ let other = from == 0 /* BranchName.Done */ ? state.undone : state.done;
289
+ if (item) other = updateBranch(other, other.length, config.minDepth, item);else other = addSelection(other, tr.startState.selection);
290
+ return new HistoryState(from == 0 /* BranchName.Done */ ? fromHist.rest : other, from == 0 /* BranchName.Done */ ? other : fromHist.rest);
291
+ }
292
+ let isolate = tr.annotation(isolateHistory);
293
+ if (isolate == "full" || isolate == "before") state = state.isolate();
294
+ if (tr.annotation(Transaction.addToHistory) === false) return !tr.changes.empty ? state.addMapping(tr.changes.desc) : state;
295
+ let event = HistEvent.fromTransaction(tr);
296
+ let time = tr.annotation(Transaction.time),
297
+ userEvent = tr.annotation(Transaction.userEvent);
298
+ if (event) state = state.addChanges(event, time, userEvent, config, tr);else if (tr.selection) state = state.addSelection(tr.startState.selection, time, userEvent, config.newGroupDelay);
299
+ if (isolate == "full" || isolate == "after") state = state.isolate();
300
+ return state;
301
+ },
302
+ toJSON(value) {
303
+ return {
304
+ done: value.done.map(e => e.toJSON()),
305
+ undone: value.undone.map(e => e.toJSON())
306
+ };
307
+ },
308
+ fromJSON(json) {
309
+ return new HistoryState(json.done.map(HistEvent.fromJSON), json.undone.map(HistEvent.fromJSON));
310
+ }
311
+ });
312
+ /**
313
+ Create a history extension with the given configuration.
314
+ */
315
+ function history(config = {}) {
316
+ return [historyField_, historyConfig.of(config), EditorView.domEventHandlers({
317
+ beforeinput(e, view) {
318
+ let command = e.inputType == "historyUndo" ? undo : e.inputType == "historyRedo" ? redo : null;
319
+ if (!command) return false;
320
+ e.preventDefault();
321
+ return command(view);
322
+ }
323
+ })];
324
+ }
325
+ function cmd(side, selection) {
326
+ return function ({
327
+ state,
328
+ dispatch
329
+ }) {
330
+ if (!selection && state.readOnly) return false;
331
+ let historyState = state.field(historyField_, false);
332
+ if (!historyState) return false;
333
+ let tr = historyState.pop(side, state, selection);
334
+ if (!tr) return false;
335
+ dispatch(tr);
336
+ return true;
337
+ };
338
+ }
339
+ /**
340
+ Undo a single group of history events. Returns false if no group
341
+ was available.
342
+ */
343
+ const undo = /*@__PURE__*/cmd(0 /* BranchName.Done */, false);
344
+ /**
345
+ Redo a group of history events. Returns false if no group was
346
+ available.
347
+ */
348
+ const redo = /*@__PURE__*/cmd(1 /* BranchName.Undone */, false);
349
+ /**
350
+ Undo a change or selection change.
351
+ */
352
+ const undoSelection = /*@__PURE__*/cmd(0 /* BranchName.Done */, true);
353
+ /**
354
+ Redo a change or selection change.
355
+ */
356
+ const redoSelection = /*@__PURE__*/cmd(1 /* BranchName.Undone */, true);
357
+ // History events store groups of changes or effects that need to be
358
+ // undone/redone together.
359
+ class HistEvent {
360
+ constructor(
361
+ // The changes in this event. Normal events hold at least one
362
+ // change or effect. But it may be necessary to store selection
363
+ // events before the first change, in which case a special type of
364
+ // instance is created which doesn't hold any changes, with
365
+ // changes == startSelection == undefined
366
+ changes,
367
+ // The effects associated with this event
368
+ effects,
369
+ // Accumulated mapping (from addToHistory==false) that should be
370
+ // applied to events below this one.
371
+ mapped,
372
+ // The selection before this event
373
+ startSelection,
374
+ // Stores selection changes after this event, to be used for
375
+ // selection undo/redo.
376
+ selectionsAfter) {
377
+ this.changes = changes;
378
+ this.effects = effects;
379
+ this.mapped = mapped;
380
+ this.startSelection = startSelection;
381
+ this.selectionsAfter = selectionsAfter;
382
+ }
383
+ setSelAfter(after) {
384
+ return new HistEvent(this.changes, this.effects, this.mapped, this.startSelection, after);
385
+ }
386
+ toJSON() {
387
+ var _a, _b, _c;
388
+ return {
389
+ changes: (_a = this.changes) === null || _a === void 0 ? void 0 : _a.toJSON(),
390
+ mapped: (_b = this.mapped) === null || _b === void 0 ? void 0 : _b.toJSON(),
391
+ startSelection: (_c = this.startSelection) === null || _c === void 0 ? void 0 : _c.toJSON(),
392
+ selectionsAfter: this.selectionsAfter.map(s => s.toJSON())
393
+ };
394
+ }
395
+ static fromJSON(json) {
396
+ 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));
397
+ }
398
+ // This does not check `addToHistory` and such, it assumes the
399
+ // transaction needs to be converted to an item. Returns null when
400
+ // there are no changes or effects in the transaction.
401
+ static fromTransaction(tr, selection) {
402
+ let effects = none;
403
+ for (let invert of tr.startState.facet(invertedEffects)) {
404
+ let result = invert(tr);
405
+ if (result.length) effects = effects.concat(result);
406
+ }
407
+ if (!effects.length && tr.changes.empty) return null;
408
+ return new HistEvent(tr.changes.invert(tr.startState.doc), effects, undefined, selection || tr.startState.selection, none);
409
+ }
410
+ static selection(selections) {
411
+ return new HistEvent(undefined, none, undefined, undefined, selections);
412
+ }
413
+ }
414
+ function updateBranch(branch, to, maxLen, newEvent) {
415
+ let start = to + 1 > maxLen + 20 ? to - maxLen - 1 : 0;
416
+ let newBranch = branch.slice(start, to);
417
+ newBranch.push(newEvent);
418
+ return newBranch;
419
+ }
420
+ function isAdjacent(a, b) {
421
+ let ranges = [],
422
+ isAdjacent = false;
423
+ a.iterChangedRanges((f, t) => ranges.push(f, t));
424
+ b.iterChangedRanges((_f, _t, f, t) => {
425
+ for (let i = 0; i < ranges.length;) {
426
+ let from = ranges[i++],
427
+ to = ranges[i++];
428
+ if (t >= from && f <= to) isAdjacent = true;
429
+ }
430
+ });
431
+ return isAdjacent;
432
+ }
433
+ function eqSelectionShape(a, b) {
434
+ return a.ranges.length == b.ranges.length && a.ranges.filter((r, i) => r.empty != b.ranges[i].empty).length === 0;
435
+ }
436
+ function conc(a, b) {
437
+ return !a.length ? b : !b.length ? a : a.concat(b);
438
+ }
439
+ const none = [];
440
+ const MaxSelectionsPerEvent = 200;
441
+ function addSelection(branch, selection) {
442
+ if (!branch.length) {
443
+ return [HistEvent.selection([selection])];
444
+ } else {
445
+ let lastEvent = branch[branch.length - 1];
446
+ let sels = lastEvent.selectionsAfter.slice(Math.max(0, lastEvent.selectionsAfter.length - MaxSelectionsPerEvent));
447
+ if (sels.length && sels[sels.length - 1].eq(selection)) return branch;
448
+ sels.push(selection);
449
+ return updateBranch(branch, branch.length - 1, 1e9, lastEvent.setSelAfter(sels));
450
+ }
451
+ }
452
+ // Assumes the top item has one or more selectionAfter values
453
+ function popSelection(branch) {
454
+ let last = branch[branch.length - 1];
455
+ let newBranch = branch.slice();
456
+ newBranch[branch.length - 1] = last.setSelAfter(last.selectionsAfter.slice(0, last.selectionsAfter.length - 1));
457
+ return newBranch;
458
+ }
459
+ // Add a mapping to the top event in the given branch. If this maps
460
+ // away all the changes and effects in that item, drop it and
461
+ // propagate the mapping to the next item.
462
+ function addMappingToBranch(branch, mapping) {
463
+ if (!branch.length) return branch;
464
+ let length = branch.length,
465
+ selections = none;
466
+ while (length) {
467
+ let event = mapEvent(branch[length - 1], mapping, selections);
468
+ if (event.changes && !event.changes.empty || event.effects.length) {
469
+ // Event survived mapping
470
+ let result = branch.slice(0, length);
471
+ result[length - 1] = event;
472
+ return result;
473
+ } else {
474
+ // Drop this event, since there's no changes or effects left
475
+ mapping = event.mapped;
476
+ length--;
477
+ selections = event.selectionsAfter;
478
+ }
479
+ }
480
+ return selections.length ? [HistEvent.selection(selections)] : none;
481
+ }
482
+ function mapEvent(event, mapping, extraSelections) {
483
+ let selections = conc(event.selectionsAfter.length ? event.selectionsAfter.map(s => s.map(mapping)) : none, extraSelections);
484
+ // Change-less events don't store mappings (they are always the last event in a branch)
485
+ if (!event.changes) return HistEvent.selection(selections);
486
+ let mappedChanges = event.changes.map(mapping),
487
+ before = mapping.mapDesc(event.changes, true);
488
+ let fullMapping = event.mapped ? event.mapped.composeDesc(before) : before;
489
+ return new HistEvent(mappedChanges, StateEffect.mapEffects(event.effects, mapping), fullMapping, event.startSelection.map(before), selections);
490
+ }
491
+ const joinableUserEvent = /^(input\.type|delete)($|\.)/;
492
+ class HistoryState {
493
+ constructor(done, undone, prevTime = 0, prevUserEvent = undefined) {
494
+ this.done = done;
495
+ this.undone = undone;
496
+ this.prevTime = prevTime;
497
+ this.prevUserEvent = prevUserEvent;
498
+ }
499
+ isolate() {
500
+ return this.prevTime ? new HistoryState(this.done, this.undone) : this;
501
+ }
502
+ addChanges(event, time, userEvent, config, tr) {
503
+ let done = this.done,
504
+ lastEvent = done[done.length - 1];
505
+ 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)) ||
506
+ // For compose (but not compose.start) events, always join with previous event
507
+ userEvent == "input.type.compose")) {
508
+ 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));
509
+ } else {
510
+ done = updateBranch(done, done.length, config.minDepth, event);
511
+ }
512
+ return new HistoryState(done, none, time, userEvent);
513
+ }
514
+ addSelection(selection, time, userEvent, newGroupDelay) {
515
+ let last = this.done.length ? this.done[this.done.length - 1].selectionsAfter : none;
516
+ if (last.length > 0 && time - this.prevTime < newGroupDelay && userEvent == this.prevUserEvent && userEvent && /^select($|\.)/.test(userEvent) && eqSelectionShape(last[last.length - 1], selection)) return this;
517
+ return new HistoryState(addSelection(this.done, selection), this.undone, time, userEvent);
518
+ }
519
+ addMapping(mapping) {
520
+ return new HistoryState(addMappingToBranch(this.done, mapping), addMappingToBranch(this.undone, mapping), this.prevTime, this.prevUserEvent);
521
+ }
522
+ pop(side, state, selection) {
523
+ let branch = side == 0 /* BranchName.Done */ ? this.done : this.undone;
524
+ if (branch.length == 0) return null;
525
+ let event = branch[branch.length - 1];
526
+ if (selection && event.selectionsAfter.length) {
527
+ return state.update({
528
+ selection: event.selectionsAfter[event.selectionsAfter.length - 1],
529
+ annotations: fromHistory.of({
530
+ side,
531
+ rest: popSelection(branch)
532
+ }),
533
+ userEvent: side == 0 /* BranchName.Done */ ? "select.undo" : "select.redo",
534
+ scrollIntoView: true
535
+ });
536
+ } else if (!event.changes) {
537
+ return null;
538
+ } else {
539
+ let rest = branch.length == 1 ? none : branch.slice(0, branch.length - 1);
540
+ if (event.mapped) rest = addMappingToBranch(rest, event.mapped);
541
+ return state.update({
542
+ changes: event.changes,
543
+ selection: event.startSelection,
544
+ effects: event.effects,
545
+ annotations: fromHistory.of({
546
+ side,
547
+ rest
548
+ }),
549
+ filter: false,
550
+ userEvent: side == 0 /* BranchName.Done */ ? "undo" : "redo",
551
+ scrollIntoView: true
552
+ });
553
+ }
554
+ }
555
+ }
556
+ HistoryState.empty = /*@__PURE__*/new HistoryState(none, none);
557
+ /**
558
+ Default key bindings for the undo history.
559
+
560
+ - Mod-z: [`undo`](https://codemirror.net/6/docs/ref/#commands.undo).
561
+ - Mod-y (Mod-Shift-z on macOS) + Ctrl-Shift-z on Linux: [`redo`](https://codemirror.net/6/docs/ref/#commands.redo).
562
+ - Mod-u: [`undoSelection`](https://codemirror.net/6/docs/ref/#commands.undoSelection).
563
+ - Alt-u (Mod-Shift-u on macOS): [`redoSelection`](https://codemirror.net/6/docs/ref/#commands.redoSelection).
564
+ */
565
+ const historyKeymap = [{
566
+ key: "Mod-z",
567
+ run: undo,
568
+ preventDefault: true
569
+ }, {
570
+ key: "Mod-y",
571
+ mac: "Mod-Shift-z",
572
+ run: redo,
573
+ preventDefault: true
574
+ }, {
575
+ linux: "Ctrl-Shift-z",
576
+ run: redo,
577
+ preventDefault: true
578
+ }, {
579
+ key: "Mod-u",
580
+ run: undoSelection,
581
+ preventDefault: true
582
+ }, {
583
+ key: "Alt-u",
584
+ mac: "Mod-Shift-u",
585
+ run: redoSelection,
586
+ preventDefault: true
587
+ }];
588
+ function updateSel(sel, by) {
589
+ return EditorSelection.create(sel.ranges.map(by), sel.mainIndex);
590
+ }
591
+ function setSel(state, selection) {
592
+ return state.update({
593
+ selection,
594
+ scrollIntoView: true,
595
+ userEvent: "select"
596
+ });
597
+ }
598
+ function moveSel({
599
+ state,
600
+ dispatch
601
+ }, how) {
602
+ let selection = updateSel(state.selection, how);
603
+ if (selection.eq(state.selection)) return false;
604
+ dispatch(setSel(state, selection));
605
+ return true;
606
+ }
607
+ function rangeEnd(range, forward) {
608
+ return EditorSelection.cursor(forward ? range.to : range.from);
609
+ }
610
+ function cursorByChar(view, forward) {
611
+ return moveSel(view, range => range.empty ? view.moveByChar(range, forward) : rangeEnd(range, forward));
612
+ }
613
+ function ltrAtCursor(view) {
614
+ return view.textDirectionAt(view.state.selection.main.head) == Direction.LTR;
615
+ }
616
+ /**
617
+ Move the selection one character to the left (which is backward in
618
+ left-to-right text, forward in right-to-left text).
619
+ */
620
+ const cursorCharLeft = view => cursorByChar(view, !ltrAtCursor(view));
621
+ /**
622
+ Move the selection one character to the right.
623
+ */
624
+ const cursorCharRight = view => cursorByChar(view, ltrAtCursor(view));
625
+ function cursorByGroup(view, forward) {
626
+ return moveSel(view, range => range.empty ? view.moveByGroup(range, forward) : rangeEnd(range, forward));
627
+ }
628
+ /**
629
+ Move the selection to the left across one group of word or
630
+ non-word (but also non-space) characters.
631
+ */
632
+ const cursorGroupLeft = view => cursorByGroup(view, !ltrAtCursor(view));
633
+ /**
634
+ Move the selection one group to the right.
635
+ */
636
+ const cursorGroupRight = view => cursorByGroup(view, ltrAtCursor(view));
637
+ function interestingNode(state, node, bracketProp) {
638
+ if (node.type.prop(bracketProp)) return true;
639
+ let len = node.to - node.from;
640
+ return len && (len > 2 || /[^\s,.;:]/.test(state.sliceDoc(node.from, node.to))) || node.firstChild;
641
+ }
642
+ function moveBySyntax(state, start, forward) {
643
+ let pos = syntaxTree(state).resolveInner(start.head);
644
+ let bracketProp = forward ? NodeProp.closedBy : NodeProp.openedBy;
645
+ // Scan forward through child nodes to see if there's an interesting
646
+ // node ahead.
647
+ for (let at = start.head;;) {
648
+ let next = forward ? pos.childAfter(at) : pos.childBefore(at);
649
+ if (!next) break;
650
+ if (interestingNode(state, next, bracketProp)) pos = next;else at = forward ? next.to : next.from;
651
+ }
652
+ let bracket = pos.type.prop(bracketProp),
653
+ match,
654
+ newPos;
655
+ 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;
656
+ return EditorSelection.cursor(newPos, forward ? -1 : 1);
657
+ }
658
+ /**
659
+ Move the cursor over the next syntactic element to the left.
660
+ */
661
+ const cursorSyntaxLeft = view => moveSel(view, range => moveBySyntax(view.state, range, !ltrAtCursor(view)));
662
+ /**
663
+ Move the cursor over the next syntactic element to the right.
664
+ */
665
+ const cursorSyntaxRight = view => moveSel(view, range => moveBySyntax(view.state, range, ltrAtCursor(view)));
666
+ function cursorByLine(view, forward) {
667
+ return moveSel(view, range => {
668
+ if (!range.empty) return rangeEnd(range, forward);
669
+ let moved = view.moveVertically(range, forward);
670
+ return moved.head != range.head ? moved : view.moveToLineBoundary(range, forward);
671
+ });
672
+ }
673
+ /**
674
+ Move the selection one line up.
675
+ */
676
+ const cursorLineUp = view => cursorByLine(view, false);
677
+ /**
678
+ Move the selection one line down.
679
+ */
680
+ const cursorLineDown = view => cursorByLine(view, true);
681
+ function pageInfo(view) {
682
+ let selfScroll = view.scrollDOM.clientHeight < view.scrollDOM.scrollHeight - 2;
683
+ let marginTop = 0,
684
+ marginBottom = 0,
685
+ height;
686
+ if (selfScroll) {
687
+ for (let source of view.state.facet(EditorView.scrollMargins)) {
688
+ let margins = source(view);
689
+ if (margins === null || margins === void 0 ? void 0 : margins.top) marginTop = Math.max(margins === null || margins === void 0 ? void 0 : margins.top, marginTop);
690
+ if (margins === null || margins === void 0 ? void 0 : margins.bottom) marginBottom = Math.max(margins === null || margins === void 0 ? void 0 : margins.bottom, marginBottom);
691
+ }
692
+ height = view.scrollDOM.clientHeight - marginTop - marginBottom;
693
+ } else {
694
+ height = (view.dom.ownerDocument.defaultView || window).innerHeight;
695
+ }
696
+ return {
697
+ marginTop,
698
+ marginBottom,
699
+ selfScroll,
700
+ height: Math.max(view.defaultLineHeight, height - 5)
701
+ };
702
+ }
703
+ function cursorByPage(view, forward) {
704
+ let page = pageInfo(view);
705
+ let {
706
+ state
707
+ } = view,
708
+ selection = updateSel(state.selection, range => {
709
+ return range.empty ? view.moveVertically(range, forward, page.height) : rangeEnd(range, forward);
710
+ });
711
+ if (selection.eq(state.selection)) return false;
712
+ let effect;
713
+ if (page.selfScroll) {
714
+ let startPos = view.coordsAtPos(state.selection.main.head);
715
+ let scrollRect = view.scrollDOM.getBoundingClientRect();
716
+ let scrollTop = scrollRect.top + page.marginTop,
717
+ scrollBottom = scrollRect.bottom - page.marginBottom;
718
+ if (startPos && startPos.top > scrollTop && startPos.bottom < scrollBottom) effect = EditorView.scrollIntoView(selection.main.head, {
719
+ y: "start",
720
+ yMargin: startPos.top - scrollTop
721
+ });
722
+ }
723
+ view.dispatch(setSel(state, selection), {
724
+ effects: effect
725
+ });
726
+ return true;
727
+ }
728
+ /**
729
+ Move the selection one page up.
730
+ */
731
+ const cursorPageUp = view => cursorByPage(view, false);
732
+ /**
733
+ Move the selection one page down.
734
+ */
735
+ const cursorPageDown = view => cursorByPage(view, true);
736
+ function moveByLineBoundary(view, start, forward) {
737
+ let line = view.lineBlockAt(start.head),
738
+ moved = view.moveToLineBoundary(start, forward);
739
+ if (moved.head == start.head && moved.head != (forward ? line.to : line.from)) moved = view.moveToLineBoundary(start, forward, false);
740
+ if (!forward && moved.head == line.from && line.length) {
741
+ let space = /^\s*/.exec(view.state.sliceDoc(line.from, Math.min(line.from + 100, line.to)))[0].length;
742
+ if (space && start.head != line.from + space) moved = EditorSelection.cursor(line.from + space);
743
+ }
744
+ return moved;
745
+ }
746
+ /**
747
+ Move the selection to the next line wrap point, or to the end of
748
+ the line if there isn't one left on this line.
749
+ */
750
+ const cursorLineBoundaryForward = view => moveSel(view, range => moveByLineBoundary(view, range, true));
751
+ /**
752
+ Move the selection to previous line wrap point, or failing that to
753
+ the start of the line. If the line is indented, and the cursor
754
+ isn't already at the end of the indentation, this will move to the
755
+ end of the indentation instead of the start of the line.
756
+ */
757
+ const cursorLineBoundaryBackward = view => moveSel(view, range => moveByLineBoundary(view, range, false));
758
+ /**
759
+ Move the selection one line wrap point to the left.
760
+ */
761
+ const cursorLineBoundaryLeft = view => moveSel(view, range => moveByLineBoundary(view, range, !ltrAtCursor(view)));
762
+ /**
763
+ Move the selection one line wrap point to the right.
764
+ */
765
+ const cursorLineBoundaryRight = view => moveSel(view, range => moveByLineBoundary(view, range, ltrAtCursor(view)));
766
+ /**
767
+ Move the selection to the start of the line.
768
+ */
769
+ const cursorLineStart = view => moveSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).from, 1));
770
+ /**
771
+ Move the selection to the end of the line.
772
+ */
773
+ const cursorLineEnd = view => moveSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).to, -1));
774
+ function toMatchingBracket(state, dispatch, extend) {
775
+ let found = false,
776
+ selection = updateSel(state.selection, range => {
777
+ 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);
778
+ if (!matching || !matching.end) return range;
779
+ found = true;
780
+ let head = matching.start.from == range.head ? matching.end.to : matching.end.from;
781
+ return extend ? EditorSelection.range(range.anchor, head) : EditorSelection.cursor(head);
782
+ });
783
+ if (!found) return false;
784
+ dispatch(setSel(state, selection));
785
+ return true;
786
+ }
787
+ /**
788
+ Move the selection to the bracket matching the one it is currently
789
+ on, if any.
790
+ */
791
+ const cursorMatchingBracket = ({
792
+ state,
793
+ dispatch
794
+ }) => toMatchingBracket(state, dispatch, false);
795
+ function extendSel(view, how) {
796
+ let selection = updateSel(view.state.selection, range => {
797
+ let head = how(range);
798
+ return EditorSelection.range(range.anchor, head.head, head.goalColumn, head.bidiLevel || undefined);
799
+ });
800
+ if (selection.eq(view.state.selection)) return false;
801
+ view.dispatch(setSel(view.state, selection));
802
+ return true;
803
+ }
804
+ function selectByChar(view, forward) {
805
+ return extendSel(view, range => view.moveByChar(range, forward));
806
+ }
807
+ /**
808
+ Move the selection head one character to the left, while leaving
809
+ the anchor in place.
810
+ */
811
+ const selectCharLeft = view => selectByChar(view, !ltrAtCursor(view));
812
+ /**
813
+ Move the selection head one character to the right.
814
+ */
815
+ const selectCharRight = view => selectByChar(view, ltrAtCursor(view));
816
+ function selectByGroup(view, forward) {
817
+ return extendSel(view, range => view.moveByGroup(range, forward));
818
+ }
819
+ /**
820
+ Move the selection head one [group](https://codemirror.net/6/docs/ref/#commands.cursorGroupLeft) to
821
+ the left.
822
+ */
823
+ const selectGroupLeft = view => selectByGroup(view, !ltrAtCursor(view));
824
+ /**
825
+ Move the selection head one group to the right.
826
+ */
827
+ const selectGroupRight = view => selectByGroup(view, ltrAtCursor(view));
828
+ /**
829
+ Move the selection head over the next syntactic element to the left.
830
+ */
831
+ const selectSyntaxLeft = view => extendSel(view, range => moveBySyntax(view.state, range, !ltrAtCursor(view)));
832
+ /**
833
+ Move the selection head over the next syntactic element to the right.
834
+ */
835
+ const selectSyntaxRight = view => extendSel(view, range => moveBySyntax(view.state, range, ltrAtCursor(view)));
836
+ function selectByLine(view, forward) {
837
+ return extendSel(view, range => view.moveVertically(range, forward));
838
+ }
839
+ /**
840
+ Move the selection head one line up.
841
+ */
842
+ const selectLineUp = view => selectByLine(view, false);
843
+ /**
844
+ Move the selection head one line down.
845
+ */
846
+ const selectLineDown = view => selectByLine(view, true);
847
+ function selectByPage(view, forward) {
848
+ return extendSel(view, range => view.moveVertically(range, forward, pageInfo(view).height));
849
+ }
850
+ /**
851
+ Move the selection head one page up.
852
+ */
853
+ const selectPageUp = view => selectByPage(view, false);
854
+ /**
855
+ Move the selection head one page down.
856
+ */
857
+ const selectPageDown = view => selectByPage(view, true);
858
+ /**
859
+ Move the selection head to the next line boundary.
860
+ */
861
+ const selectLineBoundaryForward = view => extendSel(view, range => moveByLineBoundary(view, range, true));
862
+ /**
863
+ Move the selection head to the previous line boundary.
864
+ */
865
+ const selectLineBoundaryBackward = view => extendSel(view, range => moveByLineBoundary(view, range, false));
866
+ /**
867
+ Move the selection head one line boundary to the left.
868
+ */
869
+ const selectLineBoundaryLeft = view => extendSel(view, range => moveByLineBoundary(view, range, !ltrAtCursor(view)));
870
+ /**
871
+ Move the selection head one line boundary to the right.
872
+ */
873
+ const selectLineBoundaryRight = view => extendSel(view, range => moveByLineBoundary(view, range, ltrAtCursor(view)));
874
+ /**
875
+ Move the selection head to the start of the line.
876
+ */
877
+ const selectLineStart = view => extendSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).from));
878
+ /**
879
+ Move the selection head to the end of the line.
880
+ */
881
+ const selectLineEnd = view => extendSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).to));
882
+ /**
883
+ Move the selection to the start of the document.
884
+ */
885
+ const cursorDocStart = ({
886
+ state,
887
+ dispatch
888
+ }) => {
889
+ dispatch(setSel(state, {
890
+ anchor: 0
891
+ }));
892
+ return true;
893
+ };
894
+ /**
895
+ Move the selection to the end of the document.
896
+ */
897
+ const cursorDocEnd = ({
898
+ state,
899
+ dispatch
900
+ }) => {
901
+ dispatch(setSel(state, {
902
+ anchor: state.doc.length
903
+ }));
904
+ return true;
905
+ };
906
+ /**
907
+ Move the selection head to the start of the document.
908
+ */
909
+ const selectDocStart = ({
910
+ state,
911
+ dispatch
912
+ }) => {
913
+ dispatch(setSel(state, {
914
+ anchor: state.selection.main.anchor,
915
+ head: 0
916
+ }));
917
+ return true;
918
+ };
919
+ /**
920
+ Move the selection head to the end of the document.
921
+ */
922
+ const selectDocEnd = ({
923
+ state,
924
+ dispatch
925
+ }) => {
926
+ dispatch(setSel(state, {
927
+ anchor: state.selection.main.anchor,
928
+ head: state.doc.length
929
+ }));
930
+ return true;
931
+ };
932
+ /**
933
+ Select the entire document.
934
+ */
935
+ const selectAll = ({
936
+ state,
937
+ dispatch
938
+ }) => {
939
+ dispatch(state.update({
940
+ selection: {
941
+ anchor: 0,
942
+ head: state.doc.length
943
+ },
944
+ userEvent: "select"
945
+ }));
946
+ return true;
947
+ };
948
+ /**
949
+ Expand the selection to cover entire lines.
950
+ */
951
+ const selectLine = ({
952
+ state,
953
+ dispatch
954
+ }) => {
955
+ let ranges = selectedLineBlocks(state).map(({
956
+ from,
957
+ to
958
+ }) => EditorSelection.range(from, Math.min(to + 1, state.doc.length)));
959
+ dispatch(state.update({
960
+ selection: EditorSelection.create(ranges),
961
+ userEvent: "select"
962
+ }));
963
+ return true;
964
+ };
965
+ /**
966
+ Select the next syntactic construct that is larger than the
967
+ selection. Note that this will only work insofar as the language
968
+ [provider](https://codemirror.net/6/docs/ref/#language.language) you use builds up a full
969
+ syntax tree.
970
+ */
971
+ const selectParentSyntax = ({
972
+ state,
973
+ dispatch
974
+ }) => {
975
+ let selection = updateSel(state.selection, range => {
976
+ var _a;
977
+ let context = syntaxTree(state).resolveInner(range.head, 1);
978
+ 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;
979
+ return EditorSelection.range(context.to, context.from);
980
+ });
981
+ dispatch(setSel(state, selection));
982
+ return true;
983
+ };
984
+ /**
985
+ Simplify the current selection. When multiple ranges are selected,
986
+ reduce it to its main range. Otherwise, if the selection is
987
+ non-empty, convert it to a cursor selection.
988
+ */
989
+ const simplifySelection = ({
990
+ state,
991
+ dispatch
992
+ }) => {
993
+ let cur = state.selection,
994
+ selection = null;
995
+ if (cur.ranges.length > 1) selection = EditorSelection.create([cur.main]);else if (!cur.main.empty) selection = EditorSelection.create([EditorSelection.cursor(cur.main.head)]);
996
+ if (!selection) return false;
997
+ dispatch(setSel(state, selection));
998
+ return true;
999
+ };
1000
+ function deleteBy(target, by) {
1001
+ if (target.state.readOnly) return false;
1002
+ let event = "delete.selection",
1003
+ {
1004
+ state
1005
+ } = target;
1006
+ let changes = state.changeByRange(range => {
1007
+ let {
1008
+ from,
1009
+ to
1010
+ } = range;
1011
+ if (from == to) {
1012
+ let towards = by(from);
1013
+ if (towards < from) {
1014
+ event = "delete.backward";
1015
+ towards = skipAtomic(target, towards, false);
1016
+ } else if (towards > from) {
1017
+ event = "delete.forward";
1018
+ towards = skipAtomic(target, towards, true);
1019
+ }
1020
+ from = Math.min(from, towards);
1021
+ to = Math.max(to, towards);
1022
+ } else {
1023
+ from = skipAtomic(target, from, false);
1024
+ to = skipAtomic(target, to, true);
1025
+ }
1026
+ return from == to ? {
1027
+ range
1028
+ } : {
1029
+ changes: {
1030
+ from,
1031
+ to
1032
+ },
1033
+ range: EditorSelection.cursor(from)
1034
+ };
1035
+ });
1036
+ if (changes.changes.empty) return false;
1037
+ target.dispatch(state.update(changes, {
1038
+ scrollIntoView: true,
1039
+ userEvent: event,
1040
+ effects: event == "delete.selection" ? EditorView.announce.of(state.phrase("Selection deleted")) : undefined
1041
+ }));
1042
+ return true;
1043
+ }
1044
+ function skipAtomic(target, pos, forward) {
1045
+ if (target instanceof EditorView) for (let ranges of target.state.facet(EditorView.atomicRanges).map(f => f(target))) ranges.between(pos, pos, (from, to) => {
1046
+ if (from < pos && to > pos) pos = forward ? to : from;
1047
+ });
1048
+ return pos;
1049
+ }
1050
+ const deleteByChar = (target, forward) => deleteBy(target, pos => {
1051
+ let {
1052
+ state
1053
+ } = target,
1054
+ line = state.doc.lineAt(pos),
1055
+ before,
1056
+ targetPos;
1057
+ if (!forward && pos > line.from && pos < line.from + 200 && !/[^ \t]/.test(before = line.text.slice(0, pos - line.from))) {
1058
+ if (before[before.length - 1] == "\t") return pos - 1;
1059
+ let col = countColumn(before, state.tabSize),
1060
+ drop = col % getIndentUnit(state) || getIndentUnit(state);
1061
+ for (let i = 0; i < drop && before[before.length - 1 - i] == " "; i++) pos--;
1062
+ targetPos = pos;
1063
+ } else {
1064
+ targetPos = findClusterBreak(line.text, pos - line.from, forward, forward) + line.from;
1065
+ if (targetPos == pos && line.number != (forward ? state.doc.lines : 1)) targetPos += forward ? 1 : -1;
1066
+ }
1067
+ return targetPos;
1068
+ });
1069
+ /**
1070
+ Delete the selection, or, for cursor selections, the character
1071
+ before the cursor.
1072
+ */
1073
+ const deleteCharBackward = view => deleteByChar(view, false);
1074
+ /**
1075
+ Delete the selection or the character after the cursor.
1076
+ */
1077
+ const deleteCharForward = view => deleteByChar(view, true);
1078
+ const deleteByGroup = (target, forward) => deleteBy(target, start => {
1079
+ let pos = start,
1080
+ {
1081
+ state
1082
+ } = target,
1083
+ line = state.doc.lineAt(pos);
1084
+ let categorize = state.charCategorizer(pos);
1085
+ for (let cat = null;;) {
1086
+ if (pos == (forward ? line.to : line.from)) {
1087
+ if (pos == start && line.number != (forward ? state.doc.lines : 1)) pos += forward ? 1 : -1;
1088
+ break;
1089
+ }
1090
+ let next = findClusterBreak(line.text, pos - line.from, forward) + line.from;
1091
+ let nextChar = line.text.slice(Math.min(pos, next) - line.from, Math.max(pos, next) - line.from);
1092
+ let nextCat = categorize(nextChar);
1093
+ if (cat != null && nextCat != cat) break;
1094
+ if (nextChar != " " || pos != start) cat = nextCat;
1095
+ pos = next;
1096
+ }
1097
+ return pos;
1098
+ });
1099
+ /**
1100
+ Delete the selection or backward until the end of the next
1101
+ [group](https://codemirror.net/6/docs/ref/#view.EditorView.moveByGroup), only skipping groups of
1102
+ whitespace when they consist of a single space.
1103
+ */
1104
+ const deleteGroupBackward = target => deleteByGroup(target, false);
1105
+ /**
1106
+ Delete the selection or forward until the end of the next group.
1107
+ */
1108
+ const deleteGroupForward = target => deleteByGroup(target, true);
1109
+ /**
1110
+ Delete the selection, or, if it is a cursor selection, delete to
1111
+ the end of the line. If the cursor is directly at the end of the
1112
+ line, delete the line break after it.
1113
+ */
1114
+ const deleteToLineEnd = view => deleteBy(view, pos => {
1115
+ let lineEnd = view.lineBlockAt(pos).to;
1116
+ return pos < lineEnd ? lineEnd : Math.min(view.state.doc.length, pos + 1);
1117
+ });
1118
+ /**
1119
+ Delete the selection, or, if it is a cursor selection, delete to
1120
+ the start of the line. If the cursor is directly at the start of the
1121
+ line, delete the line break before it.
1122
+ */
1123
+ const deleteToLineStart = view => deleteBy(view, pos => {
1124
+ let lineStart = view.lineBlockAt(pos).from;
1125
+ return pos > lineStart ? lineStart : Math.max(0, pos - 1);
1126
+ });
1127
+ /**
1128
+ Replace each selection range with a line break, leaving the cursor
1129
+ on the line before the break.
1130
+ */
1131
+ const splitLine = ({
1132
+ state,
1133
+ dispatch
1134
+ }) => {
1135
+ if (state.readOnly) return false;
1136
+ let changes = state.changeByRange(range => {
1137
+ return {
1138
+ changes: {
1139
+ from: range.from,
1140
+ to: range.to,
1141
+ insert: Text.of(["", ""])
1142
+ },
1143
+ range: EditorSelection.cursor(range.from)
1144
+ };
1145
+ });
1146
+ dispatch(state.update(changes, {
1147
+ scrollIntoView: true,
1148
+ userEvent: "input"
1149
+ }));
1150
+ return true;
1151
+ };
1152
+ /**
1153
+ Flip the characters before and after the cursor(s).
1154
+ */
1155
+ const transposeChars = ({
1156
+ state,
1157
+ dispatch
1158
+ }) => {
1159
+ if (state.readOnly) return false;
1160
+ let changes = state.changeByRange(range => {
1161
+ if (!range.empty || range.from == 0 || range.from == state.doc.length) return {
1162
+ range
1163
+ };
1164
+ let pos = range.from,
1165
+ line = state.doc.lineAt(pos);
1166
+ let from = pos == line.from ? pos - 1 : findClusterBreak(line.text, pos - line.from, false) + line.from;
1167
+ let to = pos == line.to ? pos + 1 : findClusterBreak(line.text, pos - line.from, true) + line.from;
1168
+ return {
1169
+ changes: {
1170
+ from,
1171
+ to,
1172
+ insert: state.doc.slice(pos, to).append(state.doc.slice(from, pos))
1173
+ },
1174
+ range: EditorSelection.cursor(to)
1175
+ };
1176
+ });
1177
+ if (changes.changes.empty) return false;
1178
+ dispatch(state.update(changes, {
1179
+ scrollIntoView: true,
1180
+ userEvent: "move.character"
1181
+ }));
1182
+ return true;
1183
+ };
1184
+ function selectedLineBlocks(state) {
1185
+ let blocks = [],
1186
+ upto = -1;
1187
+ for (let range of state.selection.ranges) {
1188
+ let startLine = state.doc.lineAt(range.from),
1189
+ endLine = state.doc.lineAt(range.to);
1190
+ if (!range.empty && range.to == endLine.from) endLine = state.doc.lineAt(range.to - 1);
1191
+ if (upto >= startLine.number) {
1192
+ let prev = blocks[blocks.length - 1];
1193
+ prev.to = endLine.to;
1194
+ prev.ranges.push(range);
1195
+ } else {
1196
+ blocks.push({
1197
+ from: startLine.from,
1198
+ to: endLine.to,
1199
+ ranges: [range]
1200
+ });
1201
+ }
1202
+ upto = endLine.number + 1;
1203
+ }
1204
+ return blocks;
1205
+ }
1206
+ function moveLine(state, dispatch, forward) {
1207
+ if (state.readOnly) return false;
1208
+ let changes = [],
1209
+ ranges = [];
1210
+ for (let block of selectedLineBlocks(state)) {
1211
+ if (forward ? block.to == state.doc.length : block.from == 0) continue;
1212
+ let nextLine = state.doc.lineAt(forward ? block.to + 1 : block.from - 1);
1213
+ let size = nextLine.length + 1;
1214
+ if (forward) {
1215
+ changes.push({
1216
+ from: block.to,
1217
+ to: nextLine.to
1218
+ }, {
1219
+ from: block.from,
1220
+ insert: nextLine.text + state.lineBreak
1221
+ });
1222
+ 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)));
1223
+ } else {
1224
+ changes.push({
1225
+ from: nextLine.from,
1226
+ to: block.from
1227
+ }, {
1228
+ from: block.to,
1229
+ insert: state.lineBreak + nextLine.text
1230
+ });
1231
+ for (let r of block.ranges) ranges.push(EditorSelection.range(r.anchor - size, r.head - size));
1232
+ }
1233
+ }
1234
+ if (!changes.length) return false;
1235
+ dispatch(state.update({
1236
+ changes,
1237
+ scrollIntoView: true,
1238
+ selection: EditorSelection.create(ranges, state.selection.mainIndex),
1239
+ userEvent: "move.line"
1240
+ }));
1241
+ return true;
1242
+ }
1243
+ /**
1244
+ Move the selected lines up one line.
1245
+ */
1246
+ const moveLineUp = ({
1247
+ state,
1248
+ dispatch
1249
+ }) => moveLine(state, dispatch, false);
1250
+ /**
1251
+ Move the selected lines down one line.
1252
+ */
1253
+ const moveLineDown = ({
1254
+ state,
1255
+ dispatch
1256
+ }) => moveLine(state, dispatch, true);
1257
+ function copyLine(state, dispatch, forward) {
1258
+ if (state.readOnly) return false;
1259
+ let changes = [];
1260
+ for (let block of selectedLineBlocks(state)) {
1261
+ if (forward) changes.push({
1262
+ from: block.from,
1263
+ insert: state.doc.slice(block.from, block.to) + state.lineBreak
1264
+ });else changes.push({
1265
+ from: block.to,
1266
+ insert: state.lineBreak + state.doc.slice(block.from, block.to)
1267
+ });
1268
+ }
1269
+ dispatch(state.update({
1270
+ changes,
1271
+ scrollIntoView: true,
1272
+ userEvent: "input.copyline"
1273
+ }));
1274
+ return true;
1275
+ }
1276
+ /**
1277
+ Create a copy of the selected lines. Keep the selection in the top copy.
1278
+ */
1279
+ const copyLineUp = ({
1280
+ state,
1281
+ dispatch
1282
+ }) => copyLine(state, dispatch, false);
1283
+ /**
1284
+ Create a copy of the selected lines. Keep the selection in the bottom copy.
1285
+ */
1286
+ const copyLineDown = ({
1287
+ state,
1288
+ dispatch
1289
+ }) => copyLine(state, dispatch, true);
1290
+ /**
1291
+ Delete selected lines.
1292
+ */
1293
+ const deleteLine = view => {
1294
+ if (view.state.readOnly) return false;
1295
+ let {
1296
+ state
1297
+ } = view,
1298
+ changes = state.changes(selectedLineBlocks(state).map(({
1299
+ from,
1300
+ to
1301
+ }) => {
1302
+ if (from > 0) from--;else if (to < state.doc.length) to++;
1303
+ return {
1304
+ from,
1305
+ to
1306
+ };
1307
+ }));
1308
+ let selection = updateSel(state.selection, range => view.moveVertically(range, true)).map(changes);
1309
+ view.dispatch({
1310
+ changes,
1311
+ selection,
1312
+ scrollIntoView: true,
1313
+ userEvent: "delete.line"
1314
+ });
1315
+ return true;
1316
+ };
1317
+ function isBetweenBrackets(state, pos) {
1318
+ if (/\(\)|\[\]|\{\}/.test(state.sliceDoc(pos - 1, pos + 1))) return {
1319
+ from: pos,
1320
+ to: pos
1321
+ };
1322
+ let context = syntaxTree(state).resolveInner(pos);
1323
+ let before = context.childBefore(pos),
1324
+ after = context.childAfter(pos),
1325
+ closedBy;
1326
+ 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 {
1327
+ from: before.to,
1328
+ to: after.from
1329
+ };
1330
+ return null;
1331
+ }
1332
+ /**
1333
+ Replace the selection with a newline and indent the newly created
1334
+ line(s). If the current line consists only of whitespace, this
1335
+ will also delete that whitespace. When the cursor is between
1336
+ matching brackets, an additional newline will be inserted after
1337
+ the cursor.
1338
+ */
1339
+ const insertNewlineAndIndent = /*@__PURE__*/newlineAndIndent(false);
1340
+ /**
1341
+ Create a blank, indented line below the current line.
1342
+ */
1343
+ const insertBlankLine = /*@__PURE__*/newlineAndIndent(true);
1344
+ function newlineAndIndent(atEof) {
1345
+ return ({
1346
+ state,
1347
+ dispatch
1348
+ }) => {
1349
+ if (state.readOnly) return false;
1350
+ let changes = state.changeByRange(range => {
1351
+ let {
1352
+ from,
1353
+ to
1354
+ } = range,
1355
+ line = state.doc.lineAt(from);
1356
+ let explode = !atEof && from == to && isBetweenBrackets(state, from);
1357
+ if (atEof) from = to = (to <= line.to ? line : state.doc.lineAt(to)).to;
1358
+ let cx = new IndentContext(state, {
1359
+ simulateBreak: from,
1360
+ simulateDoubleBreak: !!explode
1361
+ });
1362
+ let indent = getIndentation(cx, from);
1363
+ if (indent == null) indent = /^\s*/.exec(state.doc.lineAt(from).text)[0].length;
1364
+ while (to < line.to && /\s/.test(line.text[to - line.from])) to++;
1365
+ if (explode) ({
1366
+ from,
1367
+ to
1368
+ } = explode);else if (from > line.from && from < line.from + 100 && !/\S/.test(line.text.slice(0, from))) from = line.from;
1369
+ let insert = ["", indentString(state, indent)];
1370
+ if (explode) insert.push(indentString(state, cx.lineIndent(line.from, -1)));
1371
+ return {
1372
+ changes: {
1373
+ from,
1374
+ to,
1375
+ insert: Text.of(insert)
1376
+ },
1377
+ range: EditorSelection.cursor(from + 1 + insert[1].length)
1378
+ };
1379
+ });
1380
+ dispatch(state.update(changes, {
1381
+ scrollIntoView: true,
1382
+ userEvent: "input"
1383
+ }));
1384
+ return true;
1385
+ };
1386
+ }
1387
+ function changeBySelectedLine(state, f) {
1388
+ let atLine = -1;
1389
+ return state.changeByRange(range => {
1390
+ let changes = [];
1391
+ for (let pos = range.from; pos <= range.to;) {
1392
+ let line = state.doc.lineAt(pos);
1393
+ if (line.number > atLine && (range.empty || range.to > line.from)) {
1394
+ f(line, changes, range);
1395
+ atLine = line.number;
1396
+ }
1397
+ pos = line.to + 1;
1398
+ }
1399
+ let changeSet = state.changes(changes);
1400
+ return {
1401
+ changes,
1402
+ range: EditorSelection.range(changeSet.mapPos(range.anchor, 1), changeSet.mapPos(range.head, 1))
1403
+ };
1404
+ });
1405
+ }
1406
+ /**
1407
+ Auto-indent the selected lines. This uses the [indentation service
1408
+ facet](https://codemirror.net/6/docs/ref/#language.indentService) as source for auto-indent
1409
+ information.
1410
+ */
1411
+ const indentSelection = ({
1412
+ state,
1413
+ dispatch
1414
+ }) => {
1415
+ if (state.readOnly) return false;
1416
+ let updated = Object.create(null);
1417
+ let context = new IndentContext(state, {
1418
+ overrideIndentation: start => {
1419
+ let found = updated[start];
1420
+ return found == null ? -1 : found;
1421
+ }
1422
+ });
1423
+ let changes = changeBySelectedLine(state, (line, changes, range) => {
1424
+ let indent = getIndentation(context, line.from);
1425
+ if (indent == null) return;
1426
+ if (!/\S/.test(line.text)) indent = 0;
1427
+ let cur = /^\s*/.exec(line.text)[0];
1428
+ let norm = indentString(state, indent);
1429
+ if (cur != norm || range.from < line.from + cur.length) {
1430
+ updated[line.from] = indent;
1431
+ changes.push({
1432
+ from: line.from,
1433
+ to: line.from + cur.length,
1434
+ insert: norm
1435
+ });
1436
+ }
1437
+ });
1438
+ if (!changes.changes.empty) dispatch(state.update(changes, {
1439
+ userEvent: "indent"
1440
+ }));
1441
+ return true;
1442
+ };
1443
+ /**
1444
+ Add a [unit](https://codemirror.net/6/docs/ref/#language.indentUnit) of indentation to all selected
1445
+ lines.
1446
+ */
1447
+ const indentMore = ({
1448
+ state,
1449
+ dispatch
1450
+ }) => {
1451
+ if (state.readOnly) return false;
1452
+ dispatch(state.update(changeBySelectedLine(state, (line, changes) => {
1453
+ changes.push({
1454
+ from: line.from,
1455
+ insert: state.facet(indentUnit)
1456
+ });
1457
+ }), {
1458
+ userEvent: "input.indent"
1459
+ }));
1460
+ return true;
1461
+ };
1462
+ /**
1463
+ Remove a [unit](https://codemirror.net/6/docs/ref/#language.indentUnit) of indentation from all
1464
+ selected lines.
1465
+ */
1466
+ const indentLess = ({
1467
+ state,
1468
+ dispatch
1469
+ }) => {
1470
+ if (state.readOnly) return false;
1471
+ dispatch(state.update(changeBySelectedLine(state, (line, changes) => {
1472
+ let space = /^\s*/.exec(line.text)[0];
1473
+ if (!space) return;
1474
+ let col = countColumn(space, state.tabSize),
1475
+ keep = 0;
1476
+ let insert = indentString(state, Math.max(0, col - getIndentUnit(state)));
1477
+ while (keep < space.length && keep < insert.length && space.charCodeAt(keep) == insert.charCodeAt(keep)) keep++;
1478
+ changes.push({
1479
+ from: line.from + keep,
1480
+ to: line.from + space.length,
1481
+ insert: insert.slice(keep)
1482
+ });
1483
+ }), {
1484
+ userEvent: "delete.dedent"
1485
+ }));
1486
+ return true;
1487
+ };
1488
+ /**
1489
+ Array of key bindings containing the Emacs-style bindings that are
1490
+ available on macOS by default.
1491
+
1492
+ - Ctrl-b: [`cursorCharLeft`](https://codemirror.net/6/docs/ref/#commands.cursorCharLeft) ([`selectCharLeft`](https://codemirror.net/6/docs/ref/#commands.selectCharLeft) with Shift)
1493
+ - Ctrl-f: [`cursorCharRight`](https://codemirror.net/6/docs/ref/#commands.cursorCharRight) ([`selectCharRight`](https://codemirror.net/6/docs/ref/#commands.selectCharRight) with Shift)
1494
+ - Ctrl-p: [`cursorLineUp`](https://codemirror.net/6/docs/ref/#commands.cursorLineUp) ([`selectLineUp`](https://codemirror.net/6/docs/ref/#commands.selectLineUp) with Shift)
1495
+ - Ctrl-n: [`cursorLineDown`](https://codemirror.net/6/docs/ref/#commands.cursorLineDown) ([`selectLineDown`](https://codemirror.net/6/docs/ref/#commands.selectLineDown) with Shift)
1496
+ - Ctrl-a: [`cursorLineStart`](https://codemirror.net/6/docs/ref/#commands.cursorLineStart) ([`selectLineStart`](https://codemirror.net/6/docs/ref/#commands.selectLineStart) with Shift)
1497
+ - Ctrl-e: [`cursorLineEnd`](https://codemirror.net/6/docs/ref/#commands.cursorLineEnd) ([`selectLineEnd`](https://codemirror.net/6/docs/ref/#commands.selectLineEnd) with Shift)
1498
+ - Ctrl-d: [`deleteCharForward`](https://codemirror.net/6/docs/ref/#commands.deleteCharForward)
1499
+ - Ctrl-h: [`deleteCharBackward`](https://codemirror.net/6/docs/ref/#commands.deleteCharBackward)
1500
+ - Ctrl-k: [`deleteToLineEnd`](https://codemirror.net/6/docs/ref/#commands.deleteToLineEnd)
1501
+ - Ctrl-Alt-h: [`deleteGroupBackward`](https://codemirror.net/6/docs/ref/#commands.deleteGroupBackward)
1502
+ - Ctrl-o: [`splitLine`](https://codemirror.net/6/docs/ref/#commands.splitLine)
1503
+ - Ctrl-t: [`transposeChars`](https://codemirror.net/6/docs/ref/#commands.transposeChars)
1504
+ - Ctrl-v: [`cursorPageDown`](https://codemirror.net/6/docs/ref/#commands.cursorPageDown)
1505
+ - Alt-v: [`cursorPageUp`](https://codemirror.net/6/docs/ref/#commands.cursorPageUp)
1506
+ */
1507
+ const emacsStyleKeymap = [{
1508
+ key: "Ctrl-b",
1509
+ run: cursorCharLeft,
1510
+ shift: selectCharLeft,
1511
+ preventDefault: true
1512
+ }, {
1513
+ key: "Ctrl-f",
1514
+ run: cursorCharRight,
1515
+ shift: selectCharRight
1516
+ }, {
1517
+ key: "Ctrl-p",
1518
+ run: cursorLineUp,
1519
+ shift: selectLineUp
1520
+ }, {
1521
+ key: "Ctrl-n",
1522
+ run: cursorLineDown,
1523
+ shift: selectLineDown
1524
+ }, {
1525
+ key: "Ctrl-a",
1526
+ run: cursorLineStart,
1527
+ shift: selectLineStart
1528
+ }, {
1529
+ key: "Ctrl-e",
1530
+ run: cursorLineEnd,
1531
+ shift: selectLineEnd
1532
+ }, {
1533
+ key: "Ctrl-d",
1534
+ run: deleteCharForward
1535
+ }, {
1536
+ key: "Ctrl-h",
1537
+ run: deleteCharBackward
1538
+ }, {
1539
+ key: "Ctrl-k",
1540
+ run: deleteToLineEnd
1541
+ }, {
1542
+ key: "Ctrl-Alt-h",
1543
+ run: deleteGroupBackward
1544
+ }, {
1545
+ key: "Ctrl-o",
1546
+ run: splitLine
1547
+ }, {
1548
+ key: "Ctrl-t",
1549
+ run: transposeChars
1550
+ }, {
1551
+ key: "Ctrl-v",
1552
+ run: cursorPageDown
1553
+ }];
1554
+ /**
1555
+ An array of key bindings closely sticking to platform-standard or
1556
+ widely used bindings. (This includes the bindings from
1557
+ [`emacsStyleKeymap`](https://codemirror.net/6/docs/ref/#commands.emacsStyleKeymap), with their `key`
1558
+ property changed to `mac`.)
1559
+
1560
+ - ArrowLeft: [`cursorCharLeft`](https://codemirror.net/6/docs/ref/#commands.cursorCharLeft) ([`selectCharLeft`](https://codemirror.net/6/docs/ref/#commands.selectCharLeft) with Shift)
1561
+ - ArrowRight: [`cursorCharRight`](https://codemirror.net/6/docs/ref/#commands.cursorCharRight) ([`selectCharRight`](https://codemirror.net/6/docs/ref/#commands.selectCharRight) with Shift)
1562
+ - 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)
1563
+ - 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)
1564
+ - Cmd-ArrowLeft (on macOS): [`cursorLineStart`](https://codemirror.net/6/docs/ref/#commands.cursorLineStart) ([`selectLineStart`](https://codemirror.net/6/docs/ref/#commands.selectLineStart) with Shift)
1565
+ - Cmd-ArrowRight (on macOS): [`cursorLineEnd`](https://codemirror.net/6/docs/ref/#commands.cursorLineEnd) ([`selectLineEnd`](https://codemirror.net/6/docs/ref/#commands.selectLineEnd) with Shift)
1566
+ - ArrowUp: [`cursorLineUp`](https://codemirror.net/6/docs/ref/#commands.cursorLineUp) ([`selectLineUp`](https://codemirror.net/6/docs/ref/#commands.selectLineUp) with Shift)
1567
+ - ArrowDown: [`cursorLineDown`](https://codemirror.net/6/docs/ref/#commands.cursorLineDown) ([`selectLineDown`](https://codemirror.net/6/docs/ref/#commands.selectLineDown) with Shift)
1568
+ - Cmd-ArrowUp (on macOS): [`cursorDocStart`](https://codemirror.net/6/docs/ref/#commands.cursorDocStart) ([`selectDocStart`](https://codemirror.net/6/docs/ref/#commands.selectDocStart) with Shift)
1569
+ - Cmd-ArrowDown (on macOS): [`cursorDocEnd`](https://codemirror.net/6/docs/ref/#commands.cursorDocEnd) ([`selectDocEnd`](https://codemirror.net/6/docs/ref/#commands.selectDocEnd) with Shift)
1570
+ - Ctrl-ArrowUp (on macOS): [`cursorPageUp`](https://codemirror.net/6/docs/ref/#commands.cursorPageUp) ([`selectPageUp`](https://codemirror.net/6/docs/ref/#commands.selectPageUp) with Shift)
1571
+ - Ctrl-ArrowDown (on macOS): [`cursorPageDown`](https://codemirror.net/6/docs/ref/#commands.cursorPageDown) ([`selectPageDown`](https://codemirror.net/6/docs/ref/#commands.selectPageDown) with Shift)
1572
+ - PageUp: [`cursorPageUp`](https://codemirror.net/6/docs/ref/#commands.cursorPageUp) ([`selectPageUp`](https://codemirror.net/6/docs/ref/#commands.selectPageUp) with Shift)
1573
+ - PageDown: [`cursorPageDown`](https://codemirror.net/6/docs/ref/#commands.cursorPageDown) ([`selectPageDown`](https://codemirror.net/6/docs/ref/#commands.selectPageDown) with Shift)
1574
+ - Home: [`cursorLineBoundaryBackward`](https://codemirror.net/6/docs/ref/#commands.cursorLineBoundaryBackward) ([`selectLineBoundaryBackward`](https://codemirror.net/6/docs/ref/#commands.selectLineBoundaryBackward) with Shift)
1575
+ - End: [`cursorLineBoundaryForward`](https://codemirror.net/6/docs/ref/#commands.cursorLineBoundaryForward) ([`selectLineBoundaryForward`](https://codemirror.net/6/docs/ref/#commands.selectLineBoundaryForward) with Shift)
1576
+ - 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)
1577
+ - 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)
1578
+ - Enter: [`insertNewlineAndIndent`](https://codemirror.net/6/docs/ref/#commands.insertNewlineAndIndent)
1579
+ - Ctrl-a (Cmd-a on macOS): [`selectAll`](https://codemirror.net/6/docs/ref/#commands.selectAll)
1580
+ - Backspace: [`deleteCharBackward`](https://codemirror.net/6/docs/ref/#commands.deleteCharBackward)
1581
+ - Delete: [`deleteCharForward`](https://codemirror.net/6/docs/ref/#commands.deleteCharForward)
1582
+ - Ctrl-Backspace (Alt-Backspace on macOS): [`deleteGroupBackward`](https://codemirror.net/6/docs/ref/#commands.deleteGroupBackward)
1583
+ - Ctrl-Delete (Alt-Delete on macOS): [`deleteGroupForward`](https://codemirror.net/6/docs/ref/#commands.deleteGroupForward)
1584
+ - Cmd-Backspace (macOS): [`deleteToLineStart`](https://codemirror.net/6/docs/ref/#commands.deleteToLineStart).
1585
+ - Cmd-Delete (macOS): [`deleteToLineEnd`](https://codemirror.net/6/docs/ref/#commands.deleteToLineEnd).
1586
+ */
1587
+ const standardKeymap = /*@__PURE__*/[{
1588
+ key: "ArrowLeft",
1589
+ run: cursorCharLeft,
1590
+ shift: selectCharLeft,
1591
+ preventDefault: true
1592
+ }, {
1593
+ key: "Mod-ArrowLeft",
1594
+ mac: "Alt-ArrowLeft",
1595
+ run: cursorGroupLeft,
1596
+ shift: selectGroupLeft,
1597
+ preventDefault: true
1598
+ }, {
1599
+ mac: "Cmd-ArrowLeft",
1600
+ run: cursorLineBoundaryLeft,
1601
+ shift: selectLineBoundaryLeft,
1602
+ preventDefault: true
1603
+ }, {
1604
+ key: "ArrowRight",
1605
+ run: cursorCharRight,
1606
+ shift: selectCharRight,
1607
+ preventDefault: true
1608
+ }, {
1609
+ key: "Mod-ArrowRight",
1610
+ mac: "Alt-ArrowRight",
1611
+ run: cursorGroupRight,
1612
+ shift: selectGroupRight,
1613
+ preventDefault: true
1614
+ }, {
1615
+ mac: "Cmd-ArrowRight",
1616
+ run: cursorLineBoundaryRight,
1617
+ shift: selectLineBoundaryRight,
1618
+ preventDefault: true
1619
+ }, {
1620
+ key: "ArrowUp",
1621
+ run: cursorLineUp,
1622
+ shift: selectLineUp,
1623
+ preventDefault: true
1624
+ }, {
1625
+ mac: "Cmd-ArrowUp",
1626
+ run: cursorDocStart,
1627
+ shift: selectDocStart
1628
+ }, {
1629
+ mac: "Ctrl-ArrowUp",
1630
+ run: cursorPageUp,
1631
+ shift: selectPageUp
1632
+ }, {
1633
+ key: "ArrowDown",
1634
+ run: cursorLineDown,
1635
+ shift: selectLineDown,
1636
+ preventDefault: true
1637
+ }, {
1638
+ mac: "Cmd-ArrowDown",
1639
+ run: cursorDocEnd,
1640
+ shift: selectDocEnd
1641
+ }, {
1642
+ mac: "Ctrl-ArrowDown",
1643
+ run: cursorPageDown,
1644
+ shift: selectPageDown
1645
+ }, {
1646
+ key: "PageUp",
1647
+ run: cursorPageUp,
1648
+ shift: selectPageUp
1649
+ }, {
1650
+ key: "PageDown",
1651
+ run: cursorPageDown,
1652
+ shift: selectPageDown
1653
+ }, {
1654
+ key: "Home",
1655
+ run: cursorLineBoundaryBackward,
1656
+ shift: selectLineBoundaryBackward,
1657
+ preventDefault: true
1658
+ }, {
1659
+ key: "Mod-Home",
1660
+ run: cursorDocStart,
1661
+ shift: selectDocStart
1662
+ }, {
1663
+ key: "End",
1664
+ run: cursorLineBoundaryForward,
1665
+ shift: selectLineBoundaryForward,
1666
+ preventDefault: true
1667
+ }, {
1668
+ key: "Mod-End",
1669
+ run: cursorDocEnd,
1670
+ shift: selectDocEnd
1671
+ }, {
1672
+ key: "Enter",
1673
+ run: insertNewlineAndIndent
1674
+ }, {
1675
+ key: "Mod-a",
1676
+ run: selectAll
1677
+ }, {
1678
+ key: "Backspace",
1679
+ run: deleteCharBackward,
1680
+ shift: deleteCharBackward
1681
+ }, {
1682
+ key: "Delete",
1683
+ run: deleteCharForward
1684
+ }, {
1685
+ key: "Mod-Backspace",
1686
+ mac: "Alt-Backspace",
1687
+ run: deleteGroupBackward
1688
+ }, {
1689
+ key: "Mod-Delete",
1690
+ mac: "Alt-Delete",
1691
+ run: deleteGroupForward
1692
+ }, {
1693
+ mac: "Mod-Backspace",
1694
+ run: deleteToLineStart
1695
+ }, {
1696
+ mac: "Mod-Delete",
1697
+ run: deleteToLineEnd
1698
+ }].concat( /*@__PURE__*/emacsStyleKeymap.map(b => ({
1699
+ mac: b.key,
1700
+ run: b.run,
1701
+ shift: b.shift
1702
+ })));
1703
+ /**
1704
+ The default keymap. Includes all bindings from
1705
+ [`standardKeymap`](https://codemirror.net/6/docs/ref/#commands.standardKeymap) plus the following:
1706
+
1707
+ - 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)
1708
+ - 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)
1709
+ - Alt-ArrowUp: [`moveLineUp`](https://codemirror.net/6/docs/ref/#commands.moveLineUp)
1710
+ - Alt-ArrowDown: [`moveLineDown`](https://codemirror.net/6/docs/ref/#commands.moveLineDown)
1711
+ - Shift-Alt-ArrowUp: [`copyLineUp`](https://codemirror.net/6/docs/ref/#commands.copyLineUp)
1712
+ - Shift-Alt-ArrowDown: [`copyLineDown`](https://codemirror.net/6/docs/ref/#commands.copyLineDown)
1713
+ - Escape: [`simplifySelection`](https://codemirror.net/6/docs/ref/#commands.simplifySelection)
1714
+ - Ctrl-Enter (Comd-Enter on macOS): [`insertBlankLine`](https://codemirror.net/6/docs/ref/#commands.insertBlankLine)
1715
+ - Alt-l (Ctrl-l on macOS): [`selectLine`](https://codemirror.net/6/docs/ref/#commands.selectLine)
1716
+ - Ctrl-i (Cmd-i on macOS): [`selectParentSyntax`](https://codemirror.net/6/docs/ref/#commands.selectParentSyntax)
1717
+ - Ctrl-[ (Cmd-[ on macOS): [`indentLess`](https://codemirror.net/6/docs/ref/#commands.indentLess)
1718
+ - Ctrl-] (Cmd-] on macOS): [`indentMore`](https://codemirror.net/6/docs/ref/#commands.indentMore)
1719
+ - Ctrl-Alt-\\ (Cmd-Alt-\\ on macOS): [`indentSelection`](https://codemirror.net/6/docs/ref/#commands.indentSelection)
1720
+ - Shift-Ctrl-k (Shift-Cmd-k on macOS): [`deleteLine`](https://codemirror.net/6/docs/ref/#commands.deleteLine)
1721
+ - Shift-Ctrl-\\ (Shift-Cmd-\\ on macOS): [`cursorMatchingBracket`](https://codemirror.net/6/docs/ref/#commands.cursorMatchingBracket)
1722
+ - Ctrl-/ (Cmd-/ on macOS): [`toggleComment`](https://codemirror.net/6/docs/ref/#commands.toggleComment).
1723
+ - Shift-Alt-a: [`toggleBlockComment`](https://codemirror.net/6/docs/ref/#commands.toggleBlockComment).
1724
+ */
1725
+ const defaultKeymap = /*@__PURE__*/[{
1726
+ key: "Alt-ArrowLeft",
1727
+ mac: "Ctrl-ArrowLeft",
1728
+ run: cursorSyntaxLeft,
1729
+ shift: selectSyntaxLeft
1730
+ }, {
1731
+ key: "Alt-ArrowRight",
1732
+ mac: "Ctrl-ArrowRight",
1733
+ run: cursorSyntaxRight,
1734
+ shift: selectSyntaxRight
1735
+ }, {
1736
+ key: "Alt-ArrowUp",
1737
+ run: moveLineUp
1738
+ }, {
1739
+ key: "Shift-Alt-ArrowUp",
1740
+ run: copyLineUp
1741
+ }, {
1742
+ key: "Alt-ArrowDown",
1743
+ run: moveLineDown
1744
+ }, {
1745
+ key: "Shift-Alt-ArrowDown",
1746
+ run: copyLineDown
1747
+ }, {
1748
+ key: "Escape",
1749
+ run: simplifySelection
1750
+ }, {
1751
+ key: "Mod-Enter",
1752
+ run: insertBlankLine
1753
+ }, {
1754
+ key: "Alt-l",
1755
+ mac: "Ctrl-l",
1756
+ run: selectLine
1757
+ }, {
1758
+ key: "Mod-i",
1759
+ run: selectParentSyntax,
1760
+ preventDefault: true
1761
+ }, {
1762
+ key: "Mod-[",
1763
+ run: indentLess
1764
+ }, {
1765
+ key: "Mod-]",
1766
+ run: indentMore
1767
+ }, {
1768
+ key: "Mod-Alt-\\",
1769
+ run: indentSelection
1770
+ }, {
1771
+ key: "Shift-Mod-k",
1772
+ run: deleteLine
1773
+ }, {
1774
+ key: "Shift-Mod-\\",
1775
+ run: cursorMatchingBracket
1776
+ }, {
1777
+ key: "Mod-/",
1778
+ run: toggleComment
1779
+ }, {
1780
+ key: "Alt-A",
1781
+ run: toggleBlockComment
1782
+ }].concat(standardKeymap);
1783
+ /**
1784
+ A binding that binds Tab to [`indentMore`](https://codemirror.net/6/docs/ref/#commands.indentMore) and
1785
+ Shift-Tab to [`indentLess`](https://codemirror.net/6/docs/ref/#commands.indentLess).
1786
+ Please see the [Tab example](../../examples/tab/) before using
1787
+ this.
1788
+ */
1789
+ const indentWithTab = {
1790
+ key: "Tab",
1791
+ run: indentMore,
1792
+ shift: indentLess
1793
+ };
1794
+
1795
+ function crelt() {
1796
+ var elt = arguments[0];
1797
+ if (typeof elt == "string") elt = document.createElement(elt);
1798
+ var i = 1,
1799
+ next = arguments[1];
1800
+ if (next && typeof next == "object" && next.nodeType == null && !Array.isArray(next)) {
1801
+ for (var name in next) if (Object.prototype.hasOwnProperty.call(next, name)) {
1802
+ var value = next[name];
1803
+ if (typeof value == "string") elt.setAttribute(name, value);else if (value != null) elt[name] = value;
1804
+ }
1805
+ i++;
1806
+ }
1807
+ for (; i < arguments.length; i++) add(elt, arguments[i]);
1808
+ return elt;
1809
+ }
1810
+ function add(elt, child) {
1811
+ if (typeof child == "string") {
1812
+ elt.appendChild(document.createTextNode(child));
1813
+ } else if (child == null) ; else if (child.nodeType != null) {
1814
+ elt.appendChild(child);
1815
+ } else if (Array.isArray(child)) {
1816
+ for (var i = 0; i < child.length; i++) add(elt, child[i]);
1817
+ } else {
1818
+ throw new RangeError("Unsupported child node: " + child);
1819
+ }
1820
+ }
1821
+
1822
+ const basicNormalize = typeof String.prototype.normalize == "function" ? x => x.normalize("NFKD") : x => x;
1823
+ /**
1824
+ A search cursor provides an iterator over text matches in a
1825
+ document.
1826
+ */
1827
+ class SearchCursor {
1828
+ /**
1829
+ Create a text cursor. The query is the search string, `from` to
1830
+ `to` provides the region to search.
1831
+
1832
+ When `normalize` is given, it will be called, on both the query
1833
+ string and the content it is matched against, before comparing.
1834
+ You can, for example, create a case-insensitive search by
1835
+ passing `s => s.toLowerCase()`.
1836
+
1837
+ Text is always normalized with
1838
+ [`.normalize("NFKD")`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize)
1839
+ (when supported).
1840
+ */
1841
+ constructor(text, query, from = 0, to = text.length, normalize, test) {
1842
+ this.test = test;
1843
+ /**
1844
+ The current match (only holds a meaningful value after
1845
+ [`next`](https://codemirror.net/6/docs/ref/#search.SearchCursor.next) has been called and when
1846
+ `done` is false).
1847
+ */
1848
+ this.value = {
1849
+ from: 0,
1850
+ to: 0
1851
+ };
1852
+ /**
1853
+ Whether the end of the iterated region has been reached.
1854
+ */
1855
+ this.done = false;
1856
+ this.matches = [];
1857
+ this.buffer = "";
1858
+ this.bufferPos = 0;
1859
+ this.iter = text.iterRange(from, to);
1860
+ this.bufferStart = from;
1861
+ this.normalize = normalize ? x => normalize(basicNormalize(x)) : basicNormalize;
1862
+ this.query = this.normalize(query);
1863
+ }
1864
+ peek() {
1865
+ if (this.bufferPos == this.buffer.length) {
1866
+ this.bufferStart += this.buffer.length;
1867
+ this.iter.next();
1868
+ if (this.iter.done) return -1;
1869
+ this.bufferPos = 0;
1870
+ this.buffer = this.iter.value;
1871
+ }
1872
+ return codePointAt(this.buffer, this.bufferPos);
1873
+ }
1874
+ /**
1875
+ Look for the next match. Updates the iterator's
1876
+ [`value`](https://codemirror.net/6/docs/ref/#search.SearchCursor.value) and
1877
+ [`done`](https://codemirror.net/6/docs/ref/#search.SearchCursor.done) properties. Should be called
1878
+ at least once before using the cursor.
1879
+ */
1880
+ next() {
1881
+ while (this.matches.length) this.matches.pop();
1882
+ return this.nextOverlapping();
1883
+ }
1884
+ /**
1885
+ The `next` method will ignore matches that partially overlap a
1886
+ previous match. This method behaves like `next`, but includes
1887
+ such matches.
1888
+ */
1889
+ nextOverlapping() {
1890
+ for (;;) {
1891
+ let next = this.peek();
1892
+ if (next < 0) {
1893
+ this.done = true;
1894
+ return this;
1895
+ }
1896
+ let str = fromCodePoint(next),
1897
+ start = this.bufferStart + this.bufferPos;
1898
+ this.bufferPos += codePointSize(next);
1899
+ let norm = this.normalize(str);
1900
+ for (let i = 0, pos = start;; i++) {
1901
+ let code = norm.charCodeAt(i);
1902
+ let match = this.match(code, pos);
1903
+ if (match) {
1904
+ this.value = match;
1905
+ return this;
1906
+ }
1907
+ if (i == norm.length - 1) break;
1908
+ if (pos == start && i < str.length && str.charCodeAt(i) == code) pos++;
1909
+ }
1910
+ }
1911
+ }
1912
+ match(code, pos) {
1913
+ let match = null;
1914
+ for (let i = 0; i < this.matches.length; i += 2) {
1915
+ let index = this.matches[i],
1916
+ keep = false;
1917
+ if (this.query.charCodeAt(index) == code) {
1918
+ if (index == this.query.length - 1) {
1919
+ match = {
1920
+ from: this.matches[i + 1],
1921
+ to: pos + 1
1922
+ };
1923
+ } else {
1924
+ this.matches[i]++;
1925
+ keep = true;
1926
+ }
1927
+ }
1928
+ if (!keep) {
1929
+ this.matches.splice(i, 2);
1930
+ i -= 2;
1931
+ }
1932
+ }
1933
+ if (this.query.charCodeAt(0) == code) {
1934
+ if (this.query.length == 1) match = {
1935
+ from: pos,
1936
+ to: pos + 1
1937
+ };else this.matches.push(1, pos);
1938
+ }
1939
+ if (match && this.test && !this.test(match.from, match.to, this.buffer, this.bufferPos)) match = null;
1940
+ return match;
1941
+ }
1942
+ }
1943
+ if (typeof Symbol != "undefined") SearchCursor.prototype[Symbol.iterator] = function () {
1944
+ return this;
1945
+ };
1946
+ const empty = {
1947
+ from: -1,
1948
+ to: -1,
1949
+ match: /*@__PURE__*/ /.*/.exec("")
1950
+ };
1951
+ const baseFlags = "gm" + (/x/.unicode == null ? "" : "u");
1952
+ /**
1953
+ This class is similar to [`SearchCursor`](https://codemirror.net/6/docs/ref/#search.SearchCursor)
1954
+ but searches for a regular expression pattern instead of a plain
1955
+ string.
1956
+ */
1957
+ class RegExpCursor {
1958
+ /**
1959
+ Create a cursor that will search the given range in the given
1960
+ document. `query` should be the raw pattern (as you'd pass it to
1961
+ `new RegExp`).
1962
+ */
1963
+ constructor(text, query, options, from = 0, to = text.length) {
1964
+ this.text = text;
1965
+ this.to = to;
1966
+ this.curLine = "";
1967
+ /**
1968
+ Set to `true` when the cursor has reached the end of the search
1969
+ range.
1970
+ */
1971
+ this.done = false;
1972
+ /**
1973
+ Will contain an object with the extent of the match and the
1974
+ match object when [`next`](https://codemirror.net/6/docs/ref/#search.RegExpCursor.next)
1975
+ sucessfully finds a match.
1976
+ */
1977
+ this.value = empty;
1978
+ if (/\\[sWDnr]|\n|\r|\[\^/.test(query)) return new MultilineRegExpCursor(text, query, options, from, to);
1979
+ this.re = new RegExp(query, baseFlags + ((options === null || options === void 0 ? void 0 : options.ignoreCase) ? "i" : ""));
1980
+ this.test = options === null || options === void 0 ? void 0 : options.test;
1981
+ this.iter = text.iter();
1982
+ let startLine = text.lineAt(from);
1983
+ this.curLineStart = startLine.from;
1984
+ this.matchPos = toCharEnd(text, from);
1985
+ this.getLine(this.curLineStart);
1986
+ }
1987
+ getLine(skip) {
1988
+ this.iter.next(skip);
1989
+ if (this.iter.lineBreak) {
1990
+ this.curLine = "";
1991
+ } else {
1992
+ this.curLine = this.iter.value;
1993
+ if (this.curLineStart + this.curLine.length > this.to) this.curLine = this.curLine.slice(0, this.to - this.curLineStart);
1994
+ this.iter.next();
1995
+ }
1996
+ }
1997
+ nextLine() {
1998
+ this.curLineStart = this.curLineStart + this.curLine.length + 1;
1999
+ if (this.curLineStart > this.to) this.curLine = "";else this.getLine(0);
2000
+ }
2001
+ /**
2002
+ Move to the next match, if there is one.
2003
+ */
2004
+ next() {
2005
+ for (let off = this.matchPos - this.curLineStart;;) {
2006
+ this.re.lastIndex = off;
2007
+ let match = this.matchPos <= this.to && this.re.exec(this.curLine);
2008
+ if (match) {
2009
+ let from = this.curLineStart + match.index,
2010
+ to = from + match[0].length;
2011
+ this.matchPos = toCharEnd(this.text, to + (from == to ? 1 : 0));
2012
+ if (from == this.curLineStart + this.curLine.length) this.nextLine();
2013
+ if ((from < to || from > this.value.to) && (!this.test || this.test(from, to, match))) {
2014
+ this.value = {
2015
+ from,
2016
+ to,
2017
+ match
2018
+ };
2019
+ return this;
2020
+ }
2021
+ off = this.matchPos - this.curLineStart;
2022
+ } else if (this.curLineStart + this.curLine.length < this.to) {
2023
+ this.nextLine();
2024
+ off = 0;
2025
+ } else {
2026
+ this.done = true;
2027
+ return this;
2028
+ }
2029
+ }
2030
+ }
2031
+ }
2032
+ const flattened = /*@__PURE__*/new WeakMap();
2033
+ // Reusable (partially) flattened document strings
2034
+ class FlattenedDoc {
2035
+ constructor(from, text) {
2036
+ this.from = from;
2037
+ this.text = text;
2038
+ }
2039
+ get to() {
2040
+ return this.from + this.text.length;
2041
+ }
2042
+ static get(doc, from, to) {
2043
+ let cached = flattened.get(doc);
2044
+ if (!cached || cached.from >= to || cached.to <= from) {
2045
+ let flat = new FlattenedDoc(from, doc.sliceString(from, to));
2046
+ flattened.set(doc, flat);
2047
+ return flat;
2048
+ }
2049
+ if (cached.from == from && cached.to == to) return cached;
2050
+ let {
2051
+ text,
2052
+ from: cachedFrom
2053
+ } = cached;
2054
+ if (cachedFrom > from) {
2055
+ text = doc.sliceString(from, cachedFrom) + text;
2056
+ cachedFrom = from;
2057
+ }
2058
+ if (cached.to < to) text += doc.sliceString(cached.to, to);
2059
+ flattened.set(doc, new FlattenedDoc(cachedFrom, text));
2060
+ return new FlattenedDoc(from, text.slice(from - cachedFrom, to - cachedFrom));
2061
+ }
2062
+ }
2063
+ class MultilineRegExpCursor {
2064
+ constructor(text, query, options, from, to) {
2065
+ this.text = text;
2066
+ this.to = to;
2067
+ this.done = false;
2068
+ this.value = empty;
2069
+ this.matchPos = toCharEnd(text, from);
2070
+ this.re = new RegExp(query, baseFlags + ((options === null || options === void 0 ? void 0 : options.ignoreCase) ? "i" : ""));
2071
+ this.test = options === null || options === void 0 ? void 0 : options.test;
2072
+ this.flat = FlattenedDoc.get(text, from, this.chunkEnd(from + 5000 /* Chunk.Base */));
2073
+ }
2074
+
2075
+ chunkEnd(pos) {
2076
+ return pos >= this.to ? this.to : this.text.lineAt(pos).to;
2077
+ }
2078
+ next() {
2079
+ for (;;) {
2080
+ let off = this.re.lastIndex = this.matchPos - this.flat.from;
2081
+ let match = this.re.exec(this.flat.text);
2082
+ // Skip empty matches directly after the last match
2083
+ if (match && !match[0] && match.index == off) {
2084
+ this.re.lastIndex = off + 1;
2085
+ match = this.re.exec(this.flat.text);
2086
+ }
2087
+ if (match) {
2088
+ let from = this.flat.from + match.index,
2089
+ to = from + match[0].length;
2090
+ // If a match goes almost to the end of a noncomplete chunk, try
2091
+ // again, since it'll likely be able to match more
2092
+ if ((this.flat.to >= this.to || match.index + match[0].length <= this.flat.text.length - 10) && (!this.test || this.test(from, to, match))) {
2093
+ this.value = {
2094
+ from,
2095
+ to,
2096
+ match
2097
+ };
2098
+ this.matchPos = toCharEnd(this.text, to + (from == to ? 1 : 0));
2099
+ return this;
2100
+ }
2101
+ }
2102
+ if (this.flat.to == this.to) {
2103
+ this.done = true;
2104
+ return this;
2105
+ }
2106
+ // Grow the flattened doc
2107
+ this.flat = FlattenedDoc.get(this.text, this.flat.from, this.chunkEnd(this.flat.from + this.flat.text.length * 2));
2108
+ }
2109
+ }
2110
+ }
2111
+ if (typeof Symbol != "undefined") {
2112
+ RegExpCursor.prototype[Symbol.iterator] = MultilineRegExpCursor.prototype[Symbol.iterator] = function () {
2113
+ return this;
2114
+ };
2115
+ }
2116
+ function validRegExp(source) {
2117
+ try {
2118
+ new RegExp(source, baseFlags);
2119
+ return true;
2120
+ } catch (_a) {
2121
+ return false;
2122
+ }
2123
+ }
2124
+ function toCharEnd(text, pos) {
2125
+ if (pos >= text.length) return pos;
2126
+ let line = text.lineAt(pos),
2127
+ next;
2128
+ while (pos < line.to && (next = line.text.charCodeAt(pos - line.from)) >= 0xDC00 && next < 0xE000) pos++;
2129
+ return pos;
2130
+ }
2131
+ function createLineDialog(view) {
2132
+ let input = crelt("input", {
2133
+ class: "cm-textfield",
2134
+ name: "line"
2135
+ });
2136
+ let dom = crelt("form", {
2137
+ class: "cm-gotoLine",
2138
+ onkeydown: event => {
2139
+ if (event.keyCode == 27) {
2140
+ // Escape
2141
+ event.preventDefault();
2142
+ view.dispatch({
2143
+ effects: dialogEffect.of(false)
2144
+ });
2145
+ view.focus();
2146
+ } else if (event.keyCode == 13) {
2147
+ // Enter
2148
+ event.preventDefault();
2149
+ go();
2150
+ }
2151
+ },
2152
+ onsubmit: event => {
2153
+ event.preventDefault();
2154
+ go();
2155
+ }
2156
+ }, crelt("label", view.state.phrase("Go to line"), ": ", input), " ", crelt("button", {
2157
+ class: "cm-button",
2158
+ type: "submit"
2159
+ }, view.state.phrase("go")));
2160
+ function go() {
2161
+ let match = /^([+-])?(\d+)?(:\d+)?(%)?$/.exec(input.value);
2162
+ if (!match) return;
2163
+ let {
2164
+ state
2165
+ } = view,
2166
+ startLine = state.doc.lineAt(state.selection.main.head);
2167
+ let [, sign, ln, cl, percent] = match;
2168
+ let col = cl ? +cl.slice(1) : 0;
2169
+ let line = ln ? +ln : startLine.number;
2170
+ if (ln && percent) {
2171
+ let pc = line / 100;
2172
+ if (sign) pc = pc * (sign == "-" ? -1 : 1) + startLine.number / state.doc.lines;
2173
+ line = Math.round(state.doc.lines * pc);
2174
+ } else if (ln && sign) {
2175
+ line = line * (sign == "-" ? -1 : 1) + startLine.number;
2176
+ }
2177
+ let docLine = state.doc.line(Math.max(1, Math.min(state.doc.lines, line)));
2178
+ view.dispatch({
2179
+ effects: dialogEffect.of(false),
2180
+ selection: EditorSelection.cursor(docLine.from + Math.max(0, Math.min(col, docLine.length))),
2181
+ scrollIntoView: true
2182
+ });
2183
+ view.focus();
2184
+ }
2185
+ return {
2186
+ dom
2187
+ };
2188
+ }
2189
+ const dialogEffect = /*@__PURE__*/StateEffect.define();
2190
+ const dialogField = /*@__PURE__*/StateField.define({
2191
+ create() {
2192
+ return true;
2193
+ },
2194
+ update(value, tr) {
2195
+ for (let e of tr.effects) if (e.is(dialogEffect)) value = e.value;
2196
+ return value;
2197
+ },
2198
+ provide: f => showPanel.from(f, val => val ? createLineDialog : null)
2199
+ });
2200
+ /**
2201
+ Command that shows a dialog asking the user for a line number, and
2202
+ when a valid position is provided, moves the cursor to that line.
2203
+
2204
+ Supports line numbers, relative line offsets prefixed with `+` or
2205
+ `-`, document percentages suffixed with `%`, and an optional
2206
+ column position by adding `:` and a second number after the line
2207
+ number.
2208
+
2209
+ The dialog can be styled with the `panel.gotoLine` theme
2210
+ selector.
2211
+ */
2212
+ const gotoLine = view => {
2213
+ let panel = getPanel(view, createLineDialog);
2214
+ if (!panel) {
2215
+ let effects = [dialogEffect.of(true)];
2216
+ if (view.state.field(dialogField, false) == null) effects.push(StateEffect.appendConfig.of([dialogField, baseTheme$1]));
2217
+ view.dispatch({
2218
+ effects
2219
+ });
2220
+ panel = getPanel(view, createLineDialog);
2221
+ }
2222
+ if (panel) panel.dom.querySelector("input").focus();
2223
+ return true;
2224
+ };
2225
+ const baseTheme$1 = /*@__PURE__*/EditorView.baseTheme({
2226
+ ".cm-panel.cm-gotoLine": {
2227
+ padding: "2px 6px 4px",
2228
+ "& label": {
2229
+ fontSize: "80%"
2230
+ }
2231
+ }
2232
+ });
2233
+ const defaultHighlightOptions = {
2234
+ highlightWordAroundCursor: false,
2235
+ minSelectionLength: 1,
2236
+ maxMatches: 100,
2237
+ wholeWords: false
2238
+ };
2239
+ const highlightConfig = /*@__PURE__*/Facet.define({
2240
+ combine(options) {
2241
+ return combineConfig(options, defaultHighlightOptions, {
2242
+ highlightWordAroundCursor: (a, b) => a || b,
2243
+ minSelectionLength: Math.min,
2244
+ maxMatches: Math.min
2245
+ });
2246
+ }
2247
+ });
2248
+ /**
2249
+ This extension highlights text that matches the selection. It uses
2250
+ the `"cm-selectionMatch"` class for the highlighting. When
2251
+ `highlightWordAroundCursor` is enabled, the word at the cursor
2252
+ itself will be highlighted with `"cm-selectionMatch-main"`.
2253
+ */
2254
+ function highlightSelectionMatches(options) {
2255
+ let ext = [defaultTheme, matchHighlighter];
2256
+ if (options) ext.push(highlightConfig.of(options));
2257
+ return ext;
2258
+ }
2259
+ const matchDeco = /*@__PURE__*/Decoration.mark({
2260
+ class: "cm-selectionMatch"
2261
+ });
2262
+ const mainMatchDeco = /*@__PURE__*/Decoration.mark({
2263
+ class: "cm-selectionMatch cm-selectionMatch-main"
2264
+ });
2265
+ // Whether the characters directly outside the given positions are non-word characters
2266
+ function insideWordBoundaries(check, state, from, to) {
2267
+ return (from == 0 || check(state.sliceDoc(from - 1, from)) != CharCategory.Word) && (to == state.doc.length || check(state.sliceDoc(to, to + 1)) != CharCategory.Word);
2268
+ }
2269
+ // Whether the characters directly at the given positions are word characters
2270
+ function insideWord(check, state, from, to) {
2271
+ return check(state.sliceDoc(from, from + 1)) == CharCategory.Word && check(state.sliceDoc(to - 1, to)) == CharCategory.Word;
2272
+ }
2273
+ const matchHighlighter = /*@__PURE__*/ViewPlugin.fromClass(class {
2274
+ constructor(view) {
2275
+ this.decorations = this.getDeco(view);
2276
+ }
2277
+ update(update) {
2278
+ if (update.selectionSet || update.docChanged || update.viewportChanged) this.decorations = this.getDeco(update.view);
2279
+ }
2280
+ getDeco(view) {
2281
+ let conf = view.state.facet(highlightConfig);
2282
+ let {
2283
+ state
2284
+ } = view,
2285
+ sel = state.selection;
2286
+ if (sel.ranges.length > 1) return Decoration.none;
2287
+ let range = sel.main,
2288
+ query,
2289
+ check = null;
2290
+ if (range.empty) {
2291
+ if (!conf.highlightWordAroundCursor) return Decoration.none;
2292
+ let word = state.wordAt(range.head);
2293
+ if (!word) return Decoration.none;
2294
+ check = state.charCategorizer(range.head);
2295
+ query = state.sliceDoc(word.from, word.to);
2296
+ } else {
2297
+ let len = range.to - range.from;
2298
+ if (len < conf.minSelectionLength || len > 200) return Decoration.none;
2299
+ if (conf.wholeWords) {
2300
+ query = state.sliceDoc(range.from, range.to); // TODO: allow and include leading/trailing space?
2301
+ check = state.charCategorizer(range.head);
2302
+ if (!(insideWordBoundaries(check, state, range.from, range.to) && insideWord(check, state, range.from, range.to))) return Decoration.none;
2303
+ } else {
2304
+ query = state.sliceDoc(range.from, range.to).trim();
2305
+ if (!query) return Decoration.none;
2306
+ }
2307
+ }
2308
+ let deco = [];
2309
+ for (let part of view.visibleRanges) {
2310
+ let cursor = new SearchCursor(state.doc, query, part.from, part.to);
2311
+ while (!cursor.next().done) {
2312
+ let {
2313
+ from,
2314
+ to
2315
+ } = cursor.value;
2316
+ if (!check || insideWordBoundaries(check, state, from, to)) {
2317
+ 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));
2318
+ if (deco.length > conf.maxMatches) return Decoration.none;
2319
+ }
2320
+ }
2321
+ }
2322
+ return Decoration.set(deco);
2323
+ }
2324
+ }, {
2325
+ decorations: v => v.decorations
2326
+ });
2327
+ const defaultTheme = /*@__PURE__*/EditorView.baseTheme({
2328
+ ".cm-selectionMatch": {
2329
+ backgroundColor: "#99ff7780"
2330
+ },
2331
+ ".cm-searchMatch .cm-selectionMatch": {
2332
+ backgroundColor: "transparent"
2333
+ }
2334
+ });
2335
+ // Select the words around the cursors.
2336
+ const selectWord = ({
2337
+ state,
2338
+ dispatch
2339
+ }) => {
2340
+ let {
2341
+ selection
2342
+ } = state;
2343
+ let newSel = EditorSelection.create(selection.ranges.map(range => state.wordAt(range.head) || EditorSelection.cursor(range.head)), selection.mainIndex);
2344
+ if (newSel.eq(selection)) return false;
2345
+ dispatch(state.update({
2346
+ selection: newSel
2347
+ }));
2348
+ return true;
2349
+ };
2350
+ // Find next occurrence of query relative to last cursor. Wrap around
2351
+ // the document if there are no more matches.
2352
+ function findNextOccurrence(state, query) {
2353
+ let {
2354
+ main,
2355
+ ranges
2356
+ } = state.selection;
2357
+ let word = state.wordAt(main.head),
2358
+ fullWord = word && word.from == main.from && word.to == main.to;
2359
+ for (let cycled = false, cursor = new SearchCursor(state.doc, query, ranges[ranges.length - 1].to);;) {
2360
+ cursor.next();
2361
+ if (cursor.done) {
2362
+ if (cycled) return null;
2363
+ cursor = new SearchCursor(state.doc, query, 0, Math.max(0, ranges[ranges.length - 1].from - 1));
2364
+ cycled = true;
2365
+ } else {
2366
+ if (cycled && ranges.some(r => r.from == cursor.value.from)) continue;
2367
+ if (fullWord) {
2368
+ let word = state.wordAt(cursor.value.from);
2369
+ if (!word || word.from != cursor.value.from || word.to != cursor.value.to) continue;
2370
+ }
2371
+ return cursor.value;
2372
+ }
2373
+ }
2374
+ }
2375
+ /**
2376
+ Select next occurrence of the current selection. Expand selection
2377
+ to the surrounding word when the selection is empty.
2378
+ */
2379
+ const selectNextOccurrence = ({
2380
+ state,
2381
+ dispatch
2382
+ }) => {
2383
+ let {
2384
+ ranges
2385
+ } = state.selection;
2386
+ if (ranges.some(sel => sel.from === sel.to)) return selectWord({
2387
+ state,
2388
+ dispatch
2389
+ });
2390
+ let searchedText = state.sliceDoc(ranges[0].from, ranges[0].to);
2391
+ if (state.selection.ranges.some(r => state.sliceDoc(r.from, r.to) != searchedText)) return false;
2392
+ let range = findNextOccurrence(state, searchedText);
2393
+ if (!range) return false;
2394
+ dispatch(state.update({
2395
+ selection: state.selection.addRange(EditorSelection.range(range.from, range.to), false),
2396
+ effects: EditorView.scrollIntoView(range.to)
2397
+ }));
2398
+ return true;
2399
+ };
2400
+ const searchConfigFacet = /*@__PURE__*/Facet.define({
2401
+ combine(configs) {
2402
+ return combineConfig(configs, {
2403
+ top: false,
2404
+ caseSensitive: false,
2405
+ literal: false,
2406
+ wholeWord: false,
2407
+ createPanel: view => new SearchPanel(view)
2408
+ });
2409
+ }
2410
+ });
2411
+ /**
2412
+ A search query. Part of the editor's search state.
2413
+ */
2414
+ class SearchQuery {
2415
+ /**
2416
+ Create a query object.
2417
+ */
2418
+ constructor(config) {
2419
+ this.search = config.search;
2420
+ this.caseSensitive = !!config.caseSensitive;
2421
+ this.literal = !!config.literal;
2422
+ this.regexp = !!config.regexp;
2423
+ this.replace = config.replace || "";
2424
+ this.valid = !!this.search && (!this.regexp || validRegExp(this.search));
2425
+ this.unquoted = this.unquote(this.search);
2426
+ this.wholeWord = !!config.wholeWord;
2427
+ }
2428
+ /**
2429
+ @internal
2430
+ */
2431
+ unquote(text) {
2432
+ return this.literal ? text : text.replace(/\\([nrt\\])/g, (_, ch) => ch == "n" ? "\n" : ch == "r" ? "\r" : ch == "t" ? "\t" : "\\");
2433
+ }
2434
+ /**
2435
+ Compare this query to another query.
2436
+ */
2437
+ eq(other) {
2438
+ return this.search == other.search && this.replace == other.replace && this.caseSensitive == other.caseSensitive && this.regexp == other.regexp && this.wholeWord == other.wholeWord;
2439
+ }
2440
+ /**
2441
+ @internal
2442
+ */
2443
+ create() {
2444
+ return this.regexp ? new RegExpQuery(this) : new StringQuery(this);
2445
+ }
2446
+ /**
2447
+ Get a search cursor for this query, searching through the given
2448
+ range in the given state.
2449
+ */
2450
+ getCursor(state, from = 0, to) {
2451
+ let st = state.doc ? state : EditorState.create({
2452
+ doc: state
2453
+ });
2454
+ if (to == null) to = st.doc.length;
2455
+ return this.regexp ? regexpCursor(this, st, from, to) : stringCursor(this, st, from, to);
2456
+ }
2457
+ }
2458
+ class QueryType {
2459
+ constructor(spec) {
2460
+ this.spec = spec;
2461
+ }
2462
+ }
2463
+ function stringCursor(spec, state, from, to) {
2464
+ 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);
2465
+ }
2466
+ function stringWordTest(doc, categorizer) {
2467
+ return (from, to, buf, bufPos) => {
2468
+ if (bufPos > from || bufPos + buf.length < to) {
2469
+ bufPos = Math.max(0, from - 2);
2470
+ buf = doc.sliceString(bufPos, Math.min(doc.length, to + 2));
2471
+ }
2472
+ 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);
2473
+ };
2474
+ }
2475
+ class StringQuery extends QueryType {
2476
+ constructor(spec) {
2477
+ super(spec);
2478
+ }
2479
+ nextMatch(state, curFrom, curTo) {
2480
+ let cursor = stringCursor(this.spec, state, curTo, state.doc.length).nextOverlapping();
2481
+ if (cursor.done) cursor = stringCursor(this.spec, state, 0, curFrom).nextOverlapping();
2482
+ return cursor.done ? null : cursor.value;
2483
+ }
2484
+ // Searching in reverse is, rather than implementing inverted search
2485
+ // cursor, done by scanning chunk after chunk forward.
2486
+ prevMatchInRange(state, from, to) {
2487
+ for (let pos = to;;) {
2488
+ let start = Math.max(from, pos - 10000 /* FindPrev.ChunkSize */ - this.spec.unquoted.length);
2489
+ let cursor = stringCursor(this.spec, state, start, pos),
2490
+ range = null;
2491
+ while (!cursor.nextOverlapping().done) range = cursor.value;
2492
+ if (range) return range;
2493
+ if (start == from) return null;
2494
+ pos -= 10000 /* FindPrev.ChunkSize */;
2495
+ }
2496
+ }
2497
+
2498
+ prevMatch(state, curFrom, curTo) {
2499
+ return this.prevMatchInRange(state, 0, curFrom) || this.prevMatchInRange(state, curTo, state.doc.length);
2500
+ }
2501
+ getReplacement(_result) {
2502
+ return this.spec.unquote(this.spec.replace);
2503
+ }
2504
+ matchAll(state, limit) {
2505
+ let cursor = stringCursor(this.spec, state, 0, state.doc.length),
2506
+ ranges = [];
2507
+ while (!cursor.next().done) {
2508
+ if (ranges.length >= limit) return null;
2509
+ ranges.push(cursor.value);
2510
+ }
2511
+ return ranges;
2512
+ }
2513
+ highlight(state, from, to, add) {
2514
+ let cursor = stringCursor(this.spec, state, Math.max(0, from - this.spec.unquoted.length), Math.min(to + this.spec.unquoted.length, state.doc.length));
2515
+ while (!cursor.next().done) add(cursor.value.from, cursor.value.to);
2516
+ }
2517
+ }
2518
+ function regexpCursor(spec, state, from, to) {
2519
+ return new RegExpCursor(state.doc, spec.search, {
2520
+ ignoreCase: !spec.caseSensitive,
2521
+ test: spec.wholeWord ? regexpWordTest(state.charCategorizer(state.selection.main.head)) : undefined
2522
+ }, from, to);
2523
+ }
2524
+ function charBefore(str, index) {
2525
+ return str.slice(findClusterBreak(str, index, false), index);
2526
+ }
2527
+ function charAfter(str, index) {
2528
+ return str.slice(index, findClusterBreak(str, index));
2529
+ }
2530
+ function regexpWordTest(categorizer) {
2531
+ 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);
2532
+ }
2533
+ class RegExpQuery extends QueryType {
2534
+ nextMatch(state, curFrom, curTo) {
2535
+ let cursor = regexpCursor(this.spec, state, curTo, state.doc.length).next();
2536
+ if (cursor.done) cursor = regexpCursor(this.spec, state, 0, curFrom).next();
2537
+ return cursor.done ? null : cursor.value;
2538
+ }
2539
+ prevMatchInRange(state, from, to) {
2540
+ for (let size = 1;; size++) {
2541
+ let start = Math.max(from, to - size * 10000 /* FindPrev.ChunkSize */);
2542
+ let cursor = regexpCursor(this.spec, state, start, to),
2543
+ range = null;
2544
+ while (!cursor.next().done) range = cursor.value;
2545
+ if (range && (start == from || range.from > start + 10)) return range;
2546
+ if (start == from) return null;
2547
+ }
2548
+ }
2549
+ prevMatch(state, curFrom, curTo) {
2550
+ return this.prevMatchInRange(state, 0, curFrom) || this.prevMatchInRange(state, curTo, state.doc.length);
2551
+ }
2552
+ getReplacement(result) {
2553
+ 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));
2554
+ }
2555
+ matchAll(state, limit) {
2556
+ let cursor = regexpCursor(this.spec, state, 0, state.doc.length),
2557
+ ranges = [];
2558
+ while (!cursor.next().done) {
2559
+ if (ranges.length >= limit) return null;
2560
+ ranges.push(cursor.value);
2561
+ }
2562
+ return ranges;
2563
+ }
2564
+ highlight(state, from, to, add) {
2565
+ let cursor = regexpCursor(this.spec, state, Math.max(0, from - 250 /* RegExp.HighlightMargin */), Math.min(to + 250 /* RegExp.HighlightMargin */, state.doc.length));
2566
+ while (!cursor.next().done) add(cursor.value.from, cursor.value.to);
2567
+ }
2568
+ }
2569
+ /**
2570
+ A state effect that updates the current search query. Note that
2571
+ this only has an effect if the search state has been initialized
2572
+ (by including [`search`](https://codemirror.net/6/docs/ref/#search.search) in your configuration or
2573
+ by running [`openSearchPanel`](https://codemirror.net/6/docs/ref/#search.openSearchPanel) at least
2574
+ once).
2575
+ */
2576
+ const setSearchQuery = /*@__PURE__*/StateEffect.define();
2577
+ const togglePanel$1 = /*@__PURE__*/StateEffect.define();
2578
+ const searchState = /*@__PURE__*/StateField.define({
2579
+ create(state) {
2580
+ return new SearchState(defaultQuery(state).create(), null);
2581
+ },
2582
+ update(value, tr) {
2583
+ for (let effect of tr.effects) {
2584
+ 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);
2585
+ }
2586
+ return value;
2587
+ },
2588
+ provide: f => showPanel.from(f, val => val.panel)
2589
+ });
2590
+ class SearchState {
2591
+ constructor(query, panel) {
2592
+ this.query = query;
2593
+ this.panel = panel;
2594
+ }
2595
+ }
2596
+ const matchMark = /*@__PURE__*/Decoration.mark({
2597
+ class: "cm-searchMatch"
2598
+ }),
2599
+ selectedMatchMark = /*@__PURE__*/Decoration.mark({
2600
+ class: "cm-searchMatch cm-searchMatch-selected"
2601
+ });
2602
+ const searchHighlighter = /*@__PURE__*/ViewPlugin.fromClass(class {
2603
+ constructor(view) {
2604
+ this.view = view;
2605
+ this.decorations = this.highlight(view.state.field(searchState));
2606
+ }
2607
+ update(update) {
2608
+ let state = update.state.field(searchState);
2609
+ if (state != update.startState.field(searchState) || update.docChanged || update.selectionSet || update.viewportChanged) this.decorations = this.highlight(state);
2610
+ }
2611
+ highlight({
2612
+ query,
2613
+ panel
2614
+ }) {
2615
+ if (!panel || !query.spec.valid) return Decoration.none;
2616
+ let {
2617
+ view
2618
+ } = this;
2619
+ let builder = new RangeSetBuilder();
2620
+ for (let i = 0, ranges = view.visibleRanges, l = ranges.length; i < l; i++) {
2621
+ let {
2622
+ from,
2623
+ to
2624
+ } = ranges[i];
2625
+ while (i < l - 1 && to > ranges[i + 1].from - 2 * 250 /* RegExp.HighlightMargin */) to = ranges[++i].to;
2626
+ query.highlight(view.state, from, to, (from, to) => {
2627
+ let selected = view.state.selection.ranges.some(r => r.from == from && r.to == to);
2628
+ builder.add(from, to, selected ? selectedMatchMark : matchMark);
2629
+ });
2630
+ }
2631
+ return builder.finish();
2632
+ }
2633
+ }, {
2634
+ decorations: v => v.decorations
2635
+ });
2636
+ function searchCommand(f) {
2637
+ return view => {
2638
+ let state = view.state.field(searchState, false);
2639
+ return state && state.query.spec.valid ? f(view, state) : openSearchPanel(view);
2640
+ };
2641
+ }
2642
+ /**
2643
+ Open the search panel if it isn't already open, and move the
2644
+ selection to the first match after the current main selection.
2645
+ Will wrap around to the start of the document when it reaches the
2646
+ end.
2647
+ */
2648
+ const findNext = /*@__PURE__*/searchCommand((view, {
2649
+ query
2650
+ }) => {
2651
+ let {
2652
+ to
2653
+ } = view.state.selection.main;
2654
+ let next = query.nextMatch(view.state, to, to);
2655
+ if (!next) return false;
2656
+ view.dispatch({
2657
+ selection: {
2658
+ anchor: next.from,
2659
+ head: next.to
2660
+ },
2661
+ scrollIntoView: true,
2662
+ effects: announceMatch(view, next),
2663
+ userEvent: "select.search"
2664
+ });
2665
+ return true;
2666
+ });
2667
+ /**
2668
+ Move the selection to the previous instance of the search query,
2669
+ before the current main selection. Will wrap past the start
2670
+ of the document to start searching at the end again.
2671
+ */
2672
+ const findPrevious = /*@__PURE__*/searchCommand((view, {
2673
+ query
2674
+ }) => {
2675
+ let {
2676
+ state
2677
+ } = view,
2678
+ {
2679
+ from
2680
+ } = state.selection.main;
2681
+ let range = query.prevMatch(state, from, from);
2682
+ if (!range) return false;
2683
+ view.dispatch({
2684
+ selection: {
2685
+ anchor: range.from,
2686
+ head: range.to
2687
+ },
2688
+ scrollIntoView: true,
2689
+ effects: announceMatch(view, range),
2690
+ userEvent: "select.search"
2691
+ });
2692
+ return true;
2693
+ });
2694
+ /**
2695
+ Select all instances of the search query.
2696
+ */
2697
+ const selectMatches = /*@__PURE__*/searchCommand((view, {
2698
+ query
2699
+ }) => {
2700
+ let ranges = query.matchAll(view.state, 1000);
2701
+ if (!ranges || !ranges.length) return false;
2702
+ view.dispatch({
2703
+ selection: EditorSelection.create(ranges.map(r => EditorSelection.range(r.from, r.to))),
2704
+ userEvent: "select.search.matches"
2705
+ });
2706
+ return true;
2707
+ });
2708
+ /**
2709
+ Select all instances of the currently selected text.
2710
+ */
2711
+ const selectSelectionMatches = ({
2712
+ state,
2713
+ dispatch
2714
+ }) => {
2715
+ let sel = state.selection;
2716
+ if (sel.ranges.length > 1 || sel.main.empty) return false;
2717
+ let {
2718
+ from,
2719
+ to
2720
+ } = sel.main;
2721
+ let ranges = [],
2722
+ main = 0;
2723
+ for (let cur = new SearchCursor(state.doc, state.sliceDoc(from, to)); !cur.next().done;) {
2724
+ if (ranges.length > 1000) return false;
2725
+ if (cur.value.from == from) main = ranges.length;
2726
+ ranges.push(EditorSelection.range(cur.value.from, cur.value.to));
2727
+ }
2728
+ dispatch(state.update({
2729
+ selection: EditorSelection.create(ranges, main),
2730
+ userEvent: "select.search.matches"
2731
+ }));
2732
+ return true;
2733
+ };
2734
+ /**
2735
+ Replace the current match of the search query.
2736
+ */
2737
+ const replaceNext = /*@__PURE__*/searchCommand((view, {
2738
+ query
2739
+ }) => {
2740
+ let {
2741
+ state
2742
+ } = view,
2743
+ {
2744
+ from,
2745
+ to
2746
+ } = state.selection.main;
2747
+ if (state.readOnly) return false;
2748
+ let next = query.nextMatch(state, from, from);
2749
+ if (!next) return false;
2750
+ let changes = [],
2751
+ selection,
2752
+ replacement;
2753
+ let announce = [];
2754
+ if (next.from == from && next.to == to) {
2755
+ replacement = state.toText(query.getReplacement(next));
2756
+ changes.push({
2757
+ from: next.from,
2758
+ to: next.to,
2759
+ insert: replacement
2760
+ });
2761
+ next = query.nextMatch(state, next.from, next.to);
2762
+ announce.push(EditorView.announce.of(state.phrase("replaced match on line $", state.doc.lineAt(from).number) + "."));
2763
+ }
2764
+ if (next) {
2765
+ let off = changes.length == 0 || changes[0].from >= next.to ? 0 : next.to - next.from - replacement.length;
2766
+ selection = {
2767
+ anchor: next.from - off,
2768
+ head: next.to - off
2769
+ };
2770
+ announce.push(announceMatch(view, next));
2771
+ }
2772
+ view.dispatch({
2773
+ changes,
2774
+ selection,
2775
+ scrollIntoView: !!selection,
2776
+ effects: announce,
2777
+ userEvent: "input.replace"
2778
+ });
2779
+ return true;
2780
+ });
2781
+ /**
2782
+ Replace all instances of the search query with the given
2783
+ replacement.
2784
+ */
2785
+ const replaceAll = /*@__PURE__*/searchCommand((view, {
2786
+ query
2787
+ }) => {
2788
+ if (view.state.readOnly) return false;
2789
+ let changes = query.matchAll(view.state, 1e9).map(match => {
2790
+ let {
2791
+ from,
2792
+ to
2793
+ } = match;
2794
+ return {
2795
+ from,
2796
+ to,
2797
+ insert: query.getReplacement(match)
2798
+ };
2799
+ });
2800
+ if (!changes.length) return false;
2801
+ let announceText = view.state.phrase("replaced $ matches", changes.length) + ".";
2802
+ view.dispatch({
2803
+ changes,
2804
+ effects: EditorView.announce.of(announceText),
2805
+ userEvent: "input.replace.all"
2806
+ });
2807
+ return true;
2808
+ });
2809
+ function createSearchPanel(view) {
2810
+ return view.state.facet(searchConfigFacet).createPanel(view);
2811
+ }
2812
+ function defaultQuery(state, fallback) {
2813
+ var _a, _b, _c, _d;
2814
+ let sel = state.selection.main;
2815
+ let selText = sel.empty || sel.to > sel.from + 100 ? "" : state.sliceDoc(sel.from, sel.to);
2816
+ if (fallback && !selText) return fallback;
2817
+ let config = state.facet(searchConfigFacet);
2818
+ return new SearchQuery({
2819
+ search: ((_a = fallback === null || fallback === void 0 ? void 0 : fallback.literal) !== null && _a !== void 0 ? _a : config.literal) ? selText : selText.replace(/\n/g, "\\n"),
2820
+ caseSensitive: (_b = fallback === null || fallback === void 0 ? void 0 : fallback.caseSensitive) !== null && _b !== void 0 ? _b : config.caseSensitive,
2821
+ literal: (_c = fallback === null || fallback === void 0 ? void 0 : fallback.literal) !== null && _c !== void 0 ? _c : config.literal,
2822
+ wholeWord: (_d = fallback === null || fallback === void 0 ? void 0 : fallback.wholeWord) !== null && _d !== void 0 ? _d : config.wholeWord
2823
+ });
2824
+ }
2825
+ /**
2826
+ Make sure the search panel is open and focused.
2827
+ */
2828
+ const openSearchPanel = view => {
2829
+ let state = view.state.field(searchState, false);
2830
+ if (state && state.panel) {
2831
+ let panel = getPanel(view, createSearchPanel);
2832
+ if (!panel) return false;
2833
+ let searchInput = panel.dom.querySelector("[main-field]");
2834
+ if (searchInput && searchInput != view.root.activeElement) {
2835
+ let query = defaultQuery(view.state, state.query.spec);
2836
+ if (query.valid) view.dispatch({
2837
+ effects: setSearchQuery.of(query)
2838
+ });
2839
+ searchInput.focus();
2840
+ searchInput.select();
2841
+ }
2842
+ } else {
2843
+ view.dispatch({
2844
+ effects: [togglePanel$1.of(true), state ? setSearchQuery.of(defaultQuery(view.state, state.query.spec)) : StateEffect.appendConfig.of(searchExtensions)]
2845
+ });
2846
+ }
2847
+ return true;
2848
+ };
2849
+ /**
2850
+ Close the search panel.
2851
+ */
2852
+ const closeSearchPanel = view => {
2853
+ let state = view.state.field(searchState, false);
2854
+ if (!state || !state.panel) return false;
2855
+ let panel = getPanel(view, createSearchPanel);
2856
+ if (panel && panel.dom.contains(view.root.activeElement)) view.focus();
2857
+ view.dispatch({
2858
+ effects: togglePanel$1.of(false)
2859
+ });
2860
+ return true;
2861
+ };
2862
+ /**
2863
+ Default search-related key bindings.
2864
+
2865
+ - Mod-f: [`openSearchPanel`](https://codemirror.net/6/docs/ref/#search.openSearchPanel)
2866
+ - F3, Mod-g: [`findNext`](https://codemirror.net/6/docs/ref/#search.findNext)
2867
+ - Shift-F3, Shift-Mod-g: [`findPrevious`](https://codemirror.net/6/docs/ref/#search.findPrevious)
2868
+ - Alt-g: [`gotoLine`](https://codemirror.net/6/docs/ref/#search.gotoLine)
2869
+ - Mod-d: [`selectNextOccurrence`](https://codemirror.net/6/docs/ref/#search.selectNextOccurrence)
2870
+ */
2871
+ const searchKeymap = [{
2872
+ key: "Mod-f",
2873
+ run: openSearchPanel,
2874
+ scope: "editor search-panel"
2875
+ }, {
2876
+ key: "F3",
2877
+ run: findNext,
2878
+ shift: findPrevious,
2879
+ scope: "editor search-panel",
2880
+ preventDefault: true
2881
+ }, {
2882
+ key: "Mod-g",
2883
+ run: findNext,
2884
+ shift: findPrevious,
2885
+ scope: "editor search-panel",
2886
+ preventDefault: true
2887
+ }, {
2888
+ key: "Escape",
2889
+ run: closeSearchPanel,
2890
+ scope: "editor search-panel"
2891
+ }, {
2892
+ key: "Mod-Shift-l",
2893
+ run: selectSelectionMatches
2894
+ }, {
2895
+ key: "Alt-g",
2896
+ run: gotoLine
2897
+ }, {
2898
+ key: "Mod-d",
2899
+ run: selectNextOccurrence,
2900
+ preventDefault: true
2901
+ }];
2902
+ class SearchPanel {
2903
+ constructor(view) {
2904
+ this.view = view;
2905
+ let query = this.query = view.state.field(searchState).query.spec;
2906
+ this.commit = this.commit.bind(this);
2907
+ this.searchField = crelt("input", {
2908
+ value: query.search,
2909
+ placeholder: phrase(view, "Find"),
2910
+ "aria-label": phrase(view, "Find"),
2911
+ class: "cm-textfield",
2912
+ name: "search",
2913
+ form: "",
2914
+ "main-field": "true",
2915
+ onchange: this.commit,
2916
+ onkeyup: this.commit
2917
+ });
2918
+ this.replaceField = crelt("input", {
2919
+ value: query.replace,
2920
+ placeholder: phrase(view, "Replace"),
2921
+ "aria-label": phrase(view, "Replace"),
2922
+ class: "cm-textfield",
2923
+ name: "replace",
2924
+ form: "",
2925
+ onchange: this.commit,
2926
+ onkeyup: this.commit
2927
+ });
2928
+ this.caseField = crelt("input", {
2929
+ type: "checkbox",
2930
+ name: "case",
2931
+ form: "",
2932
+ checked: query.caseSensitive,
2933
+ onchange: this.commit
2934
+ });
2935
+ this.reField = crelt("input", {
2936
+ type: "checkbox",
2937
+ name: "re",
2938
+ form: "",
2939
+ checked: query.regexp,
2940
+ onchange: this.commit
2941
+ });
2942
+ this.wordField = crelt("input", {
2943
+ type: "checkbox",
2944
+ name: "word",
2945
+ form: "",
2946
+ checked: query.wholeWord,
2947
+ onchange: this.commit
2948
+ });
2949
+ function button(name, onclick, content) {
2950
+ return crelt("button", {
2951
+ class: "cm-button",
2952
+ name,
2953
+ onclick,
2954
+ type: "button"
2955
+ }, content);
2956
+ }
2957
+ this.dom = crelt("div", {
2958
+ onkeydown: e => this.keydown(e),
2959
+ class: "cm-search"
2960
+ }, [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", {
2961
+ name: "close",
2962
+ onclick: () => closeSearchPanel(view),
2963
+ "aria-label": phrase(view, "close"),
2964
+ type: "button"
2965
+ }, ["×"])]);
2966
+ }
2967
+ commit() {
2968
+ let query = new SearchQuery({
2969
+ search: this.searchField.value,
2970
+ caseSensitive: this.caseField.checked,
2971
+ regexp: this.reField.checked,
2972
+ wholeWord: this.wordField.checked,
2973
+ replace: this.replaceField.value
2974
+ });
2975
+ if (!query.eq(this.query)) {
2976
+ this.query = query;
2977
+ this.view.dispatch({
2978
+ effects: setSearchQuery.of(query)
2979
+ });
2980
+ }
2981
+ }
2982
+ keydown(e) {
2983
+ if (runScopeHandlers(this.view, e, "search-panel")) {
2984
+ e.preventDefault();
2985
+ } else if (e.keyCode == 13 && e.target == this.searchField) {
2986
+ e.preventDefault();
2987
+ (e.shiftKey ? findPrevious : findNext)(this.view);
2988
+ } else if (e.keyCode == 13 && e.target == this.replaceField) {
2989
+ e.preventDefault();
2990
+ replaceNext(this.view);
2991
+ }
2992
+ }
2993
+ update(update) {
2994
+ for (let tr of update.transactions) for (let effect of tr.effects) {
2995
+ if (effect.is(setSearchQuery) && !effect.value.eq(this.query)) this.setQuery(effect.value);
2996
+ }
2997
+ }
2998
+ setQuery(query) {
2999
+ this.query = query;
3000
+ this.searchField.value = query.search;
3001
+ this.replaceField.value = query.replace;
3002
+ this.caseField.checked = query.caseSensitive;
3003
+ this.reField.checked = query.regexp;
3004
+ this.wordField.checked = query.wholeWord;
3005
+ }
3006
+ mount() {
3007
+ this.searchField.select();
3008
+ }
3009
+ get pos() {
3010
+ return 80;
3011
+ }
3012
+ get top() {
3013
+ return this.view.state.facet(searchConfigFacet).top;
3014
+ }
3015
+ }
3016
+ function phrase(view, phrase) {
3017
+ return view.state.phrase(phrase);
3018
+ }
3019
+ const AnnounceMargin = 30;
3020
+ const Break = /[\s\.,:;?!]/;
3021
+ function announceMatch(view, {
3022
+ from,
3023
+ to
3024
+ }) {
3025
+ let line = view.state.doc.lineAt(from),
3026
+ lineEnd = view.state.doc.lineAt(to).to;
3027
+ let start = Math.max(line.from, from - AnnounceMargin),
3028
+ end = Math.min(lineEnd, to + AnnounceMargin);
3029
+ let text = view.state.sliceDoc(start, end);
3030
+ if (start != line.from) {
3031
+ for (let i = 0; i < AnnounceMargin; i++) if (!Break.test(text[i + 1]) && Break.test(text[i])) {
3032
+ text = text.slice(i);
3033
+ break;
3034
+ }
3035
+ }
3036
+ if (end != lineEnd) {
3037
+ for (let i = text.length - 1; i > text.length - AnnounceMargin; i--) if (!Break.test(text[i - 1]) && Break.test(text[i])) {
3038
+ text = text.slice(0, i);
3039
+ break;
3040
+ }
3041
+ }
3042
+ return EditorView.announce.of(`${view.state.phrase("current match")}. ${text} ${view.state.phrase("on line")} ${line.number}.`);
3043
+ }
3044
+ const baseTheme$2 = /*@__PURE__*/EditorView.baseTheme({
3045
+ ".cm-panel.cm-search": {
3046
+ padding: "2px 6px 4px",
3047
+ position: "relative",
3048
+ "& [name=close]": {
3049
+ position: "absolute",
3050
+ top: "0",
3051
+ right: "4px",
3052
+ backgroundColor: "inherit",
3053
+ border: "none",
3054
+ font: "inherit",
3055
+ padding: 0,
3056
+ margin: 0
3057
+ },
3058
+ "& input, & button, & label": {
3059
+ margin: ".2em .6em .2em 0"
3060
+ },
3061
+ "& input[type=checkbox]": {
3062
+ marginRight: ".2em"
3063
+ },
3064
+ "& label": {
3065
+ fontSize: "80%",
3066
+ whiteSpace: "pre"
3067
+ }
3068
+ },
3069
+ "&light .cm-searchMatch": {
3070
+ backgroundColor: "#ffff0054"
3071
+ },
3072
+ "&dark .cm-searchMatch": {
3073
+ backgroundColor: "#00ffff8a"
3074
+ },
3075
+ "&light .cm-searchMatch-selected": {
3076
+ backgroundColor: "#ff6a0054"
3077
+ },
3078
+ "&dark .cm-searchMatch-selected": {
3079
+ backgroundColor: "#ff00ff8a"
3080
+ }
3081
+ });
3082
+ const searchExtensions = [searchState, /*@__PURE__*/Prec.lowest(searchHighlighter), baseTheme$2];
3083
+
3084
+ class SelectedDiagnostic {
3085
+ constructor(from, to, diagnostic) {
3086
+ this.from = from;
3087
+ this.to = to;
3088
+ this.diagnostic = diagnostic;
3089
+ }
3090
+ }
3091
+ class LintState {
3092
+ constructor(diagnostics, panel, selected) {
3093
+ this.diagnostics = diagnostics;
3094
+ this.panel = panel;
3095
+ this.selected = selected;
3096
+ }
3097
+ static init(diagnostics, panel, state) {
3098
+ // Filter the list of diagnostics for which to create markers
3099
+ let markedDiagnostics = diagnostics;
3100
+ let diagnosticFilter = state.facet(lintConfig).markerFilter;
3101
+ if (diagnosticFilter) markedDiagnostics = diagnosticFilter(markedDiagnostics);
3102
+ let ranges = Decoration.set(markedDiagnostics.map(d => {
3103
+ // For zero-length ranges or ranges covering only a line break, create a widget
3104
+ return d.from == d.to || d.from == d.to - 1 && state.doc.lineAt(d.from).to == d.from ? Decoration.widget({
3105
+ widget: new DiagnosticWidget(d),
3106
+ diagnostic: d
3107
+ }).range(d.from) : Decoration.mark({
3108
+ attributes: {
3109
+ class: "cm-lintRange cm-lintRange-" + d.severity
3110
+ },
3111
+ diagnostic: d
3112
+ }).range(d.from, d.to);
3113
+ }), true);
3114
+ return new LintState(ranges, panel, findDiagnostic(ranges));
3115
+ }
3116
+ }
3117
+ function findDiagnostic(diagnostics, diagnostic = null, after = 0) {
3118
+ let found = null;
3119
+ diagnostics.between(after, 1e9, (from, to, {
3120
+ spec
3121
+ }) => {
3122
+ if (diagnostic && spec.diagnostic != diagnostic) return;
3123
+ found = new SelectedDiagnostic(from, to, spec.diagnostic);
3124
+ return false;
3125
+ });
3126
+ return found;
3127
+ }
3128
+ function hideTooltip(tr, tooltip) {
3129
+ return !!(tr.effects.some(e => e.is(setDiagnosticsEffect)) || tr.changes.touchesRange(tooltip.pos));
3130
+ }
3131
+ function maybeEnableLint(state, effects) {
3132
+ return state.field(lintState, false) ? effects : effects.concat(StateEffect.appendConfig.of([lintState, EditorView.decorations.compute([lintState], state => {
3133
+ let {
3134
+ selected,
3135
+ panel
3136
+ } = state.field(lintState);
3137
+ return !selected || !panel || selected.from == selected.to ? Decoration.none : Decoration.set([activeMark.range(selected.from, selected.to)]);
3138
+ }), hoverTooltip(lintTooltip, {
3139
+ hideOn: hideTooltip
3140
+ }), baseTheme]));
3141
+ }
3142
+ /**
3143
+ Returns a transaction spec which updates the current set of
3144
+ diagnostics, and enables the lint extension if if wasn't already
3145
+ active.
3146
+ */
3147
+ function setDiagnostics(state, diagnostics) {
3148
+ return {
3149
+ effects: maybeEnableLint(state, [setDiagnosticsEffect.of(diagnostics)])
3150
+ };
3151
+ }
3152
+ /**
3153
+ The state effect that updates the set of active diagnostics. Can
3154
+ be useful when writing an extension that needs to track these.
3155
+ */
3156
+ const setDiagnosticsEffect = /*@__PURE__*/StateEffect.define();
3157
+ const togglePanel = /*@__PURE__*/StateEffect.define();
3158
+ const movePanelSelection = /*@__PURE__*/StateEffect.define();
3159
+ const lintState = /*@__PURE__*/StateField.define({
3160
+ create() {
3161
+ return new LintState(Decoration.none, null, null);
3162
+ },
3163
+ update(value, tr) {
3164
+ if (tr.docChanged) {
3165
+ let mapped = value.diagnostics.map(tr.changes),
3166
+ selected = null;
3167
+ if (value.selected) {
3168
+ let selPos = tr.changes.mapPos(value.selected.from, 1);
3169
+ selected = findDiagnostic(mapped, value.selected.diagnostic, selPos) || findDiagnostic(mapped, null, selPos);
3170
+ }
3171
+ value = new LintState(mapped, value.panel, selected);
3172
+ }
3173
+ for (let effect of tr.effects) {
3174
+ if (effect.is(setDiagnosticsEffect)) {
3175
+ value = LintState.init(effect.value, value.panel, tr.state);
3176
+ } else if (effect.is(togglePanel)) {
3177
+ value = new LintState(value.diagnostics, effect.value ? LintPanel.open : null, value.selected);
3178
+ } else if (effect.is(movePanelSelection)) {
3179
+ value = new LintState(value.diagnostics, value.panel, effect.value);
3180
+ }
3181
+ }
3182
+ return value;
3183
+ },
3184
+ provide: f => [showPanel.from(f, val => val.panel), EditorView.decorations.from(f, s => s.diagnostics)]
3185
+ });
3186
+ const activeMark = /*@__PURE__*/Decoration.mark({
3187
+ class: "cm-lintRange cm-lintRange-active"
3188
+ });
3189
+ function lintTooltip(view, pos, side) {
3190
+ let {
3191
+ diagnostics
3192
+ } = view.state.field(lintState);
3193
+ let found = [],
3194
+ stackStart = 2e8,
3195
+ stackEnd = 0;
3196
+ diagnostics.between(pos - (side < 0 ? 1 : 0), pos + (side > 0 ? 1 : 0), (from, to, {
3197
+ spec
3198
+ }) => {
3199
+ if (pos >= from && pos <= to && (from == to || (pos > from || side > 0) && (pos < to || side < 0))) {
3200
+ found.push(spec.diagnostic);
3201
+ stackStart = Math.min(from, stackStart);
3202
+ stackEnd = Math.max(to, stackEnd);
3203
+ }
3204
+ });
3205
+ let diagnosticFilter = view.state.facet(lintConfig).tooltipFilter;
3206
+ if (diagnosticFilter) found = diagnosticFilter(found);
3207
+ if (!found.length) return null;
3208
+ return {
3209
+ pos: stackStart,
3210
+ end: stackEnd,
3211
+ above: view.state.doc.lineAt(stackStart).to < stackEnd,
3212
+ create() {
3213
+ return {
3214
+ dom: diagnosticsTooltip(view, found)
3215
+ };
3216
+ }
3217
+ };
3218
+ }
3219
+ function diagnosticsTooltip(view, diagnostics) {
3220
+ return crelt("ul", {
3221
+ class: "cm-tooltip-lint"
3222
+ }, diagnostics.map(d => renderDiagnostic(view, d, false)));
3223
+ }
3224
+ /**
3225
+ Command to open and focus the lint panel.
3226
+ */
3227
+ const openLintPanel = view => {
3228
+ let field = view.state.field(lintState, false);
3229
+ if (!field || !field.panel) view.dispatch({
3230
+ effects: maybeEnableLint(view.state, [togglePanel.of(true)])
3231
+ });
3232
+ let panel = getPanel(view, LintPanel.open);
3233
+ if (panel) panel.dom.querySelector(".cm-panel-lint ul").focus();
3234
+ return true;
3235
+ };
3236
+ /**
3237
+ Command to close the lint panel, when open.
3238
+ */
3239
+ const closeLintPanel = view => {
3240
+ let field = view.state.field(lintState, false);
3241
+ if (!field || !field.panel) return false;
3242
+ view.dispatch({
3243
+ effects: togglePanel.of(false)
3244
+ });
3245
+ return true;
3246
+ };
3247
+ /**
3248
+ Move the selection to the next diagnostic.
3249
+ */
3250
+ const nextDiagnostic = view => {
3251
+ let field = view.state.field(lintState, false);
3252
+ if (!field) return false;
3253
+ let sel = view.state.selection.main,
3254
+ next = field.diagnostics.iter(sel.to + 1);
3255
+ if (!next.value) {
3256
+ next = field.diagnostics.iter(0);
3257
+ if (!next.value || next.from == sel.from && next.to == sel.to) return false;
3258
+ }
3259
+ view.dispatch({
3260
+ selection: {
3261
+ anchor: next.from,
3262
+ head: next.to
3263
+ },
3264
+ scrollIntoView: true
3265
+ });
3266
+ return true;
3267
+ };
3268
+ /**
3269
+ A set of default key bindings for the lint functionality.
3270
+
3271
+ - Ctrl-Shift-m (Cmd-Shift-m on macOS): [`openLintPanel`](https://codemirror.net/6/docs/ref/#lint.openLintPanel)
3272
+ - F8: [`nextDiagnostic`](https://codemirror.net/6/docs/ref/#lint.nextDiagnostic)
3273
+ */
3274
+ const lintKeymap = [{
3275
+ key: "Mod-Shift-m",
3276
+ run: openLintPanel,
3277
+ preventDefault: true
3278
+ }, {
3279
+ key: "F8",
3280
+ run: nextDiagnostic
3281
+ }];
3282
+ const lintPlugin = /*@__PURE__*/ViewPlugin.fromClass(class {
3283
+ constructor(view) {
3284
+ this.view = view;
3285
+ this.timeout = -1;
3286
+ this.set = true;
3287
+ let {
3288
+ delay
3289
+ } = view.state.facet(lintConfig);
3290
+ this.lintTime = Date.now() + delay;
3291
+ this.run = this.run.bind(this);
3292
+ this.timeout = setTimeout(this.run, delay);
3293
+ }
3294
+ run() {
3295
+ let now = Date.now();
3296
+ if (now < this.lintTime - 10) {
3297
+ setTimeout(this.run, this.lintTime - now);
3298
+ } else {
3299
+ this.set = false;
3300
+ let {
3301
+ state
3302
+ } = this.view,
3303
+ {
3304
+ sources
3305
+ } = state.facet(lintConfig);
3306
+ Promise.all(sources.map(source => Promise.resolve(source(this.view)))).then(annotations => {
3307
+ let all = annotations.reduce((a, b) => a.concat(b));
3308
+ if (this.view.state.doc == state.doc) this.view.dispatch(setDiagnostics(this.view.state, all));
3309
+ }, error => {
3310
+ logException(this.view.state, error);
3311
+ });
3312
+ }
3313
+ }
3314
+ update(update) {
3315
+ let config = update.state.facet(lintConfig);
3316
+ if (update.docChanged || config != update.startState.facet(lintConfig)) {
3317
+ this.lintTime = Date.now() + config.delay;
3318
+ if (!this.set) {
3319
+ this.set = true;
3320
+ this.timeout = setTimeout(this.run, config.delay);
3321
+ }
3322
+ }
3323
+ }
3324
+ force() {
3325
+ if (this.set) {
3326
+ this.lintTime = Date.now();
3327
+ this.run();
3328
+ }
3329
+ }
3330
+ destroy() {
3331
+ clearTimeout(this.timeout);
3332
+ }
3333
+ });
3334
+ const lintConfig = /*@__PURE__*/Facet.define({
3335
+ combine(input) {
3336
+ return Object.assign({
3337
+ sources: input.map(i => i.source)
3338
+ }, combineConfig(input.map(i => i.config), {
3339
+ delay: 750,
3340
+ markerFilter: null,
3341
+ tooltipFilter: null
3342
+ }));
3343
+ },
3344
+ enables: lintPlugin
3345
+ });
3346
+ function assignKeys(actions) {
3347
+ let assigned = [];
3348
+ if (actions) actions: for (let {
3349
+ name
3350
+ } of actions) {
3351
+ for (let i = 0; i < name.length; i++) {
3352
+ let ch = name[i];
3353
+ if (/[a-zA-Z]/.test(ch) && !assigned.some(c => c.toLowerCase() == ch.toLowerCase())) {
3354
+ assigned.push(ch);
3355
+ continue actions;
3356
+ }
3357
+ }
3358
+ assigned.push("");
3359
+ }
3360
+ return assigned;
3361
+ }
3362
+ function renderDiagnostic(view, diagnostic, inPanel) {
3363
+ var _a;
3364
+ let keys = inPanel ? assignKeys(diagnostic.actions) : [];
3365
+ return crelt("li", {
3366
+ class: "cm-diagnostic cm-diagnostic-" + diagnostic.severity
3367
+ }, crelt("span", {
3368
+ class: "cm-diagnosticText"
3369
+ }, diagnostic.renderMessage ? diagnostic.renderMessage() : diagnostic.message), (_a = diagnostic.actions) === null || _a === void 0 ? void 0 : _a.map((action, i) => {
3370
+ let click = e => {
3371
+ e.preventDefault();
3372
+ let found = findDiagnostic(view.state.field(lintState).diagnostics, diagnostic);
3373
+ if (found) action.apply(view, found.from, found.to);
3374
+ };
3375
+ let {
3376
+ name
3377
+ } = action,
3378
+ keyIndex = keys[i] ? name.indexOf(keys[i]) : -1;
3379
+ let nameElt = keyIndex < 0 ? name : [name.slice(0, keyIndex), crelt("u", name.slice(keyIndex, keyIndex + 1)), name.slice(keyIndex + 1)];
3380
+ return crelt("button", {
3381
+ type: "button",
3382
+ class: "cm-diagnosticAction",
3383
+ onclick: click,
3384
+ onmousedown: click,
3385
+ "aria-label": ` Action: ${name}${keyIndex < 0 ? "" : ` (access key "${keys[i]})"`}.`
3386
+ }, nameElt);
3387
+ }), diagnostic.source && crelt("div", {
3388
+ class: "cm-diagnosticSource"
3389
+ }, diagnostic.source));
3390
+ }
3391
+ class DiagnosticWidget extends WidgetType {
3392
+ constructor(diagnostic) {
3393
+ super();
3394
+ this.diagnostic = diagnostic;
3395
+ }
3396
+ eq(other) {
3397
+ return other.diagnostic == this.diagnostic;
3398
+ }
3399
+ toDOM() {
3400
+ return crelt("span", {
3401
+ class: "cm-lintPoint cm-lintPoint-" + this.diagnostic.severity
3402
+ });
3403
+ }
3404
+ }
3405
+ class PanelItem {
3406
+ constructor(view, diagnostic) {
3407
+ this.diagnostic = diagnostic;
3408
+ this.id = "item_" + Math.floor(Math.random() * 0xffffffff).toString(16);
3409
+ this.dom = renderDiagnostic(view, diagnostic, true);
3410
+ this.dom.id = this.id;
3411
+ this.dom.setAttribute("role", "option");
3412
+ }
3413
+ }
3414
+ class LintPanel {
3415
+ constructor(view) {
3416
+ this.view = view;
3417
+ this.items = [];
3418
+ let onkeydown = event => {
3419
+ if (event.keyCode == 27) {
3420
+ // Escape
3421
+ closeLintPanel(this.view);
3422
+ this.view.focus();
3423
+ } else if (event.keyCode == 38 || event.keyCode == 33) {
3424
+ // ArrowUp, PageUp
3425
+ this.moveSelection((this.selectedIndex - 1 + this.items.length) % this.items.length);
3426
+ } else if (event.keyCode == 40 || event.keyCode == 34) {
3427
+ // ArrowDown, PageDown
3428
+ this.moveSelection((this.selectedIndex + 1) % this.items.length);
3429
+ } else if (event.keyCode == 36) {
3430
+ // Home
3431
+ this.moveSelection(0);
3432
+ } else if (event.keyCode == 35) {
3433
+ // End
3434
+ this.moveSelection(this.items.length - 1);
3435
+ } else if (event.keyCode == 13) {
3436
+ // Enter
3437
+ this.view.focus();
3438
+ } else if (event.keyCode >= 65 && event.keyCode <= 90 && this.selectedIndex >= 0) {
3439
+ // A-Z
3440
+ let {
3441
+ diagnostic
3442
+ } = this.items[this.selectedIndex],
3443
+ keys = assignKeys(diagnostic.actions);
3444
+ for (let i = 0; i < keys.length; i++) if (keys[i].toUpperCase().charCodeAt(0) == event.keyCode) {
3445
+ let found = findDiagnostic(this.view.state.field(lintState).diagnostics, diagnostic);
3446
+ if (found) diagnostic.actions[i].apply(view, found.from, found.to);
3447
+ }
3448
+ } else {
3449
+ return;
3450
+ }
3451
+ event.preventDefault();
3452
+ };
3453
+ let onclick = event => {
3454
+ for (let i = 0; i < this.items.length; i++) {
3455
+ if (this.items[i].dom.contains(event.target)) this.moveSelection(i);
3456
+ }
3457
+ };
3458
+ this.list = crelt("ul", {
3459
+ tabIndex: 0,
3460
+ role: "listbox",
3461
+ "aria-label": this.view.state.phrase("Diagnostics"),
3462
+ onkeydown,
3463
+ onclick
3464
+ });
3465
+ this.dom = crelt("div", {
3466
+ class: "cm-panel-lint"
3467
+ }, this.list, crelt("button", {
3468
+ type: "button",
3469
+ name: "close",
3470
+ "aria-label": this.view.state.phrase("close"),
3471
+ onclick: () => closeLintPanel(this.view)
3472
+ }, "×"));
3473
+ this.update();
3474
+ }
3475
+ get selectedIndex() {
3476
+ let selected = this.view.state.field(lintState).selected;
3477
+ if (!selected) return -1;
3478
+ for (let i = 0; i < this.items.length; i++) if (this.items[i].diagnostic == selected.diagnostic) return i;
3479
+ return -1;
3480
+ }
3481
+ update() {
3482
+ let {
3483
+ diagnostics,
3484
+ selected
3485
+ } = this.view.state.field(lintState);
3486
+ let i = 0,
3487
+ needsSync = false,
3488
+ newSelectedItem = null;
3489
+ diagnostics.between(0, this.view.state.doc.length, (_start, _end, {
3490
+ spec
3491
+ }) => {
3492
+ let found = -1,
3493
+ item;
3494
+ for (let j = i; j < this.items.length; j++) if (this.items[j].diagnostic == spec.diagnostic) {
3495
+ found = j;
3496
+ break;
3497
+ }
3498
+ if (found < 0) {
3499
+ item = new PanelItem(this.view, spec.diagnostic);
3500
+ this.items.splice(i, 0, item);
3501
+ needsSync = true;
3502
+ } else {
3503
+ item = this.items[found];
3504
+ if (found > i) {
3505
+ this.items.splice(i, found - i);
3506
+ needsSync = true;
3507
+ }
3508
+ }
3509
+ if (selected && item.diagnostic == selected.diagnostic) {
3510
+ if (!item.dom.hasAttribute("aria-selected")) {
3511
+ item.dom.setAttribute("aria-selected", "true");
3512
+ newSelectedItem = item;
3513
+ }
3514
+ } else if (item.dom.hasAttribute("aria-selected")) {
3515
+ item.dom.removeAttribute("aria-selected");
3516
+ }
3517
+ i++;
3518
+ });
3519
+ while (i < this.items.length && !(this.items.length == 1 && this.items[0].diagnostic.from < 0)) {
3520
+ needsSync = true;
3521
+ this.items.pop();
3522
+ }
3523
+ if (this.items.length == 0) {
3524
+ this.items.push(new PanelItem(this.view, {
3525
+ from: -1,
3526
+ to: -1,
3527
+ severity: "info",
3528
+ message: this.view.state.phrase("No diagnostics")
3529
+ }));
3530
+ needsSync = true;
3531
+ }
3532
+ if (newSelectedItem) {
3533
+ this.list.setAttribute("aria-activedescendant", newSelectedItem.id);
3534
+ this.view.requestMeasure({
3535
+ key: this,
3536
+ read: () => ({
3537
+ sel: newSelectedItem.dom.getBoundingClientRect(),
3538
+ panel: this.list.getBoundingClientRect()
3539
+ }),
3540
+ write: ({
3541
+ sel,
3542
+ panel
3543
+ }) => {
3544
+ 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;
3545
+ }
3546
+ });
3547
+ } else if (this.selectedIndex < 0) {
3548
+ this.list.removeAttribute("aria-activedescendant");
3549
+ }
3550
+ if (needsSync) this.sync();
3551
+ }
3552
+ sync() {
3553
+ let domPos = this.list.firstChild;
3554
+ function rm() {
3555
+ let prev = domPos;
3556
+ domPos = prev.nextSibling;
3557
+ prev.remove();
3558
+ }
3559
+ for (let item of this.items) {
3560
+ if (item.dom.parentNode == this.list) {
3561
+ while (domPos != item.dom) rm();
3562
+ domPos = item.dom.nextSibling;
3563
+ } else {
3564
+ this.list.insertBefore(item.dom, domPos);
3565
+ }
3566
+ }
3567
+ while (domPos) rm();
3568
+ }
3569
+ moveSelection(selectedIndex) {
3570
+ if (this.selectedIndex < 0) return;
3571
+ let field = this.view.state.field(lintState);
3572
+ let selection = findDiagnostic(field.diagnostics, this.items[selectedIndex].diagnostic);
3573
+ if (!selection) return;
3574
+ this.view.dispatch({
3575
+ selection: {
3576
+ anchor: selection.from,
3577
+ head: selection.to
3578
+ },
3579
+ scrollIntoView: true,
3580
+ effects: movePanelSelection.of(selection)
3581
+ });
3582
+ }
3583
+ static open(view) {
3584
+ return new LintPanel(view);
3585
+ }
3586
+ }
3587
+ function svg(content, attrs = `viewBox="0 0 40 40"`) {
3588
+ return `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${attrs}>${encodeURIComponent(content)}</svg>')`;
3589
+ }
3590
+ function underline(color) {
3591
+ 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"`);
3592
+ }
3593
+ const baseTheme = /*@__PURE__*/EditorView.baseTheme({
3594
+ ".cm-diagnostic": {
3595
+ padding: "3px 6px 3px 8px",
3596
+ marginLeft: "-1px",
3597
+ display: "block",
3598
+ whiteSpace: "pre-wrap"
3599
+ },
3600
+ ".cm-diagnostic-error": {
3601
+ borderLeft: "5px solid #d11"
3602
+ },
3603
+ ".cm-diagnostic-warning": {
3604
+ borderLeft: "5px solid orange"
3605
+ },
3606
+ ".cm-diagnostic-info": {
3607
+ borderLeft: "5px solid #999"
3608
+ },
3609
+ ".cm-diagnosticAction": {
3610
+ font: "inherit",
3611
+ border: "none",
3612
+ padding: "2px 4px",
3613
+ backgroundColor: "#444",
3614
+ color: "white",
3615
+ borderRadius: "3px",
3616
+ marginLeft: "8px"
3617
+ },
3618
+ ".cm-diagnosticSource": {
3619
+ fontSize: "70%",
3620
+ opacity: .7
3621
+ },
3622
+ ".cm-lintRange": {
3623
+ backgroundPosition: "left bottom",
3624
+ backgroundRepeat: "repeat-x",
3625
+ paddingBottom: "0.7px"
3626
+ },
3627
+ ".cm-lintRange-error": {
3628
+ backgroundImage: /*@__PURE__*/underline("#d11")
3629
+ },
3630
+ ".cm-lintRange-warning": {
3631
+ backgroundImage: /*@__PURE__*/underline("orange")
3632
+ },
3633
+ ".cm-lintRange-info": {
3634
+ backgroundImage: /*@__PURE__*/underline("#999")
3635
+ },
3636
+ ".cm-lintRange-active": {
3637
+ backgroundColor: "#ffdd9980"
3638
+ },
3639
+ ".cm-tooltip-lint": {
3640
+ padding: 0,
3641
+ margin: 0
3642
+ },
3643
+ ".cm-lintPoint": {
3644
+ position: "relative",
3645
+ "&:after": {
3646
+ content: '""',
3647
+ position: "absolute",
3648
+ bottom: 0,
3649
+ left: "-2px",
3650
+ borderLeft: "3px solid transparent",
3651
+ borderRight: "3px solid transparent",
3652
+ borderBottom: "4px solid #d11"
3653
+ }
3654
+ },
3655
+ ".cm-lintPoint-warning": {
3656
+ "&:after": {
3657
+ borderBottomColor: "orange"
3658
+ }
3659
+ },
3660
+ ".cm-lintPoint-info": {
3661
+ "&:after": {
3662
+ borderBottomColor: "#999"
3663
+ }
3664
+ },
3665
+ ".cm-panel.cm-panel-lint": {
3666
+ position: "relative",
3667
+ "& ul": {
3668
+ maxHeight: "100px",
3669
+ overflowY: "auto",
3670
+ "& [aria-selected]": {
3671
+ backgroundColor: "#ddd",
3672
+ "& u": {
3673
+ textDecoration: "underline"
3674
+ }
3675
+ },
3676
+ "&:focus [aria-selected]": {
3677
+ background_fallback: "#bdf",
3678
+ backgroundColor: "Highlight",
3679
+ color_fallback: "white",
3680
+ color: "HighlightText"
3681
+ },
3682
+ "& u": {
3683
+ textDecoration: "none"
3684
+ },
3685
+ padding: 0,
3686
+ margin: 0
3687
+ },
3688
+ "& [name=close]": {
3689
+ position: "absolute",
3690
+ top: "0",
3691
+ right: "2px",
3692
+ background: "inherit",
3693
+ border: "none",
3694
+ font: "inherit",
3695
+ padding: 0,
3696
+ margin: 0
3697
+ }
3698
+ }
3699
+ });
3700
+
3701
+ // (The superfluous function calls around the list of extensions work
3702
+ // around current limitations in tree-shaking software.)
3703
+ /**
3704
+ This is an extension value that just pulls together a number of
3705
+ extensions that you might want in a basic editor. It is meant as a
3706
+ convenient helper to quickly set up CodeMirror without installing
3707
+ and importing a lot of separate packages.
3708
+
3709
+ Specifically, it includes...
3710
+
3711
+ - [the default command bindings](https://codemirror.net/6/docs/ref/#commands.defaultKeymap)
3712
+ - [line numbers](https://codemirror.net/6/docs/ref/#view.lineNumbers)
3713
+ - [special character highlighting](https://codemirror.net/6/docs/ref/#view.highlightSpecialChars)
3714
+ - [the undo history](https://codemirror.net/6/docs/ref/#commands.history)
3715
+ - [a fold gutter](https://codemirror.net/6/docs/ref/#language.foldGutter)
3716
+ - [custom selection drawing](https://codemirror.net/6/docs/ref/#view.drawSelection)
3717
+ - [drop cursor](https://codemirror.net/6/docs/ref/#view.dropCursor)
3718
+ - [multiple selections](https://codemirror.net/6/docs/ref/#state.EditorState^allowMultipleSelections)
3719
+ - [reindentation on input](https://codemirror.net/6/docs/ref/#language.indentOnInput)
3720
+ - [the default highlight style](https://codemirror.net/6/docs/ref/#language.defaultHighlightStyle) (as fallback)
3721
+ - [bracket matching](https://codemirror.net/6/docs/ref/#language.bracketMatching)
3722
+ - [bracket closing](https://codemirror.net/6/docs/ref/#autocomplete.closeBrackets)
3723
+ - [autocompletion](https://codemirror.net/6/docs/ref/#autocomplete.autocompletion)
3724
+ - [rectangular selection](https://codemirror.net/6/docs/ref/#view.rectangularSelection) and [crosshair cursor](https://codemirror.net/6/docs/ref/#view.crosshairCursor)
3725
+ - [active line highlighting](https://codemirror.net/6/docs/ref/#view.highlightActiveLine)
3726
+ - [active line gutter highlighting](https://codemirror.net/6/docs/ref/#view.highlightActiveLineGutter)
3727
+ - [selection match highlighting](https://codemirror.net/6/docs/ref/#search.highlightSelectionMatches)
3728
+ - [search](https://codemirror.net/6/docs/ref/#search.searchKeymap)
3729
+ - [linting](https://codemirror.net/6/docs/ref/#lint.lintKeymap)
3730
+
3731
+ (You'll probably want to add some language package to your setup
3732
+ too.)
3733
+
3734
+ This extension does not allow customization. The idea is that,
3735
+ once you decide you want to configure your editor more precisely,
3736
+ you take this package's source (which is just a bunch of imports
3737
+ and an array literal), copy it into your own code, and adjust it
3738
+ as desired.
3739
+ */
3740
+ const basicSetup = /*@__PURE__*/(() => [lineNumbers(), highlightActiveLineGutter(), highlightSpecialChars(), history(), foldGutter(), drawSelection(), dropCursor(), EditorState.allowMultipleSelections.of(true), indentOnInput(), syntaxHighlighting(defaultHighlightStyle, {
3741
+ fallback: true
3742
+ }), bracketMatching(), closeBrackets(), autocompletion(), rectangularSelection(), crosshairCursor(), highlightActiveLine(), highlightSelectionMatches(), keymap.of([...closeBracketsKeymap, ...defaultKeymap, ...searchKeymap, ...historyKeymap, ...foldKeymap, ...completionKeymap, ...lintKeymap])])();
3743
+
3744
+ //partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
3745
+ var script = defineComponent({
3746
+ name: 'OrCode',
3747
+ components: {
3748
+ OrIconButton: script$1,
3749
+ OrModal: script$2,
3750
+ OrTeleport: script$3,
3751
+ OrError: script$4,
3752
+ OrHint: script$5,
3753
+ OrLabel: script$6
3754
+ },
3755
+ model: {
3756
+ prop: 'modelValue',
3757
+ event: 'update:modelValue'
3758
+ },
3759
+ props: {
3760
+ label: {
3761
+ type: String,
3762
+ default: '',
3763
+ required: false
3764
+ },
3765
+ modelValue: {
3766
+ type: String,
3767
+ default: '',
3768
+ required: false
3769
+ },
3770
+ language: {
3771
+ type: [Object, String],
3772
+ required: false,
3773
+ default: OrCodeLanguages.JS
3774
+ },
3775
+ isReadonly: {
3776
+ type: Boolean,
3777
+ required: false,
3778
+ default: false
3779
+ },
3780
+ extensions: {
3781
+ type: Array,
3782
+ required: false,
3783
+ default: () => [basicSetup]
3784
+ },
3785
+ phrases: {
3786
+ type: Object,
3787
+ required: false,
3788
+ default: null
3789
+ },
3790
+ isShowingFullscreen: {
3791
+ type: Boolean,
3792
+ default: true,
3793
+ required: false
3794
+ },
3795
+ isInvalid: {
3796
+ type: Boolean,
3797
+ default: false,
3798
+ required: false
3799
+ },
3800
+ error: {
3801
+ type: String,
3802
+ default: '',
3803
+ required: false
3804
+ },
3805
+ hint: {
3806
+ type: String,
3807
+ default: '',
3808
+ required: false
3809
+ },
3810
+ allowPaste: {
3811
+ type: Boolean,
3812
+ default: true
3813
+ },
3814
+ allowDrop: {
3815
+ type: Boolean,
3816
+ default: true
3817
+ },
3818
+ lineWrapping: {
3819
+ type: Boolean,
3820
+ default: false
3821
+ }
3822
+ },
3823
+ emits: ['update:modelValue', 'focus', 'blur'],
3824
+ setup(props, {
3825
+ emit
3826
+ }) {
3827
+ // editor config
3828
+ const root = ref();
3829
+ const target = ref();
3830
+ const fullscreenTarget = ref();
3831
+ const isHovered = useElementHover(root);
3832
+ const editor = new EditorView({
3833
+ state: EditorState.create({
3834
+ doc: props.modelValue
3835
+ }),
3836
+ dispatch: tr => {
3837
+ editor.update([tr]);
3838
+ if (tr.changes.empty) return;
3839
+ emit('update:modelValue', editor.state.doc.toString());
3840
+ }
3841
+ });
3842
+ return {
3843
+ root,
3844
+ target,
3845
+ fullscreenTarget,
3846
+ editor,
3847
+ isHovered
3848
+ };
3849
+ },
3850
+ data() {
3851
+ return {
3852
+ isFullscreen: false
3853
+ };
3854
+ },
3855
+ computed: {
3856
+ localLanguage() {
3857
+ if (Object.values(OrCodeLanguages).includes(this.language)) {
3858
+ return languages[this.language];
3859
+ } else {
3860
+ return this.language;
3861
+ }
3862
+ },
3863
+ localExtensions() {
3864
+ const {
3865
+ allowDrop,
3866
+ allowPaste,
3867
+ lineWrapping,
3868
+ extensions
3869
+ } = this;
3870
+ let ext = [theme, EditorView.baseTheme({}),
3871
+ // locale settings
3872
+ this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
3873
+ // Parser language setting
3874
+ this.localLanguage,
3875
+ // Editable option
3876
+ EditorView.editable.of(!this.isReadonly),
3877
+ // Focus and blur listener
3878
+ EditorView.updateListener.of(viewUpdate => {
3879
+ if (viewUpdate.focusChanged) {
3880
+ viewUpdate.view.hasFocus ? this.$emit('focus') : this.$emit('blur', viewUpdate.state.doc.toString());
3881
+ }
3882
+ }), EditorView.domEventHandlers({
3883
+ drop(event) {
3884
+ if (!allowDrop) {
3885
+ event.preventDefault();
3886
+ return true;
3887
+ }
3888
+ },
3889
+ paste(event) {
3890
+ if (!allowPaste) {
3891
+ event.preventDefault();
3892
+ return true;
3893
+ }
3894
+ }
3895
+ }),
3896
+ // line wrapping
3897
+ lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])];
3898
+ if (Array.isArray(extensions)) {
3899
+ ext = [...ext, ...extensions];
3900
+ }
3901
+ ext = ext.filter(Boolean);
3902
+ return ext;
3903
+ },
3904
+ isShowingError() {
3905
+ return !!this.error && this.isInvalid;
3906
+ },
3907
+ isShowingHint() {
3908
+ return !!this.hint && !this.isShowingError;
3909
+ },
3910
+ isShowingHeader() {
3911
+ var _a;
3912
+ return this.isShowingFullscreen || this.$slots.label || this.$slots.actions || ((_a = this.$scopedSlots) === null || _a === void 0 ? void 0 : _a.actions);
3913
+ }
3914
+ },
3915
+ watch: {
3916
+ modelValue(value) {
3917
+ if (this.editor.composing) return;
3918
+ if (this.editor.state.doc.toString() === value) return;
3919
+ const previous = this.editor.state.selection;
3920
+ this.editor.setState(EditorState.create({
3921
+ doc: value,
3922
+ extensions: this.localExtensions,
3923
+ selection: previous.ranges.some(range => range.to > value.length) ? {
3924
+ anchor: value.length
3925
+ } : previous
3926
+ }));
3927
+ },
3928
+ isFullscreen(value) {
3929
+ if (value) {
3930
+ this.fullscreenTarget.append(this.editor.dom);
3931
+ } else {
3932
+ this.target.append(this.editor.dom);
3933
+ }
3934
+ },
3935
+ localExtensions() {
3936
+ this.updateEditorState();
3937
+ }
3938
+ },
3939
+ mounted() {
3940
+ this.updateEditorState();
3941
+ this.target.append(this.editor.dom);
3942
+ },
3943
+ beforeUnmount() {
3944
+ var _a;
3945
+ (_a = this.editor) === null || _a === void 0 ? void 0 : _a.destroy();
3946
+ },
3947
+ methods: {
3948
+ updateEditorState() {
3949
+ this.editor.setState(EditorState.create({
3950
+ doc: this.modelValue,
3951
+ extensions: this.localExtensions
3952
+ }));
3953
+ },
3954
+ toggleFullscreen(value) {
3955
+ this.isFullscreen = value === undefined ? !this.isFullscreen : value;
3956
+ }
3957
+ }
3958
+ });
3959
+
3960
+ export { script as s };