@onereach/ui-components 4.5.1 → 4.6.0-beta.2748.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 (418) hide show
  1. package/dist/bundled/v2/components/OrCode/OrCode.js +6 -3792
  2. package/dist/bundled/v2/components/OrCode/index.js +6 -2
  3. package/dist/bundled/v2/components/OrCode/lang.js +3941 -3
  4. package/dist/bundled/v2/components/OrCode/theme.js +2 -1
  5. package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +2 -1
  6. package/dist/bundled/v2/components/OrConfirm/index.js +2 -1
  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 +3 -1346
  10. package/dist/bundled/v2/components/OrModal/index.js +1 -0
  11. package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +2196 -0
  12. package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +220 -0
  13. package/dist/bundled/v2/components/OrRichTextEditorV3/index.d.ts +2 -0
  14. package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +70 -0
  15. package/dist/bundled/v2/components/OrRichTextEditorV3/props.d.ts +4 -0
  16. package/dist/bundled/v2/components/OrRichTextEditorV3/props.js +7 -0
  17. package/dist/bundled/v2/components/OrRichTextEditorV3/styles.d.ts +6 -0
  18. package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +38 -0
  19. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +3 -0
  20. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +46 -0
  21. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +27 -0
  22. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +184 -0
  23. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +1 -0
  24. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.js +5 -0
  25. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +24 -0
  26. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +190 -0
  27. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +19 -0
  28. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.js +1 -0
  29. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.d.ts +3 -0
  30. package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.js +5 -0
  31. package/dist/bundled/v2/components/OrTextV3/OrText.vue.d.ts +2 -2
  32. package/dist/bundled/v2/components/OrTextarea/OrTextarea.vue.d.ts +2 -2
  33. package/dist/bundled/v2/components/OrTextareaV3/OrTextarea.vue.d.ts +2 -2
  34. package/dist/bundled/v2/components/OrTextbox/OrTextbox.vue.d.ts +2 -2
  35. package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.vue.d.ts +2 -2
  36. package/dist/bundled/v2/components/OrToast/OrToast.vue.d.ts +2 -2
  37. package/dist/bundled/v2/components/OrToastV3/OrToast.vue.d.ts +2 -2
  38. package/dist/bundled/v2/components/OrTooltip/OrTooltip.vue.d.ts +2 -2
  39. package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +2 -2
  40. package/dist/bundled/v2/components/index.d.ts +1 -0
  41. package/dist/bundled/v2/components/index.js +17 -3
  42. package/dist/bundled/{v3/index-cf2c3c27.js → v2/index-0d224ae5.js} +3 -115
  43. package/dist/bundled/v2/index-418d5c0d.js +9633 -0
  44. package/dist/bundled/v2/index-85c2efe8.js +7122 -0
  45. package/dist/bundled/{v3/OrCode.vue_vue_type_script_lang-74060519.js → v2/index-d92d0b48.js} +14 -235
  46. package/dist/bundled/{v3/lang-0fb8f78b.js → v2/index-e9f6b2d8.js} +73 -4009
  47. package/dist/bundled/v2/index.es-3f39f316.js +115 -0
  48. package/dist/bundled/v2/index.js +20 -6
  49. package/dist/bundled/v2/markdown-7c7c4ca6.js +17980 -0
  50. package/dist/bundled/{v3/OrModal.vue_vue_type_script_lang-ae842e5b.js → v2/useFocusTrap-48767a70.js} +3 -106
  51. package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-7e29b3d0.js +237 -0
  52. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-e1390930.js → OrConfirm.vue_vue_type_script_lang-13397889.js} +1 -1
  53. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-e5a8f92a.js → OrConfirm.vue_vue_type_script_lang-4eaa8470.js} +2 -2
  54. package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-2c009ee0.js +108 -0
  55. package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-ece43c52.js +1887 -0
  56. package/dist/bundled/v3/components/OrAvatar/OrAvatar.vue.d.ts +26 -11
  57. package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +24 -8
  58. package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +33 -20
  59. package/dist/bundled/v3/components/OrButton/OrButton.vue.d.ts +51 -16
  60. package/dist/bundled/v3/components/OrButtonV2/OrButton.vue.d.ts +57 -20
  61. package/dist/bundled/v3/components/OrButtonV3/OrButton.vue.d.ts +35 -15
  62. package/dist/bundled/v3/components/OrCard/OrCard.vue.d.ts +15 -7
  63. package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.vue.d.ts +47 -21
  64. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +70 -22
  65. package/dist/bundled/v3/components/OrCardV3/OrCard.vue.d.ts +7 -4
  66. package/dist/bundled/v3/components/OrCarousel/OrCarousel.vue.d.ts +676 -126
  67. package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.vue.d.ts +1 -1
  68. package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.vue.d.ts +35 -15
  69. package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +24 -6
  70. package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +43 -17
  71. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +53 -23
  72. package/dist/bundled/v3/components/OrChip/OrChip.vue.d.ts +25 -9
  73. package/dist/bundled/v3/components/OrChips/OrChips.vue.d.ts +51 -24
  74. package/dist/bundled/v3/components/OrCode/OrCode.js +10 -6
  75. package/dist/bundled/v3/components/OrCode/OrCode.vue.d.ts +69 -24
  76. package/dist/bundled/v3/components/OrCode/index.js +8 -4
  77. package/dist/bundled/v3/components/OrCode/lang.js +3941 -3
  78. package/dist/bundled/v3/components/OrCode/theme.js +2 -1
  79. package/dist/bundled/v3/components/OrCollapse/OrCollapse.vue.d.ts +39 -17
  80. package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.vue.d.ts +31 -13
  81. package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.vue.d.ts +30 -8
  82. package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +5 -4
  83. package/dist/bundled/v3/components/OrConfirm/OrConfirm.vue.d.ts +84 -23
  84. package/dist/bundled/v3/components/OrConfirm/index.js +4 -3
  85. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +3 -3
  86. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +91 -29
  87. package/dist/bundled/v3/components/OrConfirmV3/index.js +2 -2
  88. package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.vue.d.ts +81 -25
  89. package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.vue.d.ts +177 -68
  90. package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +105 -31
  91. package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyState.vue.d.ts +28 -11
  92. package/dist/bundled/v3/components/OrError/OrError.vue.d.ts +8 -4
  93. package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTag.vue.d.ts +7 -4
  94. package/dist/bundled/v3/components/OrErrorV3/OrError.vue.d.ts +18 -9
  95. package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.vue.d.ts +35 -14
  96. package/dist/bundled/v3/components/OrFabV3/OrFab.vue.d.ts +20 -8
  97. package/dist/bundled/v3/components/OrFloating/OrFloating.vue.d.ts +46 -15
  98. package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.vue.d.ts +30 -10
  99. package/dist/bundled/v3/components/OrHint/OrHint.vue.d.ts +8 -4
  100. package/dist/bundled/v3/components/OrHintV3/OrHint.vue.d.ts +18 -9
  101. package/dist/bundled/v3/components/OrIcon/OrIcon.vue.d.ts +44 -16
  102. package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +43 -13
  103. package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.vue.d.ts +52 -16
  104. package/dist/bundled/v3/components/OrIconV3/OrIcon.vue.d.ts +18 -7
  105. package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBox.vue.d.ts +16 -7
  106. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.vue.d.ts +83 -39
  107. package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.vue.d.ts +95 -43
  108. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +79 -39
  109. package/dist/bundled/v3/components/OrInput/OrInput.vue.d.ts +87 -36
  110. package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.vue.d.ts +22 -7
  111. package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +85 -34
  112. package/dist/bundled/v3/components/OrLabel/OrLabel.vue.d.ts +20 -9
  113. package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +24 -9
  114. package/dist/bundled/v3/components/OrLinkV3/OrLink.vue.d.ts +24 -7
  115. package/dist/bundled/v3/components/OrList/OrList.vue.d.ts +47 -21
  116. package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.vue.d.ts +27 -11
  117. package/dist/bundled/v3/components/OrLoader/OrLoader.vue.d.ts +26 -10
  118. package/dist/bundled/v3/components/OrLoaderV3/OrLoader.vue.d.ts +34 -13
  119. package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.vue.d.ts +34 -13
  120. package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +43 -16
  121. package/dist/bundled/v3/components/OrModal/OrModal.js +3 -2
  122. package/dist/bundled/v3/components/OrModal/OrModal.vue.d.ts +38 -14
  123. package/dist/bundled/v3/components/OrModal/index.js +2 -1
  124. package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +31 -15
  125. package/dist/bundled/v3/components/OrNotification/OrNotification.vue.d.ts +27 -9
  126. package/dist/bundled/v3/components/OrNotificationV3/OrNotification.vue.d.ts +20 -9
  127. package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.vue.d.ts +70 -24
  128. package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.vue.d.ts +31 -13
  129. package/dist/bundled/v3/components/OrOverlay/OrOverlay.vue.d.ts +16 -6
  130. package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.vue.d.ts +14 -7
  131. package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +75 -27
  132. package/dist/bundled/v3/components/OrPassword/OrPassword.vue.d.ts +63 -22
  133. package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +76 -28
  134. package/dist/bundled/v3/components/OrProgress/OrProgress.vue.d.ts +56 -20
  135. package/dist/bundled/v3/components/OrProgressV3/OrProgress.vue.d.ts +62 -25
  136. package/dist/bundled/v3/components/OrRadio/OrRadio.vue.d.ts +35 -13
  137. package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.vue.d.ts +26 -9
  138. package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +32 -6
  139. package/dist/bundled/v3/components/OrRadioV3/OrRadio.vue.d.ts +49 -21
  140. package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +283 -0
  141. package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +220 -0
  142. package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +2 -0
  143. package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +86 -0
  144. package/dist/bundled/v3/components/OrRichTextEditorV3/props.d.ts +4 -0
  145. package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +7 -0
  146. package/dist/bundled/v3/components/OrRichTextEditorV3/styles.d.ts +6 -0
  147. package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +38 -0
  148. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +3 -0
  149. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +46 -0
  150. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +27 -0
  151. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +184 -0
  152. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +1 -0
  153. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +5 -0
  154. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +24 -0
  155. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +190 -0
  156. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +19 -0
  157. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.js +1 -0
  158. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.d.ts +3 -0
  159. package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +5 -0
  160. package/dist/bundled/v3/components/OrSearch/OrSearch.vue.d.ts +65 -23
  161. package/dist/bundled/v3/components/OrSearchV3/OrSearch.vue.d.ts +41 -17
  162. package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.vue.d.ts +25 -9
  163. package/dist/bundled/v3/components/OrSelect/OrSelect.vue.d.ts +77 -28
  164. package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +115 -37
  165. package/dist/bundled/v3/components/OrSidebar/OrSidebar.vue.d.ts +33 -14
  166. package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.vue.d.ts +63 -28
  167. package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.vue.d.ts +20 -9
  168. package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.vue.d.ts +28 -13
  169. package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.vue.d.ts +22 -9
  170. package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.vue.d.ts +26 -11
  171. package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.vue.d.ts +26 -10
  172. package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.vue.d.ts +40 -16
  173. package/dist/bundled/v3/components/OrSlider/OrSlider.vue.d.ts +91 -35
  174. package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.vue.d.ts +25 -13
  175. package/dist/bundled/v3/components/OrStepper/OrStepper.vue.d.ts +43 -16
  176. package/dist/bundled/v3/components/OrSwitch/OrSwitch.vue.d.ts +33 -12
  177. package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.vue.d.ts +53 -22
  178. package/dist/bundled/v3/components/OrTab/OrTab.vue.d.ts +22 -9
  179. package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.vue.d.ts +29 -13
  180. package/dist/bundled/v3/components/OrTabV3/OrTab.vue.d.ts +17 -10
  181. package/dist/bundled/v3/components/OrTabs/OrTabs.vue.d.ts +17 -4
  182. package/dist/bundled/v3/components/OrTabsV3/OrTabs.vue.d.ts +71 -25
  183. package/dist/bundled/v3/components/OrTag/OrTag.vue.d.ts +27 -10
  184. package/dist/bundled/v3/components/OrTagV3/OrTag.vue.d.ts +23 -12
  185. package/dist/bundled/v3/components/OrTagsV3/OrTags.vue.d.ts +63 -19
  186. package/dist/bundled/v3/components/OrTeleport/OrTeleport.vue3.vue.d.ts +10 -4
  187. package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.vue3.vue.d.ts +10 -4
  188. package/dist/bundled/v3/components/OrTextV3/OrText.vue.d.ts +24 -11
  189. package/dist/bundled/v3/components/OrTextarea/OrTextarea.vue.d.ts +85 -37
  190. package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.vue.d.ts +73 -32
  191. package/dist/bundled/v3/components/OrTextbox/OrTextbox.vue.d.ts +137 -55
  192. package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.vue.d.ts +79 -25
  193. package/dist/bundled/v3/components/OrToast/OrToast.vue.d.ts +31 -11
  194. package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +55 -25
  195. package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.vue.d.ts +54 -24
  196. package/dist/bundled/v3/components/OrToastV3/OrToast.vue.d.ts +38 -16
  197. package/dist/bundled/v3/components/OrTooltip/OrTooltip.vue.d.ts +33 -14
  198. package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.vue.d.ts +10 -4
  199. package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +37 -13
  200. package/dist/bundled/v3/components/index.d.ts +1 -0
  201. package/dist/bundled/v3/components/index.js +22 -7
  202. package/dist/bundled/v3/directives/dropdown-close.d.ts +1 -3
  203. package/dist/bundled/v3/directives/dropdown-open.d.ts +1 -3
  204. package/dist/bundled/v3/hooks/useResponsive/useResponsive.d.ts +2 -2
  205. package/dist/bundled/{v2/index-cf2c3c27.js → v3/index-0d224ae5.js} +3 -115
  206. package/dist/bundled/v3/index-418d5c0d.js +9633 -0
  207. package/dist/bundled/v3/index-85c2efe8.js +7122 -0
  208. package/dist/bundled/v3/index-d92d0b48.js +3805 -0
  209. package/dist/bundled/{v2/lang-0fb8f78b.js → v3/index-e9f6b2d8.js} +73 -4009
  210. package/dist/bundled/v3/index.es-3f39f316.js +115 -0
  211. package/dist/bundled/v3/index.js +26 -11
  212. package/dist/bundled/v3/markdown-7c7c4ca6.js +17980 -0
  213. package/dist/bundled/v3/useFocusTrap-48767a70.js +1348 -0
  214. package/dist/esm/v2/OrRichTextEditor-e9989dec.js +919 -0
  215. package/dist/esm/v2/codemirrorView-be2c7423.js +353 -0
  216. package/dist/esm/v2/components/index.d.ts +1 -0
  217. package/dist/esm/v2/components/index.js +24 -0
  218. package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +220 -0
  219. package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +2 -0
  220. package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +59 -0
  221. package/dist/esm/v2/components/or-rich-text-editor-v3/props.d.ts +4 -0
  222. package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +6 -0
  223. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
  224. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +27 -0
  225. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
  226. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +7 -0
  227. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +24 -0
  228. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
  229. package/dist/esm/v2/components/or-rich-text-editor-v3/utils/markdown.d.ts +3 -0
  230. package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
  231. package/dist/esm/v2/components/or-textarea/OrTextarea.vue.d.ts +2 -2
  232. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +2 -2
  233. package/dist/esm/v2/components/or-textbox/OrTextbox.vue.d.ts +2 -2
  234. package/dist/esm/v2/components/or-time-picker-v3/OrTimePicker.vue.d.ts +2 -2
  235. package/dist/esm/v2/components/or-toast/OrToast.vue.d.ts +2 -2
  236. package/dist/esm/v2/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +2 -2
  237. package/dist/esm/v2/components/or-toast-v3/OrToast.vue.d.ts +2 -2
  238. package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +2 -2
  239. package/dist/esm/v2/components/or-tooltip/OrTooltip.vue.d.ts +2 -2
  240. package/dist/esm/v2/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue.d.ts +2 -2
  241. package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
  242. package/dist/esm/v2/index.js +24 -0
  243. package/dist/esm/v3/OrRichTextEditor-d6b69fcd.js +852 -0
  244. package/dist/esm/v3/codemirrorView-be2c7423.js +353 -0
  245. package/dist/esm/v3/components/index.d.ts +1 -0
  246. package/dist/esm/v3/components/index.js +24 -0
  247. package/dist/esm/v3/components/or-avatar/OrAvatar.vue.d.ts +26 -11
  248. package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +24 -8
  249. package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +33 -20
  250. package/dist/esm/v3/components/or-button/OrButton.vue.d.ts +51 -16
  251. package/dist/esm/v3/components/or-button-v2/OrButton.vue.d.ts +57 -20
  252. package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +35 -15
  253. package/dist/esm/v3/components/or-card/OrCard.vue.d.ts +15 -7
  254. package/dist/esm/v3/components/or-card-collection/OrCardCollection.vue.d.ts +47 -21
  255. package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +70 -22
  256. package/dist/esm/v3/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +14 -6
  257. package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +7 -4
  258. package/dist/esm/v3/components/or-carousel/OrCarousel.vue.d.ts +676 -126
  259. package/dist/esm/v3/components/or-carousel/or-carousel-item/OrCarouselItem.vue.d.ts +1 -1
  260. package/dist/esm/v3/components/or-checkbox/OrCheckbox.vue.d.ts +35 -15
  261. package/dist/esm/v3/components/or-checkbox-group-v3/OrCheckboxGroup.vue.d.ts +24 -6
  262. package/dist/esm/v3/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +43 -17
  263. package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +53 -23
  264. package/dist/esm/v3/components/or-chips/OrChips.vue.d.ts +51 -24
  265. package/dist/esm/v3/components/or-chips/or-chip/OrChip.vue.d.ts +25 -9
  266. package/dist/esm/v3/components/or-chips/partials/OrChipsInput.vue.d.ts +37 -17
  267. package/dist/esm/v3/components/or-code/OrCode.vue.d.ts +69 -24
  268. package/dist/esm/v3/components/or-collapse/OrCollapse.vue.d.ts +39 -17
  269. package/dist/esm/v3/components/or-color-picker/OrColorPicker.vue.d.ts +31 -13
  270. package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +30 -8
  271. package/dist/esm/v3/components/or-confirm/OrConfirm.vue.d.ts +84 -23
  272. package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +91 -29
  273. package/dist/esm/v3/components/or-date-picker-v3/OrDatePicker.vue.d.ts +81 -25
  274. package/dist/esm/v3/components/or-date-time-picker/OrDateTimePicker.vue.d.ts +177 -68
  275. package/dist/esm/v3/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue.d.ts +33 -12
  276. package/dist/esm/v3/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +105 -31
  277. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue.d.ts +28 -11
  278. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +39 -17
  279. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue.d.ts +15 -7
  280. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +85 -23
  281. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue.d.ts +11 -7
  282. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue.d.ts +7 -4
  283. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue.d.ts +28 -11
  284. package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +37 -15
  285. package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +28 -11
  286. package/dist/esm/v3/components/or-error/OrError.vue.d.ts +8 -4
  287. package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +7 -4
  288. package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +18 -9
  289. package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +35 -14
  290. package/dist/esm/v3/components/or-fab-v3/OrFab.vue.d.ts +20 -8
  291. package/dist/esm/v3/components/or-floating/OrFloating.vue.d.ts +46 -15
  292. package/dist/esm/v3/components/or-form-group-v3/OrFormGroup.vue.d.ts +30 -10
  293. package/dist/esm/v3/components/or-hint/OrHint.vue.d.ts +8 -4
  294. package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +18 -9
  295. package/dist/esm/v3/components/or-icon/OrIcon.vue.d.ts +44 -16
  296. package/dist/esm/v3/components/or-icon-button-v2/OrIconButton.vue.d.ts +43 -13
  297. package/dist/esm/v3/components/or-icon-button-v2/partials/OrTooltipWrapper.vue.d.ts +10 -8
  298. package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +52 -16
  299. package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +18 -7
  300. package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +16 -7
  301. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +83 -39
  302. package/dist/esm/v3/components/or-inline-text-edit/OrInlineTextEdit.vue.d.ts +95 -43
  303. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +79 -39
  304. package/dist/esm/v3/components/or-input/OrInput.vue.d.ts +87 -36
  305. package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +22 -7
  306. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +85 -34
  307. package/dist/esm/v3/components/or-label/OrLabel.vue.d.ts +20 -9
  308. package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +24 -9
  309. package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +24 -7
  310. package/dist/esm/v3/components/or-list/OrList.vue.d.ts +47 -21
  311. package/dist/esm/v3/components/or-list-of-inputs/OrListOfInputs.vue.d.ts +27 -11
  312. package/dist/esm/v3/components/or-loader/OrLoader.vue.d.ts +26 -10
  313. package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +34 -13
  314. package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +34 -13
  315. package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +43 -16
  316. package/dist/esm/v3/components/or-modal/OrModal.vue.d.ts +38 -14
  317. package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +31 -15
  318. package/dist/esm/v3/components/or-notification/OrNotification.vue.d.ts +27 -9
  319. package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +20 -9
  320. package/dist/esm/v3/components/or-number-input/OrNumberInput.vue.d.ts +70 -24
  321. package/dist/esm/v3/components/or-overflow-menu/OrOverflowMenu.vue.d.ts +31 -13
  322. package/dist/esm/v3/components/or-overflow-menu/partials/OrOverflowMenuItem.vue.d.ts +23 -7
  323. package/dist/esm/v3/components/or-overlay/OrOverlay.vue.d.ts +16 -6
  324. package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +14 -7
  325. package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +75 -27
  326. package/dist/esm/v3/components/or-password/OrPassword.vue.d.ts +63 -22
  327. package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +76 -28
  328. package/dist/esm/v3/components/or-progress/OrProgress.vue.d.ts +56 -20
  329. package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +62 -25
  330. package/dist/esm/v3/components/or-radio/OrRadio.vue.d.ts +35 -13
  331. package/dist/esm/v3/components/or-radio-group/OrRadioGroup.vue.d.ts +26 -9
  332. package/dist/esm/v3/components/or-radio-group-v3/OrRadioGroup.vue.d.ts +32 -6
  333. package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +49 -21
  334. package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +220 -0
  335. package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +2 -0
  336. package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +57 -0
  337. package/dist/esm/v3/components/or-rich-text-editor-v3/props.d.ts +4 -0
  338. package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +6 -0
  339. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
  340. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +27 -0
  341. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
  342. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +7 -0
  343. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +24 -0
  344. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
  345. package/dist/esm/v3/components/or-rich-text-editor-v3/utils/markdown.d.ts +3 -0
  346. package/dist/esm/v3/components/or-search/OrSearch.vue.d.ts +65 -23
  347. package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +41 -17
  348. package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +25 -9
  349. package/dist/esm/v3/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +20 -8
  350. package/dist/esm/v3/components/or-select/OrSelect.vue.d.ts +77 -28
  351. package/dist/esm/v3/components/or-select/partials/OrSelectContent.vue.d.ts +49 -18
  352. package/dist/esm/v3/components/or-select/partials/OrSelectContentEmpty.vue.d.ts +16 -4
  353. package/dist/esm/v3/components/or-select/partials/OrSelectContentOptions.vue.d.ts +67 -13
  354. package/dist/esm/v3/components/or-select/partials/OrSelectInput.vue.d.ts +41 -16
  355. package/dist/esm/v3/components/or-select/partials/OrSelectInputValue.vue.d.ts +35 -16
  356. package/dist/esm/v3/components/or-select/partials/OrSelectMain.vue.d.ts +71 -24
  357. package/dist/esm/v3/components/or-select/partials/OrSelectOption.vue.d.ts +19 -7
  358. package/dist/esm/v3/components/or-select/partials/OrSelectSearchOptions.vue.d.ts +24 -11
  359. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +115 -37
  360. package/dist/esm/v3/components/or-sidebar/OrSidebar.vue.d.ts +33 -14
  361. package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +63 -28
  362. package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +23 -10
  363. package/dist/esm/v3/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.vue.d.ts +20 -9
  364. package/dist/esm/v3/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.vue.d.ts +22 -9
  365. package/dist/esm/v3/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue.d.ts +26 -10
  366. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts +28 -13
  367. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts +26 -11
  368. package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-text-v3/OrSkeletonText.vue.d.ts +40 -16
  369. package/dist/esm/v3/components/or-slider/OrSlider.vue.d.ts +91 -35
  370. package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +25 -13
  371. package/dist/esm/v3/components/or-stepper/OrStepper.vue.d.ts +43 -16
  372. package/dist/esm/v3/components/or-stepper/partials/OrStepperButtonOptions.vue.d.ts +20 -4
  373. package/dist/esm/v3/components/or-stepper/partials/OrStepperOptionHorizontal.vue.d.ts +26 -4
  374. package/dist/esm/v3/components/or-stepper/partials/OrStepperOptionVertical.vue.d.ts +26 -4
  375. package/dist/esm/v3/components/or-stepper/partials/OrStepperTitle.vue.d.ts +22 -6
  376. package/dist/esm/v3/components/or-stepper/partials/StatusIcon.vue.d.ts +12 -6
  377. package/dist/esm/v3/components/or-switch/OrSwitch.vue.d.ts +33 -12
  378. package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +53 -22
  379. package/dist/esm/v3/components/or-tab/OrTab.vue.d.ts +22 -9
  380. package/dist/esm/v3/components/or-tab-header-item/OrTabHeaderItem.vue.d.ts +29 -13
  381. package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +17 -10
  382. package/dist/esm/v3/components/or-tabs/OrTabs.vue.d.ts +17 -4
  383. package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +71 -25
  384. package/dist/esm/v3/components/or-tag/OrTag.vue.d.ts +27 -10
  385. package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +23 -12
  386. package/dist/esm/v3/components/or-tags-v3/OrTags.vue.d.ts +63 -19
  387. package/dist/esm/v3/components/or-teleport/OrTeleport.vue3.vue.d.ts +10 -4
  388. package/dist/esm/v3/components/or-teleport-v3/OrTeleport.vue3.vue.d.ts +10 -4
  389. package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +24 -11
  390. package/dist/esm/v3/components/or-textarea/OrTextarea.vue.d.ts +85 -37
  391. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +73 -32
  392. package/dist/esm/v3/components/or-textbox/OrTextbox.vue.d.ts +137 -55
  393. package/dist/esm/v3/components/or-time-picker-v3/OrTimePicker.vue.d.ts +79 -25
  394. package/dist/esm/v3/components/or-toast/OrToast.vue.d.ts +31 -11
  395. package/dist/esm/v3/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +55 -25
  396. package/dist/esm/v3/components/or-toast-v3/OrToast.vue.d.ts +38 -16
  397. package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +54 -24
  398. package/dist/esm/v3/components/or-tooltip/OrTooltip.vue.d.ts +33 -14
  399. package/dist/esm/v3/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue.d.ts +10 -4
  400. package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +37 -13
  401. package/dist/esm/v3/directives/dropdown-close.d.ts +1 -3
  402. package/dist/esm/v3/directives/dropdown-open.d.ts +1 -3
  403. package/dist/esm/v3/hooks/useResponsive/useResponsive.d.ts +2 -2
  404. package/dist/esm/v3/index.js +24 -0
  405. package/package.json +25 -5
  406. package/src/components/index.ts +1 -0
  407. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +761 -0
  408. package/src/components/or-rich-text-editor-v3/index.ts +2 -0
  409. package/src/components/or-rich-text-editor-v3/props.ts +4 -0
  410. package/src/components/or-rich-text-editor-v3/styles.ts +54 -0
  411. package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.ts +40 -0
  412. package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.ts +254 -0
  413. package/src/components/or-rich-text-editor-v3/utils/codemirror/index.ts +1 -0
  414. package/src/components/or-rich-text-editor-v3/utils/codemirror/theme.ts +213 -0
  415. package/src/components/or-rich-text-editor-v3/utils/codemirror/types.ts +22 -0
  416. package/src/components/or-rich-text-editor-v3/utils/markdown.ts +120 -0
  417. /package/dist/bundled/v2/{index-968c331a.js → index-f6664cb1.js} +0 -0
  418. /package/dist/bundled/v3/{index-968c331a.js → index-f6664cb1.js} +0 -0
