@onereach/ui-components 4.6.0-beta.2751.0 → 4.6.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 (428) hide show
  1. package/dist/bundled/v2/components/OrCode/OrCode.js +3792 -6
  2. package/dist/bundled/v2/components/OrCode/index.js +2 -6
  3. package/dist/bundled/v2/components/OrCode/lang.js +3 -3941
  4. package/dist/bundled/v2/components/OrCode/theme.js +1 -2
  5. package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +1 -2
  6. package/dist/bundled/v2/components/OrConfirm/index.js +1 -2
  7. package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +1 -1
  8. package/dist/bundled/v2/components/OrConfirmV3/index.js +1 -1
  9. package/dist/bundled/v2/components/OrModal/OrModal.js +1346 -3
  10. package/dist/bundled/v2/components/OrModal/index.js +0 -1
  11. package/dist/bundled/v2/components/OrTextV3/OrText.vue.d.ts +2 -2
  12. package/dist/bundled/v2/components/OrTextarea/OrTextarea.vue.d.ts +2 -2
  13. package/dist/bundled/v2/components/OrTextareaV3/OrTextarea.vue.d.ts +2 -2
  14. package/dist/bundled/v2/components/OrTextareaV3/styles.js +2 -0
  15. package/dist/bundled/v2/components/OrTextbox/OrTextbox.vue.d.ts +2 -2
  16. package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.vue.d.ts +2 -2
  17. package/dist/bundled/v2/components/OrToast/OrToast.vue.d.ts +2 -2
  18. package/dist/bundled/v2/components/OrToastV3/OrToast.vue.d.ts +2 -2
  19. package/dist/bundled/v2/components/OrTooltip/OrTooltip.vue.d.ts +2 -2
  20. package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +2 -2
  21. package/dist/bundled/v2/components/index.d.ts +0 -1
  22. package/dist/bundled/v2/components/index.js +3 -17
  23. package/dist/bundled/v2/{index-0d224ae5.js → index-cf2c3c27.js} +115 -3
  24. package/dist/bundled/v2/index.js +6 -20
  25. package/dist/bundled/{v3/index-e9f6b2d8.js → v2/lang-0fb8f78b.js} +4009 -73
  26. package/dist/bundled/v3/{index-d92d0b48.js → OrCode.vue_vue_type_script_lang-74060519.js} +235 -14
  27. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-13397889.js → OrConfirm.vue_vue_type_script_lang-e1390930.js} +1 -1
  28. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-4eaa8470.js → OrConfirm.vue_vue_type_script_lang-e5a8f92a.js} +2 -2
  29. package/dist/bundled/{v2/useFocusTrap-48767a70.js → v3/OrModal.vue_vue_type_script_lang-ae842e5b.js} +106 -3
  30. package/dist/bundled/v3/components/OrAvatar/OrAvatar.vue.d.ts +11 -26
  31. package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +8 -24
  32. package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +20 -33
  33. package/dist/bundled/v3/components/OrButton/OrButton.vue.d.ts +16 -51
  34. package/dist/bundled/v3/components/OrButtonV2/OrButton.vue.d.ts +20 -57
  35. package/dist/bundled/v3/components/OrButtonV3/OrButton.vue.d.ts +15 -35
  36. package/dist/bundled/v3/components/OrCard/OrCard.vue.d.ts +7 -15
  37. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.vue.d.ts +21 -47
  38. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +22 -70
  39. package/dist/bundled/v3/components/OrCardV3/OrCard.vue.d.ts +4 -7
  40. package/dist/bundled/v3/components/OrCarousel/OrCarousel.vue.d.ts +126 -676
  41. package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.vue.d.ts +1 -1
  42. package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.vue.d.ts +15 -35
  43. package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +6 -24
  44. package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +17 -43
  45. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +23 -53
  46. package/dist/bundled/v3/components/OrChip/OrChip.vue.d.ts +9 -25
  47. package/dist/bundled/v3/components/OrChips/OrChips.vue.d.ts +24 -51
  48. package/dist/bundled/v3/components/OrCode/OrCode.js +6 -10
  49. package/dist/bundled/v3/components/OrCode/OrCode.vue.d.ts +24 -69
  50. package/dist/bundled/v3/components/OrCode/index.js +4 -8
  51. package/dist/bundled/v3/components/OrCode/lang.js +3 -3941
  52. package/dist/bundled/v3/components/OrCode/theme.js +1 -2
  53. package/dist/bundled/v3/components/OrCollapse/OrCollapse.vue.d.ts +17 -39
  54. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.vue.d.ts +13 -31
  55. package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.vue.d.ts +8 -30
  56. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +4 -5
  57. package/dist/bundled/v3/components/OrConfirm/OrConfirm.vue.d.ts +23 -84
  58. package/dist/bundled/v3/components/OrConfirm/index.js +3 -4
  59. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +3 -3
  60. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +29 -91
  61. package/dist/bundled/v3/components/OrConfirmV3/index.js +2 -2
  62. package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.vue.d.ts +25 -81
  63. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.vue.d.ts +68 -177
  64. package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +31 -105
  65. package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyState.vue.d.ts +11 -28
  66. package/dist/bundled/v3/components/OrError/OrError.vue.d.ts +4 -8
  67. package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTag.vue.d.ts +4 -7
  68. package/dist/bundled/v3/components/OrErrorV3/OrError.vue.d.ts +9 -18
  69. package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.vue.d.ts +14 -35
  70. package/dist/bundled/v3/components/OrFabV3/OrFab.vue.d.ts +8 -20
  71. package/dist/bundled/v3/components/OrFloating/OrFloating.vue.d.ts +15 -46
  72. package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.vue.d.ts +10 -30
  73. package/dist/bundled/v3/components/OrHint/OrHint.vue.d.ts +4 -8
  74. package/dist/bundled/v3/components/OrHintV3/OrHint.vue.d.ts +9 -18
  75. package/dist/bundled/v3/components/OrIcon/OrIcon.vue.d.ts +16 -44
  76. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +13 -43
  77. package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.vue.d.ts +16 -52
  78. package/dist/bundled/v3/components/OrIconV3/OrIcon.vue.d.ts +7 -18
  79. package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBox.vue.d.ts +7 -16
  80. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.vue.d.ts +39 -83
  81. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.vue.d.ts +43 -95
  82. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +39 -79
  83. package/dist/bundled/v3/components/OrInput/OrInput.vue.d.ts +36 -87
  84. package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.vue.d.ts +7 -22
  85. package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +34 -85
  86. package/dist/bundled/v3/components/OrLabel/OrLabel.vue.d.ts +9 -20
  87. package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +9 -24
  88. package/dist/bundled/v3/components/OrLinkV3/OrLink.vue.d.ts +7 -24
  89. package/dist/bundled/v3/components/OrList/OrList.vue.d.ts +21 -47
  90. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.vue.d.ts +11 -27
  91. package/dist/bundled/v3/components/OrLoader/OrLoader.vue.d.ts +10 -26
  92. package/dist/bundled/v3/components/OrLoaderV3/OrLoader.vue.d.ts +13 -34
  93. package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.vue.d.ts +13 -34
  94. package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +16 -43
  95. package/dist/bundled/v3/components/OrModal/OrModal.js +2 -3
  96. package/dist/bundled/v3/components/OrModal/OrModal.vue.d.ts +14 -38
  97. package/dist/bundled/v3/components/OrModal/index.js +1 -2
  98. package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +15 -31
  99. package/dist/bundled/v3/components/OrNotification/OrNotification.vue.d.ts +9 -27
  100. package/dist/bundled/v3/components/OrNotificationV3/OrNotification.vue.d.ts +9 -20
  101. package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.vue.d.ts +24 -70
  102. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.vue.d.ts +13 -31
  103. package/dist/bundled/v3/components/OrOverlay/OrOverlay.vue.d.ts +6 -16
  104. package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.vue.d.ts +7 -14
  105. package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +27 -75
  106. package/dist/bundled/v3/components/OrPassword/OrPassword.vue.d.ts +22 -63
  107. package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +28 -76
  108. package/dist/bundled/v3/components/OrProgress/OrProgress.vue.d.ts +20 -56
  109. package/dist/bundled/v3/components/OrProgressV3/OrProgress.vue.d.ts +25 -62
  110. package/dist/bundled/v3/components/OrRadio/OrRadio.vue.d.ts +13 -35
  111. package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.vue.d.ts +9 -26
  112. package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +6 -32
  113. package/dist/bundled/v3/components/OrRadioV3/OrRadio.vue.d.ts +21 -49
  114. package/dist/bundled/v3/components/OrSearch/OrSearch.vue.d.ts +23 -65
  115. package/dist/bundled/v3/components/OrSearchV3/OrSearch.vue.d.ts +17 -41
  116. package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.vue.d.ts +9 -25
  117. package/dist/bundled/v3/components/OrSelect/OrSelect.vue.d.ts +28 -77
  118. package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +37 -115
  119. package/dist/bundled/v3/components/OrSidebar/OrSidebar.vue.d.ts +14 -33
  120. package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.vue.d.ts +28 -63
  121. package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.vue.d.ts +9 -20
  122. package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.vue.d.ts +13 -28
  123. package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.vue.d.ts +9 -22
  124. package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.vue.d.ts +11 -26
  125. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.vue.d.ts +10 -26
  126. package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.vue.d.ts +16 -40
  127. package/dist/bundled/v3/components/OrSlider/OrSlider.vue.d.ts +35 -91
  128. package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.vue.d.ts +13 -25
  129. package/dist/bundled/v3/components/OrStepper/OrStepper.vue.d.ts +16 -43
  130. package/dist/bundled/v3/components/OrSwitch/OrSwitch.vue.d.ts +12 -33
  131. package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.vue.d.ts +22 -53
  132. package/dist/bundled/v3/components/OrTab/OrTab.vue.d.ts +9 -22
  133. package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.vue.d.ts +13 -29
  134. package/dist/bundled/v3/components/OrTabV3/OrTab.vue.d.ts +10 -17
  135. package/dist/bundled/v3/components/OrTabs/OrTabs.vue.d.ts +4 -17
  136. package/dist/bundled/v3/components/OrTabsV3/OrTabs.vue.d.ts +25 -71
  137. package/dist/bundled/v3/components/OrTag/OrTag.vue.d.ts +10 -27
  138. package/dist/bundled/v3/components/OrTagV3/OrTag.vue.d.ts +12 -23
  139. package/dist/bundled/v3/components/OrTagsV3/OrTags.vue.d.ts +19 -63
  140. package/dist/bundled/v3/components/OrTeleport/OrTeleport.vue3.vue.d.ts +4 -10
  141. package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.vue3.vue.d.ts +4 -10
  142. package/dist/bundled/v3/components/OrTextV3/OrText.vue.d.ts +11 -24
  143. package/dist/bundled/v3/components/OrTextarea/OrTextarea.vue.d.ts +37 -85
  144. package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +2 -2
  145. package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.vue.d.ts +32 -73
  146. package/dist/bundled/v3/components/OrTextareaV3/index.js +1 -1
  147. package/dist/bundled/v3/components/OrTextareaV3/styles.js +2 -0
  148. package/dist/bundled/v3/components/OrTextbox/OrTextbox.vue.d.ts +55 -137
  149. package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.vue.d.ts +25 -79
  150. package/dist/bundled/v3/components/OrToast/OrToast.vue.d.ts +11 -31
  151. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +25 -55
  152. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.vue.d.ts +24 -54
  153. package/dist/bundled/v3/components/OrToastV3/OrToast.vue.d.ts +16 -38
  154. package/dist/bundled/v3/components/OrTooltip/OrTooltip.vue.d.ts +14 -33
  155. package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.vue.d.ts +4 -10
  156. package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +13 -37
  157. package/dist/bundled/v3/components/index.d.ts +0 -1
  158. package/dist/bundled/v3/components/index.js +8 -23
  159. package/dist/bundled/v3/directives/dropdown-close.d.ts +3 -1
  160. package/dist/bundled/v3/directives/dropdown-open.d.ts +3 -1
  161. package/dist/bundled/v3/hooks/useResponsive/useResponsive.d.ts +2 -2
  162. package/dist/bundled/v3/{index-0d224ae5.js → index-cf2c3c27.js} +115 -3
  163. package/dist/bundled/v3/index.js +12 -27
  164. package/dist/bundled/{v2/index-e9f6b2d8.js → v3/lang-0fb8f78b.js} +4009 -73
  165. package/dist/esm/v2/{OrTextarea-800f63d4.js → OrTextarea-eaadb85f.js} +2 -0
  166. package/dist/esm/v2/components/index.d.ts +0 -1
  167. package/dist/esm/v2/components/index.js +1 -25
  168. package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
  169. package/dist/esm/v2/components/or-textarea/OrTextarea.vue.d.ts +2 -2
  170. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +2 -2
  171. package/dist/esm/v2/components/or-textarea-v3/index.js +1 -1
  172. package/dist/esm/v2/components/or-textbox/OrTextbox.vue.d.ts +2 -2
  173. package/dist/esm/v2/components/or-time-picker-v3/OrTimePicker.vue.d.ts +2 -2
  174. package/dist/esm/v2/components/or-toast/OrToast.vue.d.ts +2 -2
  175. package/dist/esm/v2/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +2 -2
  176. package/dist/esm/v2/components/or-toast-v3/OrToast.vue.d.ts +2 -2
  177. package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +2 -2
  178. package/dist/esm/v2/components/or-tooltip/OrTooltip.vue.d.ts +2 -2
  179. package/dist/esm/v2/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue.d.ts +2 -2
  180. package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  181. package/dist/esm/v2/index.js +1 -25
  182. package/dist/esm/v3/{OrTextarea-fa1454e3.js → OrTextarea-d9d355ce.js} +2 -0
  183. package/dist/esm/v3/components/index.d.ts +0 -1
  184. package/dist/esm/v3/components/index.js +1 -25
  185. package/dist/esm/v3/components/or-avatar/OrAvatar.vue.d.ts +11 -26
  186. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +8 -24
  187. package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +20 -33
  188. package/dist/esm/v3/components/or-button/OrButton.vue.d.ts +16 -51
  189. package/dist/esm/v3/components/or-button-v2/OrButton.vue.d.ts +20 -57
  190. package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +15 -35
  191. package/dist/esm/v3/components/or-card/OrCard.vue.d.ts +7 -15
  192. package/dist/esm/v3/components/or-card-collection/OrCardCollection.vue.d.ts +21 -47
  193. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +22 -70
  194. package/dist/esm/v3/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +6 -14
  195. package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +4 -7
  196. package/dist/esm/v3/components/or-carousel/OrCarousel.vue.d.ts +126 -676
  197. package/dist/esm/v3/components/or-carousel/or-carousel-item/OrCarouselItem.vue.d.ts +1 -1
  198. package/dist/esm/v3/components/or-checkbox/OrCheckbox.vue.d.ts +15 -35
  199. package/dist/esm/v3/components/or-checkbox-group-v3/OrCheckboxGroup.vue.d.ts +6 -24
  200. package/dist/esm/v3/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +17 -43
  201. package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -53
  202. package/dist/esm/v3/components/or-chips/OrChips.vue.d.ts +24 -51
  203. package/dist/esm/v3/components/or-chips/or-chip/OrChip.vue.d.ts +9 -25
  204. package/dist/esm/v3/components/or-chips/partials/OrChipsInput.vue.d.ts +17 -37
  205. package/dist/esm/v3/components/or-code/OrCode.vue.d.ts +24 -69
  206. package/dist/esm/v3/components/or-collapse/OrCollapse.vue.d.ts +17 -39
  207. package/dist/esm/v3/components/or-color-picker/OrColorPicker.vue.d.ts +13 -31
  208. package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +8 -30
  209. package/dist/esm/v3/components/or-confirm/OrConfirm.vue.d.ts +23 -84
  210. package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +29 -91
  211. package/dist/esm/v3/components/or-date-picker-v3/OrDatePicker.vue.d.ts +25 -81
  212. package/dist/esm/v3/components/or-date-time-picker/OrDateTimePicker.vue.d.ts +68 -177
  213. package/dist/esm/v3/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue.d.ts +12 -33
  214. package/dist/esm/v3/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +31 -105
  215. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue.d.ts +11 -28
  216. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +17 -39
  217. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue.d.ts +7 -15
  218. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +23 -85
  219. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue.d.ts +7 -11
  220. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue.d.ts +4 -7
  221. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue.d.ts +11 -28
  222. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +15 -37
  223. package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +11 -28
  224. package/dist/esm/v3/components/or-error/OrError.vue.d.ts +4 -8
  225. package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +4 -7
  226. package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +9 -18
  227. package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +14 -35
  228. package/dist/esm/v3/components/or-fab-v3/OrFab.vue.d.ts +8 -20
  229. package/dist/esm/v3/components/or-floating/OrFloating.vue.d.ts +15 -46
  230. package/dist/esm/v3/components/or-form-group-v3/OrFormGroup.vue.d.ts +10 -30
  231. package/dist/esm/v3/components/or-hint/OrHint.vue.d.ts +4 -8
  232. package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +9 -18
  233. package/dist/esm/v3/components/or-icon/OrIcon.vue.d.ts +16 -44
  234. package/dist/esm/v3/components/or-icon-button-v2/OrIconButton.vue.d.ts +13 -43
  235. package/dist/esm/v3/components/or-icon-button-v2/partials/OrTooltipWrapper.vue.d.ts +8 -10
  236. package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +16 -52
  237. package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +7 -18
  238. package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +7 -16
  239. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +39 -83
  240. package/dist/esm/v3/components/or-inline-text-edit/OrInlineTextEdit.vue.d.ts +43 -95
  241. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +39 -79
  242. package/dist/esm/v3/components/or-input/OrInput.vue.d.ts +36 -87
  243. package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +7 -22
  244. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +34 -85
  245. package/dist/esm/v3/components/or-label/OrLabel.vue.d.ts +9 -20
  246. package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +9 -24
  247. package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +7 -24
  248. package/dist/esm/v3/components/or-list/OrList.vue.d.ts +21 -47
  249. package/dist/esm/v3/components/or-list-of-inputs/OrListOfInputs.vue.d.ts +11 -27
  250. package/dist/esm/v3/components/or-loader/OrLoader.vue.d.ts +10 -26
  251. package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +13 -34
  252. package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +13 -34
  253. package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +16 -43
  254. package/dist/esm/v3/components/or-modal/OrModal.vue.d.ts +14 -38
  255. package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +15 -31
  256. package/dist/esm/v3/components/or-notification/OrNotification.vue.d.ts +9 -27
  257. package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +9 -20
  258. package/dist/esm/v3/components/or-number-input/OrNumberInput.vue.d.ts +24 -70
  259. package/dist/esm/v3/components/or-overflow-menu/OrOverflowMenu.vue.d.ts +13 -31
  260. package/dist/esm/v3/components/or-overflow-menu/partials/OrOverflowMenuItem.vue.d.ts +7 -23
  261. package/dist/esm/v3/components/or-overlay/OrOverlay.vue.d.ts +6 -16
  262. package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +7 -14
  263. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +27 -75
  264. package/dist/esm/v3/components/or-password/OrPassword.vue.d.ts +22 -63
  265. package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +28 -76
  266. package/dist/esm/v3/components/or-progress/OrProgress.vue.d.ts +20 -56
  267. package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +25 -62
  268. package/dist/esm/v3/components/or-radio/OrRadio.vue.d.ts +13 -35
  269. package/dist/esm/v3/components/or-radio-group/OrRadioGroup.vue.d.ts +9 -26
  270. package/dist/esm/v3/components/or-radio-group-v3/OrRadioGroup.vue.d.ts +6 -32
  271. package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +21 -49
  272. package/dist/esm/v3/components/or-search/OrSearch.vue.d.ts +23 -65
  273. package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +17 -41
  274. package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +9 -25
  275. package/dist/esm/v3/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +8 -20
  276. package/dist/esm/v3/components/or-select/OrSelect.vue.d.ts +28 -77
  277. package/dist/esm/v3/components/or-select/partials/OrSelectContent.vue.d.ts +18 -49
  278. package/dist/esm/v3/components/or-select/partials/OrSelectContentEmpty.vue.d.ts +4 -16
  279. package/dist/esm/v3/components/or-select/partials/OrSelectContentOptions.vue.d.ts +13 -67
  280. package/dist/esm/v3/components/or-select/partials/OrSelectInput.vue.d.ts +16 -41
  281. package/dist/esm/v3/components/or-select/partials/OrSelectInputValue.vue.d.ts +16 -35
  282. package/dist/esm/v3/components/or-select/partials/OrSelectMain.vue.d.ts +24 -71
  283. package/dist/esm/v3/components/or-select/partials/OrSelectOption.vue.d.ts +7 -19
  284. package/dist/esm/v3/components/or-select/partials/OrSelectSearchOptions.vue.d.ts +11 -24
  285. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +37 -115
  286. package/dist/esm/v3/components/or-sidebar/OrSidebar.vue.d.ts +14 -33
  287. package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +28 -63
  288. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +10 -23
  289. package/dist/esm/v3/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.vue.d.ts +9 -20
  290. package/dist/esm/v3/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.vue.d.ts +9 -22
  291. package/dist/esm/v3/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue.d.ts +10 -26
  292. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts +13 -28
  293. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts +11 -26
  294. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-text-v3/OrSkeletonText.vue.d.ts +16 -40
  295. package/dist/esm/v3/components/or-slider/OrSlider.vue.d.ts +35 -91
  296. package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +13 -25
  297. package/dist/esm/v3/components/or-stepper/OrStepper.vue.d.ts +16 -43
  298. package/dist/esm/v3/components/or-stepper/partials/OrStepperButtonOptions.vue.d.ts +4 -20
  299. package/dist/esm/v3/components/or-stepper/partials/OrStepperOptionHorizontal.vue.d.ts +4 -26
  300. package/dist/esm/v3/components/or-stepper/partials/OrStepperOptionVertical.vue.d.ts +4 -26
  301. package/dist/esm/v3/components/or-stepper/partials/OrStepperTitle.vue.d.ts +6 -22
  302. package/dist/esm/v3/components/or-stepper/partials/StatusIcon.vue.d.ts +6 -12
  303. package/dist/esm/v3/components/or-switch/OrSwitch.vue.d.ts +12 -33
  304. package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +22 -53
  305. package/dist/esm/v3/components/or-tab/OrTab.vue.d.ts +9 -22
  306. package/dist/esm/v3/components/or-tab-header-item/OrTabHeaderItem.vue.d.ts +13 -29
  307. package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +10 -17
  308. package/dist/esm/v3/components/or-tabs/OrTabs.vue.d.ts +4 -17
  309. package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +25 -71
  310. package/dist/esm/v3/components/or-tag/OrTag.vue.d.ts +10 -27
  311. package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +12 -23
  312. package/dist/esm/v3/components/or-tags-v3/OrTags.vue.d.ts +19 -63
  313. package/dist/esm/v3/components/or-teleport/OrTeleport.vue3.vue.d.ts +4 -10
  314. package/dist/esm/v3/components/or-teleport-v3/OrTeleport.vue3.vue.d.ts +4 -10
  315. package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +11 -24
  316. package/dist/esm/v3/components/or-textarea/OrTextarea.vue.d.ts +37 -85
  317. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +32 -73
  318. package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
  319. package/dist/esm/v3/components/or-textbox/OrTextbox.vue.d.ts +55 -137
  320. package/dist/esm/v3/components/or-time-picker-v3/OrTimePicker.vue.d.ts +25 -79
  321. package/dist/esm/v3/components/or-toast/OrToast.vue.d.ts +11 -31
  322. package/dist/esm/v3/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +25 -55
  323. package/dist/esm/v3/components/or-toast-v3/OrToast.vue.d.ts +16 -38
  324. package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +24 -54
  325. package/dist/esm/v3/components/or-tooltip/OrTooltip.vue.d.ts +14 -33
  326. package/dist/esm/v3/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue.d.ts +4 -10
  327. package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +13 -37
  328. package/dist/esm/v3/directives/dropdown-close.d.ts +3 -1
  329. package/dist/esm/v3/directives/dropdown-open.d.ts +3 -1
  330. package/dist/esm/v3/hooks/useResponsive/useResponsive.d.ts +2 -2
  331. package/dist/esm/v3/index.js +1 -25
  332. package/package.json +5 -25
  333. package/src/components/index.ts +0 -1
  334. package/src/components/or-textarea-v3/styles.ts +6 -0
  335. package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -2196
  336. package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -220
  337. package/dist/bundled/v2/components/OrRichTextEditorV3/index.d.ts +0 -2
  338. package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +0 -70
  339. package/dist/bundled/v2/components/OrRichTextEditorV3/props.d.ts +0 -4
  340. package/dist/bundled/v2/components/OrRichTextEditorV3/props.js +0 -7
  341. package/dist/bundled/v2/components/OrRichTextEditorV3/styles.d.ts +0 -6
  342. package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +0 -38
  343. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +0 -3
  344. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +0 -46
  345. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
  346. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -184
  347. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
  348. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -5
  349. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -24
  350. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -190
  351. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +0 -19
  352. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
  353. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.d.ts +0 -3
  354. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.js +0 -5
  355. package/dist/bundled/v2/index-418d5c0d.js +0 -9633
  356. package/dist/bundled/v2/index-85c2efe8.js +0 -7122
  357. package/dist/bundled/v2/index-d92d0b48.js +0 -3805
  358. package/dist/bundled/v2/index.es-3f39f316.js +0 -115
  359. package/dist/bundled/v2/markdown-7c7c4ca6.js +0 -17980
  360. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-7e29b3d0.js +0 -237
  361. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-2c009ee0.js +0 -108
  362. package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-da618771.js +0 -1887
  363. package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -283
  364. package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -220
  365. package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +0 -2
  366. package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +0 -86
  367. package/dist/bundled/v3/components/OrRichTextEditorV3/props.d.ts +0 -4
  368. package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +0 -7
  369. package/dist/bundled/v3/components/OrRichTextEditorV3/styles.d.ts +0 -6
  370. package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +0 -38
  371. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +0 -3
  372. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +0 -46
  373. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
  374. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -184
  375. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
  376. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -5
  377. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -24
  378. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -190
  379. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +0 -19
  380. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
  381. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.d.ts +0 -3
  382. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +0 -5
  383. package/dist/bundled/v3/index-418d5c0d.js +0 -9633
  384. package/dist/bundled/v3/index-85c2efe8.js +0 -7122
  385. package/dist/bundled/v3/index.es-3f39f316.js +0 -115
  386. package/dist/bundled/v3/markdown-7c7c4ca6.js +0 -17980
  387. package/dist/bundled/v3/useFocusTrap-48767a70.js +0 -1348
  388. package/dist/esm/v2/OrRichTextEditor-f95ca8c6.js +0 -919
  389. package/dist/esm/v2/codemirrorView-be2c7423.js +0 -353
  390. package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -220
  391. package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +0 -2
  392. package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +0 -59
  393. package/dist/esm/v2/components/or-rich-text-editor-v3/props.d.ts +0 -4
  394. package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -6
  395. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
  396. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
  397. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
  398. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -7
  399. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -24
  400. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
  401. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
  402. package/dist/esm/v3/OrRichTextEditor-065797b2.js +0 -852
  403. package/dist/esm/v3/codemirrorView-be2c7423.js +0 -353
  404. package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -220
  405. package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +0 -2
  406. package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +0 -57
  407. package/dist/esm/v3/components/or-rich-text-editor-v3/props.d.ts +0 -4
  408. package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -6
  409. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
  410. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
  411. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
  412. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -7
  413. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -24
  414. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
  415. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
  416. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -761
  417. package/src/components/or-rich-text-editor-v3/index.ts +0 -2
  418. package/src/components/or-rich-text-editor-v3/props.ts +0 -4
  419. package/src/components/or-rich-text-editor-v3/styles.ts +0 -53
  420. package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.ts +0 -40
  421. package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.ts +0 -254
  422. package/src/components/or-rich-text-editor-v3/utils/codemirror/index.ts +0 -1
  423. package/src/components/or-rich-text-editor-v3/utils/codemirror/theme.ts +0 -213
  424. package/src/components/or-rich-text-editor-v3/utils/codemirror/types.ts +0 -22
  425. package/src/components/or-rich-text-editor-v3/utils/markdown.ts +0 -120
  426. /package/dist/bundled/v2/{index-f6664cb1.js → index-968c331a.js} +0 -0
  427. /package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-f287189f.js → OrTextarea.vue_vue_type_script_lang-7b74a80e.js} +0 -0
  428. /package/dist/bundled/v3/{index-f6664cb1.js → index-968c331a.js} +0 -0
