@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.
- package/dist/bundled/v2/components/OrCode/OrCode.js +6 -3792
- package/dist/bundled/v2/components/OrCode/index.js +6 -2
- package/dist/bundled/v2/components/OrCode/lang.js +3941 -3
- package/dist/bundled/v2/components/OrCode/theme.js +2 -1
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +2 -1
- package/dist/bundled/v2/components/OrConfirm/index.js +2 -1
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +1 -1
- package/dist/bundled/v2/components/OrConfirmV3/index.js +1 -1
- package/dist/bundled/v2/components/OrModal/OrModal.js +3 -1346
- package/dist/bundled/v2/components/OrModal/index.js +1 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +2196 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +220 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.d.ts +2 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +70 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/props.d.ts +4 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/props.js +7 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.d.ts +6 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +38 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +3 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +46 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +27 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +184 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +1 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.js +5 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +24 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +190 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +19 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.js +1 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.d.ts +3 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.js +5 -0
- package/dist/bundled/v2/components/OrTextV3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTextarea/OrTextarea.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTextareaV3/OrTextarea.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTextbox/OrTextbox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrToast/OrToast.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrToastV3/OrToast.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTooltip/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +17 -3
- package/dist/bundled/{v3/index-cf2c3c27.js → v2/index-0d224ae5.js} +3 -115
- package/dist/bundled/v2/index-418d5c0d.js +9633 -0
- package/dist/bundled/v2/index-85c2efe8.js +7122 -0
- package/dist/bundled/{v3/OrCode.vue_vue_type_script_lang-74060519.js → v2/index-d92d0b48.js} +14 -235
- package/dist/bundled/{v3/lang-0fb8f78b.js → v2/index-e9f6b2d8.js} +73 -4009
- package/dist/bundled/v2/index.es-3f39f316.js +115 -0
- package/dist/bundled/v2/index.js +20 -6
- package/dist/bundled/v2/markdown-7c7c4ca6.js +17980 -0
- package/dist/bundled/{v3/OrModal.vue_vue_type_script_lang-ae842e5b.js → v2/useFocusTrap-48767a70.js} +3 -106
- package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-7e29b3d0.js +237 -0
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-e1390930.js → OrConfirm.vue_vue_type_script_lang-13397889.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-e5a8f92a.js → OrConfirm.vue_vue_type_script_lang-4eaa8470.js} +2 -2
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-2c009ee0.js +108 -0
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-ece43c52.js +1887 -0
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.vue.d.ts +26 -11
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +24 -8
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +33 -20
- package/dist/bundled/v3/components/OrButton/OrButton.vue.d.ts +51 -16
- package/dist/bundled/v3/components/OrButtonV2/OrButton.vue.d.ts +57 -20
- package/dist/bundled/v3/components/OrButtonV3/OrButton.vue.d.ts +35 -15
- package/dist/bundled/v3/components/OrCard/OrCard.vue.d.ts +15 -7
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.vue.d.ts +47 -21
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +70 -22
- package/dist/bundled/v3/components/OrCardV3/OrCard.vue.d.ts +7 -4
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.vue.d.ts +676 -126
- package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.vue.d.ts +35 -15
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +24 -6
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +43 -17
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +53 -23
- package/dist/bundled/v3/components/OrChip/OrChip.vue.d.ts +25 -9
- package/dist/bundled/v3/components/OrChips/OrChips.vue.d.ts +51 -24
- package/dist/bundled/v3/components/OrCode/OrCode.js +10 -6
- package/dist/bundled/v3/components/OrCode/OrCode.vue.d.ts +69 -24
- package/dist/bundled/v3/components/OrCode/index.js +8 -4
- package/dist/bundled/v3/components/OrCode/lang.js +3941 -3
- package/dist/bundled/v3/components/OrCode/theme.js +2 -1
- package/dist/bundled/v3/components/OrCollapse/OrCollapse.vue.d.ts +39 -17
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.vue.d.ts +31 -13
- package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.vue.d.ts +30 -8
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +5 -4
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.vue.d.ts +84 -23
- package/dist/bundled/v3/components/OrConfirm/index.js +4 -3
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +3 -3
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +91 -29
- package/dist/bundled/v3/components/OrConfirmV3/index.js +2 -2
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.vue.d.ts +81 -25
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.vue.d.ts +177 -68
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +105 -31
- package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyState.vue.d.ts +28 -11
- package/dist/bundled/v3/components/OrError/OrError.vue.d.ts +8 -4
- package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTag.vue.d.ts +7 -4
- package/dist/bundled/v3/components/OrErrorV3/OrError.vue.d.ts +18 -9
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.vue.d.ts +35 -14
- package/dist/bundled/v3/components/OrFabV3/OrFab.vue.d.ts +20 -8
- package/dist/bundled/v3/components/OrFloating/OrFloating.vue.d.ts +46 -15
- package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.vue.d.ts +30 -10
- package/dist/bundled/v3/components/OrHint/OrHint.vue.d.ts +8 -4
- package/dist/bundled/v3/components/OrHintV3/OrHint.vue.d.ts +18 -9
- package/dist/bundled/v3/components/OrIcon/OrIcon.vue.d.ts +44 -16
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +43 -13
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.vue.d.ts +52 -16
- package/dist/bundled/v3/components/OrIconV3/OrIcon.vue.d.ts +18 -7
- package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBox.vue.d.ts +16 -7
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.vue.d.ts +83 -39
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.vue.d.ts +95 -43
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +79 -39
- package/dist/bundled/v3/components/OrInput/OrInput.vue.d.ts +87 -36
- package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.vue.d.ts +22 -7
- package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +85 -34
- package/dist/bundled/v3/components/OrLabel/OrLabel.vue.d.ts +20 -9
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +24 -9
- package/dist/bundled/v3/components/OrLinkV3/OrLink.vue.d.ts +24 -7
- package/dist/bundled/v3/components/OrList/OrList.vue.d.ts +47 -21
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.vue.d.ts +27 -11
- package/dist/bundled/v3/components/OrLoader/OrLoader.vue.d.ts +26 -10
- package/dist/bundled/v3/components/OrLoaderV3/OrLoader.vue.d.ts +34 -13
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.vue.d.ts +34 -13
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +43 -16
- package/dist/bundled/v3/components/OrModal/OrModal.js +3 -2
- package/dist/bundled/v3/components/OrModal/OrModal.vue.d.ts +38 -14
- package/dist/bundled/v3/components/OrModal/index.js +2 -1
- package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +31 -15
- package/dist/bundled/v3/components/OrNotification/OrNotification.vue.d.ts +27 -9
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.vue.d.ts +20 -9
- package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.vue.d.ts +70 -24
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.vue.d.ts +31 -13
- package/dist/bundled/v3/components/OrOverlay/OrOverlay.vue.d.ts +16 -6
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.vue.d.ts +14 -7
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +75 -27
- package/dist/bundled/v3/components/OrPassword/OrPassword.vue.d.ts +63 -22
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +76 -28
- package/dist/bundled/v3/components/OrProgress/OrProgress.vue.d.ts +56 -20
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.vue.d.ts +62 -25
- package/dist/bundled/v3/components/OrRadio/OrRadio.vue.d.ts +35 -13
- package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.vue.d.ts +26 -9
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +32 -6
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.vue.d.ts +49 -21
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +283 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +220 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +2 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +86 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.d.ts +4 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +7 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.d.ts +6 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +38 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +3 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +46 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +27 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +184 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +1 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +5 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +24 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +190 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +19 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.js +1 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.d.ts +3 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +5 -0
- package/dist/bundled/v3/components/OrSearch/OrSearch.vue.d.ts +65 -23
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.vue.d.ts +41 -17
- package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.vue.d.ts +25 -9
- package/dist/bundled/v3/components/OrSelect/OrSelect.vue.d.ts +77 -28
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +115 -37
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.vue.d.ts +33 -14
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.vue.d.ts +63 -28
- package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.vue.d.ts +20 -9
- package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.vue.d.ts +28 -13
- package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.vue.d.ts +22 -9
- package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.vue.d.ts +26 -11
- package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.vue.d.ts +26 -10
- package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.vue.d.ts +40 -16
- package/dist/bundled/v3/components/OrSlider/OrSlider.vue.d.ts +91 -35
- package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.vue.d.ts +25 -13
- package/dist/bundled/v3/components/OrStepper/OrStepper.vue.d.ts +43 -16
- package/dist/bundled/v3/components/OrSwitch/OrSwitch.vue.d.ts +33 -12
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.vue.d.ts +53 -22
- package/dist/bundled/v3/components/OrTab/OrTab.vue.d.ts +22 -9
- package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.vue.d.ts +29 -13
- package/dist/bundled/v3/components/OrTabV3/OrTab.vue.d.ts +17 -10
- package/dist/bundled/v3/components/OrTabs/OrTabs.vue.d.ts +17 -4
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.vue.d.ts +71 -25
- package/dist/bundled/v3/components/OrTag/OrTag.vue.d.ts +27 -10
- package/dist/bundled/v3/components/OrTagV3/OrTag.vue.d.ts +23 -12
- package/dist/bundled/v3/components/OrTagsV3/OrTags.vue.d.ts +63 -19
- package/dist/bundled/v3/components/OrTeleport/OrTeleport.vue3.vue.d.ts +10 -4
- package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.vue3.vue.d.ts +10 -4
- package/dist/bundled/v3/components/OrTextV3/OrText.vue.d.ts +24 -11
- package/dist/bundled/v3/components/OrTextarea/OrTextarea.vue.d.ts +85 -37
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.vue.d.ts +73 -32
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.vue.d.ts +137 -55
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.vue.d.ts +79 -25
- package/dist/bundled/v3/components/OrToast/OrToast.vue.d.ts +31 -11
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +55 -25
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.vue.d.ts +54 -24
- package/dist/bundled/v3/components/OrToastV3/OrToast.vue.d.ts +38 -16
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.vue.d.ts +33 -14
- package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.vue.d.ts +10 -4
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +37 -13
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +22 -7
- package/dist/bundled/v3/directives/dropdown-close.d.ts +1 -3
- package/dist/bundled/v3/directives/dropdown-open.d.ts +1 -3
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.d.ts +2 -2
- package/dist/bundled/{v2/index-cf2c3c27.js → v3/index-0d224ae5.js} +3 -115
- package/dist/bundled/v3/index-418d5c0d.js +9633 -0
- package/dist/bundled/v3/index-85c2efe8.js +7122 -0
- package/dist/bundled/v3/index-d92d0b48.js +3805 -0
- package/dist/bundled/{v2/lang-0fb8f78b.js → v3/index-e9f6b2d8.js} +73 -4009
- package/dist/bundled/v3/index.es-3f39f316.js +115 -0
- package/dist/bundled/v3/index.js +26 -11
- package/dist/bundled/v3/markdown-7c7c4ca6.js +17980 -0
- package/dist/bundled/v3/useFocusTrap-48767a70.js +1348 -0
- package/dist/esm/v2/OrRichTextEditor-e9989dec.js +919 -0
- package/dist/esm/v2/codemirrorView-be2c7423.js +353 -0
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +24 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +220 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +59 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/props.d.ts +4 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +27 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +7 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +24 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/markdown.d.ts +3 -0
- package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textarea/OrTextarea.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textbox/OrTextbox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-time-picker-v3/OrTimePicker.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast/OrToast.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast-v3/OrToast.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/index.js +24 -0
- package/dist/esm/v3/OrRichTextEditor-d6b69fcd.js +852 -0
- package/dist/esm/v3/codemirrorView-be2c7423.js +353 -0
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +24 -0
- package/dist/esm/v3/components/or-avatar/OrAvatar.vue.d.ts +26 -11
- package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +24 -8
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +33 -20
- package/dist/esm/v3/components/or-button/OrButton.vue.d.ts +51 -16
- package/dist/esm/v3/components/or-button-v2/OrButton.vue.d.ts +57 -20
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +35 -15
- package/dist/esm/v3/components/or-card/OrCard.vue.d.ts +15 -7
- package/dist/esm/v3/components/or-card-collection/OrCardCollection.vue.d.ts +47 -21
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +70 -22
- package/dist/esm/v3/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +14 -6
- package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +7 -4
- package/dist/esm/v3/components/or-carousel/OrCarousel.vue.d.ts +676 -126
- package/dist/esm/v3/components/or-carousel/or-carousel-item/OrCarouselItem.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-checkbox/OrCheckbox.vue.d.ts +35 -15
- package/dist/esm/v3/components/or-checkbox-group-v3/OrCheckboxGroup.vue.d.ts +24 -6
- package/dist/esm/v3/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +43 -17
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +53 -23
- package/dist/esm/v3/components/or-chips/OrChips.vue.d.ts +51 -24
- package/dist/esm/v3/components/or-chips/or-chip/OrChip.vue.d.ts +25 -9
- package/dist/esm/v3/components/or-chips/partials/OrChipsInput.vue.d.ts +37 -17
- package/dist/esm/v3/components/or-code/OrCode.vue.d.ts +69 -24
- package/dist/esm/v3/components/or-collapse/OrCollapse.vue.d.ts +39 -17
- package/dist/esm/v3/components/or-color-picker/OrColorPicker.vue.d.ts +31 -13
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +30 -8
- package/dist/esm/v3/components/or-confirm/OrConfirm.vue.d.ts +84 -23
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +91 -29
- package/dist/esm/v3/components/or-date-picker-v3/OrDatePicker.vue.d.ts +81 -25
- package/dist/esm/v3/components/or-date-time-picker/OrDateTimePicker.vue.d.ts +177 -68
- package/dist/esm/v3/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue.d.ts +33 -12
- package/dist/esm/v3/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +105 -31
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue.d.ts +28 -11
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +39 -17
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue.d.ts +15 -7
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +85 -23
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue.d.ts +11 -7
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue.d.ts +7 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue.d.ts +28 -11
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +37 -15
- package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +28 -11
- package/dist/esm/v3/components/or-error/OrError.vue.d.ts +8 -4
- package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +7 -4
- package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +18 -9
- package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +35 -14
- package/dist/esm/v3/components/or-fab-v3/OrFab.vue.d.ts +20 -8
- package/dist/esm/v3/components/or-floating/OrFloating.vue.d.ts +46 -15
- package/dist/esm/v3/components/or-form-group-v3/OrFormGroup.vue.d.ts +30 -10
- package/dist/esm/v3/components/or-hint/OrHint.vue.d.ts +8 -4
- package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +18 -9
- package/dist/esm/v3/components/or-icon/OrIcon.vue.d.ts +44 -16
- package/dist/esm/v3/components/or-icon-button-v2/OrIconButton.vue.d.ts +43 -13
- package/dist/esm/v3/components/or-icon-button-v2/partials/OrTooltipWrapper.vue.d.ts +10 -8
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +52 -16
- package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +18 -7
- package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +16 -7
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +83 -39
- package/dist/esm/v3/components/or-inline-text-edit/OrInlineTextEdit.vue.d.ts +95 -43
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +79 -39
- package/dist/esm/v3/components/or-input/OrInput.vue.d.ts +87 -36
- package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +22 -7
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +85 -34
- package/dist/esm/v3/components/or-label/OrLabel.vue.d.ts +20 -9
- package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +24 -9
- package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +24 -7
- package/dist/esm/v3/components/or-list/OrList.vue.d.ts +47 -21
- package/dist/esm/v3/components/or-list-of-inputs/OrListOfInputs.vue.d.ts +27 -11
- package/dist/esm/v3/components/or-loader/OrLoader.vue.d.ts +26 -10
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +34 -13
- package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +34 -13
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +43 -16
- package/dist/esm/v3/components/or-modal/OrModal.vue.d.ts +38 -14
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +31 -15
- package/dist/esm/v3/components/or-notification/OrNotification.vue.d.ts +27 -9
- package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +20 -9
- package/dist/esm/v3/components/or-number-input/OrNumberInput.vue.d.ts +70 -24
- package/dist/esm/v3/components/or-overflow-menu/OrOverflowMenu.vue.d.ts +31 -13
- package/dist/esm/v3/components/or-overflow-menu/partials/OrOverflowMenuItem.vue.d.ts +23 -7
- package/dist/esm/v3/components/or-overlay/OrOverlay.vue.d.ts +16 -6
- package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +14 -7
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +75 -27
- package/dist/esm/v3/components/or-password/OrPassword.vue.d.ts +63 -22
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +76 -28
- package/dist/esm/v3/components/or-progress/OrProgress.vue.d.ts +56 -20
- package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +62 -25
- package/dist/esm/v3/components/or-radio/OrRadio.vue.d.ts +35 -13
- package/dist/esm/v3/components/or-radio-group/OrRadioGroup.vue.d.ts +26 -9
- package/dist/esm/v3/components/or-radio-group-v3/OrRadioGroup.vue.d.ts +32 -6
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +49 -21
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +220 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +57 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/props.d.ts +4 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +3 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +27 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +1 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +7 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +24 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +19 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/markdown.d.ts +3 -0
- package/dist/esm/v3/components/or-search/OrSearch.vue.d.ts +65 -23
- package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +41 -17
- package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +25 -9
- package/dist/esm/v3/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +20 -8
- package/dist/esm/v3/components/or-select/OrSelect.vue.d.ts +77 -28
- package/dist/esm/v3/components/or-select/partials/OrSelectContent.vue.d.ts +49 -18
- package/dist/esm/v3/components/or-select/partials/OrSelectContentEmpty.vue.d.ts +16 -4
- package/dist/esm/v3/components/or-select/partials/OrSelectContentOptions.vue.d.ts +67 -13
- package/dist/esm/v3/components/or-select/partials/OrSelectInput.vue.d.ts +41 -16
- package/dist/esm/v3/components/or-select/partials/OrSelectInputValue.vue.d.ts +35 -16
- package/dist/esm/v3/components/or-select/partials/OrSelectMain.vue.d.ts +71 -24
- package/dist/esm/v3/components/or-select/partials/OrSelectOption.vue.d.ts +19 -7
- package/dist/esm/v3/components/or-select/partials/OrSelectSearchOptions.vue.d.ts +24 -11
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +115 -37
- package/dist/esm/v3/components/or-sidebar/OrSidebar.vue.d.ts +33 -14
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +63 -28
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +23 -10
- package/dist/esm/v3/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.vue.d.ts +20 -9
- package/dist/esm/v3/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.vue.d.ts +22 -9
- package/dist/esm/v3/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue.d.ts +26 -10
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts +28 -13
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts +26 -11
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-text-v3/OrSkeletonText.vue.d.ts +40 -16
- package/dist/esm/v3/components/or-slider/OrSlider.vue.d.ts +91 -35
- package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +25 -13
- package/dist/esm/v3/components/or-stepper/OrStepper.vue.d.ts +43 -16
- package/dist/esm/v3/components/or-stepper/partials/OrStepperButtonOptions.vue.d.ts +20 -4
- package/dist/esm/v3/components/or-stepper/partials/OrStepperOptionHorizontal.vue.d.ts +26 -4
- package/dist/esm/v3/components/or-stepper/partials/OrStepperOptionVertical.vue.d.ts +26 -4
- package/dist/esm/v3/components/or-stepper/partials/OrStepperTitle.vue.d.ts +22 -6
- package/dist/esm/v3/components/or-stepper/partials/StatusIcon.vue.d.ts +12 -6
- package/dist/esm/v3/components/or-switch/OrSwitch.vue.d.ts +33 -12
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +53 -22
- package/dist/esm/v3/components/or-tab/OrTab.vue.d.ts +22 -9
- package/dist/esm/v3/components/or-tab-header-item/OrTabHeaderItem.vue.d.ts +29 -13
- package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +17 -10
- package/dist/esm/v3/components/or-tabs/OrTabs.vue.d.ts +17 -4
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +71 -25
- package/dist/esm/v3/components/or-tag/OrTag.vue.d.ts +27 -10
- package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +23 -12
- package/dist/esm/v3/components/or-tags-v3/OrTags.vue.d.ts +63 -19
- package/dist/esm/v3/components/or-teleport/OrTeleport.vue3.vue.d.ts +10 -4
- package/dist/esm/v3/components/or-teleport-v3/OrTeleport.vue3.vue.d.ts +10 -4
- package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +24 -11
- package/dist/esm/v3/components/or-textarea/OrTextarea.vue.d.ts +85 -37
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +73 -32
- package/dist/esm/v3/components/or-textbox/OrTextbox.vue.d.ts +137 -55
- package/dist/esm/v3/components/or-time-picker-v3/OrTimePicker.vue.d.ts +79 -25
- package/dist/esm/v3/components/or-toast/OrToast.vue.d.ts +31 -11
- package/dist/esm/v3/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +55 -25
- package/dist/esm/v3/components/or-toast-v3/OrToast.vue.d.ts +38 -16
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +54 -24
- package/dist/esm/v3/components/or-tooltip/OrTooltip.vue.d.ts +33 -14
- package/dist/esm/v3/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue.d.ts +10 -4
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +37 -13
- package/dist/esm/v3/directives/dropdown-close.d.ts +1 -3
- package/dist/esm/v3/directives/dropdown-open.d.ts +1 -3
- package/dist/esm/v3/hooks/useResponsive/useResponsive.d.ts +2 -2
- package/dist/esm/v3/index.js +24 -0
- package/package.json +25 -5
- package/src/components/index.ts +1 -0
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +761 -0
- package/src/components/or-rich-text-editor-v3/index.ts +2 -0
- package/src/components/or-rich-text-editor-v3/props.ts +4 -0
- package/src/components/or-rich-text-editor-v3/styles.ts +54 -0
- package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.ts +40 -0
- package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.ts +254 -0
- package/src/components/or-rich-text-editor-v3/utils/codemirror/index.ts +1 -0
- package/src/components/or-rich-text-editor-v3/utils/codemirror/theme.ts +213 -0
- package/src/components/or-rich-text-editor-v3/utils/codemirror/types.ts +22 -0
- package/src/components/or-rich-text-editor-v3/utils/markdown.ts +120 -0
- /package/dist/bundled/v2/{index-968c331a.js → index-f6664cb1.js} +0 -0
- /package/dist/bundled/v3/{index-968c331a.js → index-f6664cb1.js} +0 -0
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import { s as script } from '../../OrRichTextEditor.vue_vue_type_script_lang-ece43c52.js';
|
|
2
|
+
export { s as default } from '../../OrRichTextEditor.vue_vue_type_script_lang-ece43c52.js';
|
|
3
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, createBlock, createCommentVNode, withDirectives, vShow, vModelText, renderSlot } from 'vue';
|
|
4
|
+
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
5
|
+
import 'vue-demi';
|
|
6
|
+
import '../../useFocusTrap-48767a70.js';
|
|
7
|
+
import '@vueuse/core';
|
|
8
|
+
import '../../markdown-7c7c4ca6.js';
|
|
9
|
+
import '../../index-85c2efe8.js';
|
|
10
|
+
import 'node:punycode';
|
|
11
|
+
import '../../index-418d5c0d.js';
|
|
12
|
+
import '../../index.es-3f39f316.js';
|
|
13
|
+
import './styles.js';
|
|
14
|
+
import './props.js';
|
|
15
|
+
import './utils/codemirror/codemirrorNode.js';
|
|
16
|
+
import './utils/codemirror/codemirrorView.js';
|
|
17
|
+
import '../../index-0d224ae5.js';
|
|
18
|
+
import './utils/codemirror/theme.js';
|
|
19
|
+
import '../../index-d92d0b48.js';
|
|
20
|
+
import '../../index-e9f6b2d8.js';
|
|
21
|
+
import '../OrIconButtonV3/OrIconButton.js';
|
|
22
|
+
import '../../OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
23
|
+
import '../OrIconButtonV3/props.js';
|
|
24
|
+
import '../OrIconV3/props.js';
|
|
25
|
+
import '../OrIconButtonV3/styles.js';
|
|
26
|
+
import '../OrIconV3/OrIcon.js';
|
|
27
|
+
import '../../OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
28
|
+
import '../OrIconV3/styles.js';
|
|
29
|
+
import '../OrTooltipV3/OrTooltip.js';
|
|
30
|
+
import '../../OrTooltip.vue_vue_type_script_lang-bb3db5bf.js';
|
|
31
|
+
import '../OrTooltipV3/styles.js';
|
|
32
|
+
import '../OrPopoverV3/OrPopover.js';
|
|
33
|
+
import '../../OrPopover.vue_vue_type_script_lang-7b1b2488.js';
|
|
34
|
+
import '../../floating-ui.dom.esm-83eba816.js';
|
|
35
|
+
import '../OrPopoverV3/props.js';
|
|
36
|
+
import '../OrPopoverV3/styles.js';
|
|
37
|
+
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
38
|
+
import '../../OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js';
|
|
39
|
+
import '../OrBottomSheetV3/props.js';
|
|
40
|
+
import '../OrBottomSheetV3/styles.js';
|
|
41
|
+
import '../OrOverlayV3/OrOverlay.js';
|
|
42
|
+
import '../../OrOverlay.vue_vue_type_script_lang-86c7b93a.js';
|
|
43
|
+
import '../OrOverlayV3/styles.js';
|
|
44
|
+
import '../OrTeleportV3/OrTeleport.js';
|
|
45
|
+
import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
46
|
+
import '../../hooks/useElevation.js';
|
|
47
|
+
import '../../utils/isVisible.js';
|
|
48
|
+
import '../../hooks/useResponsive/useResponsive.js';
|
|
49
|
+
import '../OrLabelV3/OrLabel.js';
|
|
50
|
+
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
51
|
+
import '../OrLabelV3/props.js';
|
|
52
|
+
import '../OrLabelV3/styles.js';
|
|
53
|
+
import '../OrMenuItemV3/OrMenuItem.js';
|
|
54
|
+
import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
55
|
+
import '../OrMenuItemV3/styles.js';
|
|
56
|
+
import '../OrMenuV3/OrMenu.js';
|
|
57
|
+
import '../../OrMenu.vue_vue_type_script_lang-115f2c60.js';
|
|
58
|
+
import '../OrMenuV3/styles.js';
|
|
59
|
+
import '../OrModalV3/OrModal.js';
|
|
60
|
+
import '../../OrModal.vue_vue_type_script_lang-202c4e2f.js';
|
|
61
|
+
import '../OrModalV3/props.js';
|
|
62
|
+
import '../OrModalV3/styles.js';
|
|
63
|
+
import '../OrInputV3/OrInput.js';
|
|
64
|
+
import '../../OrInput.vue_vue_type_script_lang-6242286b.js';
|
|
65
|
+
import '../OrInputV3/props.js';
|
|
66
|
+
import '../OrInputBoxV3/props.js';
|
|
67
|
+
import '../OrInputV3/styles.js';
|
|
68
|
+
import '../OrErrorV3/OrError.js';
|
|
69
|
+
import '../../OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
70
|
+
import '../OrErrorV3/styles.js';
|
|
71
|
+
import '../OrHintV3/OrHint.js';
|
|
72
|
+
import '../../OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
73
|
+
import '../OrHintV3/styles.js';
|
|
74
|
+
import '../OrInputBoxV3/OrInputBox.js';
|
|
75
|
+
import '../../OrInputBox.vue_vue_type_script_lang-a21db166.js';
|
|
76
|
+
import '../OrInputBoxV3/styles.js';
|
|
77
|
+
import '../OrLoaderV3/OrLoader.js';
|
|
78
|
+
import '../../OrLoader.vue_vue_type_script_lang-49907820.js';
|
|
79
|
+
import '../OrLoaderV3/props.js';
|
|
80
|
+
import '../OrLoaderV3/styles.js';
|
|
81
|
+
import '../../hooks/useIdAttribute.js';
|
|
82
|
+
import '../../hooks/useControlAttributes.js';
|
|
83
|
+
import '../../hooks/useValidationAttributes.js';
|
|
84
|
+
import '../OrButtonV3/OrButton.js';
|
|
85
|
+
import '../../OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
86
|
+
import '../OrButtonV3/props.js';
|
|
87
|
+
import '../OrButtonV3/styles.js';
|
|
88
|
+
|
|
89
|
+
const _hoisted_1 = ["activated"];
|
|
90
|
+
const _hoisted_2 = /*#__PURE__*/createElementVNode("p", {
|
|
91
|
+
class: "text-headline-2"
|
|
92
|
+
}, " Add Link ", -1 /* HOISTED */);
|
|
93
|
+
const _hoisted_3 = {
|
|
94
|
+
class: "flex ml-auto gap-md"
|
|
95
|
+
};
|
|
96
|
+
const _hoisted_4 = /*#__PURE__*/createElementVNode("p", null, "Cancel", -1 /* HOISTED */);
|
|
97
|
+
const _hoisted_5 = /*#__PURE__*/createElementVNode("p", null, "Save", -1 /* HOISTED */);
|
|
98
|
+
|
|
99
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
100
|
+
const _component_or_label = resolveComponent("or-label");
|
|
101
|
+
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
102
|
+
const _component_or_menu_item = resolveComponent("or-menu-item");
|
|
103
|
+
const _component_or_menu = resolveComponent("or-menu");
|
|
104
|
+
const _component_or_input = resolveComponent("or-input");
|
|
105
|
+
const _component_or_button = resolveComponent("or-button");
|
|
106
|
+
const _component_or_modal = resolveComponent("or-modal");
|
|
107
|
+
return openBlock(), createElementBlock("div", {
|
|
108
|
+
ref: "root",
|
|
109
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
110
|
+
}, [createVNode(_component_or_label, null, {
|
|
111
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.description), 1 /* TEXT */)]),
|
|
112
|
+
|
|
113
|
+
_: 1 /* STABLE */
|
|
114
|
+
}), createElementVNode("div", {
|
|
115
|
+
ref: "containerRef",
|
|
116
|
+
class: normalizeClass(_ctx.containerStyles),
|
|
117
|
+
onClick: _cache[4] || (_cache[4] = $event => _ctx.handleEditorClick())
|
|
118
|
+
}, [createElementVNode("div", {
|
|
119
|
+
ref: "toolbarRef",
|
|
120
|
+
class: normalizeClass(_ctx.toolbarContainerStyles)
|
|
121
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.toolbar, (tools, index) => {
|
|
122
|
+
return openBlock(), createElementBlock("div", {
|
|
123
|
+
key: index,
|
|
124
|
+
class: normalizeClass([..._ctx.toolbarStyles, {
|
|
125
|
+
'hidden': _ctx.isVisible(tools)
|
|
126
|
+
}])
|
|
127
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(tools, item => {
|
|
128
|
+
return openBlock(), createElementBlock("div", {
|
|
129
|
+
key: item,
|
|
130
|
+
class: normalizeClass(['flex gap-md', {
|
|
131
|
+
'hidden': !_ctx.isVisible(item)
|
|
132
|
+
}])
|
|
133
|
+
}, [item === 'heading' ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
134
|
+
key: 0,
|
|
135
|
+
ref_for: true,
|
|
136
|
+
ref: "toolbarButtonRef",
|
|
137
|
+
selected: _ctx.isActive[item],
|
|
138
|
+
disabled: !_ctx.isFocused,
|
|
139
|
+
tooltip: {
|
|
140
|
+
text: item,
|
|
141
|
+
placement: 'top'
|
|
142
|
+
},
|
|
143
|
+
icon: {
|
|
144
|
+
icon: _ctx.headingIcon,
|
|
145
|
+
variant: 'inherit',
|
|
146
|
+
size: 'm'
|
|
147
|
+
},
|
|
148
|
+
onClick: _cache[0] || (_cache[0] = $event => _ctx.menuRef.open())
|
|
149
|
+
}, null, 8 /* PROPS */, ["selected", "disabled", "tooltip", "icon"])) : _ctx.isVisible(item) ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
150
|
+
key: 1,
|
|
151
|
+
tooltip: {
|
|
152
|
+
text: _ctx.iconTooltipsEnum[item],
|
|
153
|
+
placement: 'top'
|
|
154
|
+
},
|
|
155
|
+
selected: _ctx.isActive[item],
|
|
156
|
+
disabled: !_ctx.isFocused,
|
|
157
|
+
icon: {
|
|
158
|
+
icon: _ctx.iconsEnum[item],
|
|
159
|
+
variant: 'inherit',
|
|
160
|
+
size: 'm'
|
|
161
|
+
},
|
|
162
|
+
onClick: $event => _ctx.handleToolbarClick(item)
|
|
163
|
+
}, null, 8 /* PROPS */, ["tooltip", "selected", "disabled", "icon", "onClick"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
164
|
+
}), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */);
|
|
165
|
+
}), 128 /* KEYED_FRAGMENT */)), _ctx.countOfNotVisibleTools > 0 ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
166
|
+
key: 0,
|
|
167
|
+
ref: "moreButtonRef",
|
|
168
|
+
disabled: !_ctx.isFocused,
|
|
169
|
+
icon: {
|
|
170
|
+
icon: 'more_horiz',
|
|
171
|
+
variant: 'inherit',
|
|
172
|
+
size: 'm'
|
|
173
|
+
},
|
|
174
|
+
class: "px-sm",
|
|
175
|
+
onClick: _cache[1] || (_cache[1] = $event => _ctx.moreRef.open())
|
|
176
|
+
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
|
|
177
|
+
class: normalizeClass(['p-sm', {
|
|
178
|
+
'h-[calc(100%-32px)] md:h-[calc(100%-36px)]': _ctx.fullHeight
|
|
179
|
+
}])
|
|
180
|
+
}, [withDirectives(createElementVNode("textarea", {
|
|
181
|
+
ref: "textareaRef",
|
|
182
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.sourceValue = $event),
|
|
183
|
+
"auto-focus": "",
|
|
184
|
+
activated: _ctx.disableMarkdown,
|
|
185
|
+
class: "w-full h-full resize-none border-none outline-none bg-transparent typography-body-2-regular",
|
|
186
|
+
onInput: _cache[3] || (_cache[3] = function () {
|
|
187
|
+
return _ctx.handleInput && _ctx.handleInput(...arguments);
|
|
188
|
+
})
|
|
189
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_1), [[vShow, _ctx.disableMarkdown], [vModelText, _ctx.sourceValue]]), withDirectives(createElementVNode("div", {
|
|
190
|
+
ref: "editorRef",
|
|
191
|
+
class: normalizeClass(_ctx.editorInputStyles)
|
|
192
|
+
}, null, 2 /* CLASS */), [[vShow, !_ctx.disableMarkdown]]), renderSlot(_ctx.$slots, "files")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.moreButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
193
|
+
key: 0,
|
|
194
|
+
ref: "moreRef",
|
|
195
|
+
trigger: _ctx.moreButtonRef.root
|
|
196
|
+
}, {
|
|
197
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.notVisibleTools, item => {
|
|
198
|
+
return openBlock(), createBlock(_component_or_menu_item, {
|
|
199
|
+
key: item,
|
|
200
|
+
onClick: $event => _ctx.handleToolbarClick(item)
|
|
201
|
+
}, {
|
|
202
|
+
default: withCtx(() => [createVNode(_component_or_icon_button, {
|
|
203
|
+
tooltip: {
|
|
204
|
+
text: _ctx.iconTooltipsEnum[item],
|
|
205
|
+
placement: 'top'
|
|
206
|
+
},
|
|
207
|
+
selected: _ctx.isActive[item],
|
|
208
|
+
icon: {
|
|
209
|
+
icon: _ctx.iconsEnum[item],
|
|
210
|
+
variant: 'inherit',
|
|
211
|
+
size: 'm'
|
|
212
|
+
}
|
|
213
|
+
}, null, 8 /* PROPS */, ["tooltip", "selected", "icon"])]),
|
|
214
|
+
_: 2 /* DYNAMIC */
|
|
215
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
216
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
217
|
+
|
|
218
|
+
_: 1 /* STABLE */
|
|
219
|
+
}, 8 /* PROPS */, ["trigger"])) : createCommentVNode("v-if", true), _ctx.toolbarButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
220
|
+
key: 1,
|
|
221
|
+
ref: "menuRef",
|
|
222
|
+
trigger: _ctx.toolbarButtonRef[_ctx.getIndexOfHeading].root,
|
|
223
|
+
placement: "bottom-start"
|
|
224
|
+
}, {
|
|
225
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.headingLevels, heading => {
|
|
226
|
+
return openBlock(), createBlock(_component_or_menu_item, {
|
|
227
|
+
key: heading,
|
|
228
|
+
onClick: $event => _ctx.handleToolbarClick('heading', heading)
|
|
229
|
+
}, {
|
|
230
|
+
default: withCtx(() => [createTextVNode(" Heading " + toDisplayString(heading), 1 /* TEXT */)]),
|
|
231
|
+
|
|
232
|
+
_: 2 /* DYNAMIC */
|
|
233
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
234
|
+
}), 128 /* KEYED_FRAGMENT */)), createVNode(_component_or_menu_item, {
|
|
235
|
+
onClick: _cache[5] || (_cache[5] = $event => _ctx.handleToolbarClick('heading'))
|
|
236
|
+
}, {
|
|
237
|
+
default: withCtx(() => [createTextVNode(" None ")]),
|
|
238
|
+
_: 1 /* STABLE */
|
|
239
|
+
})]),
|
|
240
|
+
|
|
241
|
+
_: 1 /* STABLE */
|
|
242
|
+
}, 8 /* PROPS */, ["trigger"])) : createCommentVNode("v-if", true), createVNode(_component_or_modal, {
|
|
243
|
+
"is-open": _ctx.isOpenLinkModal,
|
|
244
|
+
size: "s"
|
|
245
|
+
}, {
|
|
246
|
+
header: withCtx(() => [_hoisted_2]),
|
|
247
|
+
footer: withCtx(() => [createElementVNode("div", _hoisted_3, [createVNode(_component_or_button, {
|
|
248
|
+
variant: "outlined",
|
|
249
|
+
onClick: _ctx.discardLink
|
|
250
|
+
}, {
|
|
251
|
+
default: withCtx(() => [_hoisted_4]),
|
|
252
|
+
_: 1 /* STABLE */
|
|
253
|
+
}, 8 /* PROPS */, ["onClick"]), createVNode(_component_or_button, {
|
|
254
|
+
onClick: _ctx.attachLink
|
|
255
|
+
}, {
|
|
256
|
+
default: withCtx(() => [_hoisted_5]),
|
|
257
|
+
_: 1 /* STABLE */
|
|
258
|
+
}, 8 /* PROPS */, ["onClick"])])]),
|
|
259
|
+
default: withCtx(() => [createElementVNode("div", null, [createVNode(_component_or_label, null, {
|
|
260
|
+
default: withCtx(() => [createTextVNode(" Text ")]),
|
|
261
|
+
_: 1 /* STABLE */
|
|
262
|
+
}), createVNode(_component_or_input, {
|
|
263
|
+
modelValue: _ctx.text,
|
|
264
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => _ctx.text = $event),
|
|
265
|
+
placeholder: "Placeholder",
|
|
266
|
+
class: "pb-md"
|
|
267
|
+
}, null, 8 /* PROPS */, ["modelValue"]), createVNode(_component_or_label, null, {
|
|
268
|
+
default: withCtx(() => [createTextVNode(" Link ")]),
|
|
269
|
+
_: 1 /* STABLE */
|
|
270
|
+
}), createVNode(_component_or_input, {
|
|
271
|
+
modelValue: _ctx.link,
|
|
272
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => _ctx.link = $event),
|
|
273
|
+
placeholder: "Placeholder"
|
|
274
|
+
}, null, 8 /* PROPS */, ["modelValue"])])]),
|
|
275
|
+
_: 1 /* STABLE */
|
|
276
|
+
}, 8 /* PROPS */, ["is-open"])], 2 /* CLASS */);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
var css_248z = ".tiptap-editor-v3 ol {\n margin-left: 24px;\n margin-right: 24px;\n list-style: decimal;\n}\n.tiptap-editor-v3 .ProseMirror h1, .tiptap-editor-v3 .ProseMirror h2, .tiptap-editor-v3 .ProseMirror h3, .tiptap-editor-v3 .ProseMirror h4, .tiptap-editor-v3 .ProseMirror h5, .tiptap-editor-v3 .ProseMirror h6, .tiptap-editor-v3 .ProseMirror p {\n margin: 4px;\n}\n.tiptap-editor-v3 ul {\n margin-left: 24px;\n margin-right: 24px;\n list-style: disc outside none;\n list-style: initial;\n}\n.tiptap-editor-v3 blockquote {\n margin-left: 24px;\n margin-right: 24px;\n margin-top: 8px;\n margin-bottom: 8px;\n padding-left: 24px;\n padding-right: 24px;\n border-left: 4px solid rgba(0, 95, 177, 0.16);\n}\n.tiptap-editor-v3 .is-editor-empty::before {\n content: attr(data-placeholder);\n height: 0;\n pointer-events: none;\n float: left;\n}\n.tiptap-editor-v3 .cm-editor {\n border: none;\n border-radius: 4px;\n}\n.tiptap-editor-v3 .cm-editor .cm-scroller {\n border-radius: 4px;\n}\n.tiptap-editor-v3 .cm-editor.cm-focused {\n outline: none;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters {\n background-color: rgba(0, 95, 177, 0.12);\n border: none;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement {\n padding-left: 11px;\n padding-right: 11px;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement.cm-activeLineGutter {\n background-color: rgba(0, 95, 177, 0.16);\n}";
|
|
280
|
+
styleInject(css_248z);
|
|
281
|
+
|
|
282
|
+
script.render = render;
|
|
283
|
+
script.__file = "src/components/or-rich-text-editor-v3/OrRichTextEditor.vue";
|
|
@@ -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,86 @@
|
|
|
1
|
+
export { Formats } from './props.js';
|
|
2
|
+
export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-ece43c52.js';
|
|
3
|
+
import 'vue-demi';
|
|
4
|
+
import '../../useFocusTrap-48767a70.js';
|
|
5
|
+
import '@vueuse/core';
|
|
6
|
+
import '../../markdown-7c7c4ca6.js';
|
|
7
|
+
import '../../index-85c2efe8.js';
|
|
8
|
+
import 'node:punycode';
|
|
9
|
+
import '../../index-418d5c0d.js';
|
|
10
|
+
import '../../index.es-3f39f316.js';
|
|
11
|
+
import './styles.js';
|
|
12
|
+
import './utils/codemirror/codemirrorNode.js';
|
|
13
|
+
import './utils/codemirror/codemirrorView.js';
|
|
14
|
+
import '../../index-0d224ae5.js';
|
|
15
|
+
import './utils/codemirror/theme.js';
|
|
16
|
+
import '../../index-d92d0b48.js';
|
|
17
|
+
import '../../index-e9f6b2d8.js';
|
|
18
|
+
import '../OrIconButtonV3/OrIconButton.js';
|
|
19
|
+
import '../../OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
20
|
+
import '../OrIconButtonV3/props.js';
|
|
21
|
+
import '../OrIconV3/props.js';
|
|
22
|
+
import '../OrIconButtonV3/styles.js';
|
|
23
|
+
import '../OrIconV3/OrIcon.js';
|
|
24
|
+
import '../../OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
25
|
+
import '../OrIconV3/styles.js';
|
|
26
|
+
import 'vue';
|
|
27
|
+
import '../OrTooltipV3/OrTooltip.js';
|
|
28
|
+
import '../../OrTooltip.vue_vue_type_script_lang-bb3db5bf.js';
|
|
29
|
+
import '../OrTooltipV3/styles.js';
|
|
30
|
+
import '../OrPopoverV3/OrPopover.js';
|
|
31
|
+
import '../../OrPopover.vue_vue_type_script_lang-7b1b2488.js';
|
|
32
|
+
import '../../floating-ui.dom.esm-83eba816.js';
|
|
33
|
+
import '../OrPopoverV3/props.js';
|
|
34
|
+
import '../OrPopoverV3/styles.js';
|
|
35
|
+
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
36
|
+
import '../../OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js';
|
|
37
|
+
import '../OrBottomSheetV3/props.js';
|
|
38
|
+
import '../OrBottomSheetV3/styles.js';
|
|
39
|
+
import '../OrOverlayV3/OrOverlay.js';
|
|
40
|
+
import '../../OrOverlay.vue_vue_type_script_lang-86c7b93a.js';
|
|
41
|
+
import '../OrOverlayV3/styles.js';
|
|
42
|
+
import '../OrTeleportV3/OrTeleport.js';
|
|
43
|
+
import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
44
|
+
import '../../hooks/useElevation.js';
|
|
45
|
+
import '../../utils/isVisible.js';
|
|
46
|
+
import '../../hooks/useResponsive/useResponsive.js';
|
|
47
|
+
import '../OrLabelV3/OrLabel.js';
|
|
48
|
+
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
49
|
+
import '../OrLabelV3/props.js';
|
|
50
|
+
import '../OrLabelV3/styles.js';
|
|
51
|
+
import '../OrMenuItemV3/OrMenuItem.js';
|
|
52
|
+
import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
53
|
+
import '../OrMenuItemV3/styles.js';
|
|
54
|
+
import '../OrMenuV3/OrMenu.js';
|
|
55
|
+
import '../../OrMenu.vue_vue_type_script_lang-115f2c60.js';
|
|
56
|
+
import '../OrMenuV3/styles.js';
|
|
57
|
+
import '../OrModalV3/OrModal.js';
|
|
58
|
+
import '../../OrModal.vue_vue_type_script_lang-202c4e2f.js';
|
|
59
|
+
import '../OrModalV3/props.js';
|
|
60
|
+
import '../OrModalV3/styles.js';
|
|
61
|
+
import '../OrInputV3/OrInput.js';
|
|
62
|
+
import '../../OrInput.vue_vue_type_script_lang-6242286b.js';
|
|
63
|
+
import '../OrInputV3/props.js';
|
|
64
|
+
import '../OrInputBoxV3/props.js';
|
|
65
|
+
import '../OrInputV3/styles.js';
|
|
66
|
+
import '../OrErrorV3/OrError.js';
|
|
67
|
+
import '../../OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
68
|
+
import '../OrErrorV3/styles.js';
|
|
69
|
+
import '../OrHintV3/OrHint.js';
|
|
70
|
+
import '../../OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
71
|
+
import '../OrHintV3/styles.js';
|
|
72
|
+
import '../OrInputBoxV3/OrInputBox.js';
|
|
73
|
+
import '../../OrInputBox.vue_vue_type_script_lang-a21db166.js';
|
|
74
|
+
import '../OrInputBoxV3/styles.js';
|
|
75
|
+
import '../OrLoaderV3/OrLoader.js';
|
|
76
|
+
import '../../OrLoader.vue_vue_type_script_lang-49907820.js';
|
|
77
|
+
import '../OrLoaderV3/props.js';
|
|
78
|
+
import '../OrLoaderV3/styles.js';
|
|
79
|
+
import '../../hooks/useIdAttribute.js';
|
|
80
|
+
import '../../hooks/useControlAttributes.js';
|
|
81
|
+
import '../../hooks/useValidationAttributes.js';
|
|
82
|
+
import '../../style-inject.es-4c6f2515.js';
|
|
83
|
+
import '../OrButtonV3/OrButton.js';
|
|
84
|
+
import '../../OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
85
|
+
import '../OrButtonV3/props.js';
|
|
86
|
+
import '../OrButtonV3/styles.js';
|
|
@@ -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[];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const EditorContainer = [
|
|
2
|
+
// Colors
|
|
3
|
+
'border-outline', 'focus-within:theme-border-1-primary', 'focus-within:bg-primary-opacity-0-08', 'focus-within:theme-outline-primary',
|
|
4
|
+
// Sizing
|
|
5
|
+
'border-1', 'rounded-md', 'w-full'];
|
|
6
|
+
const ToolbarContainer = [
|
|
7
|
+
// Layout
|
|
8
|
+
'flex',
|
|
9
|
+
//Spacing
|
|
10
|
+
'py-sm',
|
|
11
|
+
//Sizing
|
|
12
|
+
'border-b-1',
|
|
13
|
+
//Colors
|
|
14
|
+
'border-b-outline'];
|
|
15
|
+
const Toolbar = [
|
|
16
|
+
// Layout
|
|
17
|
+
'flex',
|
|
18
|
+
// Spacing
|
|
19
|
+
'px-sm', 'gap-md',
|
|
20
|
+
// Sizing
|
|
21
|
+
'border-l-1',
|
|
22
|
+
//Colors
|
|
23
|
+
'border-r-disabled',
|
|
24
|
+
// Last child
|
|
25
|
+
'first-of-type:border-none'];
|
|
26
|
+
const ToolbarButton = [
|
|
27
|
+
// Typography
|
|
28
|
+
'text-on-disabled'];
|
|
29
|
+
const ToolbarButtonFocused = [
|
|
30
|
+
// Typography
|
|
31
|
+
'text-outline'];
|
|
32
|
+
const EditorInput = [
|
|
33
|
+
// Typography
|
|
34
|
+
'typography-body-2-regular',
|
|
35
|
+
// Sizing
|
|
36
|
+
'min-h-[88px]'];
|
|
37
|
+
|
|
38
|
+
export { EditorContainer, EditorInput, Toolbar, ToolbarButton, ToolbarButtonFocused, ToolbarContainer };
|