@onereach/ui-components 4.8.0-beta.2864.0 → 4.8.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-0c6c3bcc.js} +1 -1
- package/dist/bundled/v2/{_baseIsEqual-fe2002b6.js → _baseIsEqual-82d7a339.js} +5 -5
- package/dist/bundled/v2/_commonjsHelpers-48a9cab9.js +7 -0
- package/dist/bundled/v2/components/OrAvatar/OrAvatar.js +6 -6
- package/dist/bundled/v2/components/OrAvatar/index.js +6 -6
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +2 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +2 -2
- package/dist/bundled/v2/components/OrButtonV2/OrButton.js +6 -6
- package/dist/bundled/v2/components/OrButtonV2/index.js +6 -6
- package/dist/bundled/v2/components/OrButtonV3/OrButton.js +2 -2
- package/dist/bundled/v2/components/OrButtonV3/index.js +2 -2
- package/dist/bundled/v2/components/OrCardCollection/OrCardCollection.js +7 -7
- package/dist/bundled/v2/components/OrCardCollection/index.js +7 -7
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +2 -2
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +2 -2
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +6 -2
- package/dist/bundled/v2/components/OrCarousel/OrCarousel.js +6 -6
- package/dist/bundled/v2/components/OrCarousel/index.js +6 -6
- package/dist/bundled/v2/components/OrCheckbox/OrCheckbox.js +6 -6
- package/dist/bundled/v2/components/OrCheckbox/index.js +6 -6
- package/dist/bundled/v2/components/OrCheckboxGroupV3/OrCheckboxGroup.js +2 -2
- package/dist/bundled/v2/components/OrCheckboxGroupV3/index.js +2 -2
- package/dist/bundled/v2/components/OrCheckboxTreeV3/OrCheckboxTree.js +2 -2
- package/dist/bundled/v2/components/OrCheckboxTreeV3/index.js +2 -2
- package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +2 -2
- package/dist/bundled/v2/components/OrCheckboxV3/index.js +2 -2
- package/dist/bundled/v2/components/OrChip/OrChip.js +6 -6
- package/dist/bundled/v2/components/OrChip/index.js +6 -6
- package/dist/bundled/v2/components/OrChips/OrChips.js +6 -6
- package/dist/bundled/v2/components/OrChips/index.js +6 -6
- package/dist/bundled/v2/components/OrCode/OrCode.js +3800 -14
- package/dist/bundled/v2/components/OrCode/index.js +10 -14
- package/dist/bundled/v2/components/OrCode/lang.js +3 -4091
- package/dist/bundled/v2/components/OrCode/theme.js +1 -2
- package/dist/bundled/v2/components/OrCollapse/OrCollapse.js +6 -6
- package/dist/bundled/v2/components/OrCollapse/index.js +6 -6
- package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +8 -8
- package/dist/bundled/v2/components/OrColorPicker/index.js +8 -8
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +9 -10
- package/dist/bundled/v2/components/OrConfirm/index.js +9 -10
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +3 -3
- package/dist/bundled/v2/components/OrConfirmV3/index.js +3 -3
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +4 -4
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +4 -4
- package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +10 -10
- package/dist/bundled/v2/components/OrDateTimePicker/index.js +10 -10
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +5 -5
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +5 -5
- package/dist/bundled/v2/components/OrExpansionPanelV3/OrExpansionPanel.js +25 -33
- package/dist/bundled/v2/components/OrExpansionPanelV3/OrExpansionPanel.vue.d.ts +28 -15
- package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +3 -1
- package/dist/bundled/v2/components/OrExpansionPanelV3/props.d.ts +5 -0
- package/dist/bundled/v2/components/OrExpansionPanelV3/props.js +7 -1
- package/dist/bundled/v2/components/OrExpansionPanelV3/styles.d.ts +4 -3
- package/dist/bundled/v2/components/OrExpansionPanelV3/styles.js +17 -5
- package/dist/bundled/v2/components/OrFloating/OrFloating.js +6 -6
- package/dist/bundled/v2/components/OrFloating/index.js +6 -6
- package/dist/bundled/v2/components/OrIcon/OrIcon.js +6 -6
- package/dist/bundled/v2/components/OrIcon/index.js +6 -6
- package/dist/bundled/v2/components/OrIconButtonV2/OrIconButton.js +6 -6
- package/dist/bundled/v2/components/OrIconButtonV2/index.js +6 -6
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +2 -2
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +2 -2
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +8 -8
- package/dist/bundled/v2/components/OrInlineTextEdit/index.js +8 -8
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +2 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInput/OrInput.js +6 -6
- package/dist/bundled/v2/components/OrInput/index.js +6 -6
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -2
- package/dist/bundled/v2/components/OrInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrList/OrList.js +10 -10
- package/dist/bundled/v2/components/OrList/index.js +10 -10
- package/dist/bundled/v2/components/OrListOfInputs/OrListOfInputs.js +10 -10
- package/dist/bundled/v2/components/OrListOfInputs/index.js +10 -10
- package/dist/bundled/v2/components/OrLoaderV3/OrLoader.js +2 -2
- package/dist/bundled/v2/components/OrLoaderV3/index.js +2 -2
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +2 -2
- package/dist/bundled/v2/components/OrMenuV3/index.js +2 -2
- package/dist/bundled/v2/components/OrModal/OrModal.js +1353 -10
- package/dist/bundled/v2/components/OrModal/index.js +8 -9
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +4 -4
- package/dist/bundled/v2/components/OrModalV3/index.js +2 -2
- package/dist/bundled/v2/components/OrNotification/OrNotification.js +6 -6
- package/dist/bundled/v2/components/OrNotification/index.js +6 -6
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +2 -2
- package/dist/bundled/v2/components/OrNotificationV3/index.js +2 -2
- package/dist/bundled/v2/components/OrNumberInput/OrNumberInput.js +6 -6
- package/dist/bundled/v2/components/OrNumberInput/index.js +6 -6
- package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +8 -8
- package/dist/bundled/v2/components/OrOverflowMenu/index.js +8 -8
- package/dist/bundled/v2/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v2/components/OrOverlayV3/index.js +2 -2
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +2 -2
- package/dist/bundled/v2/components/OrPaginationV3/index.js +2 -2
- package/dist/bundled/v2/components/OrPassword/OrPassword.js +8 -8
- package/dist/bundled/v2/components/OrPassword/index.js +8 -8
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +2 -2
- package/dist/bundled/v2/components/OrPopoverV3/index.js +2 -2
- package/dist/bundled/v2/components/OrProgress/OrProgress.js +6 -6
- package/dist/bundled/v2/components/OrProgress/index.js +6 -6
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +8 -8
- package/dist/bundled/v2/components/OrProgressV3/index.js +8 -8
- package/dist/bundled/v2/components/OrRadio/OrRadio.js +8 -8
- package/dist/bundled/v2/components/OrRadio/index.js +8 -8
- package/dist/bundled/v2/components/OrRadioGroupV3/OrRadioGroup.js +2 -2
- package/dist/bundled/v2/components/OrRadioGroupV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSearch/OrSearch.js +7 -7
- package/dist/bundled/v2/components/OrSearch/index.js +7 -7
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +2 -2
- package/dist/bundled/v2/components/OrSearchV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSelect/OrSelect.js +11 -11
- package/dist/bundled/v2/components/OrSelect/index.js +11 -11
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +3 -3
- package/dist/bundled/v2/components/OrSelectV3/index.js +3 -3
- package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +2 -2
- package/dist/bundled/v2/components/OrSidebar/index.js +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSkeleton/index.js +6 -6
- package/dist/bundled/v2/components/OrSkeletonText/OrSkeletonText.js +6 -6
- package/dist/bundled/v2/components/OrSkeletonText/index.js +6 -6
- package/dist/bundled/v2/components/OrSkeletonTextV3/OrSkeletonText.js +6 -6
- package/dist/bundled/v2/components/OrSkeletonTextV3/index.js +6 -6
- package/dist/bundled/v2/components/OrSkeletonV3/index.js +6 -6
- package/dist/bundled/v2/components/OrSlider/OrSlider.js +8 -8
- package/dist/bundled/v2/components/OrSlider/index.js +8 -8
- package/dist/bundled/v2/components/OrStepper/OrStepper.js +6 -6
- package/dist/bundled/v2/components/OrStepper/index.js +6 -6
- package/dist/bundled/v2/components/OrSwitchV3/OrSwitch.js +2 -2
- package/dist/bundled/v2/components/OrSwitchV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +2 -2
- package/dist/bundled/v2/components/OrTabsV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTag/OrTag.js +6 -6
- package/dist/bundled/v2/components/OrTag/index.js +6 -6
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +2 -2
- package/dist/bundled/v2/components/OrTagV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +2 -2
- package/dist/bundled/v2/components/OrTagsV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTextV3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTextarea/OrTextarea.js +6 -6
- package/dist/bundled/v2/components/OrTextarea/OrTextarea.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTextarea/index.js +6 -6
- package/dist/bundled/v2/components/OrTextareaV3/OrTextarea.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTextbox/OrTextbox.js +6 -6
- package/dist/bundled/v2/components/OrTextbox/OrTextbox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTextbox/index.js +6 -6
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +4 -4
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +4 -4
- package/dist/bundled/v2/components/OrToast/OrToast.js +9 -9
- package/dist/bundled/v2/components/OrToast/OrToast.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrToast/Timer.js +1 -1
- package/dist/bundled/v2/components/OrToast/composable/index.js +2 -2
- package/dist/bundled/v2/components/OrToast/composable/useToast.js +2 -2
- package/dist/bundled/v2/components/OrToast/composable/useToastEventBus.js +2 -2
- package/dist/bundled/v2/components/OrToast/index.js +11 -11
- package/dist/bundled/v2/components/OrToastContainer/OrToastContainer.js +11 -11
- package/dist/bundled/v2/components/OrToastContainer/index.js +11 -11
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +2 -2
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/OrToast.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrToastV3/Timer.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/composable/index.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/composable/useToast.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/composable/useToastEventBus.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTooltip/OrTooltip.js +6 -6
- package/dist/bundled/v2/components/OrTooltip/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTooltip/index.js +6 -6
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/index.js +2 -2
- package/dist/bundled/v2/components/index.d.ts +0 -1
- package/dist/bundled/v2/components/index.js +23 -37
- package/dist/bundled/v2/{dom-c63a785e.js → dom-571739a2.js} +2 -2
- package/dist/bundled/v2/{eq-44ea4d70.js → eq-fa566495.js} +1 -1
- package/dist/bundled/{v3/get-34aa21f4.js → v2/get-73ac2f59.js} +3 -3
- package/dist/bundled/v2/hooks/index.js +3 -2
- package/dist/bundled/v2/hooks/useOverflow.js +2 -2
- package/dist/bundled/v2/hooks/usePopoverState.js +1 -1
- package/dist/bundled/v2/hooks/useResponsive/index.js +2 -2
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +2 -2
- package/dist/bundled/v2/hooks/useTheme.js +9 -2
- package/dist/bundled/{v3/index-749f3444.js → v2/index-15e8c1f3.js} +1 -1
- package/dist/bundled/v2/{index-af414338.js → index-c92e2839.js} +2 -2
- package/dist/bundled/v2/{index-a8488e2a.js → index-cf2c3c27.js} +115 -3
- package/dist/bundled/v2/{index-06f6bbe4.js → index-ec92055d.js} +1 -1
- package/dist/bundled/v2/index.js +26 -40
- package/dist/bundled/{v3/isArrayLike-e7fb5cae.js → v2/isArrayLike-acf249e3.js} +1 -1
- package/dist/bundled/v2/{isEqual-7a8e6106.js → isEqual-881b7bb5.js} +1 -1
- package/dist/bundled/v2/{isObject-b7415fc1.js → isObject-3a5b854d.js} +1 -1
- package/dist/bundled/{v3/index-c59372d3.js → v2/lang-0fb8f78b.js} +4028 -118
- package/dist/bundled/{v3/range-82efa3d4.js → v2/range-c87289f7.js} +4 -4
- package/dist/bundled/{v3/round-567ede34.js → v2/round-136c7e43.js} +4 -4
- package/dist/bundled/v2/{toFinite-bc59ffb0.js → toFinite-021b0c50.js} +1 -1
- package/dist/bundled/v2/{toInteger-9fa0151c.js → toInteger-db8a475d.js} +1 -1
- package/dist/bundled/{v3/toString-b6e4472a.js → v2/toString-47fa81b4.js} +1 -1
- package/dist/bundled/v2/utils/functions/dom.js +6 -6
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-cfa3c05a.js → OrAvatar.vue_vue_type_script_lang-552fce16.js} +1 -1
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-b6fc4564.js → OrBottomSheet.vue_vue_type_script_lang-214a0eea.js} +2 -2
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-bd0616f5.js → OrButton.vue_vue_type_script_lang-5b8437d7.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-d31ada75.js → OrButton.vue_vue_type_script_lang-e8969bd3.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-10e226e5.js → OrCardCollection.vue_vue_type_script_lang-eb86b548.js} +3 -3
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-146c51b3.js → OrCardCollection.vue_vue_type_script_lang-ec925f28.js} +4 -4
- package/dist/bundled/v3/{OrCarousel.vue_vue_type_script_lang-b86f4881.js → OrCarousel.vue_vue_type_script_lang-75c50882.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-0fcd7886.js → OrCheckbox.vue_vue_type_script_lang-616a0cce.js} +1 -1
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-ef27ad4f.js → OrCheckbox.vue_vue_type_script_lang-dedfe767.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-bf90c3cc.js → OrCheckboxGroup.vue_vue_type_script_lang-6946b630.js} +2 -2
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-96fce5bf.js → OrCheckboxTree.vue_vue_type_script_lang-e2647349.js} +4 -4
- package/dist/bundled/v3/{OrChip.vue_vue_type_script_lang-2db4ca5f.js → OrChip.vue_vue_type_script_lang-d0c62419.js} +1 -1
- package/dist/bundled/v3/{OrChips.vue_vue_type_script_lang-5cc7b9c5.js → OrChips.vue_vue_type_script_lang-d7a38038.js} +1 -1
- package/dist/bundled/v3/{index-71dbceb9.js → OrCode.vue_vue_type_script_lang-46846a36.js} +237 -16
- package/dist/bundled/v3/{OrCollapse.vue_vue_type_script_lang-cb59602e.js → OrCollapse.vue_vue_type_script_lang-e2dcce92.js} +1 -1
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-4316c324.js → OrColorPicker.vue_vue_type_script_lang-2e1845d8.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-13e68466.js → OrConfirm.vue_vue_type_script_lang-0f1a6320.js} +6 -6
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-e8ef48a9.js → OrConfirm.vue_vue_type_script_lang-51f9e144.js} +6 -6
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-4f3f5b5c.js → OrDatePicker.vue_vue_type_script_lang-3f8700f9.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-ed5b6140.js → OrDateTimePicker.vue_vue_type_script_lang-882ae7ce.js} +7 -7
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-362fe280.js → OrDateTimePicker.vue_vue_type_script_lang-ecd7cbd1.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-21ea52e0.js → OrDateTimePickerMonthSelect-8857f024.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-cbe4de91.js → OrDateTimePickerPopoverHeader-bb988d7c.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-c2ad08b5.js → OrDateTimePickerTimeSelect-01a39297.js} +1 -1
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-d4ed6199.js → OrExpansionPanel.vue_vue_type_script_lang-ca9d5307.js} +20 -29
- package/dist/bundled/v3/{OrFloating.vue_vue_type_script_lang-e9651a20.js → OrFloating.vue_vue_type_script_lang-d762f4b0.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-07b2911f.js → OrIcon.vue_vue_type_script_lang-b77bb268.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-bfc73aee.js → OrIconButton.vue_vue_type_script_lang-c3a78c23.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-edca94e3.js → OrIconButton.vue_vue_type_script_lang-e078ed4c.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-bd15a7db.js → OrInlineInput.vue_vue_type_script_lang-c4fb7c0e.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-f7361ecf.js → OrInlineTextEdit.vue_vue_type_script_lang-588178e5.js} +4 -4
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-2cbf86de.js → OrInlineTextarea.vue_vue_type_script_lang-4569f111.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-aa2c7f93.js → OrInput.vue_vue_type_script_lang-1be980cf.js} +2 -2
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-35c96f72.js → OrInput.vue_vue_type_script_lang-a9fe34c8.js} +2 -2
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-9b181723.js → OrList.vue_vue_type_script_lang-c6f46a0e.js} +11 -11
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-03aaa0c5.js → OrListOfInputs.vue_vue_type_script_lang-04af76e1.js} +4 -4
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-1e4c32ee.js → OrLoader.vue_vue_type_script_lang-f076f6b3.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-1311d4b9.js → OrMenu.vue_vue_type_script_lang-8fa5ef6c.js} +1 -1
- package/dist/bundled/v3/{useFocusTrap-a61a80ac.js → OrModal.vue_vue_type_script_lang-153819d3.js} +100 -4
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-9be48616.js → OrModal.vue_vue_type_script_lang-83469d51.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-ad495e91.js → OrNotification.vue_vue_type_script_lang-242a7186.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-502ed8a9.js → OrNotification.vue_vue_type_script_lang-86084f5e.js} +2 -2
- package/dist/bundled/v3/{OrNumberInput.vue_vue_type_script_lang-5cc8b2da.js → OrNumberInput.vue_vue_type_script_lang-9d6763fa.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-6f638b85.js → OrOverflowMenu.vue_vue_type_script_lang-ba3b94e2.js} +5 -5
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-4a4c532b.js → OrOverlay.vue_vue_type_script_lang-0fdf19ba.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-d502da20.js → OrPagination.vue_vue_type_script_lang-193cf67a.js} +2 -2
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-dd83931a.js → OrPassword.vue_vue_type_script_lang-fc9e7dc8.js} +3 -3
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-6b004f70.js → OrPopover.vue_vue_type_script_lang-506ae7bb.js} +2 -2
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-21e68897.js → OrProgress.vue_vue_type_script_lang-6a2fef77.js} +2 -2
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-c4bd7133.js → OrProgress.vue_vue_type_script_lang-89224310.js} +1 -1
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-a4f043e9.js → OrRadio.vue_vue_type_script_lang-0c087270.js} +2 -2
- package/dist/bundled/v3/{OrRadioGroup.vue_vue_type_script_lang-4b4d1420.js → OrRadioGroup.vue_vue_type_script_lang-a82cb83b.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-aa9b5ade.js → OrSearch.vue_vue_type_script_lang-8a82fdc6.js} +2 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-838829f3.js → OrSearch.vue_vue_type_script_lang-933e71b8.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-6c96d433.js → OrSelect.vue_vue_type_script_lang-45cf8f8c.js} +11 -11
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-0c3d1706.js → OrSelect.vue_vue_type_script_lang-85fcf3fa.js} +5 -5
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-fe974154.js → OrSidebar.vue_vue_type_script_lang-3d9676ea.js} +2 -2
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-2681fb99.js → OrSidebar.vue_vue_type_script_lang-56608f4a.js} +1 -1
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-502607ef.js → OrSkeletonText.vue_vue_type_script_lang-6703fb3a.js} +1 -1
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-cfe360bb.js → OrSkeletonText.vue_vue_type_script_lang-e068a58a.js} +1 -1
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-64fd2e26.js → OrSlider.vue_vue_type_script_lang-2a698707.js} +3 -3
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-86cd3578.js → OrStepper.vue_vue_type_script_lang-999e65f6.js} +1 -1
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-cde58199.js → OrSwitch.vue_vue_type_script_lang-5a6d0202.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-c3638bf9.js → OrTabs.vue_vue_type_script_lang-2d08458d.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-7678b27e.js → OrTag.vue_vue_type_script_lang-42a69c16.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-4b730bd2.js → OrTag.vue_vue_type_script_lang-c7065625.js} +1 -1
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-d484a2f3.js → OrTags.vue_vue_type_script_lang-c14463c4.js} +3 -3
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-c33e1ba6.js → OrTextarea.vue_vue_type_script_lang-af7cab22.js} +2 -2
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-9cc85105.js → OrTextbox.vue_vue_type_script_lang-80e42d58.js} +3 -3
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-5da30822.js → OrTimePicker.vue_vue_type_script_lang-845ec78b.js} +4 -4
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-264bae2e.js → OrToastContainer.vue_vue_type_script_lang-c47d63be.js} +1 -1
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-e19162ff.js → OrToastContainer.vue_vue_type_script_lang-d1a074fe.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-637482e6.js → OrTooltip.vue_vue_type_script_lang-227592d8.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-14087bc3.js → OrTooltip.vue_vue_type_script_lang-3bf79d56.js} +1 -1
- package/dist/bundled/{v2/_baseAssignValue-2250dbc9.js → v3/_baseAssignValue-0c6c3bcc.js} +1 -1
- package/dist/bundled/v3/{_baseIsEqual-fe2002b6.js → _baseIsEqual-82d7a339.js} +5 -5
- package/dist/bundled/v3/_commonjsHelpers-48a9cab9.js +7 -0
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.js +10 -10
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.vue.d.ts +11 -26
- package/dist/bundled/v3/components/OrAvatar/index.js +9 -9
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +8 -24
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +5 -5
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +17 -33
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +4 -4
- package/dist/bundled/v3/components/OrButton/OrButton.vue.d.ts +16 -51
- package/dist/bundled/v3/components/OrButtonV2/OrButton.js +10 -10
- package/dist/bundled/v3/components/OrButtonV2/OrButton.vue.d.ts +20 -57
- package/dist/bundled/v3/components/OrButtonV2/index.js +11 -11
- package/dist/bundled/v3/components/OrButtonV3/OrButton.js +5 -5
- package/dist/bundled/v3/components/OrButtonV3/OrButton.vue.d.ts +15 -35
- package/dist/bundled/v3/components/OrButtonV3/index.js +4 -4
- package/dist/bundled/v3/components/OrCard/OrCard.vue.d.ts +7 -15
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +16 -16
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.vue.d.ts +21 -47
- package/dist/bundled/v3/components/OrCardCollection/index.js +15 -15
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +14 -14
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +22 -70
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +13 -13
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +6 -2
- package/dist/bundled/v3/components/OrCardV3/OrCard.vue.d.ts +4 -7
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.js +10 -10
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.vue.d.ts +126 -676
- package/dist/bundled/v3/components/OrCarousel/index.js +9 -9
- package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.js +10 -10
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.vue.d.ts +15 -35
- package/dist/bundled/v3/components/OrCheckbox/index.js +9 -9
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +8 -8
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +6 -24
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +7 -7
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +7 -7
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +17 -43
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +6 -6
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +4 -4
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +23 -53
- package/dist/bundled/v3/components/OrCheckboxV3/index.js +3 -3
- package/dist/bundled/v3/components/OrChip/OrChip.js +10 -10
- package/dist/bundled/v3/components/OrChip/OrChip.vue.d.ts +9 -25
- package/dist/bundled/v3/components/OrChip/index.js +9 -9
- package/dist/bundled/v3/components/OrChips/OrChips.js +11 -11
- package/dist/bundled/v3/components/OrChips/OrChips.vue.d.ts +24 -51
- package/dist/bundled/v3/components/OrChips/index.js +10 -10
- package/dist/bundled/v3/components/OrCode/OrCode.js +18 -22
- package/dist/bundled/v3/components/OrCode/OrCode.vue.d.ts +24 -69
- package/dist/bundled/v3/components/OrCode/index.js +16 -20
- package/dist/bundled/v3/components/OrCode/lang.js +3 -4091
- package/dist/bundled/v3/components/OrCode/theme.js +1 -2
- package/dist/bundled/v3/components/OrCollapse/OrCollapse.js +8 -8
- package/dist/bundled/v3/components/OrCollapse/OrCollapse.vue.d.ts +17 -39
- package/dist/bundled/v3/components/OrCollapse/index.js +7 -7
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +11 -11
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.vue.d.ts +13 -31
- package/dist/bundled/v3/components/OrColorPicker/index.js +10 -10
- package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.vue.d.ts +8 -30
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +19 -20
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.vue.d.ts +23 -84
- package/dist/bundled/v3/components/OrConfirm/index.js +18 -19
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +13 -13
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +30 -91
- package/dist/bundled/v3/components/OrConfirmV3/index.js +12 -12
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +14 -14
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.vue.d.ts +25 -81
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +13 -13
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +17 -17
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.vue.d.ts +68 -177
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +16 -16
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +15 -15
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +31 -105
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +14 -14
- package/dist/bundled/v3/components/OrEmptyStateV3/OrEmptyState.vue.d.ts +11 -28
- package/dist/bundled/v3/components/OrError/OrError.vue.d.ts +4 -8
- package/dist/bundled/v3/components/OrErrorTagV3/OrErrorTag.vue.d.ts +4 -7
- package/dist/bundled/v3/components/OrErrorV3/OrError.vue.d.ts +9 -18
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.js +7 -5
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.vue.d.ts +34 -44
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +4 -2
- package/dist/bundled/v3/components/OrExpansionPanelV3/props.d.ts +5 -0
- package/dist/bundled/v3/components/OrExpansionPanelV3/props.js +7 -1
- package/dist/bundled/v3/components/OrExpansionPanelV3/styles.d.ts +4 -3
- package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +17 -5
- package/dist/bundled/v3/components/OrFabV3/OrFab.vue.d.ts +8 -20
- package/dist/bundled/v3/components/OrFloating/OrFloating.js +8 -8
- package/dist/bundled/v3/components/OrFloating/OrFloating.vue.d.ts +15 -46
- package/dist/bundled/v3/components/OrFloating/index.js +7 -7
- package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.vue.d.ts +10 -30
- package/dist/bundled/v3/components/OrHint/OrHint.vue.d.ts +4 -8
- package/dist/bundled/v3/components/OrHintV3/OrHint.vue.d.ts +9 -18
- package/dist/bundled/v3/components/OrIcon/OrIcon.js +9 -9
- package/dist/bundled/v3/components/OrIcon/OrIcon.vue.d.ts +16 -44
- package/dist/bundled/v3/components/OrIcon/index.js +8 -8
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.js +11 -11
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +13 -43
- package/dist/bundled/v3/components/OrIconButtonV2/index.js +10 -10
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +8 -8
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.vue.d.ts +16 -52
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +7 -7
- package/dist/bundled/v3/components/OrIconV3/OrIcon.vue.d.ts +7 -18
- package/dist/bundled/v3/components/OrInlineInputBoxV3/OrInlineInputBox.vue.d.ts +7 -16
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +9 -9
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.vue.d.ts +39 -83
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +8 -8
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +15 -15
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.vue.d.ts +43 -95
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +14 -14
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +9 -9
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +39 -79
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +8 -8
- package/dist/bundled/v3/components/OrInput/OrInput.js +9 -9
- package/dist/bundled/v3/components/OrInput/OrInput.vue.d.ts +36 -87
- package/dist/bundled/v3/components/OrInput/index.js +8 -8
- package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.vue.d.ts +7 -22
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +10 -10
- package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +34 -85
- package/dist/bundled/v3/components/OrInputV3/index.js +9 -9
- package/dist/bundled/v3/components/OrLabel/OrLabel.vue.d.ts +9 -20
- package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +9 -24
- package/dist/bundled/v3/components/OrLinkV3/OrLink.vue.d.ts +7 -24
- package/dist/bundled/v3/components/OrList/OrList.js +17 -17
- package/dist/bundled/v3/components/OrList/OrList.vue.d.ts +21 -47
- package/dist/bundled/v3/components/OrList/index.js +16 -16
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.js +20 -20
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.vue.d.ts +11 -27
- package/dist/bundled/v3/components/OrListOfInputs/index.js +19 -19
- package/dist/bundled/v3/components/OrLoader/OrLoader.vue.d.ts +10 -26
- package/dist/bundled/v3/components/OrLoaderV3/OrLoader.js +4 -4
- package/dist/bundled/v3/components/OrLoaderV3/OrLoader.vue.d.ts +13 -34
- package/dist/bundled/v3/components/OrLoaderV3/index.js +3 -3
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.vue.d.ts +13 -34
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +7 -7
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +15 -31
- package/dist/bundled/v3/components/OrMenuV3/index.js +6 -6
- package/dist/bundled/v3/components/OrModal/OrModal.js +14 -15
- package/dist/bundled/v3/components/OrModal/OrModal.vue.d.ts +14 -38
- package/dist/bundled/v3/components/OrModal/index.js +13 -14
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +9 -9
- package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +13 -25
- package/dist/bundled/v3/components/OrModalV3/index.js +8 -8
- package/dist/bundled/v3/components/OrNotification/OrNotification.js +12 -12
- package/dist/bundled/v3/components/OrNotification/OrNotification.vue.d.ts +9 -27
- package/dist/bundled/v3/components/OrNotification/index.js +11 -11
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +9 -9
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.vue.d.ts +9 -20
- package/dist/bundled/v3/components/OrNotificationV3/index.js +8 -8
- package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.js +10 -10
- package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.vue.d.ts +24 -70
- package/dist/bundled/v3/components/OrNumberInput/index.js +9 -9
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +15 -15
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.vue.d.ts +13 -31
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +14 -14
- package/dist/bundled/v3/components/OrOverlay/OrOverlay.vue.d.ts +6 -16
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +4 -4
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.vue.d.ts +7 -14
- package/dist/bundled/v3/components/OrOverlayV3/index.js +3 -3
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +10 -10
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +27 -75
- package/dist/bundled/v3/components/OrPaginationV3/index.js +9 -9
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +16 -16
- package/dist/bundled/v3/components/OrPassword/OrPassword.vue.d.ts +22 -63
- package/dist/bundled/v3/components/OrPassword/index.js +15 -15
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +6 -6
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +24 -74
- package/dist/bundled/v3/components/OrPopoverV3/index.js +5 -5
- package/dist/bundled/v3/components/OrProgress/OrProgress.js +8 -8
- package/dist/bundled/v3/components/OrProgress/OrProgress.vue.d.ts +20 -56
- package/dist/bundled/v3/components/OrProgress/index.js +7 -7
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +10 -10
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.vue.d.ts +25 -62
- package/dist/bundled/v3/components/OrProgressV3/index.js +9 -9
- package/dist/bundled/v3/components/OrRadio/OrRadio.js +10 -10
- package/dist/bundled/v3/components/OrRadio/OrRadio.vue.d.ts +13 -35
- package/dist/bundled/v3/components/OrRadio/index.js +9 -9
- package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.vue.d.ts +9 -26
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +4 -4
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +6 -32
- package/dist/bundled/v3/components/OrRadioGroupV3/index.js +3 -3
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.vue.d.ts +21 -49
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +15 -15
- package/dist/bundled/v3/components/OrSearch/OrSearch.vue.d.ts +23 -65
- package/dist/bundled/v3/components/OrSearch/index.js +14 -14
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +11 -11
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.vue.d.ts +17 -41
- package/dist/bundled/v3/components/OrSearchV3/index.js +10 -10
- package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.vue.d.ts +9 -25
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +17 -17
- package/dist/bundled/v3/components/OrSelect/OrSelect.vue.d.ts +28 -77
- package/dist/bundled/v3/components/OrSelect/index.js +16 -16
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +15 -15
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +38 -117
- package/dist/bundled/v3/components/OrSelectV3/index.js +14 -14
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +4 -4
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.vue.d.ts +14 -33
- package/dist/bundled/v3/components/OrSidebar/index.js +3 -3
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +9 -9
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.vue.d.ts +28 -63
- package/dist/bundled/v3/components/OrSidebarV3/index.js +8 -8
- package/dist/bundled/v3/components/OrSkeleton/index.js +7 -7
- package/dist/bundled/v3/components/OrSkeletonCircle/OrSkeletonCircle.vue.d.ts +9 -20
- package/dist/bundled/v3/components/OrSkeletonCircleV3/OrSkeletonCircle.vue.d.ts +13 -28
- package/dist/bundled/v3/components/OrSkeletonRect/OrSkeletonRect.vue.d.ts +9 -22
- package/dist/bundled/v3/components/OrSkeletonRectV3/OrSkeletonRect.vue.d.ts +11 -26
- package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.js +8 -8
- package/dist/bundled/v3/components/OrSkeletonText/OrSkeletonText.vue.d.ts +10 -26
- package/dist/bundled/v3/components/OrSkeletonText/index.js +7 -7
- package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.js +8 -8
- package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.vue.d.ts +16 -40
- package/dist/bundled/v3/components/OrSkeletonTextV3/index.js +7 -7
- package/dist/bundled/v3/components/OrSkeletonV3/index.js +7 -7
- package/dist/bundled/v3/components/OrSlider/OrSlider.js +12 -12
- package/dist/bundled/v3/components/OrSlider/OrSlider.vue.d.ts +35 -91
- package/dist/bundled/v3/components/OrSlider/index.js +11 -11
- package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.vue.d.ts +13 -25
- package/dist/bundled/v3/components/OrStepper/OrStepper.js +11 -11
- package/dist/bundled/v3/components/OrStepper/OrStepper.vue.d.ts +16 -43
- package/dist/bundled/v3/components/OrStepper/index.js +10 -10
- package/dist/bundled/v3/components/OrSwitch/OrSwitch.vue.d.ts +12 -33
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +5 -5
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.vue.d.ts +22 -53
- package/dist/bundled/v3/components/OrSwitchV3/index.js +4 -4
- package/dist/bundled/v3/components/OrTab/OrTab.vue.d.ts +9 -22
- package/dist/bundled/v3/components/OrTabHeaderItem/OrTabHeaderItem.vue.d.ts +13 -29
- package/dist/bundled/v3/components/OrTabV3/OrTab.vue.d.ts +10 -17
- package/dist/bundled/v3/components/OrTabs/OrTabs.vue.d.ts +4 -17
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +8 -8
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.vue.d.ts +25 -71
- package/dist/bundled/v3/components/OrTabsV3/index.js +7 -7
- package/dist/bundled/v3/components/OrTag/OrTag.js +10 -10
- package/dist/bundled/v3/components/OrTag/OrTag.vue.d.ts +10 -27
- package/dist/bundled/v3/components/OrTag/index.js +9 -9
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +9 -9
- package/dist/bundled/v3/components/OrTagV3/OrTag.vue.d.ts +12 -23
- package/dist/bundled/v3/components/OrTagV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +12 -12
- package/dist/bundled/v3/components/OrTagsV3/OrTags.vue.d.ts +19 -63
- package/dist/bundled/v3/components/OrTagsV3/index.js +11 -11
- package/dist/bundled/v3/components/OrTeleport/OrTeleport.vue3.vue.d.ts +4 -10
- package/dist/bundled/v3/components/OrTeleportV3/OrTeleport.vue3.vue.d.ts +4 -10
- package/dist/bundled/v3/components/OrTextV3/OrText.vue.d.ts +11 -24
- package/dist/bundled/v3/components/OrTextarea/OrTextarea.js +9 -9
- package/dist/bundled/v3/components/OrTextarea/OrTextarea.vue.d.ts +37 -85
- package/dist/bundled/v3/components/OrTextarea/index.js +8 -8
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.vue.d.ts +32 -73
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.js +13 -13
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.vue.d.ts +55 -137
- package/dist/bundled/v3/components/OrTextbox/index.js +12 -12
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +13 -13
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.vue.d.ts +25 -79
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +12 -12
- package/dist/bundled/v3/components/OrToast/OrToast.js +14 -14
- package/dist/bundled/v3/components/OrToast/OrToast.vue.d.ts +11 -31
- package/dist/bundled/v3/components/OrToast/Timer.js +1 -1
- package/dist/bundled/v3/components/OrToast/composable/index.js +2 -2
- package/dist/bundled/v3/components/OrToast/composable/useToast.js +2 -2
- package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.js +2 -2
- package/dist/bundled/v3/components/OrToast/index.js +17 -17
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +18 -18
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +25 -55
- package/dist/bundled/v3/components/OrToastContainer/index.js +17 -17
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +10 -10
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.vue.d.ts +24 -54
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +9 -9
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +8 -8
- package/dist/bundled/v3/components/OrToastV3/OrToast.vue.d.ts +16 -38
- package/dist/bundled/v3/components/OrToastV3/Timer.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/composable/index.js +2 -2
- package/dist/bundled/v3/components/OrToastV3/composable/useToast.js +2 -2
- package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.js +2 -2
- package/dist/bundled/v3/components/OrToastV3/index.js +9 -9
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.js +9 -9
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.vue.d.ts +14 -33
- package/dist/bundled/v3/components/OrTooltip/index.js +8 -8
- package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.vue.d.ts +4 -10
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +7 -7
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +15 -31
- package/dist/bundled/v3/components/OrTooltipV3/index.js +6 -6
- package/dist/bundled/v3/components/index.d.ts +0 -1
- package/dist/bundled/v3/components/index.js +94 -109
- package/dist/bundled/v3/directives/dropdown-close.d.ts +3 -1
- package/dist/bundled/v3/directives/dropdown-open.d.ts +3 -1
- package/dist/bundled/v3/{dom-c63a785e.js → dom-571739a2.js} +2 -2
- package/dist/bundled/v3/{eq-44ea4d70.js → eq-fa566495.js} +1 -1
- package/dist/bundled/{v2/get-34aa21f4.js → v3/get-73ac2f59.js} +3 -3
- package/dist/bundled/v3/hooks/index.js +3 -2
- package/dist/bundled/v3/hooks/useOverflow.js +2 -2
- package/dist/bundled/v3/hooks/usePopoverState.js +1 -1
- package/dist/bundled/v3/hooks/useResponsive/index.js +2 -2
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.d.ts +2 -2
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +2 -2
- package/dist/bundled/v3/hooks/useTheme.js +9 -2
- package/dist/bundled/v3/{index-ae815a7e.js → index-09d1cb24.js} +2 -2
- package/dist/bundled/{v2/index-dac0fb7c.js → v3/index-500b3ace.js} +1 -1
- package/dist/bundled/v3/{index-a8488e2a.js → index-cf2c3c27.js} +115 -3
- package/dist/bundled/v3/{index-40b35d94.js → index-f4d8e24c.js} +1 -1
- package/dist/bundled/v3/index.js +97 -112
- package/dist/bundled/{v2/isArrayLike-e7fb5cae.js → v3/isArrayLike-acf249e3.js} +1 -1
- package/dist/bundled/v3/{isEqual-7a8e6106.js → isEqual-881b7bb5.js} +1 -1
- package/dist/bundled/v3/{isObject-b7415fc1.js → isObject-3a5b854d.js} +1 -1
- package/dist/bundled/{v2/index-c59372d3.js → v3/lang-0fb8f78b.js} +4028 -118
- package/dist/bundled/{v2/range-82efa3d4.js → v3/range-c87289f7.js} +4 -4
- package/dist/bundled/{v2/round-567ede34.js → v3/round-136c7e43.js} +4 -4
- package/dist/bundled/v3/{toFinite-bc59ffb0.js → toFinite-021b0c50.js} +1 -1
- package/dist/bundled/v3/{toInteger-9fa0151c.js → toInteger-db8a475d.js} +1 -1
- package/dist/bundled/{v2/toString-b6e4472a.js → v3/toString-47fa81b4.js} +1 -1
- package/dist/bundled/v3/utils/functions/dom.js +6 -6
- package/dist/esm/v2/{OrCardCollection-2c9a3534.js → OrCardCollection-a9736f16.js} +6 -2
- package/dist/esm/v2/{OrExpansionPanel-d3a2218d.js → OrExpansionPanel-b8411db6.js} +48 -36
- package/dist/esm/v2/{OrSelect-1132c7dc.js → OrSelect-7f2d3a94.js} +1 -1
- package/dist/esm/v2/components/index.d.ts +0 -1
- package/dist/esm/v2/components/index.js +3 -26
- package/dist/esm/v2/components/or-card-collection-v3/index.js +1 -1
- package/dist/esm/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +28 -15
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +5 -1
- package/dist/esm/v2/components/or-expansion-panel-v3/props.d.ts +5 -0
- package/dist/esm/v2/components/or-expansion-panel-v3/styles.d.ts +4 -3
- package/dist/esm/v2/components/or-select-v3/index.js +3 -3
- package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textarea/OrTextarea.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textbox/OrTextbox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-time-picker-v3/OrTimePicker.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast/OrToast.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast-v3/OrToast.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/index.js +3 -26
- package/dist/esm/v3/{OrCardCollection-dcfaa692.js → OrCardCollection-8d41fafc.js} +6 -2
- package/dist/esm/v3/{OrExpansionPanel-c016d8fa.js → OrExpansionPanel-df527763.js} +47 -35
- package/dist/esm/v3/{OrSelect-9432ac4d.js → OrSelect-c931ed6e.js} +1 -1
- package/dist/esm/v3/components/index.d.ts +0 -1
- package/dist/esm/v3/components/index.js +3 -26
- package/dist/esm/v3/components/or-avatar/OrAvatar.vue.d.ts +11 -26
- package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +8 -24
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +17 -33
- package/dist/esm/v3/components/or-button/OrButton.vue.d.ts +16 -51
- package/dist/esm/v3/components/or-button-v2/OrButton.vue.d.ts +20 -57
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +15 -35
- package/dist/esm/v3/components/or-card/OrCard.vue.d.ts +7 -15
- package/dist/esm/v3/components/or-card-collection/OrCardCollection.vue.d.ts +21 -47
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +22 -70
- package/dist/esm/v3/components/or-card-collection-v3/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +6 -14
- package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +4 -7
- package/dist/esm/v3/components/or-carousel/OrCarousel.vue.d.ts +126 -676
- package/dist/esm/v3/components/or-carousel/or-carousel-item/OrCarouselItem.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-checkbox/OrCheckbox.vue.d.ts +15 -35
- package/dist/esm/v3/components/or-checkbox-group-v3/OrCheckboxGroup.vue.d.ts +6 -24
- package/dist/esm/v3/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +17 -43
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +23 -53
- package/dist/esm/v3/components/or-chips/OrChips.vue.d.ts +24 -51
- package/dist/esm/v3/components/or-chips/or-chip/OrChip.vue.d.ts +9 -25
- package/dist/esm/v3/components/or-chips/partials/OrChipsInput.vue.d.ts +17 -37
- package/dist/esm/v3/components/or-code/OrCode.vue.d.ts +24 -69
- package/dist/esm/v3/components/or-collapse/OrCollapse.vue.d.ts +17 -39
- package/dist/esm/v3/components/or-color-picker/OrColorPicker.vue.d.ts +13 -31
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +8 -30
- package/dist/esm/v3/components/or-confirm/OrConfirm.vue.d.ts +23 -84
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +30 -91
- package/dist/esm/v3/components/or-date-picker-v3/OrDatePicker.vue.d.ts +25 -81
- package/dist/esm/v3/components/or-date-time-picker/OrDateTimePicker.vue.d.ts +68 -177
- package/dist/esm/v3/components/or-date-time-picker/partials/OrDateTimePickerCalendarItem.vue.d.ts +12 -33
- package/dist/esm/v3/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +31 -105
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue.d.ts +11 -28
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +17 -39
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue.d.ts +7 -15
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +23 -85
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue.d.ts +7 -11
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue.d.ts +4 -7
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue.d.ts +11 -28
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +15 -37
- package/dist/esm/v3/components/or-empty-state-v3/OrEmptyState.vue.d.ts +11 -28
- package/dist/esm/v3/components/or-error/OrError.vue.d.ts +4 -8
- package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +4 -7
- package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +9 -18
- package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +34 -44
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +5 -1
- package/dist/esm/v3/components/or-expansion-panel-v3/props.d.ts +5 -0
- package/dist/esm/v3/components/or-expansion-panel-v3/styles.d.ts +4 -3
- package/dist/esm/v3/components/or-fab-v3/OrFab.vue.d.ts +8 -20
- package/dist/esm/v3/components/or-floating/OrFloating.vue.d.ts +15 -46
- package/dist/esm/v3/components/or-form-group-v3/OrFormGroup.vue.d.ts +10 -30
- package/dist/esm/v3/components/or-hint/OrHint.vue.d.ts +4 -8
- package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +9 -18
- package/dist/esm/v3/components/or-icon/OrIcon.vue.d.ts +16 -44
- package/dist/esm/v3/components/or-icon-button-v2/OrIconButton.vue.d.ts +13 -43
- package/dist/esm/v3/components/or-icon-button-v2/partials/OrTooltipWrapper.vue.d.ts +8 -10
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +16 -52
- package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +7 -18
- package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +7 -16
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +39 -83
- package/dist/esm/v3/components/or-inline-text-edit/OrInlineTextEdit.vue.d.ts +43 -95
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +39 -79
- package/dist/esm/v3/components/or-input/OrInput.vue.d.ts +36 -87
- package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +7 -22
- package/dist/esm/v3/components/or-input-box-v3/partials/or-input-box-addon/OrInputBoxAddon.vue.d.ts +7 -18
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +34 -85
- package/dist/esm/v3/components/or-label/OrLabel.vue.d.ts +9 -20
- package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +9 -24
- package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +7 -24
- package/dist/esm/v3/components/or-list/OrList.vue.d.ts +21 -47
- package/dist/esm/v3/components/or-list-of-inputs/OrListOfInputs.vue.d.ts +11 -27
- package/dist/esm/v3/components/or-loader/OrLoader.vue.d.ts +10 -26
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +13 -34
- package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +13 -34
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +15 -31
- package/dist/esm/v3/components/or-modal/OrModal.vue.d.ts +14 -38
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +13 -25
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +4 -7
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +4 -7
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +6 -11
- package/dist/esm/v3/components/or-notification/OrNotification.vue.d.ts +9 -27
- package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +9 -20
- package/dist/esm/v3/components/or-number-input/OrNumberInput.vue.d.ts +24 -70
- package/dist/esm/v3/components/or-overflow-menu/OrOverflowMenu.vue.d.ts +13 -31
- package/dist/esm/v3/components/or-overflow-menu/partials/OrOverflowMenuItem.vue.d.ts +7 -23
- package/dist/esm/v3/components/or-overlay/OrOverlay.vue.d.ts +6 -16
- package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +7 -14
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +27 -75
- package/dist/esm/v3/components/or-password/OrPassword.vue.d.ts +22 -63
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +24 -74
- package/dist/esm/v3/components/or-progress/OrProgress.vue.d.ts +20 -56
- package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +25 -62
- package/dist/esm/v3/components/or-radio/OrRadio.vue.d.ts +13 -35
- package/dist/esm/v3/components/or-radio-group/OrRadioGroup.vue.d.ts +9 -26
- package/dist/esm/v3/components/or-radio-group-v3/OrRadioGroup.vue.d.ts +6 -32
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +21 -49
- package/dist/esm/v3/components/or-search/OrSearch.vue.d.ts +23 -65
- package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +17 -41
- package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +9 -25
- package/dist/esm/v3/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +8 -20
- package/dist/esm/v3/components/or-select/OrSelect.vue.d.ts +28 -77
- package/dist/esm/v3/components/or-select/partials/OrSelectContent.vue.d.ts +18 -49
- package/dist/esm/v3/components/or-select/partials/OrSelectContentEmpty.vue.d.ts +4 -16
- package/dist/esm/v3/components/or-select/partials/OrSelectContentOptions.vue.d.ts +13 -67
- package/dist/esm/v3/components/or-select/partials/OrSelectInput.vue.d.ts +16 -41
- package/dist/esm/v3/components/or-select/partials/OrSelectInputValue.vue.d.ts +16 -35
- package/dist/esm/v3/components/or-select/partials/OrSelectMain.vue.d.ts +24 -71
- package/dist/esm/v3/components/or-select/partials/OrSelectOption.vue.d.ts +7 -19
- package/dist/esm/v3/components/or-select/partials/OrSelectSearchOptions.vue.d.ts +11 -24
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +38 -117
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-sidebar/OrSidebar.vue.d.ts +14 -33
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +28 -63
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue.d.ts +10 -23
- package/dist/esm/v3/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.vue.d.ts +9 -20
- package/dist/esm/v3/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.vue.d.ts +9 -22
- package/dist/esm/v3/components/or-skeleton/or-skeleton-text/OrSkeletonText.vue.d.ts +10 -26
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts +13 -28
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts +11 -26
- package/dist/esm/v3/components/or-skeleton-v3/or-skeleton-text-v3/OrSkeletonText.vue.d.ts +16 -40
- package/dist/esm/v3/components/or-slider/OrSlider.vue.d.ts +35 -91
- package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +13 -25
- package/dist/esm/v3/components/or-stepper/OrStepper.vue.d.ts +16 -43
- package/dist/esm/v3/components/or-stepper/partials/OrStepperButtonOptions.vue.d.ts +4 -20
- package/dist/esm/v3/components/or-stepper/partials/OrStepperOptionHorizontal.vue.d.ts +4 -26
- package/dist/esm/v3/components/or-stepper/partials/OrStepperOptionVertical.vue.d.ts +4 -26
- package/dist/esm/v3/components/or-stepper/partials/OrStepperTitle.vue.d.ts +6 -22
- package/dist/esm/v3/components/or-stepper/partials/StatusIcon.vue.d.ts +6 -12
- package/dist/esm/v3/components/or-switch/OrSwitch.vue.d.ts +12 -33
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +22 -53
- package/dist/esm/v3/components/or-tab/OrTab.vue.d.ts +9 -22
- package/dist/esm/v3/components/or-tab-header-item/OrTabHeaderItem.vue.d.ts +13 -29
- package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +10 -17
- package/dist/esm/v3/components/or-tabs/OrTabs.vue.d.ts +4 -17
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +25 -71
- package/dist/esm/v3/components/or-tag/OrTag.vue.d.ts +10 -27
- package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +12 -23
- package/dist/esm/v3/components/or-tags-v3/OrTags.vue.d.ts +19 -63
- package/dist/esm/v3/components/or-teleport/OrTeleport.vue3.vue.d.ts +4 -10
- package/dist/esm/v3/components/or-teleport-v3/OrTeleport.vue3.vue.d.ts +4 -10
- package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +11 -24
- package/dist/esm/v3/components/or-textarea/OrTextarea.vue.d.ts +37 -85
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +32 -73
- package/dist/esm/v3/components/or-textbox/OrTextbox.vue.d.ts +55 -137
- package/dist/esm/v3/components/or-time-picker-v3/OrTimePicker.vue.d.ts +25 -79
- package/dist/esm/v3/components/or-toast/OrToast.vue.d.ts +11 -31
- package/dist/esm/v3/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +25 -55
- package/dist/esm/v3/components/or-toast-v3/OrToast.vue.d.ts +16 -38
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +24 -54
- package/dist/esm/v3/components/or-tooltip/OrTooltip.vue.d.ts +14 -33
- package/dist/esm/v3/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue.d.ts +4 -10
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +15 -31
- package/dist/esm/v3/directives/dropdown-close.d.ts +3 -1
- package/dist/esm/v3/directives/dropdown-open.d.ts +3 -1
- package/dist/esm/v3/hooks/useResponsive/useResponsive.d.ts +2 -2
- package/dist/esm/v3/index.js +3 -26
- package/package.json +10 -29
- package/src/components/index.ts +0 -1
- package/src/components/or-card-collection-v3/styles.ts +7 -0
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +28 -35
- package/src/components/or-expansion-panel-v3/props.ts +6 -0
- package/src/components/or-expansion-panel-v3/styles.ts +25 -3
- package/dist/bundled/v2/_commonjsHelpers-1789f0cf.js +0 -7
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -2223
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -220
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.d.ts +0 -2
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +0 -73
- package/dist/bundled/v2/components/OrRichTextEditorV3/props.d.ts +0 -4
- 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 -46
- 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 -6
- package/dist/bundled/v2/index-536f78ef.js +0 -9714
- package/dist/bundled/v2/index-71dbceb9.js +0 -3805
- package/dist/bundled/v2/index-85c2efe8.js +0 -7122
- package/dist/bundled/v2/index.es-3f39f316.js +0 -115
- package/dist/bundled/v2/markdown-14ac7280.js +0 -15365
- package/dist/bundled/v2/useFocusTrap-c1384da1.js +0 -1349
- package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-6dd54b0b.js +0 -237
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-f1728f0d.js +0 -101
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-d4b26a7d.js +0 -1910
- package/dist/bundled/v3/_commonjsHelpers-1789f0cf.js +0 -7
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -288
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -220
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +0 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +0 -89
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.d.ts +0 -4
- 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 -46
- 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 -6
- package/dist/bundled/v3/index-536f78ef.js +0 -9714
- package/dist/bundled/v3/index-85c2efe8.js +0 -7122
- package/dist/bundled/v3/index.es-3f39f316.js +0 -115
- package/dist/bundled/v3/markdown-14ac7280.js +0 -15365
- package/dist/esm/v2/OrRichTextEditor-e5211295.js +0 -980
- package/dist/esm/v2/codemirrorView-be2c7423.js +0 -353
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -220
- 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 -61
- package/dist/esm/v2/components/or-rich-text-editor-v3/props.d.ts +0 -4
- 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-f2c17c9b.js +0 -912
- package/dist/esm/v3/codemirrorView-be2c7423.js +0 -353
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -220
- 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 -59
- package/dist/esm/v3/components/or-rich-text-editor-v3/props.d.ts +0 -4
- 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.vue +0 -769
- package/src/components/or-rich-text-editor-v3/index.ts +0 -2
- package/src/components/or-rich-text-editor-v3/props.ts +0 -4
- 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 -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 -172
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-6f4bf0c6.js → OrDateTimePickerMonthSelect-2c1b5116.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-257ef8d8.js → OrDateTimePickerPopoverHeader-6f78e8e7.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerTimeSelect-37dcd0a3.js → OrDateTimePickerTimeSelect-78f775d8.js} +0 -0
|
@@ -1,912 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onBeforeUnmount, computed, watch, nextTick } from 'vue-demi';
|
|
2
|
-
import { useFocusTrap } from '@vueuse/integrations/useFocusTrap';
|
|
3
|
-
import { useResizeObserver, onClickOutside } from '@vueuse/core';
|
|
4
|
-
import { defaultMarkdownSerializer, MarkdownSerializer } from 'prosemirror-markdown';
|
|
5
|
-
import { DOMParser as DOMParser$1 } from 'prosemirror-model';
|
|
6
|
-
import Paragraph from '@tiptap/extension-paragraph';
|
|
7
|
-
import BulletList from '@tiptap/extension-bullet-list';
|
|
8
|
-
import ListItem from '@tiptap/extension-list-item';
|
|
9
|
-
import OrderedList from '@tiptap/extension-ordered-list';
|
|
10
|
-
import Strike from '@tiptap/extension-strike';
|
|
11
|
-
import Italic from '@tiptap/extension-italic';
|
|
12
|
-
import HardBreak from '@tiptap/extension-hard-break';
|
|
13
|
-
import Bold from '@tiptap/extension-bold';
|
|
14
|
-
import CodeBlock from '@tiptap/extension-code-block';
|
|
15
|
-
import Blockquote from '@tiptap/extension-blockquote';
|
|
16
|
-
import Link from '@tiptap/extension-link';
|
|
17
|
-
import Highlight from '@tiptap/extension-highlight';
|
|
18
|
-
import Underline from '@tiptap/extension-underline';
|
|
19
|
-
import { s as script$1 } from './OrIconButton-0aaadc68.js';
|
|
20
|
-
import { s as script$2 } from './OrLabel-4da56db0.js';
|
|
21
|
-
import { s as script$4 } from './OrMenu-9659b8eb.js';
|
|
22
|
-
import { s as script$8 } from './OrPopover-337df396.js';
|
|
23
|
-
import { s as script$3 } from './OrMenuItem-dbee450f.js';
|
|
24
|
-
import { s as script$5 } from './OrModal-cabce172.js';
|
|
25
|
-
import { s as script$6 } from './OrInput-a303f924.js';
|
|
26
|
-
import { s as script$7 } from './OrButton-c2b6aa9e.js';
|
|
27
|
-
import { Node, Editor, mergeAttributes } from '@tiptap/core';
|
|
28
|
-
import StarterKit from '@tiptap/starter-kit';
|
|
29
|
-
import Heading from '@tiptap/extension-heading';
|
|
30
|
-
import Placeholder from '@tiptap/extension-placeholder';
|
|
31
|
-
import { C as CodeMirrorView } from './codemirrorView-be2c7423.js';
|
|
32
|
-
import { minimalSetup } from 'codemirror';
|
|
33
|
-
import { javascript } from '@codemirror/lang-javascript';
|
|
34
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment, renderList, createBlock, createCommentVNode, withDirectives, vShow, vModelText, renderSlot } from 'vue';
|
|
35
|
-
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
36
|
-
|
|
37
|
-
const serializerNodes = {
|
|
38
|
-
...defaultMarkdownSerializer.nodes,
|
|
39
|
-
[Paragraph.name]: defaultMarkdownSerializer.nodes.paragraph,
|
|
40
|
-
[BulletList.name]: defaultMarkdownSerializer.nodes.bullet_list,
|
|
41
|
-
[ListItem.name]: defaultMarkdownSerializer.nodes.list_item,
|
|
42
|
-
[OrderedList.name]: defaultMarkdownSerializer.nodes.ordered_list,
|
|
43
|
-
[HardBreak.name]: defaultMarkdownSerializer.nodes.hard_break,
|
|
44
|
-
[CodeBlock.name]: defaultMarkdownSerializer.nodes.code_block,
|
|
45
|
-
[Blockquote.name]: defaultMarkdownSerializer.nodes.blockquote
|
|
46
|
-
};
|
|
47
|
-
const serializerMarks = {
|
|
48
|
-
...defaultMarkdownSerializer.marks,
|
|
49
|
-
[Bold.name]: defaultMarkdownSerializer.marks.strong,
|
|
50
|
-
[Strike.name]: {
|
|
51
|
-
open: '~~',
|
|
52
|
-
close: '~~',
|
|
53
|
-
mixable: true,
|
|
54
|
-
expelEnclosingWhitespace: true
|
|
55
|
-
},
|
|
56
|
-
[Italic.name]: {
|
|
57
|
-
open: ' _',
|
|
58
|
-
close: '_ ',
|
|
59
|
-
mixable: true,
|
|
60
|
-
expelEnclosingWhitespace: true
|
|
61
|
-
},
|
|
62
|
-
[Highlight.name]: {
|
|
63
|
-
open: '==',
|
|
64
|
-
close: '==',
|
|
65
|
-
mixable: true,
|
|
66
|
-
expelEnclosingWhitespace: true
|
|
67
|
-
},
|
|
68
|
-
[Underline.name]: {
|
|
69
|
-
open: '',
|
|
70
|
-
close: '',
|
|
71
|
-
mixable: true,
|
|
72
|
-
expelEnclosingWhitespace: true
|
|
73
|
-
},
|
|
74
|
-
[Link.name]: {
|
|
75
|
-
open(state, mark, parent, index) {
|
|
76
|
-
return isPlainURL(mark, parent, index, 1) ? '<' : '[';
|
|
77
|
-
},
|
|
78
|
-
close(state, mark, parent, index) {
|
|
79
|
-
const href = mark.attrs.canonicalSrc || mark.attrs.href;
|
|
80
|
-
return isPlainURL(mark, parent, index, -1) ? '>' : `](${state.esc(href)}${mark.attrs.title ? ` ${state.quote(mark.attrs.title)}` : ''})`;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
const isPlainURL = (link, parent, index, side) => {
|
|
85
|
-
if (link.attrs.title || !/^\w+:/.test(link.attrs.href)) return false;
|
|
86
|
-
const content = parent.child(index + (side < 0 ? -1 : 0));
|
|
87
|
-
if (!content.isText || content.text !== link.attrs.href || content.marks[content.marks.length - 1] !== link) return false;
|
|
88
|
-
if (index === (side < 0 ? 1 : parent.childCount - 1)) return true;
|
|
89
|
-
const next = parent.child(index + (side < 0 ? -2 : 1));
|
|
90
|
-
return !link.isInSet(next.marks);
|
|
91
|
-
};
|
|
92
|
-
const parseMd = md => {
|
|
93
|
-
//ul
|
|
94
|
-
md = md.replace(/^\s*\n\*/gm, '<ul>\n*');
|
|
95
|
-
md = md.replace(/^(\*.+)\s*\n([^*])/gm, '$1\n</ul>\n\n$2');
|
|
96
|
-
md = md.replace(/^\*(.+)/gm, '<li>$1</li>');
|
|
97
|
-
//ol
|
|
98
|
-
md = md.replace(/^\s*\n\d\./gm, '<ol>\n1.');
|
|
99
|
-
md = md.replace(/^(\d\..+)\s*\n([^\d.])/gm, '$1\n</ol>\n\n$2');
|
|
100
|
-
md = md.replace(/^\d\.(.+)/gm, '<li>$1</li>');
|
|
101
|
-
//blockquote
|
|
102
|
-
md = md.replace(/^>(.+)/gm, '<blockquote>$1</blockquote>');
|
|
103
|
-
//h
|
|
104
|
-
md = md.replace(/[#]{6}(.+)/g, '<h6>$1</h6>');
|
|
105
|
-
md = md.replace(/[#]{5}(.+)/g, '<h5>$1</h5>');
|
|
106
|
-
md = md.replace(/[#]{4}(.+)/g, '<h4>$1</h4>');
|
|
107
|
-
md = md.replace(/[#]{3}(.+)/g, '<h3>$1</h3>');
|
|
108
|
-
md = md.replace(/[#]{2}(.+)/g, '<h2>$1</h2>');
|
|
109
|
-
md = md.replace(/[#]{1}(.+)/g, '<h1>$1</h1>');
|
|
110
|
-
//alt h
|
|
111
|
-
md = md.replace(/^(.+)\n=+/gm, '<h1>$1</h1>');
|
|
112
|
-
md = md.replace(/^(.+)\n-+/gm, '<h2>$1</h2>');
|
|
113
|
-
//images
|
|
114
|
-
md = md.replace(/!\[([^\]]+)\]\(([^)]+)\)/g, '<img src="$2" alt="$1" />');
|
|
115
|
-
//links
|
|
116
|
-
md = md.replace(/[[]{1}([^\]]+)[\]]{1}[(]{1}([^)"]+)("(.+)")?[)]{1}/g, '<a href="$2" title="$4">$1</a>');
|
|
117
|
-
//font styles
|
|
118
|
-
md = md.replace(/[*_]{2}([^*_]+)[*_]{2}/g, '<b>$1</b>');
|
|
119
|
-
md = md.replace(/[*_]{1}([^*_]+)[*_]{1}/g, '<i>$1</i>');
|
|
120
|
-
md = md.replace(/[=]{2}([^=]+)[=]{2}/g, '<mark>$1</mark>');
|
|
121
|
-
md = md.replace(/[~]{2}([^~]+)[~]{2}/g, '<del>$1</del>');
|
|
122
|
-
//pre
|
|
123
|
-
md = md.replace(/^\s*\n```(([^\s]+))?/gm, '<pre class="$2">');
|
|
124
|
-
md = md.replace(/^```\s*\n/gm, '</pre>\n\n');
|
|
125
|
-
//code
|
|
126
|
-
md = md.replace(/[`]{1}([^`]+)[`]{1}/g, '<code>$1</code>');
|
|
127
|
-
//p
|
|
128
|
-
md = md.replace(/^\s*(\n)?(.+)/gm, function (m) {
|
|
129
|
-
return /<(\/)?(h\d|ul|ol|li|blockquote|pre|img)/.test(m) ? m : '<p>' + m + '</p>';
|
|
130
|
-
});
|
|
131
|
-
//strip p from pre
|
|
132
|
-
md = md.replace(/(<pre.+>)\s*\n<p>(.+)<\/p>/gm, '$1$2');
|
|
133
|
-
return md;
|
|
134
|
-
};
|
|
135
|
-
const serialize = (schema, content) => {
|
|
136
|
-
const proseMirrorDocument = schema.nodeFromJSON(content);
|
|
137
|
-
const serializer = new MarkdownSerializer(serializerNodes, serializerMarks);
|
|
138
|
-
return serializer.serialize(proseMirrorDocument, {
|
|
139
|
-
tightLists: true
|
|
140
|
-
});
|
|
141
|
-
};
|
|
142
|
-
const deserialize = (schema, content) => {
|
|
143
|
-
if (!content) return null;
|
|
144
|
-
const html = parseMd(content);
|
|
145
|
-
if (!html) return null;
|
|
146
|
-
const parser = new DOMParser();
|
|
147
|
-
const {
|
|
148
|
-
body
|
|
149
|
-
} = parser.parseFromString(html, 'text/html');
|
|
150
|
-
// append original source as a comment that nodes can access
|
|
151
|
-
body.append(document.createComment(content));
|
|
152
|
-
const state = DOMParser$1.fromSchema(schema).parse(body);
|
|
153
|
-
return state.toJSON();
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
const EditorContainer = [
|
|
157
|
-
// Colors
|
|
158
|
-
'border-outline', 'focus-within:theme-background-primary-translucent', 'focus-within:theme-border-1-primary', 'focus-within:theme-outline-2-primary',
|
|
159
|
-
// Sizing
|
|
160
|
-
'border-1', 'rounded-md', 'w-full'];
|
|
161
|
-
const ToolbarContainer = [
|
|
162
|
-
// Layout
|
|
163
|
-
'flex',
|
|
164
|
-
//Spacing
|
|
165
|
-
'py-sm',
|
|
166
|
-
//Sizing
|
|
167
|
-
'border-b-1',
|
|
168
|
-
//Colors
|
|
169
|
-
'border-b-outline'];
|
|
170
|
-
const Toolbar = [
|
|
171
|
-
// Layout
|
|
172
|
-
'flex',
|
|
173
|
-
// Spacing
|
|
174
|
-
'px-sm', 'gap-md',
|
|
175
|
-
// Sizing
|
|
176
|
-
'border-l-1',
|
|
177
|
-
//Colors
|
|
178
|
-
'border-r-disabled',
|
|
179
|
-
// Last child
|
|
180
|
-
'first-of-type:border-none'];
|
|
181
|
-
const ToolbarButton = [
|
|
182
|
-
// Typography
|
|
183
|
-
'text-on-disabled'];
|
|
184
|
-
const ToolbarButtonFocused = [
|
|
185
|
-
// Typography
|
|
186
|
-
'text-outline'];
|
|
187
|
-
const EditorInput = [
|
|
188
|
-
// Typography
|
|
189
|
-
'typography-body-2-regular',
|
|
190
|
-
// Sizing
|
|
191
|
-
'min-h-[88px]'];
|
|
192
|
-
|
|
193
|
-
var Formats;
|
|
194
|
-
(function (Formats) {
|
|
195
|
-
Formats["Markdown"] = "markdown";
|
|
196
|
-
Formats["Markup"] = "markup";
|
|
197
|
-
})(Formats || (Formats = {}));
|
|
198
|
-
|
|
199
|
-
var codemirrorNode = Node.create({
|
|
200
|
-
name: 'codeBlock',
|
|
201
|
-
content: 'text*',
|
|
202
|
-
marks: '',
|
|
203
|
-
group: 'block',
|
|
204
|
-
code: true,
|
|
205
|
-
defining: true,
|
|
206
|
-
isolating: true,
|
|
207
|
-
parseHTML() {
|
|
208
|
-
return [{
|
|
209
|
-
tag: 'pre',
|
|
210
|
-
preserveWhitespace: 'full'
|
|
211
|
-
}];
|
|
212
|
-
},
|
|
213
|
-
renderHTML() {
|
|
214
|
-
return ['pre', ['code', 0]];
|
|
215
|
-
},
|
|
216
|
-
addNodeView() {
|
|
217
|
-
return _ref => {
|
|
218
|
-
let {
|
|
219
|
-
node,
|
|
220
|
-
editor,
|
|
221
|
-
getPos
|
|
222
|
-
} = _ref;
|
|
223
|
-
return new CodeMirrorView({
|
|
224
|
-
node,
|
|
225
|
-
view: editor.view,
|
|
226
|
-
getPos: getPos,
|
|
227
|
-
cmOptions: {
|
|
228
|
-
extensions: [minimalSetup, javascript()]
|
|
229
|
-
}
|
|
230
|
-
});
|
|
231
|
-
};
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
|
|
235
|
-
var script = defineComponent({
|
|
236
|
-
name: 'OrRichTextEditor',
|
|
237
|
-
components: {
|
|
238
|
-
OrIconButton: script$1,
|
|
239
|
-
OrLabel: script$2,
|
|
240
|
-
OrMenuItem: script$3,
|
|
241
|
-
OrMenu: script$4,
|
|
242
|
-
OrModal: script$5,
|
|
243
|
-
OrInput: script$6,
|
|
244
|
-
OrButton: script$7,
|
|
245
|
-
OrPopover: script$8
|
|
246
|
-
},
|
|
247
|
-
inheritAttrs: false,
|
|
248
|
-
model: {
|
|
249
|
-
prop: 'modelValue',
|
|
250
|
-
event: 'update:modelValue'
|
|
251
|
-
},
|
|
252
|
-
props: {
|
|
253
|
-
modelValue: {
|
|
254
|
-
type: String,
|
|
255
|
-
default: undefined
|
|
256
|
-
},
|
|
257
|
-
toolbar: {
|
|
258
|
-
type: Array,
|
|
259
|
-
default: () => []
|
|
260
|
-
},
|
|
261
|
-
description: {
|
|
262
|
-
type: String,
|
|
263
|
-
default: ''
|
|
264
|
-
},
|
|
265
|
-
placeholder: {
|
|
266
|
-
type: String,
|
|
267
|
-
default: ''
|
|
268
|
-
},
|
|
269
|
-
autofocus: {
|
|
270
|
-
type: Boolean,
|
|
271
|
-
default: false
|
|
272
|
-
},
|
|
273
|
-
format: {
|
|
274
|
-
type: String,
|
|
275
|
-
default: Formats.Markup
|
|
276
|
-
},
|
|
277
|
-
fullHeight: {
|
|
278
|
-
type: Boolean,
|
|
279
|
-
default: false
|
|
280
|
-
}
|
|
281
|
-
},
|
|
282
|
-
emits: ['update:modelValue', 'input', 'file-upload'],
|
|
283
|
-
expose: ['root'],
|
|
284
|
-
setup(props, context) {
|
|
285
|
-
// Refs
|
|
286
|
-
const root = ref();
|
|
287
|
-
let editor = null;
|
|
288
|
-
const editorRef = ref();
|
|
289
|
-
const textareaRef = ref();
|
|
290
|
-
const containerRef = ref();
|
|
291
|
-
const toolbarRef = ref();
|
|
292
|
-
const moreButtonRef = ref();
|
|
293
|
-
const moreRef = ref();
|
|
294
|
-
const toolbarButtonRef = ref();
|
|
295
|
-
const menuRef = ref();
|
|
296
|
-
// isActive should be set with default values for all toolbar buttons, otherwise it will not work in vue2
|
|
297
|
-
const isActive = ref({
|
|
298
|
-
bold: false,
|
|
299
|
-
italic: false,
|
|
300
|
-
underline: false,
|
|
301
|
-
strike: false,
|
|
302
|
-
bulletList: false,
|
|
303
|
-
orderedList: false,
|
|
304
|
-
link: false,
|
|
305
|
-
highlight: false,
|
|
306
|
-
redo: false,
|
|
307
|
-
undo: false,
|
|
308
|
-
codeBlock: false,
|
|
309
|
-
blockquote: false,
|
|
310
|
-
file: false,
|
|
311
|
-
source: false
|
|
312
|
-
});
|
|
313
|
-
const isFocused = ref(props.autofocus);
|
|
314
|
-
const headingLevels = [1, 2, 3, 4];
|
|
315
|
-
const activeHeadingLevel = ref(0);
|
|
316
|
-
const markdownOutput = ref('');
|
|
317
|
-
const isOpenLinkModal = ref(false);
|
|
318
|
-
const disableMarkdown = ref(false);
|
|
319
|
-
const text = ref('');
|
|
320
|
-
const link = ref('');
|
|
321
|
-
const countOfNotVisibleTools = ref(0);
|
|
322
|
-
const sourceValue = ref('');
|
|
323
|
-
let trap = useFocusTrap(editorRef, {
|
|
324
|
-
immediate: true,
|
|
325
|
-
fallbackFocus: '.container',
|
|
326
|
-
allowOutsideClick: true
|
|
327
|
-
});
|
|
328
|
-
const iconsEnum = ref({
|
|
329
|
-
bold: 'format_bold',
|
|
330
|
-
italic: 'format_italic',
|
|
331
|
-
underline: 'format_underlined',
|
|
332
|
-
strike: 'format_strikethrough',
|
|
333
|
-
bulletList: 'format_list_bulleted',
|
|
334
|
-
orderedList: 'format_list_numbered',
|
|
335
|
-
link: 'link',
|
|
336
|
-
highlight: 'highlight',
|
|
337
|
-
redo: 'redo',
|
|
338
|
-
undo: 'undo',
|
|
339
|
-
codeBlock: 'code_blocks',
|
|
340
|
-
blockquote: 'format_quote',
|
|
341
|
-
file: 'attach_file',
|
|
342
|
-
source: 'source_notes'
|
|
343
|
-
});
|
|
344
|
-
const iconTooltipsEnum = ref({
|
|
345
|
-
bold: 'Bold',
|
|
346
|
-
italic: 'Italic',
|
|
347
|
-
underline: 'Underline',
|
|
348
|
-
strike: 'Strike',
|
|
349
|
-
bulletList: 'Bulleted List',
|
|
350
|
-
orderedList: 'Numbered List',
|
|
351
|
-
link: 'Link',
|
|
352
|
-
highlight: 'Highlight',
|
|
353
|
-
redo: 'Redo',
|
|
354
|
-
undo: 'Undo',
|
|
355
|
-
codeBlock: 'Code Block',
|
|
356
|
-
blockquote: 'Quote',
|
|
357
|
-
file: 'File',
|
|
358
|
-
source: 'Source'
|
|
359
|
-
});
|
|
360
|
-
useResizeObserver(root, entries => {
|
|
361
|
-
var _a, _b;
|
|
362
|
-
const entry = entries[0];
|
|
363
|
-
const {
|
|
364
|
-
width
|
|
365
|
-
} = entry.contentRect;
|
|
366
|
-
if (containerRef.value && toolbarRef.value && toolbarLength.value) {
|
|
367
|
-
let lengthOfItem = 0;
|
|
368
|
-
lengthOfItem = ((_b = (_a = toolbarRef.value.firstElementChild) === null || _a === void 0 ? void 0 : _a.firstElementChild) === null || _b === void 0 ? void 0 : _b.offsetWidth) + 16;
|
|
369
|
-
const count = width / lengthOfItem - 2;
|
|
370
|
-
countOfNotVisibleTools.value = Math.round(toolbarLength.value - count);
|
|
371
|
-
}
|
|
372
|
-
});
|
|
373
|
-
onMounted(() => {
|
|
374
|
-
editor = new Editor({
|
|
375
|
-
onUpdate: _ref => {
|
|
376
|
-
let {
|
|
377
|
-
editor
|
|
378
|
-
} = _ref;
|
|
379
|
-
isFocused.value = true;
|
|
380
|
-
setActiveFormats();
|
|
381
|
-
const html = editor.getHTML();
|
|
382
|
-
const text = editor.getText();
|
|
383
|
-
if (props.format === 'markdown') {
|
|
384
|
-
markdownOutput.value = serialize(editor.schema, editor.getJSON());
|
|
385
|
-
proxyModelValue.value = markdownOutput.value;
|
|
386
|
-
} else {
|
|
387
|
-
proxyModelValue.value = text === '' ? text : html;
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
onCreate: _ref2 => {
|
|
391
|
-
let {
|
|
392
|
-
editor
|
|
393
|
-
} = _ref2;
|
|
394
|
-
if (props.format === 'markdown') {
|
|
395
|
-
const deserialized = deserialize(editor.schema, proxyModelValue.value);
|
|
396
|
-
editor.commands.setContent(deserialized);
|
|
397
|
-
} else {
|
|
398
|
-
editor.commands.setContent(proxyModelValue.value);
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
element: editorRef.value,
|
|
402
|
-
autofocus: props.autofocus,
|
|
403
|
-
enableInputRules: true,
|
|
404
|
-
enablePasteRules: true,
|
|
405
|
-
extensions: [codemirrorNode, StarterKit.configure({
|
|
406
|
-
heading: false,
|
|
407
|
-
codeBlock: false,
|
|
408
|
-
paragraph: false,
|
|
409
|
-
bulletList: false,
|
|
410
|
-
orderedList: false,
|
|
411
|
-
blockquote: false
|
|
412
|
-
}), Paragraph.configure({
|
|
413
|
-
HTMLAttributes: {
|
|
414
|
-
class: 'my-xs'
|
|
415
|
-
}
|
|
416
|
-
}), BulletList.configure({
|
|
417
|
-
HTMLAttributes: {
|
|
418
|
-
class: 'mx-lg my-xs list-disc'
|
|
419
|
-
}
|
|
420
|
-
}), OrderedList.configure({
|
|
421
|
-
HTMLAttributes: {
|
|
422
|
-
class: 'mx-lg my-xs list-decimal'
|
|
423
|
-
}
|
|
424
|
-
}), Blockquote.configure({
|
|
425
|
-
HTMLAttributes: {
|
|
426
|
-
class: 'my-sm mx-lg px-lg border-l-2 border-primary-opacity-0-16'
|
|
427
|
-
}
|
|
428
|
-
}), Heading.configure({
|
|
429
|
-
levels: headingLevels
|
|
430
|
-
}).extend({
|
|
431
|
-
levels: headingLevels,
|
|
432
|
-
renderHTML(_ref3) {
|
|
433
|
-
let {
|
|
434
|
-
node,
|
|
435
|
-
HTMLAttributes
|
|
436
|
-
} = _ref3;
|
|
437
|
-
return ['h' + node.attrs.level, mergeAttributes(HTMLAttributes, {
|
|
438
|
-
class: `typography-headline-${node.attrs.level} my-xs`
|
|
439
|
-
}), 0];
|
|
440
|
-
}
|
|
441
|
-
}), Underline, Link.configure({
|
|
442
|
-
openOnClick: true,
|
|
443
|
-
linkOnPaste: true,
|
|
444
|
-
autolink: false,
|
|
445
|
-
protocols: ['ftp', 'mailto', 'http', 'https'],
|
|
446
|
-
validate: href => /^https?:\/\//.test(href),
|
|
447
|
-
HTMLAttributes: {
|
|
448
|
-
class: 'text-primary cursor-pointer'
|
|
449
|
-
}
|
|
450
|
-
}), Highlight, Placeholder.configure({
|
|
451
|
-
placeholder: props.placeholder,
|
|
452
|
-
emptyEditorClass: 'is-editor-empty text-outline'
|
|
453
|
-
})],
|
|
454
|
-
editorProps: {
|
|
455
|
-
attributes: {
|
|
456
|
-
class: 'flex flex-col focus:outline-none gap-xs'
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
parseOptions: {
|
|
460
|
-
preserveWhitespace: true
|
|
461
|
-
}
|
|
462
|
-
});
|
|
463
|
-
setActiveFormats();
|
|
464
|
-
trap.activate();
|
|
465
|
-
});
|
|
466
|
-
onBeforeUnmount(() => {
|
|
467
|
-
editor === null || editor === void 0 ? void 0 : editor.destroy();
|
|
468
|
-
});
|
|
469
|
-
onClickOutside(root, () => {
|
|
470
|
-
isFocused.value = false;
|
|
471
|
-
trap.deactivate();
|
|
472
|
-
});
|
|
473
|
-
// Computed
|
|
474
|
-
const proxyModelValue = computed({
|
|
475
|
-
get: () => {
|
|
476
|
-
return props.modelValue;
|
|
477
|
-
},
|
|
478
|
-
set: value => {
|
|
479
|
-
context.emit('input', value);
|
|
480
|
-
context.emit('update:modelValue', value);
|
|
481
|
-
}
|
|
482
|
-
});
|
|
483
|
-
const getIndexOfHeading = computed(() => {
|
|
484
|
-
return props.toolbar.flat().indexOf('heading');
|
|
485
|
-
});
|
|
486
|
-
const headingIcon = computed(() => {
|
|
487
|
-
if (activeHeadingLevel.value && isActive.value.heading) {
|
|
488
|
-
return `format_h${activeHeadingLevel.value}`;
|
|
489
|
-
}
|
|
490
|
-
return 'format_paragraph';
|
|
491
|
-
});
|
|
492
|
-
const toolbarLength = computed(() => {
|
|
493
|
-
return props.toolbar.flat().length;
|
|
494
|
-
});
|
|
495
|
-
const notVisibleTools = computed(() => {
|
|
496
|
-
const count = countOfNotVisibleTools.value;
|
|
497
|
-
const toolbar = props.toolbar.flat();
|
|
498
|
-
let notVisible = new Set(toolbar.slice(toolbar.length - count, toolbar.length));
|
|
499
|
-
props.toolbar.forEach(tools => {
|
|
500
|
-
if (tools.some(item => notVisible.has(item))) {
|
|
501
|
-
tools.forEach(item => notVisible.add(item));
|
|
502
|
-
}
|
|
503
|
-
});
|
|
504
|
-
return notVisible;
|
|
505
|
-
});
|
|
506
|
-
//Methods
|
|
507
|
-
const handleEditorClick = () => {
|
|
508
|
-
var _a;
|
|
509
|
-
setActiveFormats();
|
|
510
|
-
isFocused.value = true;
|
|
511
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.focus();
|
|
512
|
-
activeHeadingLevel.value = ((_a = editor === null || editor === void 0 ? void 0 : editor.getAttributes('heading')) === null || _a === void 0 ? void 0 : _a.level) || 0;
|
|
513
|
-
};
|
|
514
|
-
const isVisible = value => {
|
|
515
|
-
if (Array.isArray(value)) {
|
|
516
|
-
const isHaveNotVisibleTools = value.some(item => notVisibleTools.value.has(item));
|
|
517
|
-
return isHaveNotVisibleTools;
|
|
518
|
-
}
|
|
519
|
-
return !notVisibleTools.value.has(value);
|
|
520
|
-
};
|
|
521
|
-
const handleInput = event => {
|
|
522
|
-
const target = event.target;
|
|
523
|
-
const value = target.value;
|
|
524
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(deserialize(editor === null || editor === void 0 ? void 0 : editor.schema, value));
|
|
525
|
-
markdownOutput.value = serialize(editor === null || editor === void 0 ? void 0 : editor.schema, editor === null || editor === void 0 ? void 0 : editor.getJSON());
|
|
526
|
-
proxyModelValue.value = markdownOutput.value;
|
|
527
|
-
};
|
|
528
|
-
const handleToolbarClick = (item, level) => {
|
|
529
|
-
var _a, _b;
|
|
530
|
-
switch (item) {
|
|
531
|
-
case 'source':
|
|
532
|
-
disableMarkdown.value = !disableMarkdown.value;
|
|
533
|
-
sourceValue.value = serialize(editor === null || editor === void 0 ? void 0 : editor.schema, editor === null || editor === void 0 ? void 0 : editor.getJSON());
|
|
534
|
-
nextTick(() => {
|
|
535
|
-
var _a;
|
|
536
|
-
return (_a = textareaRef.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
537
|
-
});
|
|
538
|
-
break;
|
|
539
|
-
case 'bulletList':
|
|
540
|
-
case 'orderedList':
|
|
541
|
-
item === 'bulletList' ? editor === null || editor === void 0 ? void 0 : editor.commands.toggleBulletList() : editor === null || editor === void 0 ? void 0 : editor.commands.toggleOrderedList();
|
|
542
|
-
break;
|
|
543
|
-
case 'link':
|
|
544
|
-
if (editor) {
|
|
545
|
-
const cursorPosition = (editor === null || editor === void 0 ? void 0 : editor.state.selection.$anchor.pos) || 0;
|
|
546
|
-
const {
|
|
547
|
-
from,
|
|
548
|
-
to,
|
|
549
|
-
empty
|
|
550
|
-
} = editor.state.selection;
|
|
551
|
-
const isLink = (_a = editor.view.state.doc.nodeAt(cursorPosition)) === null || _a === void 0 ? void 0 : _a.marks.filter(mark => mark.type.name === 'link');
|
|
552
|
-
const existedText = (isLink === null || isLink === void 0 ? void 0 : isLink.length) ? ((_b = editor.view.state.doc.nodeAt(cursorPosition)) === null || _b === void 0 ? void 0 : _b.text) || '' : '';
|
|
553
|
-
text.value = empty ? existedText : editor.state.doc.textBetween(from, to, ' ');
|
|
554
|
-
link.value = editor.getAttributes('link').href || '';
|
|
555
|
-
}
|
|
556
|
-
isOpenLinkModal.value = !isOpenLinkModal.value;
|
|
557
|
-
break;
|
|
558
|
-
case 'blockquote':
|
|
559
|
-
editor === null || editor === void 0 ? void 0 : editor.chain().focus().toggleBlockquote().run();
|
|
560
|
-
break;
|
|
561
|
-
case 'codeBlock':
|
|
562
|
-
if (!isActive.value['codeBlock']) {
|
|
563
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.setNode(item, {
|
|
564
|
-
language: 'javascript'
|
|
565
|
-
});
|
|
566
|
-
} else {
|
|
567
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.setNode('paragraph');
|
|
568
|
-
}
|
|
569
|
-
break;
|
|
570
|
-
case 'heading':
|
|
571
|
-
if (!level) {
|
|
572
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.setParagraph();
|
|
573
|
-
activeHeadingLevel.value = 0;
|
|
574
|
-
} else {
|
|
575
|
-
activeHeadingLevel.value = level;
|
|
576
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.toggleHeading({
|
|
577
|
-
level: level
|
|
578
|
-
});
|
|
579
|
-
}
|
|
580
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.focus();
|
|
581
|
-
break;
|
|
582
|
-
case 'undo':
|
|
583
|
-
case 'redo':
|
|
584
|
-
item === 'undo' ? editor === null || editor === void 0 ? void 0 : editor.commands.undo() : editor === null || editor === void 0 ? void 0 : editor.commands.redo();
|
|
585
|
-
break;
|
|
586
|
-
case 'file':
|
|
587
|
-
context.emit('file-upload');
|
|
588
|
-
break;
|
|
589
|
-
default:
|
|
590
|
-
editor === null || editor === void 0 ? void 0 : editor.chain().focus().toggleMark(item).run();
|
|
591
|
-
break;
|
|
592
|
-
}
|
|
593
|
-
};
|
|
594
|
-
const attachLink = async () => {
|
|
595
|
-
var _a, _b;
|
|
596
|
-
// empty
|
|
597
|
-
if (link.value === '') {
|
|
598
|
-
editor === null || editor === void 0 ? void 0 : editor.chain().focus().extendMarkRange('link').unsetLink().run();
|
|
599
|
-
}
|
|
600
|
-
const isEmptySelection = editor === null || editor === void 0 ? void 0 : editor.state.selection.empty;
|
|
601
|
-
const cursorPosition = (editor === null || editor === void 0 ? void 0 : editor.state.selection.$anchor.pos) || 0;
|
|
602
|
-
const isLink = (_a = editor === null || editor === void 0 ? void 0 : editor.view.state.doc.nodeAt(cursorPosition)) === null || _a === void 0 ? void 0 : _a.marks.filter(mark => mark.type.name === 'link');
|
|
603
|
-
const existedText = (isLink === null || isLink === void 0 ? void 0 : isLink.length) ? (_b = editor === null || editor === void 0 ? void 0 : editor.view.state.doc.nodeAt(cursorPosition)) === null || _b === void 0 ? void 0 : _b.text : '';
|
|
604
|
-
if (link.value && isEmptySelection && !existedText) {
|
|
605
|
-
editor === null || editor === void 0 ? void 0 : editor.chain().focus().setMark('link', {
|
|
606
|
-
href: link.value,
|
|
607
|
-
target: '__blank'
|
|
608
|
-
}).command(_ref4 => {
|
|
609
|
-
let {
|
|
610
|
-
tr
|
|
611
|
-
} = _ref4;
|
|
612
|
-
const preparedValue = text.value[text.value.length - 1] === ' ' ? text.value : `${text.value} `;
|
|
613
|
-
tr.insertText(preparedValue);
|
|
614
|
-
return true;
|
|
615
|
-
}).run();
|
|
616
|
-
}
|
|
617
|
-
if (link.value && existedText === text.value && isEmptySelection) {
|
|
618
|
-
editor === null || editor === void 0 ? void 0 : editor.chain().extendMarkRange('link').updateAttributes('link', {
|
|
619
|
-
href: link.value
|
|
620
|
-
}).run();
|
|
621
|
-
}
|
|
622
|
-
if (link.value && !isEmptySelection) {
|
|
623
|
-
editor === null || editor === void 0 ? void 0 : editor.chain().focus().setMark('link', {
|
|
624
|
-
href: link.value,
|
|
625
|
-
target: '__blank'
|
|
626
|
-
}).run();
|
|
627
|
-
}
|
|
628
|
-
text.value = '';
|
|
629
|
-
link.value = '';
|
|
630
|
-
isOpenLinkModal.value = false;
|
|
631
|
-
};
|
|
632
|
-
const discardLink = () => {
|
|
633
|
-
isOpenLinkModal.value = false;
|
|
634
|
-
};
|
|
635
|
-
const setActiveFormats = () => {
|
|
636
|
-
const toolbarList = props.toolbar.flat();
|
|
637
|
-
toolbarList.forEach(item => {
|
|
638
|
-
if (item === 'source') {
|
|
639
|
-
isActive.value[item] = disableMarkdown.value;
|
|
640
|
-
} else {
|
|
641
|
-
isActive.value[item] = (editor === null || editor === void 0 ? void 0 : editor.isActive(item)) || false;
|
|
642
|
-
}
|
|
643
|
-
});
|
|
644
|
-
};
|
|
645
|
-
// Styles
|
|
646
|
-
const rootStyles = computed(() => {
|
|
647
|
-
return ['or-rich-text-editor', ...(props.fullHeight ? ['h-full'] : [])];
|
|
648
|
-
});
|
|
649
|
-
const containerStyles = computed(() => {
|
|
650
|
-
return [...EditorContainer, ...(props.fullHeight ? ['h-full'] : [])];
|
|
651
|
-
});
|
|
652
|
-
const toolbarContainerStyles = computed(() => {
|
|
653
|
-
return [...ToolbarContainer];
|
|
654
|
-
});
|
|
655
|
-
const toolbarStyles = computed(() => {
|
|
656
|
-
return [...Toolbar,
|
|
657
|
-
// 'overflow-x-hidden',
|
|
658
|
-
...(isFocused.value ? ToolbarButtonFocused : ToolbarButton)];
|
|
659
|
-
});
|
|
660
|
-
const editorInputStyles = computed(() => {
|
|
661
|
-
return ['tiptap-editor-v3', ...(props.fullHeight ? ['h-full overflow-y-auto'] : []), ...EditorInput];
|
|
662
|
-
});
|
|
663
|
-
//Effects
|
|
664
|
-
watch(proxyModelValue, value => {
|
|
665
|
-
if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML()) && props.format !== 'markdown') {
|
|
666
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
|
|
667
|
-
}
|
|
668
|
-
if (props.format === 'markdown' && value !== markdownOutput.value) {
|
|
669
|
-
//TODO: const deserialized = deserialize(editor?.schema, value);
|
|
670
|
-
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
|
|
671
|
-
}
|
|
672
|
-
});
|
|
673
|
-
return {
|
|
674
|
-
editor,
|
|
675
|
-
editorRef,
|
|
676
|
-
toolbarRef,
|
|
677
|
-
containerRef,
|
|
678
|
-
toolbarButtonRef,
|
|
679
|
-
moreButtonRef,
|
|
680
|
-
textareaRef,
|
|
681
|
-
moreRef,
|
|
682
|
-
menuRef,
|
|
683
|
-
iconsEnum,
|
|
684
|
-
handleToolbarClick,
|
|
685
|
-
handleEditorClick,
|
|
686
|
-
isActive,
|
|
687
|
-
iconTooltipsEnum,
|
|
688
|
-
containerStyles,
|
|
689
|
-
toolbarContainerStyles,
|
|
690
|
-
toolbarStyles,
|
|
691
|
-
rootStyles,
|
|
692
|
-
root,
|
|
693
|
-
editorInputStyles,
|
|
694
|
-
getIndexOfHeading,
|
|
695
|
-
headingLevels,
|
|
696
|
-
headingIcon,
|
|
697
|
-
attachLink,
|
|
698
|
-
discardLink,
|
|
699
|
-
isOpenLinkModal,
|
|
700
|
-
text,
|
|
701
|
-
link,
|
|
702
|
-
isFocused,
|
|
703
|
-
isVisible,
|
|
704
|
-
countOfNotVisibleTools,
|
|
705
|
-
notVisibleTools,
|
|
706
|
-
handleInput,
|
|
707
|
-
proxyModelValue,
|
|
708
|
-
disableMarkdown,
|
|
709
|
-
sourceValue
|
|
710
|
-
};
|
|
711
|
-
}
|
|
712
|
-
});
|
|
713
|
-
|
|
714
|
-
const _hoisted_1 = ["activated"];
|
|
715
|
-
const _hoisted_2 = {
|
|
716
|
-
class: "flex p-sm gap-md bg-on-primary"
|
|
717
|
-
};
|
|
718
|
-
const _hoisted_3 = /*#__PURE__*/createElementVNode("p", {
|
|
719
|
-
class: "text-headline-2"
|
|
720
|
-
}, " Add Link ", -1 /* HOISTED */);
|
|
721
|
-
const _hoisted_4 = {
|
|
722
|
-
class: "flex ml-auto gap-md"
|
|
723
|
-
};
|
|
724
|
-
const _hoisted_5 = /*#__PURE__*/createElementVNode("p", null, "Cancel", -1 /* HOISTED */);
|
|
725
|
-
const _hoisted_6 = /*#__PURE__*/createElementVNode("p", null, "Save", -1 /* HOISTED */);
|
|
726
|
-
|
|
727
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
728
|
-
const _component_or_label = resolveComponent("or-label");
|
|
729
|
-
const _component_or_icon_button = resolveComponent("or-icon-button");
|
|
730
|
-
const _component_or_popover = resolveComponent("or-popover");
|
|
731
|
-
const _component_or_menu_item = resolveComponent("or-menu-item");
|
|
732
|
-
const _component_or_menu = resolveComponent("or-menu");
|
|
733
|
-
const _component_or_input = resolveComponent("or-input");
|
|
734
|
-
const _component_or_button = resolveComponent("or-button");
|
|
735
|
-
const _component_or_modal = resolveComponent("or-modal");
|
|
736
|
-
return openBlock(), createElementBlock("div", {
|
|
737
|
-
ref: "root",
|
|
738
|
-
class: normalizeClass(_ctx.rootStyles)
|
|
739
|
-
}, [createVNode(_component_or_label, null, {
|
|
740
|
-
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.description), 1 /* TEXT */)]),
|
|
741
|
-
|
|
742
|
-
_: 1 /* STABLE */
|
|
743
|
-
}), createElementVNode("div", {
|
|
744
|
-
ref: "containerRef",
|
|
745
|
-
class: normalizeClass(_ctx.containerStyles),
|
|
746
|
-
onClick: _cache[4] || (_cache[4] = $event => _ctx.handleEditorClick())
|
|
747
|
-
}, [createElementVNode("div", {
|
|
748
|
-
ref: "toolbarRef",
|
|
749
|
-
class: normalizeClass(_ctx.toolbarContainerStyles)
|
|
750
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.toolbar, (tools, index) => {
|
|
751
|
-
return openBlock(), createElementBlock("div", {
|
|
752
|
-
key: index,
|
|
753
|
-
class: normalizeClass([..._ctx.toolbarStyles, {
|
|
754
|
-
'hidden': _ctx.isVisible(tools)
|
|
755
|
-
}])
|
|
756
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(tools, item => {
|
|
757
|
-
return openBlock(), createElementBlock("div", {
|
|
758
|
-
key: item,
|
|
759
|
-
class: normalizeClass(['flex gap-md', {
|
|
760
|
-
'hidden': !_ctx.isVisible(item)
|
|
761
|
-
}])
|
|
762
|
-
}, [item === 'heading' ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
763
|
-
key: 0,
|
|
764
|
-
ref_for: true,
|
|
765
|
-
ref: "toolbarButtonRef",
|
|
766
|
-
selected: _ctx.isActive[item],
|
|
767
|
-
disabled: !_ctx.isFocused,
|
|
768
|
-
tooltip: {
|
|
769
|
-
text: item,
|
|
770
|
-
placement: 'top'
|
|
771
|
-
},
|
|
772
|
-
icon: {
|
|
773
|
-
icon: _ctx.headingIcon,
|
|
774
|
-
variant: 'inherit',
|
|
775
|
-
size: 'm'
|
|
776
|
-
},
|
|
777
|
-
onClick: _cache[0] || (_cache[0] = $event => _ctx.menuRef.open())
|
|
778
|
-
}, null, 8 /* PROPS */, ["selected", "disabled", "tooltip", "icon"])) : _ctx.isVisible(item) ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
779
|
-
key: 1,
|
|
780
|
-
tooltip: {
|
|
781
|
-
text: _ctx.iconTooltipsEnum[item],
|
|
782
|
-
placement: 'top'
|
|
783
|
-
},
|
|
784
|
-
selected: _ctx.isActive[item],
|
|
785
|
-
disabled: !_ctx.isFocused,
|
|
786
|
-
icon: {
|
|
787
|
-
icon: _ctx.iconsEnum[item],
|
|
788
|
-
variant: 'inherit',
|
|
789
|
-
size: 'm'
|
|
790
|
-
},
|
|
791
|
-
onClick: $event => _ctx.handleToolbarClick(item)
|
|
792
|
-
}, null, 8 /* PROPS */, ["tooltip", "selected", "disabled", "icon", "onClick"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
793
|
-
}), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */);
|
|
794
|
-
}), 128 /* KEYED_FRAGMENT */)), _ctx.countOfNotVisibleTools > 0 ? (openBlock(), createBlock(_component_or_icon_button, {
|
|
795
|
-
key: 0,
|
|
796
|
-
ref: "moreButtonRef",
|
|
797
|
-
disabled: !_ctx.isFocused,
|
|
798
|
-
icon: {
|
|
799
|
-
icon: 'more_horiz',
|
|
800
|
-
variant: 'inherit',
|
|
801
|
-
size: 'm'
|
|
802
|
-
},
|
|
803
|
-
class: "px-sm",
|
|
804
|
-
onClick: _cache[1] || (_cache[1] = $event => _ctx.moreRef.open())
|
|
805
|
-
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
|
|
806
|
-
class: normalizeClass(['p-sm', {
|
|
807
|
-
'h-[calc(100%-32px)] md:h-[calc(100%-36px)]': _ctx.fullHeight
|
|
808
|
-
}])
|
|
809
|
-
}, [withDirectives(createElementVNode("textarea", {
|
|
810
|
-
ref: "textareaRef",
|
|
811
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.sourceValue = $event),
|
|
812
|
-
"auto-focus": "",
|
|
813
|
-
activated: _ctx.disableMarkdown,
|
|
814
|
-
class: "w-full h-full resize-none border-none outline-none bg-transparent typography-body-2-regular",
|
|
815
|
-
onInput: _cache[3] || (_cache[3] = function () {
|
|
816
|
-
return _ctx.handleInput && _ctx.handleInput(...arguments);
|
|
817
|
-
})
|
|
818
|
-
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_1), [[vShow, _ctx.disableMarkdown], [vModelText, _ctx.sourceValue]]), withDirectives(createElementVNode("div", {
|
|
819
|
-
ref: "editorRef",
|
|
820
|
-
class: normalizeClass(_ctx.editorInputStyles)
|
|
821
|
-
}, null, 2 /* CLASS */), [[vShow, !_ctx.disableMarkdown]]), renderSlot(_ctx.$slots, "files")], 2 /* CLASS */)], 2 /* CLASS */), _ctx.moreButtonRef ? (openBlock(), createBlock(_component_or_popover, {
|
|
822
|
-
key: 0,
|
|
823
|
-
ref: "moreRef",
|
|
824
|
-
trigger: _ctx.moreButtonRef.root,
|
|
825
|
-
placement: "top-end"
|
|
826
|
-
}, {
|
|
827
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.notVisibleTools, item => {
|
|
828
|
-
return openBlock(), createBlock(_component_or_icon_button, {
|
|
829
|
-
key: item,
|
|
830
|
-
tooltip: {
|
|
831
|
-
text: _ctx.iconTooltipsEnum[item],
|
|
832
|
-
placement: 'top'
|
|
833
|
-
},
|
|
834
|
-
selected: _ctx.isActive[item],
|
|
835
|
-
icon: {
|
|
836
|
-
icon: _ctx.iconsEnum[item],
|
|
837
|
-
variant: 'inherit',
|
|
838
|
-
size: 'm'
|
|
839
|
-
},
|
|
840
|
-
onClick: $event => _ctx.handleToolbarClick(item)
|
|
841
|
-
}, null, 8 /* PROPS */, ["tooltip", "selected", "icon", "onClick"]);
|
|
842
|
-
}), 128 /* KEYED_FRAGMENT */))])]),
|
|
843
|
-
|
|
844
|
-
_: 1 /* STABLE */
|
|
845
|
-
}, 8 /* PROPS */, ["trigger"])) : createCommentVNode("v-if", true), _ctx.toolbarButtonRef ? (openBlock(), createBlock(_component_or_menu, {
|
|
846
|
-
key: 1,
|
|
847
|
-
ref: "menuRef",
|
|
848
|
-
trigger: _ctx.toolbarButtonRef[_ctx.getIndexOfHeading].root,
|
|
849
|
-
placement: "bottom-start",
|
|
850
|
-
class: "bg-on-primary"
|
|
851
|
-
}, {
|
|
852
|
-
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.headingLevels, heading => {
|
|
853
|
-
return openBlock(), createBlock(_component_or_menu_item, {
|
|
854
|
-
key: heading,
|
|
855
|
-
onClick: $event => _ctx.handleToolbarClick('heading', heading)
|
|
856
|
-
}, {
|
|
857
|
-
default: withCtx(() => [createTextVNode(" Heading " + toDisplayString(heading), 1 /* TEXT */)]),
|
|
858
|
-
|
|
859
|
-
_: 2 /* DYNAMIC */
|
|
860
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"]);
|
|
861
|
-
}), 128 /* KEYED_FRAGMENT */)), createVNode(_component_or_menu_item, {
|
|
862
|
-
onClick: _cache[5] || (_cache[5] = $event => _ctx.handleToolbarClick('heading'))
|
|
863
|
-
}, {
|
|
864
|
-
default: withCtx(() => [createTextVNode(" None ")]),
|
|
865
|
-
_: 1 /* STABLE */
|
|
866
|
-
})]),
|
|
867
|
-
|
|
868
|
-
_: 1 /* STABLE */
|
|
869
|
-
}, 8 /* PROPS */, ["trigger"])) : createCommentVNode("v-if", true), createVNode(_component_or_modal, {
|
|
870
|
-
"is-open": _ctx.isOpenLinkModal,
|
|
871
|
-
size: "s"
|
|
872
|
-
}, {
|
|
873
|
-
header: withCtx(() => [_hoisted_3]),
|
|
874
|
-
footer: withCtx(() => [createElementVNode("div", _hoisted_4, [createVNode(_component_or_button, {
|
|
875
|
-
variant: "outlined",
|
|
876
|
-
onClick: _ctx.discardLink
|
|
877
|
-
}, {
|
|
878
|
-
default: withCtx(() => [_hoisted_5]),
|
|
879
|
-
_: 1 /* STABLE */
|
|
880
|
-
}, 8 /* PROPS */, ["onClick"]), createVNode(_component_or_button, {
|
|
881
|
-
onClick: _ctx.attachLink
|
|
882
|
-
}, {
|
|
883
|
-
default: withCtx(() => [_hoisted_6]),
|
|
884
|
-
_: 1 /* STABLE */
|
|
885
|
-
}, 8 /* PROPS */, ["onClick"])])]),
|
|
886
|
-
default: withCtx(() => [createElementVNode("div", null, [createVNode(_component_or_label, null, {
|
|
887
|
-
default: withCtx(() => [createTextVNode(" Text ")]),
|
|
888
|
-
_: 1 /* STABLE */
|
|
889
|
-
}), createVNode(_component_or_input, {
|
|
890
|
-
modelValue: _ctx.text,
|
|
891
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => _ctx.text = $event),
|
|
892
|
-
placeholder: "Placeholder",
|
|
893
|
-
class: "pb-md"
|
|
894
|
-
}, null, 8 /* PROPS */, ["modelValue"]), createVNode(_component_or_label, null, {
|
|
895
|
-
default: withCtx(() => [createTextVNode(" Link ")]),
|
|
896
|
-
_: 1 /* STABLE */
|
|
897
|
-
}), createVNode(_component_or_input, {
|
|
898
|
-
modelValue: _ctx.link,
|
|
899
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => _ctx.link = $event),
|
|
900
|
-
placeholder: "Placeholder"
|
|
901
|
-
}, null, 8 /* PROPS */, ["modelValue"])])]),
|
|
902
|
-
_: 1 /* STABLE */
|
|
903
|
-
}, 8 /* PROPS */, ["is-open"])], 2 /* CLASS */);
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
var css_248z = ".tiptap-editor-v3 .is-editor-empty::before {\n content: attr(data-placeholder);\n height: 0;\n pointer-events: none;\n float: left;\n}\n.tiptap-editor-v3 .cm-editor {\n border: none;\n@apply rounded-md;\n}\n.tiptap-editor-v3 .cm-editor .cm-scroller {\n@apply rounded-md;\n}\n.tiptap-editor-v3 .cm-editor.cm-focused {\n outline: none;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters {\n background-color: theme(\"backgroundColor.primary-opacity-0-12\");\n border: none;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement {\n@apply px-sm+*;\n}\n.tiptap-editor-v3 .cm-editor .cm-gutters .cm-gutterElement.cm-activeLineGutter {\n background-color: theme(\"backgroundColor.primary-opacity-0-16\");\n}";
|
|
907
|
-
styleInject(css_248z);
|
|
908
|
-
|
|
909
|
-
script.render = render;
|
|
910
|
-
script.__file = "src/components/or-rich-text-editor-v3/OrRichTextEditor.vue";
|
|
911
|
-
|
|
912
|
-
export { Formats as F, script as s };
|