@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,190 @@
|
|
|
1
|
+
import { E as EditorView, ah as HighlightStyle, $ as tags, M as syntaxHighlighting } from '../../../../index-0d224ae5.js';
|
|
2
|
+
import '../../../../index.es-3f39f316.js';
|
|
3
|
+
|
|
4
|
+
// Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
|
|
5
|
+
const chalky = 'var(--c-warning-darken-20)',
|
|
6
|
+
coral = 'var(--c-error)',
|
|
7
|
+
cyan = '#56b6c2',
|
|
8
|
+
invalid = 'var(--c-white)',
|
|
9
|
+
ivory = 'var(--c-neutral-6)',
|
|
10
|
+
stone = 'var(--c-neutral-5)',
|
|
11
|
+
// Brightened compared to original to increase contrast
|
|
12
|
+
malibu = '#61afef',
|
|
13
|
+
sage = 'var(--c-success)',
|
|
14
|
+
whiskey = 'var(--c-warning-darken-5)',
|
|
15
|
+
violet = '#c678dd',
|
|
16
|
+
darkBackground = 'var(--c-neutral-1)',
|
|
17
|
+
highlightBackground = 'var(--c-neutral-2)',
|
|
18
|
+
background = 'var(--c-neutral-1)',
|
|
19
|
+
tooltipBackground = 'var(--c-neutral-2)',
|
|
20
|
+
selection = 'var(--c-neutral-3)',
|
|
21
|
+
cursor = 'var(--c-primary)';
|
|
22
|
+
/// The colors used in the theme, as CSS color strings.
|
|
23
|
+
const color = {
|
|
24
|
+
chalky,
|
|
25
|
+
coral,
|
|
26
|
+
cyan,
|
|
27
|
+
invalid,
|
|
28
|
+
ivory,
|
|
29
|
+
stone,
|
|
30
|
+
malibu,
|
|
31
|
+
sage,
|
|
32
|
+
whiskey,
|
|
33
|
+
violet,
|
|
34
|
+
darkBackground,
|
|
35
|
+
highlightBackground,
|
|
36
|
+
background,
|
|
37
|
+
tooltipBackground,
|
|
38
|
+
selection,
|
|
39
|
+
cursor
|
|
40
|
+
};
|
|
41
|
+
/// The editor theme styles for One Dark.
|
|
42
|
+
const orCodeTheme = EditorView.theme({
|
|
43
|
+
'&': {
|
|
44
|
+
color: ivory,
|
|
45
|
+
backgroundColor: background
|
|
46
|
+
},
|
|
47
|
+
'.cm-content': {
|
|
48
|
+
caretColor: cursor
|
|
49
|
+
},
|
|
50
|
+
'.cm-button': {
|
|
51
|
+
background: highlightBackground,
|
|
52
|
+
color: 'var(--c-neutral-6)',
|
|
53
|
+
border: 0,
|
|
54
|
+
borderRadius: 'var(--s-2)'
|
|
55
|
+
},
|
|
56
|
+
'.cm-panel.cm-search input[type=checkbox]': {
|
|
57
|
+
display: 'inline-block',
|
|
58
|
+
verticalAlign: 'middle'
|
|
59
|
+
},
|
|
60
|
+
'.cm-cursor, .cm-dropCursor': {
|
|
61
|
+
borderLeftColor: cursor
|
|
62
|
+
},
|
|
63
|
+
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
|
64
|
+
backgroundColor: selection
|
|
65
|
+
},
|
|
66
|
+
'.cm-panels': {
|
|
67
|
+
backgroundColor: darkBackground,
|
|
68
|
+
color: ivory
|
|
69
|
+
},
|
|
70
|
+
'.cm-panels.cm-panels-top': {
|
|
71
|
+
borderBottom: '2px solid var(--c-neutral-2)'
|
|
72
|
+
},
|
|
73
|
+
'.cm-panels.cm-panels-bottom': {
|
|
74
|
+
borderTop: '2px solid var(--c-neutral-2)'
|
|
75
|
+
},
|
|
76
|
+
'.cm-searchMatch': {
|
|
77
|
+
backgroundColor: 'var(--c-neutral-1)',
|
|
78
|
+
outline: '1px solid var(--c-neutral-2)'
|
|
79
|
+
},
|
|
80
|
+
'.cm-searchMatch.cm-searchMatch-selected': {
|
|
81
|
+
backgroundColor: '#6199ff2f'
|
|
82
|
+
},
|
|
83
|
+
'.cm-activeLine': {
|
|
84
|
+
backgroundColor: '#6699ff0b'
|
|
85
|
+
},
|
|
86
|
+
'.cm-selectionMatch': {
|
|
87
|
+
backgroundColor: '#aafe661a'
|
|
88
|
+
},
|
|
89
|
+
'&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
|
|
90
|
+
backgroundColor: '#bad0f847'
|
|
91
|
+
},
|
|
92
|
+
'.cm-gutters': {
|
|
93
|
+
backgroundColor: background,
|
|
94
|
+
color: stone,
|
|
95
|
+
border: 'none'
|
|
96
|
+
},
|
|
97
|
+
'.cm-activeLineGutter': {
|
|
98
|
+
backgroundColor: highlightBackground
|
|
99
|
+
},
|
|
100
|
+
'.cm-foldPlaceholder': {
|
|
101
|
+
backgroundColor: 'transparent',
|
|
102
|
+
border: 'none',
|
|
103
|
+
color: '#ddd'
|
|
104
|
+
},
|
|
105
|
+
'.cm-tooltip': {
|
|
106
|
+
border: 'none',
|
|
107
|
+
backgroundColor: tooltipBackground
|
|
108
|
+
},
|
|
109
|
+
'.cm-tooltip .cm-tooltip-arrow:before': {
|
|
110
|
+
borderTopColor: 'transparent',
|
|
111
|
+
borderBottomColor: 'transparent'
|
|
112
|
+
},
|
|
113
|
+
'.cm-tooltip .cm-tooltip-arrow:after': {
|
|
114
|
+
borderTopColor: tooltipBackground,
|
|
115
|
+
borderBottomColor: tooltipBackground
|
|
116
|
+
},
|
|
117
|
+
'.cm-tooltip-autocomplete': {
|
|
118
|
+
'& > ul > li[aria-selected]': {
|
|
119
|
+
backgroundColor: highlightBackground,
|
|
120
|
+
color: ivory
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
'.cm-textfield': {
|
|
124
|
+
outline: 'none',
|
|
125
|
+
background: background,
|
|
126
|
+
color: 'var(--c-neutral-6)',
|
|
127
|
+
backgroundColor: 'var(--c-neutral-1)',
|
|
128
|
+
border: '1px solid var(--c-neutral-2)',
|
|
129
|
+
borderRadius: 'var(--s-2)'
|
|
130
|
+
}
|
|
131
|
+
}, {
|
|
132
|
+
dark: true
|
|
133
|
+
});
|
|
134
|
+
/// The highlighting style for code in the One Dark theme.
|
|
135
|
+
const orCodeHighlightStyle = HighlightStyle.define([{
|
|
136
|
+
tag: tags.keyword,
|
|
137
|
+
color: violet
|
|
138
|
+
}, {
|
|
139
|
+
tag: [tags.name, tags.deleted, tags.character, tags.propertyName, tags.macroName],
|
|
140
|
+
color: coral
|
|
141
|
+
}, {
|
|
142
|
+
tag: [tags.function(tags.variableName), tags.labelName],
|
|
143
|
+
color: malibu
|
|
144
|
+
}, {
|
|
145
|
+
tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)],
|
|
146
|
+
color: whiskey
|
|
147
|
+
}, {
|
|
148
|
+
tag: [tags.definition(tags.name), tags.separator],
|
|
149
|
+
color: ivory
|
|
150
|
+
}, {
|
|
151
|
+
tag: [tags.typeName, tags.className, tags.number, tags.changed, tags.annotation, tags.modifier, tags.self, tags.namespace],
|
|
152
|
+
color: chalky
|
|
153
|
+
}, {
|
|
154
|
+
tag: [tags.operator, tags.operatorKeyword, tags.url, tags.escape, tags.regexp, tags.link, tags.special(tags.string)],
|
|
155
|
+
color: cyan
|
|
156
|
+
}, {
|
|
157
|
+
tag: [tags.meta, tags.comment],
|
|
158
|
+
color: stone
|
|
159
|
+
}, {
|
|
160
|
+
tag: tags.strong,
|
|
161
|
+
fontWeight: 'bold'
|
|
162
|
+
}, {
|
|
163
|
+
tag: tags.emphasis,
|
|
164
|
+
fontStyle: 'italic'
|
|
165
|
+
}, {
|
|
166
|
+
tag: tags.strikethrough,
|
|
167
|
+
textDecoration: 'line-through'
|
|
168
|
+
}, {
|
|
169
|
+
tag: tags.link,
|
|
170
|
+
color: stone,
|
|
171
|
+
textDecoration: 'underline'
|
|
172
|
+
}, {
|
|
173
|
+
tag: tags.heading,
|
|
174
|
+
fontWeight: 'bold',
|
|
175
|
+
color: coral
|
|
176
|
+
}, {
|
|
177
|
+
tag: [tags.atom, tags.bool, tags.special(tags.variableName)],
|
|
178
|
+
color: whiskey
|
|
179
|
+
}, {
|
|
180
|
+
tag: [tags.processingInstruction, tags.string, tags.inserted],
|
|
181
|
+
color: sage
|
|
182
|
+
}, {
|
|
183
|
+
tag: tags.invalid,
|
|
184
|
+
color: invalid
|
|
185
|
+
}]);
|
|
186
|
+
/// Extension to enable the One Dark theme (both the editor theme and
|
|
187
|
+
/// the highlight style).
|
|
188
|
+
const theme = [orCodeTheme, syntaxHighlighting(orCodeHighlightStyle)];
|
|
189
|
+
|
|
190
|
+
export { color, theme as default, orCodeHighlightStyle, orCodeTheme };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { EditorView } from 'prosemirror-view';
|
|
2
|
+
import type { Node as ProsemirrorNode } from 'prosemirror-model';
|
|
3
|
+
import type { Extension } from '@codemirror/state';
|
|
4
|
+
export interface ComputeChange {
|
|
5
|
+
from: number;
|
|
6
|
+
to: number;
|
|
7
|
+
text: string;
|
|
8
|
+
}
|
|
9
|
+
interface CMOptions {
|
|
10
|
+
extensions: Extension;
|
|
11
|
+
}
|
|
12
|
+
export type GetPos = () => number | undefined;
|
|
13
|
+
export interface CodeMirrorViewOptions {
|
|
14
|
+
node: ProsemirrorNode;
|
|
15
|
+
view: EditorView;
|
|
16
|
+
getPos: GetPos;
|
|
17
|
+
cmOptions?: CMOptions;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Ellipsis can be placed in the end or in the middle of the text. Convenient for displaying long labels,
|
|
4
4
|
* that have same beginning and differ in the ending part.
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: import("
|
|
6
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
7
7
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
8
8
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
9
9
|
mainTextStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue2").ComponentOptions<import("vue2").default,
|
|
|
48
48
|
type: NumberConstructor;
|
|
49
49
|
default: number;
|
|
50
50
|
};
|
|
51
|
-
}>> & Omit<import("
|
|
51
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
52
52
|
text: string;
|
|
53
53
|
sliceIndex: number;
|
|
54
54
|
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
2
2
|
inputRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
3
3
|
}> & {
|
|
4
4
|
reqAF: any;
|
|
@@ -106,7 +106,7 @@ declare const _default: import("vue2").ComponentOptions<import("vue2").default,
|
|
|
106
106
|
isDisabled: BooleanConstructor;
|
|
107
107
|
isReadonly: BooleanConstructor;
|
|
108
108
|
isInvalid: BooleanConstructor;
|
|
109
|
-
}>> & Omit<import("
|
|
109
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
110
110
|
modelValue: string;
|
|
111
111
|
isSmall: boolean;
|
|
112
112
|
isRequired: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TextareaSize } from './props';
|
|
3
|
-
declare const _default: import("
|
|
3
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
5
|
control: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
6
6
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
@@ -97,7 +97,7 @@ declare const _default: import("vue2").ComponentOptions<import("vue2").default,
|
|
|
97
97
|
type: BooleanConstructor;
|
|
98
98
|
default: boolean;
|
|
99
99
|
};
|
|
100
|
-
}>> & Omit<import("
|
|
100
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
101
101
|
modelValue: string;
|
|
102
102
|
size: TextareaSize;
|
|
103
103
|
label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TextboxTypes } from './constants';
|
|
3
|
-
declare const _default: import("
|
|
3
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
inputRef: import("@vue/composition-api").Ref<HTMLInputElement | HTMLTextAreaElement | null>;
|
|
5
5
|
reqAF: import("@vue/composition-api").Ref<null>;
|
|
6
6
|
rootClasses: import("@vue/composition-api").ComputedRef<(string | {
|
|
@@ -264,7 +264,7 @@ declare const _default: import("vue2").ComponentOptions<import("vue2").default,
|
|
|
264
264
|
required: false;
|
|
265
265
|
validator: (value?: any) => value is boolean;
|
|
266
266
|
};
|
|
267
|
-
}>> & Omit<import("
|
|
267
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
268
268
|
modelValue: string;
|
|
269
269
|
id: string;
|
|
270
270
|
placeholder: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { FilterFunction } from '../or-date-time-picker-v3/types';
|
|
3
3
|
import { TimePickerSize } from './props';
|
|
4
|
-
declare const _default: import("
|
|
4
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
5
5
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
6
6
|
inputBox: 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, {
|
|
7
7
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -115,7 +115,7 @@ declare const _default: import("vue2").ComponentOptions<import("vue2").default,
|
|
|
115
115
|
type: BooleanConstructor;
|
|
116
116
|
default: boolean;
|
|
117
117
|
};
|
|
118
|
-
}>> & Omit<import("
|
|
118
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
119
119
|
modelValue: Date;
|
|
120
120
|
hoursFilter: FilterFunction;
|
|
121
121
|
minutesFilter: FilterFunction;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { ToastType } from './constants';
|
|
3
3
|
import { ToastLink } from './types';
|
|
4
|
-
declare const _default: import("
|
|
4
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<import("@vue/composition-api").Data> & import("@vue/composition-api").Data, {
|
|
5
5
|
onClose(): void;
|
|
6
6
|
onLinkClick(e: MouseEvent): void;
|
|
7
7
|
}, {
|
|
@@ -49,7 +49,7 @@ declare const _default: import("vue2").ComponentOptions<import("vue2").default,
|
|
|
49
49
|
type: NumberConstructor;
|
|
50
50
|
default: null;
|
|
51
51
|
};
|
|
52
|
-
}>> & Omit<import("
|
|
52
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
53
53
|
toastType: ToastType;
|
|
54
54
|
link: ToastLink;
|
|
55
55
|
messageText: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { ToastType } from './props';
|
|
3
3
|
import { ToastLink } from './types';
|
|
4
|
-
declare const _default: import("
|
|
4
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
5
5
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
6
6
|
toastIconStyle: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
7
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
@@ -45,7 +45,7 @@ declare const _default: import("vue2").ComponentOptions<import("vue2").default,
|
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
47
47
|
};
|
|
48
|
-
}>> & Omit<import("
|
|
48
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
49
49
|
toastType: ToastType;
|
|
50
50
|
link: ToastLink;
|
|
51
51
|
messageText: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { OrFloatingPlacements } from '../or-floating';
|
|
3
|
-
declare const _default: import("
|
|
3
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
trigger: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
5
|
}> & {
|
|
6
6
|
isShown: boolean;
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue2").ComponentOptions<import("vue2").default,
|
|
|
59
59
|
required: false;
|
|
60
60
|
default: boolean;
|
|
61
61
|
};
|
|
62
|
-
}>> & Omit<import("
|
|
62
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
63
63
|
modelValue: boolean;
|
|
64
64
|
isVisible: boolean;
|
|
65
65
|
placement: OrFloatingPlacements;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TooltipPlacement } from './props';
|
|
3
|
-
declare const _default: import("
|
|
3
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
5
|
popover: 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, {
|
|
6
6
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue2").ComponentOptions<import("vue2").default,
|
|
|
30
30
|
type: PropType<"top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end">;
|
|
31
31
|
default: TooltipPlacement;
|
|
32
32
|
};
|
|
33
|
-
}>> & Omit<import("
|
|
33
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
34
34
|
text: string;
|
|
35
35
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
36
36
|
} & {} & {
|
|
@@ -162,6 +162,8 @@ export { p as PropsV3 } from '../props-7be029c7.js';
|
|
|
162
162
|
export { default as OrTooltip } from './OrTooltip/OrTooltip.js';
|
|
163
163
|
export { default as OrTooltipContent } from './OrTooltipContent/OrTooltipContent.js';
|
|
164
164
|
export { default as OrTooltipV3 } from './OrTooltipV3/OrTooltip.js';
|
|
165
|
+
export { default as OrRichTextEditorV3 } from './OrRichTextEditorV3/OrRichTextEditor.js';
|
|
166
|
+
export { Formats } from './OrRichTextEditorV3/props.js';
|
|
165
167
|
import 'vue-demi';
|
|
166
168
|
import 'lodash';
|
|
167
169
|
import '../style-inject.es-4c6f2515.js';
|
|
@@ -207,12 +209,16 @@ import './OrCheckboxTreeV3/styles.js';
|
|
|
207
209
|
import '../utils/functions/flattenDeep.js';
|
|
208
210
|
import './OrFormGroupV3/styles.js';
|
|
209
211
|
import './OrChips/constants.js';
|
|
210
|
-
import '../index-
|
|
211
|
-
import '../
|
|
212
|
+
import '../index-0d224ae5.js';
|
|
213
|
+
import '../index.es-3f39f316.js';
|
|
214
|
+
import '../index-d92d0b48.js';
|
|
215
|
+
import '../index-e9f6b2d8.js';
|
|
216
|
+
import './OrCode/lang.js';
|
|
212
217
|
import './OrCode/theme.js';
|
|
218
|
+
import '../useFocusTrap-48767a70.js';
|
|
213
219
|
import './OrColorPicker/utils/defultPalette.js';
|
|
214
220
|
import './OrCombinedInputV3/styles.js';
|
|
215
|
-
import '../index-
|
|
221
|
+
import '../index-f6664cb1.js';
|
|
216
222
|
import './OrConfirmV3/styles.js';
|
|
217
223
|
import './OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
218
224
|
import '../OrDateTimePickerMonthSelect-75089f80.js';
|
|
@@ -259,3 +265,11 @@ import './OrToast/Timer.js';
|
|
|
259
265
|
import './OrToastV3/styles.js';
|
|
260
266
|
import './OrToastV3/composable/useToastEventBus.js';
|
|
261
267
|
import './OrToastV3/Timer.js';
|
|
268
|
+
import '../markdown-7c7c4ca6.js';
|
|
269
|
+
import '../index-85c2efe8.js';
|
|
270
|
+
import 'node:punycode';
|
|
271
|
+
import '../index-418d5c0d.js';
|
|
272
|
+
import './OrRichTextEditorV3/styles.js';
|
|
273
|
+
import './OrRichTextEditorV3/utils/codemirror/codemirrorNode.js';
|
|
274
|
+
import './OrRichTextEditorV3/utils/codemirror/codemirrorView.js';
|
|
275
|
+
import './OrRichTextEditorV3/utils/codemirror/theme.js';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { k as keyName, b as base, s as shift } from './index.es-3f39f316.js';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
The data structure for documents. @nonabstract
|
|
3
5
|
*/
|
|
@@ -3970,120 +3972,6 @@ class StyleSet {
|
|
|
3970
3972
|
// example to create a media query you can do `{"@media screen and
|
|
3971
3973
|
// (min-width: 400px)": {...}}`.
|
|
3972
3974
|
|
|
3973
|
-
var base = {
|
|
3974
|
-
8: "Backspace",
|
|
3975
|
-
9: "Tab",
|
|
3976
|
-
10: "Enter",
|
|
3977
|
-
12: "NumLock",
|
|
3978
|
-
13: "Enter",
|
|
3979
|
-
16: "Shift",
|
|
3980
|
-
17: "Control",
|
|
3981
|
-
18: "Alt",
|
|
3982
|
-
20: "CapsLock",
|
|
3983
|
-
27: "Escape",
|
|
3984
|
-
32: " ",
|
|
3985
|
-
33: "PageUp",
|
|
3986
|
-
34: "PageDown",
|
|
3987
|
-
35: "End",
|
|
3988
|
-
36: "Home",
|
|
3989
|
-
37: "ArrowLeft",
|
|
3990
|
-
38: "ArrowUp",
|
|
3991
|
-
39: "ArrowRight",
|
|
3992
|
-
40: "ArrowDown",
|
|
3993
|
-
44: "PrintScreen",
|
|
3994
|
-
45: "Insert",
|
|
3995
|
-
46: "Delete",
|
|
3996
|
-
59: ";",
|
|
3997
|
-
61: "=",
|
|
3998
|
-
91: "Meta",
|
|
3999
|
-
92: "Meta",
|
|
4000
|
-
106: "*",
|
|
4001
|
-
107: "+",
|
|
4002
|
-
108: ",",
|
|
4003
|
-
109: "-",
|
|
4004
|
-
110: ".",
|
|
4005
|
-
111: "/",
|
|
4006
|
-
144: "NumLock",
|
|
4007
|
-
145: "ScrollLock",
|
|
4008
|
-
160: "Shift",
|
|
4009
|
-
161: "Shift",
|
|
4010
|
-
162: "Control",
|
|
4011
|
-
163: "Control",
|
|
4012
|
-
164: "Alt",
|
|
4013
|
-
165: "Alt",
|
|
4014
|
-
173: "-",
|
|
4015
|
-
186: ";",
|
|
4016
|
-
187: "=",
|
|
4017
|
-
188: ",",
|
|
4018
|
-
189: "-",
|
|
4019
|
-
190: ".",
|
|
4020
|
-
191: "/",
|
|
4021
|
-
192: "`",
|
|
4022
|
-
219: "[",
|
|
4023
|
-
220: "\\",
|
|
4024
|
-
221: "]",
|
|
4025
|
-
222: "'"
|
|
4026
|
-
};
|
|
4027
|
-
var shift = {
|
|
4028
|
-
48: ")",
|
|
4029
|
-
49: "!",
|
|
4030
|
-
50: "@",
|
|
4031
|
-
51: "#",
|
|
4032
|
-
52: "$",
|
|
4033
|
-
53: "%",
|
|
4034
|
-
54: "^",
|
|
4035
|
-
55: "&",
|
|
4036
|
-
56: "*",
|
|
4037
|
-
57: "(",
|
|
4038
|
-
59: ":",
|
|
4039
|
-
61: "+",
|
|
4040
|
-
173: "_",
|
|
4041
|
-
186: ":",
|
|
4042
|
-
187: "+",
|
|
4043
|
-
188: "<",
|
|
4044
|
-
189: "_",
|
|
4045
|
-
190: ">",
|
|
4046
|
-
191: "?",
|
|
4047
|
-
192: "~",
|
|
4048
|
-
219: "{",
|
|
4049
|
-
220: "|",
|
|
4050
|
-
221: "}",
|
|
4051
|
-
222: "\""
|
|
4052
|
-
};
|
|
4053
|
-
var chrome$1 = typeof navigator != "undefined" && /Chrome\/(\d+)/.exec(navigator.userAgent);
|
|
4054
|
-
typeof navigator != "undefined" && /Gecko\/\d+/.test(navigator.userAgent);
|
|
4055
|
-
var mac = typeof navigator != "undefined" && /Mac/.test(navigator.platform);
|
|
4056
|
-
var ie$1 = typeof navigator != "undefined" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
4057
|
-
var brokenModifierNames = mac || chrome$1 && +chrome$1[1] < 57;
|
|
4058
|
-
|
|
4059
|
-
// Fill in the digit keys
|
|
4060
|
-
for (var i = 0; i < 10; i++) base[48 + i] = base[96 + i] = String(i);
|
|
4061
|
-
|
|
4062
|
-
// The function keys
|
|
4063
|
-
for (var i = 1; i <= 24; i++) base[i + 111] = "F" + i;
|
|
4064
|
-
|
|
4065
|
-
// And the alphabetic keys
|
|
4066
|
-
for (var i = 65; i <= 90; i++) {
|
|
4067
|
-
base[i] = String.fromCharCode(i + 32);
|
|
4068
|
-
shift[i] = String.fromCharCode(i);
|
|
4069
|
-
}
|
|
4070
|
-
|
|
4071
|
-
// For each code that doesn't have a shift-equivalent, copy the base name
|
|
4072
|
-
for (var code in base) if (!shift.hasOwnProperty(code)) shift[code] = base[code];
|
|
4073
|
-
function keyName(event) {
|
|
4074
|
-
var ignoreKey = brokenModifierNames && (event.ctrlKey || event.altKey || event.metaKey) || ie$1 && event.shiftKey && event.key && event.key.length == 1 || event.key == "Unidentified";
|
|
4075
|
-
var name = !ignoreKey && event.key || (event.shiftKey ? shift : base)[event.keyCode] || event.key || "Unidentified";
|
|
4076
|
-
// Edge sometimes produces wrong names (Issue #3)
|
|
4077
|
-
if (name == "Esc") name = "Escape";
|
|
4078
|
-
if (name == "Del") name = "Delete";
|
|
4079
|
-
// https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8860571/
|
|
4080
|
-
if (name == "Left") name = "ArrowLeft";
|
|
4081
|
-
if (name == "Up") name = "ArrowUp";
|
|
4082
|
-
if (name == "Right") name = "ArrowRight";
|
|
4083
|
-
if (name == "Down") name = "ArrowDown";
|
|
4084
|
-
return name;
|
|
4085
|
-
}
|
|
4086
|
-
|
|
4087
3975
|
function getSelection(root) {
|
|
4088
3976
|
let target;
|
|
4089
3977
|
// Browsers differ on whether shadow roots have a getSelection
|
|
@@ -18388,4 +18276,4 @@ function createTokenType(extra, tagStr) {
|
|
|
18388
18276
|
return type.id;
|
|
18389
18277
|
}
|
|
18390
18278
|
|
|
18391
|
-
export {
|
|
18279
|
+
export { tags as $, Annotation as A, highlightActiveLineGutter as B, ChangeSet as C, Direction as D, EditorView as E, Facet as F, highlightSpecialChars as G, foldGutter as H, IndentContext as I, drawSelection as J, dropCursor as K, indentOnInput as L, syntaxHighlighting as M, NodeProp as N, defaultHighlightStyle as O, Prec as P, bracketMatching as Q, RangeSetBuilder as R, StateField as S, Transaction as T, rectangularSelection as U, ViewPlugin as V, WidgetType as W, crosshairCursor as X, highlightActiveLine as Y, foldKeymap as Z, styleTags as _, EditorState as a, parseMixed as a0, LanguageSupport as a1, LRLanguage as a2, indentNodeProp as a3, continuedIndent as a4, foldNodeProp as a5, foldInside as a6, NodeType as a7, NodeSet as a8, Parser as a9, Tag as aa, Tree as ab, Language as ac, defineLanguageFacet as ad, languageDataProp as ae, LanguageDescription as af, ParseContext as ag, HighlightStyle as ah, showTooltip as ai, getTooltip as aj, MapMode as ak, RangeValue as al, RangeSet as am, DefaultBufferLength as an, IterMode as ao, flatIndent as ap, delimitedIndent as aq, NodeWeakMap as ar, EditorSelection as b, combineConfig as c, ChangeDesc as d, Text as e, indentUnit as f, getIndentation as g, countColumn as h, indentString as i, getIndentUnit as j, keymap as k, StateEffect as l, matchBrackets as m, findClusterBreak as n, Decoration as o, codePointAt as p, codePointSize as q, getPanel as r, syntaxTree as s, CharCategory as t, fromCodePoint as u, showPanel as v, runScopeHandlers as w, hoverTooltip as x, logException as y, lineNumbers as z };
|