@onereach/ui-components 4.5.0-beta.2738.0 → 4.5.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 (470) hide show
  1. package/dist/bundled/v2/{OrDateTimePickerMonthSelect-5fa6caa0.js → OrDateTimePickerMonthSelect-75089f80.js} +6 -3
  2. package/dist/bundled/v2/{OrDateTimePickerTimeSelect-aa60911c.js → OrDateTimePickerTimeSelect-3d0ef650.js} +6 -3
  3. package/dist/bundled/v2/components/OrCode/OrCode.js +3792 -6
  4. package/dist/bundled/v2/components/OrCode/index.js +2 -6
  5. package/dist/bundled/v2/components/OrCode/lang.js +3 -3941
  6. package/dist/bundled/v2/components/OrCode/theme.js +1 -2
  7. package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +1 -2
  8. package/dist/bundled/v2/components/OrConfirm/index.js +1 -2
  9. package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +1 -1
  10. package/dist/bundled/v2/components/OrConfirmV3/index.js +1 -1
  11. package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +12 -1
  12. package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
  13. package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +13 -2
  14. package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +2 -2
  15. package/dist/bundled/v2/components/OrModal/OrModal.js +1346 -3
  16. package/dist/bundled/v2/components/OrModal/index.js +0 -1
  17. package/dist/bundled/v2/components/OrTabsV3/styles.js +1 -1
  18. package/dist/bundled/v2/components/OrTextV3/OrText.vue.d.ts +2 -2
  19. package/dist/bundled/v2/components/OrTextarea/OrTextarea.vue.d.ts +2 -2
  20. package/dist/bundled/v2/components/OrTextareaV3/OrTextarea.vue.d.ts +2 -2
  21. package/dist/bundled/v2/components/OrTextbox/OrTextbox.vue.d.ts +2 -2
  22. package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +12 -1
  23. package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.vue.d.ts +2 -2
  24. package/dist/bundled/v2/components/OrTimePickerV3/index.js +1 -1
  25. package/dist/bundled/v2/components/OrToast/OrToast.vue.d.ts +2 -2
  26. package/dist/bundled/v2/components/OrToastV3/OrToast.vue.d.ts +2 -2
  27. package/dist/bundled/v2/components/OrTooltip/OrTooltip.vue.d.ts +2 -2
  28. package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +2 -2
  29. package/dist/bundled/v2/components/index.d.ts +0 -1
  30. package/dist/bundled/v2/components/index.js +5 -19
  31. package/dist/bundled/v2/{index-0d224ae5.js → index-cf2c3c27.js} +115 -3
  32. package/dist/bundled/v2/index.js +8 -22
  33. package/dist/bundled/{v3/index-e9f6b2d8.js → v2/lang-0fb8f78b.js} +4009 -73
  34. package/dist/bundled/v3/{index-d92d0b48.js → OrCode.vue_vue_type_script_lang-74060519.js} +235 -14
  35. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-13397889.js → OrConfirm.vue_vue_type_script_lang-e1390930.js} +1 -1
  36. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-4eaa8470.js → OrConfirm.vue_vue_type_script_lang-e5a8f92a.js} +2 -2
  37. package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-33719f37.js → OrDatePicker.vue_vue_type_script_lang-d071d109.js} +1 -1
  38. package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-ef95eeb6.js → OrDateTimePicker.vue_vue_type_script_lang-8aa80833.js} +2 -2
  39. package/dist/bundled/v3/{OrDateTimePickerMonthSelect-fe878127.js → OrDateTimePickerMonthSelect-387c2096.js} +6 -4
  40. package/dist/bundled/v3/{OrDateTimePickerTimeSelect-b962e4d5.js → OrDateTimePickerTimeSelect-8bdb97b7.js} +6 -4
  41. package/dist/bundled/{v2/useFocusTrap-48767a70.js → v3/OrModal.vue_vue_type_script_lang-ae842e5b.js} +106 -3
  42. package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-dd7222e8.js → OrTimePicker.vue_vue_type_script_lang-c52a2a0b.js} +1 -1
  43. package/dist/bundled/v3/components/OrAvatar/OrAvatar.vue.d.ts +11 -26
  44. package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +8 -24
  45. package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +20 -33
  46. package/dist/bundled/v3/components/OrButton/OrButton.vue.d.ts +16 -51
  47. package/dist/bundled/v3/components/OrButtonV2/OrButton.vue.d.ts +20 -57
  48. package/dist/bundled/v3/components/OrButtonV3/OrButton.vue.d.ts +15 -35
  49. package/dist/bundled/v3/components/OrCard/OrCard.vue.d.ts +7 -15
  50. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.vue.d.ts +21 -47
  51. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +22 -70
  52. package/dist/bundled/v3/components/OrCardV3/OrCard.vue.d.ts +4 -7
  53. package/dist/bundled/v3/components/OrCarousel/OrCarousel.vue.d.ts +126 -676
  54. package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.vue.d.ts +1 -1
  55. package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.vue.d.ts +15 -35
  56. package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +6 -24
  57. package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +17 -43
  58. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +23 -53
  59. package/dist/bundled/v3/components/OrChip/OrChip.vue.d.ts +9 -25
  60. package/dist/bundled/v3/components/OrChips/OrChips.vue.d.ts +24 -51
  61. package/dist/bundled/v3/components/OrCode/OrCode.js +6 -10
  62. package/dist/bundled/v3/components/OrCode/OrCode.vue.d.ts +24 -69
  63. package/dist/bundled/v3/components/OrCode/index.js +4 -8
  64. package/dist/bundled/v3/components/OrCode/lang.js +3 -3941
  65. package/dist/bundled/v3/components/OrCode/theme.js +1 -2
  66. package/dist/bundled/v3/components/OrCollapse/OrCollapse.vue.d.ts +17 -39
  67. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.vue.d.ts +13 -31
  68. package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.vue.d.ts +8 -30
  69. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +4 -5
  70. package/dist/bundled/v3/components/OrConfirm/OrConfirm.vue.d.ts +23 -84
  71. package/dist/bundled/v3/components/OrConfirm/index.js +3 -4
  72. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +3 -3
  73. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +29 -91
  74. package/dist/bundled/v3/components/OrConfirmV3/index.js +2 -2
  75. package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +6 -6
  76. package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.vue.d.ts +25 -81
  77. package/dist/bundled/v3/components/OrDatePickerV3/index.js +2 -2
  78. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.vue.d.ts +68 -177
  79. package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +7 -7
  80. package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +31 -105
  81. package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +3 -3
  82. package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyState.vue.d.ts +11 -28
  83. package/dist/bundled/v3/components/OrError/OrError.vue.d.ts +4 -8
  84. package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTag.vue.d.ts +4 -7
  85. package/dist/bundled/v3/components/OrErrorV3/OrError.vue.d.ts +9 -18
  86. package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.vue.d.ts +14 -35
  87. package/dist/bundled/v3/components/OrFabV3/OrFab.vue.d.ts +8 -20
  88. package/dist/bundled/v3/components/OrFloating/OrFloating.vue.d.ts +15 -46
  89. package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.vue.d.ts +10 -30
  90. package/dist/bundled/v3/components/OrHint/OrHint.vue.d.ts +4 -8
  91. package/dist/bundled/v3/components/OrHintV3/OrHint.vue.d.ts +9 -18
  92. package/dist/bundled/v3/components/OrIcon/OrIcon.vue.d.ts +16 -44
  93. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +13 -43
  94. package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.vue.d.ts +16 -52
  95. package/dist/bundled/v3/components/OrIconV3/OrIcon.vue.d.ts +7 -18
  96. package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBox.vue.d.ts +7 -16
  97. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.vue.d.ts +39 -83
  98. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.vue.d.ts +43 -95
  99. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +39 -79
  100. package/dist/bundled/v3/components/OrInput/OrInput.vue.d.ts +36 -87
  101. package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.vue.d.ts +7 -22
  102. package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +34 -85
  103. package/dist/bundled/v3/components/OrLabel/OrLabel.vue.d.ts +9 -20
  104. package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +9 -24
  105. package/dist/bundled/v3/components/OrLinkV3/OrLink.vue.d.ts +7 -24
  106. package/dist/bundled/v3/components/OrList/OrList.vue.d.ts +21 -47
  107. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.vue.d.ts +11 -27
  108. package/dist/bundled/v3/components/OrLoader/OrLoader.vue.d.ts +10 -26
  109. package/dist/bundled/v3/components/OrLoaderV3/OrLoader.vue.d.ts +13 -34
  110. package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.vue.d.ts +13 -34
  111. package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +16 -43
  112. package/dist/bundled/v3/components/OrModal/OrModal.js +2 -3
  113. package/dist/bundled/v3/components/OrModal/OrModal.vue.d.ts +14 -38
  114. package/dist/bundled/v3/components/OrModal/index.js +1 -2
  115. package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +15 -31
  116. package/dist/bundled/v3/components/OrNotification/OrNotification.vue.d.ts +9 -27
  117. package/dist/bundled/v3/components/OrNotificationV3/OrNotification.vue.d.ts +9 -20
  118. package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.vue.d.ts +24 -70
  119. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.vue.d.ts +13 -31
  120. package/dist/bundled/v3/components/OrOverlay/OrOverlay.vue.d.ts +6 -16
  121. package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.vue.d.ts +7 -14
  122. package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +27 -75
  123. package/dist/bundled/v3/components/OrPassword/OrPassword.vue.d.ts +22 -63
  124. package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +28 -76
  125. package/dist/bundled/v3/components/OrProgress/OrProgress.vue.d.ts +20 -56
  126. package/dist/bundled/v3/components/OrProgressV3/OrProgress.vue.d.ts +25 -62
  127. package/dist/bundled/v3/components/OrRadio/OrRadio.vue.d.ts +13 -35
  128. package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.vue.d.ts +9 -26
  129. package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +6 -32
  130. package/dist/bundled/v3/components/OrRadioV3/OrRadio.vue.d.ts +21 -49
  131. package/dist/bundled/v3/components/OrSearch/OrSearch.vue.d.ts +23 -65
  132. package/dist/bundled/v3/components/OrSearchV3/OrSearch.vue.d.ts +17 -41
  133. package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.vue.d.ts +9 -25
  134. package/dist/bundled/v3/components/OrSelect/OrSelect.vue.d.ts +28 -77
  135. package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +37 -115
  136. package/dist/bundled/v3/components/OrSidebar/OrSidebar.vue.d.ts +14 -33
  137. package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.vue.d.ts +28 -63
  138. package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.vue.d.ts +9 -20
  139. package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.vue.d.ts +13 -28
  140. package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.vue.d.ts +9 -22
  141. package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.vue.d.ts +11 -26
  142. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.vue.d.ts +10 -26
  143. package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.vue.d.ts +16 -40
  144. package/dist/bundled/v3/components/OrSlider/OrSlider.vue.d.ts +35 -91
  145. package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.vue.d.ts +13 -25
  146. package/dist/bundled/v3/components/OrStepper/OrStepper.vue.d.ts +16 -43
  147. package/dist/bundled/v3/components/OrSwitch/OrSwitch.vue.d.ts +12 -33
  148. package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.vue.d.ts +22 -53
  149. package/dist/bundled/v3/components/OrTab/OrTab.vue.d.ts +9 -22
  150. package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.vue.d.ts +13 -29
  151. package/dist/bundled/v3/components/OrTabV3/OrTab.vue.d.ts +10 -17
  152. package/dist/bundled/v3/components/OrTabs/OrTabs.vue.d.ts +4 -17
  153. package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +2 -2
  154. package/dist/bundled/v3/components/OrTabsV3/OrTabs.vue.d.ts +25 -71
  155. package/dist/bundled/v3/components/OrTabsV3/index.js +1 -1
  156. package/dist/bundled/v3/components/OrTabsV3/styles.js +1 -1
  157. package/dist/bundled/v3/components/OrTag/OrTag.vue.d.ts +10 -27
  158. package/dist/bundled/v3/components/OrTagV3/OrTag.vue.d.ts +12 -23
  159. package/dist/bundled/v3/components/OrTagsV3/OrTags.vue.d.ts +19 -63
  160. package/dist/bundled/v3/components/OrTeleport/OrTeleport.vue3.vue.d.ts +4 -10
  161. package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.vue3.vue.d.ts +4 -10
  162. package/dist/bundled/v3/components/OrTextV3/OrText.vue.d.ts +11 -24
  163. package/dist/bundled/v3/components/OrTextarea/OrTextarea.vue.d.ts +37 -85
  164. package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.vue.d.ts +32 -73
  165. package/dist/bundled/v3/components/OrTextbox/OrTextbox.vue.d.ts +55 -137
  166. package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +6 -6
  167. package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.vue.d.ts +25 -79
  168. package/dist/bundled/v3/components/OrTimePickerV3/index.js +2 -2
  169. package/dist/bundled/v3/components/OrToast/OrToast.vue.d.ts +11 -31
  170. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +25 -55
  171. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.vue.d.ts +24 -54
  172. package/dist/bundled/v3/components/OrToastV3/OrToast.vue.d.ts +16 -38
  173. package/dist/bundled/v3/components/OrTooltip/OrTooltip.vue.d.ts +14 -33
  174. package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.vue.d.ts +4 -10
  175. package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +13 -37
  176. package/dist/bundled/v3/components/index.d.ts +0 -1
  177. package/dist/bundled/v3/components/index.js +13 -28
  178. package/dist/bundled/v3/directives/dropdown-close.d.ts +3 -1
  179. package/dist/bundled/v3/directives/dropdown-open.d.ts +3 -1
  180. package/dist/bundled/v3/hooks/useResponsive/useResponsive.d.ts +2 -2
  181. package/dist/bundled/v3/{index-0d224ae5.js → index-cf2c3c27.js} +115 -3
  182. package/dist/bundled/v3/index.js +17 -32
  183. package/dist/bundled/{v2/index-e9f6b2d8.js → v3/lang-0fb8f78b.js} +4009 -73
  184. package/dist/esm/v2/{OrDatePicker-a8c95da8.js → OrDatePicker-b6ebf44a.js} +12 -1
  185. package/dist/esm/v2/{OrDateTimePicker-9271659e.js → OrDateTimePicker-85c08b90.js} +13 -2
  186. package/dist/esm/v2/{OrDateTimePickerMonthSelect-a3a0fb4e.js → OrDateTimePickerMonthSelect-e35404a7.js} +6 -3
  187. package/dist/esm/v2/{OrDateTimePickerTimeSelect-0b70d0df.js → OrDateTimePickerTimeSelect-aed7d33d.js} +6 -3
  188. package/dist/esm/v2/{OrTabs-b9908867.js → OrTabs-653258a2.js} +1 -1
  189. package/dist/esm/v2/{OrTimePicker-0c6a05f1.js → OrTimePicker-696e29ed.js} +12 -1
  190. package/dist/esm/v2/components/index.d.ts +0 -1
  191. package/dist/esm/v2/components/index.js +6 -30
  192. package/dist/esm/v2/components/or-date-picker-v3/index.js +2 -2
  193. package/dist/esm/v2/components/or-date-time-picker-v3/index.js +3 -3
  194. package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
  195. package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
  196. package/dist/esm/v2/components/or-textarea/OrTextarea.vue.d.ts +2 -2
  197. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +2 -2
  198. package/dist/esm/v2/components/or-textbox/OrTextbox.vue.d.ts +2 -2
  199. package/dist/esm/v2/components/or-time-picker-v3/OrTimePicker.vue.d.ts +2 -2
  200. package/dist/esm/v2/components/or-time-picker-v3/index.js +2 -2
  201. package/dist/esm/v2/components/or-toast/OrToast.vue.d.ts +2 -2
  202. package/dist/esm/v2/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +2 -2
  203. package/dist/esm/v2/components/or-toast-v3/OrToast.vue.d.ts +2 -2
  204. package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +2 -2
  205. package/dist/esm/v2/components/or-tooltip/OrTooltip.vue.d.ts +2 -2
  206. package/dist/esm/v2/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue.d.ts +2 -2
  207. package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  208. package/dist/esm/v2/index.js +6 -30
  209. package/dist/esm/v3/{OrDatePicker-759653a5.js → OrDatePicker-f144d074.js} +4 -4
  210. package/dist/esm/v3/{OrDateTimePicker-4768a411.js → OrDateTimePicker-2214cd85.js} +5 -5
  211. package/dist/esm/v3/{OrDateTimePickerMonthSelect-c07806a0.js → OrDateTimePickerMonthSelect-5a7b7b5c.js} +6 -4
  212. package/dist/esm/v3/{OrDateTimePickerTimeSelect-9309c434.js → OrDateTimePickerTimeSelect-e404e826.js} +6 -4
  213. package/dist/esm/v3/{OrTabs-f9f0892e.js → OrTabs-a2d87627.js} +1 -1
  214. package/dist/esm/v3/{OrTimePicker-ba6e6857.js → OrTimePicker-68de86d9.js} +4 -4
  215. package/dist/esm/v3/components/index.d.ts +0 -1
  216. package/dist/esm/v3/components/index.js +6 -30
  217. package/dist/esm/v3/components/or-avatar/OrAvatar.vue.d.ts +11 -26
  218. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +8 -24
  219. package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +20 -33
  220. package/dist/esm/v3/components/or-button/OrButton.vue.d.ts +16 -51
  221. package/dist/esm/v3/components/or-button-v2/OrButton.vue.d.ts +20 -57
  222. package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +15 -35
  223. package/dist/esm/v3/components/or-card/OrCard.vue.d.ts +7 -15
  224. package/dist/esm/v3/components/or-card-collection/OrCardCollection.vue.d.ts +21 -47
  225. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +22 -70
  226. package/dist/esm/v3/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +6 -14
  227. package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +4 -7
  228. package/dist/esm/v3/components/or-carousel/OrCarousel.vue.d.ts +126 -676
  229. package/dist/esm/v3/components/or-carousel/or-carousel-item/OrCarouselItem.vue.d.ts +1 -1
  230. package/dist/esm/v3/components/or-checkbox/OrCheckbox.vue.d.ts +15 -35
  231. package/dist/esm/v3/components/or-checkbox-group-v3/OrCheckboxGroup.vue.d.ts +6 -24
  232. package/dist/esm/v3/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +17 -43
  233. package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -53
  234. package/dist/esm/v3/components/or-chips/OrChips.vue.d.ts +24 -51
  235. package/dist/esm/v3/components/or-chips/or-chip/OrChip.vue.d.ts +9 -25
  236. package/dist/esm/v3/components/or-chips/partials/OrChipsInput.vue.d.ts +17 -37
  237. package/dist/esm/v3/components/or-code/OrCode.vue.d.ts +24 -69
  238. package/dist/esm/v3/components/or-collapse/OrCollapse.vue.d.ts +17 -39
  239. package/dist/esm/v3/components/or-color-picker/OrColorPicker.vue.d.ts +13 -31
  240. package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +8 -30
  241. package/dist/esm/v3/components/or-confirm/OrConfirm.vue.d.ts +23 -84
  242. package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +29 -91
  243. package/dist/esm/v3/components/or-date-picker-v3/OrDatePicker.vue.d.ts +25 -81
  244. package/dist/esm/v3/components/or-date-picker-v3/index.js +2 -2
  245. package/dist/esm/v3/components/or-date-time-picker/OrDateTimePicker.vue.d.ts +68 -177
  246. package/dist/esm/v3/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue.d.ts +12 -33
  247. package/dist/esm/v3/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +31 -105
  248. package/dist/esm/v3/components/or-date-time-picker-v3/index.js +3 -3
  249. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue.d.ts +11 -28
  250. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +17 -39
  251. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue.d.ts +7 -15
  252. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +23 -85
  253. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue.d.ts +7 -11
  254. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue.d.ts +4 -7
  255. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue.d.ts +11 -28
  256. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +15 -37
  257. package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +11 -28
  258. package/dist/esm/v3/components/or-error/OrError.vue.d.ts +4 -8
  259. package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +4 -7
  260. package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +9 -18
  261. package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +14 -35
  262. package/dist/esm/v3/components/or-fab-v3/OrFab.vue.d.ts +8 -20
  263. package/dist/esm/v3/components/or-floating/OrFloating.vue.d.ts +15 -46
  264. package/dist/esm/v3/components/or-form-group-v3/OrFormGroup.vue.d.ts +10 -30
  265. package/dist/esm/v3/components/or-hint/OrHint.vue.d.ts +4 -8
  266. package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +9 -18
  267. package/dist/esm/v3/components/or-icon/OrIcon.vue.d.ts +16 -44
  268. package/dist/esm/v3/components/or-icon-button-v2/OrIconButton.vue.d.ts +13 -43
  269. package/dist/esm/v3/components/or-icon-button-v2/partials/OrTooltipWrapper.vue.d.ts +8 -10
  270. package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +16 -52
  271. package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +7 -18
  272. package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +7 -16
  273. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +39 -83
  274. package/dist/esm/v3/components/or-inline-text-edit/OrInlineTextEdit.vue.d.ts +43 -95
  275. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +39 -79
  276. package/dist/esm/v3/components/or-input/OrInput.vue.d.ts +36 -87
  277. package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +7 -22
  278. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +34 -85
  279. package/dist/esm/v3/components/or-label/OrLabel.vue.d.ts +9 -20
  280. package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +9 -24
  281. package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +7 -24
  282. package/dist/esm/v3/components/or-list/OrList.vue.d.ts +21 -47
  283. package/dist/esm/v3/components/or-list-of-inputs/OrListOfInputs.vue.d.ts +11 -27
  284. package/dist/esm/v3/components/or-loader/OrLoader.vue.d.ts +10 -26
  285. package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +13 -34
  286. package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +13 -34
  287. package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +16 -43
  288. package/dist/esm/v3/components/or-modal/OrModal.vue.d.ts +14 -38
  289. package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +15 -31
  290. package/dist/esm/v3/components/or-notification/OrNotification.vue.d.ts +9 -27
  291. package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +9 -20
  292. package/dist/esm/v3/components/or-number-input/OrNumberInput.vue.d.ts +24 -70
  293. package/dist/esm/v3/components/or-overflow-menu/OrOverflowMenu.vue.d.ts +13 -31
  294. package/dist/esm/v3/components/or-overflow-menu/partials/OrOverflowMenuItem.vue.d.ts +7 -23
  295. package/dist/esm/v3/components/or-overlay/OrOverlay.vue.d.ts +6 -16
  296. package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +7 -14
  297. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +27 -75
  298. package/dist/esm/v3/components/or-password/OrPassword.vue.d.ts +22 -63
  299. package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +28 -76
  300. package/dist/esm/v3/components/or-progress/OrProgress.vue.d.ts +20 -56
  301. package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +25 -62
  302. package/dist/esm/v3/components/or-radio/OrRadio.vue.d.ts +13 -35
  303. package/dist/esm/v3/components/or-radio-group/OrRadioGroup.vue.d.ts +9 -26
  304. package/dist/esm/v3/components/or-radio-group-v3/OrRadioGroup.vue.d.ts +6 -32
  305. package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +21 -49
  306. package/dist/esm/v3/components/or-search/OrSearch.vue.d.ts +23 -65
  307. package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +17 -41
  308. package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +9 -25
  309. package/dist/esm/v3/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +8 -20
  310. package/dist/esm/v3/components/or-select/OrSelect.vue.d.ts +28 -77
  311. package/dist/esm/v3/components/or-select/partials/OrSelectContent.vue.d.ts +18 -49
  312. package/dist/esm/v3/components/or-select/partials/OrSelectContentEmpty.vue.d.ts +4 -16
  313. package/dist/esm/v3/components/or-select/partials/OrSelectContentOptions.vue.d.ts +13 -67
  314. package/dist/esm/v3/components/or-select/partials/OrSelectInput.vue.d.ts +16 -41
  315. package/dist/esm/v3/components/or-select/partials/OrSelectInputValue.vue.d.ts +16 -35
  316. package/dist/esm/v3/components/or-select/partials/OrSelectMain.vue.d.ts +24 -71
  317. package/dist/esm/v3/components/or-select/partials/OrSelectOption.vue.d.ts +7 -19
  318. package/dist/esm/v3/components/or-select/partials/OrSelectSearchOptions.vue.d.ts +11 -24
  319. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +37 -115
  320. package/dist/esm/v3/components/or-sidebar/OrSidebar.vue.d.ts +14 -33
  321. package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +28 -63
  322. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +10 -23
  323. package/dist/esm/v3/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.vue.d.ts +9 -20
  324. package/dist/esm/v3/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.vue.d.ts +9 -22
  325. package/dist/esm/v3/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue.d.ts +10 -26
  326. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts +13 -28
  327. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts +11 -26
  328. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-text-v3/OrSkeletonText.vue.d.ts +16 -40
  329. package/dist/esm/v3/components/or-slider/OrSlider.vue.d.ts +35 -91
  330. package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +13 -25
  331. package/dist/esm/v3/components/or-stepper/OrStepper.vue.d.ts +16 -43
  332. package/dist/esm/v3/components/or-stepper/partials/OrStepperButtonOptions.vue.d.ts +4 -20
  333. package/dist/esm/v3/components/or-stepper/partials/OrStepperOptionHorizontal.vue.d.ts +4 -26
  334. package/dist/esm/v3/components/or-stepper/partials/OrStepperOptionVertical.vue.d.ts +4 -26
  335. package/dist/esm/v3/components/or-stepper/partials/OrStepperTitle.vue.d.ts +6 -22
  336. package/dist/esm/v3/components/or-stepper/partials/StatusIcon.vue.d.ts +6 -12
  337. package/dist/esm/v3/components/or-switch/OrSwitch.vue.d.ts +12 -33
  338. package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +22 -53
  339. package/dist/esm/v3/components/or-tab/OrTab.vue.d.ts +9 -22
  340. package/dist/esm/v3/components/or-tab-header-item/OrTabHeaderItem.vue.d.ts +13 -29
  341. package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +10 -17
  342. package/dist/esm/v3/components/or-tabs/OrTabs.vue.d.ts +4 -17
  343. package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +25 -71
  344. package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
  345. package/dist/esm/v3/components/or-tag/OrTag.vue.d.ts +10 -27
  346. package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +12 -23
  347. package/dist/esm/v3/components/or-tags-v3/OrTags.vue.d.ts +19 -63
  348. package/dist/esm/v3/components/or-teleport/OrTeleport.vue3.vue.d.ts +4 -10
  349. package/dist/esm/v3/components/or-teleport-v3/OrTeleport.vue3.vue.d.ts +4 -10
  350. package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +11 -24
  351. package/dist/esm/v3/components/or-textarea/OrTextarea.vue.d.ts +37 -85
  352. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +32 -73
  353. package/dist/esm/v3/components/or-textbox/OrTextbox.vue.d.ts +55 -137
  354. package/dist/esm/v3/components/or-time-picker-v3/OrTimePicker.vue.d.ts +25 -79
  355. package/dist/esm/v3/components/or-time-picker-v3/index.js +2 -2
  356. package/dist/esm/v3/components/or-toast/OrToast.vue.d.ts +11 -31
  357. package/dist/esm/v3/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +25 -55
  358. package/dist/esm/v3/components/or-toast-v3/OrToast.vue.d.ts +16 -38
  359. package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +24 -54
  360. package/dist/esm/v3/components/or-tooltip/OrTooltip.vue.d.ts +14 -33
  361. package/dist/esm/v3/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue.d.ts +4 -10
  362. package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +13 -37
  363. package/dist/esm/v3/directives/dropdown-close.d.ts +3 -1
  364. package/dist/esm/v3/directives/dropdown-open.d.ts +3 -1
  365. package/dist/esm/v3/hooks/useResponsive/useResponsive.d.ts +2 -2
  366. package/dist/esm/v3/index.js +6 -30
  367. package/package.json +4 -24
  368. package/src/components/index.ts +0 -1
  369. package/src/components/or-date-picker-v3/OrDatePicker.vue +2 -0
  370. package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +2 -0
  371. package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue +7 -2
  372. package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue +7 -2
  373. package/src/components/or-tabs-v3/styles.ts +1 -1
  374. package/src/components/or-time-picker-v3/OrTimePicker.vue +2 -0
  375. package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -2200
  376. package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -220
  377. package/dist/bundled/v2/components/OrRichTextEditorV3/index.d.ts +0 -1
  378. package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +0 -70
  379. package/dist/bundled/v2/components/OrRichTextEditorV3/props.d.ts +0 -4
  380. package/dist/bundled/v2/components/OrRichTextEditorV3/props.js +0 -7
  381. package/dist/bundled/v2/components/OrRichTextEditorV3/styles.d.ts +0 -6
  382. package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +0 -38
  383. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +0 -3
  384. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +0 -46
  385. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
  386. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -184
  387. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
  388. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -5
  389. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -24
  390. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -190
  391. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +0 -19
  392. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
  393. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.d.ts +0 -3
  394. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.js +0 -5
  395. package/dist/bundled/v2/index-418d5c0d.js +0 -9633
  396. package/dist/bundled/v2/index-85c2efe8.js +0 -7122
  397. package/dist/bundled/v2/index-d92d0b48.js +0 -3805
  398. package/dist/bundled/v2/index.es-3f39f316.js +0 -115
  399. package/dist/bundled/v2/markdown-7c7c4ca6.js +0 -17980
  400. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-7e29b3d0.js +0 -237
  401. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-2c009ee0.js +0 -108
  402. package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-fd3f9c45.js +0 -1890
  403. package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -284
  404. package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -220
  405. package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +0 -1
  406. package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +0 -86
  407. package/dist/bundled/v3/components/OrRichTextEditorV3/props.d.ts +0 -4
  408. package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +0 -7
  409. package/dist/bundled/v3/components/OrRichTextEditorV3/styles.d.ts +0 -6
  410. package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +0 -38
  411. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +0 -3
  412. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +0 -46
  413. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
  414. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -184
  415. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
  416. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -5
  417. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -24
  418. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -190
  419. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +0 -19
  420. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
  421. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.d.ts +0 -3
  422. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +0 -5
  423. package/dist/bundled/v3/index-418d5c0d.js +0 -9633
  424. package/dist/bundled/v3/index-85c2efe8.js +0 -7122
  425. package/dist/bundled/v3/index.es-3f39f316.js +0 -115
  426. package/dist/bundled/v3/markdown-7c7c4ca6.js +0 -17980
  427. package/dist/bundled/v3/useFocusTrap-48767a70.js +0 -1348
  428. package/dist/esm/v2/OrRichTextEditor-8c43bb27.js +0 -923
  429. package/dist/esm/v2/codemirrorView-be2c7423.js +0 -353
  430. package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -220
  431. package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
  432. package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +0 -59
  433. package/dist/esm/v2/components/or-rich-text-editor-v3/props.d.ts +0 -4
  434. package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -6
  435. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
  436. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
  437. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
  438. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -7
  439. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -24
  440. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
  441. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
  442. package/dist/esm/v3/OrRichTextEditor-b20efab9.js +0 -856
  443. package/dist/esm/v3/codemirrorView-be2c7423.js +0 -353
  444. package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -220
  445. package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
  446. package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +0 -57
  447. package/dist/esm/v3/components/or-rich-text-editor-v3/props.d.ts +0 -4
  448. package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -6
  449. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
  450. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
  451. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
  452. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -7
  453. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -24
  454. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
  455. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
  456. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +0 -7
  457. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +0 -142
  458. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -766
  459. package/src/components/or-rich-text-editor-v3/index.ts +0 -1
  460. package/src/components/or-rich-text-editor-v3/props.ts +0 -4
  461. package/src/components/or-rich-text-editor-v3/styles.ts +0 -54
  462. package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.ts +0 -40
  463. package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.ts +0 -254
  464. package/src/components/or-rich-text-editor-v3/utils/codemirror/index.ts +0 -1
  465. package/src/components/or-rich-text-editor-v3/utils/codemirror/theme.ts +0 -213
  466. package/src/components/or-rich-text-editor-v3/utils/codemirror/types.ts +0 -22
  467. package/src/components/or-rich-text-editor-v3/utils/markdown.ts +0 -120
  468. /package/dist/bundled/v2/{index-f6664cb1.js → index-968c331a.js} +0 -0
  469. /package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-b3f213b0.js → OrTabs.vue_vue_type_script_lang-9d4221f1.js} +0 -0
  470. /package/dist/bundled/v3/{index-f6664cb1.js → index-968c331a.js} +0 -0
