@onereach/ui-components 6.2.0-beta.3289.0 → 6.2.0-beta.3294.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/{v3/_baseAssignValue-2250dbc9.js → v2/_baseAssignValue-22e630c1.js} +1 -1
- package/dist/bundled/v2/{_baseIsEqual-fe2002b6.js → _baseIsEqual-a1cc156c.js} +5 -5
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +1 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.js +1 -1
- package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.js +1 -1
- package/dist/bundled/v2/components/OrCode/OrCode.js +3 -3
- package/dist/bundled/v2/components/OrCode/index.js +5 -3
- package/dist/bundled/v2/components/OrCode/lang.js +5 -3
- package/dist/bundled/v2/components/OrCode/libs.js +5 -3
- package/dist/bundled/v2/components/OrCode/theme.js +1 -1
- package/dist/bundled/v2/components/OrCodeV3/OrCode.js +46 -30
- package/dist/bundled/v2/components/OrCodeV3/OrCode.vue.d.ts +4 -3
- package/dist/bundled/v2/components/OrCodeV3/index.d.ts +1 -0
- package/dist/bundled/v2/components/OrCodeV3/index.js +3 -0
- package/dist/bundled/v2/components/OrCodeV3/libs.d.ts +3 -0
- package/dist/bundled/v2/components/OrCodeV3/libs.js +3 -0
- package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +1 -1
- package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +2 -2
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +3 -3
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +3 -3
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +2 -2
- package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +4 -4
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +3 -3
- package/dist/bundled/v2/components/OrFloating/OrFloating.js +1 -1
- package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +2 -2
- package/dist/bundled/v2/components/OrInput/OrInput.js +1 -1
- package/dist/bundled/v2/components/OrList/OrList.js +8 -8
- package/dist/bundled/v2/components/OrLoaderV3/OrLoader.js +1 -1
- package/dist/bundled/v2/components/OrModal/OrModal.js +1347 -3
- package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +2 -2
- package/dist/bundled/v2/components/OrOverlayV3/OrOverlay.js +1 -1
- package/dist/bundled/v2/components/OrPassword/OrPassword.js +1 -1
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +2 -2
- package/dist/bundled/v2/components/OrProgress/OrProgress.js +1 -1
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +2 -2
- package/dist/bundled/v2/components/OrRadio/OrRadio.js +2 -2
- package/dist/bundled/v2/components/OrSearch/OrSearch.js +1 -1
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +1 -1
- package/dist/bundled/v2/components/OrSelect/OrSelect.js +7 -7
- package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +1 -1
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +1 -1
- package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.js +1 -1
- package/dist/bundled/v2/components/OrSkeletonTextV3/OrSkeletonText.js +1 -1
- package/dist/bundled/v2/components/OrSlider/OrSlider.js +2 -2
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +1 -1
- package/dist/bundled/v2/components/OrTextarea/OrTextarea.js +1 -1
- package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +1 -1
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +2 -2
- package/dist/bundled/v2/components/OrToast/Timer.js +1 -1
- package/dist/bundled/v2/components/OrToast/composable/useToastEventBus.js +2 -2
- package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +1 -1
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/Timer.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/composable/useToastEventBus.js +2 -2
- package/dist/bundled/v2/components/OrTreeV3/OrTree.js +1 -1
- package/dist/bundled/v2/components/index.d.ts +0 -1
- package/dist/bundled/v2/components/index.js +6 -5
- package/dist/bundled/{v3/dom-cec392f3.js → v2/dom-bb55b42a.js} +2 -2
- package/dist/bundled/v2/{eq-44ea4d70.js → eq-95cd2573.js} +1 -1
- package/dist/bundled/{v3/get-34aa21f4.js → v2/get-ab1b7d93.js} +3 -3
- package/dist/bundled/v2/hooks/useOverflow.js +2 -2
- package/dist/bundled/v2/hooks/usePopoverState.js +1 -1
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +1 -1
- package/dist/bundled/v2/{index-2b20f5f5.js → index-048e41ad.js} +2 -2
- package/dist/bundled/v2/{index-0c287ab6.js → index-0789b976.js} +3 -3
- package/dist/bundled/v2/index-0ad0f605.js +826 -0
- package/dist/bundled/{v3/index-de4975a3.js → v2/index-379ec85d.js} +10 -842
- package/dist/bundled/v2/index-5e5d18d5.js +759 -0
- package/dist/bundled/v2/index-7211e1c5.js +361 -0
- package/dist/bundled/{v3/index-749f3444.js → v2/index-82718479.js} +1 -1
- package/dist/bundled/v2/{index-06f6bbe4.js → index-8a1b5b9c.js} +1 -1
- package/dist/bundled/v2/index-9e0bdde8.js +94 -0
- package/dist/bundled/v2/{index-3cae2d25.js → index-b261a47e.js} +462 -294
- package/dist/bundled/v2/index-c321391a.js +1892 -0
- package/dist/bundled/v2/index-d02cdc81.js +1598 -0
- package/dist/bundled/{v3/index-3e178101.js → v2/index-ea7a689d.js} +32 -471
- package/dist/bundled/v2/index.js +8 -7
- package/dist/bundled/{v3/isArrayLike-e7fb5cae.js → v2/isArrayLike-e46b8eac.js} +1 -1
- package/dist/bundled/v2/{isEqual-7a8e6106.js → isEqual-44382965.js} +1 -1
- package/dist/bundled/{v3/isObject-b7415fc1.js → v2/isObject-fe8b81fd.js} +1 -1
- package/dist/bundled/{v3/range-82efa3d4.js → v2/range-6f26eda4.js} +4 -4
- package/dist/bundled/v2/{round-567ede34.js → round-f34440f4.js} +4 -4
- package/dist/bundled/v2/{toFinite-bc59ffb0.js → toFinite-74227610.js} +1 -1
- package/dist/bundled/v2/{toInteger-9fa0151c.js → toInteger-2fd112a9.js} +1 -1
- package/dist/bundled/v2/{toString-b6e4472a.js → toString-f3196832.js} +1 -1
- package/dist/bundled/v2/utils/functions/dom.js +2 -2
- package/dist/bundled/v2/utils/index.js +1 -1
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-10c2add0.js → OrAvatar.vue_vue_type_script_lang-95fe92f9.js} +1 -1
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-aca902f2.js → OrBottomSheet.vue_vue_type_script_lang-33bfe3c4.js} +2 -2
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-db6595f6.js → OrButton.vue_vue_type_script_lang-85f1cb3f.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-0fb2b270.js → OrButton.vue_vue_type_script_lang-9d4ac135.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-bf9018d5.js → OrCardCollection.vue_vue_type_script_lang-0ba13713.js} +3 -3
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-02606ec6.js → OrCardCollection.vue_vue_type_script_lang-fe769106.js} +3 -3
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-de28fcaf.js → OrCheckbox.vue_vue_type_script_lang-576b5f5d.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-2d4980de.js → OrCheckboxGroup.vue_vue_type_script_lang-c05088ee.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-8d9ed718.js → OrCheckboxTree.vue_vue_type_script_lang-bd0fa916.js} +2 -2
- package/dist/bundled/v3/{OrChip.vue_vue_type_script_lang-cacd81e5.js → OrChip.vue_vue_type_script_lang-8ccf3d2d.js} +1 -1
- package/dist/bundled/v3/{OrChips.vue_vue_type_script_lang-e1f37564.js → OrChips.vue_vue_type_script_lang-70be98b5.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-2300b956.js → OrCode.vue_vue_type_script_lang-1df17839.js} +5 -5
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-52b0ab4c.js → OrCode.vue_vue_type_script_lang-ad985f8f.js} +48 -32
- package/dist/bundled/v3/{OrCollapse.vue_vue_type_script_lang-be1c8c66.js → OrCollapse.vue_vue_type_script_lang-69503c45.js} +1 -1
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-95d92da0.js → OrColorPicker.vue_vue_type_script_lang-153ef60d.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-19922dd5.js → OrConfirm.vue_vue_type_script_lang-808367f7.js} +6 -6
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-4e9966f2.js → OrConfirm.vue_vue_type_script_lang-cf909881.js} +6 -6
- package/dist/bundled/v3/{OrContextMenu.vue_vue_type_script_lang-f40c0d92.js → OrContextMenu.vue_vue_type_script_lang-b4e0569b.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-04273abb.js → OrDatePicker.vue_vue_type_script_lang-b1130337.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-66b3611e.js → OrDateTimePicker.vue_vue_type_script_lang-37b1996e.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-73b5c809.js → OrDateTimePicker.vue_vue_type_script_lang-98f80113.js} +7 -7
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-2ff0e8f9.js → OrDateTimePickerMonthSelect-7fcfccdf.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-135da975.js → OrDateTimePickerPopoverHeader-78fe6852.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-fe701e75.js → OrDateTimePickerTimeSelect-56bff361.js} +1 -1
- package/dist/bundled/v3/{OrFloating.vue_vue_type_script_lang-38aa1d83.js → OrFloating.vue_vue_type_script_lang-d579c010.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-f3cbff23.js → OrIcon.vue_vue_type_script_lang-23dad121.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-64e7b6ab.js → OrIconButton.vue_vue_type_script_lang-20210ebe.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-f6bf7dda.js → OrIconButton.vue_vue_type_script_lang-85c7ef74.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-0bdbf730.js → OrInlineInput.vue_vue_type_script_lang-e78cacec.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-72c9e44e.js → OrInlineTextEdit.vue_vue_type_script_lang-d7f24fd6.js} +4 -4
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-81430067.js → OrInlineTextarea.vue_vue_type_script_lang-e69604e1.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-39d1a293.js → OrInput.vue_vue_type_script_lang-4c9af1b9.js} +2 -2
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-515ff78a.js → OrInput.vue_vue_type_script_lang-863d3195.js} +2 -2
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-bc49c1ff.js → OrList.vue_vue_type_script_lang-cb637c9e.js} +11 -11
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-3d17e3d2.js → OrListOfInputs.vue_vue_type_script_lang-31f604eb.js} +4 -4
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-0ea76e45.js → OrLoader.vue_vue_type_script_lang-b0347c70.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-edc12857.js → OrMenu.vue_vue_type_script_lang-80d3a47b.js} +1 -1
- package/dist/bundled/v3/{useFocusTrap-2302b843.js → OrModal.vue_vue_type_script_lang-22ca96e3.js} +100 -4
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-d2339f74.js → OrModal.vue_vue_type_script_lang-fe9b0d62.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-81d7cfef.js → OrNotification.vue_vue_type_script_lang-17ae96e3.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-8dafacd3.js → OrNotification.vue_vue_type_script_lang-bb93ca64.js} +1 -1
- package/dist/bundled/v3/{OrNumberInput.vue_vue_type_script_lang-b832e611.js → OrNumberInput.vue_vue_type_script_lang-4cc194fc.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-0c84fa14.js → OrOverflowMenu.vue_vue_type_script_lang-ab2d6d33.js} +5 -5
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-2b256188.js → OrOverlay.vue_vue_type_script_lang-7e9b1817.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-91dec212.js → OrPagination.vue_vue_type_script_lang-6e3a561d.js} +2 -2
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-9228b54e.js → OrPassword.vue_vue_type_script_lang-fc8438a8.js} +3 -3
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-2fba84de.js → OrPopover.vue_vue_type_script_lang-b6dba09f.js} +3 -3
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-56b4a5da.js → OrProgress.vue_vue_type_script_lang-78c933d7.js} +2 -2
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-c4bd7133.js → OrProgress.vue_vue_type_script_lang-a99362ae.js} +1 -1
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-a4f043e9.js → OrRadio.vue_vue_type_script_lang-3a551734.js} +2 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-6a34ea7a.js → OrSearch.vue_vue_type_script_lang-981f3cf0.js} +3 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-47c2a5b0.js → OrSearch.vue_vue_type_script_lang-9e5da97d.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-0edae1cf.js → OrSelect.vue_vue_type_script_lang-d496bc7b.js} +11 -11
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-8b59bb49.js → OrSelect.vue_vue_type_script_lang-f651614d.js} +5 -5
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-cb96511d.js → OrSidebar.vue_vue_type_script_lang-3ea9752f.js} +2 -2
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-bd864765.js → OrSidebar.vue_vue_type_script_lang-f5d46ede.js} +1 -1
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-502607ef.js → OrSkeletonText.vue_vue_type_script_lang-26b3cfd1.js} +1 -1
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-cfe360bb.js → OrSkeletonText.vue_vue_type_script_lang-c2a5ab96.js} +1 -1
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-79cca9e2.js → OrSlider.vue_vue_type_script_lang-ef8699ca.js} +3 -3
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-8ea37e10.js → OrSorting.vue_vue_type_script_lang-7496f136.js} +2 -2
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-33639493.js → OrStepper.vue_vue_type_script_lang-c7f9582b.js} +1 -1
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-fe6a5512.js → OrSwitch.vue_vue_type_script_lang-51b857e2.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-97da5baa.js → OrTabs.vue_vue_type_script_lang-2e57804a.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-b62c0b79.js → OrTag.vue_vue_type_script_lang-0a36cba8.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-62e1f5a7.js → OrTag.vue_vue_type_script_lang-b66887dd.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-bdbe85c7.js → OrTagInput.vue_vue_type_script_lang-a00eb885.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-cb8c3c31.js → OrTags.vue_vue_type_script_lang-938b34b7.js} +3 -3
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-5624556c.js → OrTextarea.vue_vue_type_script_lang-325050eb.js} +2 -2
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-d0db6077.js → OrTextbox.vue_vue_type_script_lang-5c706917.js} +3 -3
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-25e5dd01.js → OrTimePicker.vue_vue_type_script_lang-8c297fdd.js} +4 -4
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-ad659b6a.js → OrToastContainer.vue_vue_type_script_lang-07b75b00.js} +1 -1
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-9a3e66a2.js → OrToastContainer.vue_vue_type_script_lang-8d3ed93a.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-c0cc67c5.js → OrTooltip.vue_vue_type_script_lang-81dbde5d.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-288c978f.js → OrTooltip.vue_vue_type_script_lang-b201e580.js} +1 -1
- package/dist/bundled/v3/{OrTree.vue_vue_type_script_lang-ce5b0577.js → OrTree.vue_vue_type_script_lang-bd439beb.js} +2 -2
- package/dist/bundled/{v2/_baseAssignValue-2250dbc9.js → v3/_baseAssignValue-22e630c1.js} +1 -1
- package/dist/bundled/v3/{_baseIsEqual-fe2002b6.js → _baseIsEqual-a1cc156c.js} +5 -5
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +2 -2
- package/dist/bundled/v3/components/OrAvatar/index.js +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +2 -2
- package/dist/bundled/v3/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.js +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +1 -1
- package/dist/bundled/v3/components/OrButtonV2/OrButton.js +2 -2
- package/dist/bundled/v3/components/OrButtonV2/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/OrCardCollection/OrCardCollection.js +2 -2
- package/dist/bundled/v3/components/OrCardCollection/index.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +2 -2
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +2 -2
- package/dist/bundled/v3/components/OrCheckbox/index.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +2 -2
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +2 -2
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +1 -1
- package/dist/bundled/v3/components/OrChip/OrChip.js +2 -2
- package/dist/bundled/v3/components/OrChip/index.js +1 -1
- package/dist/bundled/v3/components/OrChips/OrChips.js +2 -2
- package/dist/bundled/v3/components/OrChips/index.js +2 -2
- package/dist/bundled/v3/components/OrCode/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCode/index.js +6 -4
- package/dist/bundled/v3/components/OrCode/lang.js +5 -3
- package/dist/bundled/v3/components/OrCode/libs.js +5 -3
- package/dist/bundled/v3/components/OrCode/theme.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/OrCode.vue.d.ts +4 -3
- package/dist/bundled/v3/components/OrCodeV3/index.d.ts +1 -0
- package/dist/bundled/v3/components/OrCodeV3/index.js +4 -1
- package/dist/bundled/v3/components/OrCodeV3/libs.d.ts +3 -0
- package/dist/bundled/v3/components/OrCodeV3/libs.js +3 -0
- package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +2 -2
- package/dist/bundled/v3/components/OrCollapse/index.js +1 -1
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +2 -2
- package/dist/bundled/v3/components/OrColorPicker/index.js +1 -1
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +2 -2
- package/dist/bundled/v3/components/OrConfirm/index.js +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +2 -2
- package/dist/bundled/v3/components/OrConfirmV3/index.js +1 -1
- package/dist/bundled/v3/components/OrContextMenuV3/OrContextMenu.js +2 -2
- package/dist/bundled/v3/components/OrContextMenuV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +2 -2
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +2 -2
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +2 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.js +2 -2
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrFloating/OrFloating.js +2 -2
- package/dist/bundled/v3/components/OrFloating/index.js +1 -1
- package/dist/bundled/v3/components/OrIcon/OrIcon.js +2 -2
- package/dist/bundled/v3/components/OrIcon/index.js +1 -1
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +2 -2
- package/dist/bundled/v3/components/OrIconButtonV2/index.js +1 -1
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +2 -2
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +2 -2
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +2 -2
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +1 -1
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +2 -2
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInput/OrInput.js +2 -2
- package/dist/bundled/v3/components/OrInput/index.js +1 -1
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +2 -2
- package/dist/bundled/v3/components/OrInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrList/OrList.js +2 -2
- package/dist/bundled/v3/components/OrList/index.js +1 -1
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +2 -2
- package/dist/bundled/v3/components/OrListOfInputs/index.js +1 -1
- package/dist/bundled/v3/components/OrLoaderV3/OrLoader.js +2 -2
- package/dist/bundled/v3/components/OrLoaderV3/index.js +1 -1
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +2 -2
- package/dist/bundled/v3/components/OrMenuV3/index.js +1 -1
- package/dist/bundled/v3/components/OrModal/OrModal.js +2 -2
- package/dist/bundled/v3/components/OrModal/index.js +1 -1
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +2 -2
- package/dist/bundled/v3/components/OrModalV3/index.js +1 -1
- package/dist/bundled/v3/components/OrNotification/OrNotification.js +2 -2
- package/dist/bundled/v3/components/OrNotification/index.js +1 -1
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +2 -2
- package/dist/bundled/v3/components/OrNotificationV3/index.js +1 -1
- package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +2 -2
- package/dist/bundled/v3/components/OrNumberInput/index.js +1 -1
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +2 -2
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +1 -1
- 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 +2 -2
- package/dist/bundled/v3/components/OrPaginationV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +2 -2
- package/dist/bundled/v3/components/OrPassword/index.js +1 -1
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +2 -2
- package/dist/bundled/v3/components/OrPopoverV3/index.js +1 -1
- package/dist/bundled/v3/components/OrProgress/OrProgress.js +2 -2
- package/dist/bundled/v3/components/OrProgress/index.js +1 -1
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +2 -2
- package/dist/bundled/v3/components/OrProgressV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRadio/OrRadio.js +2 -2
- package/dist/bundled/v3/components/OrRadio/index.js +1 -1
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +2 -2
- package/dist/bundled/v3/components/OrSearch/index.js +1 -1
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +2 -2
- package/dist/bundled/v3/components/OrSearchV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +2 -2
- package/dist/bundled/v3/components/OrSelect/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +2 -2
- package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +2 -2
- package/dist/bundled/v3/components/OrSidebar/index.js +1 -1
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSkeleton/index.js +1 -1
- package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.js +2 -2
- package/dist/bundled/v3/components/OrSkeletonText/index.js +1 -1
- package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.js +2 -2
- package/dist/bundled/v3/components/OrSkeletonTextV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSkeletonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSlider/OrSlider.js +2 -2
- package/dist/bundled/v3/components/OrSlider/index.js +1 -1
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +2 -2
- package/dist/bundled/v3/components/OrSortingV3/index.js +1 -1
- package/dist/bundled/v3/components/OrStepper/OrStepper.js +2 -2
- package/dist/bundled/v3/components/OrStepper/index.js +1 -1
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +2 -2
- package/dist/bundled/v3/components/OrSwitchV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +2 -2
- package/dist/bundled/v3/components/OrTabsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTag/OrTag.js +2 -2
- package/dist/bundled/v3/components/OrTag/index.js +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +2 -2
- package/dist/bundled/v3/components/OrTagInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +2 -2
- package/dist/bundled/v3/components/OrTagV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +2 -2
- package/dist/bundled/v3/components/OrTagsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +2 -2
- package/dist/bundled/v3/components/OrTextarea/index.js +1 -1
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +2 -2
- package/dist/bundled/v3/components/OrTextbox/index.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +2 -2
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrToast/OrToast.js +2 -2
- package/dist/bundled/v3/components/OrToast/Timer.js +1 -1
- package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.js +2 -2
- package/dist/bundled/v3/components/OrToast/index.js +1 -1
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +2 -2
- package/dist/bundled/v3/components/OrToastContainer/index.js +1 -1
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +2 -2
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +2 -2
- package/dist/bundled/v3/components/OrToastV3/Timer.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.js +2 -2
- package/dist/bundled/v3/components/OrToastV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +2 -2
- package/dist/bundled/v3/components/OrTooltip/index.js +1 -1
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +2 -2
- package/dist/bundled/v3/components/OrTooltipV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTreeV3/OrTree.js +2 -2
- package/dist/bundled/v3/components/OrTreeV3/index.js +1 -1
- package/dist/bundled/v3/components/index.d.ts +0 -1
- package/dist/bundled/v3/components/index.js +79 -78
- package/dist/bundled/{v2/dom-cec392f3.js → v3/dom-bb55b42a.js} +2 -2
- package/dist/bundled/v3/{eq-44ea4d70.js → eq-95cd2573.js} +1 -1
- package/dist/bundled/{v2/get-34aa21f4.js → v3/get-ab1b7d93.js} +3 -3
- package/dist/bundled/v3/hooks/useOverflow.js +2 -2
- package/dist/bundled/v3/hooks/usePopoverState.js +1 -1
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +1 -1
- package/dist/bundled/v3/index-168d8a72.js +826 -0
- package/dist/bundled/v3/{index-0a01982b.js → index-2db1212e.js} +2 -2
- package/dist/bundled/{v2/index-de4975a3.js → v3/index-3074ab3c.js} +10 -842
- package/dist/bundled/v3/index-3de4069f.js +361 -0
- package/dist/bundled/{v2/index-dac0fb7c.js → v3/index-51eb57bd.js} +1 -1
- package/dist/bundled/v3/index-540ed5cb.js +1892 -0
- package/dist/bundled/v3/{index-40b35d94.js → index-5e8e7a46.js} +1 -1
- package/dist/bundled/v3/{index-3cae2d25.js → index-73699920.js} +462 -294
- package/dist/bundled/v3/index-a59e89b4.js +94 -0
- package/dist/bundled/v3/index-c661340a.js +759 -0
- package/dist/bundled/v3/index-ce11b31b.js +1598 -0
- package/dist/bundled/v3/{index-0c287ab6.js → index-e0aaa8dc.js} +3 -3
- package/dist/bundled/{v2/index-3e178101.js → v3/index-fdffd536.js} +32 -471
- package/dist/bundled/v3/index.js +81 -81
- package/dist/bundled/{v2/isArrayLike-e7fb5cae.js → v3/isArrayLike-e46b8eac.js} +1 -1
- package/dist/bundled/v3/{isEqual-7a8e6106.js → isEqual-44382965.js} +1 -1
- package/dist/bundled/{v2/isObject-b7415fc1.js → v3/isObject-fe8b81fd.js} +1 -1
- package/dist/bundled/{v2/range-82efa3d4.js → v3/range-6f26eda4.js} +4 -4
- package/dist/bundled/v3/{round-567ede34.js → round-f34440f4.js} +4 -4
- package/dist/bundled/v3/{toFinite-bc59ffb0.js → toFinite-74227610.js} +1 -1
- package/dist/bundled/v3/{toInteger-9fa0151c.js → toInteger-2fd112a9.js} +1 -1
- package/dist/bundled/v3/{toString-b6e4472a.js → toString-f3196832.js} +1 -1
- package/dist/bundled/v3/utils/functions/dom.js +2 -2
- package/dist/bundled/v3/utils/index.js +1 -1
- package/dist/esm/v2/{OrCardCollection-c27ae76f.js → OrCardCollection-63ab1dc4.js} +3 -3
- package/dist/esm/v2/{OrCode-4501e2df.js → OrCode-adb9790d.js} +50 -36
- package/dist/esm/v2/{OrConfirm-4841e1eb.js → OrConfirm-f92dc7b5.js} +1 -1
- package/dist/esm/v2/{OrContextMenu-01efdb43.js → OrContextMenu-abf0c884.js} +2 -2
- package/dist/esm/v2/{OrDatePicker-528b55ec.js → OrDatePicker-c93e57ae.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-80bd401a.js → OrDateTimePicker-0bbe653c.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-8e987b8d.js → OrDateTimePicker.vue_rollup-plugin-vue_script-353b70fe.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-835e4e49.js → OrDateTimePickerPopoverHeader-6a40de37.js} +3 -3
- package/dist/esm/v2/{OrIconButton-6eda233c.js → OrIconButton-996aba66.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-9f88fff9.js → OrInlineInput-c3329db5.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-03e8b8a6.js → OrInlineTextarea-e9de4f1e.js} +1 -1
- package/dist/esm/v2/{OrInput-54abe165.js → OrInput-0d01816c.js} +1 -1
- package/dist/esm/v2/{OrMenu-c2c6473f.js → OrMenu-c7b05c91.js} +1 -1
- package/dist/esm/v2/{OrModal-8ea08182.js → OrModal-c6c922fd.js} +1 -1
- package/dist/esm/v2/{OrNotification-9875c55d.js → OrNotification-c119fcff.js} +1 -1
- package/dist/esm/v2/{OrPagination-c5058980.js → OrPagination-3f1b7a65.js} +2 -2
- package/dist/esm/v2/{OrPopover-f6114169.js → OrPopover-58fefa76.js} +1 -1
- package/dist/esm/v2/{OrSearch-8a834099.js → OrSearch-175c25d3.js} +1 -1
- package/dist/esm/v2/{OrSelect-cd37db8d.js → OrSelect-85acd45f.js} +4 -4
- package/dist/esm/v2/{OrSidebar-a5608742.js → OrSidebar-055f2c89.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-c999d09a.js → OrSidebarCollapseButton-12d111c5.js} +1 -1
- package/dist/esm/v2/{OrSorting-82557def.js → OrSorting-b350c4d3.js} +2 -2
- package/dist/esm/v2/{OrTabs-92ccb30f.js → OrTabs-f736863c.js} +2 -2
- package/dist/esm/v2/{OrTag-15cd89e8.js → OrTag-8ec63b23.js} +1 -1
- package/dist/esm/v2/{OrTagInput-f443f295.js → OrTagInput-7088d62f.js} +2 -2
- package/dist/esm/v2/{OrTags-b34c628e.js → OrTags-5ad71efd.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-e711a256.js → OrTimePicker-3d65dc1b.js} +4 -4
- package/dist/esm/v2/{OrTooltip-a4e679bb.js → OrTooltip-17f8a7ff.js} +1 -1
- package/dist/esm/v2/components/index.d.ts +0 -1
- package/dist/esm/v2/components/index.js +30 -54
- package/dist/esm/v2/components/or-card-collection-v3/index.js +8 -8
- package/dist/esm/v2/components/or-code-v3/OrCode.vue.d.ts +4 -3
- package/dist/esm/v2/components/or-code-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-code-v3/index.js +11 -14
- package/dist/esm/v2/components/or-code-v3/libs.d.ts +3 -0
- package/dist/esm/v2/components/or-confirm-v3/index.js +5 -5
- package/dist/esm/v2/components/or-context-menu-v3/index.js +3 -3
- package/dist/esm/v2/components/or-date-picker-v3/index.js +6 -6
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +7 -7
- package/dist/esm/v2/components/or-icon-button-v3/index.js +3 -3
- package/dist/esm/v2/components/or-inline-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/esm/v2/components/or-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-menu-v3/index.js +2 -2
- package/dist/esm/v2/components/or-modal-v3/index.js +4 -4
- package/dist/esm/v2/components/or-notification-v3/index.js +4 -4
- package/dist/esm/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v2/components/or-popover-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +5 -5
- package/dist/esm/v2/components/or-select-v3/index.js +6 -6
- package/dist/esm/v2/components/or-sidebar-v3/index.js +5 -5
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +4 -4
- package/dist/esm/v2/components/or-sorting-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tag-input-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tag-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tags-v3/index.js +5 -5
- package/dist/esm/v2/components/or-time-picker-v3/index.js +7 -7
- package/dist/esm/v2/components/or-toast-v3/index.js +4 -4
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tooltip-v3/index.js +2 -2
- package/dist/esm/v2/index.js +30 -54
- package/dist/esm/v2/{types-635157b1.js → types-b3ec7224.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-bddf72ef.js → OrCardCollection-2b5f1d79.js} +3 -3
- package/dist/esm/v3/{OrCode-a63c3a7b.js → OrCode-5457417e.js} +50 -36
- package/dist/esm/v3/{OrConfirm-d304e9a4.js → OrConfirm-bf771b4d.js} +1 -1
- package/dist/esm/v3/{OrContextMenu-bf1e07ae.js → OrContextMenu-2d8d26e9.js} +2 -2
- package/dist/esm/v3/{OrDatePicker-87aef206.js → OrDatePicker-88b59005.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-738f9cd3.js → OrDateTimePicker-f9e46f7e.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-03ae7d09.js → OrDateTimePickerPopoverHeader-d3058267.js} +3 -3
- package/dist/esm/v3/{OrIconButton-a69c7775.js → OrIconButton-c72e1a04.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-246d88ca.js → OrInlineInput-19a4ac87.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-c9febb84.js → OrInlineTextarea-0853564b.js} +1 -1
- package/dist/esm/v3/{OrInput-e12b0489.js → OrInput-7729da3b.js} +1 -1
- package/dist/esm/v3/{OrMenu-9a82f18f.js → OrMenu-3bcc528b.js} +1 -1
- package/dist/esm/v3/{OrModal-fc3bb76e.js → OrModal-fb37e638.js} +1 -1
- package/dist/esm/v3/{OrNotification-c8cd9f3d.js → OrNotification-5d385b61.js} +1 -1
- package/dist/esm/v3/{OrPagination-cc0b041a.js → OrPagination-d7acbb6b.js} +2 -2
- package/dist/esm/v3/{OrPopover-7b2af064.js → OrPopover-2132e8b9.js} +1 -1
- package/dist/esm/v3/{OrSearch-bc259374.js → OrSearch-16664742.js} +1 -1
- package/dist/esm/v3/{OrSelect-a7d3c84d.js → OrSelect-9001a22a.js} +4 -4
- package/dist/esm/v3/{OrSidebar-8837a93e.js → OrSidebar-83432ba3.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-f44951ac.js → OrSidebarCollapseButton-463aa3a0.js} +1 -1
- package/dist/esm/v3/{OrSorting-6baec1ab.js → OrSorting-aa200e88.js} +2 -2
- package/dist/esm/v3/{OrTabs-2ab1aefa.js → OrTabs-63ce33ae.js} +2 -2
- package/dist/esm/v3/{OrTag-2a3d7293.js → OrTag-5d7c0e75.js} +1 -1
- package/dist/esm/v3/{OrTagInput-ccb72239.js → OrTagInput-649f9b50.js} +2 -2
- package/dist/esm/v3/{OrTags-69e90412.js → OrTags-cb152033.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-a3870a62.js → OrTimePicker-f942db00.js} +4 -4
- package/dist/esm/v3/{OrTooltip-5bf6890a.js → OrTooltip-ad6e08ab.js} +1 -1
- package/dist/esm/v3/components/index.d.ts +0 -1
- package/dist/esm/v3/components/index.js +29 -53
- package/dist/esm/v3/components/or-card-collection-v3/index.js +8 -8
- package/dist/esm/v3/components/or-code-v3/OrCode.vue.d.ts +4 -3
- package/dist/esm/v3/components/or-code-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-code-v3/index.js +11 -14
- package/dist/esm/v3/components/or-code-v3/libs.d.ts +3 -0
- package/dist/esm/v3/components/or-confirm-v3/index.js +5 -5
- package/dist/esm/v3/components/or-context-menu-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-picker-v3/index.js +6 -6
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +6 -6
- package/dist/esm/v3/components/or-icon-button-v3/index.js +3 -3
- package/dist/esm/v3/components/or-inline-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/esm/v3/components/or-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-menu-v3/index.js +2 -2
- package/dist/esm/v3/components/or-modal-v3/index.js +4 -4
- package/dist/esm/v3/components/or-notification-v3/index.js +4 -4
- package/dist/esm/v3/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v3/components/or-popover-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +5 -5
- package/dist/esm/v3/components/or-select-v3/index.js +6 -6
- package/dist/esm/v3/components/or-sidebar-v3/index.js +5 -5
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +4 -4
- package/dist/esm/v3/components/or-sorting-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tabs-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tag-input-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tag-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tags-v3/index.js +5 -5
- package/dist/esm/v3/components/or-time-picker-v3/index.js +7 -7
- package/dist/esm/v3/components/or-toast-v3/index.js +4 -4
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tooltip-v3/index.js +2 -2
- package/dist/esm/v3/index.js +29 -53
- package/dist/esm/v3/{types-c4c1e2cc.js → types-777d6e58.js} +1 -1
- package/package.json +6 -22
- package/src/components/index.ts +0 -1
- package/src/components/or-code-v3/OrCode.vue +64 -50
- package/src/components/or-code-v3/index.ts +1 -0
- package/src/components/or-code-v3/libs.ts +6 -0
- package/src/components/or-popover-v3/OrPopover.vue +1 -1
- package/dist/bundled/v2/_commonjsHelpers-1789f0cf.js +0 -7
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -11640
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -194
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +0 -2
- package/dist/bundled/v2/components/OrRichTextEditorV3/props.d.ts +0 -5
- package/dist/bundled/v2/components/OrRichTextEditorV3/props.js +0 -7
- 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 -42
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -183
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -17
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -199
- 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 -2
- package/dist/bundled/v2/index-1b2cfcc1.js +0 -9715
- package/dist/bundled/v2/index-666dfe59.js +0 -4048
- package/dist/bundled/v2/index-9444e0d2.js +0 -115
- package/dist/bundled/v2/index-f671afe5.js +0 -7127
- package/dist/bundled/v2/markdown-119394e1.js +0 -15365
- package/dist/bundled/v2/useFocusTrap-d1b2c0b4.js +0 -1349
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-f1e9175d.js +0 -101
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-b01b8ae3.js +0 -11380
- package/dist/bundled/v3/_commonjsHelpers-1789f0cf.js +0 -7
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -202
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -194
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +0 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.d.ts +0 -5
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +0 -7
- 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 -42
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -183
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -17
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -199
- 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 -2
- package/dist/bundled/v3/index-1b2cfcc1.js +0 -9715
- package/dist/bundled/v3/index-666dfe59.js +0 -4048
- package/dist/bundled/v3/index-9444e0d2.js +0 -115
- package/dist/bundled/v3/index-f671afe5.js +0 -7127
- package/dist/bundled/v3/markdown-119394e1.js +0 -15365
- package/dist/esm/v2/OrRichTextEditor-6fb5d647.js +0 -981
- package/dist/esm/v2/codemirrorView-020fe885.js +0 -357
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -194
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +0 -67
- package/dist/esm/v2/components/or-rich-text-editor-v3/props.d.ts +0 -5
- 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 -9
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -17
- 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-d21645c2.js +0 -913
- package/dist/esm/v3/codemirrorView-020fe885.js +0 -357
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -194
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +0 -65
- package/dist/esm/v3/components/or-rich-text-editor-v3/props.d.ts +0 -5
- 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 -9
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -17
- 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.vue +0 -745
- package/src/components/or-rich-text-editor-v3/index.ts +0 -2
- package/src/components/or-rich-text-editor-v3/props.ts +0 -6
- package/src/components/or-rich-text-editor-v3/styles.ts +0 -53
- 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 -238
- 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 -172
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-c329e727.js → OrDateTimePickerMonthSelect-5c7d6cc7.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-146c2f16.js → OrDateTimePickerPopoverHeader-922f203c.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerTimeSelect-7286977a.js → OrDateTimePickerTimeSelect-fc9d4e29.js} +0 -0
- /package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-94976ae9.js → OrExpansionPanel.vue_vue_type_script_lang-e09daea9.js} +0 -0
|
@@ -1,357 +0,0 @@
|
|
|
1
|
-
import { TextSelection, Selection } from 'prosemirror-state';
|
|
2
|
-
import { exitCode } from 'prosemirror-commands';
|
|
3
|
-
import { EditorState } from '@codemirror/state';
|
|
4
|
-
import { EditorView, highlightActiveLine, highlightActiveLineGutter, lineNumbers, keymap } from '@codemirror/view';
|
|
5
|
-
import { HighlightStyle, syntaxHighlighting } from '@codemirror/language';
|
|
6
|
-
import { tags } from '@lezer/highlight';
|
|
7
|
-
import { u as useTheme } from './useTheme-0ef25778.js';
|
|
8
|
-
|
|
9
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
10
|
-
const themes = useTheme();
|
|
11
|
-
const chalky = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-6'],
|
|
12
|
-
coral = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-1'],
|
|
13
|
-
cyan = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-3'],
|
|
14
|
-
invalid = (_a = themes === null || themes === void 0 ? void 0 : themes.backgroundColor) === null || _a === void 0 ? void 0 : _a.white,
|
|
15
|
-
ivory = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-6'],
|
|
16
|
-
stone = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-5'],
|
|
17
|
-
// Brightened compared to original to increase contrast
|
|
18
|
-
malibu = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-3'],
|
|
19
|
-
sage = themes === null || themes === void 0 ? void 0 : themes.backgroundColor.success,
|
|
20
|
-
whiskey = themes === null || themes === void 0 ? void 0 : themes.backgroundColor.warning,
|
|
21
|
-
violet = themes === null || themes === void 0 ? void 0 : themes.backgroundColor['custom-colors-custom-1'];
|
|
22
|
-
/// The editor theme styles for One Dark.
|
|
23
|
-
const orCodeTheme = EditorView.theme({
|
|
24
|
-
'&': {
|
|
25
|
-
color: ivory,
|
|
26
|
-
backgroundColor: (_b = themes === null || themes === void 0 ? void 0 : themes.backgroundColor) === null || _b === void 0 ? void 0 : _b['bg-primary-container']
|
|
27
|
-
},
|
|
28
|
-
'.cm-editor': {
|
|
29
|
-
border: 'none',
|
|
30
|
-
borderRadius: (_c = themes === null || themes === void 0 ? void 0 : themes.spacing) === null || _c === void 0 ? void 0 : _c.xs
|
|
31
|
-
},
|
|
32
|
-
'&.cm-focused': {
|
|
33
|
-
outline: 'none'
|
|
34
|
-
},
|
|
35
|
-
'.cm-scroller': {
|
|
36
|
-
borderRadius: (_d = themes === null || themes === void 0 ? void 0 : themes.spacing) === null || _d === void 0 ? void 0 : _d.xs
|
|
37
|
-
},
|
|
38
|
-
'.cm-content': {
|
|
39
|
-
// caretColor: cursor,
|
|
40
|
-
},
|
|
41
|
-
'.cm-button': {
|
|
42
|
-
// background: highlightBackground,
|
|
43
|
-
// color: themes?.colors?.neutral?.[600],
|
|
44
|
-
border: 0,
|
|
45
|
-
borderRadius: (_e = themes === null || themes === void 0 ? void 0 : themes.spacing) === null || _e === void 0 ? void 0 : _e.xs
|
|
46
|
-
},
|
|
47
|
-
'.cm-panel.cm-search input[type=checkbox]': {
|
|
48
|
-
display: 'inline-block',
|
|
49
|
-
verticalAlign: 'middle'
|
|
50
|
-
},
|
|
51
|
-
// '.cm-cursor, .cm-dropCursor': { borderLeftColor: cursor },
|
|
52
|
-
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
|
53
|
-
// backgroundColor: selection,
|
|
54
|
-
},
|
|
55
|
-
'.cm-panels': {
|
|
56
|
-
// backgroundColor: darkBackground,
|
|
57
|
-
color: ivory
|
|
58
|
-
},
|
|
59
|
-
// '.cm-panels.cm-panels-top': { borderBottom: `2px solid ${themes?.colors?.neutral?.[200]}` },
|
|
60
|
-
// '.cm-panels.cm-panels-bottom': { borderTop: `2px solid ${themes?.colors?.neutral?.[200]}` },
|
|
61
|
-
'.cm-searchMatch': {
|
|
62
|
-
// backgroundColor: themes?.colors?.neutral?.[100],
|
|
63
|
-
// outline: `1px solid ${themes?.colors?.neutral?.[200]}`,
|
|
64
|
-
},
|
|
65
|
-
'.cm-searchMatch.cm-searchMatch-selected': {
|
|
66
|
-
// backgroundColor: themes?.colors?.sky?.[100],
|
|
67
|
-
},
|
|
68
|
-
'.cm-activeLine': {
|
|
69
|
-
backgroundColor: (_f = themes === null || themes === void 0 ? void 0 : themes.backgroundColor) === null || _f === void 0 ? void 0 : _f['bg-secondary-container']
|
|
70
|
-
},
|
|
71
|
-
// '.cm-selectionMatch': { backgroundColor: themes?.colors?.lime?.[500] },
|
|
72
|
-
'&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket': {
|
|
73
|
-
// backgroundColor: themes?.colors?.lime?.[600],
|
|
74
|
-
},
|
|
75
|
-
'.cm-gutters': {
|
|
76
|
-
backgroundColor: (_g = themes === null || themes === void 0 ? void 0 : themes.backgroundColor) === null || _g === void 0 ? void 0 : _g['primary-opacity-0-12'],
|
|
77
|
-
color: stone,
|
|
78
|
-
border: 'none'
|
|
79
|
-
},
|
|
80
|
-
'.cm-lineNumbers .cm-gutterElement': {
|
|
81
|
-
paddingLeft: (_h = themes === null || themes === void 0 ? void 0 : themes.spacing) === null || _h === void 0 ? void 0 : _h['sm+*'],
|
|
82
|
-
paddingRight: (_j = themes === null || themes === void 0 ? void 0 : themes.spacing) === null || _j === void 0 ? void 0 : _j['sm+*']
|
|
83
|
-
},
|
|
84
|
-
'.cm-activeLineGutter': {
|
|
85
|
-
backgroundColor: (_k = themes === null || themes === void 0 ? void 0 : themes.backgroundColor) === null || _k === void 0 ? void 0 : _k['primary-opacity-0-16']
|
|
86
|
-
},
|
|
87
|
-
'.cm-foldPlaceholder': {
|
|
88
|
-
backgroundColor: 'transparent',
|
|
89
|
-
border: 'none'
|
|
90
|
-
// color: themes?.colors?.neutral?.[200],
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
'.cm-tooltip': {
|
|
94
|
-
border: 'none'
|
|
95
|
-
// backgroundColor: tooltipBackground,
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
'.cm-tooltip .cm-tooltip-arrow:before': {
|
|
99
|
-
borderTopColor: 'transparent',
|
|
100
|
-
borderBottomColor: 'transparent'
|
|
101
|
-
},
|
|
102
|
-
'.cm-tooltip .cm-tooltip-arrow:after': {
|
|
103
|
-
// borderTopColor: tooltipBackground,
|
|
104
|
-
// borderBottomColor: tooltipBackground,
|
|
105
|
-
},
|
|
106
|
-
'.cm-tooltip-autocomplete': {
|
|
107
|
-
'& > ul > li[aria-selected]': {
|
|
108
|
-
// backgroundColor: highlightBackground,
|
|
109
|
-
color: ivory
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
'.cm-textfield': {
|
|
113
|
-
outline: 'none',
|
|
114
|
-
// background: background,
|
|
115
|
-
// color: themes?.colors?.neutral?.[600],
|
|
116
|
-
// backgroundColor: themes?.colors?.neutral?.[100],
|
|
117
|
-
// border: `1px solid ${themes?.colors?.neutral?.[200]}`,
|
|
118
|
-
borderRadius: (_l = themes === null || themes === void 0 ? void 0 : themes.spacing) === null || _l === void 0 ? void 0 : _l.xs
|
|
119
|
-
}
|
|
120
|
-
}, {
|
|
121
|
-
dark: true
|
|
122
|
-
});
|
|
123
|
-
/// The highlighting style for code in the One Dark theme.
|
|
124
|
-
const orCodeHighlightStyle = HighlightStyle.define([{
|
|
125
|
-
tag: tags.keyword,
|
|
126
|
-
color: violet
|
|
127
|
-
}, {
|
|
128
|
-
tag: [tags.name, tags.deleted, tags.character, tags.propertyName, tags.macroName],
|
|
129
|
-
color: coral
|
|
130
|
-
}, {
|
|
131
|
-
tag: [tags.function(tags.variableName), tags.labelName],
|
|
132
|
-
color: malibu
|
|
133
|
-
}, {
|
|
134
|
-
tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)],
|
|
135
|
-
color: whiskey
|
|
136
|
-
}, {
|
|
137
|
-
tag: [tags.definition(tags.name), tags.separator],
|
|
138
|
-
color: ivory
|
|
139
|
-
}, {
|
|
140
|
-
tag: [tags.typeName, tags.className, tags.number, tags.changed, tags.annotation, tags.modifier, tags.self, tags.namespace],
|
|
141
|
-
color: chalky
|
|
142
|
-
}, {
|
|
143
|
-
tag: [tags.operator, tags.operatorKeyword, tags.url, tags.escape, tags.regexp, tags.link, tags.special(tags.string)],
|
|
144
|
-
color: cyan
|
|
145
|
-
}, {
|
|
146
|
-
tag: [tags.meta, tags.comment],
|
|
147
|
-
color: stone
|
|
148
|
-
}, {
|
|
149
|
-
tag: tags.strong,
|
|
150
|
-
fontWeight: 'bold'
|
|
151
|
-
}, {
|
|
152
|
-
tag: tags.emphasis,
|
|
153
|
-
fontStyle: 'italic'
|
|
154
|
-
}, {
|
|
155
|
-
tag: tags.strikethrough,
|
|
156
|
-
textDecoration: 'line-through'
|
|
157
|
-
}, {
|
|
158
|
-
tag: tags.link,
|
|
159
|
-
color: stone,
|
|
160
|
-
textDecoration: 'underline'
|
|
161
|
-
}, {
|
|
162
|
-
tag: tags.heading,
|
|
163
|
-
fontWeight: 'bold',
|
|
164
|
-
color: coral
|
|
165
|
-
}, {
|
|
166
|
-
tag: [tags.atom, tags.bool, tags.special(tags.variableName)],
|
|
167
|
-
color: whiskey
|
|
168
|
-
}, {
|
|
169
|
-
tag: [tags.processingInstruction, tags.string, tags.inserted],
|
|
170
|
-
color: sage
|
|
171
|
-
}, {
|
|
172
|
-
tag: tags.invalid,
|
|
173
|
-
color: invalid
|
|
174
|
-
}]);
|
|
175
|
-
/// Extension to enable the One Dark theme (both the editor theme and
|
|
176
|
-
/// the highlight style).
|
|
177
|
-
const theme = [orCodeTheme, syntaxHighlighting(orCodeHighlightStyle)];
|
|
178
|
-
|
|
179
|
-
const computeChange = (oldVal, newVal) => {
|
|
180
|
-
if (oldVal === newVal) {
|
|
181
|
-
return null;
|
|
182
|
-
}
|
|
183
|
-
let start = 0;
|
|
184
|
-
let oldEnd = oldVal.length;
|
|
185
|
-
let newEnd = newVal.length;
|
|
186
|
-
while (start < oldEnd && oldVal.charCodeAt(start) === newVal.charCodeAt(start)) {
|
|
187
|
-
start += 1;
|
|
188
|
-
}
|
|
189
|
-
while (oldEnd > start && newEnd > start && oldVal.charCodeAt(oldEnd - 1) === newVal.charCodeAt(newEnd - 1)) {
|
|
190
|
-
oldEnd -= 1;
|
|
191
|
-
newEnd -= 1;
|
|
192
|
-
}
|
|
193
|
-
return {
|
|
194
|
-
from: start,
|
|
195
|
-
to: oldEnd,
|
|
196
|
-
text: newVal.slice(start, newEnd)
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
class CodeMirrorView {
|
|
200
|
-
constructor(options) {
|
|
201
|
-
var _a;
|
|
202
|
-
this.updating = false;
|
|
203
|
-
// Store for later
|
|
204
|
-
this.node = options.node;
|
|
205
|
-
this.view = options.view;
|
|
206
|
-
const cmExtensions = ((_a = options.cmOptions) === null || _a === void 0 ? void 0 : _a.extensions) || [];
|
|
207
|
-
this.name = 'codeBlock', this.getPos = options.getPos;
|
|
208
|
-
const changeFilter = EditorState.changeFilter.of(tr => {
|
|
209
|
-
if (!tr.docChanged && !this.updating) {
|
|
210
|
-
this.forwardSelection();
|
|
211
|
-
}
|
|
212
|
-
return true;
|
|
213
|
-
});
|
|
214
|
-
// Create a CodeMirror instancew
|
|
215
|
-
this.cm = new EditorView({
|
|
216
|
-
dispatch: this.dispatch.bind(this)
|
|
217
|
-
});
|
|
218
|
-
// The editor's outer node is our DOM representation
|
|
219
|
-
this.dom = this.cm.dom;
|
|
220
|
-
const cmState = EditorState.create({
|
|
221
|
-
doc: this.node.textContent,
|
|
222
|
-
extensions: [theme, changeFilter, highlightActiveLine(), highlightActiveLineGutter(), lineNumbers(), keymap.of([{
|
|
223
|
-
key: 'ArrowUp',
|
|
224
|
-
run: this.mayBeEscape('line', -1)
|
|
225
|
-
}, {
|
|
226
|
-
key: 'ArrowLeft',
|
|
227
|
-
run: this.mayBeEscape('char', -1)
|
|
228
|
-
}, {
|
|
229
|
-
key: 'ArrowDown',
|
|
230
|
-
run: this.mayBeEscape('line', 1)
|
|
231
|
-
}, {
|
|
232
|
-
key: 'ArrowRight',
|
|
233
|
-
run: this.mayBeEscape('char', 1)
|
|
234
|
-
}, {
|
|
235
|
-
key: 'Ctrl-Enter',
|
|
236
|
-
run: () => {
|
|
237
|
-
if (exitCode(this.view.state, this.view.dispatch)) {
|
|
238
|
-
this.view.focus();
|
|
239
|
-
return true;
|
|
240
|
-
}
|
|
241
|
-
return false;
|
|
242
|
-
}
|
|
243
|
-
}]), cmExtensions]
|
|
244
|
-
});
|
|
245
|
-
this.cm.setState(cmState);
|
|
246
|
-
}
|
|
247
|
-
forwardSelection() {
|
|
248
|
-
if (!this.cm.hasFocus) {
|
|
249
|
-
return;
|
|
250
|
-
}
|
|
251
|
-
const {
|
|
252
|
-
state
|
|
253
|
-
} = this.view;
|
|
254
|
-
const selection = this.asProseMirrorSelection(state.doc);
|
|
255
|
-
if (!selection.eq(state.selection)) {
|
|
256
|
-
this.view.dispatch(state.tr.setSelection(selection));
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
asProseMirrorSelection(doc) {
|
|
260
|
-
const offset = this.getPos() + 1;
|
|
261
|
-
const {
|
|
262
|
-
anchor,
|
|
263
|
-
head
|
|
264
|
-
} = this.cm.state.selection.main;
|
|
265
|
-
return TextSelection.create(doc, anchor + offset, head + offset);
|
|
266
|
-
}
|
|
267
|
-
dispatch(cmTr) {
|
|
268
|
-
this.cm.setState(cmTr.state);
|
|
269
|
-
if (cmTr.docChanged && !this.updating) {
|
|
270
|
-
const start = this.getPos() + 1;
|
|
271
|
-
const cmValue = cmTr.state.doc.toString();
|
|
272
|
-
const change = computeChange(this.node.textContent, cmValue);
|
|
273
|
-
if (!change) {
|
|
274
|
-
return;
|
|
275
|
-
}
|
|
276
|
-
const content = change.text ? this.view.state.schema.text(change.text) : null;
|
|
277
|
-
const tr = this.view.state.tr.replaceWith(change.from + start, change.to + start, content);
|
|
278
|
-
this.view.dispatch(tr);
|
|
279
|
-
this.forwardSelection();
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
mayBeEscape(unit, dir) {
|
|
283
|
-
return view => {
|
|
284
|
-
const {
|
|
285
|
-
state
|
|
286
|
-
} = view;
|
|
287
|
-
const {
|
|
288
|
-
selection
|
|
289
|
-
} = state;
|
|
290
|
-
const offsetToPos = () => {
|
|
291
|
-
const offset = selection.main.from;
|
|
292
|
-
const line = state.doc.lineAt(offset);
|
|
293
|
-
return {
|
|
294
|
-
line: line.number,
|
|
295
|
-
ch: offset - line.from
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
const pos = offsetToPos();
|
|
299
|
-
const hasSelection = state.selection.ranges.some(r => !r.empty);
|
|
300
|
-
const firstLine = 1;
|
|
301
|
-
const lastLine = state.doc.lineAt(state.doc.length).number;
|
|
302
|
-
if (hasSelection || pos.line !== (dir < 0 ? firstLine : lastLine) || unit === 'char' && pos.ch !== (dir < 0 ? 0 : state.doc.line(pos.line).length)) {
|
|
303
|
-
return false;
|
|
304
|
-
}
|
|
305
|
-
const targetPos = this.getPos() + (dir < 0 ? 0 : this.node.nodeSize);
|
|
306
|
-
const pmSelection = Selection.near(this.view.state.doc.resolve(targetPos), dir);
|
|
307
|
-
this.view.dispatch(this.view.state.tr.setSelection(pmSelection).scrollIntoView());
|
|
308
|
-
this.view.focus();
|
|
309
|
-
return true;
|
|
310
|
-
};
|
|
311
|
-
}
|
|
312
|
-
update(node) {
|
|
313
|
-
if (node.type !== this.node.type) {
|
|
314
|
-
return false;
|
|
315
|
-
}
|
|
316
|
-
this.node = node;
|
|
317
|
-
const change = computeChange(this.cm.state.doc.toString(), node.textContent);
|
|
318
|
-
if (change) {
|
|
319
|
-
this.updating = true;
|
|
320
|
-
this.cm.dispatch({
|
|
321
|
-
changes: {
|
|
322
|
-
from: change.from,
|
|
323
|
-
to: change.to,
|
|
324
|
-
insert: change.text
|
|
325
|
-
}
|
|
326
|
-
});
|
|
327
|
-
this.updating = false;
|
|
328
|
-
}
|
|
329
|
-
return true;
|
|
330
|
-
}
|
|
331
|
-
setSelection(anchor, head) {
|
|
332
|
-
this.focus();
|
|
333
|
-
this.updating = true;
|
|
334
|
-
this.cm.dispatch({
|
|
335
|
-
selection: {
|
|
336
|
-
anchor,
|
|
337
|
-
head
|
|
338
|
-
}
|
|
339
|
-
});
|
|
340
|
-
this.updating = false;
|
|
341
|
-
}
|
|
342
|
-
focus() {
|
|
343
|
-
this.cm.focus();
|
|
344
|
-
this.forwardSelection();
|
|
345
|
-
}
|
|
346
|
-
selectNode() {
|
|
347
|
-
this.focus();
|
|
348
|
-
}
|
|
349
|
-
stopEvent() {
|
|
350
|
-
return true;
|
|
351
|
-
}
|
|
352
|
-
destroy() {
|
|
353
|
-
this.cm.destroy();
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
export { CodeMirrorView as C };
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance, PropType } from 'vue-demi';
|
|
2
|
-
import { Formats, Tools } from './props';
|
|
3
|
-
import { Editor } from '@tiptap/core';
|
|
4
|
-
import { Level } from '@tiptap/extension-heading';
|
|
5
|
-
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
6
|
-
editor: Editor | null;
|
|
7
|
-
editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
8
|
-
toolbarRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
|
|
9
|
-
containerRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
|
|
10
|
-
toolbarButtonRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
11
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
12
|
-
} | string[], {} & {}, {
|
|
13
|
-
[x: number]: string;
|
|
14
|
-
} | {}, true> | undefined>;
|
|
15
|
-
moreButtonRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
16
|
-
textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
17
|
-
moreRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
18
|
-
menuRef: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
19
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
20
|
-
} | string[], {} & {}, {
|
|
21
|
-
[x: number]: string;
|
|
22
|
-
} | {}, true> | undefined>;
|
|
23
|
-
iconsEnum: import("@vue/composition-api").Ref<{
|
|
24
|
-
[x: string]: string;
|
|
25
|
-
}>;
|
|
26
|
-
handleToolbarClick: (item: string, level?: number) => void;
|
|
27
|
-
handleEditorClick: () => void;
|
|
28
|
-
isActive: import("@vue/composition-api").Ref<{
|
|
29
|
-
[x: string]: boolean;
|
|
30
|
-
}>;
|
|
31
|
-
iconTooltipsEnum: import("@vue/composition-api").Ref<{
|
|
32
|
-
[x: string]: string;
|
|
33
|
-
}>;
|
|
34
|
-
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
35
|
-
toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
36
|
-
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
37
|
-
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
38
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
39
|
-
editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
40
|
-
getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
|
|
41
|
-
headingLevels: Level[];
|
|
42
|
-
headingIcon: import("@vue/composition-api").ComputedRef<string>;
|
|
43
|
-
attachLink: () => Promise<void>;
|
|
44
|
-
discardLink: () => void;
|
|
45
|
-
isOpenLinkModal: import("@vue/composition-api").Ref<boolean>;
|
|
46
|
-
text: import("@vue/composition-api").Ref<string>;
|
|
47
|
-
link: import("@vue/composition-api").Ref<string>;
|
|
48
|
-
isFocused: import("@vue/composition-api").Ref<boolean>;
|
|
49
|
-
isVisible: (value: string | Array<string>) => boolean;
|
|
50
|
-
countOfNotVisibleTools: import("@vue/composition-api").Ref<number>;
|
|
51
|
-
notVisibleTools: import("@vue/composition-api").ComputedRef<Set<string>>;
|
|
52
|
-
handleInput: (event: InputEvent) => void;
|
|
53
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
54
|
-
disableMarkdown: import("@vue/composition-api").Ref<boolean>;
|
|
55
|
-
sourceValue: import("@vue/composition-api").Ref<string>;
|
|
56
|
-
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
57
|
-
modelValue: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
default: undefined;
|
|
60
|
-
};
|
|
61
|
-
toolbar: {
|
|
62
|
-
type: PropType<Tools>;
|
|
63
|
-
default: () => never[];
|
|
64
|
-
};
|
|
65
|
-
description: {
|
|
66
|
-
type: StringConstructor;
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
|
-
placeholder: {
|
|
70
|
-
type: StringConstructor;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
|
-
autofocus: {
|
|
74
|
-
type: BooleanConstructor;
|
|
75
|
-
default: boolean;
|
|
76
|
-
};
|
|
77
|
-
format: {
|
|
78
|
-
type: PropType<Formats>;
|
|
79
|
-
default: Formats;
|
|
80
|
-
};
|
|
81
|
-
fullHeight: {
|
|
82
|
-
type: BooleanConstructor;
|
|
83
|
-
default: boolean;
|
|
84
|
-
};
|
|
85
|
-
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
86
|
-
modelValue: {
|
|
87
|
-
type: StringConstructor;
|
|
88
|
-
default: undefined;
|
|
89
|
-
};
|
|
90
|
-
toolbar: {
|
|
91
|
-
type: PropType<Tools>;
|
|
92
|
-
default: () => never[];
|
|
93
|
-
};
|
|
94
|
-
description: {
|
|
95
|
-
type: StringConstructor;
|
|
96
|
-
default: string;
|
|
97
|
-
};
|
|
98
|
-
placeholder: {
|
|
99
|
-
type: StringConstructor;
|
|
100
|
-
default: string;
|
|
101
|
-
};
|
|
102
|
-
autofocus: {
|
|
103
|
-
type: BooleanConstructor;
|
|
104
|
-
default: boolean;
|
|
105
|
-
};
|
|
106
|
-
format: {
|
|
107
|
-
type: PropType<Formats>;
|
|
108
|
-
default: Formats;
|
|
109
|
-
};
|
|
110
|
-
fullHeight: {
|
|
111
|
-
type: BooleanConstructor;
|
|
112
|
-
default: boolean;
|
|
113
|
-
};
|
|
114
|
-
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
115
|
-
modelValue: string;
|
|
116
|
-
toolbar: Tools;
|
|
117
|
-
description: string;
|
|
118
|
-
placeholder: string;
|
|
119
|
-
autofocus: boolean;
|
|
120
|
-
format: Formats;
|
|
121
|
-
fullHeight: boolean;
|
|
122
|
-
} & {} & {
|
|
123
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
124
|
-
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
125
|
-
editor: Editor | null;
|
|
126
|
-
editorRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
127
|
-
toolbarRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
|
|
128
|
-
containerRef: import("@vue/composition-api").Ref<ComponentPublicInstance<HTMLInputElement, {}, {}, {}, {}, {}, HTMLInputElement, {}, false> | undefined>;
|
|
129
|
-
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, {
|
|
130
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
131
|
-
} | string[], {} & {}, {
|
|
132
|
-
[x: number]: string;
|
|
133
|
-
} | {}, true> | undefined>;
|
|
134
|
-
moreButtonRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
135
|
-
textareaRef: import("@vue/composition-api").Ref<HTMLTextAreaElement | undefined>;
|
|
136
|
-
moreRef: import("@vue/composition-api").Ref<HTMLDivElement | undefined>;
|
|
137
|
-
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, {
|
|
138
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
139
|
-
} | string[], {} & {}, {
|
|
140
|
-
[x: number]: string;
|
|
141
|
-
} | {}, true> | undefined>;
|
|
142
|
-
iconsEnum: import("@vue/composition-api").Ref<{
|
|
143
|
-
[x: string]: string;
|
|
144
|
-
}>;
|
|
145
|
-
handleToolbarClick: (item: string, level?: number) => void;
|
|
146
|
-
handleEditorClick: () => void;
|
|
147
|
-
isActive: import("@vue/composition-api").Ref<{
|
|
148
|
-
[x: string]: boolean;
|
|
149
|
-
}>;
|
|
150
|
-
iconTooltipsEnum: import("@vue/composition-api").Ref<{
|
|
151
|
-
[x: string]: string;
|
|
152
|
-
}>;
|
|
153
|
-
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
154
|
-
toolbarContainerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
155
|
-
toolbarStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
156
|
-
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
157
|
-
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
158
|
-
editorInputStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
159
|
-
getIndexOfHeading: import("@vue/composition-api").ComputedRef<number>;
|
|
160
|
-
headingLevels: Level[];
|
|
161
|
-
headingIcon: import("@vue/composition-api").ComputedRef<string>;
|
|
162
|
-
attachLink: () => Promise<void>;
|
|
163
|
-
discardLink: () => void;
|
|
164
|
-
isOpenLinkModal: import("@vue/composition-api").Ref<boolean>;
|
|
165
|
-
text: import("@vue/composition-api").Ref<string>;
|
|
166
|
-
link: import("@vue/composition-api").Ref<string>;
|
|
167
|
-
isFocused: import("@vue/composition-api").Ref<boolean>;
|
|
168
|
-
isVisible: (value: string | Array<string>) => boolean;
|
|
169
|
-
countOfNotVisibleTools: import("@vue/composition-api").Ref<number>;
|
|
170
|
-
notVisibleTools: import("@vue/composition-api").ComputedRef<Set<string>>;
|
|
171
|
-
handleInput: (event: InputEvent) => void;
|
|
172
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
173
|
-
disableMarkdown: import("@vue/composition-api").Ref<boolean>;
|
|
174
|
-
sourceValue: import("@vue/composition-api").Ref<string>;
|
|
175
|
-
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
176
|
-
modelValue: string;
|
|
177
|
-
toolbar: Tools;
|
|
178
|
-
description: string;
|
|
179
|
-
placeholder: string;
|
|
180
|
-
autofocus: boolean;
|
|
181
|
-
format: Formats;
|
|
182
|
-
fullHeight: boolean;
|
|
183
|
-
} & {} & {
|
|
184
|
-
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
185
|
-
}, {
|
|
186
|
-
modelValue: string;
|
|
187
|
-
toolbar: Tools;
|
|
188
|
-
description: string;
|
|
189
|
-
placeholder: string;
|
|
190
|
-
autofocus: boolean;
|
|
191
|
-
format: Formats;
|
|
192
|
-
fullHeight: boolean;
|
|
193
|
-
}, true>);
|
|
194
|
-
export default _default;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
export { F as Formats, _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-6fb5d647.js';
|
|
2
|
-
import 'vue-demi';
|
|
3
|
-
import '@vueuse/integrations/useFocusTrap';
|
|
4
|
-
import '@vueuse/core';
|
|
5
|
-
import 'prosemirror-markdown';
|
|
6
|
-
import 'prosemirror-model';
|
|
7
|
-
import '@tiptap/extension-paragraph';
|
|
8
|
-
import '@tiptap/extension-bullet-list';
|
|
9
|
-
import '@tiptap/extension-list-item';
|
|
10
|
-
import '@tiptap/extension-ordered-list';
|
|
11
|
-
import '@tiptap/extension-strike';
|
|
12
|
-
import '@tiptap/extension-italic';
|
|
13
|
-
import '@tiptap/extension-hard-break';
|
|
14
|
-
import '@tiptap/extension-bold';
|
|
15
|
-
import '@tiptap/extension-code-block';
|
|
16
|
-
import '@tiptap/extension-blockquote';
|
|
17
|
-
import '@tiptap/extension-link';
|
|
18
|
-
import '@tiptap/extension-highlight';
|
|
19
|
-
import '@tiptap/extension-underline';
|
|
20
|
-
import '../../OrIconButton-6eda233c.js';
|
|
21
|
-
import '../../OrIcon-d35a84d8.js';
|
|
22
|
-
import '../../normalize-component-6e8e3d80.js';
|
|
23
|
-
import '../../OrTooltip-a4e679bb.js';
|
|
24
|
-
import '../../dom-aecadd9a.js';
|
|
25
|
-
import 'lodash/isElement';
|
|
26
|
-
import 'lodash/get';
|
|
27
|
-
import '../../usePopoverState-b92c698b.js';
|
|
28
|
-
import '@onereach/styles/tailwind/plugins/core';
|
|
29
|
-
import '@onereach/styles/tailwind.config.json';
|
|
30
|
-
import '../../OrPopover-f6114169.js';
|
|
31
|
-
import '@floating-ui/dom';
|
|
32
|
-
import '../../useElevation-a50ec347.js';
|
|
33
|
-
import '../../useResponsive-5c8291da.js';
|
|
34
|
-
import '../../OrBottomSheet-eb065791.js';
|
|
35
|
-
import '../../OrOverlay-868d1120.js';
|
|
36
|
-
import '../../OrTeleport.vue2-424c7f33.js';
|
|
37
|
-
import 'portal-vue';
|
|
38
|
-
import '../../useTheme-0ef25778.js';
|
|
39
|
-
import '../../OrLabel-4a3d8904.js';
|
|
40
|
-
import '../../OrMenu-c2c6473f.js';
|
|
41
|
-
import '../../OrMenuItem-c1c97ebe.js';
|
|
42
|
-
import '../../OrModal-8ea08182.js';
|
|
43
|
-
import '../../OrInput-54abe165.js';
|
|
44
|
-
import '../../useIdAttribute-859439f0.js';
|
|
45
|
-
import '../../useProxyModelValue-940010d2.js';
|
|
46
|
-
import '../../useValidationAttributes-d1abbe34.js';
|
|
47
|
-
import '../../OrError-4ffc1c39.js';
|
|
48
|
-
import '../../OrHint-aa221198.js';
|
|
49
|
-
import '../../OrInputBox-7dc5b9e9.js';
|
|
50
|
-
import '../../OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
51
|
-
import '../../OrLoader-b0c381f9.js';
|
|
52
|
-
import '../../style-inject.es-4c6f2515.js';
|
|
53
|
-
import '../../OrButton-a23ee9f0.js';
|
|
54
|
-
import 'lodash';
|
|
55
|
-
import '@tiptap/core';
|
|
56
|
-
import '@tiptap/starter-kit';
|
|
57
|
-
import '@tiptap/extension-heading';
|
|
58
|
-
import '@tiptap/extension-placeholder';
|
|
59
|
-
import '../../codemirrorView-020fe885.js';
|
|
60
|
-
import 'prosemirror-state';
|
|
61
|
-
import 'prosemirror-commands';
|
|
62
|
-
import '@codemirror/state';
|
|
63
|
-
import '@codemirror/view';
|
|
64
|
-
import '@codemirror/language';
|
|
65
|
-
import '@lezer/highlight';
|
|
66
|
-
import 'codemirror';
|
|
67
|
-
import '@codemirror/lang-javascript';
|
|
@@ -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,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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as CodeMirrorView } from './codemirrorView';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { C as CodeMirrorView } from '../../../../codemirrorView-020fe885.js';
|
|
2
|
-
import 'prosemirror-state';
|
|
3
|
-
import 'prosemirror-commands';
|
|
4
|
-
import '@codemirror/state';
|
|
5
|
-
import '@codemirror/view';
|
|
6
|
-
import '@codemirror/language';
|
|
7
|
-
import '@lezer/highlight';
|
|
8
|
-
import '../../../../useTheme-0ef25778.js';
|
|
9
|
-
import '@onereach/styles/tailwind.config.json';
|