@onereach/ui-components 4.1.0-beta.2511.0 → 4.1.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/OrBottomSheetV3/OrBottomSheet.js +8 -1
- package/dist/bundled/v2/components/OrButtonV3/styles.js +3 -1
- package/dist/bundled/v2/components/OrCode/OrCode.js +3727 -5
- package/dist/bundled/v2/components/OrCode/index.js +2 -5
- package/dist/bundled/v2/components/OrCode/lang.js +3 -3897
- package/dist/bundled/v2/components/OrCode/theme.js +1 -2
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +8 -1
- package/dist/bundled/v2/components/index.d.ts +0 -1
- package/dist/bundled/v2/components/index.js +2 -14
- package/dist/bundled/v2/hooks/useElevation.js +3 -3
- package/dist/bundled/v2/{index-f5487f12.js → index-6976c52a.js} +115 -3
- package/dist/bundled/v2/index.js +5 -17
- package/dist/bundled/v2/{index-70ca38c5.js → lang-02d2bb2d.js} +3965 -73
- package/dist/bundled/v2/utils/isVisible.js +1 -1
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-1489a97d.js → OrBottomSheet.vue_vue_type_script_lang-01d7c429.js} +9 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-606eede5.js → OrCardCollection.vue_vue_type_script_lang-843e396a.js} +4 -4
- package/dist/bundled/v3/{index-16aee5bc.js → OrCode.vue_vue_type_script_lang-c5a9adb7.js} +234 -14
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-7d9bcdc4.js → OrConfirm.vue_vue_type_script_lang-d069c95f.js} +3 -3
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-42a8285c.js → OrIconButton.vue_vue_type_script_lang-41f12b45.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-6b0f4112.js → OrInlineInput.vue_vue_type_script_lang-2b485aef.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-6a7a22a3.js → OrInlineTextarea.vue_vue_type_script_lang-aa848373.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-60b49ebd.js → OrInput.vue_vue_type_script_lang-fe526531.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-2676b9cc.js → OrMenu.vue_vue_type_script_lang-4772731e.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-9ed0d5c2.js → OrModal.vue_vue_type_script_lang-265f39e0.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-9bd9811a.js → OrNotification.vue_vue_type_script_lang-1b2d17a2.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-b08cc71a.js → OrPagination.vue_vue_type_script_lang-ddef5272.js} +2 -2
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-a9419b58.js → OrPopover.vue_vue_type_script_lang-9d3a7c2d.js} +9 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-3613e38d.js → OrSearch.vue_vue_type_script_lang-36ad17a9.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-262351de.js → OrSelect.vue_vue_type_script_lang-410f4efc.js} +3 -3
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-198126ca.js → OrSidebar.vue_vue_type_script_lang-ed7c92fb.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-b723fa78.js → OrTabs.vue_vue_type_script_lang-4f5e0d90.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-9deddfc8.js → OrTag.vue_vue_type_script_lang-fbc19deb.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-703eaacb.js → OrTooltip.vue_vue_type_script_lang-b35199da.js} +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +3 -3
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +2 -2
- package/dist/bundled/v3/components/OrButtonV3/OrButton.js +2 -2
- package/dist/bundled/v3/components/OrButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrButtonV3/styles.js +3 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +11 -11
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +10 -10
- package/dist/bundled/v3/components/OrCode/OrCode.js +5 -8
- package/dist/bundled/v3/components/OrCode/index.js +3 -6
- package/dist/bundled/v3/components/OrCode/lang.js +3 -3897
- package/dist/bundled/v3/components/OrCode/theme.js +1 -2
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +9 -9
- package/dist/bundled/v3/components/OrConfirmV3/index.js +8 -8
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +6 -6
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +5 -5
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +7 -7
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +6 -6
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +7 -7
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +6 -6
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +7 -7
- package/dist/bundled/v3/components/OrInputV3/index.js +6 -6
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +5 -5
- package/dist/bundled/v3/components/OrMenuV3/index.js +4 -4
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +7 -7
- package/dist/bundled/v3/components/OrModalV3/index.js +6 -6
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +7 -7
- package/dist/bundled/v3/components/OrNotificationV3/index.js +6 -6
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +7 -7
- package/dist/bundled/v3/components/OrPaginationV3/index.js +6 -6
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +4 -4
- package/dist/bundled/v3/components/OrPopoverV3/index.js +3 -3
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +8 -8
- package/dist/bundled/v3/components/OrSearchV3/index.js +7 -7
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +9 -9
- package/dist/bundled/v3/components/OrSelectV3/index.js +8 -8
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +7 -7
- package/dist/bundled/v3/components/OrSidebarV3/index.js +6 -6
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +6 -6
- package/dist/bundled/v3/components/OrTabsV3/index.js +5 -5
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +7 -7
- package/dist/bundled/v3/components/OrTagV3/index.js +6 -6
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +7 -7
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +6 -6
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +5 -5
- package/dist/bundled/v3/components/OrToastV3/index.js +6 -6
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +5 -5
- package/dist/bundled/v3/components/OrTooltipV3/index.js +4 -4
- package/dist/bundled/v3/components/index.d.ts +0 -1
- package/dist/bundled/v3/components/index.js +24 -37
- package/dist/bundled/v3/hooks/useElevation.js +3 -3
- package/dist/bundled/v3/{index-f5487f12.js → index-6976c52a.js} +115 -3
- package/dist/bundled/v3/index.js +27 -40
- package/dist/bundled/v3/{index-70ca38c5.js → lang-02d2bb2d.js} +3965 -73
- package/dist/bundled/v3/utils/isVisible.js +1 -1
- package/dist/esm/v2/{OrBottomSheet-29df8db9.js → OrBottomSheet-2d3d8fbc.js} +9 -2
- package/dist/esm/v2/{OrButton-236d9c2e.js → OrButton-6b60a776.js} +3 -1
- package/dist/esm/v2/{OrCardCollection-97167234.js → OrCardCollection-6b43a9b2.js} +5 -5
- package/dist/esm/v2/{OrConfirm-cd41987e.js → OrConfirm-92e39afe.js} +3 -3
- package/dist/esm/v2/{OrIconButton-a9db16fa.js → OrIconButton-fbe52eb8.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-79c86e6a.js → OrInlineInput-50bf7e7c.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-3e24548d.js → OrInlineTextarea-78b8aa48.js} +1 -1
- package/dist/esm/v2/{OrInput-044a9c85.js → OrInput-6370bd94.js} +1 -1
- package/dist/esm/v2/{OrMenu-47b319a6.js → OrMenu-fce31ed4.js} +1 -1
- package/dist/esm/v2/{OrModal-fa99b102.js → OrModal-77d6cf30.js} +2 -2
- package/dist/esm/v2/{OrNotification-6411c891.js → OrNotification-2b2d81d5.js} +1 -1
- package/dist/esm/v2/{OrOverlay-2ce3cfd7.js → OrOverlay-b1609eef.js} +1 -1
- package/dist/esm/v2/{OrPagination-28ad44a3.js → OrPagination-ad0e1d23.js} +3 -3
- package/dist/esm/v2/{OrPopover-83c885d0.js → OrPopover-9df5572b.js} +10 -3
- package/dist/esm/v2/{OrSearch-83631294.js → OrSearch-a3038272.js} +1 -1
- package/dist/esm/v2/{OrSelect-affebf55.js → OrSelect-209a7a2c.js} +3 -3
- package/dist/esm/v2/{OrSidebar-9834d431.js → OrSidebar-26785a1e.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-3275b9dd.js → OrSidebarCollapseButton-9c424133.js} +1 -1
- package/dist/esm/v2/{OrTabs-f0e4db08.js → OrTabs-58881ef9.js} +2 -2
- package/dist/esm/v2/{OrTag-ca297170.js → OrTag-e9761c21.js} +1 -1
- package/dist/esm/v2/{OrTooltip-2c09dcaf.js → OrTooltip-82c59279.js} +1 -1
- package/dist/esm/v2/components/index.d.ts +0 -1
- package/dist/esm/v2/components/index.js +23 -47
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -3
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v2/components/or-confirm-v3/index.js +9 -9
- package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -6
- package/dist/esm/v2/components/or-inline-input-v3/index.js +7 -7
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +7 -7
- package/dist/esm/v2/components/or-input-v3/index.js +7 -7
- package/dist/esm/v2/components/or-menu-v3/index.js +5 -5
- package/dist/esm/v2/components/or-modal-v3/index.js +7 -7
- package/dist/esm/v2/components/or-notification-v3/index.js +7 -7
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +7 -7
- package/dist/esm/v2/components/or-popover-v3/index.js +4 -4
- package/dist/esm/v2/components/or-search-v3/index.js +8 -8
- package/dist/esm/v2/components/or-select-v3/index.js +9 -9
- package/dist/esm/v2/components/or-sidebar-v3/index.js +8 -8
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +7 -7
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -7
- package/dist/esm/v2/components/or-tabs-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tag-v3/index.js +7 -7
- package/dist/esm/v2/components/or-toast-v3/index.js +7 -7
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +7 -7
- package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -5
- package/dist/esm/v2/hooks/index.js +1 -1
- package/dist/esm/v2/index.js +23 -47
- package/dist/esm/v2/{types-9b09f101.js → types-707995c5.js} +1 -1
- package/dist/esm/{v3/useElevation-92fce12c.js → v2/useElevation-df91fa50.js} +4 -4
- package/dist/esm/v3/{OrBottomSheet-0f24ecae.js → OrBottomSheet-95bc694e.js} +9 -2
- package/dist/esm/v3/{OrButton-b9bab32c.js → OrButton-8558588c.js} +3 -1
- package/dist/esm/v3/{OrCardCollection-5415b71b.js → OrCardCollection-631cb8e3.js} +5 -5
- package/dist/esm/v3/{OrConfirm-d7a152ab.js → OrConfirm-b0c7f796.js} +3 -3
- package/dist/esm/v3/{OrIconButton-65e83586.js → OrIconButton-786b9346.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-2def321a.js → OrInlineInput-ca82ccc3.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-6d38a261.js → OrInlineTextarea-864f1099.js} +1 -1
- package/dist/esm/v3/{OrInput-a7cbc8b9.js → OrInput-a43b53d2.js} +1 -1
- package/dist/esm/v3/{OrMenu-053a9ab7.js → OrMenu-f8132f3e.js} +1 -1
- package/dist/esm/v3/{OrModal-81dc4dcd.js → OrModal-cb236842.js} +2 -2
- package/dist/esm/v3/{OrNotification-da37f927.js → OrNotification-45b47899.js} +1 -1
- package/dist/esm/v3/{OrOverlay-7cf03aea.js → OrOverlay-d63d39c3.js} +1 -1
- package/dist/esm/v3/{OrPagination-f54ad672.js → OrPagination-1e334ccd.js} +3 -3
- package/dist/esm/v3/{OrPopover-3ac8f589.js → OrPopover-d6d82a06.js} +10 -3
- package/dist/esm/v3/{OrSearch-06f01165.js → OrSearch-d5d46937.js} +1 -1
- package/dist/esm/v3/{OrSelect-eab4bc19.js → OrSelect-f2911b60.js} +3 -3
- package/dist/esm/v3/{OrSidebar-bb1f7ea4.js → OrSidebar-0d715029.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-f2390f52.js → OrSidebarCollapseButton-4d7497ec.js} +1 -1
- package/dist/esm/v3/{OrTabs-d9e2a07e.js → OrTabs-f667cf9f.js} +2 -2
- package/dist/esm/v3/{OrTag-e8c12288.js → OrTag-dc1b8628.js} +1 -1
- package/dist/esm/v3/{OrTooltip-d91128f4.js → OrTooltip-56ed42c7.js} +1 -1
- package/dist/esm/v3/components/index.d.ts +0 -1
- package/dist/esm/v3/components/index.js +23 -47
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -3
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v3/components/or-confirm-v3/index.js +9 -9
- package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -6
- package/dist/esm/v3/components/or-inline-input-v3/index.js +7 -7
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +7 -7
- package/dist/esm/v3/components/or-input-v3/index.js +7 -7
- package/dist/esm/v3/components/or-menu-v3/index.js +5 -5
- package/dist/esm/v3/components/or-modal-v3/index.js +7 -7
- package/dist/esm/v3/components/or-notification-v3/index.js +7 -7
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +7 -7
- package/dist/esm/v3/components/or-popover-v3/index.js +4 -4
- package/dist/esm/v3/components/or-search-v3/index.js +8 -8
- package/dist/esm/v3/components/or-select-v3/index.js +9 -9
- package/dist/esm/v3/components/or-sidebar-v3/index.js +8 -8
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +7 -7
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -7
- package/dist/esm/v3/components/or-tabs-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tag-v3/index.js +7 -7
- package/dist/esm/v3/components/or-toast-v3/index.js +7 -7
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +7 -7
- package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -5
- package/dist/esm/v3/hooks/index.js +1 -1
- package/dist/esm/v3/index.js +23 -47
- package/dist/esm/v3/{types-0e3ddb0f.js → types-71d7c1df.js} +1 -1
- package/dist/esm/{v2/useElevation-92fce12c.js → v3/useElevation-df91fa50.js} +4 -4
- package/package.json +5 -25
- package/src/components/index.ts +0 -1
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +7 -1
- package/src/components/or-button-v3/styles.ts +6 -2
- package/src/components/or-popover-v3/OrPopover.vue +7 -1
- package/src/hooks/useElevation.ts +3 -2
- package/src/utils/isVisible.ts +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -2036
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -181
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +0 -67
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.d.ts +0 -6
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +0 -38
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +0 -45
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -184
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -5
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -24
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -190
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +0 -19
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.d.ts +0 -3
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.js +0 -5
- package/dist/bundled/v2/index-16aee5bc.js +0 -3740
- package/dist/bundled/v2/index-62c3221b.js +0 -6956
- package/dist/bundled/v2/index.es-3f39f316.js +0 -115
- package/dist/bundled/v2/markdown-00716a39.js +0 -18683
- package/dist/bundled/v2/tiptap-core.esm-f85402b1.js +0 -9360
- package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-f9e835d0.js +0 -236
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-eb03c076.js +0 -1813
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -226
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -181
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +0 -83
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +0 -38
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +0 -45
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -184
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -5
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -24
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -190
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +0 -19
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.d.ts +0 -3
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +0 -5
- package/dist/bundled/v3/index-62c3221b.js +0 -6956
- package/dist/bundled/v3/index.es-3f39f316.js +0 -115
- package/dist/bundled/v3/markdown-00716a39.js +0 -18683
- package/dist/bundled/v3/tiptap-core.esm-f85402b1.js +0 -9360
- package/dist/esm/v2/OrRichTextEditor-93ace5e2.js +0 -716
- package/dist/esm/v2/codemirrorView-be2c7423.js +0 -353
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -181
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +0 -58
- package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -7
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -24
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
- package/dist/esm/v3/OrRichTextEditor-d99a44df.js +0 -680
- package/dist/esm/v3/codemirrorView-be2c7423.js +0 -353
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -181
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +0 -56
- package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -7
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -24
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +0 -7
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +0 -79
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -622
- package/src/components/or-rich-text-editor-v3/index.ts +0 -1
- package/src/components/or-rich-text-editor-v3/styles.ts +0 -64
- package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.ts +0 -40
- package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.ts +0 -254
- package/src/components/or-rich-text-editor-v3/utils/codemirror/index.ts +0 -1
- package/src/components/or-rich-text-editor-v3/utils/codemirror/theme.ts +0 -213
- package/src/components/or-rich-text-editor-v3/utils/codemirror/types.ts +0 -22
- package/src/components/or-rich-text-editor-v3/utils/markdown.ts +0 -110
- /package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-fe412ca5.js → OrButton.vue_vue_type_script_lang-5650b394.js} +0 -0
- /package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-30f62546.js → OrOverlay.vue_vue_type_script_lang-47004a50.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-117ff0b8.js → OrToastContainer.vue_vue_type_script_lang-96bc2f19.js} +0 -0
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
import { s as script } from '../../OrRichTextEditor.vue_vue_type_script_lang-eb03c076.js';
|
|
2
|
-
export { s as default } from '../../OrRichTextEditor.vue_vue_type_script_lang-eb03c076.js';
|
|
3
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, createBlock, renderSlot, createCommentVNode } from 'vue';
|
|
4
|
-
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
5
|
-
import 'vue-demi';
|
|
6
|
-
import '@vueuse/core';
|
|
7
|
-
import '../../markdown-00716a39.js';
|
|
8
|
-
import '../../index-62c3221b.js';
|
|
9
|
-
import 'node:punycode';
|
|
10
|
-
import '../../tiptap-core.esm-f85402b1.js';
|
|
11
|
-
import '../../index.es-3f39f316.js';
|
|
12
|
-
import './styles.js';
|
|
13
|
-
import './utils/codemirror/codemirrorNode.js';
|
|
14
|
-
import './utils/codemirror/codemirrorView.js';
|
|
15
|
-
import '../../index-f5487f12.js';
|
|
16
|
-
import './utils/codemirror/theme.js';
|
|
17
|
-
import '../../index-16aee5bc.js';
|
|
18
|
-
import '../../index-70ca38c5.js';
|
|
19
|
-
import '../OrIconButtonV3/OrIconButton.js';
|
|
20
|
-
import '../../OrIconButton.vue_vue_type_script_lang-42a8285c.js';
|
|
21
|
-
import '../OrIconButtonV3/props.js';
|
|
22
|
-
import '../OrIconV3/props.js';
|
|
23
|
-
import '../OrIconButtonV3/styles.js';
|
|
24
|
-
import '../OrIconV3/OrIcon.js';
|
|
25
|
-
import '../../OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
26
|
-
import '../OrIconV3/styles.js';
|
|
27
|
-
import '../OrTooltipV3/OrTooltip.js';
|
|
28
|
-
import '../../OrTooltip.vue_vue_type_script_lang-703eaacb.js';
|
|
29
|
-
import '../OrTooltipV3/styles.js';
|
|
30
|
-
import '../OrPopoverV3/OrPopover.js';
|
|
31
|
-
import '../../OrPopover.vue_vue_type_script_lang-a9419b58.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-1489a97d.js';
|
|
37
|
-
import '../OrBottomSheetV3/styles.js';
|
|
38
|
-
import '../OrOverlayV3/OrOverlay.js';
|
|
39
|
-
import '../../OrOverlay.vue_vue_type_script_lang-30f62546.js';
|
|
40
|
-
import '../OrOverlayV3/styles.js';
|
|
41
|
-
import '../OrTeleportV3/OrTeleport.js';
|
|
42
|
-
import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
43
|
-
import '../../hooks/useElevation.js';
|
|
44
|
-
import '../../utils/isVisible.js';
|
|
45
|
-
import '../../hooks/useResponsive/useResponsive.js';
|
|
46
|
-
import '../OrLabelV3/OrLabel.js';
|
|
47
|
-
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
48
|
-
import '../OrLabelV3/props.js';
|
|
49
|
-
import '../OrLabelV3/styles.js';
|
|
50
|
-
import '../OrMenuItemV3/OrMenuItem.js';
|
|
51
|
-
import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
52
|
-
import '../OrMenuItemV3/styles.js';
|
|
53
|
-
import '../OrMenuV3/OrMenu.js';
|
|
54
|
-
import '../../OrMenu.vue_vue_type_script_lang-2676b9cc.js';
|
|
55
|
-
import '../OrMenuV3/styles.js';
|
|
56
|
-
import '../OrModalV3/OrModal.js';
|
|
57
|
-
import '../../OrModal.vue_vue_type_script_lang-9ed0d5c2.js';
|
|
58
|
-
import '../OrModalV3/props.js';
|
|
59
|
-
import '../OrModalV3/styles.js';
|
|
60
|
-
import '../OrInputV3/OrInput.js';
|
|
61
|
-
import '../../OrInput.vue_vue_type_script_lang-60b49ebd.js';
|
|
62
|
-
import '../OrInputV3/props.js';
|
|
63
|
-
import '../OrInputBoxV3/props.js';
|
|
64
|
-
import '../OrInputV3/styles.js';
|
|
65
|
-
import '../OrErrorV3/OrError.js';
|
|
66
|
-
import '../../OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
67
|
-
import '../OrErrorV3/styles.js';
|
|
68
|
-
import '../OrHintV3/OrHint.js';
|
|
69
|
-
import '../../OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
70
|
-
import '../OrHintV3/styles.js';
|
|
71
|
-
import '../OrInputBoxV3/OrInputBox.js';
|
|
72
|
-
import '../../OrInputBox.vue_vue_type_script_lang-e3bba923.js';
|
|
73
|
-
import '../OrInputBoxV3/styles.js';
|
|
74
|
-
import '../OrLoaderV3/OrLoader.js';
|
|
75
|
-
import '../../OrLoader.vue_vue_type_script_lang-49907820.js';
|
|
76
|
-
import '../OrLoaderV3/props.js';
|
|
77
|
-
import '../OrLoaderV3/styles.js';
|
|
78
|
-
import '../../hooks/useIdAttribute.js';
|
|
79
|
-
import '../../hooks/useControlAttributes.js';
|
|
80
|
-
import '../../hooks/useValidationAttributes.js';
|
|
81
|
-
import '../OrButtonV3/OrButton.js';
|
|
82
|
-
import '../../OrButton.vue_vue_type_script_lang-fe412ca5.js';
|
|
83
|
-
import '../OrButtonV3/props.js';
|
|
84
|
-
import '../OrButtonV3/styles.js';
|
|
85
|
-
|
|
86
|
-
const _hoisted_1 = {
|
|
87
|
-
class: "p-sm"
|
|
88
|
-
};
|
|
89
|
-
const _hoisted_2 = /*#__PURE__*/createElementVNode("p", {
|
|
90
|
-
class: "text-headline-2"
|
|
91
|
-
}, " Add Link ", -1 /* HOISTED */);
|
|
92
|
-
const _hoisted_3 = {
|
|
93
|
-
class: "flex ml-auto gap-md"
|
|
94
|
-
};
|
|
95
|
-
const _hoisted_4 = /*#__PURE__*/createElementVNode("p", null, "Cancel", -1 /* HOISTED */);
|
|
96
|
-
const _hoisted_5 = /*#__PURE__*/createElementVNode("p", null, "Save", -1 /* HOISTED */);
|
|
97
|
-
|
|
98
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
99
|
-
const _component_or_label = resolveComponent("or-label");
|
|
100
|
-
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
101
|
-
const _component_or_menu_item = resolveComponent("or-menu-item");
|
|
102
|
-
const _component_or_menu = resolveComponent("or-menu");
|
|
103
|
-
const _component_or_input = resolveComponent("or-input");
|
|
104
|
-
const _component_or_button = resolveComponent("or-button");
|
|
105
|
-
const _component_or_modal = resolveComponent("or-modal");
|
|
106
|
-
return openBlock(), createElementBlock("div", {
|
|
107
|
-
ref: "root",
|
|
108
|
-
class: normalizeClass(_ctx.rootStyles)
|
|
109
|
-
}, [createVNode(_component_or_label, null, {
|
|
110
|
-
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.description), 1 /* TEXT */)]),
|
|
111
|
-
|
|
112
|
-
_: 1 /* STABLE */
|
|
113
|
-
}), createElementVNode("div", {
|
|
114
|
-
ref: "containerRef",
|
|
115
|
-
class: normalizeClass(_ctx.containerStyles),
|
|
116
|
-
onClick: _cache[1] || (_cache[1] = $event => _ctx.handleEditorClick())
|
|
117
|
-
}, [createElementVNode("div", {
|
|
118
|
-
class: normalizeClass(_ctx.toolbarContainerStyles)
|
|
119
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.toolbar, (tool, index) => {
|
|
120
|
-
return openBlock(), createElementBlock("div", {
|
|
121
|
-
key: index,
|
|
122
|
-
class: normalizeClass(_ctx.toolbarStyles)
|
|
123
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(tool, item => {
|
|
124
|
-
return openBlock(), createElementBlock("div", {
|
|
125
|
-
key: item,
|
|
126
|
-
class: "flex gap-md"
|
|
127
|
-
}, [item === 'heading' ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
128
|
-
key: 0,
|
|
129
|
-
ref_for: true,
|
|
130
|
-
ref: "toolbarButtonRef",
|
|
131
|
-
selected: _ctx.isActive[item],
|
|
132
|
-
disabled: !_ctx.isFocused,
|
|
133
|
-
tooltip: {
|
|
134
|
-
text: item,
|
|
135
|
-
placement: 'top'
|
|
136
|
-
},
|
|
137
|
-
icon: {
|
|
138
|
-
icon: _ctx.headingIcon,
|
|
139
|
-
variant: 'inherit',
|
|
140
|
-
size: 'm'
|
|
141
|
-
},
|
|
142
|
-
onClick: _cache[0] || (_cache[0] = $event => _ctx.menuRef.open())
|
|
143
|
-
}, null, 8 /* PROPS */, ["selected", "disabled", "tooltip", "icon"])) : (openBlock(), createBlock(_component_or_icon_button, {
|
|
144
|
-
key: 1,
|
|
145
|
-
tooltip: {
|
|
146
|
-
text: _ctx.iconTooltipsEnum[item],
|
|
147
|
-
placement: 'top'
|
|
148
|
-
},
|
|
149
|
-
selected: _ctx.isActive[item],
|
|
150
|
-
disabled: !_ctx.isFocused,
|
|
151
|
-
icon: {
|
|
152
|
-
icon: _ctx.iconsEnum[item],
|
|
153
|
-
variant: 'inherit',
|
|
154
|
-
size: 'm'
|
|
155
|
-
},
|
|
156
|
-
onClick: $event => _ctx.handleToolbarClick(item)
|
|
157
|
-
}, null, 8 /* PROPS */, ["tooltip", "selected", "disabled", "icon", "onClick"]))]);
|
|
158
|
-
}), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */);
|
|
159
|
-
}), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */), createElementVNode("div", _hoisted_1, [createElementVNode("div", {
|
|
160
|
-
ref: "editorRef",
|
|
161
|
-
class: normalizeClass(_ctx.editorInputStyles)
|
|
162
|
-
}, null, 2 /* CLASS */), renderSlot(_ctx.$slots, "files")])], 2 /* CLASS */), _ctx.toolbarButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
163
|
-
key: 0,
|
|
164
|
-
ref: "menuRef",
|
|
165
|
-
trigger: _ctx.toolbarButtonRef[_ctx.getIndexOfHeading].root,
|
|
166
|
-
placement: "bottom-start"
|
|
167
|
-
}, {
|
|
168
|
-
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.headingLevels, heading => {
|
|
169
|
-
return openBlock(), createBlock(_component_or_menu_item, {
|
|
170
|
-
key: heading,
|
|
171
|
-
onClick: $event => _ctx.handleToolbarClick('heading', heading)
|
|
172
|
-
}, {
|
|
173
|
-
default: withCtx(() => [createTextVNode(" Heading " + toDisplayString(heading), 1 /* TEXT */)]),
|
|
174
|
-
|
|
175
|
-
_: 2 /* DYNAMIC */
|
|
176
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
177
|
-
}), 128 /* KEYED_FRAGMENT */)), createVNode(_component_or_menu_item, {
|
|
178
|
-
onClick: _cache[2] || (_cache[2] = $event => _ctx.handleToolbarClick('heading'))
|
|
179
|
-
}, {
|
|
180
|
-
default: withCtx(() => [createTextVNode(" None ")]),
|
|
181
|
-
_: 1 /* STABLE */
|
|
182
|
-
})]),
|
|
183
|
-
|
|
184
|
-
_: 1 /* STABLE */
|
|
185
|
-
}, 8 /* PROPS */, ["trigger"])) : createCommentVNode("v-if", true), createVNode(_component_or_modal, {
|
|
186
|
-
"is-open": _ctx.isOpenLinkModal,
|
|
187
|
-
size: "s"
|
|
188
|
-
}, {
|
|
189
|
-
header: withCtx(() => [_hoisted_2]),
|
|
190
|
-
footer: withCtx(() => [createElementVNode("div", _hoisted_3, [createVNode(_component_or_button, {
|
|
191
|
-
variant: "outlined",
|
|
192
|
-
onClick: _ctx.discardLink
|
|
193
|
-
}, {
|
|
194
|
-
default: withCtx(() => [_hoisted_4]),
|
|
195
|
-
_: 1 /* STABLE */
|
|
196
|
-
}, 8 /* PROPS */, ["onClick"]), createVNode(_component_or_button, {
|
|
197
|
-
onClick: _ctx.attachLink
|
|
198
|
-
}, {
|
|
199
|
-
default: withCtx(() => [_hoisted_5]),
|
|
200
|
-
_: 1 /* STABLE */
|
|
201
|
-
}, 8 /* PROPS */, ["onClick"])])]),
|
|
202
|
-
default: withCtx(() => [createElementVNode("div", null, [createVNode(_component_or_label, null, {
|
|
203
|
-
default: withCtx(() => [createTextVNode(" Text ")]),
|
|
204
|
-
_: 1 /* STABLE */
|
|
205
|
-
}), createVNode(_component_or_input, {
|
|
206
|
-
modelValue: _ctx.text,
|
|
207
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => _ctx.text = $event),
|
|
208
|
-
placeholder: "Placeholder",
|
|
209
|
-
class: "pb-md"
|
|
210
|
-
}, null, 8 /* PROPS */, ["modelValue"]), createVNode(_component_or_label, null, {
|
|
211
|
-
default: withCtx(() => [createTextVNode(" Link ")]),
|
|
212
|
-
_: 1 /* STABLE */
|
|
213
|
-
}), createVNode(_component_or_input, {
|
|
214
|
-
modelValue: _ctx.link,
|
|
215
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => _ctx.link = $event),
|
|
216
|
-
placeholder: "Placeholder"
|
|
217
|
-
}, null, 8 /* PROPS */, ["modelValue"])])]),
|
|
218
|
-
_: 1 /* STABLE */
|
|
219
|
-
}, 8 /* PROPS */, ["is-open"])], 2 /* CLASS */);
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
var css_248z = ".tiptap-editor ol {\n margin: 0 24px;\n list-style: decimal;\n}\n.tiptap-editor ul {\n margin: 0 24px;\n list-style: disc outside none;\n list-style: initial;\n}\n.tiptap-editor pre {\n background-color: rgba(186, 209, 236, 0.3);\n padding: 4px 8px;\n margin: 4px 0;\n width: 100%;\n border-radius: 4px;\n}\n.tiptap-editor blockquote {\n margin: 8px 24px;\n padding: 0 24px;\n border-left: 4px solid #bad1ec;\n}\n.tiptap-editor .is-editor-empty::before {\n content: attr(data-placeholder);\n height: 0;\n pointer-events: none;\n float: left;\n}\n.tiptap-editor .cm-editor {\n border: none;\n border-radius: 4px;\n}\n.tiptap-editor .cm-editor .cm-scroller {\n border-radius: 4px;\n}\n.tiptap-editor .cm-editor.cm-focused {\n outline: none;\n}\n.tiptap-editor .cm-editor .cm-gutters {\n background-color: rgba(0, 95, 177, 0.08);\n border: none;\n}\n.tiptap-editor .cm-editor .cm-gutters .cm-gutterElement {\n padding: 0 10px;\n}\n.tiptap-editor .cm-editor .cm-gutters .cm-gutterElement.cm-activeLineGutter {\n background-color: rgba(0, 95, 177, 0.07);\n}";
|
|
223
|
-
styleInject(css_248z);
|
|
224
|
-
|
|
225
|
-
script.render = render;
|
|
226
|
-
script.__file = "src/components/or-rich-text-editor-v3/OrRichTextEditor.vue";
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { Editor } from '@tiptap/core';
|
|
2
|
-
import { Level } from '@tiptap/extension-heading';
|
|
3
|
-
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
|
-
editor: Editor | null;
|
|
5
|
-
editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
6
|
-
containerRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
7
|
-
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, {
|
|
8
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
9
|
-
} | string[], {} & {}, {
|
|
10
|
-
[x: number]: string;
|
|
11
|
-
} | {}, true> | undefined>;
|
|
12
|
-
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, {
|
|
13
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
14
|
-
} | string[], {} & {}, {
|
|
15
|
-
[x: number]: string;
|
|
16
|
-
} | {}, true> | undefined>;
|
|
17
|
-
iconsEnum: import("@vue/composition-api").Ref<{
|
|
18
|
-
[x: string]: string;
|
|
19
|
-
}>;
|
|
20
|
-
handleToolbarClick: (item: string, level?: number) => void;
|
|
21
|
-
handleEditorClick: () => void;
|
|
22
|
-
isActive: import("@vue/composition-api").Ref<{
|
|
23
|
-
[x: string]: boolean;
|
|
24
|
-
}>;
|
|
25
|
-
iconTooltipsEnum: import("@vue/composition-api").Ref<{
|
|
26
|
-
[x: string]: string;
|
|
27
|
-
}>;
|
|
28
|
-
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
29
|
-
toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
30
|
-
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
31
|
-
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
32
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
33
|
-
editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
34
|
-
getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
|
|
35
|
-
headingLevels: Level[];
|
|
36
|
-
headingIcon: import("@vue/composition-api").ComputedRef<string>;
|
|
37
|
-
attachLink: () => Promise<void>;
|
|
38
|
-
discardLink: () => void;
|
|
39
|
-
isOpenLinkModal: import("@vue/composition-api").Ref<boolean>;
|
|
40
|
-
text: import("@vue/composition-api").Ref<string>;
|
|
41
|
-
link: import("@vue/composition-api").Ref<string>;
|
|
42
|
-
isFocused: import("@vue/composition-api").Ref<boolean>;
|
|
43
|
-
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
44
|
-
modelValue: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
default: undefined;
|
|
47
|
-
};
|
|
48
|
-
value: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: undefined;
|
|
51
|
-
};
|
|
52
|
-
toolbar: {
|
|
53
|
-
type: ArrayConstructor;
|
|
54
|
-
default: () => string[][];
|
|
55
|
-
};
|
|
56
|
-
description: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
placeholder: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
autofocus: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
markdownFormat: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
fullHeight: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
77
|
-
modelValue: {
|
|
78
|
-
type: StringConstructor;
|
|
79
|
-
default: undefined;
|
|
80
|
-
};
|
|
81
|
-
value: {
|
|
82
|
-
type: StringConstructor;
|
|
83
|
-
default: undefined;
|
|
84
|
-
};
|
|
85
|
-
toolbar: {
|
|
86
|
-
type: ArrayConstructor;
|
|
87
|
-
default: () => string[][];
|
|
88
|
-
};
|
|
89
|
-
description: {
|
|
90
|
-
type: StringConstructor;
|
|
91
|
-
default: string;
|
|
92
|
-
};
|
|
93
|
-
placeholder: {
|
|
94
|
-
type: StringConstructor;
|
|
95
|
-
default: string;
|
|
96
|
-
};
|
|
97
|
-
autofocus: {
|
|
98
|
-
type: BooleanConstructor;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
|
-
markdownFormat: {
|
|
102
|
-
type: BooleanConstructor;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
|
-
fullHeight: {
|
|
106
|
-
type: BooleanConstructor;
|
|
107
|
-
default: boolean;
|
|
108
|
-
};
|
|
109
|
-
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
110
|
-
modelValue: string;
|
|
111
|
-
value: string;
|
|
112
|
-
toolbar: unknown[];
|
|
113
|
-
description: string;
|
|
114
|
-
placeholder: string;
|
|
115
|
-
autofocus: boolean;
|
|
116
|
-
markdownFormat: boolean;
|
|
117
|
-
fullHeight: boolean;
|
|
118
|
-
} & {} & {
|
|
119
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
120
|
-
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
121
|
-
editor: Editor | null;
|
|
122
|
-
editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
123
|
-
containerRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
124
|
-
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, {
|
|
125
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
126
|
-
} | string[], {} & {}, {
|
|
127
|
-
[x: number]: string;
|
|
128
|
-
} | {}, true> | undefined>;
|
|
129
|
-
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, {
|
|
130
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
131
|
-
} | string[], {} & {}, {
|
|
132
|
-
[x: number]: string;
|
|
133
|
-
} | {}, true> | undefined>;
|
|
134
|
-
iconsEnum: import("@vue/composition-api").Ref<{
|
|
135
|
-
[x: string]: string;
|
|
136
|
-
}>;
|
|
137
|
-
handleToolbarClick: (item: string, level?: number) => void;
|
|
138
|
-
handleEditorClick: () => void;
|
|
139
|
-
isActive: import("@vue/composition-api").Ref<{
|
|
140
|
-
[x: string]: boolean;
|
|
141
|
-
}>;
|
|
142
|
-
iconTooltipsEnum: import("@vue/composition-api").Ref<{
|
|
143
|
-
[x: string]: string;
|
|
144
|
-
}>;
|
|
145
|
-
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
146
|
-
toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
147
|
-
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
148
|
-
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
149
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
150
|
-
editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
151
|
-
getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
|
|
152
|
-
headingLevels: Level[];
|
|
153
|
-
headingIcon: import("@vue/composition-api").ComputedRef<string>;
|
|
154
|
-
attachLink: () => Promise<void>;
|
|
155
|
-
discardLink: () => void;
|
|
156
|
-
isOpenLinkModal: import("@vue/composition-api").Ref<boolean>;
|
|
157
|
-
text: import("@vue/composition-api").Ref<string>;
|
|
158
|
-
link: import("@vue/composition-api").Ref<string>;
|
|
159
|
-
isFocused: import("@vue/composition-api").Ref<boolean>;
|
|
160
|
-
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
161
|
-
modelValue: string;
|
|
162
|
-
value: string;
|
|
163
|
-
toolbar: unknown[];
|
|
164
|
-
description: string;
|
|
165
|
-
placeholder: string;
|
|
166
|
-
autofocus: boolean;
|
|
167
|
-
markdownFormat: boolean;
|
|
168
|
-
fullHeight: boolean;
|
|
169
|
-
} & {} & {
|
|
170
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
171
|
-
}, {
|
|
172
|
-
modelValue: string;
|
|
173
|
-
value: string;
|
|
174
|
-
toolbar: unknown[];
|
|
175
|
-
description: string;
|
|
176
|
-
placeholder: string;
|
|
177
|
-
autofocus: boolean;
|
|
178
|
-
markdownFormat: boolean;
|
|
179
|
-
fullHeight: boolean;
|
|
180
|
-
}, true>);
|
|
181
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as OrRichTextEditorV3 } from './OrRichTextEditor.vue';
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-eb03c076.js';
|
|
2
|
-
import 'vue-demi';
|
|
3
|
-
import '@vueuse/core';
|
|
4
|
-
import '../../markdown-00716a39.js';
|
|
5
|
-
import '../../index-62c3221b.js';
|
|
6
|
-
import 'node:punycode';
|
|
7
|
-
import '../../tiptap-core.esm-f85402b1.js';
|
|
8
|
-
import '../../index.es-3f39f316.js';
|
|
9
|
-
import './styles.js';
|
|
10
|
-
import './utils/codemirror/codemirrorNode.js';
|
|
11
|
-
import './utils/codemirror/codemirrorView.js';
|
|
12
|
-
import '../../index-f5487f12.js';
|
|
13
|
-
import './utils/codemirror/theme.js';
|
|
14
|
-
import '../../index-16aee5bc.js';
|
|
15
|
-
import '../../index-70ca38c5.js';
|
|
16
|
-
import '../OrIconButtonV3/OrIconButton.js';
|
|
17
|
-
import '../../OrIconButton.vue_vue_type_script_lang-42a8285c.js';
|
|
18
|
-
import '../OrIconButtonV3/props.js';
|
|
19
|
-
import '../OrIconV3/props.js';
|
|
20
|
-
import '../OrIconButtonV3/styles.js';
|
|
21
|
-
import '../OrIconV3/OrIcon.js';
|
|
22
|
-
import '../../OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
23
|
-
import '../OrIconV3/styles.js';
|
|
24
|
-
import 'vue';
|
|
25
|
-
import '../OrTooltipV3/OrTooltip.js';
|
|
26
|
-
import '../../OrTooltip.vue_vue_type_script_lang-703eaacb.js';
|
|
27
|
-
import '../OrTooltipV3/styles.js';
|
|
28
|
-
import '../OrPopoverV3/OrPopover.js';
|
|
29
|
-
import '../../OrPopover.vue_vue_type_script_lang-a9419b58.js';
|
|
30
|
-
import '../../floating-ui.dom.esm-83eba816.js';
|
|
31
|
-
import '../OrPopoverV3/props.js';
|
|
32
|
-
import '../OrPopoverV3/styles.js';
|
|
33
|
-
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
34
|
-
import '../../OrBottomSheet.vue_vue_type_script_lang-1489a97d.js';
|
|
35
|
-
import '../OrBottomSheetV3/styles.js';
|
|
36
|
-
import '../OrOverlayV3/OrOverlay.js';
|
|
37
|
-
import '../../OrOverlay.vue_vue_type_script_lang-30f62546.js';
|
|
38
|
-
import '../OrOverlayV3/styles.js';
|
|
39
|
-
import '../OrTeleportV3/OrTeleport.js';
|
|
40
|
-
import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
41
|
-
import '../../hooks/useElevation.js';
|
|
42
|
-
import '../../utils/isVisible.js';
|
|
43
|
-
import '../../hooks/useResponsive/useResponsive.js';
|
|
44
|
-
import '../OrLabelV3/OrLabel.js';
|
|
45
|
-
import '../../OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
46
|
-
import '../OrLabelV3/props.js';
|
|
47
|
-
import '../OrLabelV3/styles.js';
|
|
48
|
-
import '../OrMenuItemV3/OrMenuItem.js';
|
|
49
|
-
import '../../OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
50
|
-
import '../OrMenuItemV3/styles.js';
|
|
51
|
-
import '../OrMenuV3/OrMenu.js';
|
|
52
|
-
import '../../OrMenu.vue_vue_type_script_lang-2676b9cc.js';
|
|
53
|
-
import '../OrMenuV3/styles.js';
|
|
54
|
-
import '../OrModalV3/OrModal.js';
|
|
55
|
-
import '../../OrModal.vue_vue_type_script_lang-9ed0d5c2.js';
|
|
56
|
-
import '../OrModalV3/props.js';
|
|
57
|
-
import '../OrModalV3/styles.js';
|
|
58
|
-
import '../OrInputV3/OrInput.js';
|
|
59
|
-
import '../../OrInput.vue_vue_type_script_lang-60b49ebd.js';
|
|
60
|
-
import '../OrInputV3/props.js';
|
|
61
|
-
import '../OrInputBoxV3/props.js';
|
|
62
|
-
import '../OrInputV3/styles.js';
|
|
63
|
-
import '../OrErrorV3/OrError.js';
|
|
64
|
-
import '../../OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
65
|
-
import '../OrErrorV3/styles.js';
|
|
66
|
-
import '../OrHintV3/OrHint.js';
|
|
67
|
-
import '../../OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
68
|
-
import '../OrHintV3/styles.js';
|
|
69
|
-
import '../OrInputBoxV3/OrInputBox.js';
|
|
70
|
-
import '../../OrInputBox.vue_vue_type_script_lang-e3bba923.js';
|
|
71
|
-
import '../OrInputBoxV3/styles.js';
|
|
72
|
-
import '../OrLoaderV3/OrLoader.js';
|
|
73
|
-
import '../../OrLoader.vue_vue_type_script_lang-49907820.js';
|
|
74
|
-
import '../OrLoaderV3/props.js';
|
|
75
|
-
import '../OrLoaderV3/styles.js';
|
|
76
|
-
import '../../hooks/useIdAttribute.js';
|
|
77
|
-
import '../../hooks/useControlAttributes.js';
|
|
78
|
-
import '../../hooks/useValidationAttributes.js';
|
|
79
|
-
import '../../style-inject.es-4c6f2515.js';
|
|
80
|
-
import '../OrButtonV3/OrButton.js';
|
|
81
|
-
import '../../OrButton.vue_vue_type_script_lang-fe412ca5.js';
|
|
82
|
-
import '../OrButtonV3/props.js';
|
|
83
|
-
import '../OrButtonV3/styles.js';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const EditorContainer: string[];
|
|
2
|
-
export declare const ToolbarContainer: string[];
|
|
3
|
-
export declare const Toolbar: string[];
|
|
4
|
-
export declare const ToolbarButton: string[];
|
|
5
|
-
export declare const ToolbarButtonFocused: string[];
|
|
6
|
-
export declare const EditorInput: string[];
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
const EditorContainer = [
|
|
2
|
-
// Colors
|
|
3
|
-
'border-outline', 'dark:border-outline-dark', 'focus-within:theme-border-1-primary', 'dark:focus-within:theme-border-1-primary-dark', 'focus-within:bg-primary-opacity-0-08', 'dark:focus-within:bg-primary-opacity-0-08-dark', 'focus-within:theme-outline-primary', 'dark:focus-within:theme-outline-primary-dark',
|
|
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', 'dark:border-b-outline-dark'];
|
|
15
|
-
const Toolbar = [
|
|
16
|
-
// Layout
|
|
17
|
-
'flex',
|
|
18
|
-
// Spacing
|
|
19
|
-
'px-sm', 'gap-md',
|
|
20
|
-
// Sizing
|
|
21
|
-
'border-r-1',
|
|
22
|
-
//Colors
|
|
23
|
-
'border-r-disabled', 'dark:border-r-outline-dark',
|
|
24
|
-
// Last child
|
|
25
|
-
'last-of-type:border-none'];
|
|
26
|
-
const ToolbarButton = [
|
|
27
|
-
// Typography
|
|
28
|
-
'text-on-disabled', 'dark:text-on-disabled-dark'];
|
|
29
|
-
const ToolbarButtonFocused = [
|
|
30
|
-
// Typography
|
|
31
|
-
'text-outline', 'dark:text-outline-dark'];
|
|
32
|
-
const EditorInput = [
|
|
33
|
-
// Typography
|
|
34
|
-
'typography-body-2-regular', 'text-on-background', 'dark:text-on-background-dark',
|
|
35
|
-
// Sizing
|
|
36
|
-
'min-h-[88px]'];
|
|
37
|
-
|
|
38
|
-
export { EditorContainer, EditorInput, Toolbar, ToolbarButton, ToolbarButtonFocused, ToolbarContainer };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { N as Node } from '../../../../tiptap-core.esm-f85402b1.js';
|
|
2
|
-
import CodeMirrorView from './codemirrorView.js';
|
|
3
|
-
import { m as minimalSetup } from '../../../../index-16aee5bc.js';
|
|
4
|
-
import { e as javascript } from '../../../../index-70ca38c5.js';
|
|
5
|
-
import '../../../../index-62c3221b.js';
|
|
6
|
-
import '../../../../index.es-3f39f316.js';
|
|
7
|
-
import '../../../../index-f5487f12.js';
|
|
8
|
-
import './theme.js';
|
|
9
|
-
|
|
10
|
-
var codemirrorNode = Node.create({
|
|
11
|
-
name: 'codeBlock',
|
|
12
|
-
content: 'text*',
|
|
13
|
-
marks: '',
|
|
14
|
-
group: 'block',
|
|
15
|
-
code: true,
|
|
16
|
-
defining: true,
|
|
17
|
-
isolating: true,
|
|
18
|
-
parseHTML() {
|
|
19
|
-
return [{
|
|
20
|
-
tag: 'pre',
|
|
21
|
-
preserveWhitespace: 'full'
|
|
22
|
-
}];
|
|
23
|
-
},
|
|
24
|
-
renderHTML() {
|
|
25
|
-
return ['pre', ['code', 0]];
|
|
26
|
-
},
|
|
27
|
-
addNodeView() {
|
|
28
|
-
return ({
|
|
29
|
-
node,
|
|
30
|
-
editor,
|
|
31
|
-
getPos
|
|
32
|
-
}) => {
|
|
33
|
-
return new CodeMirrorView({
|
|
34
|
-
node,
|
|
35
|
-
view: editor.view,
|
|
36
|
-
getPos: getPos,
|
|
37
|
-
cmOptions: {
|
|
38
|
-
extensions: [minimalSetup, javascript()]
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
export { codemirrorNode as default };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { TextSelection } from 'prosemirror-state';
|
|
2
|
-
import { EditorView, NodeView } from 'prosemirror-view';
|
|
3
|
-
import { Node as ProsemirrorNode } from 'prosemirror-model';
|
|
4
|
-
import { Transaction as CMTransaction } from '@codemirror/state';
|
|
5
|
-
import { Command, EditorView as CMView } from '@codemirror/view';
|
|
6
|
-
import { CodeMirrorViewOptions } from './types';
|
|
7
|
-
declare class CodeMirrorView implements NodeView {
|
|
8
|
-
name: string;
|
|
9
|
-
node: ProsemirrorNode;
|
|
10
|
-
view: EditorView;
|
|
11
|
-
dom: HTMLElement;
|
|
12
|
-
cm: CMView;
|
|
13
|
-
getPos: () => number;
|
|
14
|
-
updating: boolean;
|
|
15
|
-
constructor(options: CodeMirrorViewOptions);
|
|
16
|
-
forwardSelection(): void;
|
|
17
|
-
asProseMirrorSelection(doc: ProsemirrorNode): TextSelection;
|
|
18
|
-
dispatch(cmTr: CMTransaction): void;
|
|
19
|
-
mayBeEscape(unit: 'char' | 'line', dir: -1 | 1): Command;
|
|
20
|
-
update(node: ProsemirrorNode): boolean;
|
|
21
|
-
setSelection(anchor: number, head: number): void;
|
|
22
|
-
focus(): void;
|
|
23
|
-
selectNode(): void;
|
|
24
|
-
stopEvent(): boolean;
|
|
25
|
-
destroy(): void;
|
|
26
|
-
}
|
|
27
|
-
export default CodeMirrorView;
|