@@ -1,220 +0,0 @@
1
- import { ComponentPublicInstance, PropType } from 'vue-demi';
2
- import { Formats } from './props';
3
- import { Editor } from '@tiptap/core';
4
- import { Level } from '@tiptap/extension-heading';
5
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
6
- editor: Editor | null;
7
- editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
8
- toolbarRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
9
- containerRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
10
- toolbarButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
11
- [x: string]: ((...args: any[]) => any) | null;
12
- } | string[], {} & {}, {
13
- [x: number]: string;
14
- } | {}, true> | undefined>;
15
- moreButtonRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
16
- textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
17
- moreRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
18
- menuRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
19
- [x: string]: ((...args: any[]) => any) | null;
20
- } | string[], {} & {}, {
21
- [x: number]: string;
22
- } | {}, true> | undefined>;
23
- iconsEnum: import("@vue/composition-api").Ref<{
24
- [x: string]: string;
25
- }>;
26
- handleToolbarClick: (item: string, level?: number) => void;
27
- handleEditorClick: () => void;
28
- isActive: import("@vue/composition-api").Ref<{
29
- [x: string]: boolean;
30
- }>;
31
- iconTooltipsEnum: import("@vue/composition-api").Ref<{
32
- [x: string]: string;
33
- }>;
34
- containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
35
- toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
36
- toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
37
- rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
38
- root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
39
- editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
40
- getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
41
- headingLevels: Level[];
42
- headingIcon: import("@vue/composition-api").ComputedRef<string>;
43
- attachLink: () => Promise<void>;
44
- discardLink: () => void;
45
- isOpenLinkModal: import("@vue/composition-api").Ref<boolean>;
46
- text: import("@vue/composition-api").Ref<string>;
47
- link: import("@vue/composition-api").Ref<string>;
48
- isFocused: import("@vue/composition-api").Ref<boolean>;
49
- isVisible: (value: string | Array<string>) => boolean;
50
- countOfNotVisibleTools: import("@vue/composition-api").Ref<number>;
51
- notVisibleTools: import("@vue/composition-api").ComputedRef<string[]>;
52
- handleInput: (event: InputEvent) => void;
53
- proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
54
- disableMarkdown: import("@vue/composition-api").Ref<boolean>;
55
- sourceValue: import("@vue/composition-api").Ref<string>;
56
- }> & import("@vue/composition-api").Data, {}, {}, {
57
- modelValue: {
58
- type: StringConstructor;
59
- default: undefined;
60
- };
61
- toolbar: {
62
- type: {
63
- (arrayLength: number): string[][];
64
- (...items: string[][]): string[][];
65
- new (arrayLength: number): string[][];
66
- new (...items: string[][]): string[][];
67
- isArray(arg: any): arg is any[];
68
- readonly prototype: any[];
69
- from<T>(arrayLike: ArrayLike<T>): T[];
70
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
71
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
72
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
73
- of<T_4>(...items: T_4[]): T_4[];
74
- readonly [Symbol.species]: ArrayConstructor;
75
- };
76
- default: () => never[];
77
- };
78
- description: {
79
- type: StringConstructor;
80
- default: string;
81
- };
82
- placeholder: {
83
- type: StringConstructor;
84
- default: string;
85
- };
86
- autofocus: {
87
- type: BooleanConstructor;
88
- default: boolean;
89
- };
90
- format: {
91
- type: PropType<Formats>;
92
- default: Formats;
93
- };
94
- fullHeight: {
95
- type: BooleanConstructor;
96
- default: boolean;
97
- };
98
- }, import("@vue/composition-api").ExtractPropTypes<{
99
- modelValue: {
100
- type: StringConstructor;
101
- default: undefined;
102
- };
103
- toolbar: {
104
- type: {
105
- (arrayLength: number): string[][];
106
- (...items: string[][]): string[][];
107
- new (arrayLength: number): string[][];
108
- new (...items: string[][]): string[][];
109
- isArray(arg: any): arg is any[];
110
- readonly prototype: any[];
111
- from<T>(arrayLike: ArrayLike<T>): T[];
112
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
113
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
114
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
115
- of<T_4>(...items: T_4[]): T_4[];
116
- readonly [Symbol.species]: ArrayConstructor;
117
- };
118
- default: () => never[];
119
- };
120
- description: {
121
- type: StringConstructor;
122
- default: string;
123
- };
124
- placeholder: {
125
- type: StringConstructor;
126
- default: string;
127
- };
128
- autofocus: {
129
- type: BooleanConstructor;
130
- default: boolean;
131
- };
132
- format: {
133
- type: PropType<Formats>;
134
- default: Formats;
135
- };
136
- fullHeight: {
137
- type: BooleanConstructor;
138
- default: boolean;
139
- };
140
- }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
141
- modelValue: string;
142
- toolbar: string[][];
143
- description: string;
144
- placeholder: string;
145
- autofocus: boolean;
146
- format: Formats;
147
- fullHeight: boolean;
148
- } & {} & {
149
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
150
- }, import("@vue/composition-api").ShallowUnwrapRef<{
151
- editor: Editor | null;
152
- editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
153
- toolbarRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
154
- containerRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
155
- toolbarButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
156
- [x: string]: ((...args: any[]) => any) | null;
157
- } | string[], {} & {}, {
158
- [x: number]: string;
159
- } | {}, true> | undefined>;
160
- moreButtonRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
161
- textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
162
- moreRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
163
- menuRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
164
- [x: string]: ((...args: any[]) => any) | null;
165
- } | string[], {} & {}, {
166
- [x: number]: string;
167
- } | {}, true> | undefined>;
168
- iconsEnum: import("@vue/composition-api").Ref<{
169
- [x: string]: string;
170
- }>;
171
- handleToolbarClick: (item: string, level?: number) => void;
172
- handleEditorClick: () => void;
173
- isActive: import("@vue/composition-api").Ref<{
174
- [x: string]: boolean;
175
- }>;
176
- iconTooltipsEnum: import("@vue/composition-api").Ref<{
177
- [x: string]: string;
178
- }>;
179
- containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
180
- toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
181
- toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
182
- rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
183
- root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
184
- editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
185
- getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
186
- headingLevels: Level[];
187
- headingIcon: import("@vue/composition-api").ComputedRef<string>;
188
- attachLink: () => Promise<void>;
189
- discardLink: () => void;
190
- isOpenLinkModal: import("@vue/composition-api").Ref<boolean>;
191
- text: import("@vue/composition-api").Ref<string>;
192
- link: import("@vue/composition-api").Ref<string>;
193
- isFocused: import("@vue/composition-api").Ref<boolean>;
194
- isVisible: (value: string | Array<string>) => boolean;
195
- countOfNotVisibleTools: import("@vue/composition-api").Ref<number>;
196
- notVisibleTools: import("@vue/composition-api").ComputedRef<string[]>;
197
- handleInput: (event: InputEvent) => void;
198
- proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
199
- disableMarkdown: import("@vue/composition-api").Ref<boolean>;
200
- sourceValue: import("@vue/composition-api").Ref<string>;
201
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
202
- modelValue: string;
203
- toolbar: string[][];
204
- description: string;
205
- placeholder: string;
206
- autofocus: boolean;
207
- format: Formats;
208
- fullHeight: boolean;
209
- } & {} & {
210
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
211
- }, {
212
- modelValue: string;
213
- toolbar: string[][];
214
- description: string;
215
- placeholder: string;
216
- autofocus: boolean;
217
- format: Formats;
218
- fullHeight: boolean;
219
- }, true>);
220
- export default _default;
@@ -1 +0,0 @@
1
- export { default as OrRichTextEditorV3 } from './OrRichTextEditor.vue';
@@ -1,70 +0,0 @@
1
- export { default as OrRichTextEditorV3 } from './OrRichTextEditor.js';
2
- import 'vue-demi';
3
- import '../../useFocusTrap-48767a70.js';
4
- import '@vueuse/core';
5
- import '../../markdown-7c7c4ca6.js';
6
- import '../../index-85c2efe8.js';
7
- import 'node:punycode';
8
- import '../../index-418d5c0d.js';
9
- import '../../index.es-3f39f316.js';
10
- import './styles.js';
11
- import './props.js';
12
- import './utils/codemirror/codemirrorNode.js';
13
- import './utils/codemirror/codemirrorView.js';
14
- import '../../index-0d224ae5.js';
15
- import './utils/codemirror/theme.js';
16
- import '../../index-d92d0b48.js';
17
- import '../../index-e9f6b2d8.js';
18
- import '../OrIconButtonV3/OrIconButton.js';
19
- import '../OrIconButtonV3/props.js';
20
- import '../OrIconV3/props.js';
21
- import '../OrIconButtonV3/styles.js';
22
- import '../OrIconV3/OrIcon.js';
23
- import '../OrIconV3/styles.js';
24
- import '../../normalize-component-6e8e3d80.js';
25
- import '../OrTooltipV3/OrTooltip.js';
26
- import '../OrTooltipV3/styles.js';
27
- import '../OrPopoverV3/OrPopover.js';
28
- import '../../floating-ui.dom.esm-83eba816.js';
29
- import '../OrPopoverV3/props.js';
30
- import '../OrPopoverV3/styles.js';
31
- import '../OrBottomSheetV3/OrBottomSheet.js';
32
- import '../OrBottomSheetV3/props.js';
33
- import '../OrBottomSheetV3/styles.js';
34
- import '../OrOverlayV3/OrOverlay.js';
35
- import '../OrOverlayV3/styles.js';
36
- import '../OrTeleportV3/OrTeleport.js';
37
- import 'portal-vue';
38
- import '../../hooks/useElevation.js';
39
- import '../../utils/isVisible.js';
40
- import '../../hooks/useResponsive/useResponsive.js';
41
- import '../OrLabelV3/OrLabel.js';
42
- import '../OrLabelV3/props.js';
43
- import '../OrLabelV3/styles.js';
44
- import '../OrMenuItemV3/OrMenuItem.js';
45
- import '../OrMenuItemV3/styles.js';
46
- import '../OrMenuV3/OrMenu.js';
47
- import '../OrMenuV3/styles.js';
48
- import '../OrModalV3/OrModal.js';
49
- import '../OrModalV3/props.js';
50
- import '../OrModalV3/styles.js';
51
- import '../OrInputV3/OrInput.js';
52
- import '../OrInputV3/props.js';
53
- import '../OrInputBoxV3/props.js';
54
- import '../OrInputV3/styles.js';
55
- import '../OrErrorV3/OrError.js';
56
- import '../OrErrorV3/styles.js';
57
- import '../OrHintV3/OrHint.js';
58
- import '../OrHintV3/styles.js';
59
- import '../OrInputBoxV3/OrInputBox.js';
60
- import '../OrInputBoxV3/styles.js';
61
- import '../OrLoaderV3/OrLoader.js';
62
- import '../OrLoaderV3/props.js';
63
- import '../OrLoaderV3/styles.js';
64
- import '../../hooks/useIdAttribute.js';
65
- import '../../hooks/useControlAttributes.js';
66
- import '../../hooks/useValidationAttributes.js';
67
- import '../../style-inject.es-4c6f2515.js';
68
- import '../OrButtonV3/OrButton.js';
69
- import '../OrButtonV3/props.js';
70
- import '../OrButtonV3/styles.js';
@@ -1,4 +0,0 @@
1
- export declare enum Formats {
2
- Markdown = "markdown",
3
- Markup = "markup"
4
- }
@@ -1,7 +0,0 @@
1
- var Formats;
2
- (function (Formats) {
3
- Formats["Markdown"] = "markdown";
4
- Formats["Markup"] = "markup";
5
- })(Formats || (Formats = {}));
6
-
7
- export { Formats };
@@ -1,6 +0,0 @@
1
- export declare const EditorContainer: string[];
2
- export declare const ToolbarContainer: string[];
3
- export declare const Toolbar: string[];
4
- export declare const ToolbarButton: string[];
5
- export declare const ToolbarButtonFocused: string[];
6
- export declare const EditorInput: string[];
@@ -1,38 +0,0 @@
1
- const EditorContainer = [
2
- // Colors
3
- 'border-outline', 'focus-within:theme-border-1-primary', 'focus-within:bg-primary-opacity-0-08', 'focus-within:theme-outline-primary',
4
- // Sizing
5
- 'border-1', 'rounded-md', 'w-full'];
6
- const ToolbarContainer = [
7
- // Layout
8
- 'flex',
9
- //Spacing
10
- 'py-sm',
11
- //Sizing
12
- 'border-b-1',
13
- //Colors
14
- 'border-b-outline'];
15
- const Toolbar = [
16
- // Layout
17
- 'flex',
18
- // Spacing
19
- 'px-sm', 'gap-md',
20
- // Sizing
21
- 'border-l-1',
22
- //Colors
23
- 'border-r-disabled',
24
- // Last child
25
- 'first-of-type:border-none'];
26
- const ToolbarButton = [
27
- // Typography
28
- 'text-on-disabled'];
29
- const ToolbarButtonFocused = [
30
- // Typography
31
- 'text-outline'];
32
- const EditorInput = [
33
- // Typography
34
- 'typography-body-2-regular',
35
- // Sizing
36
- 'min-h-[88px]'];
37
-
38
- export { EditorContainer, EditorInput, Toolbar, ToolbarButton, ToolbarButtonFocused, ToolbarContainer };
@@ -1,3 +0,0 @@
1
- import { Node } from '@tiptap/core';
2
- declare const _default: Node<any, any>;
3
- export default _default;
@@ -1,46 +0,0 @@
1
- import { N as Node } from '../../../../index-418d5c0d.js';
2
- import CodeMirrorView from './codemirrorView.js';
3
- import { m as minimalSetup } from '../../../../index-d92d0b48.js';
4
- import { e as javascript } from '../../../../index-e9f6b2d8.js';
5
- import '../../../../index-85c2efe8.js';
6
- import '../../../../index.es-3f39f316.js';
7
- import '../../../../index-0d224ae5.js';
8
- import './theme.js';
9
-
10
- var codemirrorNode = Node.create({
11
- name: 'codeBlock',
12
- content: 'text*',
13
- marks: '',
14
- group: 'block',
15
- code: true,
16
- defining: true,
17
- isolating: true,
18
- parseHTML() {
19
- return [{
20
- tag: 'pre',
21
- preserveWhitespace: 'full'
22
- }];
23
- },
24
- renderHTML() {
25
- return ['pre', ['code', 0]];
26
- },
27
- addNodeView() {
28
- return _ref => {
29
- let {
30
- node,
31
- editor,
32
- getPos
33
- } = _ref;
34
- return new CodeMirrorView({
35
- node,
36
- view: editor.view,
37
- getPos: getPos,
38
- cmOptions: {
39
- extensions: [minimalSetup, javascript()]
40
- }
41
- });
42
- };
43
- }
44
- });
45
-
46
- export { codemirrorNode as default };
@@ -1,27 +0,0 @@
1
- import { TextSelection } from 'prosemirror-state';
2
- import { EditorView, NodeView } from 'prosemirror-view';
3
- import { Node as ProsemirrorNode } from 'prosemirror-model';
4
- import { Transaction as CMTransaction } from '@codemirror/state';
5
- import { Command, EditorView as CMView } from '@codemirror/view';
6
- import { CodeMirrorViewOptions } from './types';
7
- declare class CodeMirrorView implements NodeView {
8
- name: string;
9
- node: ProsemirrorNode;
10
- view: EditorView;
11
- dom: HTMLElement;
12
- cm: CMView;
13
- getPos: () => number;
14
- updating: boolean;
15
- constructor(options: CodeMirrorViewOptions);
16
- forwardSelection(): void;
17
- asProseMirrorSelection(doc: ProsemirrorNode): TextSelection;
18
- dispatch(cmTr: CMTransaction): void;
19
- mayBeEscape(unit: 'char' | 'line', dir: -1 | 1): Command;
20
- update(node: ProsemirrorNode): boolean;
21
- setSelection(anchor: number, head: number): void;
22
- focus(): void;
23
- selectNode(): void;
24
- stopEvent(): boolean;
25
- destroy(): void;
26
- }
27
- export default CodeMirrorView;
@@ -1,184 +0,0 @@
1
- import { n as exitCode, T as TextSelection, S as Selection } from '../../../../index-85c2efe8.js';
2
- import { a as EditorState, E as EditorView, Y as highlightActiveLine, B as highlightActiveLineGutter, z as lineNumbers, k as keymap } from '../../../../index-0d224ae5.js';
3
- import theme from './theme.js';
4
- import '../../../../index.es-3f39f316.js';
5
-
6
- const computeChange = (oldVal, newVal) => {
7
- if (oldVal === newVal) {
8
- return null;
9
- }
10
- let start = 0;
11
- let oldEnd = oldVal.length;
12
- let newEnd = newVal.length;
13
- while (start < oldEnd && oldVal.charCodeAt(start) === newVal.charCodeAt(start)) {
14
- start += 1;
15
- }
16
- while (oldEnd > start && newEnd > start && oldVal.charCodeAt(oldEnd - 1) === newVal.charCodeAt(newEnd - 1)) {
17
- oldEnd -= 1;
18
- newEnd -= 1;
19
- }
20
- return {
21
- from: start,
22
- to: oldEnd,
23
- text: newVal.slice(start, newEnd)
24
- };
25
- };
26
- class CodeMirrorView {
27
- constructor(options) {
28
- var _a;
29
- this.updating = false;
30
- // Store for later
31
- this.node = options.node;
32
- this.view = options.view;
33
- const cmExtensions = ((_a = options.cmOptions) === null || _a === void 0 ? void 0 : _a.extensions) || [];
34
- this.name = 'codeBlock', this.getPos = options.getPos;
35
- const changeFilter = EditorState.changeFilter.of(tr => {
36
- if (!tr.docChanged && !this.updating) {
37
- this.forwardSelection();
38
- }
39
- return true;
40
- });
41
- // Create a CodeMirror instancew
42
- this.cm = new EditorView({
43
- dispatch: this.dispatch.bind(this)
44
- });
45
- // The editor's outer node is our DOM representation
46
- this.dom = this.cm.dom;
47
- const cmState = EditorState.create({
48
- doc: this.node.textContent,
49
- extensions: [theme, changeFilter, highlightActiveLine(), highlightActiveLineGutter(), lineNumbers(), keymap.of([{
50
- key: 'ArrowUp',
51
- run: this.mayBeEscape('line', -1)
52
- }, {
53
- key: 'ArrowLeft',
54
- run: this.mayBeEscape('char', -1)
55
- }, {
56
- key: 'ArrowDown',
57
- run: this.mayBeEscape('line', 1)
58
- }, {
59
- key: 'ArrowRight',
60
- run: this.mayBeEscape('char', 1)
61
- }, {
62
- key: 'Ctrl-Enter',
63
- run: () => {
64
- if (exitCode(this.view.state, this.view.dispatch)) {
65
- this.view.focus();
66
- return true;
67
- }
68
- return false;
69
- }
70
- }]), cmExtensions]
71
- });
72
- this.cm.setState(cmState);
73
- }
74
- forwardSelection() {
75
- if (!this.cm.hasFocus) {
76
- return;
77
- }
78
- const {
79
- state
80
- } = this.view;
81
- const selection = this.asProseMirrorSelection(state.doc);
82
- if (!selection.eq(state.selection)) {
83
- this.view.dispatch(state.tr.setSelection(selection));
84
- }
85
- }
86
- asProseMirrorSelection(doc) {
87
- const offset = this.getPos() + 1;
88
- const {
89
- anchor,
90
- head
91
- } = this.cm.state.selection.main;
92
- return TextSelection.create(doc, anchor + offset, head + offset);
93
- }
94
- dispatch(cmTr) {
95
- this.cm.setState(cmTr.state);
96
- if (cmTr.docChanged && !this.updating) {
97
- const start = this.getPos() + 1;
98
- const cmValue = cmTr.state.doc.toString();
99
- const change = computeChange(this.node.textContent, cmValue);
100
- if (!change) {
101
- return;
102
- }
103
- const content = change.text ? this.view.state.schema.text(change.text) : null;
104
- const tr = this.view.state.tr.replaceWith(change.from + start, change.to + start, content);
105
- this.view.dispatch(tr);
106
- this.forwardSelection();
107
- }
108
- }
109
- mayBeEscape(unit, dir) {
110
- return view => {
111
- const {
112
- state
113
- } = view;
114
- const {
115
- selection
116
- } = state;
117
- const offsetToPos = () => {
118
- const offset = selection.main.from;
119
- const line = state.doc.lineAt(offset);
120
- return {
121
- line: line.number,
122
- ch: offset - line.from
123
- };
124
- };
125
- const pos = offsetToPos();
126
- const hasSelection = state.selection.ranges.some(r => !r.empty);
127
- const firstLine = 1;
128
- const lastLine = state.doc.lineAt(state.doc.length).number;
129
- if (hasSelection || pos.line !== (dir < 0 ? firstLine : lastLine) || unit === 'char' && pos.ch !== (dir < 0 ? 0 : state.doc.line(pos.line).length)) {
130
- return false;
131
- }
132
- const targetPos = this.getPos() + (dir < 0 ? 0 : this.node.nodeSize);
133
- const pmSelection = Selection.near(this.view.state.doc.resolve(targetPos), dir);
134
- this.view.dispatch(this.view.state.tr.setSelection(pmSelection).scrollIntoView());
135
- this.view.focus();
136
- return true;
137
- };
138
- }
139
- update(node) {
140
- if (node.type !== this.node.type) {
141
- return false;
142
- }
143
- this.node = node;
144
- const change = computeChange(this.cm.state.doc.toString(), node.textContent);
145
- if (change) {
146
- this.updating = true;
147
- this.cm.dispatch({
148
- changes: {
149
- from: change.from,
150
- to: change.to,
151
- insert: change.text
152
- }
153
- });
154
- this.updating = false;
155
- }
156
- return true;
157
- }
158
- setSelection(anchor, head) {
159
- this.focus();
160
- this.updating = true;
161
- this.cm.dispatch({
162
- selection: {
163
- anchor,
164
- head
165
- }
166
- });
167
- this.updating = false;
168
- }
169
- focus() {
170
- this.cm.focus();
171
- this.forwardSelection();
172
- }
173
- selectNode() {
174
- this.focus();
175
- }
176
- stopEvent() {
177
- return true;
178
- }
179
- destroy() {
180
- this.cm.destroy();
181
- }
182
- }
183
-
184
- export { CodeMirrorView as default };
@@ -1 +0,0 @@
1
- export { default as CodeMirrorView } from './codemirrorView';
@@ -1,5 +0,0 @@
1
- export { default as CodeMirrorView } from './codemirrorView.js';
2
- import '../../../../index-85c2efe8.js';
3
- import '../../../../index-0d224ae5.js';
4
- import '../../../../index.es-3f39f316.js';
5
- import './theme.js';
@@ -1,24 +0,0 @@
1
- import { Extension } from '@codemirror/state';
2
- import { HighlightStyle } from '@codemirror/language';
3
- export declare const color: {
4
- chalky: string;
5
- coral: string;
6
- cyan: string;
7
- invalid: string;
8
- ivory: string;
9
- stone: string;
10
- malibu: string;
11
- sage: string;
12
- whiskey: string;
13
- violet: string;
14
- darkBackground: string;
15
- highlightBackground: string;
16
- background: string;
17
- tooltipBackground: string;
18
- selection: string;
19
- cursor: string;
20
- };
21
- export declare const orCodeTheme: Extension;
22
- export declare const orCodeHighlightStyle: HighlightStyle;
23
- declare const theme: Extension;
24
- export default theme;