@@ -1,353 +0,0 @@
1
- import { TextSelection, Selection } from 'prosemirror-state';
2
- import { exitCode } from 'prosemirror-commands';
3
- import { EditorState } from '@codemirror/state';
4
- import { EditorView, highlightActiveLine, highlightActiveLineGutter, lineNumbers, keymap } from '@codemirror/view';
5
- import { HighlightStyle, syntaxHighlighting } from '@codemirror/language';
6
- import { tags } from '@lezer/highlight';
7
-
8
- // Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
9
- const chalky = 'var(--c-warning-darken-20)',
10
- coral = 'var(--c-error)',
11
- cyan = '#56b6c2',
12
- invalid = 'var(--c-white)',
13
- ivory = 'var(--c-neutral-6)',
14
- stone = 'var(--c-neutral-5)',
15
- // Brightened compared to original to increase contrast
16
- malibu = '#61afef',
17
- sage = 'var(--c-success)',
18
- whiskey = 'var(--c-warning-darken-5)',
19
- violet = '#c678dd',
20
- darkBackground = 'var(--c-neutral-1)',
21
- highlightBackground = 'var(--c-neutral-2)',
22
- background = 'var(--c-neutral-1)',
23
- tooltipBackground = 'var(--c-neutral-2)',
24
- selection = 'var(--c-neutral-3)',
25
- cursor = 'var(--c-primary)';
26
- /// The editor theme styles for One Dark.
27
- const orCodeTheme = EditorView.theme({
28
- '&': {
29
- color: ivory,
30
- backgroundColor: background
31
- },
32
- '.cm-content': {
33
- caretColor: cursor
34
- },
35
- '.cm-button': {
36
- background: highlightBackground,
37
- color: 'var(--c-neutral-6)',
38
- border: 0,
39
- borderRadius: 'var(--s-2)'
40
- },
41
- '.cm-panel.cm-search input[type=checkbox]': {
42
- display: 'inline-block',
43
- verticalAlign: 'middle'
44
- },
45
- '.cm-cursor, .cm-dropCursor': {
46
- borderLeftColor: cursor
47
- },
48
- '&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
49
- backgroundColor: selection
50
- },
51
- '.cm-panels': {
52
- backgroundColor: darkBackground,
53
- color: ivory
54
- },
55
- '.cm-panels.cm-panels-top': {
56
- borderBottom: '2px solid var(--c-neutral-2)'
57
- },
58
- '.cm-panels.cm-panels-bottom': {
59
- borderTop: '2px solid var(--c-neutral-2)'
60
- },
61
- '.cm-searchMatch': {
62
- backgroundColor: 'var(--c-neutral-1)',
63
- outline: '1px solid var(--c-neutral-2)'
64
- },
65
- '.cm-searchMatch.cm-searchMatch-selected': {
66
- backgroundColor: '#6199ff2f'
67
- },
68
- '.cm-activeLine': {
69
- backgroundColor: '#6699ff0b'
70
- },
71
- '.cm-selectionMatch': {
72
- backgroundColor: '#aafe661a'
73
- },
74
- '&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
75
- backgroundColor: '#bad0f847'
76
- },
77
- '.cm-gutters': {
78
- backgroundColor: background,
79
- color: stone,
80
- border: 'none'
81
- },
82
- '.cm-activeLineGutter': {
83
- backgroundColor: highlightBackground
84
- },
85
- '.cm-foldPlaceholder': {
86
- backgroundColor: 'transparent',
87
- border: 'none',
88
- color: '#ddd'
89
- },
90
- '.cm-tooltip': {
91
- border: 'none',
92
- backgroundColor: tooltipBackground
93
- },
94
- '.cm-tooltip .cm-tooltip-arrow:before': {
95
- borderTopColor: 'transparent',
96
- borderBottomColor: 'transparent'
97
- },
98
- '.cm-tooltip .cm-tooltip-arrow:after': {
99
- borderTopColor: tooltipBackground,
100
- borderBottomColor: tooltipBackground
101
- },
102
- '.cm-tooltip-autocomplete': {
103
- '& > ul > li[aria-selected]': {
104
- backgroundColor: highlightBackground,
105
- color: ivory
106
- }
107
- },
108
- '.cm-textfield': {
109
- outline: 'none',
110
- background: background,
111
- color: 'var(--c-neutral-6)',
112
- backgroundColor: 'var(--c-neutral-1)',
113
- border: '1px solid var(--c-neutral-2)',
114
- borderRadius: 'var(--s-2)'
115
- }
116
- }, {
117
- dark: true
118
- });
119
- /// The highlighting style for code in the One Dark theme.
120
- const orCodeHighlightStyle = HighlightStyle.define([{
121
- tag: tags.keyword,
122
- color: violet
123
- }, {
124
- tag: [tags.name, tags.deleted, tags.character, tags.propertyName, tags.macroName],
125
- color: coral
126
- }, {
127
- tag: [tags.function(tags.variableName), tags.labelName],
128
- color: malibu
129
- }, {
130
- tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)],
131
- color: whiskey
132
- }, {
133
- tag: [tags.definition(tags.name), tags.separator],
134
- color: ivory
135
- }, {
136
- tag: [tags.typeName, tags.className, tags.number, tags.changed, tags.annotation, tags.modifier, tags.self, tags.namespace],
137
- color: chalky
138
- }, {
139
- tag: [tags.operator, tags.operatorKeyword, tags.url, tags.escape, tags.regexp, tags.link, tags.special(tags.string)],
140
- color: cyan
141
- }, {
142
- tag: [tags.meta, tags.comment],
143
- color: stone
144
- }, {
145
- tag: tags.strong,
146
- fontWeight: 'bold'
147
- }, {
148
- tag: tags.emphasis,
149
- fontStyle: 'italic'
150
- }, {
151
- tag: tags.strikethrough,
152
- textDecoration: 'line-through'
153
- }, {
154
- tag: tags.link,
155
- color: stone,
156
- textDecoration: 'underline'
157
- }, {
158
- tag: tags.heading,
159
- fontWeight: 'bold',
160
- color: coral
161
- }, {
162
- tag: [tags.atom, tags.bool, tags.special(tags.variableName)],
163
- color: whiskey
164
- }, {
165
- tag: [tags.processingInstruction, tags.string, tags.inserted],
166
- color: sage
167
- }, {
168
- tag: tags.invalid,
169
- color: invalid
170
- }]);
171
- /// Extension to enable the One Dark theme (both the editor theme and
172
- /// the highlight style).
173
- const theme = [orCodeTheme, syntaxHighlighting(orCodeHighlightStyle)];
174
-
175
- const computeChange = (oldVal, newVal) => {
176
- if (oldVal === newVal) {
177
- return null;
178
- }
179
- let start = 0;
180
- let oldEnd = oldVal.length;
181
- let newEnd = newVal.length;
182
- while (start < oldEnd && oldVal.charCodeAt(start) === newVal.charCodeAt(start)) {
183
- start += 1;
184
- }
185
- while (oldEnd > start && newEnd > start && oldVal.charCodeAt(oldEnd - 1) === newVal.charCodeAt(newEnd - 1)) {
186
- oldEnd -= 1;
187
- newEnd -= 1;
188
- }
189
- return {
190
- from: start,
191
- to: oldEnd,
192
- text: newVal.slice(start, newEnd)
193
- };
194
- };
195
- class CodeMirrorView {
196
- constructor(options) {
197
- var _a;
198
- this.updating = false;
199
- // Store for later
200
- this.node = options.node;
201
- this.view = options.view;
202
- const cmExtensions = ((_a = options.cmOptions) === null || _a === void 0 ? void 0 : _a.extensions) || [];
203
- this.name = 'codeBlock', this.getPos = options.getPos;
204
- const changeFilter = EditorState.changeFilter.of(tr => {
205
- if (!tr.docChanged && !this.updating) {
206
- this.forwardSelection();
207
- }
208
- return true;
209
- });
210
- // Create a CodeMirror instancew
211
- this.cm = new EditorView({
212
- dispatch: this.dispatch.bind(this)
213
- });
214
- // The editor's outer node is our DOM representation
215
- this.dom = this.cm.dom;
216
- const cmState = EditorState.create({
217
- doc: this.node.textContent,
218
- extensions: [theme, changeFilter, highlightActiveLine(), highlightActiveLineGutter(), lineNumbers(), keymap.of([{
219
- key: 'ArrowUp',
220
- run: this.mayBeEscape('line', -1)
221
- }, {
222
- key: 'ArrowLeft',
223
- run: this.mayBeEscape('char', -1)
224
- }, {
225
- key: 'ArrowDown',
226
- run: this.mayBeEscape('line', 1)
227
- }, {
228
- key: 'ArrowRight',
229
- run: this.mayBeEscape('char', 1)
230
- }, {
231
- key: 'Ctrl-Enter',
232
- run: () => {
233
- if (exitCode(this.view.state, this.view.dispatch)) {
234
- this.view.focus();
235
- return true;
236
- }
237
- return false;
238
- }
239
- }]), cmExtensions]
240
- });
241
- this.cm.setState(cmState);
242
- }
243
- forwardSelection() {
244
- if (!this.cm.hasFocus) {
245
- return;
246
- }
247
- const {
248
- state
249
- } = this.view;
250
- const selection = this.asProseMirrorSelection(state.doc);
251
- if (!selection.eq(state.selection)) {
252
- this.view.dispatch(state.tr.setSelection(selection));
253
- }
254
- }
255
- asProseMirrorSelection(doc) {
256
- const offset = this.getPos() + 1;
257
- const {
258
- anchor,
259
- head
260
- } = this.cm.state.selection.main;
261
- return TextSelection.create(doc, anchor + offset, head + offset);
262
- }
263
- dispatch(cmTr) {
264
- this.cm.setState(cmTr.state);
265
- if (cmTr.docChanged && !this.updating) {
266
- const start = this.getPos() + 1;
267
- const cmValue = cmTr.state.doc.toString();
268
- const change = computeChange(this.node.textContent, cmValue);
269
- if (!change) {
270
- return;
271
- }
272
- const content = change.text ? this.view.state.schema.text(change.text) : null;
273
- const tr = this.view.state.tr.replaceWith(change.from + start, change.to + start, content);
274
- this.view.dispatch(tr);
275
- this.forwardSelection();
276
- }
277
- }
278
- mayBeEscape(unit, dir) {
279
- return view => {
280
- const {
281
- state
282
- } = view;
283
- const {
284
- selection
285
- } = state;
286
- const offsetToPos = () => {
287
- const offset = selection.main.from;
288
- const line = state.doc.lineAt(offset);
289
- return {
290
- line: line.number,
291
- ch: offset - line.from
292
- };
293
- };
294
- const pos = offsetToPos();
295
- const hasSelection = state.selection.ranges.some(r => !r.empty);
296
- const firstLine = 1;
297
- const lastLine = state.doc.lineAt(state.doc.length).number;
298
- if (hasSelection || pos.line !== (dir < 0 ? firstLine : lastLine) || unit === 'char' && pos.ch !== (dir < 0 ? 0 : state.doc.line(pos.line).length)) {
299
- return false;
300
- }
301
- const targetPos = this.getPos() + (dir < 0 ? 0 : this.node.nodeSize);
302
- const pmSelection = Selection.near(this.view.state.doc.resolve(targetPos), dir);
303
- this.view.dispatch(this.view.state.tr.setSelection(pmSelection).scrollIntoView());
304
- this.view.focus();
305
- return true;
306
- };
307
- }
308
- update(node) {
309
- if (node.type !== this.node.type) {
310
- return false;
311
- }
312
- this.node = node;
313
- const change = computeChange(this.cm.state.doc.toString(), node.textContent);
314
- if (change) {
315
- this.updating = true;
316
- this.cm.dispatch({
317
- changes: {
318
- from: change.from,
319
- to: change.to,
320
- insert: change.text
321
- }
322
- });
323
- this.updating = false;
324
- }
325
- return true;
326
- }
327
- setSelection(anchor, head) {
328
- this.focus();
329
- this.updating = true;
330
- this.cm.dispatch({
331
- selection: {
332
- anchor,
333
- head
334
- }
335
- });
336
- this.updating = false;
337
- }
338
- focus() {
339
- this.cm.focus();
340
- this.forwardSelection();
341
- }
342
- selectNode() {
343
- this.focus();
344
- }
345
- stopEvent() {
346
- return true;
347
- }
348
- destroy() {
349
- this.cm.destroy();
350
- }
351
- }
352
-
353
- export { CodeMirrorView as C };
@@ -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<Set<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<Set<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,2 +0,0 @@
1
- export { default as OrRichTextEditorV3 } from './OrRichTextEditor.vue';
2
- export * from './props';
@@ -1,57 +0,0 @@
1
- export { F as Formats, s as OrRichTextEditorV3 } from '../../OrRichTextEditor-065797b2.js';
2
- import 'vue-demi';
3
- import '@vueuse/integrations/useFocusTrap';
4
- import '@vueuse/core';
5
- import 'prosemirror-markdown';
6
- import 'prosemirror-model';
7
- import 'marked';
8
- import '@tiptap/extension-paragraph';
9
- import '@tiptap/extension-bullet-list';
10
- import '@tiptap/extension-list-item';
11
- import '@tiptap/extension-ordered-list';
12
- import '@tiptap/extension-strike';
13
- import '@tiptap/extension-italic';
14
- import '@tiptap/extension-hard-break';
15
- import '@tiptap/extension-bold';
16
- import '@tiptap/extension-code-block';
17
- import '@tiptap/extension-blockquote';
18
- import '@tiptap/extension-link';
19
- import '@tiptap/extension-highlight';
20
- import '@tiptap/extension-underline';
21
- import '../../OrIconButton-b7217ea5.js';
22
- import '../../OrIcon-62793572.js';
23
- import 'vue';
24
- import '../../OrTooltip-3d5fcaf9.js';
25
- import '../../OrPopover-15c2968f.js';
26
- import '@floating-ui/dom';
27
- import '../../useElevation-b5a49746.js';
28
- import '../../useResponsive-a02e95b7.js';
29
- import '../../OrBottomSheet-5969a217.js';
30
- import '../../OrOverlay-bf72f582.js';
31
- import '../../OrTeleport.vue3-8099178c.js';
32
- import '../../OrLabel-4da56db0.js';
33
- import '../../OrMenu-8a53ccf9.js';
34
- import '../../OrMenuItem-dbee450f.js';
35
- import '../../OrModal-1366926a.js';
36
- import '../../OrInput-af5bb98a.js';
37
- import '../../useIdAttribute-859439f0.js';
38
- import '../../useValidationAttributes-d1abbe34.js';
39
- import '../../OrError-c01d0c29.js';
40
- import '../../OrHint-06ab89d7.js';
41
- import '../../OrInputBox-ba40bbdf.js';
42
- import '../../OrLoader-b79022da.js';
43
- import '../../style-inject.es-4c6f2515.js';
44
- import '../../OrButton-c2b6aa9e.js';
45
- import '@tiptap/core';
46
- import '@tiptap/starter-kit';
47
- import '@tiptap/extension-heading';
48
- import '@tiptap/extension-placeholder';
49
- import '../../codemirrorView-be2c7423.js';
50
- import 'prosemirror-state';
51
- import 'prosemirror-commands';
52
- import '@codemirror/state';
53
- import '@codemirror/view';
54
- import '@codemirror/language';
55
- import '@lezer/highlight';
56
- import 'codemirror';
57
- import '@codemirror/lang-javascript';
@@ -1,4 +0,0 @@
1
- export declare enum Formats {
2
- Markdown = "markdown",
3
- Markup = "markup"
4
- }
@@ -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,3 +0,0 @@
1
- import { Node } from '@tiptap/core';
2
- declare const _default: Node<any, any>;
3
- export default _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 +0,0 @@
1
- export { default as CodeMirrorView } from './codemirrorView';