@@ -0,0 +1,353 @@
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 };
@@ -103,3 +103,4 @@ export * from './or-toast';
103
103
  export * from './or-toast-v3';
104
104
  export * from './or-tooltip';
105
105
  export * from './or-tooltip-v3';
106
+ export * from './or-rich-text-editor-v3';
@@ -116,6 +116,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-a133
116
116
  export { _ as OrTooltip } from '../OrTooltip-97a42707.js';
117
117
  export { _ as OrTooltipContent } from '../OrTooltipContent-d85e1071.js';
118
118
  export { _ as OrTooltipV3 } from '../OrTooltip-5a6e0f64.js';
119
+ export { F as Formats, _ as OrRichTextEditorV3 } from '../OrRichTextEditor-e9989dec.js';
119
120
  import 'vue-demi';
120
121
  import 'lodash';
121
122
  import '../style-inject.es-4c6f2515.js';
@@ -158,3 +159,26 @@ import '../useOverflow-c856b7b7.js';
158
159
  import '../styles-ed564e39.js';
159
160
  import 'portal-vue/dist/portal-vue.esm.js';
160
161
  import 'portal-vue';
162
+ import 'prosemirror-markdown';
163
+ import 'prosemirror-model';
164
+ import 'marked';
165
+ import '@tiptap/extension-paragraph';
166
+ import '@tiptap/extension-bullet-list';
167
+ import '@tiptap/extension-list-item';
168
+ import '@tiptap/extension-ordered-list';
169
+ import '@tiptap/extension-strike';
170
+ import '@tiptap/extension-italic';
171
+ import '@tiptap/extension-hard-break';
172
+ import '@tiptap/extension-bold';
173
+ import '@tiptap/extension-code-block';
174
+ import '@tiptap/extension-blockquote';
175
+ import '@tiptap/extension-link';
176
+ import '@tiptap/extension-highlight';
177
+ import '@tiptap/extension-underline';
178
+ import '@tiptap/core';
179
+ import '@tiptap/starter-kit';
180
+ import '@tiptap/extension-heading';
181
+ import '@tiptap/extension-placeholder';
182
+ import '../codemirrorView-be2c7423.js';
183
+ import 'prosemirror-state';
184
+ import 'prosemirror-commands';
@@ -0,0 +1,220 @@
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;
@@ -0,0 +1,2 @@
1
+ export { default as OrRichTextEditorV3 } from './OrRichTextEditor.vue';
2
+ export * from './props';
@@ -0,0 +1,59 @@
1
+ export { F as Formats, _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-e9989dec.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-ee747c71.js';
22
+ import '../../OrIcon-d35a84d8.js';
23
+ import '../../normalize-component-6e8e3d80.js';
24
+ import '../../OrTooltip-5a6e0f64.js';
25
+ import '../../OrPopover-80459663.js';
26
+ import '@floating-ui/dom';
27
+ import '../../useElevation-b5a49746.js';
28
+ import '../../useResponsive-a02e95b7.js';
29
+ import '../../OrBottomSheet-ffa029ca.js';
30
+ import '../../OrOverlay-4c8c11e2.js';
31
+ import '../../OrTeleport.vue2-424c7f33.js';
32
+ import 'portal-vue';
33
+ import '../../OrLabel-63380256.js';
34
+ import '../../OrMenu-8b902c22.js';
35
+ import '../../OrMenuItem-6f9b8a93.js';
36
+ import '../../OrModal-1f80d87f.js';
37
+ import '../../OrInput-8c7b3cce.js';
38
+ import '../../useIdAttribute-859439f0.js';
39
+ import '../../useValidationAttributes-d1abbe34.js';
40
+ import '../../OrError-4ffc1c39.js';
41
+ import '../../OrHint-aa221198.js';
42
+ import '../../OrInputBox-d36b1323.js';
43
+ import '../../OrInputBox.vue_rollup-plugin-vue_script-fe250f7a.js';
44
+ import '../../OrLoader-b0c381f9.js';
45
+ import '../../style-inject.es-4c6f2515.js';
46
+ import '../../OrButton-9622e713.js';
47
+ import '@tiptap/core';
48
+ import '@tiptap/starter-kit';
49
+ import '@tiptap/extension-heading';
50
+ import '@tiptap/extension-placeholder';
51
+ import '../../codemirrorView-be2c7423.js';
52
+ import 'prosemirror-state';
53
+ import 'prosemirror-commands';
54
+ import '@codemirror/state';
55
+ import '@codemirror/view';
56
+ import '@codemirror/language';
57
+ import '@lezer/highlight';
58
+ import 'codemirror';
59
+ import '@codemirror/lang-javascript';
@@ -0,0 +1,4 @@
1
+ export declare enum Formats {
2
+ Markdown = "markdown",
3
+ Markup = "markup"
4
+ }
@@ -0,0 +1,6 @@
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[];