@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
|
@@ -2,7 +2,7 @@ import { usePointerSwipe, onClickOutside, SwipeDirection } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, watch, unref } from 'vue-demi';
|
|
3
3
|
import { BottomSheetRoot, BottomSheetHandle, BottomSheetHeader } from './components/OrBottomSheetV3/styles.js';
|
|
4
4
|
import './components/OrOverlayV3/OrOverlay.js';
|
|
5
|
-
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-
|
|
5
|
+
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-47004a50.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
8
8
|
name: 'OrBottomSheet',
|
|
@@ -76,7 +76,14 @@ var script = defineComponent({
|
|
|
76
76
|
usePointerSwipe(root, swipeOptions);
|
|
77
77
|
// #endregion
|
|
78
78
|
// #region Click Outside
|
|
79
|
-
onClickOutside(root,
|
|
79
|
+
onClickOutside(root, event => {
|
|
80
|
+
const path = event.composedPath();
|
|
81
|
+
if (!path.some(({
|
|
82
|
+
classList
|
|
83
|
+
}) => (classList === null || classList === void 0 ? void 0 : classList.contains('or-popover-v3')) || (classList === null || classList === void 0 ? void 0 : classList.contains('or-bottom-sheet-v3')))) {
|
|
84
|
+
close();
|
|
85
|
+
}
|
|
86
|
+
});
|
|
80
87
|
// #endregion
|
|
81
88
|
return {
|
|
82
89
|
root,
|
|
@@ -4,15 +4,15 @@ import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, re
|
|
|
4
4
|
import { gridView, defaultViewModes } from './components/OrCardCollectionV3/props.js';
|
|
5
5
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
6
6
|
import './components/OrButtonV3/OrButton.js';
|
|
7
|
-
import { s as script$3 } from './OrButton.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$3 } from './OrButton.vue_vue_type_script_lang-5650b394.js';
|
|
8
8
|
import './components/OrMenuV3/OrMenu.js';
|
|
9
|
-
import { s as script$4 } from './OrMenu.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$4 } from './OrMenu.vue_vue_type_script_lang-4772731e.js';
|
|
10
10
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
11
11
|
import { s as script$5 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
12
12
|
import './components/OrIconV3/OrIcon.js';
|
|
13
13
|
import './components/OrSearchV3/OrSearch.js';
|
|
14
|
-
import { s as script$7 } from './OrSearch.vue_vue_type_script_lang-
|
|
15
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
14
|
+
import { s as script$7 } from './OrSearch.vue_vue_type_script_lang-36ad17a9.js';
|
|
15
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-41f12b45.js';
|
|
16
16
|
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
17
17
|
|
|
18
18
|
var script$1 = defineComponent({
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
import { E as EditorView, F as Facet, c as combineConfig, S as StateField,
|
|
2
|
-
import { c as closeBrackets, a as autocompletion, b as closeBracketsKeymap, d as completionKeymap } from './
|
|
1
|
+
import { E as EditorView, F as Facet, c as combineConfig, S as StateField, a as EditorSelection, T as Transaction, C as ChangeSet, b as ChangeDesc, I as IndentContext, g as getIndentation, i as indentString, d as Text, e as indentUnit, f as countColumn, h as getIndentUnit, A as Annotation, j as StateEffect, m as matchBrackets, s as syntaxTree, N as NodeProp, D as Direction, k as findClusterBreak, V as ViewPlugin, l as Decoration, n as codePointAt, o as codePointSize, p as getPanel, q as CharCategory, P as Prec, r as fromCodePoint, t as showPanel, R as RangeSetBuilder, u as EditorState, v as runScopeHandlers, w as hoverTooltip, W as WidgetType, x as logException, y as lineNumbers, z as highlightActiveLineGutter, B as highlightSpecialChars, G as foldGutter, H as drawSelection, J as dropCursor, K as indentOnInput, L as syntaxHighlighting, M as defaultHighlightStyle, O as bracketMatching, Q as rectangularSelection, U as crosshairCursor, X as highlightActiveLine, Y as keymap, Z as foldKeymap } from './index-6976c52a.js';
|
|
2
|
+
import { c as closeBrackets, a as autocompletion, b as closeBracketsKeymap, d as completionKeymap, l as languages } from './lang-02d2bb2d.js';
|
|
3
|
+
import { useElementHover } from '@vueuse/core';
|
|
4
|
+
import { defineComponent, ref } from 'vue-demi';
|
|
5
|
+
import script$3 from './components/OrTeleport/OrTeleport.js';
|
|
6
|
+
import { OrCodeLanguages } from './components/OrCode/constants.js';
|
|
7
|
+
import theme from './components/OrCode/theme.js';
|
|
8
|
+
import './components/OrIconButtonV2/OrIconButton.js';
|
|
9
|
+
import './components/OrModal/OrModal.js';
|
|
10
|
+
import { s as script$2 } from './OrModal.vue_vue_type_script_lang-d5fb0b11.js';
|
|
11
|
+
import './components/OrError/OrError.js';
|
|
12
|
+
import './components/OrHint/OrHint.js';
|
|
13
|
+
import './components/OrLabel/OrLabel.js';
|
|
14
|
+
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-5d204461.js';
|
|
15
|
+
import { s as script$4 } from './OrError.vue_vue_type_script_lang-450321b8.js';
|
|
16
|
+
import { s as script$5 } from './OrHint.vue_vue_type_script_lang-5d628c6c.js';
|
|
17
|
+
import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-95601b40.js';
|
|
3
18
|
|
|
4
19
|
/**
|
|
5
20
|
Comment or uncomment the current selection. Will use line comments
|
|
@@ -3725,16 +3740,221 @@ as desired.
|
|
|
3725
3740
|
const basicSetup = /*@__PURE__*/(() => [lineNumbers(), highlightActiveLineGutter(), highlightSpecialChars(), history(), foldGutter(), drawSelection(), dropCursor(), EditorState.allowMultipleSelections.of(true), indentOnInput(), syntaxHighlighting(defaultHighlightStyle, {
|
|
3726
3741
|
fallback: true
|
|
3727
3742
|
}), bracketMatching(), closeBrackets(), autocompletion(), rectangularSelection(), crosshairCursor(), highlightActiveLine(), highlightSelectionMatches(), keymap.of([...closeBracketsKeymap, ...defaultKeymap, ...searchKeymap, ...historyKeymap, ...foldKeymap, ...completionKeymap, ...lintKeymap])])();
|
|
3728
|
-
/**
|
|
3729
|
-
A minimal set of extensions to create a functional editor. Only
|
|
3730
|
-
includes [the default keymap](https://codemirror.net/6/docs/ref/#commands.defaultKeymap), [undo
|
|
3731
|
-
history](https://codemirror.net/6/docs/ref/#commands.history), [special character
|
|
3732
|
-
highlighting](https://codemirror.net/6/docs/ref/#view.highlightSpecialChars), [custom selection
|
|
3733
|
-
drawing](https://codemirror.net/6/docs/ref/#view.drawSelection), and [default highlight
|
|
3734
|
-
style](https://codemirror.net/6/docs/ref/#language.defaultHighlightStyle).
|
|
3735
|
-
*/
|
|
3736
|
-
const minimalSetup = /*@__PURE__*/(() => [highlightSpecialChars(), history(), drawSelection(), syntaxHighlighting(defaultHighlightStyle, {
|
|
3737
|
-
fallback: true
|
|
3738
|
-
}), keymap.of([...defaultKeymap, ...historyKeymap])])();
|
|
3739
3743
|
|
|
3740
|
-
|
|
3744
|
+
//partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
|
|
3745
|
+
var script = defineComponent({
|
|
3746
|
+
name: 'OrCode',
|
|
3747
|
+
components: {
|
|
3748
|
+
OrIconButton: script$1,
|
|
3749
|
+
OrModal: script$2,
|
|
3750
|
+
OrTeleport: script$3,
|
|
3751
|
+
OrError: script$4,
|
|
3752
|
+
OrHint: script$5,
|
|
3753
|
+
OrLabel: script$6
|
|
3754
|
+
},
|
|
3755
|
+
model: {
|
|
3756
|
+
prop: 'modelValue',
|
|
3757
|
+
event: 'update:modelValue'
|
|
3758
|
+
},
|
|
3759
|
+
props: {
|
|
3760
|
+
label: {
|
|
3761
|
+
type: String,
|
|
3762
|
+
default: '',
|
|
3763
|
+
required: false
|
|
3764
|
+
},
|
|
3765
|
+
modelValue: {
|
|
3766
|
+
type: String,
|
|
3767
|
+
default: '',
|
|
3768
|
+
required: false
|
|
3769
|
+
},
|
|
3770
|
+
language: {
|
|
3771
|
+
type: [Object, String],
|
|
3772
|
+
required: false,
|
|
3773
|
+
default: OrCodeLanguages.JS
|
|
3774
|
+
},
|
|
3775
|
+
isReadonly: {
|
|
3776
|
+
type: Boolean,
|
|
3777
|
+
required: false,
|
|
3778
|
+
default: false
|
|
3779
|
+
},
|
|
3780
|
+
extensions: {
|
|
3781
|
+
type: Array,
|
|
3782
|
+
required: false,
|
|
3783
|
+
default: () => [basicSetup]
|
|
3784
|
+
},
|
|
3785
|
+
phrases: {
|
|
3786
|
+
type: Object,
|
|
3787
|
+
required: false,
|
|
3788
|
+
default: null
|
|
3789
|
+
},
|
|
3790
|
+
isShowingFullscreen: {
|
|
3791
|
+
type: Boolean,
|
|
3792
|
+
default: true,
|
|
3793
|
+
required: false
|
|
3794
|
+
},
|
|
3795
|
+
isInvalid: {
|
|
3796
|
+
type: Boolean,
|
|
3797
|
+
default: false,
|
|
3798
|
+
required: false
|
|
3799
|
+
},
|
|
3800
|
+
error: {
|
|
3801
|
+
type: String,
|
|
3802
|
+
default: '',
|
|
3803
|
+
required: false
|
|
3804
|
+
},
|
|
3805
|
+
hint: {
|
|
3806
|
+
type: String,
|
|
3807
|
+
default: '',
|
|
3808
|
+
required: false
|
|
3809
|
+
},
|
|
3810
|
+
allowPaste: {
|
|
3811
|
+
type: Boolean,
|
|
3812
|
+
default: true
|
|
3813
|
+
},
|
|
3814
|
+
allowDrop: {
|
|
3815
|
+
type: Boolean,
|
|
3816
|
+
default: true
|
|
3817
|
+
},
|
|
3818
|
+
lineWrapping: {
|
|
3819
|
+
type: Boolean,
|
|
3820
|
+
default: false
|
|
3821
|
+
}
|
|
3822
|
+
},
|
|
3823
|
+
emits: ['update:modelValue', 'focus', 'blur'],
|
|
3824
|
+
setup(props, {
|
|
3825
|
+
emit
|
|
3826
|
+
}) {
|
|
3827
|
+
// editor config
|
|
3828
|
+
const root = ref();
|
|
3829
|
+
const target = ref();
|
|
3830
|
+
const fullscreenTarget = ref();
|
|
3831
|
+
const isHovered = useElementHover(root);
|
|
3832
|
+
const editor = new EditorView({
|
|
3833
|
+
state: EditorState.create({
|
|
3834
|
+
doc: props.modelValue
|
|
3835
|
+
}),
|
|
3836
|
+
dispatch: tr => {
|
|
3837
|
+
editor.update([tr]);
|
|
3838
|
+
if (tr.changes.empty) return;
|
|
3839
|
+
emit('update:modelValue', editor.state.doc.toString());
|
|
3840
|
+
}
|
|
3841
|
+
});
|
|
3842
|
+
return {
|
|
3843
|
+
root,
|
|
3844
|
+
target,
|
|
3845
|
+
fullscreenTarget,
|
|
3846
|
+
editor,
|
|
3847
|
+
isHovered
|
|
3848
|
+
};
|
|
3849
|
+
},
|
|
3850
|
+
data() {
|
|
3851
|
+
return {
|
|
3852
|
+
isFullscreen: false
|
|
3853
|
+
};
|
|
3854
|
+
},
|
|
3855
|
+
computed: {
|
|
3856
|
+
localLanguage() {
|
|
3857
|
+
if (Object.values(OrCodeLanguages).includes(this.language)) {
|
|
3858
|
+
return languages[this.language];
|
|
3859
|
+
} else {
|
|
3860
|
+
return this.language;
|
|
3861
|
+
}
|
|
3862
|
+
},
|
|
3863
|
+
localExtensions() {
|
|
3864
|
+
const {
|
|
3865
|
+
allowDrop,
|
|
3866
|
+
allowPaste,
|
|
3867
|
+
lineWrapping,
|
|
3868
|
+
extensions
|
|
3869
|
+
} = this;
|
|
3870
|
+
let ext = [theme, EditorView.baseTheme({}),
|
|
3871
|
+
// locale settings
|
|
3872
|
+
this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
|
|
3873
|
+
// Parser language setting
|
|
3874
|
+
this.localLanguage,
|
|
3875
|
+
// Editable option
|
|
3876
|
+
EditorView.editable.of(!this.isReadonly),
|
|
3877
|
+
// Focus and blur listener
|
|
3878
|
+
EditorView.updateListener.of(viewUpdate => {
|
|
3879
|
+
if (viewUpdate.focusChanged) {
|
|
3880
|
+
viewUpdate.view.hasFocus ? this.$emit('focus') : this.$emit('blur', viewUpdate.state.doc.toString());
|
|
3881
|
+
}
|
|
3882
|
+
}), EditorView.domEventHandlers({
|
|
3883
|
+
drop(event) {
|
|
3884
|
+
if (!allowDrop) {
|
|
3885
|
+
event.preventDefault();
|
|
3886
|
+
return true;
|
|
3887
|
+
}
|
|
3888
|
+
},
|
|
3889
|
+
paste(event) {
|
|
3890
|
+
if (!allowPaste) {
|
|
3891
|
+
event.preventDefault();
|
|
3892
|
+
return true;
|
|
3893
|
+
}
|
|
3894
|
+
}
|
|
3895
|
+
}),
|
|
3896
|
+
// line wrapping
|
|
3897
|
+
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])];
|
|
3898
|
+
if (Array.isArray(extensions)) {
|
|
3899
|
+
ext = [...ext, ...extensions];
|
|
3900
|
+
}
|
|
3901
|
+
ext = ext.filter(Boolean);
|
|
3902
|
+
return ext;
|
|
3903
|
+
},
|
|
3904
|
+
isShowingError() {
|
|
3905
|
+
return !!this.error && this.isInvalid;
|
|
3906
|
+
},
|
|
3907
|
+
isShowingHint() {
|
|
3908
|
+
return !!this.hint && !this.isShowingError;
|
|
3909
|
+
},
|
|
3910
|
+
isShowingHeader() {
|
|
3911
|
+
var _a;
|
|
3912
|
+
return this.isShowingFullscreen || this.$slots.label || this.$slots.actions || ((_a = this.$scopedSlots) === null || _a === void 0 ? void 0 : _a.actions);
|
|
3913
|
+
}
|
|
3914
|
+
},
|
|
3915
|
+
watch: {
|
|
3916
|
+
modelValue(value) {
|
|
3917
|
+
if (this.editor.composing) return;
|
|
3918
|
+
if (this.editor.state.doc.toString() === value) return;
|
|
3919
|
+
const previous = this.editor.state.selection;
|
|
3920
|
+
this.editor.setState(EditorState.create({
|
|
3921
|
+
doc: value,
|
|
3922
|
+
extensions: this.localExtensions,
|
|
3923
|
+
selection: previous.ranges.some(range => range.to > value.length) ? {
|
|
3924
|
+
anchor: value.length
|
|
3925
|
+
} : previous
|
|
3926
|
+
}));
|
|
3927
|
+
},
|
|
3928
|
+
isFullscreen(value) {
|
|
3929
|
+
if (value) {
|
|
3930
|
+
this.fullscreenTarget.append(this.editor.dom);
|
|
3931
|
+
} else {
|
|
3932
|
+
this.target.append(this.editor.dom);
|
|
3933
|
+
}
|
|
3934
|
+
},
|
|
3935
|
+
localExtensions() {
|
|
3936
|
+
this.updateEditorState();
|
|
3937
|
+
}
|
|
3938
|
+
},
|
|
3939
|
+
mounted() {
|
|
3940
|
+
this.updateEditorState();
|
|
3941
|
+
this.target.append(this.editor.dom);
|
|
3942
|
+
},
|
|
3943
|
+
beforeUnmount() {
|
|
3944
|
+
var _a;
|
|
3945
|
+
(_a = this.editor) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
3946
|
+
},
|
|
3947
|
+
methods: {
|
|
3948
|
+
updateEditorState() {
|
|
3949
|
+
this.editor.setState(EditorState.create({
|
|
3950
|
+
doc: this.modelValue,
|
|
3951
|
+
extensions: this.localExtensions
|
|
3952
|
+
}));
|
|
3953
|
+
},
|
|
3954
|
+
toggleFullscreen(value) {
|
|
3955
|
+
this.isFullscreen = value === undefined ? !this.isFullscreen : value;
|
|
3956
|
+
}
|
|
3957
|
+
}
|
|
3958
|
+
});
|
|
3959
|
+
|
|
3960
|
+
export { script as s };
|
|
@@ -7,9 +7,9 @@ import './components/OrOverlayV3/OrOverlay.js';
|
|
|
7
7
|
import './components/OrButtonV3/OrButton.js';
|
|
8
8
|
import './components/OrInputV3/OrInput.js';
|
|
9
9
|
import { ButtonColor } from './components/OrButtonV3/props.js';
|
|
10
|
-
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-
|
|
11
|
-
import { s as script$2 } from './OrButton.vue_vue_type_script_lang-
|
|
12
|
-
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-47004a50.js';
|
|
11
|
+
import { s as script$2 } from './OrButton.vue_vue_type_script_lang-5650b394.js';
|
|
12
|
+
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-fe526531.js';
|
|
13
13
|
|
|
14
14
|
var script = defineComponent({
|
|
15
15
|
name: 'OrConfirm',
|
|
@@ -3,7 +3,7 @@ import { IconButtonColor } from './components/OrIconButtonV3/props.js';
|
|
|
3
3
|
import { IconButtonRoot, IconButtonRootColors } from './components/OrIconButtonV3/styles.js';
|
|
4
4
|
import './components/OrIconV3/OrIcon.js';
|
|
5
5
|
import './components/OrTooltipV3/OrTooltip.js';
|
|
6
|
-
import { s as script$2 } from './OrTooltip.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$2 } from './OrTooltip.vue_vue_type_script_lang-b35199da.js';
|
|
7
7
|
import { IconSize } from './components/OrIconV3/props.js';
|
|
8
8
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ import { useControlAttributes } from './hooks/useControlAttributes.js';
|
|
|
12
12
|
import { useValidationAttributes } from './hooks/useValidationAttributes.js';
|
|
13
13
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
14
14
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
15
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
15
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-41f12b45.js';
|
|
16
16
|
|
|
17
17
|
var script = defineComponent({
|
|
18
18
|
name: 'OrInlineInput',
|
|
@@ -9,7 +9,7 @@ import { useControlAttributes } from './hooks/useControlAttributes.js';
|
|
|
9
9
|
import { useValidationAttributes } from './hooks/useValidationAttributes.js';
|
|
10
10
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
11
11
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
12
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-41f12b45.js';
|
|
13
13
|
import { s as script$4 } from './OrInlineInputBox.vue_vue_type_script_lang-fe99c485.js';
|
|
14
14
|
|
|
15
15
|
var script = defineComponent({
|
|
@@ -7,7 +7,7 @@ import './components/OrHintV3/OrHint.js';
|
|
|
7
7
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
8
8
|
import './components/OrIconV3/OrIcon.js';
|
|
9
9
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
10
|
-
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-41f12b45.js';
|
|
11
11
|
import './components/OrInputBoxV3/OrInputBox.js';
|
|
12
12
|
import { s as script$5 } from './OrInputBox.vue_vue_type_script_lang-e3bba923.js';
|
|
13
13
|
import './components/OrLabelV3/OrLabel.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { MenuRoot } from './components/OrMenuV3/styles.js';
|
|
3
3
|
import './components/OrPopoverV3/OrPopover.js';
|
|
4
|
-
import { s as script$1 } from './OrPopover.vue_vue_type_script_lang-
|
|
4
|
+
import { s as script$1 } from './OrPopover.vue_vue_type_script_lang-9d3a7c2d.js';
|
|
5
5
|
import { PopoverPlacement } from './components/OrPopoverV3/props.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
@@ -3,8 +3,8 @@ import { ModalSize } from './components/OrModalV3/props.js';
|
|
|
3
3
|
import { ModalRoot, ModalRootSizes, ModalHeader } from './components/OrModalV3/styles.js';
|
|
4
4
|
import './components/OrOverlayV3/OrOverlay.js';
|
|
5
5
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
6
|
-
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-
|
|
7
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-47004a50.js';
|
|
7
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-41f12b45.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|
|
10
10
|
name: 'OrModal',
|
|
@@ -4,7 +4,7 @@ import { NotificationRoot, NotificationRootVariants, NotificationIcon, Notificat
|
|
|
4
4
|
import './components/OrIconV3/OrIcon.js';
|
|
5
5
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
6
6
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
7
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-41f12b45.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|
|
10
10
|
name: 'OrNotification',
|
|
@@ -5,9 +5,9 @@ import './components/OrIconV3/OrIcon.js';
|
|
|
5
5
|
import './components/OrMenuV3/OrMenu.js';
|
|
6
6
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
7
7
|
import useResponsive from './hooks/useResponsive/useResponsive.js';
|
|
8
|
-
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-
|
|
8
|
+
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-5650b394.js';
|
|
9
9
|
import { s as script$2 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
10
|
-
import { s as script$3 } from './OrMenu.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$3 } from './OrMenu.vue_vue_type_script_lang-4772731e.js';
|
|
11
11
|
import { s as script$4 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
12
12
|
|
|
13
13
|
var script = defineComponent({
|
|
@@ -4,7 +4,7 @@ import { defineComponent, ref, computed, watch, watchPostEffect, unref, toRef, n
|
|
|
4
4
|
import { PopoverVariant, PopoverPlacement } from './components/OrPopoverV3/props.js';
|
|
5
5
|
import { PopoverRoot, PopoverBody, PopoverBodyPlacements } from './components/OrPopoverV3/styles.js';
|
|
6
6
|
import './components/OrBottomSheetV3/OrBottomSheet.js';
|
|
7
|
-
import { s as script$1 } from './OrBottomSheet.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$1 } from './OrBottomSheet.vue_vue_type_script_lang-01d7c429.js';
|
|
8
8
|
import './components/OrTeleportV3/OrTeleport.js';
|
|
9
9
|
import useResponsive from './hooks/useResponsive/useResponsive.js';
|
|
10
10
|
import { useElevation } from './hooks/useElevation.js';
|
|
@@ -156,7 +156,14 @@ var script = defineComponent({
|
|
|
156
156
|
});
|
|
157
157
|
// #region Click Outside
|
|
158
158
|
const trigger = toRef(props, 'trigger');
|
|
159
|
-
onClickOutside(root,
|
|
159
|
+
onClickOutside(root, event => {
|
|
160
|
+
const path = event.composedPath();
|
|
161
|
+
if (!path.some(({
|
|
162
|
+
classList
|
|
163
|
+
}) => (classList === null || classList === void 0 ? void 0 : classList.contains('or-popover-v3')) || (classList === null || classList === void 0 ? void 0 : classList.contains('or-bottom-sheet-v3')))) {
|
|
164
|
+
close();
|
|
165
|
+
}
|
|
166
|
+
}, {
|
|
160
167
|
ignore: [trigger]
|
|
161
168
|
});
|
|
162
169
|
// #endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
3
|
import './components/OrInputV3/OrInput.js';
|
|
4
|
-
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-
|
|
4
|
+
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-fe526531.js';
|
|
5
5
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
@@ -13,18 +13,18 @@ import './components/OrLabelV3/OrLabel.js';
|
|
|
13
13
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
14
14
|
import './components/OrPopoverV3/OrPopover.js';
|
|
15
15
|
import './components/OrTagV3/OrTag.js';
|
|
16
|
-
import { s as script$b } from './OrTag.vue_vue_type_script_lang-
|
|
16
|
+
import { s as script$b } from './OrTag.vue_vue_type_script_lang-fbc19deb.js';
|
|
17
17
|
import { DropdownClose } from './directives/dropdown-close.js';
|
|
18
18
|
import { DropdownOpen } from './directives/dropdown-open.js';
|
|
19
19
|
import { useOverflow } from './hooks/useOverflow.js';
|
|
20
20
|
import { s as script$2 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
21
21
|
import { s as script$4 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
22
22
|
import { s as script$5 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
23
|
-
import { s as script$6 } from './OrInput.vue_vue_type_script_lang-
|
|
23
|
+
import { s as script$6 } from './OrInput.vue_vue_type_script_lang-fe526531.js';
|
|
24
24
|
import { s as script$7 } from './OrInputBox.vue_vue_type_script_lang-e3bba923.js';
|
|
25
25
|
import { s as script$8 } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
26
26
|
import { s as script$9 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
27
|
-
import { s as script$a } from './OrPopover.vue_vue_type_script_lang-
|
|
27
|
+
import { s as script$a } from './OrPopover.vue_vue_type_script_lang-9d3a7c2d.js';
|
|
28
28
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
29
29
|
|
|
30
30
|
var script = defineComponent({
|
|
@@ -3,7 +3,7 @@ import _ from 'lodash';
|
|
|
3
3
|
import { defineComponent, ref, computed, useSlots, watch } from 'vue-demi';
|
|
4
4
|
import { OrSidebarPlacement } from './components/OrSidebarV3/props.js';
|
|
5
5
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
6
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-41f12b45.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode } from 'vue';
|
|
8
8
|
import { SidebarRoot, SidebarBar, SidebarSides, SidebarToolbar, CollapsibleSidebarToolbar, SidebarToolbarSides, SidebarResize, SidebarResizeSides, SidebarResizingSides, SidebarCollapseButton, SidebarCollapseButtonSides, SidebarMain, SidebarHeader, SidebarContent, SidebarFooter } from './components/OrSidebarV3/styles.js';
|
|
9
9
|
|
|
@@ -8,7 +8,7 @@ import './components/OrMenuItemV3/OrMenuItem.js';
|
|
|
8
8
|
import './components/OrTabV3/OrTab.js';
|
|
9
9
|
import { s as script$4 } from './OrTab.vue_vue_type_script_lang-4a262fa3.js';
|
|
10
10
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
11
|
-
import { s as script$2 } from './OrMenu.vue_vue_type_script_lang-
|
|
11
|
+
import { s as script$2 } from './OrMenu.vue_vue_type_script_lang-4772731e.js';
|
|
12
12
|
import { s as script$3 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
13
13
|
|
|
14
14
|
var script = defineComponent({
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue-demi
|
|
|
2
2
|
import { TagVariant, TagColor } from './components/OrTagV3/props.js';
|
|
3
3
|
import { TagRoot, TagRootVariants, TagRootColors } from './components/OrTagV3/styles.js';
|
|
4
4
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
5
|
-
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-
|
|
5
|
+
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-41f12b45.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
8
8
|
name: 'OrTag',
|
|
@@ -2,7 +2,7 @@ import { useDebounceFn, useElementHover } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
3
|
import { TooltipRoot, TooltipBody, TooltipBodyPlacements } from './components/OrTooltipV3/styles.js';
|
|
4
4
|
import './components/OrPopoverV3/OrPopover.js';
|
|
5
|
-
import { s as script$1 } from './OrPopover.vue_vue_type_script_lang-
|
|
5
|
+
import { s as script$1 } from './OrPopover.vue_vue_type_script_lang-9d3a7c2d.js';
|
|
6
6
|
import { PopoverPlacement } from './components/OrPopoverV3/props.js';
|
|
7
7
|
|
|
8
8
|
var script = defineComponent({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { s as script } from '../../OrBottomSheet.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrBottomSheet.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrBottomSheet.vue_vue_type_script_lang-01d7c429.js';
|
|
2
|
+
export { s as default } from '../../OrBottomSheet.vue_vue_type_script_lang-01d7c429.js';
|
|
3
3
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createCommentVNode } from 'vue';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import 'vue-demi';
|
|
6
6
|
import './styles.js';
|
|
7
7
|
import '../OrOverlayV3/OrOverlay.js';
|
|
8
|
-
import '../../OrOverlay.vue_vue_type_script_lang-
|
|
8
|
+
import '../../OrOverlay.vue_vue_type_script_lang-47004a50.js';
|
|
9
9
|
import '../OrOverlayV3/styles.js';
|
|
10
10
|
import '../OrTeleportV3/OrTeleport.js';
|
|
11
11
|
import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { s as OrBottomSheetV3 } from '../../OrBottomSheet.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrBottomSheetV3 } from '../../OrBottomSheet.vue_vue_type_script_lang-01d7c429.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import './styles.js';
|
|
5
5
|
import '../OrOverlayV3/OrOverlay.js';
|
|
6
|
-
import '../../OrOverlay.vue_vue_type_script_lang-
|
|
6
|
+
import '../../OrOverlay.vue_vue_type_script_lang-47004a50.js';
|
|
7
7
|
import '../OrOverlayV3/styles.js';
|
|
8
8
|
import '../OrTeleportV3/OrTeleport.js';
|
|
9
9
|
import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrButton.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrButton.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrButton.vue_vue_type_script_lang-5650b394.js';
|
|
2
|
+
export { s as default } from '../../OrButton.vue_vue_type_script_lang-5650b394.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, mergeProps, toHandlers, createElementVNode, normalizeClass, renderSlot, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import './props.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ButtonColor, ButtonType, ButtonVariant } from './props.js';
|
|
2
|
-
export { s as OrButtonV3 } from '../../OrButton.vue_vue_type_script_lang-
|
|
2
|
+
export { s as OrButtonV3 } from '../../OrButton.vue_vue_type_script_lang-5650b394.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import './styles.js';
|
|
5
5
|
import '../OrLoaderV3/OrLoader.js';
|
|
@@ -39,7 +39,9 @@ const ButtonRootColors = {
|
|
|
39
39
|
'inherit-contained': [],
|
|
40
40
|
'primary-outlined': [
|
|
41
41
|
// Theme
|
|
42
|
-
'theme-preset-3-primary', 'dark:theme-preset-3-primary-dark', 'theme-border-1-
|
|
42
|
+
'theme-preset-3-primary', 'dark:theme-preset-3-primary-dark', 'theme-border-1-outline', 'dark:theme-border-1-outline-dark',
|
|
43
|
+
// Theme (active)
|
|
44
|
+
'active:theme-border-1-primary', 'dark:active:theme-border-1-primary-dark'],
|
|
43
45
|
'danger-outlined': [
|
|
44
46
|
// Theme
|
|
45
47
|
'theme-preset-3-error', 'dark:theme-preset-3-error-dark', 'theme-border-1-error', 'dark:theme-border-1-error-dark'],
|