@onereach/ui-components 2.76.8-beta.2449.0 → 2.77.0-beta.2448.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 (2597) hide show
  1. package/dist/bundled/v2/OrAvatar-7fc11680.js +114 -0
  2. package/dist/bundled/v2/OrButton-451e39d6.js +117 -0
  3. package/dist/bundled/v2/OrButton-f41bc4f9.js +174 -0
  4. package/dist/bundled/v2/OrCard-01367884.js +55 -0
  5. package/dist/bundled/v2/OrCardCollection-05d12693.js +304 -0
  6. package/dist/bundled/v2/OrCheckbox-19375a2b.js +187 -0
  7. package/dist/bundled/v2/OrConfirm-dd824d8a.js +283 -0
  8. package/dist/bundled/v2/OrError-516a4334.js +72 -0
  9. package/dist/bundled/v2/OrHint-a2dc1e08.js +72 -0
  10. package/dist/bundled/v2/OrIcon-7582c4d1.js +70 -0
  11. package/dist/bundled/v2/OrIconButton-3c5bac86.js +116 -0
  12. package/dist/bundled/v2/OrInput-d2299d9b.js +408 -0
  13. package/dist/bundled/v2/OrLabel-705461df.js +90 -0
  14. package/dist/bundled/v2/OrLoader-f011afff.js +171 -0
  15. package/dist/bundled/v2/OrModal-e540b95b.js +122 -0
  16. package/dist/bundled/v2/OrNotification-25c7e19c.js +108 -0
  17. package/dist/bundled/v2/OrOverlay-831c4cf3.js +79 -0
  18. package/dist/bundled/v2/OrProgress-66304d97.js +247 -0
  19. package/dist/bundled/v2/OrRadio-bd269b6c.js +169 -0
  20. package/dist/bundled/v2/OrSearch-37f87411.js +145 -0
  21. package/dist/bundled/v2/OrSelect-a3c1cb19.js +503 -0
  22. package/dist/bundled/v2/OrSidebar-b19f60bb.js +349 -0
  23. package/dist/bundled/v2/OrSkeletonCircle-8d795bd0.js +82 -0
  24. package/dist/bundled/v2/OrSkeletonRect-b1254c5a.js +85 -0
  25. package/dist/bundled/v2/OrSkeletonText-f15c3702.js +114 -0
  26. package/dist/bundled/v2/OrSwitch-1cabf182.js +201 -0
  27. package/dist/bundled/v2/OrTab-831a923c.js +77 -0
  28. package/dist/bundled/v2/OrTabs-3652b7c1.js +204 -0
  29. package/dist/bundled/v2/OrTag-2f788ca4.js +121 -0
  30. package/dist/bundled/v2/OrTeleport.vue2-259d6f25.js +60 -0
  31. package/dist/bundled/v2/OrTextarea-e10c98ce.js +248 -0
  32. package/dist/bundled/v2/OrToastContainer-38cc76b5.js +375 -0
  33. package/dist/bundled/v2/OrTooltip-6c689e3b.js +123 -0
  34. package/dist/bundled/v2/components/OrAvatar/OrAvatar.js +117 -0
  35. package/dist/bundled/v2/components/OrAvatar/constants.js +8 -0
  36. package/dist/bundled/v2/components/OrAvatar/index.js +17 -0
  37. package/dist/bundled/v2/components/OrAvatarV3/index.js +12 -0
  38. package/dist/bundled/v2/components/OrAvatarV3/props.js +19 -0
  39. package/dist/bundled/v2/components/OrAvatarV3/styles.js +65 -0
  40. package/dist/bundled/v2/components/OrBottomSheet/OrBottomSheet.js +142 -0
  41. package/dist/bundled/v2/components/OrBottomSheetV3/index.js +11 -0
  42. package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +37 -0
  43. package/dist/bundled/v2/components/OrButton/OrButton.js +174 -0
  44. package/dist/bundled/v2/components/OrButton/constants.js +25 -0
  45. package/dist/bundled/v2/components/OrButton/index.js +8 -0
  46. package/dist/bundled/v2/components/OrButtonV2/constants.js +43 -0
  47. package/dist/bundled/v2/components/OrButtonV2/index.d.ts +3 -0
  48. package/dist/bundled/v2/components/OrButtonV2/index.js +21 -0
  49. package/dist/bundled/v2/components/OrButtonV3/index.js +9 -0
  50. package/dist/bundled/v2/components/OrButtonV3/props.js +21 -0
  51. package/dist/bundled/v2/components/OrButtonV3/styles.js +67 -0
  52. package/dist/bundled/v2/components/OrCard/OrCard.js +65 -0
  53. package/dist/bundled/v2/components/OrCard/index.js +4 -0
  54. package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +236 -0
  55. package/dist/bundled/v2/components/OrCardCollection/constants.js +7 -0
  56. package/dist/bundled/v2/components/OrCardCollection/index.js +30 -0
  57. package/dist/bundled/v2/components/OrCardCollection/types.js +1 -0
  58. package/dist/bundled/v2/components/OrCardCollectionV3/index.js +55 -0
  59. package/dist/bundled/v2/components/OrCardCollectionV3/props.js +16 -0
  60. package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +30 -0
  61. package/dist/bundled/v2/components/OrCardCollectionV3/types.js +1 -0
  62. package/dist/bundled/v2/components/OrCardV3/index.js +4 -0
  63. package/dist/bundled/v2/components/OrCardV3/styles.js +15 -0
  64. package/dist/bundled/v2/components/OrCarousel/OrCarousel.js +2873 -0
  65. package/dist/bundled/v2/components/OrCarousel/constants.js +21 -0
  66. package/dist/bundled/v2/components/OrCarousel/index.d.ts +2 -0
  67. package/dist/bundled/v2/components/OrCarousel/index.js +18 -0
  68. package/dist/bundled/v2/components/OrCarouselItem/OrCarouselItem.js +41 -0
  69. package/dist/bundled/v2/components/OrCarouselItem/index.d.ts +1 -0
  70. package/dist/bundled/v2/components/OrCarouselItem/index.js +3 -0
  71. package/dist/bundled/v2/components/OrCheckbox/OrCheckbox.js +191 -0
  72. package/dist/bundled/v2/components/OrCheckbox/index.js +16 -0
  73. package/dist/bundled/v2/components/OrCheckboxV3/index.js +10 -0
  74. package/dist/bundled/v2/components/OrCheckboxV3/styles.js +31 -0
  75. package/dist/bundled/v2/components/OrChip/OrChip.js +102 -0
  76. package/dist/bundled/v2/components/OrChip/index.d.ts +1 -0
  77. package/dist/bundled/v2/components/OrChip/index.js +16 -0
  78. package/dist/bundled/v2/components/OrChips/OrChips.js +323 -0
  79. package/dist/bundled/v2/components/OrChips/constants.js +10 -0
  80. package/dist/bundled/v2/components/OrChips/index.d.ts +2 -0
  81. package/dist/bundled/v2/components/OrChips/index.js +20 -0
  82. package/dist/bundled/v2/components/OrCode/OrCode.js +4089 -0
  83. package/dist/bundled/v2/components/OrCode/constants.js +11 -0
  84. package/dist/bundled/v2/components/OrCode/index.js +32 -0
  85. package/dist/bundled/v2/components/OrCode/lang.js +3 -0
  86. package/dist/bundled/v2/components/OrCode/theme.js +189 -0
  87. package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +168 -0
  88. package/dist/bundled/v2/components/OrCollapse/index.js +7 -0
  89. package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +167 -0
  90. package/dist/bundled/v2/components/OrColorPicker/constants.js +323 -0
  91. package/dist/bundled/v2/components/OrColorPicker/defultPalette.js +15 -0
  92. package/dist/bundled/v2/components/OrColorPicker/index.js +15 -0
  93. package/dist/bundled/v2/components/OrColorPicker/types.js +1 -0
  94. package/dist/bundled/v2/components/OrCombinedInput/OrCombinedInput.js +148 -0
  95. package/dist/bundled/v2/components/OrCombinedInputV3/index.js +12 -0
  96. package/dist/bundled/v2/components/OrCombinedInputV3/props.js +1 -0
  97. package/dist/bundled/v2/components/OrCombinedInputV3/styles.js +16 -0
  98. package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +280 -0
  99. package/dist/bundled/v2/components/OrConfirm/index.js +32 -0
  100. package/dist/bundled/v2/components/OrConfirmV3/index.js +51 -0
  101. package/dist/bundled/v2/components/OrConfirmV3/props.js +7 -0
  102. package/dist/bundled/v2/components/OrConfirmV3/styles.js +47 -0
  103. package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +759 -0
  104. package/dist/bundled/v2/components/OrDateTimePicker/constants.js +20 -0
  105. package/dist/bundled/v2/components/OrDateTimePicker/index.js +27 -0
  106. package/dist/bundled/v2/components/OrEmptyState/OrEmptyState.js +111 -0
  107. package/dist/bundled/v2/components/OrEmptyStateV3/index.js +5 -0
  108. package/dist/bundled/v2/components/OrEmptyStateV3/props.js +7 -0
  109. package/dist/bundled/v2/components/OrEmptyStateV3/styles.js +46 -0
  110. package/dist/bundled/v2/components/OrEmptyStateV3/types.js +1 -0
  111. package/dist/bundled/v2/components/OrError/OrError.js +52 -0
  112. package/dist/bundled/v2/components/OrError/index.js +4 -0
  113. package/dist/bundled/v2/components/OrErrorTag/OrErrorTag.js +67 -0
  114. package/dist/bundled/v2/components/OrErrorTagV3/index.js +7 -0
  115. package/dist/bundled/v2/components/OrErrorTagV3/styles.js +15 -0
  116. package/dist/bundled/v2/components/OrErrorV3/index.js +4 -0
  117. package/dist/bundled/v2/components/OrErrorV3/styles.js +19 -0
  118. package/dist/bundled/v2/components/OrExpansionPanel/OrExpansionPanel.js +145 -0
  119. package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +8 -0
  120. package/dist/bundled/v2/components/OrExpansionPanelV3/props.js +12 -0
  121. package/dist/bundled/v2/components/OrExpansionPanelV3/styles.js +49 -0
  122. package/dist/bundled/v2/components/OrFab/OrFab.js +83 -0
  123. package/dist/bundled/v2/components/OrFabV3/index.js +8 -0
  124. package/dist/bundled/v2/components/OrFabV3/props.js +7 -0
  125. package/dist/bundled/v2/components/OrFabV3/styles.js +19 -0
  126. package/dist/bundled/v2/components/OrFloating/OrFloating.js +189 -0
  127. package/dist/bundled/v2/components/OrFloating/constants.js +22 -0
  128. package/dist/bundled/v2/components/OrFloating/index.js +11 -0
  129. package/dist/bundled/v2/components/OrHint/OrHint.js +55 -0
  130. package/dist/bundled/v2/components/OrHint/index.js +5 -0
  131. package/dist/bundled/v2/components/OrHintV3/index.js +4 -0
  132. package/dist/bundled/v2/components/OrHintV3/styles.js +19 -0
  133. package/dist/bundled/v2/components/OrIcon/OrIcon.js +159 -0
  134. package/dist/bundled/v2/components/OrIcon/constants.js +24 -0
  135. package/dist/bundled/v2/components/OrIcon/index.js +15 -0
  136. package/dist/bundled/v2/components/OrIconButton/OrIconButton.js +229 -0
  137. package/dist/bundled/v2/components/OrIconButtonV2/OrIconButton.vue.d.ts +132 -0
  138. package/dist/bundled/v2/components/OrIconButtonV2/index.d.ts +1 -0
  139. package/dist/bundled/v2/components/OrIconButtonV2/index.js +20 -0
  140. package/dist/bundled/v2/components/OrIconButtonV3/index.js +24 -0
  141. package/dist/bundled/v2/components/OrIconButtonV3/props.js +10 -0
  142. package/dist/bundled/v2/components/OrIconButtonV3/styles.js +50 -0
  143. package/dist/bundled/v2/components/OrIconV3/index.js +5 -0
  144. package/dist/bundled/v2/components/OrIconV3/props.js +17 -0
  145. package/dist/bundled/v2/components/OrIconV3/styles.js +46 -0
  146. package/dist/bundled/v2/components/OrInlineInput/OrInlineInput.js +376 -0
  147. package/dist/bundled/v2/components/OrInlineInputBox/OrInlineInputBox.js +68 -0
  148. package/dist/bundled/v2/components/OrInlineInputBoxV3/index.js +5 -0
  149. package/dist/bundled/v2/components/OrInlineInputBoxV3/props.js +7 -0
  150. package/dist/bundled/v2/components/OrInlineInputBoxV3/styles.js +23 -0
  151. package/dist/bundled/v2/components/OrInlineInputV3/index.js +38 -0
  152. package/dist/bundled/v2/components/OrInlineInputV3/props.js +9 -0
  153. package/dist/bundled/v2/components/OrInlineInputV3/styles.js +29 -0
  154. package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +400 -0
  155. package/dist/bundled/v2/components/OrInlineTextEdit/constants.js +13 -0
  156. package/dist/bundled/v2/components/OrInlineTextEdit/index.js +25 -0
  157. package/dist/bundled/v2/components/OrInlineTextarea/OrInlineTextarea.js +293 -0
  158. package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +37 -0
  159. package/dist/bundled/v2/components/OrInlineTextareaV3/styles.js +21 -0
  160. package/dist/bundled/v2/components/OrInput/OrInput.js +330 -0
  161. package/dist/bundled/v2/components/OrInput/index.js +11 -0
  162. package/dist/bundled/v2/components/OrInputBox/OrInputBox.js +82 -0
  163. package/dist/bundled/v2/components/OrInputBoxV3/index.js +5 -0
  164. package/dist/bundled/v2/components/OrInputBoxV3/props.js +12 -0
  165. package/dist/bundled/v2/components/OrInputBoxV3/styles.js +45 -0
  166. package/dist/bundled/v2/components/OrInputV3/index.js +44 -0
  167. package/dist/bundled/v2/components/OrInputV3/props.js +11 -0
  168. package/dist/bundled/v2/components/OrInputV3/styles.js +14 -0
  169. package/dist/bundled/v2/components/OrLabel/OrLabel.js +78 -0
  170. package/dist/bundled/v2/components/OrLabel/index.js +5 -0
  171. package/dist/bundled/v2/components/OrLabelV3/index.js +5 -0
  172. package/dist/bundled/v2/components/OrLabelV3/props.js +7 -0
  173. package/dist/bundled/v2/components/OrLabelV3/styles.js +29 -0
  174. package/dist/bundled/v2/components/OrLink/OrLink.js +85 -0
  175. package/dist/bundled/v2/components/OrLinkV3/index.js +5 -0
  176. package/dist/bundled/v2/components/OrLinkV3/props.js +10 -0
  177. package/dist/bundled/v2/components/OrLinkV3/styles.js +30 -0
  178. package/dist/bundled/v2/components/OrList/OrList.js +2887 -0
  179. package/dist/bundled/v2/components/OrList/index.js +25 -0
  180. package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +239 -0
  181. package/dist/bundled/v2/components/OrListOfInputs/index.js +29 -0
  182. package/dist/bundled/v2/components/OrLoader/OrLoader.js +106 -0
  183. package/dist/bundled/v2/components/OrLoader/constants.js +8 -0
  184. package/dist/bundled/v2/components/OrLoader/index.js +6 -0
  185. package/dist/bundled/v2/components/OrLoader/types.js +1 -0
  186. package/dist/bundled/v2/components/OrLoaderV3/index.js +6 -0
  187. package/dist/bundled/v2/components/OrLoaderV3/props.js +18 -0
  188. package/dist/bundled/v2/components/OrLoaderV3/styles.js +17 -0
  189. package/dist/bundled/v2/components/OrMenu/OrMenu.js +148 -0
  190. package/dist/bundled/v2/components/OrMenuItem/OrMenuItem.js +95 -0
  191. package/dist/bundled/v2/components/OrMenuItemV3/index.js +7 -0
  192. package/dist/bundled/v2/components/OrMenuItemV3/styles.js +17 -0
  193. package/dist/bundled/v2/components/OrMenuV3/index.js +18 -0
  194. package/dist/bundled/v2/components/OrMenuV3/props.js +1 -0
  195. package/dist/bundled/v2/components/OrMenuV3/styles.js +7 -0
  196. package/dist/bundled/v2/components/OrModal/OrModal.js +1467 -0
  197. package/dist/bundled/v2/components/OrModal/constants.js +10 -0
  198. package/dist/bundled/v2/components/OrModal/index.js +24 -0
  199. package/dist/bundled/v2/components/OrModalV3/index.js +27 -0
  200. package/dist/bundled/v2/components/OrModalV3/props.js +8 -0
  201. package/dist/bundled/v2/components/OrModalV3/styles.js +33 -0
  202. package/dist/bundled/v2/components/OrNotification/OrNotification.js +143 -0
  203. package/dist/bundled/v2/components/OrNotification/constants.js +14 -0
  204. package/dist/bundled/v2/components/OrNotification/index.js +22 -0
  205. package/dist/bundled/v2/components/OrNotificationV3/index.js +27 -0
  206. package/dist/bundled/v2/components/OrNotificationV3/props.js +9 -0
  207. package/dist/bundled/v2/components/OrNotificationV3/styles.js +54 -0
  208. package/dist/bundled/v2/components/OrNumberInput/OrNumberInput.js +233 -0
  209. package/dist/bundled/v2/components/OrNumberInput/index.js +12 -0
  210. package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +259 -0
  211. package/dist/bundled/v2/components/OrOverflowMenu/index.js +23 -0
  212. package/dist/bundled/v2/components/OrOverflowMenu/types.js +1 -0
  213. package/dist/bundled/v2/components/OrOverlay/OrOverlay.js +71 -0
  214. package/dist/bundled/v2/components/OrOverlay/index.js +4 -0
  215. package/dist/bundled/v2/components/OrOverlayV3/index.js +9 -0
  216. package/dist/bundled/v2/components/OrOverlayV3/styles.js +9 -0
  217. package/dist/bundled/v2/components/OrPagination/OrPagination.js +332 -0
  218. package/dist/bundled/v2/components/OrPaginationV3/index.js +31 -0
  219. package/dist/bundled/v2/components/OrPaginationV3/styles.js +26 -0
  220. package/dist/bundled/v2/components/OrPaginationV3/types.js +1 -0
  221. package/dist/bundled/v2/components/OrPassword/OrPassword.js +241 -0
  222. package/dist/bundled/v2/components/OrPassword/index.js +28 -0
  223. package/dist/bundled/v2/components/OrPopover/OrPopover.js +232 -0
  224. package/dist/bundled/v2/components/OrPopoverV3/index.js +16 -0
  225. package/dist/bundled/v2/components/OrPopoverV3/props.js +23 -0
  226. package/dist/bundled/v2/components/OrPopoverV3/styles.js +44 -0
  227. package/dist/bundled/v2/components/OrProgress/OrProgress.js +211 -0
  228. package/dist/bundled/v2/components/OrProgress/constants.js +15 -0
  229. package/dist/bundled/v2/components/OrProgress/index.js +6 -0
  230. package/dist/bundled/v2/components/OrProgressV3/index.js +8 -0
  231. package/dist/bundled/v2/components/OrProgressV3/props.js +15 -0
  232. package/dist/bundled/v2/components/OrProgressV3/styles.js +63 -0
  233. package/dist/bundled/v2/components/OrRadio/OrRadio.js +141 -0
  234. package/dist/bundled/v2/components/OrRadio/index.js +5 -0
  235. package/dist/bundled/v2/components/OrRadioGroup/OrRadioGroup.js +87 -0
  236. package/dist/bundled/v2/components/OrRadioGroup/index.js +4 -0
  237. package/dist/bundled/v2/components/OrRadioV3/index.js +10 -0
  238. package/dist/bundled/v2/components/OrRadioV3/styles.js +31 -0
  239. package/dist/bundled/v2/components/OrSearch/OrSearch.js +262 -0
  240. package/dist/bundled/v2/components/OrSearch/index.js +27 -0
  241. package/dist/bundled/v2/components/OrSearchV3/index.js +45 -0
  242. package/dist/bundled/v2/components/OrSearchV3/props.js +1 -0
  243. package/dist/bundled/v2/components/OrSegmentedControl/OrSegmentedControl.js +213 -0
  244. package/dist/bundled/v2/components/OrSegmentedControlV3/index.js +5 -0
  245. package/dist/bundled/v2/components/OrSegmentedControlV3/props.js +7 -0
  246. package/dist/bundled/v2/components/OrSegmentedControlV3/styles.js +15 -0
  247. package/dist/bundled/v2/components/OrSegmentedControlV3/types.js +1 -0
  248. package/dist/bundled/v2/components/OrSelect/OrSelect.js +1061 -0
  249. package/dist/bundled/v2/components/OrSelect/OrSelect.vue.d.ts +242 -0
  250. package/dist/bundled/v2/components/OrSelect/constants.js +50 -0
  251. package/dist/bundled/v2/components/OrSelect/index.js +24 -0
  252. package/dist/bundled/v2/components/OrSelect/types.js +1 -0
  253. package/dist/bundled/v2/components/OrSelectV3/index.js +59 -0
  254. package/dist/bundled/v2/components/OrSelectV3/props.js +1 -0
  255. package/dist/bundled/v2/components/OrSelectV3/styles.js +43 -0
  256. package/dist/bundled/v2/components/OrSelectV3/types.js +1 -0
  257. package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +142 -0
  258. package/dist/bundled/v2/components/OrSidebar/constants.js +7 -0
  259. package/dist/bundled/v2/components/OrSidebar/index.js +7 -0
  260. package/dist/bundled/v2/components/OrSidebarV3/index.js +28 -0
  261. package/dist/bundled/v2/components/OrSidebarV3/props.js +7 -0
  262. package/dist/bundled/v2/components/OrSidebarV3/styles.js +118 -0
  263. package/dist/bundled/v2/components/OrSkeleton/constants.js +12 -0
  264. package/dist/bundled/v2/components/OrSkeleton/index.d.ts +4 -0
  265. package/dist/bundled/v2/components/OrSkeleton/index.js +9 -0
  266. package/dist/bundled/v2/components/OrSkeletonCircle/OrSkeletonCircle.js +78 -0
  267. package/dist/bundled/v2/components/OrSkeletonCircle/index.d.ts +2 -0
  268. package/dist/bundled/v2/components/OrSkeletonCircle/index.js +7 -0
  269. package/dist/bundled/v2/components/OrSkeletonCircleV3/index.d.ts +1 -0
  270. package/dist/bundled/v2/components/OrSkeletonCircleV3/index.js +6 -0
  271. package/dist/bundled/v2/components/OrSkeletonRect/OrSkeletonRect.js +81 -0
  272. package/dist/bundled/v2/components/OrSkeletonRect/index.d.ts +2 -0
  273. package/dist/bundled/v2/components/OrSkeletonRect/index.js +7 -0
  274. package/dist/bundled/v2/components/OrSkeletonRectV3/index.d.ts +1 -0
  275. package/dist/bundled/v2/components/OrSkeletonRectV3/index.js +6 -0
  276. package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.js +94 -0
  277. package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.vue.d.ts +73 -0
  278. package/dist/bundled/v2/components/OrSkeletonText/index.d.ts +2 -0
  279. package/dist/bundled/v2/components/OrSkeletonText/index.js +7 -0
  280. package/dist/bundled/v2/components/OrSkeletonTextV3/index.d.ts +1 -0
  281. package/dist/bundled/v2/components/OrSkeletonTextV3/index.js +6 -0
  282. package/dist/bundled/v2/components/OrSkeletonV3/index.d.ts +3 -0
  283. package/dist/bundled/v2/components/OrSkeletonV3/index.js +8 -0
  284. package/dist/bundled/v2/components/OrSkeletonV3/styles.js +34 -0
  285. package/dist/bundled/v2/components/OrSlider/OrSlider.js +378 -0
  286. package/dist/bundled/v2/components/OrSlider/index.js +17 -0
  287. package/dist/bundled/v2/components/OrSortHeader/OrSortHeader.js +113 -0
  288. package/dist/bundled/v2/components/OrSortHeaderV3/index.js +7 -0
  289. package/dist/bundled/v2/components/OrSortHeaderV3/styles.js +15 -0
  290. package/dist/bundled/v2/components/OrSortHeaderV3/types.js +1 -0
  291. package/dist/bundled/v2/components/OrStepper/OrStepper.js +663 -0
  292. package/dist/bundled/v2/components/OrStepper/index.js +20 -0
  293. package/dist/bundled/v2/components/OrSwitch/OrSwitch.js +153 -0
  294. package/dist/bundled/v2/components/OrSwitch/index.js +7 -0
  295. package/dist/bundled/v2/components/OrSwitchV3/index.js +14 -0
  296. package/dist/bundled/v2/components/OrSwitchV3/styles.js +51 -0
  297. package/dist/bundled/v2/components/OrTab/OrTab.js +107 -0
  298. package/dist/bundled/v2/components/OrTab/index.js +6 -0
  299. package/dist/bundled/v2/components/OrTabHeaderItem/OrTabHeaderItem.js +110 -0
  300. package/dist/bundled/v2/components/OrTabHeaderItem/index.js +5 -0
  301. package/dist/bundled/v2/components/OrTabV3/index.js +4 -0
  302. package/dist/bundled/v2/components/OrTabV3/styles.js +19 -0
  303. package/dist/bundled/v2/components/OrTabs/OrTabs.js +112 -0
  304. package/dist/bundled/v2/components/OrTabs/index.js +6 -0
  305. package/dist/bundled/v2/components/OrTabsV3/index.js +28 -0
  306. package/dist/bundled/v2/components/OrTabsV3/props.js +7 -0
  307. package/dist/bundled/v2/components/OrTabsV3/styles.js +19 -0
  308. package/dist/bundled/v2/components/OrTabsV3/types.js +1 -0
  309. package/dist/bundled/v2/components/OrTag/OrTag.js +128 -0
  310. package/dist/bundled/v2/components/OrTag/index.js +20 -0
  311. package/dist/bundled/v2/components/OrTagV3/index.js +27 -0
  312. package/dist/bundled/v2/components/OrTagV3/props.js +13 -0
  313. package/dist/bundled/v2/components/OrTagV3/styles.js +30 -0
  314. package/dist/bundled/v2/components/OrTeleport/OrTeleport.js +51 -0
  315. package/dist/bundled/v2/components/OrTeleport/constants.js +16 -0
  316. package/dist/bundled/v2/components/OrTeleport/index.js +5 -0
  317. package/dist/bundled/v2/components/OrTeleportV3/index.js +4 -0
  318. package/dist/bundled/v2/components/OrText/OrText.js +117 -0
  319. package/dist/bundled/v2/components/OrTextV3/index.js +4 -0
  320. package/dist/bundled/v2/components/OrTextV3/styles.js +17 -0
  321. package/dist/bundled/v2/components/OrTextarea/OrTextarea.js +326 -0
  322. package/dist/bundled/v2/components/OrTextarea/index.js +11 -0
  323. package/dist/bundled/v2/components/OrTextareaV3/index.js +18 -0
  324. package/dist/bundled/v2/components/OrTextareaV3/props.js +1 -0
  325. package/dist/bundled/v2/components/OrTextareaV3/styles.js +14 -0
  326. package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +530 -0
  327. package/dist/bundled/v2/components/OrTextbox/constants.js +11 -0
  328. package/dist/bundled/v2/components/OrTextbox/index.js +27 -0
  329. package/dist/bundled/v2/components/OrToast/OrToast.js +158 -0
  330. package/dist/bundled/v2/components/OrToast/Timer.js +37 -0
  331. package/dist/bundled/v2/components/OrToast/constants.js +24 -0
  332. package/dist/bundled/v2/components/OrToast/index.d.ts +5 -0
  333. package/dist/bundled/v2/components/OrToast/index.js +7 -0
  334. package/dist/bundled/v2/components/OrToast/types.js +1 -0
  335. package/dist/bundled/v2/components/OrToast/useQueue.js +33 -0
  336. package/dist/bundled/v2/components/OrToast/useToast.js +82 -0
  337. package/dist/bundled/v2/components/OrToast/useToastEventBus.js +24 -0
  338. package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +219 -0
  339. package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.vue.d.ts +93 -0
  340. package/dist/bundled/v2/components/OrToastContainer/index.d.ts +4 -0
  341. package/dist/bundled/v2/components/OrToastContainer/index.js +30 -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 +36 -0
  345. package/dist/bundled/v2/components/OrToastV3/Timer.js +37 -0
  346. package/dist/bundled/v2/components/OrToastV3/index.d.ts +5 -0
  347. package/dist/bundled/v2/components/OrToastV3/index.js +7 -0
  348. package/dist/bundled/v2/components/OrToastV3/props.js +1 -0
  349. package/dist/bundled/v2/components/OrToastV3/styles.js +59 -0
  350. package/dist/bundled/v2/components/OrToastV3/types.js +1 -0
  351. package/dist/bundled/v2/components/OrToastV3/useQueue.js +33 -0
  352. package/dist/bundled/v2/components/OrToastV3/useToast.js +82 -0
  353. package/dist/bundled/v2/components/OrToastV3/useToastEventBus.js +24 -0
  354. package/dist/bundled/v2/components/OrTooltip/OrTooltip.js +161 -0
  355. package/dist/bundled/v2/components/OrTooltip/index.d.ts +2 -0
  356. package/dist/bundled/v2/components/OrTooltip/index.js +13 -0
  357. package/dist/bundled/v2/components/OrTooltipContent/OrTooltipContent.js +71 -0
  358. package/dist/bundled/v2/components/OrTooltipContent/index.d.ts +1 -0
  359. package/dist/bundled/v2/components/OrTooltipContent/index.js +5 -0
  360. package/dist/bundled/v2/components/OrTooltipV3/index.js +18 -0
  361. package/dist/bundled/v2/components/OrTooltipV3/props.js +1 -0
  362. package/dist/bundled/v2/components/OrTooltipV3/styles.js +46 -0
  363. package/dist/bundled/v2/components/index.d.ts +1 -0
  364. package/dist/bundled/v2/components/index.js +230 -120
  365. package/dist/bundled/v2/directives/dropdown-close.js +15 -0
  366. package/dist/bundled/v2/directives/dropdown-open.js +16 -0
  367. package/dist/bundled/v2/directives/index.js +3 -4
  368. package/dist/bundled/v2/hooks/index.js +9 -9
  369. package/dist/bundled/v2/hooks/useControlAttributes.js +12 -0
  370. package/dist/bundled/v2/hooks/useElevation.js +22 -0
  371. package/dist/bundled/v2/hooks/useIdAttribute.js +12 -0
  372. package/dist/bundled/v2/hooks/useOverflow.js +64 -0
  373. package/dist/bundled/v2/hooks/useResponsive/index.js +2 -4
  374. package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +13 -0
  375. package/dist/bundled/v2/hooks/useToggle.js +22 -0
  376. package/dist/bundled/v2/hooks/useValidationAttributes.js +16 -0
  377. package/dist/bundled/v2/index-63e094a0.js +15 -0
  378. package/dist/bundled/v2/index-6976c52a.js +17838 -0
  379. package/dist/bundled/v2/index.js +231 -128
  380. package/dist/bundled/v2/lang-02d2bb2d.js +7811 -0
  381. package/dist/bundled/v2/props-fb3f60a5.js +32 -0
  382. package/dist/bundled/v2/types-668300dd.js +5 -0
  383. package/dist/bundled/v2/utils/constants/color.js +16 -0
  384. package/dist/bundled/v2/utils/constants/key-codes.js +16 -0
  385. package/dist/bundled/v2/utils/constants/poper.js +10 -0
  386. package/dist/bundled/v2/utils/constants/regex.js +49 -0
  387. package/dist/bundled/v2/utils/functions/color.js +39 -0
  388. package/dist/bundled/v2/utils/functions/dom.js +166 -0
  389. package/dist/bundled/v2/utils/functions/hash.js +8 -0
  390. package/dist/bundled/v2/utils/functions/px-to-rem.js +3 -0
  391. package/dist/bundled/v2/utils/functions/text.js +9 -0
  392. package/dist/bundled/v2/utils/isVisible.js +5 -0
  393. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-29e8ad0e.js +57 -0
  394. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-32273c2f.js +66 -0
  395. package/dist/bundled/v3/OrBottomSheet.vue_vue_type_script_lang-80114a8a.js +111 -0
  396. package/dist/bundled/v3/OrButton-bf88c2a5.js +39 -0
  397. package/dist/bundled/v3/OrButton-cc469bd8.js +33 -0
  398. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-a58d3d78.js +56 -0
  399. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-e768a47a.js +100 -0
  400. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-ed520a05.js +100 -0
  401. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-1819c7e6.js +19 -0
  402. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-81561dd8.js +21 -0
  403. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-25c62a0c.js +102 -0
  404. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-d81e9f9b.js +191 -0
  405. package/dist/bundled/v3/OrCarousel.vue_vue_type_script_lang-0e87c56b.js +2799 -0
  406. package/dist/bundled/v3/OrCarouselItem.vue_vue_type_script_lang-42da2f4a.js +7 -0
  407. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-6ff51af9.js +88 -0
  408. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-d5aa50c1.js +90 -0
  409. package/dist/bundled/v3/OrChip.vue_vue_type_script_lang-ceebbd82.js +43 -0
  410. package/dist/bundled/v3/OrChips.vue_vue_type_script_lang-94b456c7.js +190 -0
  411. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-92cabe32.js +3956 -0
  412. package/dist/bundled/v3/OrCollapse.vue_vue_type_script_lang-5137ca99.js +114 -0
  413. package/dist/bundled/v3/OrColorPicker.vue_vue_type_script_lang-4dd1e630.js +58 -0
  414. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-a48d6224.js +190 -0
  415. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-fc02d14d.js +161 -0
  416. package/dist/bundled/v3/OrDateTimePicker.vue_vue_type_script_lang-b9dade9d.js +446 -0
  417. package/dist/bundled/v3/OrEmptyState.vue_vue_type_script_lang-820566db.js +64 -0
  418. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-450321b8.js +13 -0
  419. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-de6e6cd3.js +29 -0
  420. package/dist/bundled/v3/OrErrorTag.vue_vue_type_script_lang-02a46c6b.js +24 -0
  421. package/dist/bundled/v3/OrExpansionPanel.vue_vue_type_script_lang-749ff722.js +77 -0
  422. package/dist/bundled/v3/OrFab.vue_vue_type_script_lang-96b4fd81.js +38 -0
  423. package/dist/bundled/v3/OrFloating.vue_vue_type_script_lang-d64ad4a7.js +148 -0
  424. package/dist/bundled/v3/OrHint-12428e42.js +35 -0
  425. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-5d628c6c.js +16 -0
  426. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-ec2b37d4.js +29 -0
  427. package/dist/bundled/v3/OrIcon-671794cb.js +12 -0
  428. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-1a037644.js +34 -0
  429. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-e3152dc5.js +95 -0
  430. package/dist/bundled/v3/OrIconButton-0d8e85d9.js +32 -0
  431. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-4a3f6358.js +137 -0
  432. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-5e089ff3.js +83 -0
  433. package/dist/bundled/v3/OrInlineInput.vue_vue_type_script_lang-480bbbe1.js +148 -0
  434. package/dist/bundled/v3/OrInlineInputBox.vue_vue_type_script_lang-8c9873f2.js +30 -0
  435. package/dist/bundled/v3/OrInlineTextEdit.vue_vue_type_script_lang-c2eb855d.js +232 -0
  436. package/dist/bundled/v3/OrInlineTextarea.vue_vue_type_script_lang-84378895.js +138 -0
  437. package/dist/bundled/v3/OrInput-ab04adbb.js +121 -0
  438. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-ad995b35.js +190 -0
  439. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-da9e19d2.js +148 -0
  440. package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-44f85823.js +42 -0
  441. package/dist/bundled/v3/OrLabel-47f15fc0.js +22 -0
  442. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-95601b40.js +37 -0
  443. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-f59a91ee.js +42 -0
  444. package/dist/bundled/v3/OrLink.vue_vue_type_script_lang-123433ad.js +46 -0
  445. package/dist/bundled/v3/OrList.vue_vue_type_script_lang-30a7b0e3.js +2759 -0
  446. package/dist/bundled/v3/OrListOfInputs.vue_vue_type_script_lang-9b8f2b8a.js +87 -0
  447. package/dist/bundled/v3/OrLoader-1c02d64d.js +64 -0
  448. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-228835e3.js +80 -0
  449. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-b48715a3.js +48 -0
  450. package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-911ded05.js +82 -0
  451. package/dist/bundled/v3/OrMenuItem.vue_vue_type_script_lang-7f05cee1.js +39 -0
  452. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-005d198c.js +67 -0
  453. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-a275bf57.js +1370 -0
  454. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-2900b303.js +70 -0
  455. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-4e99b9f1.js +54 -0
  456. package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-1d469d1f.js +113 -0
  457. package/dist/bundled/v3/OrOverflowMenu.vue_vue_type_script_lang-0b1d1150.js +137 -0
  458. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-2f5d626d.js +33 -0
  459. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-fea5839d.js +50 -0
  460. package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-f75db050.js +170 -0
  461. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-46bca9cd.js +99 -0
  462. package/dist/bundled/v3/OrPopover.vue_vue_type_script_lang-2ba79d91.js +179 -0
  463. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-26d7b3da.js +133 -0
  464. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-d638e153.js +138 -0
  465. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-2953870d.js +86 -0
  466. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-cc11200c.js +85 -0
  467. package/dist/bundled/v3/OrRadioGroup.vue_vue_type_script_lang-75b6c81b.js +47 -0
  468. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-2eb1c79b.js +122 -0
  469. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-b6f85857.js +78 -0
  470. package/dist/bundled/v3/OrSegmentedControl.vue_vue_type_script_lang-fb7785a9.js +137 -0
  471. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-3decc59f.js +326 -0
  472. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-d2fecd97.js +710 -0
  473. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-00e9cda7.js +89 -0
  474. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-c342ffef.js +243 -0
  475. package/dist/bundled/v3/OrSkeletonCircle.vue_vue_type_script_lang-aa467e8d.js +39 -0
  476. package/dist/bundled/v3/OrSkeletonCircle.vue_vue_type_script_lang-ad003356.js +45 -0
  477. package/dist/bundled/v3/OrSkeletonRect.vue_vue_type_script_lang-659fb605.js +42 -0
  478. package/dist/bundled/v3/OrSkeletonRect.vue_vue_type_script_lang-8d4482e4.js +48 -0
  479. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-5028961c.js +50 -0
  480. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-db3fd1e1.js +71 -0
  481. package/dist/bundled/v3/OrSlider.vue_vue_type_script_lang-900036a2.js +227 -0
  482. package/dist/bundled/v3/OrSortHeader.vue_vue_type_script_lang-d70f3898.js +61 -0
  483. package/dist/bundled/v3/OrStepper.vue_vue_type_script_lang-42f57de9.js +377 -0
  484. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-1c079a74.js +81 -0
  485. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-ac699016.js +95 -0
  486. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-71e4fa50.js +61 -0
  487. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-88016ffc.js +26 -0
  488. package/dist/bundled/v3/OrTabHeaderItem.vue_vue_type_script_lang-0a67721f.js +63 -0
  489. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-06a89286.js +45 -0
  490. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-c3739ede.js +146 -0
  491. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-37474827.js +55 -0
  492. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-f06b54a2.js +58 -0
  493. package/dist/bundled/v3/OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js +17 -0
  494. package/dist/bundled/v3/OrText.vue_vue_type_script_lang-65568962.js +78 -0
  495. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-1236e04a.js +187 -0
  496. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-cda6f95e.js +115 -0
  497. package/dist/bundled/v3/OrTextbox.vue_vue_type_script_lang-20e6c904.js +354 -0
  498. package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-39906821.js +135 -0
  499. package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-4da13abb.js +285 -0
  500. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-a27e7f1f.js +72 -0
  501. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-b8594f7e.js +89 -0
  502. package/dist/bundled/v3/OrTooltipContent.vue_vue_type_script_lang-969c20ed.js +22 -0
  503. package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +45 -0
  504. package/dist/bundled/v3/components/OrAvatar/constants.js +8 -0
  505. package/dist/bundled/v3/components/OrAvatar/index.js +19 -0
  506. package/dist/bundled/v3/components/OrAvatarV3/index.js +13 -0
  507. package/dist/bundled/v3/components/OrAvatarV3/props.js +19 -0
  508. package/dist/bundled/v3/components/OrAvatarV3/styles.js +65 -0
  509. package/dist/bundled/v3/components/OrBottomSheet/OrBottomSheet.js +36 -0
  510. package/dist/bundled/v3/components/OrBottomSheetV3/index.js +10 -0
  511. package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +37 -0
  512. package/dist/bundled/v3/components/OrButton/OrButton.js +49 -0
  513. package/dist/bundled/v3/components/OrButton/constants.js +25 -0
  514. package/dist/bundled/v3/components/OrButton/index.js +9 -0
  515. package/dist/bundled/v3/components/OrButtonV2/constants.js +43 -0
  516. package/dist/bundled/v3/components/OrButtonV2/index.d.ts +3 -0
  517. package/dist/bundled/v3/components/OrButtonV2/index.js +25 -0
  518. package/dist/bundled/v3/components/OrButtonV3/index.js +10 -0
  519. package/dist/bundled/v3/components/OrButtonV3/props.js +21 -0
  520. package/dist/bundled/v3/components/OrButtonV3/styles.js +67 -0
  521. package/dist/bundled/v3/components/OrCard/OrCard.js +22 -0
  522. package/dist/bundled/v3/components/OrCard/index.js +2 -0
  523. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +127 -0
  524. package/dist/bundled/v3/components/OrCardCollection/constants.js +7 -0
  525. package/dist/bundled/v3/components/OrCardCollection/index.js +42 -0
  526. package/dist/bundled/v3/components/OrCardCollection/types.js +1 -0
  527. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +66 -0
  528. package/dist/bundled/v3/components/OrCardCollectionV3/props.js +16 -0
  529. package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +30 -0
  530. package/dist/bundled/v3/components/OrCardCollectionV3/types.js +1 -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/index.js +10 -0
  543. package/dist/bundled/v3/components/OrCheckboxV3/styles.js +31 -0
  544. package/dist/bundled/v3/components/OrChip/OrChip.js +42 -0
  545. package/dist/bundled/v3/components/OrChip/index.d.ts +1 -0
  546. package/dist/bundled/v3/components/OrChip/index.js +18 -0
  547. package/dist/bundled/v3/components/OrChips/OrChips.js +71 -0
  548. package/dist/bundled/v3/components/OrChips/constants.js +10 -0
  549. package/dist/bundled/v3/components/OrChips/index.d.ts +2 -0
  550. package/dist/bundled/v3/components/OrChips/index.js +25 -0
  551. package/dist/bundled/v3/components/OrCode/OrCode.js +130 -0
  552. package/dist/bundled/v3/components/OrCode/constants.js +11 -0
  553. package/dist/bundled/v3/components/OrCode/index.js +42 -0
  554. package/dist/bundled/v3/components/OrCode/lang.js +3 -0
  555. package/dist/bundled/v3/components/OrCode/theme.js +189 -0
  556. package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +40 -0
  557. package/dist/bundled/v3/components/OrCollapse/index.js +5 -0
  558. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +86 -0
  559. package/dist/bundled/v3/components/OrColorPicker/constants.js +323 -0
  560. package/dist/bundled/v3/components/OrColorPicker/defultPalette.js +15 -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/OrCombinedInput/OrCombinedInput.js +121 -0
  564. package/dist/bundled/v3/components/OrCombinedInputV3/index.js +14 -0
  565. package/dist/bundled/v3/components/OrCombinedInputV3/props.js +1 -0
  566. package/dist/bundled/v3/components/OrCombinedInputV3/styles.js +16 -0
  567. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +102 -0
  568. package/dist/bundled/v3/components/OrConfirm/index.js +45 -0
  569. package/dist/bundled/v3/components/OrConfirmV3/index.js +60 -0
  570. package/dist/bundled/v3/components/OrConfirmV3/props.js +7 -0
  571. package/dist/bundled/v3/components/OrConfirmV3/styles.js +47 -0
  572. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +259 -0
  573. package/dist/bundled/v3/components/OrDateTimePicker/constants.js +20 -0
  574. package/dist/bundled/v3/components/OrDateTimePicker/index.js +36 -0
  575. package/dist/bundled/v3/components/OrEmptyState/OrEmptyState.js +29 -0
  576. package/dist/bundled/v3/components/OrEmptyStateV3/index.js +4 -0
  577. package/dist/bundled/v3/components/OrEmptyStateV3/props.js +7 -0
  578. package/dist/bundled/v3/components/OrEmptyStateV3/styles.js +46 -0
  579. package/dist/bundled/v3/components/OrEmptyStateV3/types.js +1 -0
  580. package/dist/bundled/v3/components/OrError/OrError.js +19 -0
  581. package/dist/bundled/v3/components/OrError/index.js +2 -0
  582. package/dist/bundled/v3/components/OrErrorTag/OrErrorTag.js +26 -0
  583. package/dist/bundled/v3/components/OrErrorTagV3/index.js +8 -0
  584. package/dist/bundled/v3/components/OrErrorTagV3/styles.js +15 -0
  585. package/dist/bundled/v3/components/OrErrorV3/index.js +3 -0
  586. package/dist/bundled/v3/components/OrErrorV3/styles.js +19 -0
  587. package/dist/bundled/v3/components/OrExpansionPanel/OrExpansionPanel.js +38 -0
  588. package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +9 -0
  589. package/dist/bundled/v3/components/OrExpansionPanelV3/props.js +12 -0
  590. package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +49 -0
  591. package/dist/bundled/v3/components/OrFab/OrFab.js +27 -0
  592. package/dist/bundled/v3/components/OrFabV3/index.js +9 -0
  593. package/dist/bundled/v3/components/OrFabV3/props.js +7 -0
  594. package/dist/bundled/v3/components/OrFabV3/styles.js +19 -0
  595. package/dist/bundled/v3/components/OrFloating/OrFloating.js +31 -0
  596. package/dist/bundled/v3/components/OrFloating/constants.js +22 -0
  597. package/dist/bundled/v3/components/OrFloating/index.js +9 -0
  598. package/dist/bundled/v3/components/OrHint/OrHint.js +20 -0
  599. package/dist/bundled/v3/components/OrHint/index.js +3 -0
  600. package/dist/bundled/v3/components/OrHintV3/index.js +3 -0
  601. package/dist/bundled/v3/components/OrHintV3/styles.js +19 -0
  602. package/dist/bundled/v3/components/OrIcon/OrIcon.js +53 -0
  603. package/dist/bundled/v3/components/OrIcon/constants.js +24 -0
  604. package/dist/bundled/v3/components/OrIcon/index.js +16 -0
  605. package/dist/bundled/v3/components/OrIconButton/OrIconButton.js +62 -0
  606. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +132 -0
  607. package/dist/bundled/v3/components/OrIconButtonV2/index.d.ts +1 -0
  608. package/dist/bundled/v3/components/OrIconButtonV2/index.js +24 -0
  609. package/dist/bundled/v3/components/OrIconButtonV3/index.js +26 -0
  610. package/dist/bundled/v3/components/OrIconButtonV3/props.js +10 -0
  611. package/dist/bundled/v3/components/OrIconButtonV3/styles.js +50 -0
  612. package/dist/bundled/v3/components/OrIconV3/index.js +4 -0
  613. package/dist/bundled/v3/components/OrIconV3/props.js +17 -0
  614. package/dist/bundled/v3/components/OrIconV3/styles.js +46 -0
  615. package/dist/bundled/v3/components/OrInlineInput/OrInlineInput.js +121 -0
  616. package/dist/bundled/v3/components/OrInlineInputBox/OrInlineInputBox.js +18 -0
  617. package/dist/bundled/v3/components/OrInlineInputBoxV3/index.js +4 -0
  618. package/dist/bundled/v3/components/OrInlineInputBoxV3/props.js +7 -0
  619. package/dist/bundled/v3/components/OrInlineInputBoxV3/styles.js +23 -0
  620. package/dist/bundled/v3/components/OrInlineInputV3/index.js +42 -0
  621. package/dist/bundled/v3/components/OrInlineInputV3/props.js +9 -0
  622. package/dist/bundled/v3/components/OrInlineInputV3/styles.js +29 -0
  623. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +129 -0
  624. package/dist/bundled/v3/components/OrInlineTextEdit/constants.js +13 -0
  625. package/dist/bundled/v3/components/OrInlineTextEdit/index.js +32 -0
  626. package/dist/bundled/v3/components/OrInlineTextarea/OrInlineTextarea.js +119 -0
  627. package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +41 -0
  628. package/dist/bundled/v3/components/OrInlineTextareaV3/styles.js +21 -0
  629. package/dist/bundled/v3/components/OrInput/OrInput.js +123 -0
  630. package/dist/bundled/v3/components/OrInput/index.js +15 -0
  631. package/dist/bundled/v3/components/OrInputBox/OrInputBox.js +20 -0
  632. package/dist/bundled/v3/components/OrInputBoxV3/index.js +4 -0
  633. package/dist/bundled/v3/components/OrInputBoxV3/props.js +12 -0
  634. package/dist/bundled/v3/components/OrInputBoxV3/styles.js +45 -0
  635. package/dist/bundled/v3/components/OrInputV3/index.js +50 -0
  636. package/dist/bundled/v3/components/OrInputV3/props.js +11 -0
  637. package/dist/bundled/v3/components/OrInputV3/styles.js +14 -0
  638. package/dist/bundled/v3/components/OrLabel/OrLabel.js +23 -0
  639. package/dist/bundled/v3/components/OrLabel/index.js +3 -0
  640. package/dist/bundled/v3/components/OrLabelV3/index.js +4 -0
  641. package/dist/bundled/v3/components/OrLabelV3/props.js +7 -0
  642. package/dist/bundled/v3/components/OrLabelV3/styles.js +29 -0
  643. package/dist/bundled/v3/components/OrLink/OrLink.js +23 -0
  644. package/dist/bundled/v3/components/OrLinkV3/index.js +4 -0
  645. package/dist/bundled/v3/components/OrLinkV3/props.js +10 -0
  646. package/dist/bundled/v3/components/OrLinkV3/styles.js +30 -0
  647. package/dist/bundled/v3/components/OrList/OrList.js +114 -0
  648. package/dist/bundled/v3/components/OrList/index.js +33 -0
  649. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +120 -0
  650. package/dist/bundled/v3/components/OrListOfInputs/index.js +41 -0
  651. package/dist/bundled/v3/components/OrLoader/OrLoader.js +46 -0
  652. package/dist/bundled/v3/components/OrLoader/constants.js +8 -0
  653. package/dist/bundled/v3/components/OrLoader/index.js +4 -0
  654. package/dist/bundled/v3/components/OrLoader/types.js +1 -0
  655. package/dist/bundled/v3/components/OrLoaderV3/index.js +5 -0
  656. package/dist/bundled/v3/components/OrLoaderV3/props.js +18 -0
  657. package/dist/bundled/v3/components/OrLoaderV3/styles.js +17 -0
  658. package/dist/bundled/v3/components/OrMenu/OrMenu.js +45 -0
  659. package/dist/bundled/v3/components/OrMenuItem/OrMenuItem.js +34 -0
  660. package/dist/bundled/v3/components/OrMenuItemV3/index.js +8 -0
  661. package/dist/bundled/v3/components/OrMenuItemV3/styles.js +17 -0
  662. package/dist/bundled/v3/components/OrMenuV3/index.js +19 -0
  663. package/dist/bundled/v3/components/OrMenuV3/props.js +1 -0
  664. package/dist/bundled/v3/components/OrMenuV3/styles.js +7 -0
  665. package/dist/bundled/v3/components/OrModal/OrModal.js +79 -0
  666. package/dist/bundled/v3/components/OrModal/constants.js +10 -0
  667. package/dist/bundled/v3/components/OrModal/index.js +30 -0
  668. package/dist/bundled/v3/components/OrModalV3/index.js +30 -0
  669. package/dist/bundled/v3/components/OrModalV3/props.js +8 -0
  670. package/dist/bundled/v3/components/OrModalV3/styles.js +33 -0
  671. package/dist/bundled/v3/components/OrNotification/OrNotification.js +60 -0
  672. package/dist/bundled/v3/components/OrNotification/constants.js +14 -0
  673. package/dist/bundled/v3/components/OrNotification/index.js +27 -0
  674. package/dist/bundled/v3/components/OrNotificationV3/index.js +30 -0
  675. package/dist/bundled/v3/components/OrNotificationV3/props.js +9 -0
  676. package/dist/bundled/v3/components/OrNotificationV3/styles.js +54 -0
  677. package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +75 -0
  678. package/dist/bundled/v3/components/OrNumberInput/index.js +17 -0
  679. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +83 -0
  680. package/dist/bundled/v3/components/OrOverflowMenu/index.js +29 -0
  681. package/dist/bundled/v3/components/OrOverflowMenu/types.js +1 -0
  682. package/dist/bundled/v3/components/OrOverlay/OrOverlay.js +18 -0
  683. package/dist/bundled/v3/components/OrOverlay/index.js +2 -0
  684. package/dist/bundled/v3/components/OrOverlayV3/index.js +8 -0
  685. package/dist/bundled/v3/components/OrOverlayV3/styles.js +9 -0
  686. package/dist/bundled/v3/components/OrPagination/OrPagination.js +142 -0
  687. package/dist/bundled/v3/components/OrPaginationV3/index.js +37 -0
  688. package/dist/bundled/v3/components/OrPaginationV3/styles.js +26 -0
  689. package/dist/bundled/v3/components/OrPaginationV3/types.js +1 -0
  690. package/dist/bundled/v3/components/OrPassword/OrPassword.js +103 -0
  691. package/dist/bundled/v3/components/OrPassword/index.js +38 -0
  692. package/dist/bundled/v3/components/OrPopover/OrPopover.js +49 -0
  693. package/dist/bundled/v3/components/OrPopoverV3/index.js +16 -0
  694. package/dist/bundled/v3/components/OrPopoverV3/props.js +23 -0
  695. package/dist/bundled/v3/components/OrPopoverV3/styles.js +44 -0
  696. package/dist/bundled/v3/components/OrProgress/OrProgress.js +66 -0
  697. package/dist/bundled/v3/components/OrProgress/constants.js +15 -0
  698. package/dist/bundled/v3/components/OrProgress/index.js +4 -0
  699. package/dist/bundled/v3/components/OrProgressV3/index.js +7 -0
  700. package/dist/bundled/v3/components/OrProgressV3/props.js +15 -0
  701. package/dist/bundled/v3/components/OrProgressV3/styles.js +63 -0
  702. package/dist/bundled/v3/components/OrRadio/OrRadio.js +34 -0
  703. package/dist/bundled/v3/components/OrRadio/index.js +3 -0
  704. package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.js +19 -0
  705. package/dist/bundled/v3/components/OrRadioGroup/index.js +2 -0
  706. package/dist/bundled/v3/components/OrRadioV3/index.js +10 -0
  707. package/dist/bundled/v3/components/OrRadioV3/styles.js +31 -0
  708. package/dist/bundled/v3/components/OrSearch/OrSearch.js +105 -0
  709. package/dist/bundled/v3/components/OrSearch/index.js +37 -0
  710. package/dist/bundled/v3/components/OrSearchV3/index.js +53 -0
  711. package/dist/bundled/v3/components/OrSearchV3/props.js +1 -0
  712. package/dist/bundled/v3/components/OrSegmentedControl/OrSegmentedControl.js +29 -0
  713. package/dist/bundled/v3/components/OrSegmentedControlV3/index.js +5 -0
  714. package/dist/bundled/v3/components/OrSegmentedControlV3/props.js +7 -0
  715. package/dist/bundled/v3/components/OrSegmentedControlV3/styles.js +15 -0
  716. package/dist/bundled/v3/components/OrSegmentedControlV3/types.js +1 -0
  717. package/dist/bundled/v3/components/OrSelect/OrSelect.js +84 -0
  718. package/dist/bundled/v3/components/OrSelect/OrSelect.vue.d.ts +230 -0
  719. package/dist/bundled/v3/components/OrSelect/constants.js +50 -0
  720. package/dist/bundled/v3/components/OrSelect/index.js +31 -0
  721. package/dist/bundled/v3/components/OrSelect/types.js +1 -0
  722. package/dist/bundled/v3/components/OrSelectV3/index.js +69 -0
  723. package/dist/bundled/v3/components/OrSelectV3/props.js +1 -0
  724. package/dist/bundled/v3/components/OrSelectV3/styles.js +43 -0
  725. package/dist/bundled/v3/components/OrSelectV3/types.js +1 -0
  726. package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +41 -0
  727. package/dist/bundled/v3/components/OrSidebar/constants.js +7 -0
  728. package/dist/bundled/v3/components/OrSidebar/index.js +5 -0
  729. package/dist/bundled/v3/components/OrSidebarV3/index.js +31 -0
  730. package/dist/bundled/v3/components/OrSidebarV3/props.js +7 -0
  731. package/dist/bundled/v3/components/OrSidebarV3/styles.js +118 -0
  732. package/dist/bundled/v3/components/OrSkeleton/constants.js +12 -0
  733. package/dist/bundled/v3/components/OrSkeleton/index.d.ts +4 -0
  734. package/dist/bundled/v3/components/OrSkeleton/index.js +7 -0
  735. package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.js +21 -0
  736. package/dist/bundled/v3/components/OrSkeletonCircle/index.d.ts +2 -0
  737. package/dist/bundled/v3/components/OrSkeletonCircle/index.js +5 -0
  738. package/dist/bundled/v3/components/OrSkeletonCircleV3/index.d.ts +1 -0
  739. package/dist/bundled/v3/components/OrSkeletonCircleV3/index.js +5 -0
  740. package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.js +21 -0
  741. package/dist/bundled/v3/components/OrSkeletonRect/index.d.ts +2 -0
  742. package/dist/bundled/v3/components/OrSkeletonRect/index.js +5 -0
  743. package/dist/bundled/v3/components/OrSkeletonRectV3/index.d.ts +1 -0
  744. package/dist/bundled/v3/components/OrSkeletonRectV3/index.js +5 -0
  745. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.js +27 -0
  746. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.vue.d.ts +73 -0
  747. package/dist/bundled/v3/components/OrSkeletonText/index.d.ts +2 -0
  748. package/dist/bundled/v3/components/OrSkeletonText/index.js +5 -0
  749. package/dist/bundled/v3/components/OrSkeletonTextV3/index.d.ts +1 -0
  750. package/dist/bundled/v3/components/OrSkeletonTextV3/index.js +5 -0
  751. package/dist/bundled/v3/components/OrSkeletonV3/index.d.ts +3 -0
  752. package/dist/bundled/v3/components/OrSkeletonV3/index.js +7 -0
  753. package/dist/bundled/v3/components/OrSkeletonV3/styles.js +34 -0
  754. package/dist/bundled/v3/components/OrSlider/OrSlider.js +102 -0
  755. package/dist/bundled/v3/components/OrSlider/index.js +19 -0
  756. package/dist/bundled/v3/components/OrSortHeader/OrSortHeader.js +29 -0
  757. package/dist/bundled/v3/components/OrSortHeaderV3/index.js +8 -0
  758. package/dist/bundled/v3/components/OrSortHeaderV3/styles.js +15 -0
  759. package/dist/bundled/v3/components/OrSortHeaderV3/types.js +1 -0
  760. package/dist/bundled/v3/components/OrStepper/OrStepper.js +75 -0
  761. package/dist/bundled/v3/components/OrStepper/index.js +24 -0
  762. package/dist/bundled/v3/components/OrSwitch/OrSwitch.js +52 -0
  763. package/dist/bundled/v3/components/OrSwitch/index.js +8 -0
  764. package/dist/bundled/v3/components/OrSwitchV3/index.js +15 -0
  765. package/dist/bundled/v3/components/OrSwitchV3/styles.js +51 -0
  766. package/dist/bundled/v3/components/OrTab/OrTab.js +22 -0
  767. package/dist/bundled/v3/components/OrTab/index.js +4 -0
  768. package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.js +27 -0
  769. package/dist/bundled/v3/components/OrTabHeaderItem/index.js +3 -0
  770. package/dist/bundled/v3/components/OrTabV3/index.js +3 -0
  771. package/dist/bundled/v3/components/OrTabV3/styles.js +19 -0
  772. package/dist/bundled/v3/components/OrTabs/OrTabs.js +47 -0
  773. package/dist/bundled/v3/components/OrTabs/index.js +7 -0
  774. package/dist/bundled/v3/components/OrTabsV3/index.js +32 -0
  775. package/dist/bundled/v3/components/OrTabsV3/props.js +7 -0
  776. package/dist/bundled/v3/components/OrTabsV3/styles.js +19 -0
  777. package/dist/bundled/v3/components/OrTabsV3/types.js +1 -0
  778. package/dist/bundled/v3/components/OrTag/OrTag.js +50 -0
  779. package/dist/bundled/v3/components/OrTag/index.js +22 -0
  780. package/dist/bundled/v3/components/OrTagV3/index.js +30 -0
  781. package/dist/bundled/v3/components/OrTagV3/props.js +13 -0
  782. package/dist/bundled/v3/components/OrTagV3/styles.js +30 -0
  783. package/dist/bundled/v3/components/OrTeleport/OrTeleport.js +20 -0
  784. package/dist/bundled/v3/components/OrTeleport/constants.js +16 -0
  785. package/dist/bundled/v3/components/OrTeleport/index.js +4 -0
  786. package/dist/bundled/v3/components/OrTeleportV3/index.js +2 -0
  787. package/dist/bundled/v3/components/OrText/OrText.js +19 -0
  788. package/dist/bundled/v3/components/OrTextV3/index.js +3 -0
  789. package/dist/bundled/v3/components/OrTextV3/styles.js +17 -0
  790. package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +121 -0
  791. package/dist/bundled/v3/components/OrTextarea/index.js +15 -0
  792. package/dist/bundled/v3/components/OrTextareaV3/index.js +20 -0
  793. package/dist/bundled/v3/components/OrTextareaV3/props.js +1 -0
  794. package/dist/bundled/v3/components/OrTextareaV3/styles.js +14 -0
  795. package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +169 -0
  796. package/dist/bundled/v3/components/OrTextbox/constants.js +11 -0
  797. package/dist/bundled/v3/components/OrTextbox/index.js +36 -0
  798. package/dist/bundled/v3/components/OrToast/OrToast.js +137 -0
  799. package/dist/bundled/v3/components/OrToast/Timer.js +37 -0
  800. package/dist/bundled/v3/components/OrToast/constants.js +24 -0
  801. package/dist/bundled/v3/components/OrToast/index.d.ts +5 -0
  802. package/dist/bundled/v3/components/OrToast/index.js +7 -0
  803. package/dist/bundled/v3/components/OrToast/types.js +1 -0
  804. package/dist/bundled/v3/components/OrToast/useQueue.js +33 -0
  805. package/dist/bundled/v3/components/OrToast/useToast.js +82 -0
  806. package/dist/bundled/v3/components/OrToast/useToastEventBus.js +24 -0
  807. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +73 -0
  808. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +93 -0
  809. package/dist/bundled/v3/components/OrToastContainer/index.d.ts +4 -0
  810. package/dist/bundled/v3/components/OrToastContainer/index.js +36 -0
  811. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.vue.d.ts +85 -0
  812. package/dist/bundled/v3/components/OrToastContainerV3/index.d.ts +4 -0
  813. package/dist/bundled/v3/components/OrToastContainerV3/index.js +40 -0
  814. package/dist/bundled/v3/components/OrToastV3/Timer.js +37 -0
  815. package/dist/bundled/v3/components/OrToastV3/index.d.ts +5 -0
  816. package/dist/bundled/v3/components/OrToastV3/index.js +7 -0
  817. package/dist/bundled/v3/components/OrToastV3/props.js +1 -0
  818. package/dist/bundled/v3/components/OrToastV3/styles.js +59 -0
  819. package/dist/bundled/v3/components/OrToastV3/types.js +1 -0
  820. package/dist/bundled/v3/components/OrToastV3/useQueue.js +33 -0
  821. package/dist/bundled/v3/components/OrToastV3/useToast.js +82 -0
  822. package/dist/bundled/v3/components/OrToastV3/useToastEventBus.js +24 -0
  823. package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +55 -0
  824. package/dist/bundled/v3/components/OrTooltip/index.d.ts +2 -0
  825. package/dist/bundled/v3/components/OrTooltip/index.js +14 -0
  826. package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.js +26 -0
  827. package/dist/bundled/v3/components/OrTooltipContent/index.d.ts +1 -0
  828. package/dist/bundled/v3/components/OrTooltipContent/index.js +3 -0
  829. package/dist/bundled/v3/components/OrTooltipV3/index.js +19 -0
  830. package/dist/bundled/v3/components/OrTooltipV3/props.js +1 -0
  831. package/dist/bundled/v3/components/OrTooltipV3/styles.js +46 -0
  832. package/dist/bundled/v3/components/index.d.ts +1 -0
  833. package/dist/bundled/v3/components/index.js +264 -139
  834. package/dist/bundled/v3/directives/dropdown-close.js +15 -0
  835. package/dist/bundled/v3/directives/dropdown-open.js +16 -0
  836. package/dist/bundled/v3/directives/index.js +3 -2
  837. package/dist/bundled/v3/hooks/index.js +9 -7
  838. package/dist/bundled/v3/hooks/useControlAttributes.js +12 -0
  839. package/dist/bundled/v3/hooks/useElevation.js +22 -0
  840. package/dist/bundled/v3/hooks/useIdAttribute.js +12 -0
  841. package/dist/bundled/v3/hooks/useOverflow.js +64 -0
  842. package/dist/bundled/v3/hooks/useResponsive/index.js +2 -2
  843. package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +13 -0
  844. package/dist/bundled/v3/hooks/useToggle.js +22 -0
  845. package/dist/bundled/v3/hooks/useValidationAttributes.js +16 -0
  846. package/dist/bundled/v3/index-63e094a0.js +15 -0
  847. package/dist/bundled/v3/index-6976c52a.js +17838 -0
  848. package/dist/bundled/v3/index.js +471 -2374
  849. package/dist/bundled/v3/lang-02d2bb2d.js +7811 -0
  850. package/dist/bundled/v3/props-fb3f60a5.js +32 -0
  851. package/dist/bundled/v3/types-668300dd.js +5 -0
  852. package/dist/bundled/v3/utils/constants/color.js +16 -0
  853. package/dist/bundled/v3/utils/constants/key-codes.js +16 -0
  854. package/dist/bundled/v3/utils/constants/poper.js +10 -0
  855. package/dist/bundled/v3/utils/constants/regex.js +49 -0
  856. package/dist/bundled/v3/utils/functions/color.js +39 -0
  857. package/dist/bundled/v3/utils/functions/dom.js +166 -0
  858. package/dist/bundled/v3/utils/functions/hash.js +8 -0
  859. package/dist/bundled/v3/utils/functions/px-to-rem.js +3 -0
  860. package/dist/bundled/v3/utils/functions/text.js +9 -0
  861. package/dist/bundled/v3/utils/isVisible.js +5 -0
  862. package/dist/esm/v2/OrAvatar-da5cba16.js +113 -0
  863. package/dist/esm/v2/OrButton-5db5f32f.js +74 -0
  864. package/dist/esm/v2/OrButton-eaa2c409.js +200 -0
  865. package/dist/esm/v2/OrButton.vue_rollup-plugin-vue_styles.0-47d3d5d9.js +101 -0
  866. package/dist/esm/v2/OrCardCollection-0c0d24f6.js +346 -0
  867. package/dist/esm/v2/OrCardCollection-4d7e1296.js +222 -0
  868. package/dist/esm/v2/OrCarousel-3c809a13.js +244 -0
  869. package/dist/esm/v2/OrCarouselItem-c614bab9.js +41 -0
  870. package/dist/esm/v2/OrCheckbox-bf34eb0f.js +181 -0
  871. package/dist/esm/v2/OrChip-416e848e.js +91 -0
  872. package/dist/esm/v2/OrChips-77e789e9.js +82 -0
  873. package/dist/esm/v2/OrChips.vue_rollup-plugin-vue_styles.0-e05c5ca8.js +240 -0
  874. package/dist/esm/v2/OrCode-b35f6d32.js +553 -0
  875. package/dist/esm/v2/OrConfirm-6c16c0a7.js +329 -0
  876. package/dist/esm/v2/OrConfirm-f286a75b.js +258 -0
  877. package/dist/esm/v2/OrDateTimePicker-315297be.js +766 -0
  878. package/dist/esm/v2/OrExpansionPanel-0a12d957.js +200 -0
  879. package/dist/esm/v2/OrIcon-8a6d663a.js +176 -0
  880. package/dist/esm/v2/OrIconButton-2cb78f6a.js +63 -0
  881. package/dist/esm/v2/OrIconButton-75e7b80c.js +169 -0
  882. package/dist/esm/v2/OrIconButton.vue_rollup-plugin-vue_styles.0-5d8fb3e5.js +200 -0
  883. package/dist/esm/v2/OrInlineInput-26f61f94.js +383 -0
  884. package/dist/esm/v2/OrInlineTextEdit-13766cab.js +399 -0
  885. package/dist/esm/v2/OrInlineTextarea-49c5fd4d.js +287 -0
  886. package/dist/esm/v2/OrInput-285611af.js +426 -0
  887. package/dist/esm/v2/OrList-19205ee3.js +296 -0
  888. package/dist/esm/v2/OrListOfInputs-132f79a4.js +221 -0
  889. package/dist/esm/v2/OrModal-11e0aaf3.js +158 -0
  890. package/dist/esm/v2/OrModal-af715137.js +199 -0
  891. package/dist/esm/v2/OrNotification-32a7774e.js +166 -0
  892. package/dist/esm/v2/OrNotification-4f2bfb55.js +142 -0
  893. package/dist/esm/v2/OrOverflowMenu-754e163c.js +245 -0
  894. package/dist/esm/v2/OrPagination-67635368.js +336 -0
  895. package/dist/esm/v2/OrPassword-e625a418.js +223 -0
  896. package/dist/esm/v2/OrSearch-bf60638e.js +244 -0
  897. package/dist/esm/v2/OrSearch-cb0e904d.js +144 -0
  898. package/dist/esm/v2/OrSelect-703cf847.js +543 -0
  899. package/dist/esm/v2/OrSelect-eb5cc918.js +1092 -0
  900. package/dist/esm/v2/OrSidebar-5f5a5962.js +349 -0
  901. package/dist/esm/v2/OrSidebarCollapseButton-81b32e0d.js +123 -0
  902. package/dist/esm/v2/OrSkeletonCircle-6a5cc298.js +81 -0
  903. package/dist/esm/v2/OrSkeletonCircle-db96ddb6.js +78 -0
  904. package/dist/esm/v2/OrSkeletonRect-40baa080.js +84 -0
  905. package/dist/esm/v2/OrSkeletonRect-8df5791c.js +81 -0
  906. package/dist/esm/v2/OrSkeletonText-8063af02.js +94 -0
  907. package/dist/esm/v2/OrSkeletonText-dfba21b6.js +113 -0
  908. package/dist/esm/v2/OrSlider-32a14ca4.js +368 -0
  909. package/dist/esm/v2/OrStepper-af48092d.js +644 -0
  910. package/dist/esm/v2/OrTag-7663d423.js +159 -0
  911. package/dist/esm/v2/OrTag-a1fff567.js +114 -0
  912. package/dist/esm/v2/OrTextbox-b30f5a45.js +529 -0
  913. package/dist/esm/v2/OrToastContainer-82560afd.js +335 -0
  914. package/dist/esm/v2/OrTooltip-cfb56e8f.js +68 -0
  915. package/dist/esm/v2/OrTooltip.vue_rollup-plugin-vue_styles.0-122f7804.js +90 -0
  916. package/dist/esm/v2/OrTooltipContent-c9540548.js +71 -0
  917. package/dist/esm/v2/components/index.d.ts +1 -0
  918. package/dist/esm/v2/components/index.js +58 -48
  919. package/dist/esm/v2/components/or-avatar/index.js +4 -3
  920. package/dist/esm/v2/components/or-button-v2/index.d.ts +1 -1
  921. package/dist/esm/v2/components/or-button-v2/index.js +9 -7
  922. package/dist/esm/v2/components/or-button-v3/index.js +1 -1
  923. package/dist/esm/v2/components/or-card-collection/index.js +9 -7
  924. package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -5
  925. package/dist/esm/v2/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue.d.ts +35 -0
  926. package/dist/esm/v2/components/or-carousel/index.d.ts +2 -3
  927. package/dist/esm/v2/components/or-carousel/index.js +5 -3
  928. package/dist/esm/v2/components/or-carousel/or-carousel-item/index.d.ts +1 -0
  929. package/dist/esm/v2/components/or-carousel/or-carousel-item/index.js +3 -0
  930. package/dist/esm/v2/components/or-checkbox/index.js +4 -3
  931. package/dist/esm/v2/components/or-chips/index.d.ts +1 -1
  932. package/dist/esm/v2/components/or-chips/index.js +6 -4
  933. package/dist/esm/v2/components/or-chips/or-chip/index.d.ts +1 -0
  934. package/dist/esm/v2/components/or-chips/or-chip/index.js +14 -0
  935. package/dist/esm/v2/components/or-code/index.js +10 -8
  936. package/dist/esm/v2/components/or-confirm/index.js +10 -8
  937. package/dist/esm/v2/components/or-confirm-v3/index.js +4 -4
  938. package/dist/esm/v2/components/or-date-time-picker/index.js +8 -6
  939. package/dist/esm/v2/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue.d.ts +92 -0
  940. package/dist/esm/v2/components/or-expansion-panel-v3/index.js +1 -1
  941. package/dist/esm/v2/components/or-icon/index.js +3 -2
  942. package/dist/esm/v2/components/or-icon-button-v2/OrIconButton.vue.d.ts +132 -0
  943. package/dist/esm/v2/components/or-icon-button-v2/index.d.ts +1 -0
  944. package/dist/esm/v2/components/or-icon-button-v2/index.js +17 -0
  945. package/dist/esm/v2/components/or-icon-button-v2/partials/OrTooltipWrapper.vue.d.ts +32 -0
  946. package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
  947. package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
  948. package/dist/esm/v2/components/or-inline-text-edit/index.js +8 -6
  949. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
  950. package/dist/esm/v2/components/or-input-v3/index.js +2 -2
  951. package/dist/esm/v2/components/or-list/index.js +9 -7
  952. package/dist/esm/v2/components/or-list-of-inputs/index.js +10 -8
  953. package/dist/esm/v2/components/or-modal/index.js +8 -6
  954. package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
  955. package/dist/esm/v2/components/or-notification/index.js +8 -6
  956. package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
  957. package/dist/esm/v2/components/or-overflow-menu/index.js +9 -7
  958. package/dist/esm/v2/components/or-pagination-v3/index.js +2 -2
  959. package/dist/esm/v2/components/or-password/index.js +8 -6
  960. package/dist/esm/v2/components/or-search/index.js +8 -6
  961. package/dist/esm/v2/components/or-search-v3/index.js +3 -3
  962. package/dist/esm/v2/components/or-select/OrSelect.vue.d.ts +20 -16
  963. package/dist/esm/v2/components/or-select/index.js +7 -5
  964. package/dist/esm/v2/components/or-select/partials/OrSelectContent.vue.d.ts +114 -0
  965. package/dist/esm/v2/components/or-select/partials/OrSelectContentOptions.vue.d.ts +87 -0
  966. package/dist/esm/v2/components/or-select/partials/OrSelectInput.vue.d.ts +81 -0
  967. package/dist/esm/v2/components/or-select/partials/OrSelectInputValue.vue.d.ts +58 -0
  968. package/dist/esm/v2/components/or-select/partials/OrSelectMain.vue.d.ts +158 -0
  969. package/dist/esm/v2/components/or-select/partials/OrSelectOption.vue.d.ts +37 -0
  970. package/dist/esm/v2/components/or-select-v3/index.js +5 -5
  971. package/dist/esm/v2/components/or-sidebar-v3/index.js +3 -3
  972. package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +2 -2
  973. package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +2 -2
  974. package/dist/esm/v2/components/or-skeleton/index.d.ts +3 -3
  975. package/dist/esm/v2/components/or-skeleton/index.js +4 -1
  976. package/dist/esm/v2/components/or-skeleton/or-skeleton-circle/index.d.ts +2 -0
  977. package/dist/esm/v2/components/or-skeleton/or-skeleton-circle/index.js +7 -0
  978. package/dist/esm/v2/components/or-skeleton/or-skeleton-rect/index.d.ts +2 -0
  979. package/dist/esm/v2/components/or-skeleton/or-skeleton-rect/index.js +7 -0
  980. package/dist/esm/v2/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue.d.ts +73 -0
  981. package/dist/esm/v2/components/or-skeleton/or-skeleton-text/index.d.ts +2 -0
  982. package/dist/esm/v2/components/or-skeleton/or-skeleton-text/index.js +7 -0
  983. package/dist/esm/v2/components/or-skeleton-v3/index.d.ts +3 -3
  984. package/dist/esm/v2/components/or-skeleton-v3/index.js +4 -1
  985. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-circle-v3/index.d.ts +1 -0
  986. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-circle-v3/index.js +6 -0
  987. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-rect-v3/index.d.ts +1 -0
  988. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-rect-v3/index.js +6 -0
  989. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-text-v3/index.d.ts +1 -0
  990. package/dist/esm/v2/components/or-skeleton-v3/or-skeleton-text-v3/index.js +6 -0
  991. package/dist/esm/v2/components/or-slider/index.js +4 -3
  992. package/dist/esm/v2/components/or-stepper/index.js +8 -6
  993. package/dist/esm/v2/components/or-tag/index.js +4 -3
  994. package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
  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 +2 -2
  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 +58 -48
  1012. package/dist/esm/v2/styles-ed564e39.js +34 -0
  1013. package/dist/esm/v2/types-9628133f.js +432 -0
  1014. package/dist/esm/v3/OrAvatar-b18f2208.js +89 -0
  1015. package/dist/esm/v3/OrButton-769333b2.js +171 -0
  1016. package/dist/esm/v3/OrButton-96af7cac.js +135 -0
  1017. package/dist/esm/v3/OrCardCollection-b86f8a03.js +190 -0
  1018. package/dist/esm/v3/OrCardCollection-ca738f00.js +293 -0
  1019. package/dist/esm/v3/OrCarousel-8de5d65b.js +224 -0
  1020. package/dist/esm/v3/OrCarouselItem-8c7ccd0f.js +18 -0
  1021. package/dist/esm/v3/OrCheckbox-c2d9cf53.js +149 -0
  1022. package/dist/esm/v3/OrChip-ccd4b331.js +67 -0
  1023. package/dist/esm/v3/OrChips-9a19aa03.js +240 -0
  1024. package/dist/esm/v3/OrCode-76d6bd1f.js +519 -0
  1025. package/dist/esm/v3/OrConfirm-4e167882.js +215 -0
  1026. package/dist/esm/v3/OrConfirm-84060862.js +299 -0
  1027. package/dist/esm/v3/OrDateTimePicker-7a735d37.js +681 -0
  1028. package/dist/esm/v3/OrExpansionPanel-541cc4c1.js +162 -0
  1029. package/dist/esm/v3/OrIcon-9b3d24cc.js +153 -0
  1030. package/dist/esm/v3/OrIconButton-727e7d6b.js +215 -0
  1031. package/dist/esm/v3/OrIconButton-bbed669a.js +140 -0
  1032. package/dist/esm/v3/OrInlineInput-509412a3.js +255 -0
  1033. package/dist/esm/v3/OrInlineTextEdit-45472cbd.js +339 -0
  1034. package/dist/esm/v3/OrInlineTextarea-c3f07a74.js +232 -0
  1035. package/dist/esm/v3/OrInput-3beb9d66.js +280 -0
  1036. package/dist/esm/v3/OrList-b37bdf14.js +258 -0
  1037. package/dist/esm/v3/OrListOfInputs-bd085be6.js +164 -0
  1038. package/dist/esm/v3/OrModal-7119c5b3.js +164 -0
  1039. package/dist/esm/v3/OrModal-dd5a8329.js +135 -0
  1040. package/dist/esm/v3/OrNotification-6e4a7e5c.js +137 -0
  1041. package/dist/esm/v3/OrNotification-af8adfd6.js +115 -0
  1042. package/dist/esm/v3/OrOverflowMenu-aa59e78a.js +186 -0
  1043. package/dist/esm/v3/OrPagination-6ff8d71e.js +297 -0
  1044. package/dist/esm/v3/OrPassword-079c02f0.js +163 -0
  1045. package/dist/esm/v3/OrSearch-36f71815.js +189 -0
  1046. package/dist/esm/v3/OrSearch-683d34a9.js +105 -0
  1047. package/dist/esm/v3/OrSelect-3d923250.js +804 -0
  1048. package/dist/esm/v3/OrSelect-f0cb8dd5.js +507 -0
  1049. package/dist/esm/v3/OrSidebar-08e628b7.js +313 -0
  1050. package/dist/esm/v3/OrSidebarCollapseButton-95365ca6.js +94 -0
  1051. package/dist/esm/v3/OrSkeletonCircle-1aa63444.js +55 -0
  1052. package/dist/esm/v3/OrSkeletonCircle-bbc5a44a.js +57 -0
  1053. package/dist/esm/v3/OrSkeletonRect-813bc73a.js +58 -0
  1054. package/dist/esm/v3/OrSkeletonRect-c2829612.js +60 -0
  1055. package/dist/esm/v3/OrSkeletonText-6de38947.js +71 -0
  1056. package/dist/esm/v3/OrSkeletonText-9a532872.js +89 -0
  1057. package/dist/esm/v3/OrSlider-ae7b8a11.js +310 -0
  1058. package/dist/esm/v3/OrStepper-4ee040b7.js +427 -0
  1059. package/dist/esm/v3/OrTag-38d1ba92.js +86 -0
  1060. package/dist/esm/v3/OrTag-cd21a1bc.js +123 -0
  1061. package/dist/esm/v3/OrTextbox-895e588c.js +494 -0
  1062. package/dist/esm/v3/OrToastContainer-e5b1bd1b.js +281 -0
  1063. package/dist/esm/v3/OrTooltip-be7209e5.js +128 -0
  1064. package/dist/esm/v3/OrTooltipContent-68c34911.js +44 -0
  1065. package/dist/esm/v3/components/index.d.ts +1 -0
  1066. package/dist/esm/v3/components/index.js +54 -44
  1067. package/dist/esm/v3/components/or-avatar/index.js +4 -3
  1068. package/dist/esm/v3/components/or-button-v2/index.d.ts +1 -1
  1069. package/dist/esm/v3/components/or-button-v2/index.js +5 -3
  1070. package/dist/esm/v3/components/or-button-v3/index.js +1 -1
  1071. package/dist/esm/v3/components/or-card-collection/index.js +7 -5
  1072. package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -5
  1073. package/dist/esm/v3/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +35 -0
  1074. package/dist/esm/v3/components/or-carousel/index.d.ts +2 -3
  1075. package/dist/esm/v3/components/or-carousel/index.js +5 -3
  1076. package/dist/esm/v3/components/or-carousel/or-carousel-item/index.d.ts +1 -0
  1077. package/dist/esm/v3/components/or-carousel/or-carousel-item/index.js +3 -0
  1078. package/dist/esm/v3/components/or-checkbox/index.js +4 -3
  1079. package/dist/esm/v3/components/or-chips/index.d.ts +1 -1
  1080. package/dist/esm/v3/components/or-chips/index.js +5 -3
  1081. package/dist/esm/v3/components/or-chips/or-chip/index.d.ts +1 -0
  1082. package/dist/esm/v3/components/or-chips/or-chip/index.js +13 -0
  1083. package/dist/esm/v3/components/or-code/index.js +8 -6
  1084. package/dist/esm/v3/components/or-confirm/index.js +7 -5
  1085. package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
  1086. package/dist/esm/v3/components/or-date-time-picker/index.js +6 -4
  1087. package/dist/esm/v3/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue.d.ts +92 -0
  1088. package/dist/esm/v3/components/or-expansion-panel-v3/index.js +1 -1
  1089. package/dist/esm/v3/components/or-icon/index.js +3 -2
  1090. package/dist/esm/v3/components/or-icon-button-v2/OrIconButton.vue.d.ts +132 -0
  1091. package/dist/esm/v3/components/or-icon-button-v2/index.d.ts +1 -0
  1092. package/dist/esm/v3/components/or-icon-button-v2/index.js +14 -0
  1093. package/dist/esm/v3/components/or-icon-button-v2/partials/OrTooltipWrapper.vue.d.ts +32 -0
  1094. package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
  1095. package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
  1096. package/dist/esm/v3/components/or-inline-text-edit/index.js +6 -4
  1097. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
  1098. package/dist/esm/v3/components/or-input-v3/index.js +2 -2
  1099. package/dist/esm/v3/components/or-list/index.js +6 -4
  1100. package/dist/esm/v3/components/or-list-of-inputs/index.js +7 -5
  1101. package/dist/esm/v3/components/or-modal/index.js +6 -4
  1102. package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
  1103. package/dist/esm/v3/components/or-notification/index.js +6 -4
  1104. package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
  1105. package/dist/esm/v3/components/or-overflow-menu/index.js +6 -4
  1106. package/dist/esm/v3/components/or-pagination-v3/index.js +2 -2
  1107. package/dist/esm/v3/components/or-password/index.js +6 -4
  1108. package/dist/esm/v3/components/or-search/index.js +6 -4
  1109. package/dist/esm/v3/components/or-search-v3/index.js +3 -3
  1110. package/dist/esm/v3/components/or-select/OrSelect.vue.d.ts +2 -2
  1111. package/dist/esm/v3/components/or-select/index.js +7 -5
  1112. package/dist/esm/v3/components/or-select/partials/OrSelectContent.vue.d.ts +114 -0
  1113. package/dist/esm/v3/components/or-select/partials/OrSelectContentOptions.vue.d.ts +87 -0
  1114. package/dist/esm/v3/components/or-select/partials/OrSelectInput.vue.d.ts +81 -0
  1115. package/dist/esm/v3/components/or-select/partials/OrSelectInputValue.vue.d.ts +58 -0
  1116. package/dist/esm/v3/components/or-select/partials/OrSelectMain.vue.d.ts +158 -0
  1117. package/dist/esm/v3/components/or-select/partials/OrSelectOption.vue.d.ts +37 -0
  1118. package/dist/esm/v3/components/or-select-v3/index.js +5 -5
  1119. package/dist/esm/v3/components/or-sidebar-v3/index.js +3 -3
  1120. package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +2 -2
  1121. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +2 -2
  1122. package/dist/esm/v3/components/or-skeleton/index.d.ts +3 -3
  1123. package/dist/esm/v3/components/or-skeleton/index.js +4 -1
  1124. package/dist/esm/v3/components/or-skeleton/or-skeleton-circle/index.d.ts +2 -0
  1125. package/dist/esm/v3/components/or-skeleton/or-skeleton-circle/index.js +7 -0
  1126. package/dist/esm/v3/components/or-skeleton/or-skeleton-rect/index.d.ts +2 -0
  1127. package/dist/esm/v3/components/or-skeleton/or-skeleton-rect/index.js +7 -0
  1128. package/dist/esm/v3/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue.d.ts +73 -0
  1129. package/dist/esm/v3/components/or-skeleton/or-skeleton-text/index.d.ts +2 -0
  1130. package/dist/esm/v3/components/or-skeleton/or-skeleton-text/index.js +7 -0
  1131. package/dist/esm/v3/components/or-skeleton-v3/index.d.ts +3 -3
  1132. package/dist/esm/v3/components/or-skeleton-v3/index.js +4 -1
  1133. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-circle-v3/index.d.ts +1 -0
  1134. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-circle-v3/index.js +6 -0
  1135. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-rect-v3/index.d.ts +1 -0
  1136. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-rect-v3/index.js +6 -0
  1137. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-text-v3/index.d.ts +1 -0
  1138. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-text-v3/index.js +6 -0
  1139. package/dist/esm/v3/components/or-slider/index.js +4 -3
  1140. package/dist/esm/v3/components/or-stepper/index.js +6 -4
  1141. package/dist/esm/v3/components/or-tag/index.js +4 -3
  1142. package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
  1143. package/dist/esm/v3/components/or-textbox/index.js +6 -4
  1144. package/dist/esm/v3/components/or-toast/index.d.ts +2 -3
  1145. package/dist/esm/v3/components/or-toast/index.js +6 -4
  1146. package/dist/esm/v3/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +93 -0
  1147. package/dist/esm/v3/components/or-toast/or-toast-container/index.d.ts +4 -0
  1148. package/dist/esm/v3/components/or-toast/or-toast-container/index.js +19 -0
  1149. package/dist/esm/v3/components/or-toast-v3/index.d.ts +2 -3
  1150. package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
  1151. package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +85 -0
  1152. package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.d.ts +4 -0
  1153. package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +17 -0
  1154. package/dist/esm/v3/components/or-tooltip/index.d.ts +1 -1
  1155. package/dist/esm/v3/components/or-tooltip/index.js +4 -3
  1156. package/dist/esm/v3/components/or-tooltip/or-tooltip-content/index.d.ts +1 -0
  1157. package/dist/esm/v3/components/or-tooltip/or-tooltip-content/index.js +5 -0
  1158. package/dist/esm/v3/constants-0a28d818.js +12 -0
  1159. package/dist/esm/v3/index.js +54 -44
  1160. package/dist/esm/v3/styles-ed564e39.js +34 -0
  1161. package/dist/esm/v3/types-30b3860d.js +378 -0
  1162. package/package.json +34 -6
  1163. package/src/components/index.ts +1 -0
  1164. package/src/components/or-button-v2/OrButton.vue +8 -12
  1165. package/src/components/or-button-v2/index.ts +1 -1
  1166. package/src/components/or-button-v3/OrButton.stories3.ts +0 -11
  1167. package/src/components/or-button-v3/OrButton.vue +8 -11
  1168. package/src/components/or-card-collection-v3/OrCardCollection.vue +1 -1
  1169. package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue +41 -0
  1170. package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue +42 -0
  1171. package/src/components/or-carousel/OrCarousel.stories.ts +1 -1
  1172. package/src/components/or-carousel/index.ts +2 -4
  1173. package/src/components/or-carousel/or-carousel-item/index.ts +1 -0
  1174. package/src/components/or-chips/OrChips.vue +1 -1
  1175. package/src/components/or-chips/index.ts +1 -1
  1176. package/src/components/or-chips/or-chip/OrChip.vue +109 -0
  1177. package/src/components/or-chips/or-chip/index.ts +1 -0
  1178. package/src/components/or-chips/partials/OrChipsInput.vue +140 -0
  1179. package/src/components/or-code/OrCode.vue +9 -10
  1180. package/src/components/or-date-time-picker/OrDateTimePicker.vue +22 -22
  1181. package/src/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue +112 -0
  1182. package/src/components/or-expansion-panel-v3/OrExpansionPanel.stories3.ts +3 -37
  1183. package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +2 -3
  1184. package/src/components/or-expansion-panel-v3/styles.ts +0 -3
  1185. package/src/components/or-icon-button-v2/OrIconButton.stories.ts +124 -0
  1186. package/src/components/or-icon-button-v2/OrIconButton.vue +250 -0
  1187. package/src/components/or-icon-button-v2/index.ts +1 -0
  1188. package/src/components/or-icon-button-v2/partials/OrTooltipWrapper.vue +49 -0
  1189. package/src/components/or-icon-button-v3/OrIconButton.stories3.ts +0 -10
  1190. package/src/components/or-icon-button-v3/OrIconButton.vue +3 -6
  1191. package/src/components/or-overflow-menu/OrOverflowMenu.vue +1 -1
  1192. package/src/components/or-overflow-menu/partials/OrOverflowMenuItem.vue +77 -0
  1193. package/src/components/or-select/OrSelect.vue +1 -1
  1194. package/src/components/or-select/partials/OrSelectContent.stories.ts +192 -0
  1195. package/src/components/or-select/partials/OrSelectContent.vue +165 -0
  1196. package/src/components/or-select/partials/OrSelectContentEmpty.vue +62 -0
  1197. package/src/components/or-select/partials/OrSelectContentOptions.vue +64 -0
  1198. package/src/components/or-select/partials/OrSelectInput.stories.ts +116 -0
  1199. package/src/components/or-select/partials/OrSelectInput.vue +167 -0
  1200. package/src/components/or-select/partials/OrSelectInputValue.vue +111 -0
  1201. package/src/components/or-select/partials/OrSelectMain.vue +203 -0
  1202. package/src/components/or-select/partials/OrSelectOption.vue +80 -0
  1203. package/src/components/or-select/partials/OrSelectSearchOptions.vue +101 -0
  1204. package/src/components/or-skeleton/OrSkeleton.stories.ts +4 -3
  1205. package/src/components/or-skeleton/index.ts +3 -3
  1206. package/src/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.stories.ts +35 -0
  1207. package/src/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.vue +56 -0
  1208. package/src/components/or-skeleton/or-skeleton-circle/index.ts +3 -0
  1209. package/src/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.stories.ts +53 -0
  1210. package/src/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.vue +59 -0
  1211. package/src/components/or-skeleton/or-skeleton-rect/index.ts +3 -0
  1212. package/src/components/or-skeleton/or-skeleton-text/OrSkeletonText.stories.ts +52 -0
  1213. package/src/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue +105 -0
  1214. package/src/components/or-skeleton/or-skeleton-text/index.ts +3 -0
  1215. package/src/components/or-skeleton-v3/OrSkeleton.stories3.ts +3 -3
  1216. package/src/components/or-skeleton-v3/index.ts +3 -3
  1217. package/src/components/or-skeleton-v3/or-skeleton-circle-v3/OrSkeletonCircle.vue +68 -0
  1218. package/src/components/or-skeleton-v3/or-skeleton-circle-v3/index.ts +1 -0
  1219. package/src/components/or-skeleton-v3/or-skeleton-rect-v3/OrSkeletonRect.vue +72 -0
  1220. package/src/components/or-skeleton-v3/or-skeleton-rect-v3/index.ts +1 -0
  1221. package/src/components/or-skeleton-v3/or-skeleton-text-v3/OrSkeletonText.vue +110 -0
  1222. package/src/components/or-skeleton-v3/or-skeleton-text-v3/index.ts +1 -0
  1223. package/src/components/or-stepper/OrStepper.vue +3 -3
  1224. package/src/components/or-stepper/partials/OrStepperButtonOptions.vue +71 -0
  1225. package/src/components/or-stepper/partials/StatusIcon.vue +80 -0
  1226. package/src/components/or-toast/index.ts +2 -3
  1227. package/src/components/or-toast/or-toast-container/OrToastContainer.stories.ts +65 -0
  1228. package/src/components/or-toast/or-toast-container/OrToastContainer.vue +247 -0
  1229. package/src/components/or-toast/or-toast-container/index.ts +5 -0
  1230. package/src/components/or-toast-v3/index.ts +2 -3
  1231. package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.stories3.ts +76 -0
  1232. package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue +211 -0
  1233. package/src/components/or-toast-v3/or-toast-container-v3/index.ts +5 -0
  1234. package/src/components/or-tooltip/OrTooltip.vue +1 -1
  1235. package/src/components/or-tooltip/index.ts +1 -1
  1236. package/src/components/or-tooltip/or-tooltip-content/index.ts +1 -0
  1237. package/dist/bundled/v2/OrAvatar-a54d87f6.js +0 -115
  1238. package/dist/bundled/v2/OrAvatar-f2b1ee1c.js +0 -193
  1239. package/dist/bundled/v2/OrBottomSheet-41164e06.js +0 -174
  1240. package/dist/bundled/v2/OrButton-295118b6.js +0 -176
  1241. package/dist/bundled/v2/OrButton-4ffae242.js +0 -201
  1242. package/dist/bundled/v2/OrButton-979a5e9c.js +0 -197
  1243. package/dist/bundled/v2/OrCard-45d5869b.js +0 -69
  1244. package/dist/bundled/v2/OrCard-e07c7e8c.js +0 -67
  1245. package/dist/bundled/v2/OrCardCollection-6d0f85cc.js +0 -222
  1246. package/dist/bundled/v2/OrCardCollection-8e051cf7.js +0 -347
  1247. package/dist/bundled/v2/OrCarouselItem-5ba1d0d3.js +0 -2921
  1248. package/dist/bundled/v2/OrCheckbox-76849460.js +0 -183
  1249. package/dist/bundled/v2/OrCheckbox-aac23c1e.js +0 -215
  1250. package/dist/bundled/v2/OrChip-ce81b0c6.js +0 -93
  1251. package/dist/bundled/v2/OrChips-bd939cdf.js +0 -321
  1252. package/dist/bundled/v2/OrCode-328bb6e3.js +0 -29896
  1253. package/dist/bundled/v2/OrCollapse-f7cbcd25.js +0 -170
  1254. package/dist/bundled/v2/OrColorPicker-8fa65edd.js +0 -494
  1255. package/dist/bundled/v2/OrConfirm-1124a148.js +0 -331
  1256. package/dist/bundled/v2/OrConfirm-78663c20.js +0 -260
  1257. package/dist/bundled/v2/OrDateTimePicker-30f30dd7.js +0 -767
  1258. package/dist/bundled/v2/OrEmptyState-8a7feb99.js +0 -160
  1259. package/dist/bundled/v2/OrError-29f0ce95.js +0 -54
  1260. package/dist/bundled/v2/OrError-8aa16f11.js +0 -90
  1261. package/dist/bundled/v2/OrErrorTag-244bed5b.js +0 -80
  1262. package/dist/bundled/v2/OrExpansionPanel-41b910bc.js +0 -206
  1263. package/dist/bundled/v2/OrFab-85bd9427.js +0 -105
  1264. package/dist/bundled/v2/OrFloating-507e8028.js +0 -208
  1265. package/dist/bundled/v2/OrHint-39fc2173.js +0 -90
  1266. package/dist/bundled/v2/OrHint-664117aa.js +0 -57
  1267. package/dist/bundled/v2/OrIcon-2efd1925.js +0 -130
  1268. package/dist/bundled/v2/OrIcon-90adc2bd.js +0 -177
  1269. package/dist/bundled/v2/OrIconButton-5f6c340d.js +0 -169
  1270. package/dist/bundled/v2/OrIconButton-5f8b1683.js +0 -207
  1271. package/dist/bundled/v2/OrInlineInput-31bfb461.js +0 -384
  1272. package/dist/bundled/v2/OrInlineInputBox-7a8e645b.js +0 -96
  1273. package/dist/bundled/v2/OrInlineTextEdit-8dc53a2f.js +0 -399
  1274. package/dist/bundled/v2/OrInlineTextarea-eaec5431.js +0 -288
  1275. package/dist/bundled/v2/OrInput-1589dca0.js +0 -331
  1276. package/dist/bundled/v2/OrInput-3f7179b7.js +0 -427
  1277. package/dist/bundled/v2/OrInputBox-9a31d211.js +0 -127
  1278. package/dist/bundled/v2/OrLabel-c44e9f7d.js +0 -123
  1279. package/dist/bundled/v2/OrLabel-f19ccb5f.js +0 -80
  1280. package/dist/bundled/v2/OrLink-a7b23576.js +0 -123
  1281. package/dist/bundled/v2/OrList-bcb4584e.js +0 -2875
  1282. package/dist/bundled/v2/OrListOfInputs-f042f6f5.js +0 -221
  1283. package/dist/bundled/v2/OrLoader-5cfd67fb.js +0 -114
  1284. package/dist/bundled/v2/OrLoader-6bec8824.js +0 -203
  1285. package/dist/bundled/v2/OrMenu-ef3406b1.js +0 -142
  1286. package/dist/bundled/v2/OrMenuItem-f295292e.js +0 -110
  1287. package/dist/bundled/v2/OrModal-3099d6ff.js +0 -160
  1288. package/dist/bundled/v2/OrModal-3b75b965.js +0 -1462
  1289. package/dist/bundled/v2/OrNotification-c192f2d6.js +0 -142
  1290. package/dist/bundled/v2/OrNotification-eab99ea0.js +0 -168
  1291. package/dist/bundled/v2/OrNumberInput-6b183931.js +0 -227
  1292. package/dist/bundled/v2/OrOverflowMenu-7315a153.js +0 -246
  1293. package/dist/bundled/v2/OrOverlay-5263b088.js +0 -73
  1294. package/dist/bundled/v2/OrOverlay-cb55bf20.js +0 -87
  1295. package/dist/bundled/v2/OrPagination-92da0c9b.js +0 -336
  1296. package/dist/bundled/v2/OrPassword-d2c2307b.js +0 -224
  1297. package/dist/bundled/v2/OrPopover-597ad11f.js +0 -292
  1298. package/dist/bundled/v2/OrProgress-5880025c.js +0 -226
  1299. package/dist/bundled/v2/OrProgress-d1ad4637.js +0 -320
  1300. package/dist/bundled/v2/OrRadio-c3655202.js +0 -143
  1301. package/dist/bundled/v2/OrRadio-cf867aeb.js +0 -197
  1302. package/dist/bundled/v2/OrRadioGroup-fbe23f97.js +0 -89
  1303. package/dist/bundled/v2/OrSearch-3edd7194.js +0 -146
  1304. package/dist/bundled/v2/OrSearch-eaff95c0.js +0 -245
  1305. package/dist/bundled/v2/OrSegmentedControl-878279bf.js +0 -233
  1306. package/dist/bundled/v2/OrSelect-39dedeb9.js +0 -1101
  1307. package/dist/bundled/v2/OrSelect-f6d0cd21.js +0 -544
  1308. package/dist/bundled/v2/OrSidebar-9e7fe79c.js +0 -149
  1309. package/dist/bundled/v2/OrSidebar-f62534c1.js +0 -351
  1310. package/dist/bundled/v2/OrSidebarCollapseButton-f119253b.js +0 -125
  1311. package/dist/bundled/v2/OrSkeletonText-1bf08dbc.js +0 -253
  1312. package/dist/bundled/v2/OrSkeletonText-9a2f39dc.js +0 -300
  1313. package/dist/bundled/v2/OrSlider-e1408560.js +0 -370
  1314. package/dist/bundled/v2/OrSortHeader-b1b961fc.js +0 -126
  1315. package/dist/bundled/v2/OrStepper-e25df9a5.js +0 -650
  1316. package/dist/bundled/v2/OrSwitch-644a0729.js +0 -249
  1317. package/dist/bundled/v2/OrSwitch-d421b4d3.js +0 -154
  1318. package/dist/bundled/v2/OrTab-39162e26.js +0 -95
  1319. package/dist/bundled/v2/OrTab-4c61cad9.js +0 -109
  1320. package/dist/bundled/v2/OrTabHeaderItem-38275146.js +0 -112
  1321. package/dist/bundled/v2/OrTabs-251baec9.js +0 -113
  1322. package/dist/bundled/v2/OrTabs-78160924.js +0 -227
  1323. package/dist/bundled/v2/OrTag-4af70bdb.js +0 -116
  1324. package/dist/bundled/v2/OrTag-656fcb47.js +0 -161
  1325. package/dist/bundled/v2/OrTeleport.vue2-90147f16.js +0 -67
  1326. package/dist/bundled/v2/OrTeleport.vue2-e9ba3054.js +0 -61
  1327. package/dist/bundled/v2/OrText-15bf85c4.js +0 -134
  1328. package/dist/bundled/v2/OrTextarea-8653f1b4.js +0 -327
  1329. package/dist/bundled/v2/OrTextarea-e606a1f5.js +0 -260
  1330. package/dist/bundled/v2/OrTextbox-00b6d200.js +0 -528
  1331. package/dist/bundled/v2/OrToastContainer-350fbbaa.js +0 -336
  1332. package/dist/bundled/v2/OrTooltip-6dceb10b.js +0 -167
  1333. package/dist/bundled/v2/OrTooltip-e62cdd46.js +0 -157
  1334. package/dist/bundled/v2/OrTooltipContent-592eeb27.js +0 -73
  1335. package/dist/bundled/v2/color-1f348774.js +0 -60
  1336. package/dist/bundled/v2/components/or-avatar/index.js +0 -15
  1337. package/dist/bundled/v2/components/or-avatar-v3/index.js +0 -7
  1338. package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +0 -10
  1339. package/dist/bundled/v2/components/or-button/index.js +0 -8
  1340. package/dist/bundled/v2/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1341. package/dist/bundled/v2/components/or-button-v2/OrTooltipWrapper.vue.d.ts +0 -32
  1342. package/dist/bundled/v2/components/or-button-v2/index.d.ts +0 -3
  1343. package/dist/bundled/v2/components/or-button-v2/index.js +0 -19
  1344. package/dist/bundled/v2/components/or-button-v3/index.js +0 -7
  1345. package/dist/bundled/v2/components/or-card/index.js +0 -6
  1346. package/dist/bundled/v2/components/or-card-collection/index.js +0 -27
  1347. package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +0 -35
  1348. package/dist/bundled/v2/components/or-card-collection-v3/index.js +0 -31
  1349. package/dist/bundled/v2/components/or-card-v3/index.js +0 -5
  1350. package/dist/bundled/v2/components/or-carousel/index.d.ts +0 -3
  1351. package/dist/bundled/v2/components/or-carousel/index.js +0 -15
  1352. package/dist/bundled/v2/components/or-checkbox/index.js +0 -15
  1353. package/dist/bundled/v2/components/or-checkbox-v3/index.js +0 -8
  1354. package/dist/bundled/v2/components/or-chips/index.d.ts +0 -2
  1355. package/dist/bundled/v2/components/or-chips/index.js +0 -18
  1356. package/dist/bundled/v2/components/or-code/index.js +0 -25
  1357. package/dist/bundled/v2/components/or-collapse/index.js +0 -9
  1358. package/dist/bundled/v2/components/or-color-picker/index.js +0 -13
  1359. package/dist/bundled/v2/components/or-color-picker/utils/defultPalette.d.ts +0 -2
  1360. package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -162
  1361. package/dist/bundled/v2/components/or-confirm/index.js +0 -29
  1362. package/dist/bundled/v2/components/or-confirm-v3/index.js +0 -29
  1363. package/dist/bundled/v2/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +0 -92
  1364. package/dist/bundled/v2/components/or-date-time-picker/index.js +0 -24
  1365. package/dist/bundled/v2/components/or-empty-state-v3/index.js +0 -5
  1366. package/dist/bundled/v2/components/or-error/index.js +0 -6
  1367. package/dist/bundled/v2/components/or-error-tag-v3/index.js +0 -6
  1368. package/dist/bundled/v2/components/or-error-v3/index.js +0 -5
  1369. package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +0 -6
  1370. package/dist/bundled/v2/components/or-fab-v3/index.js +0 -6
  1371. package/dist/bundled/v2/components/or-floating/index.js +0 -11
  1372. package/dist/bundled/v2/components/or-hint/index.js +0 -7
  1373. package/dist/bundled/v2/components/or-hint-v3/index.js +0 -5
  1374. package/dist/bundled/v2/components/or-icon/index.js +0 -14
  1375. package/dist/bundled/v2/components/or-icon-button-v3/index.js +0 -16
  1376. package/dist/bundled/v2/components/or-icon-v3/index.js +0 -5
  1377. package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +0 -5
  1378. package/dist/bundled/v2/components/or-inline-input-v3/index.js +0 -23
  1379. package/dist/bundled/v2/components/or-inline-text-edit/index.js +0 -22
  1380. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +0 -23
  1381. package/dist/bundled/v2/components/or-input/index.js +0 -13
  1382. package/dist/bundled/v2/components/or-input-box-v3/index.js +0 -6
  1383. package/dist/bundled/v2/components/or-input-v3/index.js +0 -26
  1384. package/dist/bundled/v2/components/or-label/index.js +0 -7
  1385. package/dist/bundled/v2/components/or-label-v3/index.js +0 -5
  1386. package/dist/bundled/v2/components/or-link-v3/index.js +0 -5
  1387. package/dist/bundled/v2/components/or-list/index.js +0 -23
  1388. package/dist/bundled/v2/components/or-list-of-inputs/index.js +0 -27
  1389. package/dist/bundled/v2/components/or-loader/index.js +0 -7
  1390. package/dist/bundled/v2/components/or-loader-v3/index.js +0 -6
  1391. package/dist/bundled/v2/components/or-menu-item-v3/index.js +0 -6
  1392. package/dist/bundled/v2/components/or-menu-v3/index.js +0 -14
  1393. package/dist/bundled/v2/components/or-modal/index.js +0 -21
  1394. package/dist/bundled/v2/components/or-modal-v3/index.js +0 -17
  1395. package/dist/bundled/v2/components/or-notification/index.js +0 -19
  1396. package/dist/bundled/v2/components/or-notification-v3/index.js +0 -17
  1397. package/dist/bundled/v2/components/or-number-input/index.js +0 -14
  1398. package/dist/bundled/v2/components/or-overflow-menu/index.js +0 -21
  1399. package/dist/bundled/v2/components/or-overlay/index.js +0 -6
  1400. package/dist/bundled/v2/components/or-overlay-v3/index.js +0 -9
  1401. package/dist/bundled/v2/components/or-pagination-v3/index.js +0 -19
  1402. package/dist/bundled/v2/components/or-password/index.js +0 -26
  1403. package/dist/bundled/v2/components/or-popover-v3/index.js +0 -13
  1404. package/dist/bundled/v2/components/or-progress/index.js +0 -7
  1405. package/dist/bundled/v2/components/or-progress-v3/index.js +0 -8
  1406. package/dist/bundled/v2/components/or-radio/index.js +0 -7
  1407. package/dist/bundled/v2/components/or-radio-group/index.js +0 -6
  1408. package/dist/bundled/v2/components/or-radio-v3/index.js +0 -8
  1409. package/dist/bundled/v2/components/or-search/index.js +0 -25
  1410. package/dist/bundled/v2/components/or-search-v3/index.js +0 -27
  1411. package/dist/bundled/v2/components/or-segmented-control-v3/index.js +0 -5
  1412. package/dist/bundled/v2/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +0 -49
  1413. package/dist/bundled/v2/components/or-segmented-control-v3/partials/or-segmented-control-item/styles.d.ts +0 -3
  1414. package/dist/bundled/v2/components/or-select/OrSelect.vue.d.ts +0 -238
  1415. package/dist/bundled/v2/components/or-select/OrSelectContent.vue.d.ts +0 -114
  1416. package/dist/bundled/v2/components/or-select/OrSelectContentOptions.vue.d.ts +0 -87
  1417. package/dist/bundled/v2/components/or-select/OrSelectInput.vue.d.ts +0 -81
  1418. package/dist/bundled/v2/components/or-select/OrSelectInputValue.vue.d.ts +0 -58
  1419. package/dist/bundled/v2/components/or-select/OrSelectMain.vue.d.ts +0 -158
  1420. package/dist/bundled/v2/components/or-select/OrSelectOption.vue.d.ts +0 -37
  1421. package/dist/bundled/v2/components/or-select/index.js +0 -21
  1422. package/dist/bundled/v2/components/or-select-v3/index.js +0 -33
  1423. package/dist/bundled/v2/components/or-sidebar/index.js +0 -8
  1424. package/dist/bundled/v2/components/or-sidebar-v3/index.js +0 -19
  1425. package/dist/bundled/v2/components/or-sidebar-v3/partials/index.d.ts +0 -1
  1426. package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +0 -18
  1427. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +0 -53
  1428. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
  1429. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -18
  1430. package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +0 -2
  1431. package/dist/bundled/v2/components/or-skeleton/OrSkeletonText.vue.d.ts +0 -73
  1432. package/dist/bundled/v2/components/or-skeleton/index.d.ts +0 -4
  1433. package/dist/bundled/v2/components/or-skeleton/index.js +0 -8
  1434. package/dist/bundled/v2/components/or-skeleton-v3/index.d.ts +0 -3
  1435. package/dist/bundled/v2/components/or-skeleton-v3/index.js +0 -7
  1436. package/dist/bundled/v2/components/or-slider/index.js +0 -16
  1437. package/dist/bundled/v2/components/or-sort-header-v3/index.js +0 -6
  1438. package/dist/bundled/v2/components/or-stepper/index.js +0 -18
  1439. package/dist/bundled/v2/components/or-switch/index.js +0 -8
  1440. package/dist/bundled/v2/components/or-switch-v3/index.js +0 -10
  1441. package/dist/bundled/v2/components/or-tab/index.js +0 -8
  1442. package/dist/bundled/v2/components/or-tab-header-item/index.js +0 -7
  1443. package/dist/bundled/v2/components/or-tab-v3/index.js +0 -5
  1444. package/dist/bundled/v2/components/or-tabs/index.js +0 -8
  1445. package/dist/bundled/v2/components/or-tabs-v3/index.js +0 -18
  1446. package/dist/bundled/v2/components/or-tag/index.js +0 -16
  1447. package/dist/bundled/v2/components/or-tag-v3/index.js +0 -17
  1448. package/dist/bundled/v2/components/or-teleport/index.js +0 -6
  1449. package/dist/bundled/v2/components/or-teleport-v3/index.js +0 -6
  1450. package/dist/bundled/v2/components/or-text-v3/index.js +0 -5
  1451. package/dist/bundled/v2/components/or-textarea/index.js +0 -13
  1452. package/dist/bundled/v2/components/or-textarea-v3/index.js +0 -13
  1453. package/dist/bundled/v2/components/or-textbox/index.js +0 -24
  1454. package/dist/bundled/v2/components/or-toast/OrToastContainer.vue.d.ts +0 -93
  1455. package/dist/bundled/v2/components/or-toast/composable/index.d.ts +0 -2
  1456. package/dist/bundled/v2/components/or-toast/composable/index.js +0 -5
  1457. package/dist/bundled/v2/components/or-toast/composable/useQueue.d.ts +0 -8
  1458. package/dist/bundled/v2/components/or-toast/composable/useToast.d.ts +0 -13
  1459. package/dist/bundled/v2/components/or-toast/composable/useToastEventBus.d.ts +0 -9
  1460. package/dist/bundled/v2/components/or-toast/index.d.ts +0 -6
  1461. package/dist/bundled/v2/components/or-toast/index.js +0 -22
  1462. package/dist/bundled/v2/components/or-toast-v3/OrToastContainer.vue.d.ts +0 -85
  1463. package/dist/bundled/v2/components/or-toast-v3/composable/index.d.ts +0 -2
  1464. package/dist/bundled/v2/components/or-toast-v3/composable/index.js +0 -5
  1465. package/dist/bundled/v2/components/or-toast-v3/composable/useQueue.d.ts +0 -8
  1466. package/dist/bundled/v2/components/or-toast-v3/composable/useToast.d.ts +0 -13
  1467. package/dist/bundled/v2/components/or-toast-v3/composable/useToastEventBus.d.ts +0 -9
  1468. package/dist/bundled/v2/components/or-toast-v3/index.d.ts +0 -6
  1469. package/dist/bundled/v2/components/or-toast-v3/index.js +0 -20
  1470. package/dist/bundled/v2/components/or-tooltip/index.d.ts +0 -2
  1471. package/dist/bundled/v2/components/or-tooltip/index.js +0 -13
  1472. package/dist/bundled/v2/components/or-tooltip-v3/index.js +0 -14
  1473. package/dist/bundled/v2/constants-c5d1139f.js +0 -43
  1474. package/dist/bundled/v2/dom-7a41831b.js +0 -58
  1475. package/dist/bundled/v2/dropdown-open-e2a93aaf.js +0 -28
  1476. package/dist/bundled/v2/index-17f264f9.js +0 -16
  1477. package/dist/bundled/v2/index-fa6eb4ca.js +0 -11
  1478. package/dist/bundled/v2/props-78496a2d.js +0 -12
  1479. package/dist/bundled/v2/px-to-rem-0b26b83e.js +0 -3
  1480. package/dist/bundled/v2/types-6f189a25.js +0 -435
  1481. package/dist/bundled/v2/useElevation-b6e7590a.js +0 -26
  1482. package/dist/bundled/v2/useIdAttribute-cf61643f.js +0 -22
  1483. package/dist/bundled/v2/useOverflow-bae6342f.js +0 -65
  1484. package/dist/bundled/v2/useResponsive-e13dfbb0.js +0 -14
  1485. package/dist/bundled/v2/useToast-1faa828c.js +0 -189
  1486. package/dist/bundled/v2/useToast-3a3d4280.js +0 -197
  1487. package/dist/bundled/v2/useToggle-6166bd53.js +0 -23
  1488. package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +0 -17
  1489. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-75c23e62.js +0 -144
  1490. package/dist/bundled/v3/OrAvatar.vue_vue_type_script_lang-a013315b.js +0 -63
  1491. package/dist/bundled/v3/OrBottomSheet.vue_vue_type_script_lang-7b8553e9.js +0 -145
  1492. package/dist/bundled/v3/OrButton-68873798.js +0 -35
  1493. package/dist/bundled/v3/OrButton-c2541edc.js +0 -41
  1494. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-3234f823.js +0 -140
  1495. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-95e5990a.js +0 -100
  1496. package/dist/bundled/v3/OrButton.vue_vue_type_script_lang-c0800f20.js +0 -122
  1497. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-90ba001b.js +0 -21
  1498. package/dist/bundled/v3/OrCard.vue_vue_type_script_lang-b6685a34.js +0 -32
  1499. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-717af023.js +0 -190
  1500. package/dist/bundled/v3/OrCardCollection.vue_vue_type_script_lang-a7992761.js +0 -232
  1501. package/dist/bundled/v3/OrCarouselItem-361cd007.js +0 -55
  1502. package/dist/bundled/v3/OrCarouselItem.vue_vue_type_script_lang-cc31281a.js +0 -2822
  1503. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-2f40f250.js +0 -117
  1504. package/dist/bundled/v3/OrCheckbox.vue_vue_type_script_lang-87143106.js +0 -88
  1505. package/dist/bundled/v3/OrChip-f8874fb2.js +0 -67
  1506. package/dist/bundled/v3/OrChips.vue_vue_type_script_lang-3c26c28f.js +0 -196
  1507. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-656b085b.js +0 -29778
  1508. package/dist/bundled/v3/OrCollapse-d2564011.js +0 -35
  1509. package/dist/bundled/v3/OrCollapse.vue_vue_type_script_lang-04ffe655.js +0 -114
  1510. package/dist/bundled/v3/OrColorPicker.vue_vue_type_script_lang-3b58e79f.js +0 -389
  1511. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-13827f94.js +0 -237
  1512. package/dist/bundled/v3/OrConfirm.vue_vue_type_script_lang-2afe76ef.js +0 -160
  1513. package/dist/bundled/v3/OrDateTimePicker.vue_vue_type_script_lang-9524f6ad.js +0 -463
  1514. package/dist/bundled/v3/OrEmptyState.vue_vue_type_script_lang-8e58c67c.js +0 -111
  1515. package/dist/bundled/v3/OrError-b43ebad8.js +0 -17
  1516. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-7c39e012.js +0 -13
  1517. package/dist/bundled/v3/OrError.vue_vue_type_script_lang-c97f9dd7.js +0 -46
  1518. package/dist/bundled/v3/OrErrorTag.vue_vue_type_script_lang-e052a480.js +0 -37
  1519. package/dist/bundled/v3/OrExpansionPanel.vue_vue_type_script_lang-1b82c02a.js +0 -136
  1520. package/dist/bundled/v3/OrFab.vue_vue_type_script_lang-a4e3eef8.js +0 -60
  1521. package/dist/bundled/v3/OrFloating-c13f0eae.js +0 -23
  1522. package/dist/bundled/v3/OrFloating.vue_vue_type_script_lang-c7bbb811.js +0 -168
  1523. package/dist/bundled/v3/OrHint-4d1a5982.js +0 -35
  1524. package/dist/bundled/v3/OrHint-c9114268.js +0 -17
  1525. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-3d9a3b91.js +0 -46
  1526. package/dist/bundled/v3/OrHint.vue_vue_type_script_lang-78598c8e.js +0 -16
  1527. package/dist/bundled/v3/OrIcon-0239fc17.js +0 -12
  1528. package/dist/bundled/v3/OrIcon-e8ea87d0.js +0 -39
  1529. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-4af1b391.js +0 -115
  1530. package/dist/bundled/v3/OrIcon.vue_vue_type_script_lang-6a85c6c6.js +0 -93
  1531. package/dist/bundled/v3/OrIconButton-31b5bc4f.js +0 -42
  1532. package/dist/bundled/v3/OrIconButton-4732b4dd.js +0 -34
  1533. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-60d2d34d.js +0 -163
  1534. package/dist/bundled/v3/OrIconButton.vue_vue_type_script_lang-7c2615be.js +0 -135
  1535. package/dist/bundled/v3/OrInlineInput.vue_vue_type_script_lang-6840f522.js +0 -178
  1536. package/dist/bundled/v3/OrInlineInputBox-f92a09d6.js +0 -14
  1537. package/dist/bundled/v3/OrInlineInputBox.vue_vue_type_script_lang-b1ae1f3d.js +0 -56
  1538. package/dist/bundled/v3/OrInlineTextEdit.vue_vue_type_script_lang-81e2ede5.js +0 -243
  1539. package/dist/bundled/v3/OrInlineTextarea.vue_vue_type_script_lang-feeb2253.js +0 -156
  1540. package/dist/bundled/v3/OrInput-14015011.js +0 -121
  1541. package/dist/bundled/v3/OrInput-d95faac1.js +0 -110
  1542. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-19f25c4d.js +0 -166
  1543. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-a415817b.js +0 -190
  1544. package/dist/bundled/v3/OrInputBox-44f37541.js +0 -16
  1545. package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js +0 -85
  1546. package/dist/bundled/v3/OrLabel-66e5b331.js +0 -22
  1547. package/dist/bundled/v3/OrLabel-e412c532.js +0 -20
  1548. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-27f8b12d.js +0 -37
  1549. package/dist/bundled/v3/OrLabel.vue_vue_type_script_lang-563df945.js +0 -74
  1550. package/dist/bundled/v3/OrLink.vue_vue_type_script_lang-c08a577b.js +0 -82
  1551. package/dist/bundled/v3/OrList.vue_vue_type_script_lang-43e94870.js +0 -2759
  1552. package/dist/bundled/v3/OrListOfInputs.vue_vue_type_script_lang-51d56f2a.js +0 -167
  1553. package/dist/bundled/v3/OrLoader-be9d72cd.js +0 -64
  1554. package/dist/bundled/v3/OrLoader-ee97fef4.js +0 -42
  1555. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-1378ab8e.js +0 -54
  1556. package/dist/bundled/v3/OrLoader.vue_vue_type_script_lang-65971a23.js +0 -111
  1557. package/dist/bundled/v3/OrMenu-8b83138c.js +0 -27
  1558. package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-165f8e69.js +0 -86
  1559. package/dist/bundled/v3/OrMenuItem-1917f51a.js +0 -27
  1560. package/dist/bundled/v3/OrMenuItem.vue_vue_type_script_lang-0b643c00.js +0 -54
  1561. package/dist/bundled/v3/OrModal-ce55c05f.js +0 -51
  1562. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-1b516120.js +0 -104
  1563. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-a7d39f19.js +0 -1391
  1564. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-10472e19.js +0 -113
  1565. package/dist/bundled/v3/OrNotification.vue_vue_type_script_lang-850456db.js +0 -82
  1566. package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-a25274f5.js +0 -113
  1567. package/dist/bundled/v3/OrOverflowMenu.vue_vue_type_script_lang-b3b5ba61.js +0 -135
  1568. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-a1f3f02c.js +0 -56
  1569. package/dist/bundled/v3/OrOverlay.vue_vue_type_script_lang-b9bf5e50.js +0 -33
  1570. package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-0f15ab4d.js +0 -194
  1571. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-87925c4e.js +0 -99
  1572. package/dist/bundled/v3/OrPopover-0c296207.js +0 -34
  1573. package/dist/bundled/v3/OrPopover.vue_vue_type_script_lang-aa819a00.js +0 -266
  1574. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-2977ac52.js +0 -210
  1575. package/dist/bundled/v3/OrProgress.vue_vue_type_script_lang-3f9ec654.js +0 -146
  1576. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-0732e87f.js +0 -113
  1577. package/dist/bundled/v3/OrRadio.vue_vue_type_script_lang-c956b54b.js +0 -85
  1578. package/dist/bundled/v3/OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js +0 -47
  1579. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-9011f41f.js +0 -78
  1580. package/dist/bundled/v3/OrSearch.vue_vue_type_script_lang-c1e04fe6.js +0 -122
  1581. package/dist/bundled/v3/OrSegmentedControl.vue_vue_type_script_lang-38a00b68.js +0 -151
  1582. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-2016ac4e.js +0 -815
  1583. package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-507f6792.js +0 -395
  1584. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-7c55ac0a.js +0 -94
  1585. package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-e1a27ba9.js +0 -291
  1586. package/dist/bundled/v3/OrSidebarCollapseButton.vue_vue_type_script_lang-647fc16c.js +0 -75
  1587. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-efcfbe21.js +0 -184
  1588. package/dist/bundled/v3/OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js +0 -131
  1589. package/dist/bundled/v3/OrSlider.vue_vue_type_script_lang-a5a10569.js +0 -227
  1590. package/dist/bundled/v3/OrSortHeader.vue_vue_type_script_lang-85238e0a.js +0 -74
  1591. package/dist/bundled/v3/OrStepper.vue_vue_type_script_lang-1ddd7d48.js +0 -376
  1592. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-8f9398f8.js +0 -142
  1593. package/dist/bundled/v3/OrSwitch.vue_vue_type_script_lang-f55d33f4.js +0 -81
  1594. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-b2dc97c2.js +0 -43
  1595. package/dist/bundled/v3/OrTab.vue_vue_type_script_lang-de7c7063.js +0 -61
  1596. package/dist/bundled/v3/OrTabHeaderItem.vue_vue_type_script_lang-e1f29563.js +0 -63
  1597. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-40e2a6e9.js +0 -66
  1598. package/dist/bundled/v3/OrTabs.vue_vue_type_script_lang-b9279206.js +0 -167
  1599. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-6677064d.js +0 -58
  1600. package/dist/bundled/v3/OrTag.vue_vue_type_script_lang-981d62ca.js +0 -94
  1601. package/dist/bundled/v3/OrTeleport.vue3-12636ac0.js +0 -33
  1602. package/dist/bundled/v3/OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js +0 -17
  1603. package/dist/bundled/v3/OrText.vue_vue_type_script_lang-e93438ea.js +0 -93
  1604. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-043a2a9d.js +0 -126
  1605. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-13c5e976.js +0 -187
  1606. package/dist/bundled/v3/OrTextbox.vue_vue_type_script_lang-cedd13fd.js +0 -363
  1607. package/dist/bundled/v3/OrToastContainer-2659e5a4.js +0 -41
  1608. package/dist/bundled/v3/OrToastContainer-af8d5c7a.js +0 -40
  1609. package/dist/bundled/v3/OrToastContainer.vue_vue_type_script_lang-5721617f.js +0 -301
  1610. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-a51714f9.js +0 -115
  1611. package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-eb8ad0e1.js +0 -87
  1612. package/dist/bundled/v3/OrTooltipContent-b0dcb862.js +0 -43
  1613. package/dist/bundled/v3/color-1f348774.js +0 -60
  1614. package/dist/bundled/v3/components/or-avatar/index.js +0 -13
  1615. package/dist/bundled/v3/components/or-avatar-v3/index.js +0 -5
  1616. package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +0 -6
  1617. package/dist/bundled/v3/components/or-button/index.js +0 -6
  1618. package/dist/bundled/v3/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1619. package/dist/bundled/v3/components/or-button-v2/OrTooltipWrapper.vue.d.ts +0 -32
  1620. package/dist/bundled/v3/components/or-button-v2/index.d.ts +0 -3
  1621. package/dist/bundled/v3/components/or-button-v2/index.js +0 -18
  1622. package/dist/bundled/v3/components/or-button-v3/index.js +0 -5
  1623. package/dist/bundled/v3/components/or-card/index.js +0 -2
  1624. package/dist/bundled/v3/components/or-card-collection/index.js +0 -32
  1625. package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +0 -35
  1626. package/dist/bundled/v3/components/or-card-collection-v3/index.js +0 -38
  1627. package/dist/bundled/v3/components/or-card-v3/index.js +0 -2
  1628. package/dist/bundled/v3/components/or-carousel/index.d.ts +0 -3
  1629. package/dist/bundled/v3/components/or-carousel/index.js +0 -14
  1630. package/dist/bundled/v3/components/or-checkbox/index.js +0 -13
  1631. package/dist/bundled/v3/components/or-checkbox-v3/index.js +0 -5
  1632. package/dist/bundled/v3/components/or-chips/index.d.ts +0 -2
  1633. package/dist/bundled/v3/components/or-chips/index.js +0 -18
  1634. package/dist/bundled/v3/components/or-code/index.js +0 -29
  1635. package/dist/bundled/v3/components/or-collapse/index.js +0 -5
  1636. package/dist/bundled/v3/components/or-color-picker/index.js +0 -10
  1637. package/dist/bundled/v3/components/or-color-picker/utils/defultPalette.d.ts +0 -2
  1638. package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -131
  1639. package/dist/bundled/v3/components/or-confirm/index.js +0 -36
  1640. package/dist/bundled/v3/components/or-confirm-v3/index.js +0 -34
  1641. package/dist/bundled/v3/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +0 -92
  1642. package/dist/bundled/v3/components/or-date-time-picker/index.js +0 -28
  1643. package/dist/bundled/v3/components/or-empty-state-v3/index.js +0 -2
  1644. package/dist/bundled/v3/components/or-error/index.js +0 -2
  1645. package/dist/bundled/v3/components/or-error-tag-v3/index.js +0 -4
  1646. package/dist/bundled/v3/components/or-error-v3/index.js +0 -2
  1647. package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +0 -4
  1648. package/dist/bundled/v3/components/or-fab-v3/index.js +0 -4
  1649. package/dist/bundled/v3/components/or-floating/index.js +0 -6
  1650. package/dist/bundled/v3/components/or-hint/index.js +0 -3
  1651. package/dist/bundled/v3/components/or-hint-v3/index.js +0 -2
  1652. package/dist/bundled/v3/components/or-icon/index.js +0 -11
  1653. package/dist/bundled/v3/components/or-icon-button-v3/index.js +0 -14
  1654. package/dist/bundled/v3/components/or-icon-v3/index.js +0 -2
  1655. package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +0 -2
  1656. package/dist/bundled/v3/components/or-inline-input-v3/index.js +0 -23
  1657. package/dist/bundled/v3/components/or-inline-text-edit/index.js +0 -24
  1658. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +0 -23
  1659. package/dist/bundled/v3/components/or-input/index.js +0 -14
  1660. package/dist/bundled/v3/components/or-input-box-v3/index.js +0 -3
  1661. package/dist/bundled/v3/components/or-input-v3/index.js +0 -28
  1662. package/dist/bundled/v3/components/or-label/index.js +0 -3
  1663. package/dist/bundled/v3/components/or-label-v3/index.js +0 -2
  1664. package/dist/bundled/v3/components/or-link-v3/index.js +0 -2
  1665. package/dist/bundled/v3/components/or-list/index.js +0 -26
  1666. package/dist/bundled/v3/components/or-list-of-inputs/index.js +0 -33
  1667. package/dist/bundled/v3/components/or-loader/index.js +0 -3
  1668. package/dist/bundled/v3/components/or-loader-v3/index.js +0 -3
  1669. package/dist/bundled/v3/components/or-menu-item-v3/index.js +0 -4
  1670. package/dist/bundled/v3/components/or-menu-v3/index.js +0 -11
  1671. package/dist/bundled/v3/components/or-modal/index.js +0 -21
  1672. package/dist/bundled/v3/components/or-modal-v3/index.js +0 -16
  1673. package/dist/bundled/v3/components/or-notification/index.js +0 -19
  1674. package/dist/bundled/v3/components/or-notification-v3/index.js +0 -16
  1675. package/dist/bundled/v3/components/or-number-input/index.js +0 -16
  1676. package/dist/bundled/v3/components/or-overflow-menu/index.js +0 -22
  1677. package/dist/bundled/v3/components/or-overlay/index.js +0 -2
  1678. package/dist/bundled/v3/components/or-overlay-v3/index.js +0 -5
  1679. package/dist/bundled/v3/components/or-pagination-v3/index.js +0 -21
  1680. package/dist/bundled/v3/components/or-password/index.js +0 -31
  1681. package/dist/bundled/v3/components/or-popover-v3/index.js +0 -9
  1682. package/dist/bundled/v3/components/or-progress/index.js +0 -3
  1683. package/dist/bundled/v3/components/or-progress-v3/index.js +0 -5
  1684. package/dist/bundled/v3/components/or-radio/index.js +0 -3
  1685. package/dist/bundled/v3/components/or-radio-group/index.js +0 -2
  1686. package/dist/bundled/v3/components/or-radio-v3/index.js +0 -5
  1687. package/dist/bundled/v3/components/or-search/index.js +0 -30
  1688. package/dist/bundled/v3/components/or-search-v3/index.js +0 -31
  1689. package/dist/bundled/v3/components/or-segmented-control-v3/index.js +0 -2
  1690. package/dist/bundled/v3/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +0 -49
  1691. package/dist/bundled/v3/components/or-segmented-control-v3/partials/or-segmented-control-item/styles.d.ts +0 -3
  1692. package/dist/bundled/v3/components/or-select/OrSelect.vue.d.ts +0 -230
  1693. package/dist/bundled/v3/components/or-select/OrSelectContent.vue.d.ts +0 -114
  1694. package/dist/bundled/v3/components/or-select/OrSelectContentOptions.vue.d.ts +0 -87
  1695. package/dist/bundled/v3/components/or-select/OrSelectInput.vue.d.ts +0 -81
  1696. package/dist/bundled/v3/components/or-select/OrSelectInputValue.vue.d.ts +0 -58
  1697. package/dist/bundled/v3/components/or-select/OrSelectMain.vue.d.ts +0 -158
  1698. package/dist/bundled/v3/components/or-select/OrSelectOption.vue.d.ts +0 -37
  1699. package/dist/bundled/v3/components/or-select/index.js +0 -22
  1700. package/dist/bundled/v3/components/or-select-v3/index.js +0 -38
  1701. package/dist/bundled/v3/components/or-sidebar/index.js +0 -4
  1702. package/dist/bundled/v3/components/or-sidebar-v3/index.js +0 -18
  1703. package/dist/bundled/v3/components/or-sidebar-v3/partials/index.d.ts +0 -1
  1704. package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +0 -17
  1705. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +0 -53
  1706. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
  1707. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -17
  1708. package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +0 -2
  1709. package/dist/bundled/v3/components/or-skeleton/OrSkeletonText.vue.d.ts +0 -73
  1710. package/dist/bundled/v3/components/or-skeleton/index.d.ts +0 -4
  1711. package/dist/bundled/v3/components/or-skeleton/index.js +0 -4
  1712. package/dist/bundled/v3/components/or-skeleton-v3/index.d.ts +0 -3
  1713. package/dist/bundled/v3/components/or-skeleton-v3/index.js +0 -4
  1714. package/dist/bundled/v3/components/or-slider/index.js +0 -14
  1715. package/dist/bundled/v3/components/or-sort-header-v3/index.js +0 -4
  1716. package/dist/bundled/v3/components/or-stepper/index.js +0 -18
  1717. package/dist/bundled/v3/components/or-switch/index.js +0 -6
  1718. package/dist/bundled/v3/components/or-switch-v3/index.js +0 -8
  1719. package/dist/bundled/v3/components/or-tab/index.js +0 -4
  1720. package/dist/bundled/v3/components/or-tab-header-item/index.js +0 -3
  1721. package/dist/bundled/v3/components/or-tab-v3/index.js +0 -2
  1722. package/dist/bundled/v3/components/or-tabs/index.js +0 -5
  1723. package/dist/bundled/v3/components/or-tabs-v3/index.js +0 -18
  1724. package/dist/bundled/v3/components/or-tag/index.js +0 -14
  1725. package/dist/bundled/v3/components/or-tag-v3/index.js +0 -16
  1726. package/dist/bundled/v3/components/or-teleport/index.js +0 -2
  1727. package/dist/bundled/v3/components/or-teleport-v3/index.js +0 -2
  1728. package/dist/bundled/v3/components/or-text-v3/index.js +0 -2
  1729. package/dist/bundled/v3/components/or-textarea/index.js +0 -14
  1730. package/dist/bundled/v3/components/or-textarea-v3/index.js +0 -12
  1731. package/dist/bundled/v3/components/or-textbox/index.js +0 -28
  1732. package/dist/bundled/v3/components/or-toast/OrToastContainer.vue.d.ts +0 -93
  1733. package/dist/bundled/v3/components/or-toast/composable/index.d.ts +0 -2
  1734. package/dist/bundled/v3/components/or-toast/composable/index.js +0 -3
  1735. package/dist/bundled/v3/components/or-toast/composable/useQueue.d.ts +0 -8
  1736. package/dist/bundled/v3/components/or-toast/composable/useToast.d.ts +0 -13
  1737. package/dist/bundled/v3/components/or-toast/composable/useToastEventBus.d.ts +0 -9
  1738. package/dist/bundled/v3/components/or-toast/index.d.ts +0 -6
  1739. package/dist/bundled/v3/components/or-toast/index.js +0 -23
  1740. package/dist/bundled/v3/components/or-toast-v3/OrToastContainer.vue.d.ts +0 -85
  1741. package/dist/bundled/v3/components/or-toast-v3/composable/index.d.ts +0 -2
  1742. package/dist/bundled/v3/components/or-toast-v3/composable/index.js +0 -3
  1743. package/dist/bundled/v3/components/or-toast-v3/composable/useQueue.d.ts +0 -8
  1744. package/dist/bundled/v3/components/or-toast-v3/composable/useToast.d.ts +0 -13
  1745. package/dist/bundled/v3/components/or-toast-v3/composable/useToastEventBus.d.ts +0 -9
  1746. package/dist/bundled/v3/components/or-toast-v3/index.d.ts +0 -6
  1747. package/dist/bundled/v3/components/or-toast-v3/index.js +0 -21
  1748. package/dist/bundled/v3/components/or-tooltip/index.d.ts +0 -2
  1749. package/dist/bundled/v3/components/or-tooltip/index.js +0 -10
  1750. package/dist/bundled/v3/components/or-tooltip-v3/index.js +0 -11
  1751. package/dist/bundled/v3/constants-c5d1139f.js +0 -43
  1752. package/dist/bundled/v3/dom-4f424b9d.js +0 -58
  1753. package/dist/bundled/v3/dropdown-open-293d2de2.js +0 -28
  1754. package/dist/bundled/v3/index-01519e46.js +0 -15
  1755. package/dist/bundled/v3/props-78496a2d.js +0 -12
  1756. package/dist/bundled/v3/px-to-rem-0b26b83e.js +0 -3
  1757. package/dist/bundled/v3/types-0dff0592.js +0 -343
  1758. package/dist/bundled/v3/useElevation-e8a2ce89.js +0 -25
  1759. package/dist/bundled/v3/useIdAttribute-b2e42f31.js +0 -21
  1760. package/dist/bundled/v3/useOverflow-6dce216b.js +0 -64
  1761. package/dist/bundled/v3/useResponsive-9d397e2a.js +0 -13
  1762. package/dist/bundled/v3/useToast-4d4329cd.js +0 -196
  1763. package/dist/bundled/v3/useToast-d5b3c109.js +0 -188
  1764. package/dist/bundled/v3/useToggle-09b6cb90.js +0 -22
  1765. package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +0 -16
  1766. package/dist/esm/v2/OrAvatar-b75af823.js +0 -113
  1767. package/dist/esm/v2/OrButton-3f482ecf.js +0 -75
  1768. package/dist/esm/v2/OrButton-5093220c.js +0 -199
  1769. package/dist/esm/v2/OrCardCollection-9d89e66e.js +0 -346
  1770. package/dist/esm/v2/OrCardCollection-e069ae62.js +0 -221
  1771. package/dist/esm/v2/OrCarouselItem-d20717ec.js +0 -281
  1772. package/dist/esm/v2/OrCheckbox-63d444f1.js +0 -181
  1773. package/dist/esm/v2/OrChips-7f85a4ba.js +0 -82
  1774. package/dist/esm/v2/OrChips.vue_rollup-plugin-vue_styles.0-8d277377.js +0 -325
  1775. package/dist/esm/v2/OrCode-04e59c6f.js +0 -556
  1776. package/dist/esm/v2/OrConfirm-d80caeaa.js +0 -258
  1777. package/dist/esm/v2/OrConfirm-df5acd34.js +0 -329
  1778. package/dist/esm/v2/OrDateTimePicker-419a4777.js +0 -765
  1779. package/dist/esm/v2/OrExpansionPanel-e36e23a1.js +0 -204
  1780. package/dist/esm/v2/OrIcon-dd72b52f.js +0 -175
  1781. package/dist/esm/v2/OrIconButton-89d64288.js +0 -168
  1782. package/dist/esm/v2/OrIconButton-8d35dbaf.js +0 -64
  1783. package/dist/esm/v2/OrIconButton.vue_rollup-plugin-vue_styles.0-58e38ce8.js +0 -295
  1784. package/dist/esm/v2/OrInlineInput-bcd4fbc8.js +0 -383
  1785. package/dist/esm/v2/OrInlineTextEdit-044cbb16.js +0 -398
  1786. package/dist/esm/v2/OrInlineTextarea-429a8ba9.js +0 -287
  1787. package/dist/esm/v2/OrInput-6460d020.js +0 -426
  1788. package/dist/esm/v2/OrList-865b3e91.js +0 -296
  1789. package/dist/esm/v2/OrListOfInputs-7098d429.js +0 -220
  1790. package/dist/esm/v2/OrModal-53319126.js +0 -198
  1791. package/dist/esm/v2/OrModal-55abdc8f.js +0 -158
  1792. package/dist/esm/v2/OrNotification-658e643b.js +0 -141
  1793. package/dist/esm/v2/OrNotification-9b95aea3.js +0 -166
  1794. package/dist/esm/v2/OrOverflowMenu-ca26dfcf.js +0 -244
  1795. package/dist/esm/v2/OrPagination-ae71924c.js +0 -336
  1796. package/dist/esm/v2/OrPassword-5899dc7c.js +0 -222
  1797. package/dist/esm/v2/OrSearch-2c724034.js +0 -243
  1798. package/dist/esm/v2/OrSearch-7ba53d63.js +0 -144
  1799. package/dist/esm/v2/OrSelect-03e79c4b.js +0 -1091
  1800. package/dist/esm/v2/OrSelect-ce906c27.js +0 -543
  1801. package/dist/esm/v2/OrSidebar-432a758c.js +0 -349
  1802. package/dist/esm/v2/OrSidebarCollapseButton-dec1ad1d.js +0 -123
  1803. package/dist/esm/v2/OrSkeletonText-6a6f285d.js +0 -249
  1804. package/dist/esm/v2/OrSkeletonText-6ee72718.js +0 -296
  1805. package/dist/esm/v2/OrSlider-ded83b5c.js +0 -368
  1806. package/dist/esm/v2/OrStepper-8503ea94.js +0 -644
  1807. package/dist/esm/v2/OrTag-2845a49f.js +0 -114
  1808. package/dist/esm/v2/OrTag-e04e313a.js +0 -159
  1809. package/dist/esm/v2/OrTextbox-44684ee5.js +0 -528
  1810. package/dist/esm/v2/OrToastContainer-01794fa5.js +0 -334
  1811. package/dist/esm/v2/OrTooltip-cefc51f9.js +0 -68
  1812. package/dist/esm/v2/OrTooltip.vue_rollup-plugin-vue_styles.0-154aac4c.js +0 -155
  1813. package/dist/esm/v2/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1814. package/dist/esm/v2/components/or-button-v2/OrTooltipWrapper.vue.d.ts +0 -32
  1815. package/dist/esm/v2/components/or-card-collection-v3/OrCardCollectionView.vue2.vue.d.ts +0 -35
  1816. package/dist/esm/v2/components/or-chips/OrChipsInput.vue.d.ts +0 -82
  1817. package/dist/esm/v2/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +0 -92
  1818. package/dist/esm/v2/components/or-overflow-menu/OrOverflowMenuItem.vue.d.ts +0 -75
  1819. package/dist/esm/v2/components/or-select/OrSelectContent.vue.d.ts +0 -114
  1820. package/dist/esm/v2/components/or-select/OrSelectContentEmpty.vue.d.ts +0 -63
  1821. package/dist/esm/v2/components/or-select/OrSelectContentOptions.vue.d.ts +0 -87
  1822. package/dist/esm/v2/components/or-select/OrSelectInput.vue.d.ts +0 -81
  1823. package/dist/esm/v2/components/or-select/OrSelectInputValue.vue.d.ts +0 -58
  1824. package/dist/esm/v2/components/or-select/OrSelectMain.vue.d.ts +0 -158
  1825. package/dist/esm/v2/components/or-select/OrSelectOption.vue.d.ts +0 -37
  1826. package/dist/esm/v2/components/or-select/OrSelectSearchOptions.vue.d.ts +0 -38
  1827. package/dist/esm/v2/components/or-skeleton/OrSkeletonText.vue.d.ts +0 -73
  1828. package/dist/esm/v2/components/or-stepper/OrStepperButtonOptions.vue.d.ts +0 -73
  1829. package/dist/esm/v2/components/or-stepper/OrStepperOptionHorizontal.vue.d.ts +0 -106
  1830. package/dist/esm/v2/components/or-stepper/OrStepperOptionVertical.vue.d.ts +0 -106
  1831. package/dist/esm/v2/components/or-stepper/OrStepperTitle.vue.d.ts +0 -66
  1832. package/dist/esm/v2/components/or-stepper/StatusIcon.vue.d.ts +0 -22
  1833. package/dist/esm/v2/components/or-toast/OrToastContainer.vue.d.ts +0 -93
  1834. package/dist/esm/v2/components/or-toast-v3/OrToastContainer.vue.d.ts +0 -85
  1835. package/dist/esm/v2/types-531671e5.js +0 -432
  1836. package/dist/esm/v3/OrAvatar-986baa65.js +0 -89
  1837. package/dist/esm/v3/OrButton-f5a973f9.js +0 -173
  1838. package/dist/esm/v3/OrCardCollection-891b36f7.js +0 -293
  1839. package/dist/esm/v3/OrCardCollection-9c3f2719.js +0 -189
  1840. package/dist/esm/v3/OrCarouselItem-a3a855e8.js +0 -238
  1841. package/dist/esm/v3/OrCheckbox-8d8887ea.js +0 -149
  1842. package/dist/esm/v3/OrChips-d6227d21.js +0 -301
  1843. package/dist/esm/v3/OrCode-762f1b00.js +0 -522
  1844. package/dist/esm/v3/OrConfirm-db7d2641.js +0 -214
  1845. package/dist/esm/v3/OrConfirm-f7550277.js +0 -299
  1846. package/dist/esm/v3/OrDateTimePicker-4edad43b.js +0 -680
  1847. package/dist/esm/v3/OrExpansionPanel-244a52f4.js +0 -167
  1848. package/dist/esm/v3/OrIcon-ed3e10b4.js +0 -152
  1849. package/dist/esm/v3/OrIconButton-7724ce5c.js +0 -142
  1850. package/dist/esm/v3/OrIconButton-fc4eeeeb.js +0 -346
  1851. package/dist/esm/v3/OrInlineInput-d46bd150.js +0 -255
  1852. package/dist/esm/v3/OrInlineTextEdit-4d8c7a5a.js +0 -338
  1853. package/dist/esm/v3/OrInlineTextarea-ed99991c.js +0 -232
  1854. package/dist/esm/v3/OrInput-4557bd87.js +0 -280
  1855. package/dist/esm/v3/OrList-5affa023.js +0 -257
  1856. package/dist/esm/v3/OrListOfInputs-e3931b38.js +0 -163
  1857. package/dist/esm/v3/OrModal-6108ae31.js +0 -163
  1858. package/dist/esm/v3/OrModal-baeb5b91.js +0 -135
  1859. package/dist/esm/v3/OrNotification-11f5fb49.js +0 -137
  1860. package/dist/esm/v3/OrNotification-8437f351.js +0 -114
  1861. package/dist/esm/v3/OrOverflowMenu-27ee1cdf.js +0 -185
  1862. package/dist/esm/v3/OrPagination-4fae9ef0.js +0 -297
  1863. package/dist/esm/v3/OrPassword-1b5d303e.js +0 -162
  1864. package/dist/esm/v3/OrSearch-1e20f5c9.js +0 -188
  1865. package/dist/esm/v3/OrSearch-800f436c.js +0 -105
  1866. package/dist/esm/v3/OrSelect-5ab9cc3a.js +0 -507
  1867. package/dist/esm/v3/OrSelect-88e5dfaf.js +0 -803
  1868. package/dist/esm/v3/OrSidebar-89a1a397.js +0 -313
  1869. package/dist/esm/v3/OrSidebarCollapseButton-69c64fef.js +0 -94
  1870. package/dist/esm/v3/OrSkeletonText-0546754d.js +0 -180
  1871. package/dist/esm/v3/OrSkeletonText-afd3d007.js +0 -224
  1872. package/dist/esm/v3/OrSlider-858576e2.js +0 -310
  1873. package/dist/esm/v3/OrStepper-3b165859.js +0 -426
  1874. package/dist/esm/v3/OrTag-2192a3cf.js +0 -86
  1875. package/dist/esm/v3/OrTag-bbc516fd.js +0 -123
  1876. package/dist/esm/v3/OrTextbox-2a95f68e.js +0 -493
  1877. package/dist/esm/v3/OrToastContainer-379b90ca.js +0 -280
  1878. package/dist/esm/v3/OrTooltip-8d7385bc.js +0 -165
  1879. package/dist/esm/v3/components/or-button-v2/OrIconButton.vue.d.ts +0 -132
  1880. package/dist/esm/v3/components/or-button-v2/OrTooltipWrapper.vue.d.ts +0 -32
  1881. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollectionView.vue3.vue.d.ts +0 -35
  1882. package/dist/esm/v3/components/or-chips/OrChipsInput.vue.d.ts +0 -82
  1883. package/dist/esm/v3/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue.d.ts +0 -92
  1884. package/dist/esm/v3/components/or-overflow-menu/OrOverflowMenuItem.vue.d.ts +0 -75
  1885. package/dist/esm/v3/components/or-select/OrSelectContent.vue.d.ts +0 -114
  1886. package/dist/esm/v3/components/or-select/OrSelectContentEmpty.vue.d.ts +0 -63
  1887. package/dist/esm/v3/components/or-select/OrSelectContentOptions.vue.d.ts +0 -87
  1888. package/dist/esm/v3/components/or-select/OrSelectInput.vue.d.ts +0 -81
  1889. package/dist/esm/v3/components/or-select/OrSelectInputValue.vue.d.ts +0 -58
  1890. package/dist/esm/v3/components/or-select/OrSelectMain.vue.d.ts +0 -158
  1891. package/dist/esm/v3/components/or-select/OrSelectOption.vue.d.ts +0 -37
  1892. package/dist/esm/v3/components/or-select/OrSelectSearchOptions.vue.d.ts +0 -38
  1893. package/dist/esm/v3/components/or-skeleton/OrSkeletonText.vue.d.ts +0 -73
  1894. package/dist/esm/v3/components/or-stepper/OrStepperButtonOptions.vue.d.ts +0 -73
  1895. package/dist/esm/v3/components/or-stepper/OrStepperOptionHorizontal.vue.d.ts +0 -106
  1896. package/dist/esm/v3/components/or-stepper/OrStepperOptionVertical.vue.d.ts +0 -106
  1897. package/dist/esm/v3/components/or-stepper/OrStepperTitle.vue.d.ts +0 -66
  1898. package/dist/esm/v3/components/or-stepper/StatusIcon.vue.d.ts +0 -22
  1899. package/dist/esm/v3/components/or-toast/OrToastContainer.vue.d.ts +0 -93
  1900. package/dist/esm/v3/components/or-toast-v3/OrToastContainer.vue.d.ts +0 -85
  1901. package/dist/esm/v3/types-32bb1df4.js +0 -378
  1902. package/src/components/or-button-v2/OrIconButton.stories.ts +0 -134
  1903. package/src/components/or-button-v2/OrIconButton.vue +0 -257
  1904. package/src/components/or-button-v2/OrTooltipWrapper.vue +0 -49
  1905. package/src/components/or-card-collection-v3/OrCardCollectionView.vue2.vue +0 -41
  1906. package/src/components/or-card-collection-v3/OrCardCollectionView.vue3.vue +0 -42
  1907. package/src/components/or-chips/OrChip.vue +0 -109
  1908. package/src/components/or-chips/OrChipsInput.vue +0 -140
  1909. package/src/components/or-date-time-picker/OrDateTimePickerCalendarItem.vue +0 -112
  1910. package/src/components/or-overflow-menu/OrOverflowMenuItem.vue +0 -77
  1911. package/src/components/or-select/OrSelectContent.stories.ts +0 -192
  1912. package/src/components/or-select/OrSelectContent.vue +0 -165
  1913. package/src/components/or-select/OrSelectContentEmpty.vue +0 -62
  1914. package/src/components/or-select/OrSelectContentOptions.vue +0 -64
  1915. package/src/components/or-select/OrSelectInput.stories.ts +0 -116
  1916. package/src/components/or-select/OrSelectInput.vue +0 -167
  1917. package/src/components/or-select/OrSelectInputValue.vue +0 -111
  1918. package/src/components/or-select/OrSelectMain.vue +0 -203
  1919. package/src/components/or-select/OrSelectOption.vue +0 -80
  1920. package/src/components/or-select/OrSelectSearchOptions.vue +0 -101
  1921. package/src/components/or-skeleton/OrSkeletonCircle.stories.ts +0 -35
  1922. package/src/components/or-skeleton/OrSkeletonCircle.vue +0 -56
  1923. package/src/components/or-skeleton/OrSkeletonRect.stories.ts +0 -53
  1924. package/src/components/or-skeleton/OrSkeletonRect.vue +0 -59
  1925. package/src/components/or-skeleton/OrSkeletonText.stories.ts +0 -52
  1926. package/src/components/or-skeleton/OrSkeletonText.vue +0 -105
  1927. package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +0 -68
  1928. package/src/components/or-skeleton-v3/OrSkeletonRect.vue +0 -72
  1929. package/src/components/or-skeleton-v3/OrSkeletonText.vue +0 -110
  1930. package/src/components/or-stepper/OrStepperButtonOptions.vue +0 -72
  1931. package/src/components/or-stepper/StatusIcon.vue +0 -80
  1932. package/src/components/or-toast/OrToastContainer.stories.ts +0 -66
  1933. package/src/components/or-toast/OrToastContainer.vue +0 -247
  1934. package/src/components/or-toast-v3/OrToastContainer.stories3.ts +0 -75
  1935. package/src/components/or-toast-v3/OrToastContainer.vue +0 -211
  1936. /package/dist/bundled/v2/components/{or-avatar → OrAvatar}/OrAvatar.vue.d.ts +0 -0
  1937. /package/dist/bundled/v2/components/{or-avatar → OrAvatar}/constants.d.ts +0 -0
  1938. /package/dist/bundled/v2/components/{or-avatar → OrAvatar}/index.d.ts +0 -0
  1939. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/OrAvatar.vue.d.ts +0 -0
  1940. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/index.d.ts +0 -0
  1941. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/props.d.ts +0 -0
  1942. /package/dist/bundled/v2/components/{or-avatar-v3 → OrAvatarV3}/styles.d.ts +0 -0
  1943. /package/dist/bundled/v2/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/OrBottomSheet.vue.d.ts +0 -0
  1944. /package/dist/bundled/v2/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/index.d.ts +0 -0
  1945. /package/dist/bundled/v2/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/styles.d.ts +0 -0
  1946. /package/dist/bundled/v2/components/{or-button → OrButton}/OrButton.vue.d.ts +0 -0
  1947. /package/dist/bundled/v2/components/{or-button → OrButton}/constants.d.ts +0 -0
  1948. /package/dist/bundled/v2/components/{or-button → OrButton}/index.d.ts +0 -0
  1949. /package/dist/bundled/v2/components/{or-button-v2 → OrButtonV2}/OrButton.vue.d.ts +0 -0
  1950. /package/dist/bundled/v2/components/{or-button-v2 → OrButtonV2}/constants.d.ts +0 -0
  1951. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/OrButton.vue.d.ts +0 -0
  1952. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/index.d.ts +0 -0
  1953. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/props.d.ts +0 -0
  1954. /package/dist/bundled/v2/components/{or-button-v3 → OrButtonV3}/styles.d.ts +0 -0
  1955. /package/dist/bundled/v2/components/{or-card → OrCard}/OrCard.vue.d.ts +0 -0
  1956. /package/dist/bundled/v2/components/{or-card → OrCard}/index.d.ts +0 -0
  1957. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/OrCardCollection.vue.d.ts +0 -0
  1958. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/constants.d.ts +0 -0
  1959. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/index.d.ts +0 -0
  1960. /package/dist/bundled/v2/components/{or-card-collection → OrCardCollection}/types.d.ts +0 -0
  1961. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/OrCardCollection.vue.d.ts +0 -0
  1962. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/index.d.ts +0 -0
  1963. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/props.d.ts +0 -0
  1964. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/styles.d.ts +0 -0
  1965. /package/dist/bundled/v2/components/{or-card-collection-v3 → OrCardCollectionV3}/types.d.ts +0 -0
  1966. /package/dist/bundled/v2/components/{or-card-v3 → OrCardV3}/OrCard.vue.d.ts +0 -0
  1967. /package/dist/bundled/v2/components/{or-card-v3 → OrCardV3}/index.d.ts +0 -0
  1968. /package/dist/bundled/v2/components/{or-card-v3 → OrCardV3}/styles.d.ts +0 -0
  1969. /package/dist/bundled/v2/components/{or-carousel → OrCarousel}/OrCarousel.vue.d.ts +0 -0
  1970. /package/dist/bundled/v2/components/{or-carousel → OrCarousel}/constants.d.ts +0 -0
  1971. /package/dist/bundled/v2/components/{or-carousel → OrCarouselItem}/OrCarouselItem.vue.d.ts +0 -0
  1972. /package/dist/bundled/v2/components/{or-checkbox → OrCheckbox}/OrCheckbox.vue.d.ts +0 -0
  1973. /package/dist/bundled/v2/components/{or-checkbox → OrCheckbox}/index.d.ts +0 -0
  1974. /package/dist/bundled/v2/components/{or-checkbox-v3 → OrCheckboxV3}/OrCheckbox.vue.d.ts +0 -0
  1975. /package/dist/bundled/v2/components/{or-checkbox-v3 → OrCheckboxV3}/index.d.ts +0 -0
  1976. /package/dist/bundled/v2/components/{or-checkbox-v3 → OrCheckboxV3}/styles.d.ts +0 -0
  1977. /package/dist/bundled/v2/components/{or-chips → OrChip}/OrChip.vue.d.ts +0 -0
  1978. /package/dist/bundled/v2/components/{or-chips → OrChips}/OrChips.vue.d.ts +0 -0
  1979. /package/dist/bundled/v2/components/{or-chips → OrChips}/constants.d.ts +0 -0
  1980. /package/dist/bundled/v2/components/{or-code → OrCode}/OrCode.vue.d.ts +0 -0
  1981. /package/dist/bundled/v2/components/{or-code → OrCode}/constants.d.ts +0 -0
  1982. /package/dist/bundled/v2/components/{or-code → OrCode}/index.d.ts +0 -0
  1983. /package/dist/bundled/v2/components/{or-code → OrCode}/lang.d.ts +0 -0
  1984. /package/dist/bundled/v2/components/{or-code → OrCode}/theme.d.ts +0 -0
  1985. /package/dist/bundled/v2/components/{or-collapse → OrCollapse}/OrCollapse.vue.d.ts +0 -0
  1986. /package/dist/bundled/v2/components/{or-collapse → OrCollapse}/index.d.ts +0 -0
  1987. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/OrColorPicker.vue.d.ts +0 -0
  1988. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/constants.d.ts +0 -0
  1989. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/index.d.ts +0 -0
  1990. /package/dist/bundled/v2/components/{or-color-picker → OrColorPicker}/types.d.ts +0 -0
  1991. /package/dist/bundled/v2/components/{or-combined-input-v3 → OrCombinedInputV3}/OrCombinedInput.vue.d.ts +0 -0
  1992. /package/dist/bundled/v2/components/{or-combined-input-v3 → OrCombinedInputV3}/index.d.ts +0 -0
  1993. /package/dist/bundled/v2/components/{or-combined-input-v3 → OrCombinedInputV3}/props.d.ts +0 -0
  1994. /package/dist/bundled/v2/components/{or-combined-input-v3 → OrCombinedInputV3}/styles.d.ts +0 -0
  1995. /package/dist/bundled/v2/components/{or-confirm → OrConfirm}/OrConfirm.vue.d.ts +0 -0
  1996. /package/dist/bundled/v2/components/{or-confirm → OrConfirm}/index.d.ts +0 -0
  1997. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/OrConfirm.vue.d.ts +0 -0
  1998. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/index.d.ts +0 -0
  1999. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/props.d.ts +0 -0
  2000. /package/dist/bundled/v2/components/{or-confirm-v3 → OrConfirmV3}/styles.d.ts +0 -0
  2001. /package/dist/bundled/v2/components/{or-date-time-picker → OrDateTimePicker}/OrDateTimePicker.vue.d.ts +0 -0
  2002. /package/dist/bundled/v2/components/{or-date-time-picker → OrDateTimePicker}/constants.d.ts +0 -0
  2003. /package/dist/bundled/v2/components/{or-date-time-picker → OrDateTimePicker}/index.d.ts +0 -0
  2004. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/OrEmptyState.vue.d.ts +0 -0
  2005. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/index.d.ts +0 -0
  2006. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/props.d.ts +0 -0
  2007. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/styles.d.ts +0 -0
  2008. /package/dist/bundled/v2/components/{or-empty-state-v3 → OrEmptyStateV3}/types.d.ts +0 -0
  2009. /package/dist/bundled/v2/components/{or-error → OrError}/OrError.vue.d.ts +0 -0
  2010. /package/dist/bundled/v2/components/{or-error → OrError}/index.d.ts +0 -0
  2011. /package/dist/bundled/v2/components/{or-error-tag-v3 → OrErrorTagV3}/OrErrorTag.vue.d.ts +0 -0
  2012. /package/dist/bundled/v2/components/{or-error-tag-v3 → OrErrorTagV3}/index.d.ts +0 -0
  2013. /package/dist/bundled/v2/components/{or-error-tag-v3 → OrErrorTagV3}/styles.d.ts +0 -0
  2014. /package/dist/bundled/v2/components/{or-error-v3 → OrErrorV3}/OrError.vue.d.ts +0 -0
  2015. /package/dist/bundled/v2/components/{or-error-v3 → OrErrorV3}/index.d.ts +0 -0
  2016. /package/dist/bundled/v2/components/{or-error-v3 → OrErrorV3}/styles.d.ts +0 -0
  2017. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/OrExpansionPanel.vue.d.ts +0 -0
  2018. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/index.d.ts +0 -0
  2019. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/props.d.ts +0 -0
  2020. /package/dist/bundled/v2/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/styles.d.ts +0 -0
  2021. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/OrFab.vue.d.ts +0 -0
  2022. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/index.d.ts +0 -0
  2023. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/props.d.ts +0 -0
  2024. /package/dist/bundled/v2/components/{or-fab-v3 → OrFabV3}/styles.d.ts +0 -0
  2025. /package/dist/bundled/v2/components/{or-floating → OrFloating}/OrFloating.vue.d.ts +0 -0
  2026. /package/dist/bundled/v2/components/{or-floating → OrFloating}/constants.d.ts +0 -0
  2027. /package/dist/bundled/v2/components/{or-floating → OrFloating}/index.d.ts +0 -0
  2028. /package/dist/bundled/v2/components/{or-hint → OrHint}/OrHint.vue.d.ts +0 -0
  2029. /package/dist/bundled/v2/components/{or-hint → OrHint}/index.d.ts +0 -0
  2030. /package/dist/bundled/v2/components/{or-hint-v3 → OrHintV3}/OrHint.vue.d.ts +0 -0
  2031. /package/dist/bundled/v2/components/{or-hint-v3 → OrHintV3}/index.d.ts +0 -0
  2032. /package/dist/bundled/v2/components/{or-hint-v3 → OrHintV3}/styles.d.ts +0 -0
  2033. /package/dist/bundled/v2/components/{or-icon → OrIcon}/OrIcon.vue.d.ts +0 -0
  2034. /package/dist/bundled/v2/components/{or-icon → OrIcon}/constants.d.ts +0 -0
  2035. /package/dist/bundled/v2/components/{or-icon → OrIcon}/index.d.ts +0 -0
  2036. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/OrIconButton.vue.d.ts +0 -0
  2037. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/index.d.ts +0 -0
  2038. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/props.d.ts +0 -0
  2039. /package/dist/bundled/v2/components/{or-icon-button-v3 → OrIconButtonV3}/styles.d.ts +0 -0
  2040. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/OrIcon.vue.d.ts +0 -0
  2041. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/index.d.ts +0 -0
  2042. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/props.d.ts +0 -0
  2043. /package/dist/bundled/v2/components/{or-icon-v3 → OrIconV3}/styles.d.ts +0 -0
  2044. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/OrInlineInputBox.vue.d.ts +0 -0
  2045. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/index.d.ts +0 -0
  2046. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/props.d.ts +0 -0
  2047. /package/dist/bundled/v2/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/styles.d.ts +0 -0
  2048. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/OrInlineInput.vue.d.ts +0 -0
  2049. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/index.d.ts +0 -0
  2050. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/props.d.ts +0 -0
  2051. /package/dist/bundled/v2/components/{or-inline-input-v3 → OrInlineInputV3}/styles.d.ts +0 -0
  2052. /package/dist/bundled/v2/components/{or-inline-text-edit → OrInlineTextEdit}/OrInlineTextEdit.vue.d.ts +0 -0
  2053. /package/dist/bundled/v2/components/{or-inline-text-edit → OrInlineTextEdit}/constants.d.ts +0 -0
  2054. /package/dist/bundled/v2/components/{or-inline-text-edit → OrInlineTextEdit}/index.d.ts +0 -0
  2055. /package/dist/bundled/v2/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/OrInlineTextarea.vue.d.ts +0 -0
  2056. /package/dist/bundled/v2/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/index.d.ts +0 -0
  2057. /package/dist/bundled/v2/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/styles.d.ts +0 -0
  2058. /package/dist/bundled/v2/components/{or-input → OrInput}/OrInput.vue.d.ts +0 -0
  2059. /package/dist/bundled/v2/components/{or-input → OrInput}/index.d.ts +0 -0
  2060. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/OrInputBox.vue.d.ts +0 -0
  2061. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/index.d.ts +0 -0
  2062. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/props.d.ts +0 -0
  2063. /package/dist/bundled/v2/components/{or-input-box-v3 → OrInputBoxV3}/styles.d.ts +0 -0
  2064. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/OrInput.vue.d.ts +0 -0
  2065. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/index.d.ts +0 -0
  2066. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/props.d.ts +0 -0
  2067. /package/dist/bundled/v2/components/{or-input-v3 → OrInputV3}/styles.d.ts +0 -0
  2068. /package/dist/bundled/v2/components/{or-label → OrLabel}/OrLabel.vue.d.ts +0 -0
  2069. /package/dist/bundled/v2/components/{or-label → OrLabel}/index.d.ts +0 -0
  2070. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/OrLabel.vue.d.ts +0 -0
  2071. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/index.d.ts +0 -0
  2072. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/props.d.ts +0 -0
  2073. /package/dist/bundled/v2/components/{or-label-v3 → OrLabelV3}/styles.d.ts +0 -0
  2074. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/OrLink.vue.d.ts +0 -0
  2075. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/index.d.ts +0 -0
  2076. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/props.d.ts +0 -0
  2077. /package/dist/bundled/v2/components/{or-link-v3 → OrLinkV3}/styles.d.ts +0 -0
  2078. /package/dist/bundled/v2/components/{or-list → OrList}/OrList.vue.d.ts +0 -0
  2079. /package/dist/bundled/v2/components/{or-list → OrList}/index.d.ts +0 -0
  2080. /package/dist/bundled/v2/components/{or-list-of-inputs → OrListOfInputs}/OrListOfInputs.vue.d.ts +0 -0
  2081. /package/dist/bundled/v2/components/{or-list-of-inputs → OrListOfInputs}/index.d.ts +0 -0
  2082. /package/dist/bundled/v2/components/{or-loader → OrLoader}/OrLoader.vue.d.ts +0 -0
  2083. /package/dist/bundled/v2/components/{or-loader → OrLoader}/constants.d.ts +0 -0
  2084. /package/dist/bundled/v2/components/{or-loader → OrLoader}/index.d.ts +0 -0
  2085. /package/dist/bundled/v2/components/{or-loader → OrLoader}/types.d.ts +0 -0
  2086. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/OrLoader.vue.d.ts +0 -0
  2087. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/index.d.ts +0 -0
  2088. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/props.d.ts +0 -0
  2089. /package/dist/bundled/v2/components/{or-loader-v3 → OrLoaderV3}/styles.d.ts +0 -0
  2090. /package/dist/bundled/v2/components/{or-menu-item-v3 → OrMenuItemV3}/OrMenuItem.vue.d.ts +0 -0
  2091. /package/dist/bundled/v2/components/{or-menu-item-v3 → OrMenuItemV3}/index.d.ts +0 -0
  2092. /package/dist/bundled/v2/components/{or-menu-item-v3 → OrMenuItemV3}/styles.d.ts +0 -0
  2093. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/OrMenu.vue.d.ts +0 -0
  2094. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/index.d.ts +0 -0
  2095. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/props.d.ts +0 -0
  2096. /package/dist/bundled/v2/components/{or-menu-v3 → OrMenuV3}/styles.d.ts +0 -0
  2097. /package/dist/bundled/v2/components/{or-modal → OrModal}/OrModal.vue.d.ts +0 -0
  2098. /package/dist/bundled/v2/components/{or-modal → OrModal}/constants.d.ts +0 -0
  2099. /package/dist/bundled/v2/components/{or-modal → OrModal}/index.d.ts +0 -0
  2100. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/OrModal.vue.d.ts +0 -0
  2101. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/index.d.ts +0 -0
  2102. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/props.d.ts +0 -0
  2103. /package/dist/bundled/v2/components/{or-modal-v3 → OrModalV3}/styles.d.ts +0 -0
  2104. /package/dist/bundled/v2/components/{or-notification → OrNotification}/OrNotification.vue.d.ts +0 -0
  2105. /package/dist/bundled/v2/components/{or-notification → OrNotification}/constants.d.ts +0 -0
  2106. /package/dist/bundled/v2/components/{or-notification → OrNotification}/index.d.ts +0 -0
  2107. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/OrNotification.vue.d.ts +0 -0
  2108. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/index.d.ts +0 -0
  2109. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/props.d.ts +0 -0
  2110. /package/dist/bundled/v2/components/{or-notification-v3 → OrNotificationV3}/styles.d.ts +0 -0
  2111. /package/dist/bundled/v2/components/{or-number-input → OrNumberInput}/OrNumberInput.vue.d.ts +0 -0
  2112. /package/dist/bundled/v2/components/{or-number-input → OrNumberInput}/index.d.ts +0 -0
  2113. /package/dist/bundled/v2/components/{or-overflow-menu → OrOverflowMenu}/OrOverflowMenu.vue.d.ts +0 -0
  2114. /package/dist/bundled/v2/components/{or-overflow-menu → OrOverflowMenu}/index.d.ts +0 -0
  2115. /package/dist/bundled/v2/components/{or-overflow-menu → OrOverflowMenu}/types.d.ts +0 -0
  2116. /package/dist/bundled/v2/components/{or-overlay → OrOverlay}/OrOverlay.vue.d.ts +0 -0
  2117. /package/dist/bundled/v2/components/{or-overlay → OrOverlay}/index.d.ts +0 -0
  2118. /package/dist/bundled/v2/components/{or-overlay-v3 → OrOverlayV3}/OrOverlay.vue.d.ts +0 -0
  2119. /package/dist/bundled/v2/components/{or-overlay-v3 → OrOverlayV3}/index.d.ts +0 -0
  2120. /package/dist/bundled/v2/components/{or-overlay-v3 → OrOverlayV3}/styles.d.ts +0 -0
  2121. /package/dist/bundled/v2/components/{or-pagination-v3 → OrPaginationV3}/OrPagination.vue.d.ts +0 -0
  2122. /package/dist/bundled/v2/components/{or-pagination-v3 → OrPaginationV3}/index.d.ts +0 -0
  2123. /package/dist/bundled/v2/components/{or-pagination-v3 → OrPaginationV3}/styles.d.ts +0 -0
  2124. /package/dist/bundled/v2/components/{or-pagination-v3 → OrPaginationV3}/types.d.ts +0 -0
  2125. /package/dist/bundled/v2/components/{or-password → OrPassword}/OrPassword.vue.d.ts +0 -0
  2126. /package/dist/bundled/v2/components/{or-password → OrPassword}/index.d.ts +0 -0
  2127. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/OrPopover.vue.d.ts +0 -0
  2128. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/index.d.ts +0 -0
  2129. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/props.d.ts +0 -0
  2130. /package/dist/bundled/v2/components/{or-popover-v3 → OrPopoverV3}/styles.d.ts +0 -0
  2131. /package/dist/bundled/v2/components/{or-progress → OrProgress}/OrProgress.vue.d.ts +0 -0
  2132. /package/dist/bundled/v2/components/{or-progress → OrProgress}/constants.d.ts +0 -0
  2133. /package/dist/bundled/v2/components/{or-progress → OrProgress}/index.d.ts +0 -0
  2134. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/OrProgress.vue.d.ts +0 -0
  2135. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/index.d.ts +0 -0
  2136. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/props.d.ts +0 -0
  2137. /package/dist/bundled/v2/components/{or-progress-v3 → OrProgressV3}/styles.d.ts +0 -0
  2138. /package/dist/bundled/v2/components/{or-radio → OrRadio}/OrRadio.vue.d.ts +0 -0
  2139. /package/dist/bundled/v2/components/{or-radio → OrRadio}/index.d.ts +0 -0
  2140. /package/dist/bundled/v2/components/{or-radio-group → OrRadioGroup}/OrRadioGroup.vue.d.ts +0 -0
  2141. /package/dist/bundled/v2/components/{or-radio-group → OrRadioGroup}/index.d.ts +0 -0
  2142. /package/dist/bundled/v2/components/{or-radio-v3 → OrRadioV3}/OrRadio.vue.d.ts +0 -0
  2143. /package/dist/bundled/v2/components/{or-radio-v3 → OrRadioV3}/index.d.ts +0 -0
  2144. /package/dist/bundled/v2/components/{or-radio-v3 → OrRadioV3}/styles.d.ts +0 -0
  2145. /package/dist/bundled/v2/components/{or-search → OrSearch}/OrSearch.vue.d.ts +0 -0
  2146. /package/dist/bundled/v2/components/{or-search → OrSearch}/index.d.ts +0 -0
  2147. /package/dist/bundled/v2/components/{or-search-v3 → OrSearchV3}/OrSearch.vue.d.ts +0 -0
  2148. /package/dist/bundled/v2/components/{or-search-v3 → OrSearchV3}/index.d.ts +0 -0
  2149. /package/dist/bundled/v2/components/{or-search-v3 → OrSearchV3}/props.d.ts +0 -0
  2150. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/OrSegmentedControl.vue.d.ts +0 -0
  2151. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/index.d.ts +0 -0
  2152. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/props.d.ts +0 -0
  2153. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/styles.d.ts +0 -0
  2154. /package/dist/bundled/v2/components/{or-segmented-control-v3 → OrSegmentedControlV3}/types.d.ts +0 -0
  2155. /package/dist/bundled/v2/components/{or-select → OrSelect}/constants.d.ts +0 -0
  2156. /package/dist/bundled/v2/components/{or-select → OrSelect}/index.d.ts +0 -0
  2157. /package/dist/bundled/v2/components/{or-select → OrSelect}/stories.helpers.d.ts +0 -0
  2158. /package/dist/bundled/v2/components/{or-select → OrSelect}/types.d.ts +0 -0
  2159. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/OrSelect.vue.d.ts +0 -0
  2160. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/index.d.ts +0 -0
  2161. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/props.d.ts +0 -0
  2162. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/styles.d.ts +0 -0
  2163. /package/dist/bundled/v2/components/{or-select-v3 → OrSelectV3}/types.d.ts +0 -0
  2164. /package/dist/bundled/v2/components/{or-sidebar → OrSidebar}/OrSidebar.vue.d.ts +0 -0
  2165. /package/dist/bundled/v2/components/{or-sidebar → OrSidebar}/constants.d.ts +0 -0
  2166. /package/dist/bundled/v2/components/{or-sidebar → OrSidebar}/index.d.ts +0 -0
  2167. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/OrSidebar.vue.d.ts +0 -0
  2168. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/index.d.ts +0 -0
  2169. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/props.d.ts +0 -0
  2170. /package/dist/bundled/v2/components/{or-sidebar-v3 → OrSidebarV3}/styles.d.ts +0 -0
  2171. /package/dist/bundled/v2/components/{or-skeleton → OrSkeleton}/constants.d.ts +0 -0
  2172. /package/dist/bundled/v2/components/{or-skeleton → OrSkeletonCircle}/OrSkeletonCircle.vue.d.ts +0 -0
  2173. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonCircleV3}/OrSkeletonCircle.vue.d.ts +0 -0
  2174. /package/dist/bundled/v2/components/{or-skeleton → OrSkeletonRect}/OrSkeletonRect.vue.d.ts +0 -0
  2175. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonRectV3}/OrSkeletonRect.vue.d.ts +0 -0
  2176. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonTextV3}/OrSkeletonText.vue.d.ts +0 -0
  2177. /package/dist/bundled/v2/components/{or-skeleton-v3 → OrSkeletonV3}/styles.d.ts +0 -0
  2178. /package/dist/bundled/v2/components/{or-slider → OrSlider}/OrSlider.vue.d.ts +0 -0
  2179. /package/dist/bundled/v2/components/{or-slider → OrSlider}/index.d.ts +0 -0
  2180. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/OrSortHeader.vue.d.ts +0 -0
  2181. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/index.d.ts +0 -0
  2182. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/styles.d.ts +0 -0
  2183. /package/dist/bundled/v2/components/{or-sort-header-v3 → OrSortHeaderV3}/types.d.ts +0 -0
  2184. /package/dist/bundled/v2/components/{or-stepper → OrStepper}/OrStepper.vue.d.ts +0 -0
  2185. /package/dist/bundled/v2/components/{or-stepper → OrStepper}/index.d.ts +0 -0
  2186. /package/dist/bundled/v2/components/{or-switch → OrSwitch}/OrSwitch.vue.d.ts +0 -0
  2187. /package/dist/bundled/v2/components/{or-switch → OrSwitch}/index.d.ts +0 -0
  2188. /package/dist/bundled/v2/components/{or-switch-v3 → OrSwitchV3}/OrSwitch.vue.d.ts +0 -0
  2189. /package/dist/bundled/v2/components/{or-switch-v3 → OrSwitchV3}/index.d.ts +0 -0
  2190. /package/dist/bundled/v2/components/{or-switch-v3 → OrSwitchV3}/styles.d.ts +0 -0
  2191. /package/dist/bundled/v2/components/{or-tab → OrTab}/OrTab.vue.d.ts +0 -0
  2192. /package/dist/bundled/v2/components/{or-tab → OrTab}/index.d.ts +0 -0
  2193. /package/dist/bundled/v2/components/{or-tab-header-item → OrTabHeaderItem}/OrTabHeaderItem.vue.d.ts +0 -0
  2194. /package/dist/bundled/v2/components/{or-tab-header-item → OrTabHeaderItem}/index.d.ts +0 -0
  2195. /package/dist/bundled/v2/components/{or-tab-v3 → OrTabV3}/OrTab.vue.d.ts +0 -0
  2196. /package/dist/bundled/v2/components/{or-tab-v3 → OrTabV3}/index.d.ts +0 -0
  2197. /package/dist/bundled/v2/components/{or-tab-v3 → OrTabV3}/styles.d.ts +0 -0
  2198. /package/dist/bundled/v2/components/{or-tabs → OrTabs}/OrTabs.vue.d.ts +0 -0
  2199. /package/dist/bundled/v2/components/{or-tabs → OrTabs}/index.d.ts +0 -0
  2200. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/OrTabs.vue.d.ts +0 -0
  2201. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/index.d.ts +0 -0
  2202. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/props.d.ts +0 -0
  2203. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/styles.d.ts +0 -0
  2204. /package/dist/bundled/v2/components/{or-tabs-v3 → OrTabsV3}/types.d.ts +0 -0
  2205. /package/dist/bundled/v2/components/{or-tag → OrTag}/OrTag.vue.d.ts +0 -0
  2206. /package/dist/bundled/v2/components/{or-tag → OrTag}/index.d.ts +0 -0
  2207. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/OrTag.vue.d.ts +0 -0
  2208. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/index.d.ts +0 -0
  2209. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/props.d.ts +0 -0
  2210. /package/dist/bundled/v2/components/{or-tag-v3 → OrTagV3}/styles.d.ts +0 -0
  2211. /package/dist/bundled/v2/components/{or-teleport → OrTeleport}/OrTeleport.vue2.vue.d.ts +0 -0
  2212. /package/dist/bundled/v2/components/{or-teleport → OrTeleport}/constants.d.ts +0 -0
  2213. /package/dist/bundled/v2/components/{or-teleport → OrTeleport}/index.d.ts +0 -0
  2214. /package/dist/bundled/v2/components/{or-teleport-v3 → OrTeleportV3}/OrTeleport.vue2.vue.d.ts +0 -0
  2215. /package/dist/bundled/v2/components/{or-teleport-v3 → OrTeleportV3}/index.d.ts +0 -0
  2216. /package/dist/bundled/v2/components/{or-text-v3 → OrTextV3}/OrText.vue.d.ts +0 -0
  2217. /package/dist/bundled/v2/components/{or-text-v3 → OrTextV3}/index.d.ts +0 -0
  2218. /package/dist/bundled/v2/components/{or-text-v3 → OrTextV3}/styles.d.ts +0 -0
  2219. /package/dist/bundled/v2/components/{or-textarea → OrTextarea}/OrTextarea.vue.d.ts +0 -0
  2220. /package/dist/bundled/v2/components/{or-textarea → OrTextarea}/index.d.ts +0 -0
  2221. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/OrTextarea.vue.d.ts +0 -0
  2222. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/index.d.ts +0 -0
  2223. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/props.d.ts +0 -0
  2224. /package/dist/bundled/v2/components/{or-textarea-v3 → OrTextareaV3}/styles.d.ts +0 -0
  2225. /package/dist/bundled/v2/components/{or-textbox → OrTextbox}/OrTextbox.vue.d.ts +0 -0
  2226. /package/dist/bundled/v2/components/{or-textbox → OrTextbox}/constants.d.ts +0 -0
  2227. /package/dist/bundled/v2/components/{or-textbox → OrTextbox}/index.d.ts +0 -0
  2228. /package/dist/bundled/v2/components/{or-toast → OrToast}/OrToast.vue.d.ts +0 -0
  2229. /package/dist/bundled/v2/components/{or-toast-v3 → OrToast}/Timer.d.ts +0 -0
  2230. /package/dist/bundled/v2/components/{or-toast → OrToast}/constants.d.ts +0 -0
  2231. /package/dist/bundled/v2/components/{or-toast → OrToast}/types.d.ts +0 -0
  2232. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/OrToast.vue.d.ts +0 -0
  2233. /package/dist/bundled/v2/components/{or-toast → OrToastV3}/Timer.d.ts +0 -0
  2234. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/props.d.ts +0 -0
  2235. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/styles.d.ts +0 -0
  2236. /package/dist/bundled/v2/components/{or-toast-v3 → OrToastV3}/types.d.ts +0 -0
  2237. /package/dist/bundled/v2/components/{or-tooltip → OrTooltip}/OrTooltip.vue.d.ts +0 -0
  2238. /package/dist/bundled/v2/components/{or-tooltip → OrTooltipContent}/OrTooltipContent.vue.d.ts +0 -0
  2239. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/OrTooltip.vue.d.ts +0 -0
  2240. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/index.d.ts +0 -0
  2241. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/props.d.ts +0 -0
  2242. /package/dist/bundled/v2/components/{or-tooltip-v3 → OrTooltipV3}/styles.d.ts +0 -0
  2243. /package/dist/bundled/v3/components/{or-avatar → OrAvatar}/OrAvatar.vue.d.ts +0 -0
  2244. /package/dist/bundled/v3/components/{or-avatar → OrAvatar}/constants.d.ts +0 -0
  2245. /package/dist/bundled/v3/components/{or-avatar → OrAvatar}/index.d.ts +0 -0
  2246. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/OrAvatar.vue.d.ts +0 -0
  2247. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/index.d.ts +0 -0
  2248. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/props.d.ts +0 -0
  2249. /package/dist/bundled/v3/components/{or-avatar-v3 → OrAvatarV3}/styles.d.ts +0 -0
  2250. /package/dist/bundled/v3/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/OrBottomSheet.vue.d.ts +0 -0
  2251. /package/dist/bundled/v3/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/index.d.ts +0 -0
  2252. /package/dist/bundled/v3/components/{or-bottom-sheet-v3 → OrBottomSheetV3}/styles.d.ts +0 -0
  2253. /package/dist/bundled/v3/components/{or-button → OrButton}/OrButton.vue.d.ts +0 -0
  2254. /package/dist/bundled/v3/components/{or-button → OrButton}/constants.d.ts +0 -0
  2255. /package/dist/bundled/v3/components/{or-button → OrButton}/index.d.ts +0 -0
  2256. /package/dist/bundled/v3/components/{or-button-v2 → OrButtonV2}/OrButton.vue.d.ts +0 -0
  2257. /package/dist/bundled/v3/components/{or-button-v2 → OrButtonV2}/constants.d.ts +0 -0
  2258. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/OrButton.vue.d.ts +0 -0
  2259. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/index.d.ts +0 -0
  2260. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/props.d.ts +0 -0
  2261. /package/dist/bundled/v3/components/{or-button-v3 → OrButtonV3}/styles.d.ts +0 -0
  2262. /package/dist/bundled/v3/components/{or-card → OrCard}/OrCard.vue.d.ts +0 -0
  2263. /package/dist/bundled/v3/components/{or-card → OrCard}/index.d.ts +0 -0
  2264. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/OrCardCollection.vue.d.ts +0 -0
  2265. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/constants.d.ts +0 -0
  2266. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/index.d.ts +0 -0
  2267. /package/dist/bundled/v3/components/{or-card-collection → OrCardCollection}/types.d.ts +0 -0
  2268. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/OrCardCollection.vue.d.ts +0 -0
  2269. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/index.d.ts +0 -0
  2270. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/props.d.ts +0 -0
  2271. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/styles.d.ts +0 -0
  2272. /package/dist/bundled/v3/components/{or-card-collection-v3 → OrCardCollectionV3}/types.d.ts +0 -0
  2273. /package/dist/bundled/v3/components/{or-card-v3 → OrCardV3}/OrCard.vue.d.ts +0 -0
  2274. /package/dist/bundled/v3/components/{or-card-v3 → OrCardV3}/index.d.ts +0 -0
  2275. /package/dist/bundled/v3/components/{or-card-v3 → OrCardV3}/styles.d.ts +0 -0
  2276. /package/dist/bundled/v3/components/{or-carousel → OrCarousel}/OrCarousel.vue.d.ts +0 -0
  2277. /package/dist/bundled/v3/components/{or-carousel → OrCarousel}/constants.d.ts +0 -0
  2278. /package/dist/bundled/v3/components/{or-carousel → OrCarouselItem}/OrCarouselItem.vue.d.ts +0 -0
  2279. /package/dist/bundled/v3/components/{or-checkbox → OrCheckbox}/OrCheckbox.vue.d.ts +0 -0
  2280. /package/dist/bundled/v3/components/{or-checkbox → OrCheckbox}/index.d.ts +0 -0
  2281. /package/dist/bundled/v3/components/{or-checkbox-v3 → OrCheckboxV3}/OrCheckbox.vue.d.ts +0 -0
  2282. /package/dist/bundled/v3/components/{or-checkbox-v3 → OrCheckboxV3}/index.d.ts +0 -0
  2283. /package/dist/bundled/v3/components/{or-checkbox-v3 → OrCheckboxV3}/styles.d.ts +0 -0
  2284. /package/dist/bundled/v3/components/{or-chips → OrChip}/OrChip.vue.d.ts +0 -0
  2285. /package/dist/bundled/v3/components/{or-chips → OrChips}/OrChips.vue.d.ts +0 -0
  2286. /package/dist/bundled/v3/components/{or-chips → OrChips}/constants.d.ts +0 -0
  2287. /package/dist/bundled/v3/components/{or-code → OrCode}/OrCode.vue.d.ts +0 -0
  2288. /package/dist/bundled/v3/components/{or-code → OrCode}/constants.d.ts +0 -0
  2289. /package/dist/bundled/v3/components/{or-code → OrCode}/index.d.ts +0 -0
  2290. /package/dist/bundled/v3/components/{or-code → OrCode}/lang.d.ts +0 -0
  2291. /package/dist/bundled/v3/components/{or-code → OrCode}/theme.d.ts +0 -0
  2292. /package/dist/bundled/v3/components/{or-collapse → OrCollapse}/OrCollapse.vue.d.ts +0 -0
  2293. /package/dist/bundled/v3/components/{or-collapse → OrCollapse}/index.d.ts +0 -0
  2294. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/OrColorPicker.vue.d.ts +0 -0
  2295. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/constants.d.ts +0 -0
  2296. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/index.d.ts +0 -0
  2297. /package/dist/bundled/v3/components/{or-color-picker → OrColorPicker}/types.d.ts +0 -0
  2298. /package/dist/bundled/v3/components/{or-combined-input-v3 → OrCombinedInputV3}/OrCombinedInput.vue.d.ts +0 -0
  2299. /package/dist/bundled/v3/components/{or-combined-input-v3 → OrCombinedInputV3}/index.d.ts +0 -0
  2300. /package/dist/bundled/v3/components/{or-combined-input-v3 → OrCombinedInputV3}/props.d.ts +0 -0
  2301. /package/dist/bundled/v3/components/{or-combined-input-v3 → OrCombinedInputV3}/styles.d.ts +0 -0
  2302. /package/dist/bundled/v3/components/{or-confirm → OrConfirm}/OrConfirm.vue.d.ts +0 -0
  2303. /package/dist/bundled/v3/components/{or-confirm → OrConfirm}/index.d.ts +0 -0
  2304. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/OrConfirm.vue.d.ts +0 -0
  2305. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/index.d.ts +0 -0
  2306. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/props.d.ts +0 -0
  2307. /package/dist/bundled/v3/components/{or-confirm-v3 → OrConfirmV3}/styles.d.ts +0 -0
  2308. /package/dist/bundled/v3/components/{or-date-time-picker → OrDateTimePicker}/OrDateTimePicker.vue.d.ts +0 -0
  2309. /package/dist/bundled/v3/components/{or-date-time-picker → OrDateTimePicker}/constants.d.ts +0 -0
  2310. /package/dist/bundled/v3/components/{or-date-time-picker → OrDateTimePicker}/index.d.ts +0 -0
  2311. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/OrEmptyState.vue.d.ts +0 -0
  2312. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/index.d.ts +0 -0
  2313. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/props.d.ts +0 -0
  2314. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/styles.d.ts +0 -0
  2315. /package/dist/bundled/v3/components/{or-empty-state-v3 → OrEmptyStateV3}/types.d.ts +0 -0
  2316. /package/dist/bundled/v3/components/{or-error → OrError}/OrError.vue.d.ts +0 -0
  2317. /package/dist/bundled/v3/components/{or-error → OrError}/index.d.ts +0 -0
  2318. /package/dist/bundled/v3/components/{or-error-tag-v3 → OrErrorTagV3}/OrErrorTag.vue.d.ts +0 -0
  2319. /package/dist/bundled/v3/components/{or-error-tag-v3 → OrErrorTagV3}/index.d.ts +0 -0
  2320. /package/dist/bundled/v3/components/{or-error-tag-v3 → OrErrorTagV3}/styles.d.ts +0 -0
  2321. /package/dist/bundled/v3/components/{or-error-v3 → OrErrorV3}/OrError.vue.d.ts +0 -0
  2322. /package/dist/bundled/v3/components/{or-error-v3 → OrErrorV3}/index.d.ts +0 -0
  2323. /package/dist/bundled/v3/components/{or-error-v3 → OrErrorV3}/styles.d.ts +0 -0
  2324. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/OrExpansionPanel.vue.d.ts +0 -0
  2325. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/index.d.ts +0 -0
  2326. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/props.d.ts +0 -0
  2327. /package/dist/bundled/v3/components/{or-expansion-panel-v3 → OrExpansionPanelV3}/styles.d.ts +0 -0
  2328. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/OrFab.vue.d.ts +0 -0
  2329. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/index.d.ts +0 -0
  2330. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/props.d.ts +0 -0
  2331. /package/dist/bundled/v3/components/{or-fab-v3 → OrFabV3}/styles.d.ts +0 -0
  2332. /package/dist/bundled/v3/components/{or-floating → OrFloating}/OrFloating.vue.d.ts +0 -0
  2333. /package/dist/bundled/v3/components/{or-floating → OrFloating}/constants.d.ts +0 -0
  2334. /package/dist/bundled/v3/components/{or-floating → OrFloating}/index.d.ts +0 -0
  2335. /package/dist/bundled/v3/components/{or-hint → OrHint}/OrHint.vue.d.ts +0 -0
  2336. /package/dist/bundled/v3/components/{or-hint → OrHint}/index.d.ts +0 -0
  2337. /package/dist/bundled/v3/components/{or-hint-v3 → OrHintV3}/OrHint.vue.d.ts +0 -0
  2338. /package/dist/bundled/v3/components/{or-hint-v3 → OrHintV3}/index.d.ts +0 -0
  2339. /package/dist/bundled/v3/components/{or-hint-v3 → OrHintV3}/styles.d.ts +0 -0
  2340. /package/dist/bundled/v3/components/{or-icon → OrIcon}/OrIcon.vue.d.ts +0 -0
  2341. /package/dist/bundled/v3/components/{or-icon → OrIcon}/constants.d.ts +0 -0
  2342. /package/dist/bundled/v3/components/{or-icon → OrIcon}/index.d.ts +0 -0
  2343. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/OrIconButton.vue.d.ts +0 -0
  2344. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/index.d.ts +0 -0
  2345. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/props.d.ts +0 -0
  2346. /package/dist/bundled/v3/components/{or-icon-button-v3 → OrIconButtonV3}/styles.d.ts +0 -0
  2347. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/OrIcon.vue.d.ts +0 -0
  2348. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/index.d.ts +0 -0
  2349. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/props.d.ts +0 -0
  2350. /package/dist/bundled/v3/components/{or-icon-v3 → OrIconV3}/styles.d.ts +0 -0
  2351. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/OrInlineInputBox.vue.d.ts +0 -0
  2352. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/index.d.ts +0 -0
  2353. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/props.d.ts +0 -0
  2354. /package/dist/bundled/v3/components/{or-inline-input-box-v3 → OrInlineInputBoxV3}/styles.d.ts +0 -0
  2355. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/OrInlineInput.vue.d.ts +0 -0
  2356. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/index.d.ts +0 -0
  2357. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/props.d.ts +0 -0
  2358. /package/dist/bundled/v3/components/{or-inline-input-v3 → OrInlineInputV3}/styles.d.ts +0 -0
  2359. /package/dist/bundled/v3/components/{or-inline-text-edit → OrInlineTextEdit}/OrInlineTextEdit.vue.d.ts +0 -0
  2360. /package/dist/bundled/v3/components/{or-inline-text-edit → OrInlineTextEdit}/constants.d.ts +0 -0
  2361. /package/dist/bundled/v3/components/{or-inline-text-edit → OrInlineTextEdit}/index.d.ts +0 -0
  2362. /package/dist/bundled/v3/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/OrInlineTextarea.vue.d.ts +0 -0
  2363. /package/dist/bundled/v3/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/index.d.ts +0 -0
  2364. /package/dist/bundled/v3/components/{or-inline-textarea-v3 → OrInlineTextareaV3}/styles.d.ts +0 -0
  2365. /package/dist/bundled/v3/components/{or-input → OrInput}/OrInput.vue.d.ts +0 -0
  2366. /package/dist/bundled/v3/components/{or-input → OrInput}/index.d.ts +0 -0
  2367. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/OrInputBox.vue.d.ts +0 -0
  2368. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/index.d.ts +0 -0
  2369. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/props.d.ts +0 -0
  2370. /package/dist/bundled/v3/components/{or-input-box-v3 → OrInputBoxV3}/styles.d.ts +0 -0
  2371. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/OrInput.vue.d.ts +0 -0
  2372. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/index.d.ts +0 -0
  2373. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/props.d.ts +0 -0
  2374. /package/dist/bundled/v3/components/{or-input-v3 → OrInputV3}/styles.d.ts +0 -0
  2375. /package/dist/bundled/v3/components/{or-label → OrLabel}/OrLabel.vue.d.ts +0 -0
  2376. /package/dist/bundled/v3/components/{or-label → OrLabel}/index.d.ts +0 -0
  2377. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/OrLabel.vue.d.ts +0 -0
  2378. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/index.d.ts +0 -0
  2379. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/props.d.ts +0 -0
  2380. /package/dist/bundled/v3/components/{or-label-v3 → OrLabelV3}/styles.d.ts +0 -0
  2381. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/OrLink.vue.d.ts +0 -0
  2382. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/index.d.ts +0 -0
  2383. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/props.d.ts +0 -0
  2384. /package/dist/bundled/v3/components/{or-link-v3 → OrLinkV3}/styles.d.ts +0 -0
  2385. /package/dist/bundled/v3/components/{or-list → OrList}/OrList.vue.d.ts +0 -0
  2386. /package/dist/bundled/v3/components/{or-list → OrList}/index.d.ts +0 -0
  2387. /package/dist/bundled/v3/components/{or-list-of-inputs → OrListOfInputs}/OrListOfInputs.vue.d.ts +0 -0
  2388. /package/dist/bundled/v3/components/{or-list-of-inputs → OrListOfInputs}/index.d.ts +0 -0
  2389. /package/dist/bundled/v3/components/{or-loader → OrLoader}/OrLoader.vue.d.ts +0 -0
  2390. /package/dist/bundled/v3/components/{or-loader → OrLoader}/constants.d.ts +0 -0
  2391. /package/dist/bundled/v3/components/{or-loader → OrLoader}/index.d.ts +0 -0
  2392. /package/dist/bundled/v3/components/{or-loader → OrLoader}/types.d.ts +0 -0
  2393. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/OrLoader.vue.d.ts +0 -0
  2394. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/index.d.ts +0 -0
  2395. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/props.d.ts +0 -0
  2396. /package/dist/bundled/v3/components/{or-loader-v3 → OrLoaderV3}/styles.d.ts +0 -0
  2397. /package/dist/bundled/v3/components/{or-menu-item-v3 → OrMenuItemV3}/OrMenuItem.vue.d.ts +0 -0
  2398. /package/dist/bundled/v3/components/{or-menu-item-v3 → OrMenuItemV3}/index.d.ts +0 -0
  2399. /package/dist/bundled/v3/components/{or-menu-item-v3 → OrMenuItemV3}/styles.d.ts +0 -0
  2400. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/OrMenu.vue.d.ts +0 -0
  2401. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/index.d.ts +0 -0
  2402. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/props.d.ts +0 -0
  2403. /package/dist/bundled/v3/components/{or-menu-v3 → OrMenuV3}/styles.d.ts +0 -0
  2404. /package/dist/bundled/v3/components/{or-modal → OrModal}/OrModal.vue.d.ts +0 -0
  2405. /package/dist/bundled/v3/components/{or-modal → OrModal}/constants.d.ts +0 -0
  2406. /package/dist/bundled/v3/components/{or-modal → OrModal}/index.d.ts +0 -0
  2407. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/OrModal.vue.d.ts +0 -0
  2408. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/index.d.ts +0 -0
  2409. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/props.d.ts +0 -0
  2410. /package/dist/bundled/v3/components/{or-modal-v3 → OrModalV3}/styles.d.ts +0 -0
  2411. /package/dist/bundled/v3/components/{or-notification → OrNotification}/OrNotification.vue.d.ts +0 -0
  2412. /package/dist/bundled/v3/components/{or-notification → OrNotification}/constants.d.ts +0 -0
  2413. /package/dist/bundled/v3/components/{or-notification → OrNotification}/index.d.ts +0 -0
  2414. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/OrNotification.vue.d.ts +0 -0
  2415. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/index.d.ts +0 -0
  2416. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/props.d.ts +0 -0
  2417. /package/dist/bundled/v3/components/{or-notification-v3 → OrNotificationV3}/styles.d.ts +0 -0
  2418. /package/dist/bundled/v3/components/{or-number-input → OrNumberInput}/OrNumberInput.vue.d.ts +0 -0
  2419. /package/dist/bundled/v3/components/{or-number-input → OrNumberInput}/index.d.ts +0 -0
  2420. /package/dist/bundled/v3/components/{or-overflow-menu → OrOverflowMenu}/OrOverflowMenu.vue.d.ts +0 -0
  2421. /package/dist/bundled/v3/components/{or-overflow-menu → OrOverflowMenu}/index.d.ts +0 -0
  2422. /package/dist/bundled/v3/components/{or-overflow-menu → OrOverflowMenu}/types.d.ts +0 -0
  2423. /package/dist/bundled/v3/components/{or-overlay → OrOverlay}/OrOverlay.vue.d.ts +0 -0
  2424. /package/dist/bundled/v3/components/{or-overlay → OrOverlay}/index.d.ts +0 -0
  2425. /package/dist/bundled/v3/components/{or-overlay-v3 → OrOverlayV3}/OrOverlay.vue.d.ts +0 -0
  2426. /package/dist/bundled/v3/components/{or-overlay-v3 → OrOverlayV3}/index.d.ts +0 -0
  2427. /package/dist/bundled/v3/components/{or-overlay-v3 → OrOverlayV3}/styles.d.ts +0 -0
  2428. /package/dist/bundled/v3/components/{or-pagination-v3 → OrPaginationV3}/OrPagination.vue.d.ts +0 -0
  2429. /package/dist/bundled/v3/components/{or-pagination-v3 → OrPaginationV3}/index.d.ts +0 -0
  2430. /package/dist/bundled/v3/components/{or-pagination-v3 → OrPaginationV3}/styles.d.ts +0 -0
  2431. /package/dist/bundled/v3/components/{or-pagination-v3 → OrPaginationV3}/types.d.ts +0 -0
  2432. /package/dist/bundled/v3/components/{or-password → OrPassword}/OrPassword.vue.d.ts +0 -0
  2433. /package/dist/bundled/v3/components/{or-password → OrPassword}/index.d.ts +0 -0
  2434. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/OrPopover.vue.d.ts +0 -0
  2435. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/index.d.ts +0 -0
  2436. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/props.d.ts +0 -0
  2437. /package/dist/bundled/v3/components/{or-popover-v3 → OrPopoverV3}/styles.d.ts +0 -0
  2438. /package/dist/bundled/v3/components/{or-progress → OrProgress}/OrProgress.vue.d.ts +0 -0
  2439. /package/dist/bundled/v3/components/{or-progress → OrProgress}/constants.d.ts +0 -0
  2440. /package/dist/bundled/v3/components/{or-progress → OrProgress}/index.d.ts +0 -0
  2441. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/OrProgress.vue.d.ts +0 -0
  2442. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/index.d.ts +0 -0
  2443. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/props.d.ts +0 -0
  2444. /package/dist/bundled/v3/components/{or-progress-v3 → OrProgressV3}/styles.d.ts +0 -0
  2445. /package/dist/bundled/v3/components/{or-radio → OrRadio}/OrRadio.vue.d.ts +0 -0
  2446. /package/dist/bundled/v3/components/{or-radio → OrRadio}/index.d.ts +0 -0
  2447. /package/dist/bundled/v3/components/{or-radio-group → OrRadioGroup}/OrRadioGroup.vue.d.ts +0 -0
  2448. /package/dist/bundled/v3/components/{or-radio-group → OrRadioGroup}/index.d.ts +0 -0
  2449. /package/dist/bundled/v3/components/{or-radio-v3 → OrRadioV3}/OrRadio.vue.d.ts +0 -0
  2450. /package/dist/bundled/v3/components/{or-radio-v3 → OrRadioV3}/index.d.ts +0 -0
  2451. /package/dist/bundled/v3/components/{or-radio-v3 → OrRadioV3}/styles.d.ts +0 -0
  2452. /package/dist/bundled/v3/components/{or-search → OrSearch}/OrSearch.vue.d.ts +0 -0
  2453. /package/dist/bundled/v3/components/{or-search → OrSearch}/index.d.ts +0 -0
  2454. /package/dist/bundled/v3/components/{or-search-v3 → OrSearchV3}/OrSearch.vue.d.ts +0 -0
  2455. /package/dist/bundled/v3/components/{or-search-v3 → OrSearchV3}/index.d.ts +0 -0
  2456. /package/dist/bundled/v3/components/{or-search-v3 → OrSearchV3}/props.d.ts +0 -0
  2457. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/OrSegmentedControl.vue.d.ts +0 -0
  2458. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/index.d.ts +0 -0
  2459. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/props.d.ts +0 -0
  2460. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/styles.d.ts +0 -0
  2461. /package/dist/bundled/v3/components/{or-segmented-control-v3 → OrSegmentedControlV3}/types.d.ts +0 -0
  2462. /package/dist/bundled/v3/components/{or-select → OrSelect}/constants.d.ts +0 -0
  2463. /package/dist/bundled/v3/components/{or-select → OrSelect}/index.d.ts +0 -0
  2464. /package/dist/bundled/v3/components/{or-select → OrSelect}/stories.helpers.d.ts +0 -0
  2465. /package/dist/bundled/v3/components/{or-select → OrSelect}/types.d.ts +0 -0
  2466. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/OrSelect.vue.d.ts +0 -0
  2467. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/index.d.ts +0 -0
  2468. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/props.d.ts +0 -0
  2469. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/styles.d.ts +0 -0
  2470. /package/dist/bundled/v3/components/{or-select-v3 → OrSelectV3}/types.d.ts +0 -0
  2471. /package/dist/bundled/v3/components/{or-sidebar → OrSidebar}/OrSidebar.vue.d.ts +0 -0
  2472. /package/dist/bundled/v3/components/{or-sidebar → OrSidebar}/constants.d.ts +0 -0
  2473. /package/dist/bundled/v3/components/{or-sidebar → OrSidebar}/index.d.ts +0 -0
  2474. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/OrSidebar.vue.d.ts +0 -0
  2475. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/index.d.ts +0 -0
  2476. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/props.d.ts +0 -0
  2477. /package/dist/bundled/v3/components/{or-sidebar-v3 → OrSidebarV3}/styles.d.ts +0 -0
  2478. /package/dist/bundled/v3/components/{or-skeleton → OrSkeleton}/constants.d.ts +0 -0
  2479. /package/dist/bundled/v3/components/{or-skeleton → OrSkeletonCircle}/OrSkeletonCircle.vue.d.ts +0 -0
  2480. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonCircleV3}/OrSkeletonCircle.vue.d.ts +0 -0
  2481. /package/dist/bundled/v3/components/{or-skeleton → OrSkeletonRect}/OrSkeletonRect.vue.d.ts +0 -0
  2482. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonRectV3}/OrSkeletonRect.vue.d.ts +0 -0
  2483. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonTextV3}/OrSkeletonText.vue.d.ts +0 -0
  2484. /package/dist/bundled/v3/components/{or-skeleton-v3 → OrSkeletonV3}/styles.d.ts +0 -0
  2485. /package/dist/bundled/v3/components/{or-slider → OrSlider}/OrSlider.vue.d.ts +0 -0
  2486. /package/dist/bundled/v3/components/{or-slider → OrSlider}/index.d.ts +0 -0
  2487. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/OrSortHeader.vue.d.ts +0 -0
  2488. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/index.d.ts +0 -0
  2489. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/styles.d.ts +0 -0
  2490. /package/dist/bundled/v3/components/{or-sort-header-v3 → OrSortHeaderV3}/types.d.ts +0 -0
  2491. /package/dist/bundled/v3/components/{or-stepper → OrStepper}/OrStepper.vue.d.ts +0 -0
  2492. /package/dist/bundled/v3/components/{or-stepper → OrStepper}/index.d.ts +0 -0
  2493. /package/dist/bundled/v3/components/{or-switch → OrSwitch}/OrSwitch.vue.d.ts +0 -0
  2494. /package/dist/bundled/v3/components/{or-switch → OrSwitch}/index.d.ts +0 -0
  2495. /package/dist/bundled/v3/components/{or-switch-v3 → OrSwitchV3}/OrSwitch.vue.d.ts +0 -0
  2496. /package/dist/bundled/v3/components/{or-switch-v3 → OrSwitchV3}/index.d.ts +0 -0
  2497. /package/dist/bundled/v3/components/{or-switch-v3 → OrSwitchV3}/styles.d.ts +0 -0
  2498. /package/dist/bundled/v3/components/{or-tab → OrTab}/OrTab.vue.d.ts +0 -0
  2499. /package/dist/bundled/v3/components/{or-tab → OrTab}/index.d.ts +0 -0
  2500. /package/dist/bundled/v3/components/{or-tab-header-item → OrTabHeaderItem}/OrTabHeaderItem.vue.d.ts +0 -0
  2501. /package/dist/bundled/v3/components/{or-tab-header-item → OrTabHeaderItem}/index.d.ts +0 -0
  2502. /package/dist/bundled/v3/components/{or-tab-v3 → OrTabV3}/OrTab.vue.d.ts +0 -0
  2503. /package/dist/bundled/v3/components/{or-tab-v3 → OrTabV3}/index.d.ts +0 -0
  2504. /package/dist/bundled/v3/components/{or-tab-v3 → OrTabV3}/styles.d.ts +0 -0
  2505. /package/dist/bundled/v3/components/{or-tabs → OrTabs}/OrTabs.vue.d.ts +0 -0
  2506. /package/dist/bundled/v3/components/{or-tabs → OrTabs}/index.d.ts +0 -0
  2507. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/OrTabs.vue.d.ts +0 -0
  2508. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/index.d.ts +0 -0
  2509. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/props.d.ts +0 -0
  2510. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/styles.d.ts +0 -0
  2511. /package/dist/bundled/v3/components/{or-tabs-v3 → OrTabsV3}/types.d.ts +0 -0
  2512. /package/dist/bundled/v3/components/{or-tag → OrTag}/OrTag.vue.d.ts +0 -0
  2513. /package/dist/bundled/v3/components/{or-tag → OrTag}/index.d.ts +0 -0
  2514. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/OrTag.vue.d.ts +0 -0
  2515. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/index.d.ts +0 -0
  2516. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/props.d.ts +0 -0
  2517. /package/dist/bundled/v3/components/{or-tag-v3 → OrTagV3}/styles.d.ts +0 -0
  2518. /package/dist/bundled/v3/components/{or-teleport → OrTeleport}/OrTeleport.vue3.vue.d.ts +0 -0
  2519. /package/dist/bundled/v3/components/{or-teleport → OrTeleport}/constants.d.ts +0 -0
  2520. /package/dist/bundled/v3/components/{or-teleport → OrTeleport}/index.d.ts +0 -0
  2521. /package/dist/bundled/v3/components/{or-teleport-v3 → OrTeleportV3}/OrTeleport.vue3.vue.d.ts +0 -0
  2522. /package/dist/bundled/v3/components/{or-teleport-v3 → OrTeleportV3}/index.d.ts +0 -0
  2523. /package/dist/bundled/v3/components/{or-text-v3 → OrTextV3}/OrText.vue.d.ts +0 -0
  2524. /package/dist/bundled/v3/components/{or-text-v3 → OrTextV3}/index.d.ts +0 -0
  2525. /package/dist/bundled/v3/components/{or-text-v3 → OrTextV3}/styles.d.ts +0 -0
  2526. /package/dist/bundled/v3/components/{or-textarea → OrTextarea}/OrTextarea.vue.d.ts +0 -0
  2527. /package/dist/bundled/v3/components/{or-textarea → OrTextarea}/index.d.ts +0 -0
  2528. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/OrTextarea.vue.d.ts +0 -0
  2529. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/index.d.ts +0 -0
  2530. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/props.d.ts +0 -0
  2531. /package/dist/bundled/v3/components/{or-textarea-v3 → OrTextareaV3}/styles.d.ts +0 -0
  2532. /package/dist/bundled/v3/components/{or-textbox → OrTextbox}/OrTextbox.vue.d.ts +0 -0
  2533. /package/dist/bundled/v3/components/{or-textbox → OrTextbox}/constants.d.ts +0 -0
  2534. /package/dist/bundled/v3/components/{or-textbox → OrTextbox}/index.d.ts +0 -0
  2535. /package/dist/bundled/v3/components/{or-toast → OrToast}/OrToast.vue.d.ts +0 -0
  2536. /package/dist/bundled/v3/components/{or-toast-v3 → OrToast}/Timer.d.ts +0 -0
  2537. /package/dist/bundled/v3/components/{or-toast → OrToast}/constants.d.ts +0 -0
  2538. /package/dist/bundled/v3/components/{or-toast → OrToast}/types.d.ts +0 -0
  2539. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/OrToast.vue.d.ts +0 -0
  2540. /package/dist/bundled/v3/components/{or-toast → OrToastV3}/Timer.d.ts +0 -0
  2541. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/props.d.ts +0 -0
  2542. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/styles.d.ts +0 -0
  2543. /package/dist/bundled/v3/components/{or-toast-v3 → OrToastV3}/types.d.ts +0 -0
  2544. /package/dist/bundled/v3/components/{or-tooltip → OrTooltip}/OrTooltip.vue.d.ts +0 -0
  2545. /package/dist/bundled/v3/components/{or-tooltip → OrTooltipContent}/OrTooltipContent.vue.d.ts +0 -0
  2546. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/OrTooltip.vue.d.ts +0 -0
  2547. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/index.d.ts +0 -0
  2548. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/props.d.ts +0 -0
  2549. /package/dist/bundled/v3/components/{or-tooltip-v3 → OrTooltipV3}/styles.d.ts +0 -0
  2550. /package/dist/esm/v2/components/or-carousel/{OrCarouselItem.vue.d.ts → or-carousel-item/OrCarouselItem.vue.d.ts} +0 -0
  2551. /package/dist/esm/v2/components/or-chips/{OrChip.vue.d.ts → or-chip/OrChip.vue.d.ts} +0 -0
  2552. /package/dist/{bundled/v2/components/or-chips → esm/v2/components/or-chips/partials}/OrChipsInput.vue.d.ts +0 -0
  2553. /package/dist/{bundled/v2/components/or-overflow-menu → esm/v2/components/or-overflow-menu/partials}/OrOverflowMenuItem.vue.d.ts +0 -0
  2554. /package/dist/{bundled/v2/components/or-select → esm/v2/components/or-select/partials}/OrSelectContentEmpty.vue.d.ts +0 -0
  2555. /package/dist/{bundled/v2/components/or-select → esm/v2/components/or-select/partials}/OrSelectSearchOptions.vue.d.ts +0 -0
  2556. /package/dist/esm/v2/components/or-skeleton/{OrSkeletonCircle.vue.d.ts → or-skeleton-circle/OrSkeletonCircle.vue.d.ts} +0 -0
  2557. /package/dist/esm/v2/components/or-skeleton/{OrSkeletonRect.vue.d.ts → or-skeleton-rect/OrSkeletonRect.vue.d.ts} +0 -0
  2558. /package/dist/esm/v2/components/or-skeleton-v3/{OrSkeletonCircle.vue.d.ts → or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts} +0 -0
  2559. /package/dist/esm/v2/components/or-skeleton-v3/{OrSkeletonRect.vue.d.ts → or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts} +0 -0
  2560. /package/dist/esm/v2/components/or-skeleton-v3/{OrSkeletonText.vue.d.ts → or-skeleton-text-v3/OrSkeletonText.vue.d.ts} +0 -0
  2561. /package/dist/{bundled/v2/components/or-stepper → esm/v2/components/or-stepper/partials}/OrStepperButtonOptions.vue.d.ts +0 -0
  2562. /package/dist/{bundled/v2/components/or-stepper → esm/v2/components/or-stepper/partials}/OrStepperOptionHorizontal.vue.d.ts +0 -0
  2563. /package/dist/{bundled/v2/components/or-stepper → esm/v2/components/or-stepper/partials}/OrStepperOptionVertical.vue.d.ts +0 -0
  2564. /package/dist/{bundled/v2/components/or-stepper → esm/v2/components/or-stepper/partials}/OrStepperTitle.vue.d.ts +0 -0
  2565. /package/dist/{bundled/v2/components/or-stepper → esm/v2/components/or-stepper/partials}/StatusIcon.vue.d.ts +0 -0
  2566. /package/dist/esm/v2/components/or-tooltip/{OrTooltipContent.vue.d.ts → or-tooltip-content/OrTooltipContent.vue.d.ts} +0 -0
  2567. /package/dist/esm/v3/components/or-carousel/{OrCarouselItem.vue.d.ts → or-carousel-item/OrCarouselItem.vue.d.ts} +0 -0
  2568. /package/dist/esm/v3/components/or-chips/{OrChip.vue.d.ts → or-chip/OrChip.vue.d.ts} +0 -0
  2569. /package/dist/{bundled/v3/components/or-chips → esm/v3/components/or-chips/partials}/OrChipsInput.vue.d.ts +0 -0
  2570. /package/dist/{bundled/v3/components/or-overflow-menu → esm/v3/components/or-overflow-menu/partials}/OrOverflowMenuItem.vue.d.ts +0 -0
  2571. /package/dist/{bundled/v3/components/or-select → esm/v3/components/or-select/partials}/OrSelectContentEmpty.vue.d.ts +0 -0
  2572. /package/dist/{bundled/v3/components/or-select → esm/v3/components/or-select/partials}/OrSelectSearchOptions.vue.d.ts +0 -0
  2573. /package/dist/esm/v3/components/or-skeleton/{OrSkeletonCircle.vue.d.ts → or-skeleton-circle/OrSkeletonCircle.vue.d.ts} +0 -0
  2574. /package/dist/esm/v3/components/or-skeleton/{OrSkeletonRect.vue.d.ts → or-skeleton-rect/OrSkeletonRect.vue.d.ts} +0 -0
  2575. /package/dist/esm/v3/components/or-skeleton-v3/{OrSkeletonCircle.vue.d.ts → or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts} +0 -0
  2576. /package/dist/esm/v3/components/or-skeleton-v3/{OrSkeletonRect.vue.d.ts → or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts} +0 -0
  2577. /package/dist/esm/v3/components/or-skeleton-v3/{OrSkeletonText.vue.d.ts → or-skeleton-text-v3/OrSkeletonText.vue.d.ts} +0 -0
  2578. /package/dist/{bundled/v3/components/or-stepper → esm/v3/components/or-stepper/partials}/OrStepperButtonOptions.vue.d.ts +0 -0
  2579. /package/dist/{bundled/v3/components/or-stepper → esm/v3/components/or-stepper/partials}/OrStepperOptionHorizontal.vue.d.ts +0 -0
  2580. /package/dist/{bundled/v3/components/or-stepper → esm/v3/components/or-stepper/partials}/OrStepperOptionVertical.vue.d.ts +0 -0
  2581. /package/dist/{bundled/v3/components/or-stepper → esm/v3/components/or-stepper/partials}/OrStepperTitle.vue.d.ts +0 -0
  2582. /package/dist/{bundled/v3/components/or-stepper → esm/v3/components/or-stepper/partials}/StatusIcon.vue.d.ts +0 -0
  2583. /package/dist/esm/v3/components/or-tooltip/{OrTooltipContent.vue.d.ts → or-tooltip-content/OrTooltipContent.vue.d.ts} +0 -0
  2584. /package/src/components/or-carousel/{OrCarouselItem.vue → or-carousel-item/OrCarouselItem.vue} +0 -0
  2585. /package/src/components/or-chips/{OrChip.stories.ts → or-chip/OrChip.stories.ts} +0 -0
  2586. /package/src/components/or-skeleton-v3/{OrSkeletonCircle.docs.mdx → or-skeleton-circle-v3/OrSkeletonCircle.docs.mdx} +0 -0
  2587. /package/src/components/or-skeleton-v3/{OrSkeletonCircle.stories3.ts → or-skeleton-circle-v3/OrSkeletonCircle.stories3.ts} +0 -0
  2588. /package/src/components/or-skeleton-v3/{OrSkeletonRect.docs.mdx → or-skeleton-rect-v3/OrSkeletonRect.docs.mdx} +0 -0
  2589. /package/src/components/or-skeleton-v3/{OrSkeletonRect.stories3.ts → or-skeleton-rect-v3/OrSkeletonRect.stories3.ts} +0 -0
  2590. /package/src/components/or-skeleton-v3/{OrSkeletonText.docs.mdx → or-skeleton-text-v3/OrSkeletonText.docs.mdx} +0 -0
  2591. /package/src/components/or-skeleton-v3/{OrSkeletonText.stories3.ts → or-skeleton-text-v3/OrSkeletonText.stories3.ts} +0 -0
  2592. /package/src/components/or-stepper/{OrStepperOptionHorizontal.vue → partials/OrStepperOptionHorizontal.vue} +0 -0
  2593. /package/src/components/or-stepper/{OrStepperOptionVertical.vue → partials/OrStepperOptionVertical.vue} +0 -0
  2594. /package/src/components/or-stepper/{OrStepperTitle.vue → partials/OrStepperTitle.vue} +0 -0
  2595. /package/src/components/or-toast/{OrToastContainer.stories.mdx → or-toast-container/OrToastContainer.stories.mdx} +0 -0
  2596. /package/src/components/or-toast-v3/{OrToastContainer.docs.mdx → or-toast-container-v3/OrToastContainer.docs.mdx} +0 -0
  2597. /package/src/components/or-tooltip/{OrTooltipContent.vue → or-tooltip-content/OrTooltipContent.vue} +0 -0
@@ -0,0 +1,3956 @@
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 _ from 'lodash';
5
+ import { defineComponent, ref } from 'vue-demi';
6
+ import script$3 from './components/OrTeleport/OrTeleport.js';
7
+ import { OrCodeLanguages } from './components/OrCode/constants.js';
8
+ import theme from './components/OrCode/theme.js';
9
+ import './components/OrIconButton/OrIconButton.js';
10
+ import './components/OrModal/OrModal.js';
11
+ import { s as script$2 } from './OrModal.vue_vue_type_script_lang-a275bf57.js';
12
+ import './components/OrError/OrError.js';
13
+ import './components/OrHint/OrHint.js';
14
+ import './components/OrLabel/OrLabel.js';
15
+ import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-4a3f6358.js';
16
+ import { s as script$4 } from './OrError.vue_vue_type_script_lang-450321b8.js';
17
+ import { s as script$5 } from './OrHint.vue_vue_type_script_lang-5d628c6c.js';
18
+ import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-95601b40.js';
19
+
20
+ /**
21
+ Comment or uncomment the current selection. Will use line comments
22
+ if available, otherwise falling back to block comments.
23
+ */
24
+ const toggleComment = target => {
25
+ let {
26
+ state
27
+ } = target,
28
+ line = state.doc.lineAt(state.selection.main.head),
29
+ config = getConfig(target.state, line.from);
30
+ return config.line ? toggleLineComment(target) : config.block ? toggleBlockCommentByLine(target) : false;
31
+ };
32
+ function command(f, option) {
33
+ return ({
34
+ state,
35
+ dispatch
36
+ }) => {
37
+ if (state.readOnly) return false;
38
+ let tr = f(option, state);
39
+ if (!tr) return false;
40
+ dispatch(state.update(tr));
41
+ return true;
42
+ };
43
+ }
44
+ /**
45
+ Comment or uncomment the current selection using line comments.
46
+ The line comment syntax is taken from the
47
+ [`commentTokens`](https://codemirror.net/6/docs/ref/#commands.CommentTokens) [language
48
+ data](https://codemirror.net/6/docs/ref/#state.EditorState.languageDataAt).
49
+ */
50
+ const toggleLineComment = /*@__PURE__*/command(changeLineComment, 0 /* CommentOption.Toggle */);
51
+ /**
52
+ Comment or uncomment the current selection using block comments.
53
+ The block comment syntax is taken from the
54
+ [`commentTokens`](https://codemirror.net/6/docs/ref/#commands.CommentTokens) [language
55
+ data](https://codemirror.net/6/docs/ref/#state.EditorState.languageDataAt).
56
+ */
57
+ const toggleBlockComment = /*@__PURE__*/command(changeBlockComment, 0 /* CommentOption.Toggle */);
58
+ /**
59
+ Comment or uncomment the lines around the current selection using
60
+ block comments.
61
+ */
62
+ const toggleBlockCommentByLine = /*@__PURE__*/command((o, s) => changeBlockComment(o, s, selectedLineRanges(s)), 0 /* CommentOption.Toggle */);
63
+ function getConfig(state, pos) {
64
+ let data = state.languageDataAt("commentTokens", pos);
65
+ return data.length ? data[0] : {};
66
+ }
67
+ const SearchMargin = 50;
68
+ /**
69
+ Determines if the given range is block-commented in the given
70
+ state.
71
+ */
72
+ function findBlockComment(state, {
73
+ open,
74
+ close
75
+ }, from, to) {
76
+ let textBefore = state.sliceDoc(from - SearchMargin, from);
77
+ let textAfter = state.sliceDoc(to, to + SearchMargin);
78
+ let spaceBefore = /\s*$/.exec(textBefore)[0].length,
79
+ spaceAfter = /^\s*/.exec(textAfter)[0].length;
80
+ let beforeOff = textBefore.length - spaceBefore;
81
+ if (textBefore.slice(beforeOff - open.length, beforeOff) == open && textAfter.slice(spaceAfter, spaceAfter + close.length) == close) {
82
+ return {
83
+ open: {
84
+ pos: from - spaceBefore,
85
+ margin: spaceBefore && 1
86
+ },
87
+ close: {
88
+ pos: to + spaceAfter,
89
+ margin: spaceAfter && 1
90
+ }
91
+ };
92
+ }
93
+ let startText, endText;
94
+ if (to - from <= 2 * SearchMargin) {
95
+ startText = endText = state.sliceDoc(from, to);
96
+ } else {
97
+ startText = state.sliceDoc(from, from + SearchMargin);
98
+ endText = state.sliceDoc(to - SearchMargin, to);
99
+ }
100
+ let startSpace = /^\s*/.exec(startText)[0].length,
101
+ endSpace = /\s*$/.exec(endText)[0].length;
102
+ let endOff = endText.length - endSpace - close.length;
103
+ if (startText.slice(startSpace, startSpace + open.length) == open && endText.slice(endOff, endOff + close.length) == close) {
104
+ return {
105
+ open: {
106
+ pos: from + startSpace + open.length,
107
+ margin: /\s/.test(startText.charAt(startSpace + open.length)) ? 1 : 0
108
+ },
109
+ close: {
110
+ pos: to - endSpace - close.length,
111
+ margin: /\s/.test(endText.charAt(endOff - 1)) ? 1 : 0
112
+ }
113
+ };
114
+ }
115
+ return null;
116
+ }
117
+ function selectedLineRanges(state) {
118
+ let ranges = [];
119
+ for (let r of state.selection.ranges) {
120
+ let fromLine = state.doc.lineAt(r.from);
121
+ let toLine = r.to <= fromLine.to ? fromLine : state.doc.lineAt(r.to);
122
+ let last = ranges.length - 1;
123
+ if (last >= 0 && ranges[last].to > fromLine.from) ranges[last].to = toLine.to;else ranges.push({
124
+ from: fromLine.from,
125
+ to: toLine.to
126
+ });
127
+ }
128
+ return ranges;
129
+ }
130
+ // Performs toggle, comment and uncomment of block comments in
131
+ // languages that support them.
132
+ function changeBlockComment(option, state, ranges = state.selection.ranges) {
133
+ let tokens = ranges.map(r => getConfig(state, r.from).block);
134
+ if (!tokens.every(c => c)) return null;
135
+ let comments = ranges.map((r, i) => findBlockComment(state, tokens[i], r.from, r.to));
136
+ if (option != 2 /* CommentOption.Uncomment */ && !comments.every(c => c)) {
137
+ return {
138
+ changes: state.changes(ranges.map((range, i) => {
139
+ if (comments[i]) return [];
140
+ return [{
141
+ from: range.from,
142
+ insert: tokens[i].open + " "
143
+ }, {
144
+ from: range.to,
145
+ insert: " " + tokens[i].close
146
+ }];
147
+ }))
148
+ };
149
+ } else if (option != 1 /* CommentOption.Comment */ && comments.some(c => c)) {
150
+ let changes = [];
151
+ for (let i = 0, comment; i < comments.length; i++) if (comment = comments[i]) {
152
+ let token = tokens[i],
153
+ {
154
+ open,
155
+ close
156
+ } = comment;
157
+ changes.push({
158
+ from: open.pos - token.open.length,
159
+ to: open.pos + open.margin
160
+ }, {
161
+ from: close.pos - close.margin,
162
+ to: close.pos + token.close.length
163
+ });
164
+ }
165
+ return {
166
+ changes
167
+ };
168
+ }
169
+ return null;
170
+ }
171
+ // Performs toggle, comment and uncomment of line comments.
172
+ function changeLineComment(option, state, ranges = state.selection.ranges) {
173
+ let lines = [];
174
+ let prevLine = -1;
175
+ for (let {
176
+ from,
177
+ to
178
+ } of ranges) {
179
+ let startI = lines.length,
180
+ minIndent = 1e9;
181
+ for (let pos = from; pos <= to;) {
182
+ let line = state.doc.lineAt(pos);
183
+ if (line.from > prevLine && (from == to || to > line.from)) {
184
+ prevLine = line.from;
185
+ let token = getConfig(state, line.from).line;
186
+ if (!token) continue;
187
+ let indent = /^\s*/.exec(line.text)[0].length;
188
+ let empty = indent == line.length;
189
+ let comment = line.text.slice(indent, indent + token.length) == token ? indent : -1;
190
+ if (indent < line.text.length && indent < minIndent) minIndent = indent;
191
+ lines.push({
192
+ line,
193
+ comment,
194
+ token,
195
+ indent,
196
+ empty,
197
+ single: false
198
+ });
199
+ }
200
+ pos = line.to + 1;
201
+ }
202
+ if (minIndent < 1e9) for (let i = startI; i < lines.length; i++) if (lines[i].indent < lines[i].line.text.length) lines[i].indent = minIndent;
203
+ if (lines.length == startI + 1) lines[startI].single = true;
204
+ }
205
+ if (option != 2 /* CommentOption.Uncomment */ && lines.some(l => l.comment < 0 && (!l.empty || l.single))) {
206
+ let changes = [];
207
+ for (let {
208
+ line,
209
+ token,
210
+ indent,
211
+ empty,
212
+ single
213
+ } of lines) if (single || !empty) changes.push({
214
+ from: line.from + indent,
215
+ insert: token + " "
216
+ });
217
+ let changeSet = state.changes(changes);
218
+ return {
219
+ changes: changeSet,
220
+ selection: state.selection.map(changeSet, 1)
221
+ };
222
+ } else if (option != 1 /* CommentOption.Comment */ && lines.some(l => l.comment >= 0)) {
223
+ let changes = [];
224
+ for (let {
225
+ line,
226
+ comment,
227
+ token
228
+ } of lines) if (comment >= 0) {
229
+ let from = line.from + comment,
230
+ to = from + token.length;
231
+ if (line.text[to - line.from] == " ") to++;
232
+ changes.push({
233
+ from,
234
+ to
235
+ });
236
+ }
237
+ return {
238
+ changes
239
+ };
240
+ }
241
+ return null;
242
+ }
243
+ const fromHistory = /*@__PURE__*/Annotation.define();
244
+ /**
245
+ Transaction annotation that will prevent that transaction from
246
+ being combined with other transactions in the undo history. Given
247
+ `"before"`, it'll prevent merging with previous transactions. With
248
+ `"after"`, subsequent transactions won't be combined with this
249
+ one. With `"full"`, the transaction is isolated on both sides.
250
+ */
251
+ const isolateHistory = /*@__PURE__*/Annotation.define();
252
+ /**
253
+ This facet provides a way to register functions that, given a
254
+ transaction, provide a set of effects that the history should
255
+ store when inverting the transaction. This can be used to
256
+ integrate some kinds of effects in the history, so that they can
257
+ be undone (and redone again).
258
+ */
259
+ const invertedEffects = /*@__PURE__*/Facet.define();
260
+ const historyConfig = /*@__PURE__*/Facet.define({
261
+ combine(configs) {
262
+ return combineConfig(configs, {
263
+ minDepth: 100,
264
+ newGroupDelay: 500,
265
+ joinToEvent: (_t, isAdjacent) => isAdjacent
266
+ }, {
267
+ minDepth: Math.max,
268
+ newGroupDelay: Math.min,
269
+ joinToEvent: (a, b) => (tr, adj) => a(tr, adj) || b(tr, adj)
270
+ });
271
+ }
272
+ });
273
+ function changeEnd(changes) {
274
+ let end = 0;
275
+ changes.iterChangedRanges((_, to) => end = to);
276
+ return end;
277
+ }
278
+ const historyField_ = /*@__PURE__*/StateField.define({
279
+ create() {
280
+ return HistoryState.empty;
281
+ },
282
+ update(state, tr) {
283
+ let config = tr.state.facet(historyConfig);
284
+ let fromHist = tr.annotation(fromHistory);
285
+ if (fromHist) {
286
+ let selection = tr.docChanged ? EditorSelection.single(changeEnd(tr.changes)) : undefined;
287
+ let item = HistEvent.fromTransaction(tr, selection),
288
+ from = fromHist.side;
289
+ let other = from == 0 /* BranchName.Done */ ? state.undone : state.done;
290
+ if (item) other = updateBranch(other, other.length, config.minDepth, item);else other = addSelection(other, tr.startState.selection);
291
+ return new HistoryState(from == 0 /* BranchName.Done */ ? fromHist.rest : other, from == 0 /* BranchName.Done */ ? other : fromHist.rest);
292
+ }
293
+ let isolate = tr.annotation(isolateHistory);
294
+ if (isolate == "full" || isolate == "before") state = state.isolate();
295
+ if (tr.annotation(Transaction.addToHistory) === false) return !tr.changes.empty ? state.addMapping(tr.changes.desc) : state;
296
+ let event = HistEvent.fromTransaction(tr);
297
+ let time = tr.annotation(Transaction.time),
298
+ userEvent = tr.annotation(Transaction.userEvent);
299
+ if (event) state = state.addChanges(event, time, userEvent, config, tr);else if (tr.selection) state = state.addSelection(tr.startState.selection, time, userEvent, config.newGroupDelay);
300
+ if (isolate == "full" || isolate == "after") state = state.isolate();
301
+ return state;
302
+ },
303
+ toJSON(value) {
304
+ return {
305
+ done: value.done.map(e => e.toJSON()),
306
+ undone: value.undone.map(e => e.toJSON())
307
+ };
308
+ },
309
+ fromJSON(json) {
310
+ return new HistoryState(json.done.map(HistEvent.fromJSON), json.undone.map(HistEvent.fromJSON));
311
+ }
312
+ });
313
+ /**
314
+ Create a history extension with the given configuration.
315
+ */
316
+ function history(config = {}) {
317
+ return [historyField_, historyConfig.of(config), EditorView.domEventHandlers({
318
+ beforeinput(e, view) {
319
+ let command = e.inputType == "historyUndo" ? undo : e.inputType == "historyRedo" ? redo : null;
320
+ if (!command) return false;
321
+ e.preventDefault();
322
+ return command(view);
323
+ }
324
+ })];
325
+ }
326
+ function cmd(side, selection) {
327
+ return function ({
328
+ state,
329
+ dispatch
330
+ }) {
331
+ if (!selection && state.readOnly) return false;
332
+ let historyState = state.field(historyField_, false);
333
+ if (!historyState) return false;
334
+ let tr = historyState.pop(side, state, selection);
335
+ if (!tr) return false;
336
+ dispatch(tr);
337
+ return true;
338
+ };
339
+ }
340
+ /**
341
+ Undo a single group of history events. Returns false if no group
342
+ was available.
343
+ */
344
+ const undo = /*@__PURE__*/cmd(0 /* BranchName.Done */, false);
345
+ /**
346
+ Redo a group of history events. Returns false if no group was
347
+ available.
348
+ */
349
+ const redo = /*@__PURE__*/cmd(1 /* BranchName.Undone */, false);
350
+ /**
351
+ Undo a change or selection change.
352
+ */
353
+ const undoSelection = /*@__PURE__*/cmd(0 /* BranchName.Done */, true);
354
+ /**
355
+ Redo a change or selection change.
356
+ */
357
+ const redoSelection = /*@__PURE__*/cmd(1 /* BranchName.Undone */, true);
358
+ // History events store groups of changes or effects that need to be
359
+ // undone/redone together.
360
+ class HistEvent {
361
+ constructor(
362
+ // The changes in this event. Normal events hold at least one
363
+ // change or effect. But it may be necessary to store selection
364
+ // events before the first change, in which case a special type of
365
+ // instance is created which doesn't hold any changes, with
366
+ // changes == startSelection == undefined
367
+ changes,
368
+ // The effects associated with this event
369
+ effects,
370
+ // Accumulated mapping (from addToHistory==false) that should be
371
+ // applied to events below this one.
372
+ mapped,
373
+ // The selection before this event
374
+ startSelection,
375
+ // Stores selection changes after this event, to be used for
376
+ // selection undo/redo.
377
+ selectionsAfter) {
378
+ this.changes = changes;
379
+ this.effects = effects;
380
+ this.mapped = mapped;
381
+ this.startSelection = startSelection;
382
+ this.selectionsAfter = selectionsAfter;
383
+ }
384
+ setSelAfter(after) {
385
+ return new HistEvent(this.changes, this.effects, this.mapped, this.startSelection, after);
386
+ }
387
+ toJSON() {
388
+ var _a, _b, _c;
389
+ return {
390
+ changes: (_a = this.changes) === null || _a === void 0 ? void 0 : _a.toJSON(),
391
+ mapped: (_b = this.mapped) === null || _b === void 0 ? void 0 : _b.toJSON(),
392
+ startSelection: (_c = this.startSelection) === null || _c === void 0 ? void 0 : _c.toJSON(),
393
+ selectionsAfter: this.selectionsAfter.map(s => s.toJSON())
394
+ };
395
+ }
396
+ static fromJSON(json) {
397
+ 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));
398
+ }
399
+ // This does not check `addToHistory` and such, it assumes the
400
+ // transaction needs to be converted to an item. Returns null when
401
+ // there are no changes or effects in the transaction.
402
+ static fromTransaction(tr, selection) {
403
+ let effects = none;
404
+ for (let invert of tr.startState.facet(invertedEffects)) {
405
+ let result = invert(tr);
406
+ if (result.length) effects = effects.concat(result);
407
+ }
408
+ if (!effects.length && tr.changes.empty) return null;
409
+ return new HistEvent(tr.changes.invert(tr.startState.doc), effects, undefined, selection || tr.startState.selection, none);
410
+ }
411
+ static selection(selections) {
412
+ return new HistEvent(undefined, none, undefined, undefined, selections);
413
+ }
414
+ }
415
+ function updateBranch(branch, to, maxLen, newEvent) {
416
+ let start = to + 1 > maxLen + 20 ? to - maxLen - 1 : 0;
417
+ let newBranch = branch.slice(start, to);
418
+ newBranch.push(newEvent);
419
+ return newBranch;
420
+ }
421
+ function isAdjacent(a, b) {
422
+ let ranges = [],
423
+ isAdjacent = false;
424
+ a.iterChangedRanges((f, t) => ranges.push(f, t));
425
+ b.iterChangedRanges((_f, _t, f, t) => {
426
+ for (let i = 0; i < ranges.length;) {
427
+ let from = ranges[i++],
428
+ to = ranges[i++];
429
+ if (t >= from && f <= to) isAdjacent = true;
430
+ }
431
+ });
432
+ return isAdjacent;
433
+ }
434
+ function eqSelectionShape(a, b) {
435
+ return a.ranges.length == b.ranges.length && a.ranges.filter((r, i) => r.empty != b.ranges[i].empty).length === 0;
436
+ }
437
+ function conc(a, b) {
438
+ return !a.length ? b : !b.length ? a : a.concat(b);
439
+ }
440
+ const none = [];
441
+ const MaxSelectionsPerEvent = 200;
442
+ function addSelection(branch, selection) {
443
+ if (!branch.length) {
444
+ return [HistEvent.selection([selection])];
445
+ } else {
446
+ let lastEvent = branch[branch.length - 1];
447
+ let sels = lastEvent.selectionsAfter.slice(Math.max(0, lastEvent.selectionsAfter.length - MaxSelectionsPerEvent));
448
+ if (sels.length && sels[sels.length - 1].eq(selection)) return branch;
449
+ sels.push(selection);
450
+ return updateBranch(branch, branch.length - 1, 1e9, lastEvent.setSelAfter(sels));
451
+ }
452
+ }
453
+ // Assumes the top item has one or more selectionAfter values
454
+ function popSelection(branch) {
455
+ let last = branch[branch.length - 1];
456
+ let newBranch = branch.slice();
457
+ newBranch[branch.length - 1] = last.setSelAfter(last.selectionsAfter.slice(0, last.selectionsAfter.length - 1));
458
+ return newBranch;
459
+ }
460
+ // Add a mapping to the top event in the given branch. If this maps
461
+ // away all the changes and effects in that item, drop it and
462
+ // propagate the mapping to the next item.
463
+ function addMappingToBranch(branch, mapping) {
464
+ if (!branch.length) return branch;
465
+ let length = branch.length,
466
+ selections = none;
467
+ while (length) {
468
+ let event = mapEvent(branch[length - 1], mapping, selections);
469
+ if (event.changes && !event.changes.empty || event.effects.length) {
470
+ // Event survived mapping
471
+ let result = branch.slice(0, length);
472
+ result[length - 1] = event;
473
+ return result;
474
+ } else {
475
+ // Drop this event, since there's no changes or effects left
476
+ mapping = event.mapped;
477
+ length--;
478
+ selections = event.selectionsAfter;
479
+ }
480
+ }
481
+ return selections.length ? [HistEvent.selection(selections)] : none;
482
+ }
483
+ function mapEvent(event, mapping, extraSelections) {
484
+ let selections = conc(event.selectionsAfter.length ? event.selectionsAfter.map(s => s.map(mapping)) : none, extraSelections);
485
+ // Change-less events don't store mappings (they are always the last event in a branch)
486
+ if (!event.changes) return HistEvent.selection(selections);
487
+ let mappedChanges = event.changes.map(mapping),
488
+ before = mapping.mapDesc(event.changes, true);
489
+ let fullMapping = event.mapped ? event.mapped.composeDesc(before) : before;
490
+ return new HistEvent(mappedChanges, StateEffect.mapEffects(event.effects, mapping), fullMapping, event.startSelection.map(before), selections);
491
+ }
492
+ const joinableUserEvent = /^(input\.type|delete)($|\.)/;
493
+ class HistoryState {
494
+ constructor(done, undone, prevTime = 0, prevUserEvent = undefined) {
495
+ this.done = done;
496
+ this.undone = undone;
497
+ this.prevTime = prevTime;
498
+ this.prevUserEvent = prevUserEvent;
499
+ }
500
+ isolate() {
501
+ return this.prevTime ? new HistoryState(this.done, this.undone) : this;
502
+ }
503
+ addChanges(event, time, userEvent, config, tr) {
504
+ let done = this.done,
505
+ lastEvent = done[done.length - 1];
506
+ 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)) ||
507
+ // For compose (but not compose.start) events, always join with previous event
508
+ userEvent == "input.type.compose")) {
509
+ 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));
510
+ } else {
511
+ done = updateBranch(done, done.length, config.minDepth, event);
512
+ }
513
+ return new HistoryState(done, none, time, userEvent);
514
+ }
515
+ addSelection(selection, time, userEvent, newGroupDelay) {
516
+ let last = this.done.length ? this.done[this.done.length - 1].selectionsAfter : none;
517
+ if (last.length > 0 && time - this.prevTime < newGroupDelay && userEvent == this.prevUserEvent && userEvent && /^select($|\.)/.test(userEvent) && eqSelectionShape(last[last.length - 1], selection)) return this;
518
+ return new HistoryState(addSelection(this.done, selection), this.undone, time, userEvent);
519
+ }
520
+ addMapping(mapping) {
521
+ return new HistoryState(addMappingToBranch(this.done, mapping), addMappingToBranch(this.undone, mapping), this.prevTime, this.prevUserEvent);
522
+ }
523
+ pop(side, state, selection) {
524
+ let branch = side == 0 /* BranchName.Done */ ? this.done : this.undone;
525
+ if (branch.length == 0) return null;
526
+ let event = branch[branch.length - 1];
527
+ if (selection && event.selectionsAfter.length) {
528
+ return state.update({
529
+ selection: event.selectionsAfter[event.selectionsAfter.length - 1],
530
+ annotations: fromHistory.of({
531
+ side,
532
+ rest: popSelection(branch)
533
+ }),
534
+ userEvent: side == 0 /* BranchName.Done */ ? "select.undo" : "select.redo",
535
+ scrollIntoView: true
536
+ });
537
+ } else if (!event.changes) {
538
+ return null;
539
+ } else {
540
+ let rest = branch.length == 1 ? none : branch.slice(0, branch.length - 1);
541
+ if (event.mapped) rest = addMappingToBranch(rest, event.mapped);
542
+ return state.update({
543
+ changes: event.changes,
544
+ selection: event.startSelection,
545
+ effects: event.effects,
546
+ annotations: fromHistory.of({
547
+ side,
548
+ rest
549
+ }),
550
+ filter: false,
551
+ userEvent: side == 0 /* BranchName.Done */ ? "undo" : "redo",
552
+ scrollIntoView: true
553
+ });
554
+ }
555
+ }
556
+ }
557
+ HistoryState.empty = /*@__PURE__*/new HistoryState(none, none);
558
+ /**
559
+ Default key bindings for the undo history.
560
+
561
+ - Mod-z: [`undo`](https://codemirror.net/6/docs/ref/#commands.undo).
562
+ - Mod-y (Mod-Shift-z on macOS) + Ctrl-Shift-z on Linux: [`redo`](https://codemirror.net/6/docs/ref/#commands.redo).
563
+ - Mod-u: [`undoSelection`](https://codemirror.net/6/docs/ref/#commands.undoSelection).
564
+ - Alt-u (Mod-Shift-u on macOS): [`redoSelection`](https://codemirror.net/6/docs/ref/#commands.redoSelection).
565
+ */
566
+ const historyKeymap = [{
567
+ key: "Mod-z",
568
+ run: undo,
569
+ preventDefault: true
570
+ }, {
571
+ key: "Mod-y",
572
+ mac: "Mod-Shift-z",
573
+ run: redo,
574
+ preventDefault: true
575
+ }, {
576
+ linux: "Ctrl-Shift-z",
577
+ run: redo,
578
+ preventDefault: true
579
+ }, {
580
+ key: "Mod-u",
581
+ run: undoSelection,
582
+ preventDefault: true
583
+ }, {
584
+ key: "Alt-u",
585
+ mac: "Mod-Shift-u",
586
+ run: redoSelection,
587
+ preventDefault: true
588
+ }];
589
+ function updateSel(sel, by) {
590
+ return EditorSelection.create(sel.ranges.map(by), sel.mainIndex);
591
+ }
592
+ function setSel(state, selection) {
593
+ return state.update({
594
+ selection,
595
+ scrollIntoView: true,
596
+ userEvent: "select"
597
+ });
598
+ }
599
+ function moveSel({
600
+ state,
601
+ dispatch
602
+ }, how) {
603
+ let selection = updateSel(state.selection, how);
604
+ if (selection.eq(state.selection)) return false;
605
+ dispatch(setSel(state, selection));
606
+ return true;
607
+ }
608
+ function rangeEnd(range, forward) {
609
+ return EditorSelection.cursor(forward ? range.to : range.from);
610
+ }
611
+ function cursorByChar(view, forward) {
612
+ return moveSel(view, range => range.empty ? view.moveByChar(range, forward) : rangeEnd(range, forward));
613
+ }
614
+ function ltrAtCursor(view) {
615
+ return view.textDirectionAt(view.state.selection.main.head) == Direction.LTR;
616
+ }
617
+ /**
618
+ Move the selection one character to the left (which is backward in
619
+ left-to-right text, forward in right-to-left text).
620
+ */
621
+ const cursorCharLeft = view => cursorByChar(view, !ltrAtCursor(view));
622
+ /**
623
+ Move the selection one character to the right.
624
+ */
625
+ const cursorCharRight = view => cursorByChar(view, ltrAtCursor(view));
626
+ function cursorByGroup(view, forward) {
627
+ return moveSel(view, range => range.empty ? view.moveByGroup(range, forward) : rangeEnd(range, forward));
628
+ }
629
+ /**
630
+ Move the selection to the left across one group of word or
631
+ non-word (but also non-space) characters.
632
+ */
633
+ const cursorGroupLeft = view => cursorByGroup(view, !ltrAtCursor(view));
634
+ /**
635
+ Move the selection one group to the right.
636
+ */
637
+ const cursorGroupRight = view => cursorByGroup(view, ltrAtCursor(view));
638
+ function interestingNode(state, node, bracketProp) {
639
+ if (node.type.prop(bracketProp)) return true;
640
+ let len = node.to - node.from;
641
+ return len && (len > 2 || /[^\s,.;:]/.test(state.sliceDoc(node.from, node.to))) || node.firstChild;
642
+ }
643
+ function moveBySyntax(state, start, forward) {
644
+ let pos = syntaxTree(state).resolveInner(start.head);
645
+ let bracketProp = forward ? NodeProp.closedBy : NodeProp.openedBy;
646
+ // Scan forward through child nodes to see if there's an interesting
647
+ // node ahead.
648
+ for (let at = start.head;;) {
649
+ let next = forward ? pos.childAfter(at) : pos.childBefore(at);
650
+ if (!next) break;
651
+ if (interestingNode(state, next, bracketProp)) pos = next;else at = forward ? next.to : next.from;
652
+ }
653
+ let bracket = pos.type.prop(bracketProp),
654
+ match,
655
+ newPos;
656
+ 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;
657
+ return EditorSelection.cursor(newPos, forward ? -1 : 1);
658
+ }
659
+ /**
660
+ Move the cursor over the next syntactic element to the left.
661
+ */
662
+ const cursorSyntaxLeft = view => moveSel(view, range => moveBySyntax(view.state, range, !ltrAtCursor(view)));
663
+ /**
664
+ Move the cursor over the next syntactic element to the right.
665
+ */
666
+ const cursorSyntaxRight = view => moveSel(view, range => moveBySyntax(view.state, range, ltrAtCursor(view)));
667
+ function cursorByLine(view, forward) {
668
+ return moveSel(view, range => {
669
+ if (!range.empty) return rangeEnd(range, forward);
670
+ let moved = view.moveVertically(range, forward);
671
+ return moved.head != range.head ? moved : view.moveToLineBoundary(range, forward);
672
+ });
673
+ }
674
+ /**
675
+ Move the selection one line up.
676
+ */
677
+ const cursorLineUp = view => cursorByLine(view, false);
678
+ /**
679
+ Move the selection one line down.
680
+ */
681
+ const cursorLineDown = view => cursorByLine(view, true);
682
+ function pageInfo(view) {
683
+ let selfScroll = view.scrollDOM.clientHeight < view.scrollDOM.scrollHeight - 2;
684
+ let marginTop = 0,
685
+ marginBottom = 0,
686
+ height;
687
+ if (selfScroll) {
688
+ for (let source of view.state.facet(EditorView.scrollMargins)) {
689
+ let margins = source(view);
690
+ if (margins === null || margins === void 0 ? void 0 : margins.top) marginTop = Math.max(margins === null || margins === void 0 ? void 0 : margins.top, marginTop);
691
+ if (margins === null || margins === void 0 ? void 0 : margins.bottom) marginBottom = Math.max(margins === null || margins === void 0 ? void 0 : margins.bottom, marginBottom);
692
+ }
693
+ height = view.scrollDOM.clientHeight - marginTop - marginBottom;
694
+ } else {
695
+ height = (view.dom.ownerDocument.defaultView || window).innerHeight;
696
+ }
697
+ return {
698
+ marginTop,
699
+ marginBottom,
700
+ selfScroll,
701
+ height: Math.max(view.defaultLineHeight, height - 5)
702
+ };
703
+ }
704
+ function cursorByPage(view, forward) {
705
+ let page = pageInfo(view);
706
+ let {
707
+ state
708
+ } = view,
709
+ selection = updateSel(state.selection, range => {
710
+ return range.empty ? view.moveVertically(range, forward, page.height) : rangeEnd(range, forward);
711
+ });
712
+ if (selection.eq(state.selection)) return false;
713
+ let effect;
714
+ if (page.selfScroll) {
715
+ let startPos = view.coordsAtPos(state.selection.main.head);
716
+ let scrollRect = view.scrollDOM.getBoundingClientRect();
717
+ let scrollTop = scrollRect.top + page.marginTop,
718
+ scrollBottom = scrollRect.bottom - page.marginBottom;
719
+ if (startPos && startPos.top > scrollTop && startPos.bottom < scrollBottom) effect = EditorView.scrollIntoView(selection.main.head, {
720
+ y: "start",
721
+ yMargin: startPos.top - scrollTop
722
+ });
723
+ }
724
+ view.dispatch(setSel(state, selection), {
725
+ effects: effect
726
+ });
727
+ return true;
728
+ }
729
+ /**
730
+ Move the selection one page up.
731
+ */
732
+ const cursorPageUp = view => cursorByPage(view, false);
733
+ /**
734
+ Move the selection one page down.
735
+ */
736
+ const cursorPageDown = view => cursorByPage(view, true);
737
+ function moveByLineBoundary(view, start, forward) {
738
+ let line = view.lineBlockAt(start.head),
739
+ moved = view.moveToLineBoundary(start, forward);
740
+ if (moved.head == start.head && moved.head != (forward ? line.to : line.from)) moved = view.moveToLineBoundary(start, forward, false);
741
+ if (!forward && moved.head == line.from && line.length) {
742
+ let space = /^\s*/.exec(view.state.sliceDoc(line.from, Math.min(line.from + 100, line.to)))[0].length;
743
+ if (space && start.head != line.from + space) moved = EditorSelection.cursor(line.from + space);
744
+ }
745
+ return moved;
746
+ }
747
+ /**
748
+ Move the selection to the next line wrap point, or to the end of
749
+ the line if there isn't one left on this line.
750
+ */
751
+ const cursorLineBoundaryForward = view => moveSel(view, range => moveByLineBoundary(view, range, true));
752
+ /**
753
+ Move the selection to previous line wrap point, or failing that to
754
+ the start of the line. If the line is indented, and the cursor
755
+ isn't already at the end of the indentation, this will move to the
756
+ end of the indentation instead of the start of the line.
757
+ */
758
+ const cursorLineBoundaryBackward = view => moveSel(view, range => moveByLineBoundary(view, range, false));
759
+ /**
760
+ Move the selection one line wrap point to the left.
761
+ */
762
+ const cursorLineBoundaryLeft = view => moveSel(view, range => moveByLineBoundary(view, range, !ltrAtCursor(view)));
763
+ /**
764
+ Move the selection one line wrap point to the right.
765
+ */
766
+ const cursorLineBoundaryRight = view => moveSel(view, range => moveByLineBoundary(view, range, ltrAtCursor(view)));
767
+ /**
768
+ Move the selection to the start of the line.
769
+ */
770
+ const cursorLineStart = view => moveSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).from, 1));
771
+ /**
772
+ Move the selection to the end of the line.
773
+ */
774
+ const cursorLineEnd = view => moveSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).to, -1));
775
+ function toMatchingBracket(state, dispatch, extend) {
776
+ let found = false,
777
+ selection = updateSel(state.selection, range => {
778
+ 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);
779
+ if (!matching || !matching.end) return range;
780
+ found = true;
781
+ let head = matching.start.from == range.head ? matching.end.to : matching.end.from;
782
+ return extend ? EditorSelection.range(range.anchor, head) : EditorSelection.cursor(head);
783
+ });
784
+ if (!found) return false;
785
+ dispatch(setSel(state, selection));
786
+ return true;
787
+ }
788
+ /**
789
+ Move the selection to the bracket matching the one it is currently
790
+ on, if any.
791
+ */
792
+ const cursorMatchingBracket = ({
793
+ state,
794
+ dispatch
795
+ }) => toMatchingBracket(state, dispatch, false);
796
+ function extendSel(view, how) {
797
+ let selection = updateSel(view.state.selection, range => {
798
+ let head = how(range);
799
+ return EditorSelection.range(range.anchor, head.head, head.goalColumn, head.bidiLevel || undefined);
800
+ });
801
+ if (selection.eq(view.state.selection)) return false;
802
+ view.dispatch(setSel(view.state, selection));
803
+ return true;
804
+ }
805
+ function selectByChar(view, forward) {
806
+ return extendSel(view, range => view.moveByChar(range, forward));
807
+ }
808
+ /**
809
+ Move the selection head one character to the left, while leaving
810
+ the anchor in place.
811
+ */
812
+ const selectCharLeft = view => selectByChar(view, !ltrAtCursor(view));
813
+ /**
814
+ Move the selection head one character to the right.
815
+ */
816
+ const selectCharRight = view => selectByChar(view, ltrAtCursor(view));
817
+ function selectByGroup(view, forward) {
818
+ return extendSel(view, range => view.moveByGroup(range, forward));
819
+ }
820
+ /**
821
+ Move the selection head one [group](https://codemirror.net/6/docs/ref/#commands.cursorGroupLeft) to
822
+ the left.
823
+ */
824
+ const selectGroupLeft = view => selectByGroup(view, !ltrAtCursor(view));
825
+ /**
826
+ Move the selection head one group to the right.
827
+ */
828
+ const selectGroupRight = view => selectByGroup(view, ltrAtCursor(view));
829
+ /**
830
+ Move the selection head over the next syntactic element to the left.
831
+ */
832
+ const selectSyntaxLeft = view => extendSel(view, range => moveBySyntax(view.state, range, !ltrAtCursor(view)));
833
+ /**
834
+ Move the selection head over the next syntactic element to the right.
835
+ */
836
+ const selectSyntaxRight = view => extendSel(view, range => moveBySyntax(view.state, range, ltrAtCursor(view)));
837
+ function selectByLine(view, forward) {
838
+ return extendSel(view, range => view.moveVertically(range, forward));
839
+ }
840
+ /**
841
+ Move the selection head one line up.
842
+ */
843
+ const selectLineUp = view => selectByLine(view, false);
844
+ /**
845
+ Move the selection head one line down.
846
+ */
847
+ const selectLineDown = view => selectByLine(view, true);
848
+ function selectByPage(view, forward) {
849
+ return extendSel(view, range => view.moveVertically(range, forward, pageInfo(view).height));
850
+ }
851
+ /**
852
+ Move the selection head one page up.
853
+ */
854
+ const selectPageUp = view => selectByPage(view, false);
855
+ /**
856
+ Move the selection head one page down.
857
+ */
858
+ const selectPageDown = view => selectByPage(view, true);
859
+ /**
860
+ Move the selection head to the next line boundary.
861
+ */
862
+ const selectLineBoundaryForward = view => extendSel(view, range => moveByLineBoundary(view, range, true));
863
+ /**
864
+ Move the selection head to the previous line boundary.
865
+ */
866
+ const selectLineBoundaryBackward = view => extendSel(view, range => moveByLineBoundary(view, range, false));
867
+ /**
868
+ Move the selection head one line boundary to the left.
869
+ */
870
+ const selectLineBoundaryLeft = view => extendSel(view, range => moveByLineBoundary(view, range, !ltrAtCursor(view)));
871
+ /**
872
+ Move the selection head one line boundary to the right.
873
+ */
874
+ const selectLineBoundaryRight = view => extendSel(view, range => moveByLineBoundary(view, range, ltrAtCursor(view)));
875
+ /**
876
+ Move the selection head to the start of the line.
877
+ */
878
+ const selectLineStart = view => extendSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).from));
879
+ /**
880
+ Move the selection head to the end of the line.
881
+ */
882
+ const selectLineEnd = view => extendSel(view, range => EditorSelection.cursor(view.lineBlockAt(range.head).to));
883
+ /**
884
+ Move the selection to the start of the document.
885
+ */
886
+ const cursorDocStart = ({
887
+ state,
888
+ dispatch
889
+ }) => {
890
+ dispatch(setSel(state, {
891
+ anchor: 0
892
+ }));
893
+ return true;
894
+ };
895
+ /**
896
+ Move the selection to the end of the document.
897
+ */
898
+ const cursorDocEnd = ({
899
+ state,
900
+ dispatch
901
+ }) => {
902
+ dispatch(setSel(state, {
903
+ anchor: state.doc.length
904
+ }));
905
+ return true;
906
+ };
907
+ /**
908
+ Move the selection head to the start of the document.
909
+ */
910
+ const selectDocStart = ({
911
+ state,
912
+ dispatch
913
+ }) => {
914
+ dispatch(setSel(state, {
915
+ anchor: state.selection.main.anchor,
916
+ head: 0
917
+ }));
918
+ return true;
919
+ };
920
+ /**
921
+ Move the selection head to the end of the document.
922
+ */
923
+ const selectDocEnd = ({
924
+ state,
925
+ dispatch
926
+ }) => {
927
+ dispatch(setSel(state, {
928
+ anchor: state.selection.main.anchor,
929
+ head: state.doc.length
930
+ }));
931
+ return true;
932
+ };
933
+ /**
934
+ Select the entire document.
935
+ */
936
+ const selectAll = ({
937
+ state,
938
+ dispatch
939
+ }) => {
940
+ dispatch(state.update({
941
+ selection: {
942
+ anchor: 0,
943
+ head: state.doc.length
944
+ },
945
+ userEvent: "select"
946
+ }));
947
+ return true;
948
+ };
949
+ /**
950
+ Expand the selection to cover entire lines.
951
+ */
952
+ const selectLine = ({
953
+ state,
954
+ dispatch
955
+ }) => {
956
+ let ranges = selectedLineBlocks(state).map(({
957
+ from,
958
+ to
959
+ }) => EditorSelection.range(from, Math.min(to + 1, state.doc.length)));
960
+ dispatch(state.update({
961
+ selection: EditorSelection.create(ranges),
962
+ userEvent: "select"
963
+ }));
964
+ return true;
965
+ };
966
+ /**
967
+ Select the next syntactic construct that is larger than the
968
+ selection. Note that this will only work insofar as the language
969
+ [provider](https://codemirror.net/6/docs/ref/#language.language) you use builds up a full
970
+ syntax tree.
971
+ */
972
+ const selectParentSyntax = ({
973
+ state,
974
+ dispatch
975
+ }) => {
976
+ let selection = updateSel(state.selection, range => {
977
+ var _a;
978
+ let context = syntaxTree(state).resolveInner(range.head, 1);
979
+ 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;
980
+ return EditorSelection.range(context.to, context.from);
981
+ });
982
+ dispatch(setSel(state, selection));
983
+ return true;
984
+ };
985
+ /**
986
+ Simplify the current selection. When multiple ranges are selected,
987
+ reduce it to its main range. Otherwise, if the selection is
988
+ non-empty, convert it to a cursor selection.
989
+ */
990
+ const simplifySelection = ({
991
+ state,
992
+ dispatch
993
+ }) => {
994
+ let cur = state.selection,
995
+ selection = null;
996
+ if (cur.ranges.length > 1) selection = EditorSelection.create([cur.main]);else if (!cur.main.empty) selection = EditorSelection.create([EditorSelection.cursor(cur.main.head)]);
997
+ if (!selection) return false;
998
+ dispatch(setSel(state, selection));
999
+ return true;
1000
+ };
1001
+ function deleteBy(target, by) {
1002
+ if (target.state.readOnly) return false;
1003
+ let event = "delete.selection",
1004
+ {
1005
+ state
1006
+ } = target;
1007
+ let changes = state.changeByRange(range => {
1008
+ let {
1009
+ from,
1010
+ to
1011
+ } = range;
1012
+ if (from == to) {
1013
+ let towards = by(from);
1014
+ if (towards < from) {
1015
+ event = "delete.backward";
1016
+ towards = skipAtomic(target, towards, false);
1017
+ } else if (towards > from) {
1018
+ event = "delete.forward";
1019
+ towards = skipAtomic(target, towards, true);
1020
+ }
1021
+ from = Math.min(from, towards);
1022
+ to = Math.max(to, towards);
1023
+ } else {
1024
+ from = skipAtomic(target, from, false);
1025
+ to = skipAtomic(target, to, true);
1026
+ }
1027
+ return from == to ? {
1028
+ range
1029
+ } : {
1030
+ changes: {
1031
+ from,
1032
+ to
1033
+ },
1034
+ range: EditorSelection.cursor(from)
1035
+ };
1036
+ });
1037
+ if (changes.changes.empty) return false;
1038
+ target.dispatch(state.update(changes, {
1039
+ scrollIntoView: true,
1040
+ userEvent: event,
1041
+ effects: event == "delete.selection" ? EditorView.announce.of(state.phrase("Selection deleted")) : undefined
1042
+ }));
1043
+ return true;
1044
+ }
1045
+ function skipAtomic(target, pos, forward) {
1046
+ if (target instanceof EditorView) for (let ranges of target.state.facet(EditorView.atomicRanges).map(f => f(target))) ranges.between(pos, pos, (from, to) => {
1047
+ if (from < pos && to > pos) pos = forward ? to : from;
1048
+ });
1049
+ return pos;
1050
+ }
1051
+ const deleteByChar = (target, forward) => deleteBy(target, pos => {
1052
+ let {
1053
+ state
1054
+ } = target,
1055
+ line = state.doc.lineAt(pos),
1056
+ before,
1057
+ targetPos;
1058
+ if (!forward && pos > line.from && pos < line.from + 200 && !/[^ \t]/.test(before = line.text.slice(0, pos - line.from))) {
1059
+ if (before[before.length - 1] == "\t") return pos - 1;
1060
+ let col = countColumn(before, state.tabSize),
1061
+ drop = col % getIndentUnit(state) || getIndentUnit(state);
1062
+ for (let i = 0; i < drop && before[before.length - 1 - i] == " "; i++) pos--;
1063
+ targetPos = pos;
1064
+ } else {
1065
+ targetPos = findClusterBreak(line.text, pos - line.from, forward, forward) + line.from;
1066
+ if (targetPos == pos && line.number != (forward ? state.doc.lines : 1)) targetPos += forward ? 1 : -1;
1067
+ }
1068
+ return targetPos;
1069
+ });
1070
+ /**
1071
+ Delete the selection, or, for cursor selections, the character
1072
+ before the cursor.
1073
+ */
1074
+ const deleteCharBackward = view => deleteByChar(view, false);
1075
+ /**
1076
+ Delete the selection or the character after the cursor.
1077
+ */
1078
+ const deleteCharForward = view => deleteByChar(view, true);
1079
+ const deleteByGroup = (target, forward) => deleteBy(target, start => {
1080
+ let pos = start,
1081
+ {
1082
+ state
1083
+ } = target,
1084
+ line = state.doc.lineAt(pos);
1085
+ let categorize = state.charCategorizer(pos);
1086
+ for (let cat = null;;) {
1087
+ if (pos == (forward ? line.to : line.from)) {
1088
+ if (pos == start && line.number != (forward ? state.doc.lines : 1)) pos += forward ? 1 : -1;
1089
+ break;
1090
+ }
1091
+ let next = findClusterBreak(line.text, pos - line.from, forward) + line.from;
1092
+ let nextChar = line.text.slice(Math.min(pos, next) - line.from, Math.max(pos, next) - line.from);
1093
+ let nextCat = categorize(nextChar);
1094
+ if (cat != null && nextCat != cat) break;
1095
+ if (nextChar != " " || pos != start) cat = nextCat;
1096
+ pos = next;
1097
+ }
1098
+ return pos;
1099
+ });
1100
+ /**
1101
+ Delete the selection or backward until the end of the next
1102
+ [group](https://codemirror.net/6/docs/ref/#view.EditorView.moveByGroup), only skipping groups of
1103
+ whitespace when they consist of a single space.
1104
+ */
1105
+ const deleteGroupBackward = target => deleteByGroup(target, false);
1106
+ /**
1107
+ Delete the selection or forward until the end of the next group.
1108
+ */
1109
+ const deleteGroupForward = target => deleteByGroup(target, true);
1110
+ /**
1111
+ Delete the selection, or, if it is a cursor selection, delete to
1112
+ the end of the line. If the cursor is directly at the end of the
1113
+ line, delete the line break after it.
1114
+ */
1115
+ const deleteToLineEnd = view => deleteBy(view, pos => {
1116
+ let lineEnd = view.lineBlockAt(pos).to;
1117
+ return pos < lineEnd ? lineEnd : Math.min(view.state.doc.length, pos + 1);
1118
+ });
1119
+ /**
1120
+ Delete the selection, or, if it is a cursor selection, delete to
1121
+ the start of the line. If the cursor is directly at the start of the
1122
+ line, delete the line break before it.
1123
+ */
1124
+ const deleteToLineStart = view => deleteBy(view, pos => {
1125
+ let lineStart = view.lineBlockAt(pos).from;
1126
+ return pos > lineStart ? lineStart : Math.max(0, pos - 1);
1127
+ });
1128
+ /**
1129
+ Replace each selection range with a line break, leaving the cursor
1130
+ on the line before the break.
1131
+ */
1132
+ const splitLine = ({
1133
+ state,
1134
+ dispatch
1135
+ }) => {
1136
+ if (state.readOnly) return false;
1137
+ let changes = state.changeByRange(range => {
1138
+ return {
1139
+ changes: {
1140
+ from: range.from,
1141
+ to: range.to,
1142
+ insert: Text.of(["", ""])
1143
+ },
1144
+ range: EditorSelection.cursor(range.from)
1145
+ };
1146
+ });
1147
+ dispatch(state.update(changes, {
1148
+ scrollIntoView: true,
1149
+ userEvent: "input"
1150
+ }));
1151
+ return true;
1152
+ };
1153
+ /**
1154
+ Flip the characters before and after the cursor(s).
1155
+ */
1156
+ const transposeChars = ({
1157
+ state,
1158
+ dispatch
1159
+ }) => {
1160
+ if (state.readOnly) return false;
1161
+ let changes = state.changeByRange(range => {
1162
+ if (!range.empty || range.from == 0 || range.from == state.doc.length) return {
1163
+ range
1164
+ };
1165
+ let pos = range.from,
1166
+ line = state.doc.lineAt(pos);
1167
+ let from = pos == line.from ? pos - 1 : findClusterBreak(line.text, pos - line.from, false) + line.from;
1168
+ let to = pos == line.to ? pos + 1 : findClusterBreak(line.text, pos - line.from, true) + line.from;
1169
+ return {
1170
+ changes: {
1171
+ from,
1172
+ to,
1173
+ insert: state.doc.slice(pos, to).append(state.doc.slice(from, pos))
1174
+ },
1175
+ range: EditorSelection.cursor(to)
1176
+ };
1177
+ });
1178
+ if (changes.changes.empty) return false;
1179
+ dispatch(state.update(changes, {
1180
+ scrollIntoView: true,
1181
+ userEvent: "move.character"
1182
+ }));
1183
+ return true;
1184
+ };
1185
+ function selectedLineBlocks(state) {
1186
+ let blocks = [],
1187
+ upto = -1;
1188
+ for (let range of state.selection.ranges) {
1189
+ let startLine = state.doc.lineAt(range.from),
1190
+ endLine = state.doc.lineAt(range.to);
1191
+ if (!range.empty && range.to == endLine.from) endLine = state.doc.lineAt(range.to - 1);
1192
+ if (upto >= startLine.number) {
1193
+ let prev = blocks[blocks.length - 1];
1194
+ prev.to = endLine.to;
1195
+ prev.ranges.push(range);
1196
+ } else {
1197
+ blocks.push({
1198
+ from: startLine.from,
1199
+ to: endLine.to,
1200
+ ranges: [range]
1201
+ });
1202
+ }
1203
+ upto = endLine.number + 1;
1204
+ }
1205
+ return blocks;
1206
+ }
1207
+ function moveLine(state, dispatch, forward) {
1208
+ if (state.readOnly) return false;
1209
+ let changes = [],
1210
+ ranges = [];
1211
+ for (let block of selectedLineBlocks(state)) {
1212
+ if (forward ? block.to == state.doc.length : block.from == 0) continue;
1213
+ let nextLine = state.doc.lineAt(forward ? block.to + 1 : block.from - 1);
1214
+ let size = nextLine.length + 1;
1215
+ if (forward) {
1216
+ changes.push({
1217
+ from: block.to,
1218
+ to: nextLine.to
1219
+ }, {
1220
+ from: block.from,
1221
+ insert: nextLine.text + state.lineBreak
1222
+ });
1223
+ 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)));
1224
+ } else {
1225
+ changes.push({
1226
+ from: nextLine.from,
1227
+ to: block.from
1228
+ }, {
1229
+ from: block.to,
1230
+ insert: state.lineBreak + nextLine.text
1231
+ });
1232
+ for (let r of block.ranges) ranges.push(EditorSelection.range(r.anchor - size, r.head - size));
1233
+ }
1234
+ }
1235
+ if (!changes.length) return false;
1236
+ dispatch(state.update({
1237
+ changes,
1238
+ scrollIntoView: true,
1239
+ selection: EditorSelection.create(ranges, state.selection.mainIndex),
1240
+ userEvent: "move.line"
1241
+ }));
1242
+ return true;
1243
+ }
1244
+ /**
1245
+ Move the selected lines up one line.
1246
+ */
1247
+ const moveLineUp = ({
1248
+ state,
1249
+ dispatch
1250
+ }) => moveLine(state, dispatch, false);
1251
+ /**
1252
+ Move the selected lines down one line.
1253
+ */
1254
+ const moveLineDown = ({
1255
+ state,
1256
+ dispatch
1257
+ }) => moveLine(state, dispatch, true);
1258
+ function copyLine(state, dispatch, forward) {
1259
+ if (state.readOnly) return false;
1260
+ let changes = [];
1261
+ for (let block of selectedLineBlocks(state)) {
1262
+ if (forward) changes.push({
1263
+ from: block.from,
1264
+ insert: state.doc.slice(block.from, block.to) + state.lineBreak
1265
+ });else changes.push({
1266
+ from: block.to,
1267
+ insert: state.lineBreak + state.doc.slice(block.from, block.to)
1268
+ });
1269
+ }
1270
+ dispatch(state.update({
1271
+ changes,
1272
+ scrollIntoView: true,
1273
+ userEvent: "input.copyline"
1274
+ }));
1275
+ return true;
1276
+ }
1277
+ /**
1278
+ Create a copy of the selected lines. Keep the selection in the top copy.
1279
+ */
1280
+ const copyLineUp = ({
1281
+ state,
1282
+ dispatch
1283
+ }) => copyLine(state, dispatch, false);
1284
+ /**
1285
+ Create a copy of the selected lines. Keep the selection in the bottom copy.
1286
+ */
1287
+ const copyLineDown = ({
1288
+ state,
1289
+ dispatch
1290
+ }) => copyLine(state, dispatch, true);
1291
+ /**
1292
+ Delete selected lines.
1293
+ */
1294
+ const deleteLine = view => {
1295
+ if (view.state.readOnly) return false;
1296
+ let {
1297
+ state
1298
+ } = view,
1299
+ changes = state.changes(selectedLineBlocks(state).map(({
1300
+ from,
1301
+ to
1302
+ }) => {
1303
+ if (from > 0) from--;else if (to < state.doc.length) to++;
1304
+ return {
1305
+ from,
1306
+ to
1307
+ };
1308
+ }));
1309
+ let selection = updateSel(state.selection, range => view.moveVertically(range, true)).map(changes);
1310
+ view.dispatch({
1311
+ changes,
1312
+ selection,
1313
+ scrollIntoView: true,
1314
+ userEvent: "delete.line"
1315
+ });
1316
+ return true;
1317
+ };
1318
+ function isBetweenBrackets(state, pos) {
1319
+ if (/\(\)|\[\]|\{\}/.test(state.sliceDoc(pos - 1, pos + 1))) return {
1320
+ from: pos,
1321
+ to: pos
1322
+ };
1323
+ let context = syntaxTree(state).resolveInner(pos);
1324
+ let before = context.childBefore(pos),
1325
+ after = context.childAfter(pos),
1326
+ closedBy;
1327
+ 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 {
1328
+ from: before.to,
1329
+ to: after.from
1330
+ };
1331
+ return null;
1332
+ }
1333
+ /**
1334
+ Replace the selection with a newline and indent the newly created
1335
+ line(s). If the current line consists only of whitespace, this
1336
+ will also delete that whitespace. When the cursor is between
1337
+ matching brackets, an additional newline will be inserted after
1338
+ the cursor.
1339
+ */
1340
+ const insertNewlineAndIndent = /*@__PURE__*/newlineAndIndent(false);
1341
+ /**
1342
+ Create a blank, indented line below the current line.
1343
+ */
1344
+ const insertBlankLine = /*@__PURE__*/newlineAndIndent(true);
1345
+ function newlineAndIndent(atEof) {
1346
+ return ({
1347
+ state,
1348
+ dispatch
1349
+ }) => {
1350
+ if (state.readOnly) return false;
1351
+ let changes = state.changeByRange(range => {
1352
+ let {
1353
+ from,
1354
+ to
1355
+ } = range,
1356
+ line = state.doc.lineAt(from);
1357
+ let explode = !atEof && from == to && isBetweenBrackets(state, from);
1358
+ if (atEof) from = to = (to <= line.to ? line : state.doc.lineAt(to)).to;
1359
+ let cx = new IndentContext(state, {
1360
+ simulateBreak: from,
1361
+ simulateDoubleBreak: !!explode
1362
+ });
1363
+ let indent = getIndentation(cx, from);
1364
+ if (indent == null) indent = /^\s*/.exec(state.doc.lineAt(from).text)[0].length;
1365
+ while (to < line.to && /\s/.test(line.text[to - line.from])) to++;
1366
+ if (explode) ({
1367
+ from,
1368
+ to
1369
+ } = explode);else if (from > line.from && from < line.from + 100 && !/\S/.test(line.text.slice(0, from))) from = line.from;
1370
+ let insert = ["", indentString(state, indent)];
1371
+ if (explode) insert.push(indentString(state, cx.lineIndent(line.from, -1)));
1372
+ return {
1373
+ changes: {
1374
+ from,
1375
+ to,
1376
+ insert: Text.of(insert)
1377
+ },
1378
+ range: EditorSelection.cursor(from + 1 + insert[1].length)
1379
+ };
1380
+ });
1381
+ dispatch(state.update(changes, {
1382
+ scrollIntoView: true,
1383
+ userEvent: "input"
1384
+ }));
1385
+ return true;
1386
+ };
1387
+ }
1388
+ function changeBySelectedLine(state, f) {
1389
+ let atLine = -1;
1390
+ return state.changeByRange(range => {
1391
+ let changes = [];
1392
+ for (let pos = range.from; pos <= range.to;) {
1393
+ let line = state.doc.lineAt(pos);
1394
+ if (line.number > atLine && (range.empty || range.to > line.from)) {
1395
+ f(line, changes, range);
1396
+ atLine = line.number;
1397
+ }
1398
+ pos = line.to + 1;
1399
+ }
1400
+ let changeSet = state.changes(changes);
1401
+ return {
1402
+ changes,
1403
+ range: EditorSelection.range(changeSet.mapPos(range.anchor, 1), changeSet.mapPos(range.head, 1))
1404
+ };
1405
+ });
1406
+ }
1407
+ /**
1408
+ Auto-indent the selected lines. This uses the [indentation service
1409
+ facet](https://codemirror.net/6/docs/ref/#language.indentService) as source for auto-indent
1410
+ information.
1411
+ */
1412
+ const indentSelection = ({
1413
+ state,
1414
+ dispatch
1415
+ }) => {
1416
+ if (state.readOnly) return false;
1417
+ let updated = Object.create(null);
1418
+ let context = new IndentContext(state, {
1419
+ overrideIndentation: start => {
1420
+ let found = updated[start];
1421
+ return found == null ? -1 : found;
1422
+ }
1423
+ });
1424
+ let changes = changeBySelectedLine(state, (line, changes, range) => {
1425
+ let indent = getIndentation(context, line.from);
1426
+ if (indent == null) return;
1427
+ if (!/\S/.test(line.text)) indent = 0;
1428
+ let cur = /^\s*/.exec(line.text)[0];
1429
+ let norm = indentString(state, indent);
1430
+ if (cur != norm || range.from < line.from + cur.length) {
1431
+ updated[line.from] = indent;
1432
+ changes.push({
1433
+ from: line.from,
1434
+ to: line.from + cur.length,
1435
+ insert: norm
1436
+ });
1437
+ }
1438
+ });
1439
+ if (!changes.changes.empty) dispatch(state.update(changes, {
1440
+ userEvent: "indent"
1441
+ }));
1442
+ return true;
1443
+ };
1444
+ /**
1445
+ Add a [unit](https://codemirror.net/6/docs/ref/#language.indentUnit) of indentation to all selected
1446
+ lines.
1447
+ */
1448
+ const indentMore = ({
1449
+ state,
1450
+ dispatch
1451
+ }) => {
1452
+ if (state.readOnly) return false;
1453
+ dispatch(state.update(changeBySelectedLine(state, (line, changes) => {
1454
+ changes.push({
1455
+ from: line.from,
1456
+ insert: state.facet(indentUnit)
1457
+ });
1458
+ }), {
1459
+ userEvent: "input.indent"
1460
+ }));
1461
+ return true;
1462
+ };
1463
+ /**
1464
+ Remove a [unit](https://codemirror.net/6/docs/ref/#language.indentUnit) of indentation from all
1465
+ selected lines.
1466
+ */
1467
+ const indentLess = ({
1468
+ state,
1469
+ dispatch
1470
+ }) => {
1471
+ if (state.readOnly) return false;
1472
+ dispatch(state.update(changeBySelectedLine(state, (line, changes) => {
1473
+ let space = /^\s*/.exec(line.text)[0];
1474
+ if (!space) return;
1475
+ let col = countColumn(space, state.tabSize),
1476
+ keep = 0;
1477
+ let insert = indentString(state, Math.max(0, col - getIndentUnit(state)));
1478
+ while (keep < space.length && keep < insert.length && space.charCodeAt(keep) == insert.charCodeAt(keep)) keep++;
1479
+ changes.push({
1480
+ from: line.from + keep,
1481
+ to: line.from + space.length,
1482
+ insert: insert.slice(keep)
1483
+ });
1484
+ }), {
1485
+ userEvent: "delete.dedent"
1486
+ }));
1487
+ return true;
1488
+ };
1489
+ /**
1490
+ Array of key bindings containing the Emacs-style bindings that are
1491
+ available on macOS by default.
1492
+
1493
+ - Ctrl-b: [`cursorCharLeft`](https://codemirror.net/6/docs/ref/#commands.cursorCharLeft) ([`selectCharLeft`](https://codemirror.net/6/docs/ref/#commands.selectCharLeft) with Shift)
1494
+ - Ctrl-f: [`cursorCharRight`](https://codemirror.net/6/docs/ref/#commands.cursorCharRight) ([`selectCharRight`](https://codemirror.net/6/docs/ref/#commands.selectCharRight) with Shift)
1495
+ - Ctrl-p: [`cursorLineUp`](https://codemirror.net/6/docs/ref/#commands.cursorLineUp) ([`selectLineUp`](https://codemirror.net/6/docs/ref/#commands.selectLineUp) with Shift)
1496
+ - Ctrl-n: [`cursorLineDown`](https://codemirror.net/6/docs/ref/#commands.cursorLineDown) ([`selectLineDown`](https://codemirror.net/6/docs/ref/#commands.selectLineDown) with Shift)
1497
+ - Ctrl-a: [`cursorLineStart`](https://codemirror.net/6/docs/ref/#commands.cursorLineStart) ([`selectLineStart`](https://codemirror.net/6/docs/ref/#commands.selectLineStart) with Shift)
1498
+ - Ctrl-e: [`cursorLineEnd`](https://codemirror.net/6/docs/ref/#commands.cursorLineEnd) ([`selectLineEnd`](https://codemirror.net/6/docs/ref/#commands.selectLineEnd) with Shift)
1499
+ - Ctrl-d: [`deleteCharForward`](https://codemirror.net/6/docs/ref/#commands.deleteCharForward)
1500
+ - Ctrl-h: [`deleteCharBackward`](https://codemirror.net/6/docs/ref/#commands.deleteCharBackward)
1501
+ - Ctrl-k: [`deleteToLineEnd`](https://codemirror.net/6/docs/ref/#commands.deleteToLineEnd)
1502
+ - Ctrl-Alt-h: [`deleteGroupBackward`](https://codemirror.net/6/docs/ref/#commands.deleteGroupBackward)
1503
+ - Ctrl-o: [`splitLine`](https://codemirror.net/6/docs/ref/#commands.splitLine)
1504
+ - Ctrl-t: [`transposeChars`](https://codemirror.net/6/docs/ref/#commands.transposeChars)
1505
+ - Ctrl-v: [`cursorPageDown`](https://codemirror.net/6/docs/ref/#commands.cursorPageDown)
1506
+ - Alt-v: [`cursorPageUp`](https://codemirror.net/6/docs/ref/#commands.cursorPageUp)
1507
+ */
1508
+ const emacsStyleKeymap = [{
1509
+ key: "Ctrl-b",
1510
+ run: cursorCharLeft,
1511
+ shift: selectCharLeft,
1512
+ preventDefault: true
1513
+ }, {
1514
+ key: "Ctrl-f",
1515
+ run: cursorCharRight,
1516
+ shift: selectCharRight
1517
+ }, {
1518
+ key: "Ctrl-p",
1519
+ run: cursorLineUp,
1520
+ shift: selectLineUp
1521
+ }, {
1522
+ key: "Ctrl-n",
1523
+ run: cursorLineDown,
1524
+ shift: selectLineDown
1525
+ }, {
1526
+ key: "Ctrl-a",
1527
+ run: cursorLineStart,
1528
+ shift: selectLineStart
1529
+ }, {
1530
+ key: "Ctrl-e",
1531
+ run: cursorLineEnd,
1532
+ shift: selectLineEnd
1533
+ }, {
1534
+ key: "Ctrl-d",
1535
+ run: deleteCharForward
1536
+ }, {
1537
+ key: "Ctrl-h",
1538
+ run: deleteCharBackward
1539
+ }, {
1540
+ key: "Ctrl-k",
1541
+ run: deleteToLineEnd
1542
+ }, {
1543
+ key: "Ctrl-Alt-h",
1544
+ run: deleteGroupBackward
1545
+ }, {
1546
+ key: "Ctrl-o",
1547
+ run: splitLine
1548
+ }, {
1549
+ key: "Ctrl-t",
1550
+ run: transposeChars
1551
+ }, {
1552
+ key: "Ctrl-v",
1553
+ run: cursorPageDown
1554
+ }];
1555
+ /**
1556
+ An array of key bindings closely sticking to platform-standard or
1557
+ widely used bindings. (This includes the bindings from
1558
+ [`emacsStyleKeymap`](https://codemirror.net/6/docs/ref/#commands.emacsStyleKeymap), with their `key`
1559
+ property changed to `mac`.)
1560
+
1561
+ - ArrowLeft: [`cursorCharLeft`](https://codemirror.net/6/docs/ref/#commands.cursorCharLeft) ([`selectCharLeft`](https://codemirror.net/6/docs/ref/#commands.selectCharLeft) with Shift)
1562
+ - ArrowRight: [`cursorCharRight`](https://codemirror.net/6/docs/ref/#commands.cursorCharRight) ([`selectCharRight`](https://codemirror.net/6/docs/ref/#commands.selectCharRight) with Shift)
1563
+ - 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)
1564
+ - 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)
1565
+ - Cmd-ArrowLeft (on macOS): [`cursorLineStart`](https://codemirror.net/6/docs/ref/#commands.cursorLineStart) ([`selectLineStart`](https://codemirror.net/6/docs/ref/#commands.selectLineStart) with Shift)
1566
+ - Cmd-ArrowRight (on macOS): [`cursorLineEnd`](https://codemirror.net/6/docs/ref/#commands.cursorLineEnd) ([`selectLineEnd`](https://codemirror.net/6/docs/ref/#commands.selectLineEnd) with Shift)
1567
+ - ArrowUp: [`cursorLineUp`](https://codemirror.net/6/docs/ref/#commands.cursorLineUp) ([`selectLineUp`](https://codemirror.net/6/docs/ref/#commands.selectLineUp) with Shift)
1568
+ - ArrowDown: [`cursorLineDown`](https://codemirror.net/6/docs/ref/#commands.cursorLineDown) ([`selectLineDown`](https://codemirror.net/6/docs/ref/#commands.selectLineDown) with Shift)
1569
+ - Cmd-ArrowUp (on macOS): [`cursorDocStart`](https://codemirror.net/6/docs/ref/#commands.cursorDocStart) ([`selectDocStart`](https://codemirror.net/6/docs/ref/#commands.selectDocStart) with Shift)
1570
+ - Cmd-ArrowDown (on macOS): [`cursorDocEnd`](https://codemirror.net/6/docs/ref/#commands.cursorDocEnd) ([`selectDocEnd`](https://codemirror.net/6/docs/ref/#commands.selectDocEnd) with Shift)
1571
+ - Ctrl-ArrowUp (on macOS): [`cursorPageUp`](https://codemirror.net/6/docs/ref/#commands.cursorPageUp) ([`selectPageUp`](https://codemirror.net/6/docs/ref/#commands.selectPageUp) with Shift)
1572
+ - Ctrl-ArrowDown (on macOS): [`cursorPageDown`](https://codemirror.net/6/docs/ref/#commands.cursorPageDown) ([`selectPageDown`](https://codemirror.net/6/docs/ref/#commands.selectPageDown) with Shift)
1573
+ - PageUp: [`cursorPageUp`](https://codemirror.net/6/docs/ref/#commands.cursorPageUp) ([`selectPageUp`](https://codemirror.net/6/docs/ref/#commands.selectPageUp) with Shift)
1574
+ - PageDown: [`cursorPageDown`](https://codemirror.net/6/docs/ref/#commands.cursorPageDown) ([`selectPageDown`](https://codemirror.net/6/docs/ref/#commands.selectPageDown) with Shift)
1575
+ - Home: [`cursorLineBoundaryBackward`](https://codemirror.net/6/docs/ref/#commands.cursorLineBoundaryBackward) ([`selectLineBoundaryBackward`](https://codemirror.net/6/docs/ref/#commands.selectLineBoundaryBackward) with Shift)
1576
+ - End: [`cursorLineBoundaryForward`](https://codemirror.net/6/docs/ref/#commands.cursorLineBoundaryForward) ([`selectLineBoundaryForward`](https://codemirror.net/6/docs/ref/#commands.selectLineBoundaryForward) with Shift)
1577
+ - 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)
1578
+ - 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)
1579
+ - Enter: [`insertNewlineAndIndent`](https://codemirror.net/6/docs/ref/#commands.insertNewlineAndIndent)
1580
+ - Ctrl-a (Cmd-a on macOS): [`selectAll`](https://codemirror.net/6/docs/ref/#commands.selectAll)
1581
+ - Backspace: [`deleteCharBackward`](https://codemirror.net/6/docs/ref/#commands.deleteCharBackward)
1582
+ - Delete: [`deleteCharForward`](https://codemirror.net/6/docs/ref/#commands.deleteCharForward)
1583
+ - Ctrl-Backspace (Alt-Backspace on macOS): [`deleteGroupBackward`](https://codemirror.net/6/docs/ref/#commands.deleteGroupBackward)
1584
+ - Ctrl-Delete (Alt-Delete on macOS): [`deleteGroupForward`](https://codemirror.net/6/docs/ref/#commands.deleteGroupForward)
1585
+ - Cmd-Backspace (macOS): [`deleteToLineStart`](https://codemirror.net/6/docs/ref/#commands.deleteToLineStart).
1586
+ - Cmd-Delete (macOS): [`deleteToLineEnd`](https://codemirror.net/6/docs/ref/#commands.deleteToLineEnd).
1587
+ */
1588
+ const standardKeymap = /*@__PURE__*/[{
1589
+ key: "ArrowLeft",
1590
+ run: cursorCharLeft,
1591
+ shift: selectCharLeft,
1592
+ preventDefault: true
1593
+ }, {
1594
+ key: "Mod-ArrowLeft",
1595
+ mac: "Alt-ArrowLeft",
1596
+ run: cursorGroupLeft,
1597
+ shift: selectGroupLeft,
1598
+ preventDefault: true
1599
+ }, {
1600
+ mac: "Cmd-ArrowLeft",
1601
+ run: cursorLineBoundaryLeft,
1602
+ shift: selectLineBoundaryLeft,
1603
+ preventDefault: true
1604
+ }, {
1605
+ key: "ArrowRight",
1606
+ run: cursorCharRight,
1607
+ shift: selectCharRight,
1608
+ preventDefault: true
1609
+ }, {
1610
+ key: "Mod-ArrowRight",
1611
+ mac: "Alt-ArrowRight",
1612
+ run: cursorGroupRight,
1613
+ shift: selectGroupRight,
1614
+ preventDefault: true
1615
+ }, {
1616
+ mac: "Cmd-ArrowRight",
1617
+ run: cursorLineBoundaryRight,
1618
+ shift: selectLineBoundaryRight,
1619
+ preventDefault: true
1620
+ }, {
1621
+ key: "ArrowUp",
1622
+ run: cursorLineUp,
1623
+ shift: selectLineUp,
1624
+ preventDefault: true
1625
+ }, {
1626
+ mac: "Cmd-ArrowUp",
1627
+ run: cursorDocStart,
1628
+ shift: selectDocStart
1629
+ }, {
1630
+ mac: "Ctrl-ArrowUp",
1631
+ run: cursorPageUp,
1632
+ shift: selectPageUp
1633
+ }, {
1634
+ key: "ArrowDown",
1635
+ run: cursorLineDown,
1636
+ shift: selectLineDown,
1637
+ preventDefault: true
1638
+ }, {
1639
+ mac: "Cmd-ArrowDown",
1640
+ run: cursorDocEnd,
1641
+ shift: selectDocEnd
1642
+ }, {
1643
+ mac: "Ctrl-ArrowDown",
1644
+ run: cursorPageDown,
1645
+ shift: selectPageDown
1646
+ }, {
1647
+ key: "PageUp",
1648
+ run: cursorPageUp,
1649
+ shift: selectPageUp
1650
+ }, {
1651
+ key: "PageDown",
1652
+ run: cursorPageDown,
1653
+ shift: selectPageDown
1654
+ }, {
1655
+ key: "Home",
1656
+ run: cursorLineBoundaryBackward,
1657
+ shift: selectLineBoundaryBackward,
1658
+ preventDefault: true
1659
+ }, {
1660
+ key: "Mod-Home",
1661
+ run: cursorDocStart,
1662
+ shift: selectDocStart
1663
+ }, {
1664
+ key: "End",
1665
+ run: cursorLineBoundaryForward,
1666
+ shift: selectLineBoundaryForward,
1667
+ preventDefault: true
1668
+ }, {
1669
+ key: "Mod-End",
1670
+ run: cursorDocEnd,
1671
+ shift: selectDocEnd
1672
+ }, {
1673
+ key: "Enter",
1674
+ run: insertNewlineAndIndent
1675
+ }, {
1676
+ key: "Mod-a",
1677
+ run: selectAll
1678
+ }, {
1679
+ key: "Backspace",
1680
+ run: deleteCharBackward,
1681
+ shift: deleteCharBackward
1682
+ }, {
1683
+ key: "Delete",
1684
+ run: deleteCharForward
1685
+ }, {
1686
+ key: "Mod-Backspace",
1687
+ mac: "Alt-Backspace",
1688
+ run: deleteGroupBackward
1689
+ }, {
1690
+ key: "Mod-Delete",
1691
+ mac: "Alt-Delete",
1692
+ run: deleteGroupForward
1693
+ }, {
1694
+ mac: "Mod-Backspace",
1695
+ run: deleteToLineStart
1696
+ }, {
1697
+ mac: "Mod-Delete",
1698
+ run: deleteToLineEnd
1699
+ }].concat( /*@__PURE__*/emacsStyleKeymap.map(b => ({
1700
+ mac: b.key,
1701
+ run: b.run,
1702
+ shift: b.shift
1703
+ })));
1704
+ /**
1705
+ The default keymap. Includes all bindings from
1706
+ [`standardKeymap`](https://codemirror.net/6/docs/ref/#commands.standardKeymap) plus the following:
1707
+
1708
+ - 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)
1709
+ - 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)
1710
+ - Alt-ArrowUp: [`moveLineUp`](https://codemirror.net/6/docs/ref/#commands.moveLineUp)
1711
+ - Alt-ArrowDown: [`moveLineDown`](https://codemirror.net/6/docs/ref/#commands.moveLineDown)
1712
+ - Shift-Alt-ArrowUp: [`copyLineUp`](https://codemirror.net/6/docs/ref/#commands.copyLineUp)
1713
+ - Shift-Alt-ArrowDown: [`copyLineDown`](https://codemirror.net/6/docs/ref/#commands.copyLineDown)
1714
+ - Escape: [`simplifySelection`](https://codemirror.net/6/docs/ref/#commands.simplifySelection)
1715
+ - Ctrl-Enter (Comd-Enter on macOS): [`insertBlankLine`](https://codemirror.net/6/docs/ref/#commands.insertBlankLine)
1716
+ - Alt-l (Ctrl-l on macOS): [`selectLine`](https://codemirror.net/6/docs/ref/#commands.selectLine)
1717
+ - Ctrl-i (Cmd-i on macOS): [`selectParentSyntax`](https://codemirror.net/6/docs/ref/#commands.selectParentSyntax)
1718
+ - Ctrl-[ (Cmd-[ on macOS): [`indentLess`](https://codemirror.net/6/docs/ref/#commands.indentLess)
1719
+ - Ctrl-] (Cmd-] on macOS): [`indentMore`](https://codemirror.net/6/docs/ref/#commands.indentMore)
1720
+ - Ctrl-Alt-\\ (Cmd-Alt-\\ on macOS): [`indentSelection`](https://codemirror.net/6/docs/ref/#commands.indentSelection)
1721
+ - Shift-Ctrl-k (Shift-Cmd-k on macOS): [`deleteLine`](https://codemirror.net/6/docs/ref/#commands.deleteLine)
1722
+ - Shift-Ctrl-\\ (Shift-Cmd-\\ on macOS): [`cursorMatchingBracket`](https://codemirror.net/6/docs/ref/#commands.cursorMatchingBracket)
1723
+ - Ctrl-/ (Cmd-/ on macOS): [`toggleComment`](https://codemirror.net/6/docs/ref/#commands.toggleComment).
1724
+ - Shift-Alt-a: [`toggleBlockComment`](https://codemirror.net/6/docs/ref/#commands.toggleBlockComment).
1725
+ */
1726
+ const defaultKeymap = /*@__PURE__*/[{
1727
+ key: "Alt-ArrowLeft",
1728
+ mac: "Ctrl-ArrowLeft",
1729
+ run: cursorSyntaxLeft,
1730
+ shift: selectSyntaxLeft
1731
+ }, {
1732
+ key: "Alt-ArrowRight",
1733
+ mac: "Ctrl-ArrowRight",
1734
+ run: cursorSyntaxRight,
1735
+ shift: selectSyntaxRight
1736
+ }, {
1737
+ key: "Alt-ArrowUp",
1738
+ run: moveLineUp
1739
+ }, {
1740
+ key: "Shift-Alt-ArrowUp",
1741
+ run: copyLineUp
1742
+ }, {
1743
+ key: "Alt-ArrowDown",
1744
+ run: moveLineDown
1745
+ }, {
1746
+ key: "Shift-Alt-ArrowDown",
1747
+ run: copyLineDown
1748
+ }, {
1749
+ key: "Escape",
1750
+ run: simplifySelection
1751
+ }, {
1752
+ key: "Mod-Enter",
1753
+ run: insertBlankLine
1754
+ }, {
1755
+ key: "Alt-l",
1756
+ mac: "Ctrl-l",
1757
+ run: selectLine
1758
+ }, {
1759
+ key: "Mod-i",
1760
+ run: selectParentSyntax,
1761
+ preventDefault: true
1762
+ }, {
1763
+ key: "Mod-[",
1764
+ run: indentLess
1765
+ }, {
1766
+ key: "Mod-]",
1767
+ run: indentMore
1768
+ }, {
1769
+ key: "Mod-Alt-\\",
1770
+ run: indentSelection
1771
+ }, {
1772
+ key: "Shift-Mod-k",
1773
+ run: deleteLine
1774
+ }, {
1775
+ key: "Shift-Mod-\\",
1776
+ run: cursorMatchingBracket
1777
+ }, {
1778
+ key: "Mod-/",
1779
+ run: toggleComment
1780
+ }, {
1781
+ key: "Alt-A",
1782
+ run: toggleBlockComment
1783
+ }].concat(standardKeymap);
1784
+ /**
1785
+ A binding that binds Tab to [`indentMore`](https://codemirror.net/6/docs/ref/#commands.indentMore) and
1786
+ Shift-Tab to [`indentLess`](https://codemirror.net/6/docs/ref/#commands.indentLess).
1787
+ Please see the [Tab example](../../examples/tab/) before using
1788
+ this.
1789
+ */
1790
+ const indentWithTab = {
1791
+ key: "Tab",
1792
+ run: indentMore,
1793
+ shift: indentLess
1794
+ };
1795
+
1796
+ function crelt() {
1797
+ var elt = arguments[0];
1798
+ if (typeof elt == "string") elt = document.createElement(elt);
1799
+ var i = 1,
1800
+ next = arguments[1];
1801
+ if (next && typeof next == "object" && next.nodeType == null && !Array.isArray(next)) {
1802
+ for (var name in next) if (Object.prototype.hasOwnProperty.call(next, name)) {
1803
+ var value = next[name];
1804
+ if (typeof value == "string") elt.setAttribute(name, value);else if (value != null) elt[name] = value;
1805
+ }
1806
+ i++;
1807
+ }
1808
+ for (; i < arguments.length; i++) add(elt, arguments[i]);
1809
+ return elt;
1810
+ }
1811
+ function add(elt, child) {
1812
+ if (typeof child == "string") {
1813
+ elt.appendChild(document.createTextNode(child));
1814
+ } else if (child == null) ; else if (child.nodeType != null) {
1815
+ elt.appendChild(child);
1816
+ } else if (Array.isArray(child)) {
1817
+ for (var i = 0; i < child.length; i++) add(elt, child[i]);
1818
+ } else {
1819
+ throw new RangeError("Unsupported child node: " + child);
1820
+ }
1821
+ }
1822
+
1823
+ const basicNormalize = typeof String.prototype.normalize == "function" ? x => x.normalize("NFKD") : x => x;
1824
+ /**
1825
+ A search cursor provides an iterator over text matches in a
1826
+ document.
1827
+ */
1828
+ class SearchCursor {
1829
+ /**
1830
+ Create a text cursor. The query is the search string, `from` to
1831
+ `to` provides the region to search.
1832
+
1833
+ When `normalize` is given, it will be called, on both the query
1834
+ string and the content it is matched against, before comparing.
1835
+ You can, for example, create a case-insensitive search by
1836
+ passing `s => s.toLowerCase()`.
1837
+
1838
+ Text is always normalized with
1839
+ [`.normalize("NFKD")`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize)
1840
+ (when supported).
1841
+ */
1842
+ constructor(text, query, from = 0, to = text.length, normalize, test) {
1843
+ this.test = test;
1844
+ /**
1845
+ The current match (only holds a meaningful value after
1846
+ [`next`](https://codemirror.net/6/docs/ref/#search.SearchCursor.next) has been called and when
1847
+ `done` is false).
1848
+ */
1849
+ this.value = {
1850
+ from: 0,
1851
+ to: 0
1852
+ };
1853
+ /**
1854
+ Whether the end of the iterated region has been reached.
1855
+ */
1856
+ this.done = false;
1857
+ this.matches = [];
1858
+ this.buffer = "";
1859
+ this.bufferPos = 0;
1860
+ this.iter = text.iterRange(from, to);
1861
+ this.bufferStart = from;
1862
+ this.normalize = normalize ? x => normalize(basicNormalize(x)) : basicNormalize;
1863
+ this.query = this.normalize(query);
1864
+ }
1865
+ peek() {
1866
+ if (this.bufferPos == this.buffer.length) {
1867
+ this.bufferStart += this.buffer.length;
1868
+ this.iter.next();
1869
+ if (this.iter.done) return -1;
1870
+ this.bufferPos = 0;
1871
+ this.buffer = this.iter.value;
1872
+ }
1873
+ return codePointAt(this.buffer, this.bufferPos);
1874
+ }
1875
+ /**
1876
+ Look for the next match. Updates the iterator's
1877
+ [`value`](https://codemirror.net/6/docs/ref/#search.SearchCursor.value) and
1878
+ [`done`](https://codemirror.net/6/docs/ref/#search.SearchCursor.done) properties. Should be called
1879
+ at least once before using the cursor.
1880
+ */
1881
+ next() {
1882
+ while (this.matches.length) this.matches.pop();
1883
+ return this.nextOverlapping();
1884
+ }
1885
+ /**
1886
+ The `next` method will ignore matches that partially overlap a
1887
+ previous match. This method behaves like `next`, but includes
1888
+ such matches.
1889
+ */
1890
+ nextOverlapping() {
1891
+ for (;;) {
1892
+ let next = this.peek();
1893
+ if (next < 0) {
1894
+ this.done = true;
1895
+ return this;
1896
+ }
1897
+ let str = fromCodePoint(next),
1898
+ start = this.bufferStart + this.bufferPos;
1899
+ this.bufferPos += codePointSize(next);
1900
+ let norm = this.normalize(str);
1901
+ for (let i = 0, pos = start;; i++) {
1902
+ let code = norm.charCodeAt(i);
1903
+ let match = this.match(code, pos);
1904
+ if (match) {
1905
+ this.value = match;
1906
+ return this;
1907
+ }
1908
+ if (i == norm.length - 1) break;
1909
+ if (pos == start && i < str.length && str.charCodeAt(i) == code) pos++;
1910
+ }
1911
+ }
1912
+ }
1913
+ match(code, pos) {
1914
+ let match = null;
1915
+ for (let i = 0; i < this.matches.length; i += 2) {
1916
+ let index = this.matches[i],
1917
+ keep = false;
1918
+ if (this.query.charCodeAt(index) == code) {
1919
+ if (index == this.query.length - 1) {
1920
+ match = {
1921
+ from: this.matches[i + 1],
1922
+ to: pos + 1
1923
+ };
1924
+ } else {
1925
+ this.matches[i]++;
1926
+ keep = true;
1927
+ }
1928
+ }
1929
+ if (!keep) {
1930
+ this.matches.splice(i, 2);
1931
+ i -= 2;
1932
+ }
1933
+ }
1934
+ if (this.query.charCodeAt(0) == code) {
1935
+ if (this.query.length == 1) match = {
1936
+ from: pos,
1937
+ to: pos + 1
1938
+ };else this.matches.push(1, pos);
1939
+ }
1940
+ if (match && this.test && !this.test(match.from, match.to, this.buffer, this.bufferPos)) match = null;
1941
+ return match;
1942
+ }
1943
+ }
1944
+ if (typeof Symbol != "undefined") SearchCursor.prototype[Symbol.iterator] = function () {
1945
+ return this;
1946
+ };
1947
+ const empty = {
1948
+ from: -1,
1949
+ to: -1,
1950
+ match: /*@__PURE__*/ /.*/.exec("")
1951
+ };
1952
+ const baseFlags = "gm" + (/x/.unicode == null ? "" : "u");
1953
+ /**
1954
+ This class is similar to [`SearchCursor`](https://codemirror.net/6/docs/ref/#search.SearchCursor)
1955
+ but searches for a regular expression pattern instead of a plain
1956
+ string.
1957
+ */
1958
+ class RegExpCursor {
1959
+ /**
1960
+ Create a cursor that will search the given range in the given
1961
+ document. `query` should be the raw pattern (as you'd pass it to
1962
+ `new RegExp`).
1963
+ */
1964
+ constructor(text, query, options, from = 0, to = text.length) {
1965
+ this.text = text;
1966
+ this.to = to;
1967
+ this.curLine = "";
1968
+ /**
1969
+ Set to `true` when the cursor has reached the end of the search
1970
+ range.
1971
+ */
1972
+ this.done = false;
1973
+ /**
1974
+ Will contain an object with the extent of the match and the
1975
+ match object when [`next`](https://codemirror.net/6/docs/ref/#search.RegExpCursor.next)
1976
+ sucessfully finds a match.
1977
+ */
1978
+ this.value = empty;
1979
+ if (/\\[sWDnr]|\n|\r|\[\^/.test(query)) return new MultilineRegExpCursor(text, query, options, from, to);
1980
+ this.re = new RegExp(query, baseFlags + ((options === null || options === void 0 ? void 0 : options.ignoreCase) ? "i" : ""));
1981
+ this.test = options === null || options === void 0 ? void 0 : options.test;
1982
+ this.iter = text.iter();
1983
+ let startLine = text.lineAt(from);
1984
+ this.curLineStart = startLine.from;
1985
+ this.matchPos = toCharEnd(text, from);
1986
+ this.getLine(this.curLineStart);
1987
+ }
1988
+ getLine(skip) {
1989
+ this.iter.next(skip);
1990
+ if (this.iter.lineBreak) {
1991
+ this.curLine = "";
1992
+ } else {
1993
+ this.curLine = this.iter.value;
1994
+ if (this.curLineStart + this.curLine.length > this.to) this.curLine = this.curLine.slice(0, this.to - this.curLineStart);
1995
+ this.iter.next();
1996
+ }
1997
+ }
1998
+ nextLine() {
1999
+ this.curLineStart = this.curLineStart + this.curLine.length + 1;
2000
+ if (this.curLineStart > this.to) this.curLine = "";else this.getLine(0);
2001
+ }
2002
+ /**
2003
+ Move to the next match, if there is one.
2004
+ */
2005
+ next() {
2006
+ for (let off = this.matchPos - this.curLineStart;;) {
2007
+ this.re.lastIndex = off;
2008
+ let match = this.matchPos <= this.to && this.re.exec(this.curLine);
2009
+ if (match) {
2010
+ let from = this.curLineStart + match.index,
2011
+ to = from + match[0].length;
2012
+ this.matchPos = toCharEnd(this.text, to + (from == to ? 1 : 0));
2013
+ if (from == this.curLineStart + this.curLine.length) this.nextLine();
2014
+ if ((from < to || from > this.value.to) && (!this.test || this.test(from, to, match))) {
2015
+ this.value = {
2016
+ from,
2017
+ to,
2018
+ match
2019
+ };
2020
+ return this;
2021
+ }
2022
+ off = this.matchPos - this.curLineStart;
2023
+ } else if (this.curLineStart + this.curLine.length < this.to) {
2024
+ this.nextLine();
2025
+ off = 0;
2026
+ } else {
2027
+ this.done = true;
2028
+ return this;
2029
+ }
2030
+ }
2031
+ }
2032
+ }
2033
+ const flattened = /*@__PURE__*/new WeakMap();
2034
+ // Reusable (partially) flattened document strings
2035
+ class FlattenedDoc {
2036
+ constructor(from, text) {
2037
+ this.from = from;
2038
+ this.text = text;
2039
+ }
2040
+ get to() {
2041
+ return this.from + this.text.length;
2042
+ }
2043
+ static get(doc, from, to) {
2044
+ let cached = flattened.get(doc);
2045
+ if (!cached || cached.from >= to || cached.to <= from) {
2046
+ let flat = new FlattenedDoc(from, doc.sliceString(from, to));
2047
+ flattened.set(doc, flat);
2048
+ return flat;
2049
+ }
2050
+ if (cached.from == from && cached.to == to) return cached;
2051
+ let {
2052
+ text,
2053
+ from: cachedFrom
2054
+ } = cached;
2055
+ if (cachedFrom > from) {
2056
+ text = doc.sliceString(from, cachedFrom) + text;
2057
+ cachedFrom = from;
2058
+ }
2059
+ if (cached.to < to) text += doc.sliceString(cached.to, to);
2060
+ flattened.set(doc, new FlattenedDoc(cachedFrom, text));
2061
+ return new FlattenedDoc(from, text.slice(from - cachedFrom, to - cachedFrom));
2062
+ }
2063
+ }
2064
+ class MultilineRegExpCursor {
2065
+ constructor(text, query, options, from, to) {
2066
+ this.text = text;
2067
+ this.to = to;
2068
+ this.done = false;
2069
+ this.value = empty;
2070
+ this.matchPos = toCharEnd(text, from);
2071
+ this.re = new RegExp(query, baseFlags + ((options === null || options === void 0 ? void 0 : options.ignoreCase) ? "i" : ""));
2072
+ this.test = options === null || options === void 0 ? void 0 : options.test;
2073
+ this.flat = FlattenedDoc.get(text, from, this.chunkEnd(from + 5000 /* Chunk.Base */));
2074
+ }
2075
+
2076
+ chunkEnd(pos) {
2077
+ return pos >= this.to ? this.to : this.text.lineAt(pos).to;
2078
+ }
2079
+ next() {
2080
+ for (;;) {
2081
+ let off = this.re.lastIndex = this.matchPos - this.flat.from;
2082
+ let match = this.re.exec(this.flat.text);
2083
+ // Skip empty matches directly after the last match
2084
+ if (match && !match[0] && match.index == off) {
2085
+ this.re.lastIndex = off + 1;
2086
+ match = this.re.exec(this.flat.text);
2087
+ }
2088
+ if (match) {
2089
+ let from = this.flat.from + match.index,
2090
+ to = from + match[0].length;
2091
+ // If a match goes almost to the end of a noncomplete chunk, try
2092
+ // again, since it'll likely be able to match more
2093
+ if ((this.flat.to >= this.to || match.index + match[0].length <= this.flat.text.length - 10) && (!this.test || this.test(from, to, match))) {
2094
+ this.value = {
2095
+ from,
2096
+ to,
2097
+ match
2098
+ };
2099
+ this.matchPos = toCharEnd(this.text, to + (from == to ? 1 : 0));
2100
+ return this;
2101
+ }
2102
+ }
2103
+ if (this.flat.to == this.to) {
2104
+ this.done = true;
2105
+ return this;
2106
+ }
2107
+ // Grow the flattened doc
2108
+ this.flat = FlattenedDoc.get(this.text, this.flat.from, this.chunkEnd(this.flat.from + this.flat.text.length * 2));
2109
+ }
2110
+ }
2111
+ }
2112
+ if (typeof Symbol != "undefined") {
2113
+ RegExpCursor.prototype[Symbol.iterator] = MultilineRegExpCursor.prototype[Symbol.iterator] = function () {
2114
+ return this;
2115
+ };
2116
+ }
2117
+ function validRegExp(source) {
2118
+ try {
2119
+ new RegExp(source, baseFlags);
2120
+ return true;
2121
+ } catch (_a) {
2122
+ return false;
2123
+ }
2124
+ }
2125
+ function toCharEnd(text, pos) {
2126
+ if (pos >= text.length) return pos;
2127
+ let line = text.lineAt(pos),
2128
+ next;
2129
+ while (pos < line.to && (next = line.text.charCodeAt(pos - line.from)) >= 0xDC00 && next < 0xE000) pos++;
2130
+ return pos;
2131
+ }
2132
+ function createLineDialog(view) {
2133
+ let input = crelt("input", {
2134
+ class: "cm-textfield",
2135
+ name: "line"
2136
+ });
2137
+ let dom = crelt("form", {
2138
+ class: "cm-gotoLine",
2139
+ onkeydown: event => {
2140
+ if (event.keyCode == 27) {
2141
+ // Escape
2142
+ event.preventDefault();
2143
+ view.dispatch({
2144
+ effects: dialogEffect.of(false)
2145
+ });
2146
+ view.focus();
2147
+ } else if (event.keyCode == 13) {
2148
+ // Enter
2149
+ event.preventDefault();
2150
+ go();
2151
+ }
2152
+ },
2153
+ onsubmit: event => {
2154
+ event.preventDefault();
2155
+ go();
2156
+ }
2157
+ }, crelt("label", view.state.phrase("Go to line"), ": ", input), " ", crelt("button", {
2158
+ class: "cm-button",
2159
+ type: "submit"
2160
+ }, view.state.phrase("go")));
2161
+ function go() {
2162
+ let match = /^([+-])?(\d+)?(:\d+)?(%)?$/.exec(input.value);
2163
+ if (!match) return;
2164
+ let {
2165
+ state
2166
+ } = view,
2167
+ startLine = state.doc.lineAt(state.selection.main.head);
2168
+ let [, sign, ln, cl, percent] = match;
2169
+ let col = cl ? +cl.slice(1) : 0;
2170
+ let line = ln ? +ln : startLine.number;
2171
+ if (ln && percent) {
2172
+ let pc = line / 100;
2173
+ if (sign) pc = pc * (sign == "-" ? -1 : 1) + startLine.number / state.doc.lines;
2174
+ line = Math.round(state.doc.lines * pc);
2175
+ } else if (ln && sign) {
2176
+ line = line * (sign == "-" ? -1 : 1) + startLine.number;
2177
+ }
2178
+ let docLine = state.doc.line(Math.max(1, Math.min(state.doc.lines, line)));
2179
+ view.dispatch({
2180
+ effects: dialogEffect.of(false),
2181
+ selection: EditorSelection.cursor(docLine.from + Math.max(0, Math.min(col, docLine.length))),
2182
+ scrollIntoView: true
2183
+ });
2184
+ view.focus();
2185
+ }
2186
+ return {
2187
+ dom
2188
+ };
2189
+ }
2190
+ const dialogEffect = /*@__PURE__*/StateEffect.define();
2191
+ const dialogField = /*@__PURE__*/StateField.define({
2192
+ create() {
2193
+ return true;
2194
+ },
2195
+ update(value, tr) {
2196
+ for (let e of tr.effects) if (e.is(dialogEffect)) value = e.value;
2197
+ return value;
2198
+ },
2199
+ provide: f => showPanel.from(f, val => val ? createLineDialog : null)
2200
+ });
2201
+ /**
2202
+ Command that shows a dialog asking the user for a line number, and
2203
+ when a valid position is provided, moves the cursor to that line.
2204
+
2205
+ Supports line numbers, relative line offsets prefixed with `+` or
2206
+ `-`, document percentages suffixed with `%`, and an optional
2207
+ column position by adding `:` and a second number after the line
2208
+ number.
2209
+
2210
+ The dialog can be styled with the `panel.gotoLine` theme
2211
+ selector.
2212
+ */
2213
+ const gotoLine = view => {
2214
+ let panel = getPanel(view, createLineDialog);
2215
+ if (!panel) {
2216
+ let effects = [dialogEffect.of(true)];
2217
+ if (view.state.field(dialogField, false) == null) effects.push(StateEffect.appendConfig.of([dialogField, baseTheme$1]));
2218
+ view.dispatch({
2219
+ effects
2220
+ });
2221
+ panel = getPanel(view, createLineDialog);
2222
+ }
2223
+ if (panel) panel.dom.querySelector("input").focus();
2224
+ return true;
2225
+ };
2226
+ const baseTheme$1 = /*@__PURE__*/EditorView.baseTheme({
2227
+ ".cm-panel.cm-gotoLine": {
2228
+ padding: "2px 6px 4px",
2229
+ "& label": {
2230
+ fontSize: "80%"
2231
+ }
2232
+ }
2233
+ });
2234
+ const defaultHighlightOptions = {
2235
+ highlightWordAroundCursor: false,
2236
+ minSelectionLength: 1,
2237
+ maxMatches: 100,
2238
+ wholeWords: false
2239
+ };
2240
+ const highlightConfig = /*@__PURE__*/Facet.define({
2241
+ combine(options) {
2242
+ return combineConfig(options, defaultHighlightOptions, {
2243
+ highlightWordAroundCursor: (a, b) => a || b,
2244
+ minSelectionLength: Math.min,
2245
+ maxMatches: Math.min
2246
+ });
2247
+ }
2248
+ });
2249
+ /**
2250
+ This extension highlights text that matches the selection. It uses
2251
+ the `"cm-selectionMatch"` class for the highlighting. When
2252
+ `highlightWordAroundCursor` is enabled, the word at the cursor
2253
+ itself will be highlighted with `"cm-selectionMatch-main"`.
2254
+ */
2255
+ function highlightSelectionMatches(options) {
2256
+ let ext = [defaultTheme, matchHighlighter];
2257
+ if (options) ext.push(highlightConfig.of(options));
2258
+ return ext;
2259
+ }
2260
+ const matchDeco = /*@__PURE__*/Decoration.mark({
2261
+ class: "cm-selectionMatch"
2262
+ });
2263
+ const mainMatchDeco = /*@__PURE__*/Decoration.mark({
2264
+ class: "cm-selectionMatch cm-selectionMatch-main"
2265
+ });
2266
+ // Whether the characters directly outside the given positions are non-word characters
2267
+ function insideWordBoundaries(check, state, from, to) {
2268
+ return (from == 0 || check(state.sliceDoc(from - 1, from)) != CharCategory.Word) && (to == state.doc.length || check(state.sliceDoc(to, to + 1)) != CharCategory.Word);
2269
+ }
2270
+ // Whether the characters directly at the given positions are word characters
2271
+ function insideWord(check, state, from, to) {
2272
+ return check(state.sliceDoc(from, from + 1)) == CharCategory.Word && check(state.sliceDoc(to - 1, to)) == CharCategory.Word;
2273
+ }
2274
+ const matchHighlighter = /*@__PURE__*/ViewPlugin.fromClass(class {
2275
+ constructor(view) {
2276
+ this.decorations = this.getDeco(view);
2277
+ }
2278
+ update(update) {
2279
+ if (update.selectionSet || update.docChanged || update.viewportChanged) this.decorations = this.getDeco(update.view);
2280
+ }
2281
+ getDeco(view) {
2282
+ let conf = view.state.facet(highlightConfig);
2283
+ let {
2284
+ state
2285
+ } = view,
2286
+ sel = state.selection;
2287
+ if (sel.ranges.length > 1) return Decoration.none;
2288
+ let range = sel.main,
2289
+ query,
2290
+ check = null;
2291
+ if (range.empty) {
2292
+ if (!conf.highlightWordAroundCursor) return Decoration.none;
2293
+ let word = state.wordAt(range.head);
2294
+ if (!word) return Decoration.none;
2295
+ check = state.charCategorizer(range.head);
2296
+ query = state.sliceDoc(word.from, word.to);
2297
+ } else {
2298
+ let len = range.to - range.from;
2299
+ if (len < conf.minSelectionLength || len > 200) return Decoration.none;
2300
+ if (conf.wholeWords) {
2301
+ query = state.sliceDoc(range.from, range.to); // TODO: allow and include leading/trailing space?
2302
+ check = state.charCategorizer(range.head);
2303
+ if (!(insideWordBoundaries(check, state, range.from, range.to) && insideWord(check, state, range.from, range.to))) return Decoration.none;
2304
+ } else {
2305
+ query = state.sliceDoc(range.from, range.to).trim();
2306
+ if (!query) return Decoration.none;
2307
+ }
2308
+ }
2309
+ let deco = [];
2310
+ for (let part of view.visibleRanges) {
2311
+ let cursor = new SearchCursor(state.doc, query, part.from, part.to);
2312
+ while (!cursor.next().done) {
2313
+ let {
2314
+ from,
2315
+ to
2316
+ } = cursor.value;
2317
+ if (!check || insideWordBoundaries(check, state, from, to)) {
2318
+ 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));
2319
+ if (deco.length > conf.maxMatches) return Decoration.none;
2320
+ }
2321
+ }
2322
+ }
2323
+ return Decoration.set(deco);
2324
+ }
2325
+ }, {
2326
+ decorations: v => v.decorations
2327
+ });
2328
+ const defaultTheme = /*@__PURE__*/EditorView.baseTheme({
2329
+ ".cm-selectionMatch": {
2330
+ backgroundColor: "#99ff7780"
2331
+ },
2332
+ ".cm-searchMatch .cm-selectionMatch": {
2333
+ backgroundColor: "transparent"
2334
+ }
2335
+ });
2336
+ // Select the words around the cursors.
2337
+ const selectWord = ({
2338
+ state,
2339
+ dispatch
2340
+ }) => {
2341
+ let {
2342
+ selection
2343
+ } = state;
2344
+ let newSel = EditorSelection.create(selection.ranges.map(range => state.wordAt(range.head) || EditorSelection.cursor(range.head)), selection.mainIndex);
2345
+ if (newSel.eq(selection)) return false;
2346
+ dispatch(state.update({
2347
+ selection: newSel
2348
+ }));
2349
+ return true;
2350
+ };
2351
+ // Find next occurrence of query relative to last cursor. Wrap around
2352
+ // the document if there are no more matches.
2353
+ function findNextOccurrence(state, query) {
2354
+ let {
2355
+ main,
2356
+ ranges
2357
+ } = state.selection;
2358
+ let word = state.wordAt(main.head),
2359
+ fullWord = word && word.from == main.from && word.to == main.to;
2360
+ for (let cycled = false, cursor = new SearchCursor(state.doc, query, ranges[ranges.length - 1].to);;) {
2361
+ cursor.next();
2362
+ if (cursor.done) {
2363
+ if (cycled) return null;
2364
+ cursor = new SearchCursor(state.doc, query, 0, Math.max(0, ranges[ranges.length - 1].from - 1));
2365
+ cycled = true;
2366
+ } else {
2367
+ if (cycled && ranges.some(r => r.from == cursor.value.from)) continue;
2368
+ if (fullWord) {
2369
+ let word = state.wordAt(cursor.value.from);
2370
+ if (!word || word.from != cursor.value.from || word.to != cursor.value.to) continue;
2371
+ }
2372
+ return cursor.value;
2373
+ }
2374
+ }
2375
+ }
2376
+ /**
2377
+ Select next occurrence of the current selection. Expand selection
2378
+ to the surrounding word when the selection is empty.
2379
+ */
2380
+ const selectNextOccurrence = ({
2381
+ state,
2382
+ dispatch
2383
+ }) => {
2384
+ let {
2385
+ ranges
2386
+ } = state.selection;
2387
+ if (ranges.some(sel => sel.from === sel.to)) return selectWord({
2388
+ state,
2389
+ dispatch
2390
+ });
2391
+ let searchedText = state.sliceDoc(ranges[0].from, ranges[0].to);
2392
+ if (state.selection.ranges.some(r => state.sliceDoc(r.from, r.to) != searchedText)) return false;
2393
+ let range = findNextOccurrence(state, searchedText);
2394
+ if (!range) return false;
2395
+ dispatch(state.update({
2396
+ selection: state.selection.addRange(EditorSelection.range(range.from, range.to), false),
2397
+ effects: EditorView.scrollIntoView(range.to)
2398
+ }));
2399
+ return true;
2400
+ };
2401
+ const searchConfigFacet = /*@__PURE__*/Facet.define({
2402
+ combine(configs) {
2403
+ return combineConfig(configs, {
2404
+ top: false,
2405
+ caseSensitive: false,
2406
+ literal: false,
2407
+ wholeWord: false,
2408
+ createPanel: view => new SearchPanel(view)
2409
+ });
2410
+ }
2411
+ });
2412
+ /**
2413
+ A search query. Part of the editor's search state.
2414
+ */
2415
+ class SearchQuery {
2416
+ /**
2417
+ Create a query object.
2418
+ */
2419
+ constructor(config) {
2420
+ this.search = config.search;
2421
+ this.caseSensitive = !!config.caseSensitive;
2422
+ this.literal = !!config.literal;
2423
+ this.regexp = !!config.regexp;
2424
+ this.replace = config.replace || "";
2425
+ this.valid = !!this.search && (!this.regexp || validRegExp(this.search));
2426
+ this.unquoted = this.unquote(this.search);
2427
+ this.wholeWord = !!config.wholeWord;
2428
+ }
2429
+ /**
2430
+ @internal
2431
+ */
2432
+ unquote(text) {
2433
+ return this.literal ? text : text.replace(/\\([nrt\\])/g, (_, ch) => ch == "n" ? "\n" : ch == "r" ? "\r" : ch == "t" ? "\t" : "\\");
2434
+ }
2435
+ /**
2436
+ Compare this query to another query.
2437
+ */
2438
+ eq(other) {
2439
+ return this.search == other.search && this.replace == other.replace && this.caseSensitive == other.caseSensitive && this.regexp == other.regexp && this.wholeWord == other.wholeWord;
2440
+ }
2441
+ /**
2442
+ @internal
2443
+ */
2444
+ create() {
2445
+ return this.regexp ? new RegExpQuery(this) : new StringQuery(this);
2446
+ }
2447
+ /**
2448
+ Get a search cursor for this query, searching through the given
2449
+ range in the given state.
2450
+ */
2451
+ getCursor(state, from = 0, to) {
2452
+ let st = state.doc ? state : EditorState.create({
2453
+ doc: state
2454
+ });
2455
+ if (to == null) to = st.doc.length;
2456
+ return this.regexp ? regexpCursor(this, st, from, to) : stringCursor(this, st, from, to);
2457
+ }
2458
+ }
2459
+ class QueryType {
2460
+ constructor(spec) {
2461
+ this.spec = spec;
2462
+ }
2463
+ }
2464
+ function stringCursor(spec, state, from, to) {
2465
+ 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);
2466
+ }
2467
+ function stringWordTest(doc, categorizer) {
2468
+ return (from, to, buf, bufPos) => {
2469
+ if (bufPos > from || bufPos + buf.length < to) {
2470
+ bufPos = Math.max(0, from - 2);
2471
+ buf = doc.sliceString(bufPos, Math.min(doc.length, to + 2));
2472
+ }
2473
+ 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);
2474
+ };
2475
+ }
2476
+ class StringQuery extends QueryType {
2477
+ constructor(spec) {
2478
+ super(spec);
2479
+ }
2480
+ nextMatch(state, curFrom, curTo) {
2481
+ let cursor = stringCursor(this.spec, state, curTo, state.doc.length).nextOverlapping();
2482
+ if (cursor.done) cursor = stringCursor(this.spec, state, 0, curFrom).nextOverlapping();
2483
+ return cursor.done ? null : cursor.value;
2484
+ }
2485
+ // Searching in reverse is, rather than implementing inverted search
2486
+ // cursor, done by scanning chunk after chunk forward.
2487
+ prevMatchInRange(state, from, to) {
2488
+ for (let pos = to;;) {
2489
+ let start = Math.max(from, pos - 10000 /* FindPrev.ChunkSize */ - this.spec.unquoted.length);
2490
+ let cursor = stringCursor(this.spec, state, start, pos),
2491
+ range = null;
2492
+ while (!cursor.nextOverlapping().done) range = cursor.value;
2493
+ if (range) return range;
2494
+ if (start == from) return null;
2495
+ pos -= 10000 /* FindPrev.ChunkSize */;
2496
+ }
2497
+ }
2498
+
2499
+ prevMatch(state, curFrom, curTo) {
2500
+ return this.prevMatchInRange(state, 0, curFrom) || this.prevMatchInRange(state, curTo, state.doc.length);
2501
+ }
2502
+ getReplacement(_result) {
2503
+ return this.spec.unquote(this.spec.replace);
2504
+ }
2505
+ matchAll(state, limit) {
2506
+ let cursor = stringCursor(this.spec, state, 0, state.doc.length),
2507
+ ranges = [];
2508
+ while (!cursor.next().done) {
2509
+ if (ranges.length >= limit) return null;
2510
+ ranges.push(cursor.value);
2511
+ }
2512
+ return ranges;
2513
+ }
2514
+ highlight(state, from, to, add) {
2515
+ let cursor = stringCursor(this.spec, state, Math.max(0, from - this.spec.unquoted.length), Math.min(to + this.spec.unquoted.length, state.doc.length));
2516
+ while (!cursor.next().done) add(cursor.value.from, cursor.value.to);
2517
+ }
2518
+ }
2519
+ function regexpCursor(spec, state, from, to) {
2520
+ return new RegExpCursor(state.doc, spec.search, {
2521
+ ignoreCase: !spec.caseSensitive,
2522
+ test: spec.wholeWord ? regexpWordTest(state.charCategorizer(state.selection.main.head)) : undefined
2523
+ }, from, to);
2524
+ }
2525
+ function charBefore(str, index) {
2526
+ return str.slice(findClusterBreak(str, index, false), index);
2527
+ }
2528
+ function charAfter(str, index) {
2529
+ return str.slice(index, findClusterBreak(str, index));
2530
+ }
2531
+ function regexpWordTest(categorizer) {
2532
+ 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);
2533
+ }
2534
+ class RegExpQuery extends QueryType {
2535
+ nextMatch(state, curFrom, curTo) {
2536
+ let cursor = regexpCursor(this.spec, state, curTo, state.doc.length).next();
2537
+ if (cursor.done) cursor = regexpCursor(this.spec, state, 0, curFrom).next();
2538
+ return cursor.done ? null : cursor.value;
2539
+ }
2540
+ prevMatchInRange(state, from, to) {
2541
+ for (let size = 1;; size++) {
2542
+ let start = Math.max(from, to - size * 10000 /* FindPrev.ChunkSize */);
2543
+ let cursor = regexpCursor(this.spec, state, start, to),
2544
+ range = null;
2545
+ while (!cursor.next().done) range = cursor.value;
2546
+ if (range && (start == from || range.from > start + 10)) return range;
2547
+ if (start == from) return null;
2548
+ }
2549
+ }
2550
+ prevMatch(state, curFrom, curTo) {
2551
+ return this.prevMatchInRange(state, 0, curFrom) || this.prevMatchInRange(state, curTo, state.doc.length);
2552
+ }
2553
+ getReplacement(result) {
2554
+ 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));
2555
+ }
2556
+ matchAll(state, limit) {
2557
+ let cursor = regexpCursor(this.spec, state, 0, state.doc.length),
2558
+ ranges = [];
2559
+ while (!cursor.next().done) {
2560
+ if (ranges.length >= limit) return null;
2561
+ ranges.push(cursor.value);
2562
+ }
2563
+ return ranges;
2564
+ }
2565
+ highlight(state, from, to, add) {
2566
+ let cursor = regexpCursor(this.spec, state, Math.max(0, from - 250 /* RegExp.HighlightMargin */), Math.min(to + 250 /* RegExp.HighlightMargin */, state.doc.length));
2567
+ while (!cursor.next().done) add(cursor.value.from, cursor.value.to);
2568
+ }
2569
+ }
2570
+ /**
2571
+ A state effect that updates the current search query. Note that
2572
+ this only has an effect if the search state has been initialized
2573
+ (by including [`search`](https://codemirror.net/6/docs/ref/#search.search) in your configuration or
2574
+ by running [`openSearchPanel`](https://codemirror.net/6/docs/ref/#search.openSearchPanel) at least
2575
+ once).
2576
+ */
2577
+ const setSearchQuery = /*@__PURE__*/StateEffect.define();
2578
+ const togglePanel$1 = /*@__PURE__*/StateEffect.define();
2579
+ const searchState = /*@__PURE__*/StateField.define({
2580
+ create(state) {
2581
+ return new SearchState(defaultQuery(state).create(), null);
2582
+ },
2583
+ update(value, tr) {
2584
+ for (let effect of tr.effects) {
2585
+ 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);
2586
+ }
2587
+ return value;
2588
+ },
2589
+ provide: f => showPanel.from(f, val => val.panel)
2590
+ });
2591
+ class SearchState {
2592
+ constructor(query, panel) {
2593
+ this.query = query;
2594
+ this.panel = panel;
2595
+ }
2596
+ }
2597
+ const matchMark = /*@__PURE__*/Decoration.mark({
2598
+ class: "cm-searchMatch"
2599
+ }),
2600
+ selectedMatchMark = /*@__PURE__*/Decoration.mark({
2601
+ class: "cm-searchMatch cm-searchMatch-selected"
2602
+ });
2603
+ const searchHighlighter = /*@__PURE__*/ViewPlugin.fromClass(class {
2604
+ constructor(view) {
2605
+ this.view = view;
2606
+ this.decorations = this.highlight(view.state.field(searchState));
2607
+ }
2608
+ update(update) {
2609
+ let state = update.state.field(searchState);
2610
+ if (state != update.startState.field(searchState) || update.docChanged || update.selectionSet || update.viewportChanged) this.decorations = this.highlight(state);
2611
+ }
2612
+ highlight({
2613
+ query,
2614
+ panel
2615
+ }) {
2616
+ if (!panel || !query.spec.valid) return Decoration.none;
2617
+ let {
2618
+ view
2619
+ } = this;
2620
+ let builder = new RangeSetBuilder();
2621
+ for (let i = 0, ranges = view.visibleRanges, l = ranges.length; i < l; i++) {
2622
+ let {
2623
+ from,
2624
+ to
2625
+ } = ranges[i];
2626
+ while (i < l - 1 && to > ranges[i + 1].from - 2 * 250 /* RegExp.HighlightMargin */) to = ranges[++i].to;
2627
+ query.highlight(view.state, from, to, (from, to) => {
2628
+ let selected = view.state.selection.ranges.some(r => r.from == from && r.to == to);
2629
+ builder.add(from, to, selected ? selectedMatchMark : matchMark);
2630
+ });
2631
+ }
2632
+ return builder.finish();
2633
+ }
2634
+ }, {
2635
+ decorations: v => v.decorations
2636
+ });
2637
+ function searchCommand(f) {
2638
+ return view => {
2639
+ let state = view.state.field(searchState, false);
2640
+ return state && state.query.spec.valid ? f(view, state) : openSearchPanel(view);
2641
+ };
2642
+ }
2643
+ /**
2644
+ Open the search panel if it isn't already open, and move the
2645
+ selection to the first match after the current main selection.
2646
+ Will wrap around to the start of the document when it reaches the
2647
+ end.
2648
+ */
2649
+ const findNext = /*@__PURE__*/searchCommand((view, {
2650
+ query
2651
+ }) => {
2652
+ let {
2653
+ to
2654
+ } = view.state.selection.main;
2655
+ let next = query.nextMatch(view.state, to, to);
2656
+ if (!next) return false;
2657
+ view.dispatch({
2658
+ selection: {
2659
+ anchor: next.from,
2660
+ head: next.to
2661
+ },
2662
+ scrollIntoView: true,
2663
+ effects: announceMatch(view, next),
2664
+ userEvent: "select.search"
2665
+ });
2666
+ return true;
2667
+ });
2668
+ /**
2669
+ Move the selection to the previous instance of the search query,
2670
+ before the current main selection. Will wrap past the start
2671
+ of the document to start searching at the end again.
2672
+ */
2673
+ const findPrevious = /*@__PURE__*/searchCommand((view, {
2674
+ query
2675
+ }) => {
2676
+ let {
2677
+ state
2678
+ } = view,
2679
+ {
2680
+ from
2681
+ } = state.selection.main;
2682
+ let range = query.prevMatch(state, from, from);
2683
+ if (!range) return false;
2684
+ view.dispatch({
2685
+ selection: {
2686
+ anchor: range.from,
2687
+ head: range.to
2688
+ },
2689
+ scrollIntoView: true,
2690
+ effects: announceMatch(view, range),
2691
+ userEvent: "select.search"
2692
+ });
2693
+ return true;
2694
+ });
2695
+ /**
2696
+ Select all instances of the search query.
2697
+ */
2698
+ const selectMatches = /*@__PURE__*/searchCommand((view, {
2699
+ query
2700
+ }) => {
2701
+ let ranges = query.matchAll(view.state, 1000);
2702
+ if (!ranges || !ranges.length) return false;
2703
+ view.dispatch({
2704
+ selection: EditorSelection.create(ranges.map(r => EditorSelection.range(r.from, r.to))),
2705
+ userEvent: "select.search.matches"
2706
+ });
2707
+ return true;
2708
+ });
2709
+ /**
2710
+ Select all instances of the currently selected text.
2711
+ */
2712
+ const selectSelectionMatches = ({
2713
+ state,
2714
+ dispatch
2715
+ }) => {
2716
+ let sel = state.selection;
2717
+ if (sel.ranges.length > 1 || sel.main.empty) return false;
2718
+ let {
2719
+ from,
2720
+ to
2721
+ } = sel.main;
2722
+ let ranges = [],
2723
+ main = 0;
2724
+ for (let cur = new SearchCursor(state.doc, state.sliceDoc(from, to)); !cur.next().done;) {
2725
+ if (ranges.length > 1000) return false;
2726
+ if (cur.value.from == from) main = ranges.length;
2727
+ ranges.push(EditorSelection.range(cur.value.from, cur.value.to));
2728
+ }
2729
+ dispatch(state.update({
2730
+ selection: EditorSelection.create(ranges, main),
2731
+ userEvent: "select.search.matches"
2732
+ }));
2733
+ return true;
2734
+ };
2735
+ /**
2736
+ Replace the current match of the search query.
2737
+ */
2738
+ const replaceNext = /*@__PURE__*/searchCommand((view, {
2739
+ query
2740
+ }) => {
2741
+ let {
2742
+ state
2743
+ } = view,
2744
+ {
2745
+ from,
2746
+ to
2747
+ } = state.selection.main;
2748
+ if (state.readOnly) return false;
2749
+ let next = query.nextMatch(state, from, from);
2750
+ if (!next) return false;
2751
+ let changes = [],
2752
+ selection,
2753
+ replacement;
2754
+ let announce = [];
2755
+ if (next.from == from && next.to == to) {
2756
+ replacement = state.toText(query.getReplacement(next));
2757
+ changes.push({
2758
+ from: next.from,
2759
+ to: next.to,
2760
+ insert: replacement
2761
+ });
2762
+ next = query.nextMatch(state, next.from, next.to);
2763
+ announce.push(EditorView.announce.of(state.phrase("replaced match on line $", state.doc.lineAt(from).number) + "."));
2764
+ }
2765
+ if (next) {
2766
+ let off = changes.length == 0 || changes[0].from >= next.to ? 0 : next.to - next.from - replacement.length;
2767
+ selection = {
2768
+ anchor: next.from - off,
2769
+ head: next.to - off
2770
+ };
2771
+ announce.push(announceMatch(view, next));
2772
+ }
2773
+ view.dispatch({
2774
+ changes,
2775
+ selection,
2776
+ scrollIntoView: !!selection,
2777
+ effects: announce,
2778
+ userEvent: "input.replace"
2779
+ });
2780
+ return true;
2781
+ });
2782
+ /**
2783
+ Replace all instances of the search query with the given
2784
+ replacement.
2785
+ */
2786
+ const replaceAll = /*@__PURE__*/searchCommand((view, {
2787
+ query
2788
+ }) => {
2789
+ if (view.state.readOnly) return false;
2790
+ let changes = query.matchAll(view.state, 1e9).map(match => {
2791
+ let {
2792
+ from,
2793
+ to
2794
+ } = match;
2795
+ return {
2796
+ from,
2797
+ to,
2798
+ insert: query.getReplacement(match)
2799
+ };
2800
+ });
2801
+ if (!changes.length) return false;
2802
+ let announceText = view.state.phrase("replaced $ matches", changes.length) + ".";
2803
+ view.dispatch({
2804
+ changes,
2805
+ effects: EditorView.announce.of(announceText),
2806
+ userEvent: "input.replace.all"
2807
+ });
2808
+ return true;
2809
+ });
2810
+ function createSearchPanel(view) {
2811
+ return view.state.facet(searchConfigFacet).createPanel(view);
2812
+ }
2813
+ function defaultQuery(state, fallback) {
2814
+ var _a, _b, _c, _d;
2815
+ let sel = state.selection.main;
2816
+ let selText = sel.empty || sel.to > sel.from + 100 ? "" : state.sliceDoc(sel.from, sel.to);
2817
+ if (fallback && !selText) return fallback;
2818
+ let config = state.facet(searchConfigFacet);
2819
+ return new SearchQuery({
2820
+ search: ((_a = fallback === null || fallback === void 0 ? void 0 : fallback.literal) !== null && _a !== void 0 ? _a : config.literal) ? selText : selText.replace(/\n/g, "\\n"),
2821
+ caseSensitive: (_b = fallback === null || fallback === void 0 ? void 0 : fallback.caseSensitive) !== null && _b !== void 0 ? _b : config.caseSensitive,
2822
+ literal: (_c = fallback === null || fallback === void 0 ? void 0 : fallback.literal) !== null && _c !== void 0 ? _c : config.literal,
2823
+ wholeWord: (_d = fallback === null || fallback === void 0 ? void 0 : fallback.wholeWord) !== null && _d !== void 0 ? _d : config.wholeWord
2824
+ });
2825
+ }
2826
+ /**
2827
+ Make sure the search panel is open and focused.
2828
+ */
2829
+ const openSearchPanel = view => {
2830
+ let state = view.state.field(searchState, false);
2831
+ if (state && state.panel) {
2832
+ let panel = getPanel(view, createSearchPanel);
2833
+ if (!panel) return false;
2834
+ let searchInput = panel.dom.querySelector("[main-field]");
2835
+ if (searchInput && searchInput != view.root.activeElement) {
2836
+ let query = defaultQuery(view.state, state.query.spec);
2837
+ if (query.valid) view.dispatch({
2838
+ effects: setSearchQuery.of(query)
2839
+ });
2840
+ searchInput.focus();
2841
+ searchInput.select();
2842
+ }
2843
+ } else {
2844
+ view.dispatch({
2845
+ effects: [togglePanel$1.of(true), state ? setSearchQuery.of(defaultQuery(view.state, state.query.spec)) : StateEffect.appendConfig.of(searchExtensions)]
2846
+ });
2847
+ }
2848
+ return true;
2849
+ };
2850
+ /**
2851
+ Close the search panel.
2852
+ */
2853
+ const closeSearchPanel = view => {
2854
+ let state = view.state.field(searchState, false);
2855
+ if (!state || !state.panel) return false;
2856
+ let panel = getPanel(view, createSearchPanel);
2857
+ if (panel && panel.dom.contains(view.root.activeElement)) view.focus();
2858
+ view.dispatch({
2859
+ effects: togglePanel$1.of(false)
2860
+ });
2861
+ return true;
2862
+ };
2863
+ /**
2864
+ Default search-related key bindings.
2865
+
2866
+ - Mod-f: [`openSearchPanel`](https://codemirror.net/6/docs/ref/#search.openSearchPanel)
2867
+ - F3, Mod-g: [`findNext`](https://codemirror.net/6/docs/ref/#search.findNext)
2868
+ - Shift-F3, Shift-Mod-g: [`findPrevious`](https://codemirror.net/6/docs/ref/#search.findPrevious)
2869
+ - Alt-g: [`gotoLine`](https://codemirror.net/6/docs/ref/#search.gotoLine)
2870
+ - Mod-d: [`selectNextOccurrence`](https://codemirror.net/6/docs/ref/#search.selectNextOccurrence)
2871
+ */
2872
+ const searchKeymap = [{
2873
+ key: "Mod-f",
2874
+ run: openSearchPanel,
2875
+ scope: "editor search-panel"
2876
+ }, {
2877
+ key: "F3",
2878
+ run: findNext,
2879
+ shift: findPrevious,
2880
+ scope: "editor search-panel",
2881
+ preventDefault: true
2882
+ }, {
2883
+ key: "Mod-g",
2884
+ run: findNext,
2885
+ shift: findPrevious,
2886
+ scope: "editor search-panel",
2887
+ preventDefault: true
2888
+ }, {
2889
+ key: "Escape",
2890
+ run: closeSearchPanel,
2891
+ scope: "editor search-panel"
2892
+ }, {
2893
+ key: "Mod-Shift-l",
2894
+ run: selectSelectionMatches
2895
+ }, {
2896
+ key: "Alt-g",
2897
+ run: gotoLine
2898
+ }, {
2899
+ key: "Mod-d",
2900
+ run: selectNextOccurrence,
2901
+ preventDefault: true
2902
+ }];
2903
+ class SearchPanel {
2904
+ constructor(view) {
2905
+ this.view = view;
2906
+ let query = this.query = view.state.field(searchState).query.spec;
2907
+ this.commit = this.commit.bind(this);
2908
+ this.searchField = crelt("input", {
2909
+ value: query.search,
2910
+ placeholder: phrase(view, "Find"),
2911
+ "aria-label": phrase(view, "Find"),
2912
+ class: "cm-textfield",
2913
+ name: "search",
2914
+ form: "",
2915
+ "main-field": "true",
2916
+ onchange: this.commit,
2917
+ onkeyup: this.commit
2918
+ });
2919
+ this.replaceField = crelt("input", {
2920
+ value: query.replace,
2921
+ placeholder: phrase(view, "Replace"),
2922
+ "aria-label": phrase(view, "Replace"),
2923
+ class: "cm-textfield",
2924
+ name: "replace",
2925
+ form: "",
2926
+ onchange: this.commit,
2927
+ onkeyup: this.commit
2928
+ });
2929
+ this.caseField = crelt("input", {
2930
+ type: "checkbox",
2931
+ name: "case",
2932
+ form: "",
2933
+ checked: query.caseSensitive,
2934
+ onchange: this.commit
2935
+ });
2936
+ this.reField = crelt("input", {
2937
+ type: "checkbox",
2938
+ name: "re",
2939
+ form: "",
2940
+ checked: query.regexp,
2941
+ onchange: this.commit
2942
+ });
2943
+ this.wordField = crelt("input", {
2944
+ type: "checkbox",
2945
+ name: "word",
2946
+ form: "",
2947
+ checked: query.wholeWord,
2948
+ onchange: this.commit
2949
+ });
2950
+ function button(name, onclick, content) {
2951
+ return crelt("button", {
2952
+ class: "cm-button",
2953
+ name,
2954
+ onclick,
2955
+ type: "button"
2956
+ }, content);
2957
+ }
2958
+ this.dom = crelt("div", {
2959
+ onkeydown: e => this.keydown(e),
2960
+ class: "cm-search"
2961
+ }, [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", {
2962
+ name: "close",
2963
+ onclick: () => closeSearchPanel(view),
2964
+ "aria-label": phrase(view, "close"),
2965
+ type: "button"
2966
+ }, ["×"])]);
2967
+ }
2968
+ commit() {
2969
+ let query = new SearchQuery({
2970
+ search: this.searchField.value,
2971
+ caseSensitive: this.caseField.checked,
2972
+ regexp: this.reField.checked,
2973
+ wholeWord: this.wordField.checked,
2974
+ replace: this.replaceField.value
2975
+ });
2976
+ if (!query.eq(this.query)) {
2977
+ this.query = query;
2978
+ this.view.dispatch({
2979
+ effects: setSearchQuery.of(query)
2980
+ });
2981
+ }
2982
+ }
2983
+ keydown(e) {
2984
+ if (runScopeHandlers(this.view, e, "search-panel")) {
2985
+ e.preventDefault();
2986
+ } else if (e.keyCode == 13 && e.target == this.searchField) {
2987
+ e.preventDefault();
2988
+ (e.shiftKey ? findPrevious : findNext)(this.view);
2989
+ } else if (e.keyCode == 13 && e.target == this.replaceField) {
2990
+ e.preventDefault();
2991
+ replaceNext(this.view);
2992
+ }
2993
+ }
2994
+ update(update) {
2995
+ for (let tr of update.transactions) for (let effect of tr.effects) {
2996
+ if (effect.is(setSearchQuery) && !effect.value.eq(this.query)) this.setQuery(effect.value);
2997
+ }
2998
+ }
2999
+ setQuery(query) {
3000
+ this.query = query;
3001
+ this.searchField.value = query.search;
3002
+ this.replaceField.value = query.replace;
3003
+ this.caseField.checked = query.caseSensitive;
3004
+ this.reField.checked = query.regexp;
3005
+ this.wordField.checked = query.wholeWord;
3006
+ }
3007
+ mount() {
3008
+ this.searchField.select();
3009
+ }
3010
+ get pos() {
3011
+ return 80;
3012
+ }
3013
+ get top() {
3014
+ return this.view.state.facet(searchConfigFacet).top;
3015
+ }
3016
+ }
3017
+ function phrase(view, phrase) {
3018
+ return view.state.phrase(phrase);
3019
+ }
3020
+ const AnnounceMargin = 30;
3021
+ const Break = /[\s\.,:;?!]/;
3022
+ function announceMatch(view, {
3023
+ from,
3024
+ to
3025
+ }) {
3026
+ let line = view.state.doc.lineAt(from),
3027
+ lineEnd = view.state.doc.lineAt(to).to;
3028
+ let start = Math.max(line.from, from - AnnounceMargin),
3029
+ end = Math.min(lineEnd, to + AnnounceMargin);
3030
+ let text = view.state.sliceDoc(start, end);
3031
+ if (start != line.from) {
3032
+ for (let i = 0; i < AnnounceMargin; i++) if (!Break.test(text[i + 1]) && Break.test(text[i])) {
3033
+ text = text.slice(i);
3034
+ break;
3035
+ }
3036
+ }
3037
+ if (end != lineEnd) {
3038
+ for (let i = text.length - 1; i > text.length - AnnounceMargin; i--) if (!Break.test(text[i - 1]) && Break.test(text[i])) {
3039
+ text = text.slice(0, i);
3040
+ break;
3041
+ }
3042
+ }
3043
+ return EditorView.announce.of(`${view.state.phrase("current match")}. ${text} ${view.state.phrase("on line")} ${line.number}.`);
3044
+ }
3045
+ const baseTheme$2 = /*@__PURE__*/EditorView.baseTheme({
3046
+ ".cm-panel.cm-search": {
3047
+ padding: "2px 6px 4px",
3048
+ position: "relative",
3049
+ "& [name=close]": {
3050
+ position: "absolute",
3051
+ top: "0",
3052
+ right: "4px",
3053
+ backgroundColor: "inherit",
3054
+ border: "none",
3055
+ font: "inherit",
3056
+ padding: 0,
3057
+ margin: 0
3058
+ },
3059
+ "& input, & button, & label": {
3060
+ margin: ".2em .6em .2em 0"
3061
+ },
3062
+ "& input[type=checkbox]": {
3063
+ marginRight: ".2em"
3064
+ },
3065
+ "& label": {
3066
+ fontSize: "80%",
3067
+ whiteSpace: "pre"
3068
+ }
3069
+ },
3070
+ "&light .cm-searchMatch": {
3071
+ backgroundColor: "#ffff0054"
3072
+ },
3073
+ "&dark .cm-searchMatch": {
3074
+ backgroundColor: "#00ffff8a"
3075
+ },
3076
+ "&light .cm-searchMatch-selected": {
3077
+ backgroundColor: "#ff6a0054"
3078
+ },
3079
+ "&dark .cm-searchMatch-selected": {
3080
+ backgroundColor: "#ff00ff8a"
3081
+ }
3082
+ });
3083
+ const searchExtensions = [searchState, /*@__PURE__*/Prec.lowest(searchHighlighter), baseTheme$2];
3084
+
3085
+ class SelectedDiagnostic {
3086
+ constructor(from, to, diagnostic) {
3087
+ this.from = from;
3088
+ this.to = to;
3089
+ this.diagnostic = diagnostic;
3090
+ }
3091
+ }
3092
+ class LintState {
3093
+ constructor(diagnostics, panel, selected) {
3094
+ this.diagnostics = diagnostics;
3095
+ this.panel = panel;
3096
+ this.selected = selected;
3097
+ }
3098
+ static init(diagnostics, panel, state) {
3099
+ // Filter the list of diagnostics for which to create markers
3100
+ let markedDiagnostics = diagnostics;
3101
+ let diagnosticFilter = state.facet(lintConfig).markerFilter;
3102
+ if (diagnosticFilter) markedDiagnostics = diagnosticFilter(markedDiagnostics);
3103
+ let ranges = Decoration.set(markedDiagnostics.map(d => {
3104
+ // For zero-length ranges or ranges covering only a line break, create a widget
3105
+ return d.from == d.to || d.from == d.to - 1 && state.doc.lineAt(d.from).to == d.from ? Decoration.widget({
3106
+ widget: new DiagnosticWidget(d),
3107
+ diagnostic: d
3108
+ }).range(d.from) : Decoration.mark({
3109
+ attributes: {
3110
+ class: "cm-lintRange cm-lintRange-" + d.severity
3111
+ },
3112
+ diagnostic: d
3113
+ }).range(d.from, d.to);
3114
+ }), true);
3115
+ return new LintState(ranges, panel, findDiagnostic(ranges));
3116
+ }
3117
+ }
3118
+ function findDiagnostic(diagnostics, diagnostic = null, after = 0) {
3119
+ let found = null;
3120
+ diagnostics.between(after, 1e9, (from, to, {
3121
+ spec
3122
+ }) => {
3123
+ if (diagnostic && spec.diagnostic != diagnostic) return;
3124
+ found = new SelectedDiagnostic(from, to, spec.diagnostic);
3125
+ return false;
3126
+ });
3127
+ return found;
3128
+ }
3129
+ function hideTooltip(tr, tooltip) {
3130
+ return !!(tr.effects.some(e => e.is(setDiagnosticsEffect)) || tr.changes.touchesRange(tooltip.pos));
3131
+ }
3132
+ function maybeEnableLint(state, effects) {
3133
+ return state.field(lintState, false) ? effects : effects.concat(StateEffect.appendConfig.of([lintState, EditorView.decorations.compute([lintState], state => {
3134
+ let {
3135
+ selected,
3136
+ panel
3137
+ } = state.field(lintState);
3138
+ return !selected || !panel || selected.from == selected.to ? Decoration.none : Decoration.set([activeMark.range(selected.from, selected.to)]);
3139
+ }), hoverTooltip(lintTooltip, {
3140
+ hideOn: hideTooltip
3141
+ }), baseTheme]));
3142
+ }
3143
+ /**
3144
+ Returns a transaction spec which updates the current set of
3145
+ diagnostics, and enables the lint extension if if wasn't already
3146
+ active.
3147
+ */
3148
+ function setDiagnostics(state, diagnostics) {
3149
+ return {
3150
+ effects: maybeEnableLint(state, [setDiagnosticsEffect.of(diagnostics)])
3151
+ };
3152
+ }
3153
+ /**
3154
+ The state effect that updates the set of active diagnostics. Can
3155
+ be useful when writing an extension that needs to track these.
3156
+ */
3157
+ const setDiagnosticsEffect = /*@__PURE__*/StateEffect.define();
3158
+ const togglePanel = /*@__PURE__*/StateEffect.define();
3159
+ const movePanelSelection = /*@__PURE__*/StateEffect.define();
3160
+ const lintState = /*@__PURE__*/StateField.define({
3161
+ create() {
3162
+ return new LintState(Decoration.none, null, null);
3163
+ },
3164
+ update(value, tr) {
3165
+ if (tr.docChanged) {
3166
+ let mapped = value.diagnostics.map(tr.changes),
3167
+ selected = null;
3168
+ if (value.selected) {
3169
+ let selPos = tr.changes.mapPos(value.selected.from, 1);
3170
+ selected = findDiagnostic(mapped, value.selected.diagnostic, selPos) || findDiagnostic(mapped, null, selPos);
3171
+ }
3172
+ value = new LintState(mapped, value.panel, selected);
3173
+ }
3174
+ for (let effect of tr.effects) {
3175
+ if (effect.is(setDiagnosticsEffect)) {
3176
+ value = LintState.init(effect.value, value.panel, tr.state);
3177
+ } else if (effect.is(togglePanel)) {
3178
+ value = new LintState(value.diagnostics, effect.value ? LintPanel.open : null, value.selected);
3179
+ } else if (effect.is(movePanelSelection)) {
3180
+ value = new LintState(value.diagnostics, value.panel, effect.value);
3181
+ }
3182
+ }
3183
+ return value;
3184
+ },
3185
+ provide: f => [showPanel.from(f, val => val.panel), EditorView.decorations.from(f, s => s.diagnostics)]
3186
+ });
3187
+ const activeMark = /*@__PURE__*/Decoration.mark({
3188
+ class: "cm-lintRange cm-lintRange-active"
3189
+ });
3190
+ function lintTooltip(view, pos, side) {
3191
+ let {
3192
+ diagnostics
3193
+ } = view.state.field(lintState);
3194
+ let found = [],
3195
+ stackStart = 2e8,
3196
+ stackEnd = 0;
3197
+ diagnostics.between(pos - (side < 0 ? 1 : 0), pos + (side > 0 ? 1 : 0), (from, to, {
3198
+ spec
3199
+ }) => {
3200
+ if (pos >= from && pos <= to && (from == to || (pos > from || side > 0) && (pos < to || side < 0))) {
3201
+ found.push(spec.diagnostic);
3202
+ stackStart = Math.min(from, stackStart);
3203
+ stackEnd = Math.max(to, stackEnd);
3204
+ }
3205
+ });
3206
+ let diagnosticFilter = view.state.facet(lintConfig).tooltipFilter;
3207
+ if (diagnosticFilter) found = diagnosticFilter(found);
3208
+ if (!found.length) return null;
3209
+ return {
3210
+ pos: stackStart,
3211
+ end: stackEnd,
3212
+ above: view.state.doc.lineAt(stackStart).to < stackEnd,
3213
+ create() {
3214
+ return {
3215
+ dom: diagnosticsTooltip(view, found)
3216
+ };
3217
+ }
3218
+ };
3219
+ }
3220
+ function diagnosticsTooltip(view, diagnostics) {
3221
+ return crelt("ul", {
3222
+ class: "cm-tooltip-lint"
3223
+ }, diagnostics.map(d => renderDiagnostic(view, d, false)));
3224
+ }
3225
+ /**
3226
+ Command to open and focus the lint panel.
3227
+ */
3228
+ const openLintPanel = view => {
3229
+ let field = view.state.field(lintState, false);
3230
+ if (!field || !field.panel) view.dispatch({
3231
+ effects: maybeEnableLint(view.state, [togglePanel.of(true)])
3232
+ });
3233
+ let panel = getPanel(view, LintPanel.open);
3234
+ if (panel) panel.dom.querySelector(".cm-panel-lint ul").focus();
3235
+ return true;
3236
+ };
3237
+ /**
3238
+ Command to close the lint panel, when open.
3239
+ */
3240
+ const closeLintPanel = view => {
3241
+ let field = view.state.field(lintState, false);
3242
+ if (!field || !field.panel) return false;
3243
+ view.dispatch({
3244
+ effects: togglePanel.of(false)
3245
+ });
3246
+ return true;
3247
+ };
3248
+ /**
3249
+ Move the selection to the next diagnostic.
3250
+ */
3251
+ const nextDiagnostic = view => {
3252
+ let field = view.state.field(lintState, false);
3253
+ if (!field) return false;
3254
+ let sel = view.state.selection.main,
3255
+ next = field.diagnostics.iter(sel.to + 1);
3256
+ if (!next.value) {
3257
+ next = field.diagnostics.iter(0);
3258
+ if (!next.value || next.from == sel.from && next.to == sel.to) return false;
3259
+ }
3260
+ view.dispatch({
3261
+ selection: {
3262
+ anchor: next.from,
3263
+ head: next.to
3264
+ },
3265
+ scrollIntoView: true
3266
+ });
3267
+ return true;
3268
+ };
3269
+ /**
3270
+ A set of default key bindings for the lint functionality.
3271
+
3272
+ - Ctrl-Shift-m (Cmd-Shift-m on macOS): [`openLintPanel`](https://codemirror.net/6/docs/ref/#lint.openLintPanel)
3273
+ - F8: [`nextDiagnostic`](https://codemirror.net/6/docs/ref/#lint.nextDiagnostic)
3274
+ */
3275
+ const lintKeymap = [{
3276
+ key: "Mod-Shift-m",
3277
+ run: openLintPanel,
3278
+ preventDefault: true
3279
+ }, {
3280
+ key: "F8",
3281
+ run: nextDiagnostic
3282
+ }];
3283
+ const lintPlugin = /*@__PURE__*/ViewPlugin.fromClass(class {
3284
+ constructor(view) {
3285
+ this.view = view;
3286
+ this.timeout = -1;
3287
+ this.set = true;
3288
+ let {
3289
+ delay
3290
+ } = view.state.facet(lintConfig);
3291
+ this.lintTime = Date.now() + delay;
3292
+ this.run = this.run.bind(this);
3293
+ this.timeout = setTimeout(this.run, delay);
3294
+ }
3295
+ run() {
3296
+ let now = Date.now();
3297
+ if (now < this.lintTime - 10) {
3298
+ setTimeout(this.run, this.lintTime - now);
3299
+ } else {
3300
+ this.set = false;
3301
+ let {
3302
+ state
3303
+ } = this.view,
3304
+ {
3305
+ sources
3306
+ } = state.facet(lintConfig);
3307
+ Promise.all(sources.map(source => Promise.resolve(source(this.view)))).then(annotations => {
3308
+ let all = annotations.reduce((a, b) => a.concat(b));
3309
+ if (this.view.state.doc == state.doc) this.view.dispatch(setDiagnostics(this.view.state, all));
3310
+ }, error => {
3311
+ logException(this.view.state, error);
3312
+ });
3313
+ }
3314
+ }
3315
+ update(update) {
3316
+ let config = update.state.facet(lintConfig);
3317
+ if (update.docChanged || config != update.startState.facet(lintConfig)) {
3318
+ this.lintTime = Date.now() + config.delay;
3319
+ if (!this.set) {
3320
+ this.set = true;
3321
+ this.timeout = setTimeout(this.run, config.delay);
3322
+ }
3323
+ }
3324
+ }
3325
+ force() {
3326
+ if (this.set) {
3327
+ this.lintTime = Date.now();
3328
+ this.run();
3329
+ }
3330
+ }
3331
+ destroy() {
3332
+ clearTimeout(this.timeout);
3333
+ }
3334
+ });
3335
+ const lintConfig = /*@__PURE__*/Facet.define({
3336
+ combine(input) {
3337
+ return Object.assign({
3338
+ sources: input.map(i => i.source)
3339
+ }, combineConfig(input.map(i => i.config), {
3340
+ delay: 750,
3341
+ markerFilter: null,
3342
+ tooltipFilter: null
3343
+ }));
3344
+ },
3345
+ enables: lintPlugin
3346
+ });
3347
+ function assignKeys(actions) {
3348
+ let assigned = [];
3349
+ if (actions) actions: for (let {
3350
+ name
3351
+ } of actions) {
3352
+ for (let i = 0; i < name.length; i++) {
3353
+ let ch = name[i];
3354
+ if (/[a-zA-Z]/.test(ch) && !assigned.some(c => c.toLowerCase() == ch.toLowerCase())) {
3355
+ assigned.push(ch);
3356
+ continue actions;
3357
+ }
3358
+ }
3359
+ assigned.push("");
3360
+ }
3361
+ return assigned;
3362
+ }
3363
+ function renderDiagnostic(view, diagnostic, inPanel) {
3364
+ var _a;
3365
+ let keys = inPanel ? assignKeys(diagnostic.actions) : [];
3366
+ return crelt("li", {
3367
+ class: "cm-diagnostic cm-diagnostic-" + diagnostic.severity
3368
+ }, crelt("span", {
3369
+ class: "cm-diagnosticText"
3370
+ }, diagnostic.renderMessage ? diagnostic.renderMessage() : diagnostic.message), (_a = diagnostic.actions) === null || _a === void 0 ? void 0 : _a.map((action, i) => {
3371
+ let click = e => {
3372
+ e.preventDefault();
3373
+ let found = findDiagnostic(view.state.field(lintState).diagnostics, diagnostic);
3374
+ if (found) action.apply(view, found.from, found.to);
3375
+ };
3376
+ let {
3377
+ name
3378
+ } = action,
3379
+ keyIndex = keys[i] ? name.indexOf(keys[i]) : -1;
3380
+ let nameElt = keyIndex < 0 ? name : [name.slice(0, keyIndex), crelt("u", name.slice(keyIndex, keyIndex + 1)), name.slice(keyIndex + 1)];
3381
+ return crelt("button", {
3382
+ type: "button",
3383
+ class: "cm-diagnosticAction",
3384
+ onclick: click,
3385
+ onmousedown: click,
3386
+ "aria-label": ` Action: ${name}${keyIndex < 0 ? "" : ` (access key "${keys[i]})"`}.`
3387
+ }, nameElt);
3388
+ }), diagnostic.source && crelt("div", {
3389
+ class: "cm-diagnosticSource"
3390
+ }, diagnostic.source));
3391
+ }
3392
+ class DiagnosticWidget extends WidgetType {
3393
+ constructor(diagnostic) {
3394
+ super();
3395
+ this.diagnostic = diagnostic;
3396
+ }
3397
+ eq(other) {
3398
+ return other.diagnostic == this.diagnostic;
3399
+ }
3400
+ toDOM() {
3401
+ return crelt("span", {
3402
+ class: "cm-lintPoint cm-lintPoint-" + this.diagnostic.severity
3403
+ });
3404
+ }
3405
+ }
3406
+ class PanelItem {
3407
+ constructor(view, diagnostic) {
3408
+ this.diagnostic = diagnostic;
3409
+ this.id = "item_" + Math.floor(Math.random() * 0xffffffff).toString(16);
3410
+ this.dom = renderDiagnostic(view, diagnostic, true);
3411
+ this.dom.id = this.id;
3412
+ this.dom.setAttribute("role", "option");
3413
+ }
3414
+ }
3415
+ class LintPanel {
3416
+ constructor(view) {
3417
+ this.view = view;
3418
+ this.items = [];
3419
+ let onkeydown = event => {
3420
+ if (event.keyCode == 27) {
3421
+ // Escape
3422
+ closeLintPanel(this.view);
3423
+ this.view.focus();
3424
+ } else if (event.keyCode == 38 || event.keyCode == 33) {
3425
+ // ArrowUp, PageUp
3426
+ this.moveSelection((this.selectedIndex - 1 + this.items.length) % this.items.length);
3427
+ } else if (event.keyCode == 40 || event.keyCode == 34) {
3428
+ // ArrowDown, PageDown
3429
+ this.moveSelection((this.selectedIndex + 1) % this.items.length);
3430
+ } else if (event.keyCode == 36) {
3431
+ // Home
3432
+ this.moveSelection(0);
3433
+ } else if (event.keyCode == 35) {
3434
+ // End
3435
+ this.moveSelection(this.items.length - 1);
3436
+ } else if (event.keyCode == 13) {
3437
+ // Enter
3438
+ this.view.focus();
3439
+ } else if (event.keyCode >= 65 && event.keyCode <= 90 && this.selectedIndex >= 0) {
3440
+ // A-Z
3441
+ let {
3442
+ diagnostic
3443
+ } = this.items[this.selectedIndex],
3444
+ keys = assignKeys(diagnostic.actions);
3445
+ for (let i = 0; i < keys.length; i++) if (keys[i].toUpperCase().charCodeAt(0) == event.keyCode) {
3446
+ let found = findDiagnostic(this.view.state.field(lintState).diagnostics, diagnostic);
3447
+ if (found) diagnostic.actions[i].apply(view, found.from, found.to);
3448
+ }
3449
+ } else {
3450
+ return;
3451
+ }
3452
+ event.preventDefault();
3453
+ };
3454
+ let onclick = event => {
3455
+ for (let i = 0; i < this.items.length; i++) {
3456
+ if (this.items[i].dom.contains(event.target)) this.moveSelection(i);
3457
+ }
3458
+ };
3459
+ this.list = crelt("ul", {
3460
+ tabIndex: 0,
3461
+ role: "listbox",
3462
+ "aria-label": this.view.state.phrase("Diagnostics"),
3463
+ onkeydown,
3464
+ onclick
3465
+ });
3466
+ this.dom = crelt("div", {
3467
+ class: "cm-panel-lint"
3468
+ }, this.list, crelt("button", {
3469
+ type: "button",
3470
+ name: "close",
3471
+ "aria-label": this.view.state.phrase("close"),
3472
+ onclick: () => closeLintPanel(this.view)
3473
+ }, "×"));
3474
+ this.update();
3475
+ }
3476
+ get selectedIndex() {
3477
+ let selected = this.view.state.field(lintState).selected;
3478
+ if (!selected) return -1;
3479
+ for (let i = 0; i < this.items.length; i++) if (this.items[i].diagnostic == selected.diagnostic) return i;
3480
+ return -1;
3481
+ }
3482
+ update() {
3483
+ let {
3484
+ diagnostics,
3485
+ selected
3486
+ } = this.view.state.field(lintState);
3487
+ let i = 0,
3488
+ needsSync = false,
3489
+ newSelectedItem = null;
3490
+ diagnostics.between(0, this.view.state.doc.length, (_start, _end, {
3491
+ spec
3492
+ }) => {
3493
+ let found = -1,
3494
+ item;
3495
+ for (let j = i; j < this.items.length; j++) if (this.items[j].diagnostic == spec.diagnostic) {
3496
+ found = j;
3497
+ break;
3498
+ }
3499
+ if (found < 0) {
3500
+ item = new PanelItem(this.view, spec.diagnostic);
3501
+ this.items.splice(i, 0, item);
3502
+ needsSync = true;
3503
+ } else {
3504
+ item = this.items[found];
3505
+ if (found > i) {
3506
+ this.items.splice(i, found - i);
3507
+ needsSync = true;
3508
+ }
3509
+ }
3510
+ if (selected && item.diagnostic == selected.diagnostic) {
3511
+ if (!item.dom.hasAttribute("aria-selected")) {
3512
+ item.dom.setAttribute("aria-selected", "true");
3513
+ newSelectedItem = item;
3514
+ }
3515
+ } else if (item.dom.hasAttribute("aria-selected")) {
3516
+ item.dom.removeAttribute("aria-selected");
3517
+ }
3518
+ i++;
3519
+ });
3520
+ while (i < this.items.length && !(this.items.length == 1 && this.items[0].diagnostic.from < 0)) {
3521
+ needsSync = true;
3522
+ this.items.pop();
3523
+ }
3524
+ if (this.items.length == 0) {
3525
+ this.items.push(new PanelItem(this.view, {
3526
+ from: -1,
3527
+ to: -1,
3528
+ severity: "info",
3529
+ message: this.view.state.phrase("No diagnostics")
3530
+ }));
3531
+ needsSync = true;
3532
+ }
3533
+ if (newSelectedItem) {
3534
+ this.list.setAttribute("aria-activedescendant", newSelectedItem.id);
3535
+ this.view.requestMeasure({
3536
+ key: this,
3537
+ read: () => ({
3538
+ sel: newSelectedItem.dom.getBoundingClientRect(),
3539
+ panel: this.list.getBoundingClientRect()
3540
+ }),
3541
+ write: ({
3542
+ sel,
3543
+ panel
3544
+ }) => {
3545
+ 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;
3546
+ }
3547
+ });
3548
+ } else if (this.selectedIndex < 0) {
3549
+ this.list.removeAttribute("aria-activedescendant");
3550
+ }
3551
+ if (needsSync) this.sync();
3552
+ }
3553
+ sync() {
3554
+ let domPos = this.list.firstChild;
3555
+ function rm() {
3556
+ let prev = domPos;
3557
+ domPos = prev.nextSibling;
3558
+ prev.remove();
3559
+ }
3560
+ for (let item of this.items) {
3561
+ if (item.dom.parentNode == this.list) {
3562
+ while (domPos != item.dom) rm();
3563
+ domPos = item.dom.nextSibling;
3564
+ } else {
3565
+ this.list.insertBefore(item.dom, domPos);
3566
+ }
3567
+ }
3568
+ while (domPos) rm();
3569
+ }
3570
+ moveSelection(selectedIndex) {
3571
+ if (this.selectedIndex < 0) return;
3572
+ let field = this.view.state.field(lintState);
3573
+ let selection = findDiagnostic(field.diagnostics, this.items[selectedIndex].diagnostic);
3574
+ if (!selection) return;
3575
+ this.view.dispatch({
3576
+ selection: {
3577
+ anchor: selection.from,
3578
+ head: selection.to
3579
+ },
3580
+ scrollIntoView: true,
3581
+ effects: movePanelSelection.of(selection)
3582
+ });
3583
+ }
3584
+ static open(view) {
3585
+ return new LintPanel(view);
3586
+ }
3587
+ }
3588
+ function svg(content, attrs = `viewBox="0 0 40 40"`) {
3589
+ return `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${attrs}>${encodeURIComponent(content)}</svg>')`;
3590
+ }
3591
+ function underline(color) {
3592
+ 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"`);
3593
+ }
3594
+ const baseTheme = /*@__PURE__*/EditorView.baseTheme({
3595
+ ".cm-diagnostic": {
3596
+ padding: "3px 6px 3px 8px",
3597
+ marginLeft: "-1px",
3598
+ display: "block",
3599
+ whiteSpace: "pre-wrap"
3600
+ },
3601
+ ".cm-diagnostic-error": {
3602
+ borderLeft: "5px solid #d11"
3603
+ },
3604
+ ".cm-diagnostic-warning": {
3605
+ borderLeft: "5px solid orange"
3606
+ },
3607
+ ".cm-diagnostic-info": {
3608
+ borderLeft: "5px solid #999"
3609
+ },
3610
+ ".cm-diagnosticAction": {
3611
+ font: "inherit",
3612
+ border: "none",
3613
+ padding: "2px 4px",
3614
+ backgroundColor: "#444",
3615
+ color: "white",
3616
+ borderRadius: "3px",
3617
+ marginLeft: "8px"
3618
+ },
3619
+ ".cm-diagnosticSource": {
3620
+ fontSize: "70%",
3621
+ opacity: .7
3622
+ },
3623
+ ".cm-lintRange": {
3624
+ backgroundPosition: "left bottom",
3625
+ backgroundRepeat: "repeat-x",
3626
+ paddingBottom: "0.7px"
3627
+ },
3628
+ ".cm-lintRange-error": {
3629
+ backgroundImage: /*@__PURE__*/underline("#d11")
3630
+ },
3631
+ ".cm-lintRange-warning": {
3632
+ backgroundImage: /*@__PURE__*/underline("orange")
3633
+ },
3634
+ ".cm-lintRange-info": {
3635
+ backgroundImage: /*@__PURE__*/underline("#999")
3636
+ },
3637
+ ".cm-lintRange-active": {
3638
+ backgroundColor: "#ffdd9980"
3639
+ },
3640
+ ".cm-tooltip-lint": {
3641
+ padding: 0,
3642
+ margin: 0
3643
+ },
3644
+ ".cm-lintPoint": {
3645
+ position: "relative",
3646
+ "&:after": {
3647
+ content: '""',
3648
+ position: "absolute",
3649
+ bottom: 0,
3650
+ left: "-2px",
3651
+ borderLeft: "3px solid transparent",
3652
+ borderRight: "3px solid transparent",
3653
+ borderBottom: "4px solid #d11"
3654
+ }
3655
+ },
3656
+ ".cm-lintPoint-warning": {
3657
+ "&:after": {
3658
+ borderBottomColor: "orange"
3659
+ }
3660
+ },
3661
+ ".cm-lintPoint-info": {
3662
+ "&:after": {
3663
+ borderBottomColor: "#999"
3664
+ }
3665
+ },
3666
+ ".cm-panel.cm-panel-lint": {
3667
+ position: "relative",
3668
+ "& ul": {
3669
+ maxHeight: "100px",
3670
+ overflowY: "auto",
3671
+ "& [aria-selected]": {
3672
+ backgroundColor: "#ddd",
3673
+ "& u": {
3674
+ textDecoration: "underline"
3675
+ }
3676
+ },
3677
+ "&:focus [aria-selected]": {
3678
+ background_fallback: "#bdf",
3679
+ backgroundColor: "Highlight",
3680
+ color_fallback: "white",
3681
+ color: "HighlightText"
3682
+ },
3683
+ "& u": {
3684
+ textDecoration: "none"
3685
+ },
3686
+ padding: 0,
3687
+ margin: 0
3688
+ },
3689
+ "& [name=close]": {
3690
+ position: "absolute",
3691
+ top: "0",
3692
+ right: "2px",
3693
+ background: "inherit",
3694
+ border: "none",
3695
+ font: "inherit",
3696
+ padding: 0,
3697
+ margin: 0
3698
+ }
3699
+ }
3700
+ });
3701
+
3702
+ // (The superfluous function calls around the list of extensions work
3703
+ // around current limitations in tree-shaking software.)
3704
+ /**
3705
+ This is an extension value that just pulls together a number of
3706
+ extensions that you might want in a basic editor. It is meant as a
3707
+ convenient helper to quickly set up CodeMirror without installing
3708
+ and importing a lot of separate packages.
3709
+
3710
+ Specifically, it includes...
3711
+
3712
+ - [the default command bindings](https://codemirror.net/6/docs/ref/#commands.defaultKeymap)
3713
+ - [line numbers](https://codemirror.net/6/docs/ref/#view.lineNumbers)
3714
+ - [special character highlighting](https://codemirror.net/6/docs/ref/#view.highlightSpecialChars)
3715
+ - [the undo history](https://codemirror.net/6/docs/ref/#commands.history)
3716
+ - [a fold gutter](https://codemirror.net/6/docs/ref/#language.foldGutter)
3717
+ - [custom selection drawing](https://codemirror.net/6/docs/ref/#view.drawSelection)
3718
+ - [drop cursor](https://codemirror.net/6/docs/ref/#view.dropCursor)
3719
+ - [multiple selections](https://codemirror.net/6/docs/ref/#state.EditorState^allowMultipleSelections)
3720
+ - [reindentation on input](https://codemirror.net/6/docs/ref/#language.indentOnInput)
3721
+ - [the default highlight style](https://codemirror.net/6/docs/ref/#language.defaultHighlightStyle) (as fallback)
3722
+ - [bracket matching](https://codemirror.net/6/docs/ref/#language.bracketMatching)
3723
+ - [bracket closing](https://codemirror.net/6/docs/ref/#autocomplete.closeBrackets)
3724
+ - [autocompletion](https://codemirror.net/6/docs/ref/#autocomplete.autocompletion)
3725
+ - [rectangular selection](https://codemirror.net/6/docs/ref/#view.rectangularSelection) and [crosshair cursor](https://codemirror.net/6/docs/ref/#view.crosshairCursor)
3726
+ - [active line highlighting](https://codemirror.net/6/docs/ref/#view.highlightActiveLine)
3727
+ - [active line gutter highlighting](https://codemirror.net/6/docs/ref/#view.highlightActiveLineGutter)
3728
+ - [selection match highlighting](https://codemirror.net/6/docs/ref/#search.highlightSelectionMatches)
3729
+ - [search](https://codemirror.net/6/docs/ref/#search.searchKeymap)
3730
+ - [linting](https://codemirror.net/6/docs/ref/#lint.lintKeymap)
3731
+
3732
+ (You'll probably want to add some language package to your setup
3733
+ too.)
3734
+
3735
+ This extension does not allow customization. The idea is that,
3736
+ once you decide you want to configure your editor more precisely,
3737
+ you take this package's source (which is just a bunch of imports
3738
+ and an array literal), copy it into your own code, and adjust it
3739
+ as desired.
3740
+ */
3741
+ const basicSetup = /*@__PURE__*/(() => [lineNumbers(), highlightActiveLineGutter(), highlightSpecialChars(), history(), foldGutter(), drawSelection(), dropCursor(), EditorState.allowMultipleSelections.of(true), indentOnInput(), syntaxHighlighting(defaultHighlightStyle, {
3742
+ fallback: true
3743
+ }), bracketMatching(), closeBrackets(), autocompletion(), rectangularSelection(), crosshairCursor(), highlightActiveLine(), highlightSelectionMatches(), keymap.of([...closeBracketsKeymap, ...defaultKeymap, ...searchKeymap, ...historyKeymap, ...foldKeymap, ...completionKeymap, ...lintKeymap])])();
3744
+
3745
+ //partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
3746
+ var script = defineComponent({
3747
+ name: 'OrCode',
3748
+ components: {
3749
+ OrIconButton: script$1,
3750
+ OrModal: script$2,
3751
+ OrTeleport: script$3,
3752
+ OrError: script$4,
3753
+ OrHint: script$5,
3754
+ OrLabel: script$6
3755
+ },
3756
+ model: {
3757
+ prop: 'modelValue',
3758
+ event: 'update:modelValue'
3759
+ },
3760
+ props: {
3761
+ label: {
3762
+ type: String,
3763
+ default: '',
3764
+ required: false
3765
+ },
3766
+ modelValue: {
3767
+ type: String,
3768
+ default: '',
3769
+ required: false
3770
+ },
3771
+ language: {
3772
+ type: [Object, String],
3773
+ required: false,
3774
+ default: OrCodeLanguages.JS
3775
+ },
3776
+ isReadonly: {
3777
+ type: Boolean,
3778
+ required: false,
3779
+ default: false
3780
+ },
3781
+ extensions: {
3782
+ type: Array,
3783
+ required: false,
3784
+ default: () => [basicSetup]
3785
+ },
3786
+ phrases: {
3787
+ type: Object,
3788
+ required: false,
3789
+ default: null
3790
+ },
3791
+ isShowingFullscreen: {
3792
+ type: Boolean,
3793
+ default: true,
3794
+ required: false
3795
+ },
3796
+ isInvalid: {
3797
+ type: Boolean,
3798
+ default: false,
3799
+ required: false
3800
+ },
3801
+ error: {
3802
+ type: String,
3803
+ default: '',
3804
+ required: false
3805
+ },
3806
+ hint: {
3807
+ type: String,
3808
+ default: '',
3809
+ required: false
3810
+ },
3811
+ allowPaste: {
3812
+ type: Boolean,
3813
+ default: true
3814
+ },
3815
+ allowDrop: {
3816
+ type: Boolean,
3817
+ default: true
3818
+ },
3819
+ lineWrapping: {
3820
+ type: Boolean,
3821
+ default: false
3822
+ }
3823
+ },
3824
+ emits: ['update:modelValue', 'focus', 'blur'],
3825
+ setup(props, {
3826
+ emit
3827
+ }) {
3828
+ // editor config
3829
+ const root = ref();
3830
+ const target = ref();
3831
+ const fullscreenTarget = ref();
3832
+ const isHovered = useElementHover(root);
3833
+ const editor = new EditorView({
3834
+ state: EditorState.create({
3835
+ doc: props.modelValue
3836
+ }),
3837
+ dispatch: tr => {
3838
+ editor.update([tr]);
3839
+ if (tr.changes.empty) return;
3840
+ emit('update:modelValue', editor.state.doc.toString());
3841
+ }
3842
+ });
3843
+ return {
3844
+ root,
3845
+ target,
3846
+ fullscreenTarget,
3847
+ editor,
3848
+ isHovered
3849
+ };
3850
+ },
3851
+ data() {
3852
+ return {
3853
+ isFullscreen: false
3854
+ };
3855
+ },
3856
+ computed: {
3857
+ localLanguage() {
3858
+ if (_.includes(_.values(OrCodeLanguages), this.language)) {
3859
+ return languages[this.language];
3860
+ } else {
3861
+ return this.language;
3862
+ }
3863
+ },
3864
+ localExtensions() {
3865
+ const {
3866
+ allowDrop,
3867
+ allowPaste,
3868
+ lineWrapping
3869
+ } = this;
3870
+ const ext = _.compact([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]), ...this.extensions]);
3898
+ return [...ext];
3899
+ },
3900
+ isShowingError() {
3901
+ return !!this.error && this.isInvalid;
3902
+ },
3903
+ isShowingHint() {
3904
+ return !!this.hint && !this.isShowingError;
3905
+ },
3906
+ isShowingHeader() {
3907
+ var _a;
3908
+ return this.isShowingFullscreen || this.$slots.label || this.$slots.actions || ((_a = this.$scopedSlots) === null || _a === void 0 ? void 0 : _a.actions);
3909
+ }
3910
+ },
3911
+ watch: {
3912
+ modelValue(value) {
3913
+ if (this.editor.composing) return;
3914
+ if (this.editor.state.doc.toString() === value) return;
3915
+ const previous = this.editor.state.selection;
3916
+ this.editor.setState(EditorState.create({
3917
+ doc: value,
3918
+ extensions: this.localExtensions,
3919
+ selection: _.some(previous.ranges, range => range.to > value.length) ? {
3920
+ anchor: value.length
3921
+ } : previous
3922
+ }));
3923
+ },
3924
+ isFullscreen(value) {
3925
+ if (value) {
3926
+ this.fullscreenTarget.append(this.editor.dom);
3927
+ } else {
3928
+ this.target.append(this.editor.dom);
3929
+ }
3930
+ },
3931
+ localExtensions() {
3932
+ this.updateEditorState();
3933
+ }
3934
+ },
3935
+ mounted() {
3936
+ this.updateEditorState();
3937
+ this.target.append(this.editor.dom);
3938
+ },
3939
+ beforeUnmount() {
3940
+ var _a;
3941
+ (_a = this.editor) === null || _a === void 0 ? void 0 : _a.destroy();
3942
+ },
3943
+ methods: {
3944
+ updateEditorState() {
3945
+ this.editor.setState(EditorState.create({
3946
+ doc: this.modelValue,
3947
+ extensions: this.localExtensions
3948
+ }));
3949
+ },
3950
+ toggleFullscreen(value) {
3951
+ this.isFullscreen = value === undefined ? !this.isFullscreen : value;
3952
+ }
3953
+ }
3954
+ });
3955
+
3956
+ export { script as s };