@onereach/ui-components 4.4.0-beta.2691.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrCode/OrCode.js +3792 -6
- package/dist/bundled/v2/components/OrCode/index.js +2 -6
- package/dist/bundled/v2/components/OrCode/lang.js +3 -3941
- package/dist/bundled/v2/components/OrCode/theme.js +1 -2
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +3 -4
- package/dist/bundled/v2/components/OrConfirm/index.js +1 -2
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +1 -1
- package/dist/bundled/v2/components/OrConfirmV3/index.js +1 -1
- package/dist/bundled/v2/components/OrExpansionPanelV3/styles.js +3 -1
- package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +2 -2
- package/dist/bundled/v2/components/OrModal/OrModal.js +1346 -3
- package/dist/bundled/v2/components/OrModal/index.js +0 -1
- package/dist/bundled/v2/components/OrSidebarV3/styles.js +1 -1
- package/dist/bundled/v2/components/OrTagV3/OrTag.vue.d.ts +5 -5
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +163 -0
- package/dist/bundled/v2/components/OrTagsV3/OrTags.vue.d.ts +80 -0
- package/dist/bundled/v2/components/OrTagsV3/index.d.ts +1 -0
- package/dist/bundled/v2/components/OrTagsV3/index.js +37 -0
- package/dist/bundled/v2/components/OrTagsV3/styles.d.ts +4 -0
- package/dist/bundled/v2/components/OrTagsV3/styles.js +26 -0
- package/dist/bundled/v2/components/OrTextV3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTextarea/OrTextarea.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTextareaV3/OrTextarea.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTextbox/OrTextbox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrToast/OrToast.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrToastV3/OrToast.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTooltip/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v2/components/index.d.ts +4 -1
- package/dist/bundled/v2/components/index.js +13 -17
- package/dist/bundled/v2/{index-0d224ae5.js → index-cf2c3c27.js} +115 -3
- package/dist/bundled/v2/index.js +16 -21
- package/dist/bundled/{v3/index-e9f6b2d8.js → v2/lang-0fb8f78b.js} +4009 -73
- package/dist/bundled/v3/OrCheckboxGroup.vue_vue_type_script_lang-1e71771d.js +60 -0
- package/dist/bundled/v3/{index-d92d0b48.js → OrCode.vue_vue_type_script_lang-74060519.js} +235 -14
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-dca252a7.js → OrConfirm.vue_vue_type_script_lang-23e4ce08.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-4eaa8470.js → OrConfirm.vue_vue_type_script_lang-e5a8f92a.js} +2 -2
- package/dist/bundled/{v2/useFocusTrap-48767a70.js → v3/OrModal.vue_vue_type_script_lang-ae842e5b.js} +106 -3
- package/dist/bundled/v3/OrRadioGroup.vue_vue_type_script_lang-dfffdd80.js +59 -0
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-264914d3.js → OrSelect.vue_vue_type_script_lang-2c4c9f9d.js} +2 -2
- package/dist/bundled/v3/OrTags.vue_vue_type_script_lang-e75444b5.js +70 -0
- package/dist/bundled/v3/components/OrAvatar/OrAvatar.vue.d.ts +11 -26
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +8 -24
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +20 -33
- package/dist/bundled/v3/components/OrButton/OrButton.vue.d.ts +16 -51
- package/dist/bundled/v3/components/OrButtonV2/OrButton.vue.d.ts +20 -57
- package/dist/bundled/v3/components/OrButtonV3/OrButton.vue.d.ts +15 -35
- package/dist/bundled/v3/components/OrCard/OrCard.vue.d.ts +7 -15
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.vue.d.ts +21 -47
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +22 -70
- package/dist/bundled/v3/components/OrCardV3/OrCard.vue.d.ts +4 -7
- package/dist/bundled/v3/components/OrCarousel/OrCarousel.vue.d.ts +126 -676
- package/dist/bundled/v3/components/OrCarouselItem/OrCarouselItem.vue.d.ts +1 -1
- package/dist/bundled/v3/components/OrCheckbox/OrCheckbox.vue.d.ts +15 -35
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +9 -60
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.vue.d.ts +6 -24
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +2 -2
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.vue.d.ts +17 -43
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +23 -53
- package/dist/bundled/v3/components/OrChip/OrChip.vue.d.ts +9 -25
- package/dist/bundled/v3/components/OrChips/OrChips.vue.d.ts +24 -51
- package/dist/bundled/v3/components/OrCode/OrCode.js +6 -10
- package/dist/bundled/v3/components/OrCode/OrCode.vue.d.ts +24 -69
- package/dist/bundled/v3/components/OrCode/index.js +4 -8
- package/dist/bundled/v3/components/OrCode/lang.js +3 -3941
- package/dist/bundled/v3/components/OrCode/theme.js +1 -2
- package/dist/bundled/v3/components/OrCollapse/OrCollapse.vue.d.ts +17 -39
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.vue.d.ts +13 -31
- package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.vue.d.ts +8 -30
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +5 -6
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.vue.d.ts +23 -84
- package/dist/bundled/v3/components/OrConfirm/index.js +3 -4
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +3 -3
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +29 -91
- package/dist/bundled/v3/components/OrConfirmV3/index.js +2 -2
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.vue.d.ts +25 -81
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.vue.d.ts +68 -177
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.vue.d.ts +31 -105
- 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 +2 -2
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.vue.d.ts +14 -35
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +3 -1
- package/dist/bundled/v3/components/OrFabV3/OrFab.vue.d.ts +8 -20
- package/dist/bundled/v3/components/OrFloating/OrFloating.vue.d.ts +15 -46
- 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.vue.d.ts +16 -44
- package/dist/bundled/v3/components/OrIconButtonV2/OrIconButton.vue.d.ts +13 -43
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.vue.d.ts +16 -52
- 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.vue.d.ts +39 -83
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +1 -1
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.vue.d.ts +43 -95
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +39 -79
- package/dist/bundled/v3/components/OrInput/OrInput.vue.d.ts +36 -87
- package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.vue.d.ts +7 -22
- package/dist/bundled/v3/components/OrInputV3/OrInput.vue.d.ts +34 -85
- 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.vue.d.ts +21 -47
- package/dist/bundled/v3/components/OrListOfInputs/OrListOfInputs.vue.d.ts +11 -27
- package/dist/bundled/v3/components/OrLoader/OrLoader.vue.d.ts +10 -26
- package/dist/bundled/v3/components/OrLoaderV3/OrLoader.vue.d.ts +13 -34
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.vue.d.ts +13 -34
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +16 -43
- package/dist/bundled/v3/components/OrModal/OrModal.js +2 -3
- package/dist/bundled/v3/components/OrModal/OrModal.vue.d.ts +14 -38
- package/dist/bundled/v3/components/OrModal/index.js +1 -2
- package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +15 -31
- package/dist/bundled/v3/components/OrNotification/OrNotification.vue.d.ts +9 -27
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.vue.d.ts +9 -20
- package/dist/bundled/v3/components/OrNumberInput/OrNumberInput.vue.d.ts +24 -70
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.vue.d.ts +13 -31
- package/dist/bundled/v3/components/OrOverlay/OrOverlay.vue.d.ts +6 -16
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.vue.d.ts +7 -14
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.vue.d.ts +27 -75
- package/dist/bundled/v3/components/OrPassword/OrPassword.vue.d.ts +22 -63
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +27 -74
- package/dist/bundled/v3/components/OrProgress/OrProgress.vue.d.ts +20 -56
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.vue.d.ts +25 -62
- package/dist/bundled/v3/components/OrRadio/OrRadio.vue.d.ts +13 -35
- package/dist/bundled/v3/components/OrRadioGroup/OrRadioGroup.vue.d.ts +9 -26
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +9 -60
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.vue.d.ts +6 -32
- package/dist/bundled/v3/components/OrRadioGroupV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRadioV3/OrRadio.vue.d.ts +21 -49
- package/dist/bundled/v3/components/OrSearch/OrSearch.vue.d.ts +23 -65
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.vue.d.ts +17 -41
- package/dist/bundled/v3/components/OrSegmentedControlV3/OrSegmentedControl.vue.d.ts +9 -25
- package/dist/bundled/v3/components/OrSelect/OrSelect.vue.d.ts +28 -77
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +3 -3
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +37 -115
- package/dist/bundled/v3/components/OrSelectV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.vue.d.ts +14 -33
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.vue.d.ts +28 -63
- package/dist/bundled/v3/components/OrSidebarV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSidebarV3/styles.js +1 -1
- 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.vue.d.ts +10 -26
- package/dist/bundled/v3/components/OrSkeletonTextV3/OrSkeletonText.vue.d.ts +16 -40
- package/dist/bundled/v3/components/OrSlider/OrSlider.vue.d.ts +35 -91
- package/dist/bundled/v3/components/OrSortHeaderV3/OrSortHeader.vue.d.ts +13 -25
- package/dist/bundled/v3/components/OrStepper/OrStepper.vue.d.ts +16 -43
- package/dist/bundled/v3/components/OrSwitch/OrSwitch.vue.d.ts +12 -33
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.vue.d.ts +22 -53
- 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.vue.d.ts +24 -69
- package/dist/bundled/v3/components/OrTag/OrTag.vue.d.ts +10 -27
- package/dist/bundled/v3/components/OrTagV3/OrTag.vue.d.ts +15 -26
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +101 -0
- package/dist/bundled/v3/components/OrTagsV3/OrTags.vue.d.ts +36 -0
- package/dist/bundled/v3/components/OrTagsV3/index.d.ts +1 -0
- package/dist/bundled/v3/components/OrTagsV3/index.js +46 -0
- package/dist/bundled/v3/components/OrTagsV3/styles.d.ts +4 -0
- package/dist/bundled/v3/components/OrTagsV3/styles.js +26 -0
- 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.vue.d.ts +37 -85
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.vue.d.ts +32 -73
- package/dist/bundled/v3/components/OrTextbox/OrTextbox.vue.d.ts +55 -137
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.vue.d.ts +25 -79
- package/dist/bundled/v3/components/OrToast/OrToast.vue.d.ts +11 -31
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.vue.d.ts +25 -55
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.vue.d.ts +24 -54
- package/dist/bundled/v3/components/OrToastV3/OrToast.vue.d.ts +16 -38
- package/dist/bundled/v3/components/OrTooltip/OrTooltip.vue.d.ts +14 -33
- package/dist/bundled/v3/components/OrTooltipContent/OrTooltipContent.vue.d.ts +4 -10
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +13 -37
- package/dist/bundled/v3/components/index.d.ts +4 -1
- package/dist/bundled/v3/components/index.js +24 -26
- 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/hooks/useResponsive/useResponsive.d.ts +2 -2
- package/dist/bundled/v3/{index-0d224ae5.js → index-cf2c3c27.js} +115 -3
- package/dist/bundled/v3/index.js +33 -33
- package/dist/bundled/{v2/index-e9f6b2d8.js → v3/lang-0fb8f78b.js} +4009 -73
- package/dist/esm/v2/OrCheckboxGroup-f470f938.js +121 -0
- package/dist/esm/v2/{OrCheckboxTree-df80d4ab.js → OrCheckboxTree-1304ae59.js} +6 -2
- package/dist/esm/v2/{OrConfirm-b62d9ce4.js → OrConfirm-d0d9d56c.js} +2 -2
- package/dist/esm/v2/{OrExpansionPanel-7c359bb0.js → OrExpansionPanel-d3a2218d.js} +3 -1
- package/dist/esm/v2/OrInlineTextEdit-601163c3.js +400 -0
- package/dist/esm/v2/OrRadioGroup-0de37d76.js +120 -0
- package/dist/esm/v2/{OrSelect-9d6b3363.js → OrSelect-a4c34099.js} +1 -1
- package/dist/esm/v2/{OrSidebar-b8387abe.js → OrSidebar-de938772.js} +1 -1
- package/dist/esm/v2/OrTags-4ffaa13b.js +159 -0
- package/dist/esm/v2/components/index.d.ts +4 -1
- package/dist/esm/v2/components/index.js +10 -29
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +6 -122
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +1 -2
- package/dist/esm/v2/components/or-confirm/index.js +1 -1
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-text-edit/index.js +1 -1
- package/dist/esm/v2/components/or-radio-group-v3/index.js +6 -120
- package/dist/esm/v2/components/or-select-v3/index.js +2 -2
- package/dist/esm/v2/components/or-sidebar-v3/index.js +1 -1
- package/dist/esm/v2/components/or-tag-v3/OrTag.vue.d.ts +5 -5
- package/dist/esm/v2/components/or-tags-v3/OrTags.vue.d.ts +80 -0
- package/dist/esm/v2/components/or-tags-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-tags-v3/index.js +19 -0
- package/dist/esm/v2/components/or-tags-v3/styles.d.ts +4 -0
- package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textarea/OrTextarea.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-textbox/OrTextbox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-time-picker-v3/OrTimePicker.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast/OrToast.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast/or-toast-container/OrToastContainer.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast-v3/OrToast.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip/or-tooltip-content/OrTooltipContent.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/index.js +10 -30
- package/dist/esm/v3/OrCheckboxGroup-c41a99ba.js +88 -0
- package/dist/esm/v3/{OrCheckboxTree-4a85b9b3.js → OrCheckboxTree-fa6288af.js} +6 -2
- package/dist/esm/v3/{OrConfirm-1a94bdea.js → OrConfirm-410da5b4.js} +1 -1
- package/dist/esm/v3/{OrExpansionPanel-99ca7ed7.js → OrExpansionPanel-c016d8fa.js} +3 -1
- package/dist/esm/v3/OrInlineTextEdit-42d59fb9.js +356 -0
- package/dist/esm/v3/OrRadioGroup-5d1fe6fd.js +87 -0
- package/dist/esm/v3/{OrSelect-3dbddc6b.js → OrSelect-046e8e36.js} +1 -1
- package/dist/esm/v3/{OrSidebar-bfd19c4c.js → OrSidebar-3f2502fb.js} +1 -1
- package/dist/esm/v3/OrTags-a082de82.js +147 -0
- package/dist/esm/v3/components/index.d.ts +4 -1
- package/dist/esm/v3/components/index.js +10 -29
- 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 +20 -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/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-group-v3/index.js +6 -89
- package/dist/esm/v3/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +17 -43
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +1 -2
- 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/index.js +1 -1
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +29 -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 +14 -35
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +1 -1
- 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-text-edit/index.js +1 -1
- 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-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 +16 -43
- 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 +15 -31
- 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 +27 -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-group-v3/index.js +6 -87
- 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 +37 -115
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- 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/index.js +1 -1
- 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 +24 -69
- 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 +15 -26
- package/dist/esm/v3/components/or-tags-v3/OrTags.vue.d.ts +36 -0
- package/dist/esm/v3/components/or-tags-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-tags-v3/index.js +18 -0
- package/dist/esm/v3/components/or-tags-v3/styles.d.ts +4 -0
- 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 +13 -37
- 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 +10 -30
- package/package.json +5 -25
- package/src/components/index.ts +4 -1
- package/src/components/or-confirm/OrConfirm.vue +1 -1
- package/src/components/or-expansion-panel-v3/styles.ts +4 -1
- package/src/components/or-inline-text-edit/OrInlineTextEdit.vue +6 -6
- package/src/components/or-sidebar-v3/styles.ts +1 -1
- package/src/components/or-tag-v3/OrTag.vue +3 -2
- package/src/components/or-tags-v3/OrTags.docs.mdx +7 -0
- package/src/components/or-tags-v3/OrTags.stories3.ts +101 -0
- package/src/components/or-tags-v3/OrTags.vue +129 -0
- package/src/components/or-tags-v3/index.ts +1 -0
- package/src/components/or-tags-v3/styles.ts +41 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -2178
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -220
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +0 -70
- 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 -5
- package/dist/bundled/v2/index-1182caa8.js +0 -9633
- package/dist/bundled/v2/index-85c2efe8.js +0 -7122
- package/dist/bundled/v2/index-d92d0b48.js +0 -3805
- package/dist/bundled/v2/index.es-3f39f316.js +0 -115
- package/dist/bundled/v2/markdown-d43767b0.js +0 -17980
- package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-7e29b3d0.js +0 -237
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-2c009ee0.js +0 -108
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-8bc72542.js +0 -1869
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -283
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -220
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +0 -86
- 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 -5
- package/dist/bundled/v3/index-1182caa8.js +0 -9633
- package/dist/bundled/v3/index-85c2efe8.js +0 -7122
- package/dist/bundled/v3/index.es-3f39f316.js +0 -115
- package/dist/bundled/v3/markdown-d43767b0.js +0 -17980
- package/dist/bundled/v3/useFocusTrap-48767a70.js +0 -1348
- package/dist/esm/v2/OrInlineTextEdit-a129aaf1.js +0 -400
- package/dist/esm/v2/OrRichTextEditor-95d1070d.js +0 -901
- 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 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +0 -59
- 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/v2/flattenDeep-fe0af413.js +0 -6
- package/dist/esm/v3/OrInlineTextEdit-4f4ecba4.js +0 -356
- package/dist/esm/v3/OrRichTextEditor-bdee1f41.js +0 -834
- 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 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +0 -57
- 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/dist/esm/v3/flattenDeep-fe0af413.js +0 -6
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +0 -7
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +0 -142
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -749
- package/src/components/or-rich-text-editor-v3/index.ts +0 -1
- package/src/components/or-rich-text-editor-v3/props.ts +0 -4
- package/src/components/or-rich-text-editor-v3/styles.ts +0 -56
- 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 -120
- package/dist/bundled/v2/{index-f6664cb1.js → index-968c331a.js} +0 -0
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-528dd4d5.js → OrCheckboxTree.vue_vue_type_script_lang-46436cf3.js} +1 -1
- /package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-f1b6ff7d.js → OrExpansionPanel.vue_vue_type_script_lang-d4ed6199.js} +0 -0
- /package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-d7f700de.js → OrSidebar.vue_vue_type_script_lang-5723e223.js} +0 -0
- /package/dist/bundled/v3/{index-f6664cb1.js → index-968c331a.js} +0 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { defineComponent } from 'vue-demi';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
3
|
+
import './components/OrCheckboxTreeV3/OrCheckboxTree.js';
|
|
4
|
+
import { s as script$1 } from './OrCheckboxTree.vue_vue_type_script_lang-46436cf3.js';
|
|
5
|
+
import './components/OrFormGroupV3/OrFormGroup.js';
|
|
6
|
+
import { s as script$2 } from './OrFormGroup.vue_vue_type_script_lang-1c6844d6.js';
|
|
7
|
+
import { FormGroupDirection } from './components/OrFormGroupV3/props.js';
|
|
8
|
+
|
|
9
|
+
var script = defineComponent({
|
|
10
|
+
name: 'OrCheckboxGroup',
|
|
11
|
+
components: {
|
|
12
|
+
OrCheckboxTree: script$1,
|
|
13
|
+
OrFormGroup: script$2
|
|
14
|
+
},
|
|
15
|
+
model: {
|
|
16
|
+
prop: 'modelValue',
|
|
17
|
+
event: 'update:modelValue'
|
|
18
|
+
},
|
|
19
|
+
props: {
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: Array,
|
|
22
|
+
default: () => []
|
|
23
|
+
},
|
|
24
|
+
label: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: ''
|
|
27
|
+
},
|
|
28
|
+
error: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: ''
|
|
31
|
+
},
|
|
32
|
+
hint: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: ''
|
|
35
|
+
},
|
|
36
|
+
direction: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: FormGroupDirection.Vertical
|
|
39
|
+
},
|
|
40
|
+
options: {
|
|
41
|
+
type: Array,
|
|
42
|
+
default: () => []
|
|
43
|
+
},
|
|
44
|
+
disabled: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: false
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
setup(props, _ref) {
|
|
50
|
+
let {
|
|
51
|
+
emit
|
|
52
|
+
} = _ref;
|
|
53
|
+
const proxyModelValue = useVModel(props, 'modelValue', emit);
|
|
54
|
+
return {
|
|
55
|
+
proxyModelValue
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
export { script as s };
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
import { E as EditorView, F as Facet, c as combineConfig, S as StateField,
|
|
2
|
-
import { c as closeBrackets, a as autocompletion, b as closeBracketsKeymap, d as completionKeymap } from './
|
|
1
|
+
import { E as EditorView, F as Facet, c as combineConfig, S as StateField, a as EditorSelection, T as Transaction, C as ChangeSet, b as ChangeDesc, I as IndentContext, g as getIndentation, i as indentString, d as Text, e as indentUnit, f as countColumn, h as getIndentUnit, A as Annotation, j as StateEffect, m as matchBrackets, s as syntaxTree, N as NodeProp, D as Direction, k as findClusterBreak, V as ViewPlugin, l as Decoration, n as codePointAt, o as codePointSize, p as getPanel, q as CharCategory, P as Prec, r as fromCodePoint, t as showPanel, R as RangeSetBuilder, u as EditorState, v as runScopeHandlers, w as hoverTooltip, W as WidgetType, x as logException, y as lineNumbers, z as highlightActiveLineGutter, B as highlightSpecialChars, G as foldGutter, H as drawSelection, J as dropCursor, K as indentOnInput, L as syntaxHighlighting, M as defaultHighlightStyle, O as bracketMatching, Q as rectangularSelection, U as crosshairCursor, X as highlightActiveLine, Y as keymap, Z as foldKeymap } from './index-cf2c3c27.js';
|
|
2
|
+
import { c as closeBrackets, a as autocompletion, b as closeBracketsKeymap, d as completionKeymap, l as languages } from './lang-0fb8f78b.js';
|
|
3
|
+
import { useElementHover } from '@vueuse/core';
|
|
4
|
+
import { defineComponent, ref } from 'vue-demi';
|
|
5
|
+
import script$3 from './components/OrTeleport/OrTeleport.js';
|
|
6
|
+
import { OrCodeLanguages } from './components/OrCode/constants.js';
|
|
7
|
+
import theme from './components/OrCode/theme.js';
|
|
8
|
+
import './components/OrIconButtonV2/OrIconButton.js';
|
|
9
|
+
import './components/OrModal/OrModal.js';
|
|
10
|
+
import { s as script$2 } from './OrModal.vue_vue_type_script_lang-ae842e5b.js';
|
|
11
|
+
import './components/OrError/OrError.js';
|
|
12
|
+
import './components/OrHint/OrHint.js';
|
|
13
|
+
import './components/OrLabel/OrLabel.js';
|
|
14
|
+
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-fb99a3ea.js';
|
|
15
|
+
import { s as script$4 } from './OrError.vue_vue_type_script_lang-450321b8.js';
|
|
16
|
+
import { s as script$5 } from './OrHint.vue_vue_type_script_lang-5d628c6c.js';
|
|
17
|
+
import { s as script$6 } from './OrLabel.vue_vue_type_script_lang-95601b40.js';
|
|
3
18
|
|
|
4
19
|
/**
|
|
5
20
|
Comment or uncomment the current selection. Will use line comments
|
|
@@ -3790,16 +3805,222 @@ as desired.
|
|
|
3790
3805
|
const basicSetup = /*@__PURE__*/(() => [lineNumbers(), highlightActiveLineGutter(), highlightSpecialChars(), history(), foldGutter(), drawSelection(), dropCursor(), EditorState.allowMultipleSelections.of(true), indentOnInput(), syntaxHighlighting(defaultHighlightStyle, {
|
|
3791
3806
|
fallback: true
|
|
3792
3807
|
}), bracketMatching(), closeBrackets(), autocompletion(), rectangularSelection(), crosshairCursor(), highlightActiveLine(), highlightSelectionMatches(), keymap.of([...closeBracketsKeymap, ...defaultKeymap, ...searchKeymap, ...historyKeymap, ...foldKeymap, ...completionKeymap, ...lintKeymap])])();
|
|
3793
|
-
/**
|
|
3794
|
-
A minimal set of extensions to create a functional editor. Only
|
|
3795
|
-
includes [the default keymap](https://codemirror.net/6/docs/ref/#commands.defaultKeymap), [undo
|
|
3796
|
-
history](https://codemirror.net/6/docs/ref/#commands.history), [special character
|
|
3797
|
-
highlighting](https://codemirror.net/6/docs/ref/#view.highlightSpecialChars), [custom selection
|
|
3798
|
-
drawing](https://codemirror.net/6/docs/ref/#view.drawSelection), and [default highlight
|
|
3799
|
-
style](https://codemirror.net/6/docs/ref/#language.defaultHighlightStyle).
|
|
3800
|
-
*/
|
|
3801
|
-
const minimalSetup = /*@__PURE__*/(() => [highlightSpecialChars(), history(), drawSelection(), syntaxHighlighting(defaultHighlightStyle, {
|
|
3802
|
-
fallback: true
|
|
3803
|
-
}), keymap.of([...defaultKeymap, ...historyKeymap])])();
|
|
3804
3808
|
|
|
3805
|
-
|
|
3809
|
+
//partially based on https://github.com/logue/vue-codemirror6/blob/master/src/components/CodeMirror.vue
|
|
3810
|
+
var script = defineComponent({
|
|
3811
|
+
name: 'OrCode',
|
|
3812
|
+
components: {
|
|
3813
|
+
OrIconButton: script$1,
|
|
3814
|
+
OrModal: script$2,
|
|
3815
|
+
OrTeleport: script$3,
|
|
3816
|
+
OrError: script$4,
|
|
3817
|
+
OrHint: script$5,
|
|
3818
|
+
OrLabel: script$6
|
|
3819
|
+
},
|
|
3820
|
+
model: {
|
|
3821
|
+
prop: 'modelValue',
|
|
3822
|
+
event: 'update:modelValue'
|
|
3823
|
+
},
|
|
3824
|
+
props: {
|
|
3825
|
+
label: {
|
|
3826
|
+
type: String,
|
|
3827
|
+
default: '',
|
|
3828
|
+
required: false
|
|
3829
|
+
},
|
|
3830
|
+
modelValue: {
|
|
3831
|
+
type: String,
|
|
3832
|
+
default: '',
|
|
3833
|
+
required: false
|
|
3834
|
+
},
|
|
3835
|
+
language: {
|
|
3836
|
+
type: [Object, String],
|
|
3837
|
+
required: false,
|
|
3838
|
+
default: OrCodeLanguages.JS
|
|
3839
|
+
},
|
|
3840
|
+
isReadonly: {
|
|
3841
|
+
type: Boolean,
|
|
3842
|
+
required: false,
|
|
3843
|
+
default: false
|
|
3844
|
+
},
|
|
3845
|
+
extensions: {
|
|
3846
|
+
type: Array,
|
|
3847
|
+
required: false,
|
|
3848
|
+
default: () => [basicSetup]
|
|
3849
|
+
},
|
|
3850
|
+
phrases: {
|
|
3851
|
+
type: Object,
|
|
3852
|
+
required: false,
|
|
3853
|
+
default: null
|
|
3854
|
+
},
|
|
3855
|
+
isShowingFullscreen: {
|
|
3856
|
+
type: Boolean,
|
|
3857
|
+
default: true,
|
|
3858
|
+
required: false
|
|
3859
|
+
},
|
|
3860
|
+
isInvalid: {
|
|
3861
|
+
type: Boolean,
|
|
3862
|
+
default: false,
|
|
3863
|
+
required: false
|
|
3864
|
+
},
|
|
3865
|
+
error: {
|
|
3866
|
+
type: String,
|
|
3867
|
+
default: '',
|
|
3868
|
+
required: false
|
|
3869
|
+
},
|
|
3870
|
+
hint: {
|
|
3871
|
+
type: String,
|
|
3872
|
+
default: '',
|
|
3873
|
+
required: false
|
|
3874
|
+
},
|
|
3875
|
+
allowPaste: {
|
|
3876
|
+
type: Boolean,
|
|
3877
|
+
default: true
|
|
3878
|
+
},
|
|
3879
|
+
allowDrop: {
|
|
3880
|
+
type: Boolean,
|
|
3881
|
+
default: true
|
|
3882
|
+
},
|
|
3883
|
+
lineWrapping: {
|
|
3884
|
+
type: Boolean,
|
|
3885
|
+
default: false
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3888
|
+
emits: ['update:modelValue', 'focus', 'blur'],
|
|
3889
|
+
setup(props, _ref) {
|
|
3890
|
+
let {
|
|
3891
|
+
emit
|
|
3892
|
+
} = _ref;
|
|
3893
|
+
// editor config
|
|
3894
|
+
const root = ref();
|
|
3895
|
+
const target = ref();
|
|
3896
|
+
const fullscreenTarget = ref();
|
|
3897
|
+
const isHovered = useElementHover(root);
|
|
3898
|
+
const editor = new EditorView({
|
|
3899
|
+
state: EditorState.create({
|
|
3900
|
+
doc: props.modelValue
|
|
3901
|
+
}),
|
|
3902
|
+
dispatch: tr => {
|
|
3903
|
+
editor.update([tr]);
|
|
3904
|
+
if (tr.changes.empty) return;
|
|
3905
|
+
emit('update:modelValue', editor.state.doc.toString());
|
|
3906
|
+
}
|
|
3907
|
+
});
|
|
3908
|
+
return {
|
|
3909
|
+
root,
|
|
3910
|
+
target,
|
|
3911
|
+
fullscreenTarget,
|
|
3912
|
+
editor,
|
|
3913
|
+
isHovered
|
|
3914
|
+
};
|
|
3915
|
+
},
|
|
3916
|
+
data() {
|
|
3917
|
+
return {
|
|
3918
|
+
isFullscreen: false
|
|
3919
|
+
};
|
|
3920
|
+
},
|
|
3921
|
+
computed: {
|
|
3922
|
+
localLanguage() {
|
|
3923
|
+
if (Object.values(OrCodeLanguages).includes(this.language)) {
|
|
3924
|
+
return languages[this.language];
|
|
3925
|
+
} else {
|
|
3926
|
+
return this.language;
|
|
3927
|
+
}
|
|
3928
|
+
},
|
|
3929
|
+
localExtensions() {
|
|
3930
|
+
const {
|
|
3931
|
+
allowDrop,
|
|
3932
|
+
allowPaste,
|
|
3933
|
+
lineWrapping,
|
|
3934
|
+
extensions
|
|
3935
|
+
} = this;
|
|
3936
|
+
let ext = [theme, EditorView.baseTheme({}),
|
|
3937
|
+
// locale settings
|
|
3938
|
+
this.phrases ? EditorState.phrases.of(this.phrases) : undefined,
|
|
3939
|
+
// Parser language setting
|
|
3940
|
+
this.localLanguage,
|
|
3941
|
+
// Editable option
|
|
3942
|
+
EditorView.editable.of(!this.isReadonly),
|
|
3943
|
+
// Focus and blur listener
|
|
3944
|
+
EditorView.updateListener.of(viewUpdate => {
|
|
3945
|
+
if (viewUpdate.focusChanged) {
|
|
3946
|
+
viewUpdate.view.hasFocus ? this.$emit('focus') : this.$emit('blur', viewUpdate.state.doc.toString());
|
|
3947
|
+
}
|
|
3948
|
+
}), EditorView.domEventHandlers({
|
|
3949
|
+
drop(event) {
|
|
3950
|
+
if (!allowDrop) {
|
|
3951
|
+
event.preventDefault();
|
|
3952
|
+
return true;
|
|
3953
|
+
}
|
|
3954
|
+
},
|
|
3955
|
+
paste(event) {
|
|
3956
|
+
if (!allowPaste) {
|
|
3957
|
+
event.preventDefault();
|
|
3958
|
+
return true;
|
|
3959
|
+
}
|
|
3960
|
+
}
|
|
3961
|
+
}),
|
|
3962
|
+
// line wrapping
|
|
3963
|
+
lineWrapping ? EditorView.lineWrapping : undefined, keymap.of([indentWithTab])];
|
|
3964
|
+
if (Array.isArray(extensions)) {
|
|
3965
|
+
ext = [...ext, ...extensions];
|
|
3966
|
+
}
|
|
3967
|
+
ext = ext.filter(Boolean);
|
|
3968
|
+
return ext;
|
|
3969
|
+
},
|
|
3970
|
+
isShowingError() {
|
|
3971
|
+
return !!this.error && this.isInvalid;
|
|
3972
|
+
},
|
|
3973
|
+
isShowingHint() {
|
|
3974
|
+
return !!this.hint && !this.isShowingError;
|
|
3975
|
+
},
|
|
3976
|
+
isShowingHeader() {
|
|
3977
|
+
var _a;
|
|
3978
|
+
return this.isShowingFullscreen || this.$slots.label || this.$slots.actions || ((_a = this.$scopedSlots) === null || _a === void 0 ? void 0 : _a.actions);
|
|
3979
|
+
}
|
|
3980
|
+
},
|
|
3981
|
+
watch: {
|
|
3982
|
+
modelValue(value) {
|
|
3983
|
+
if (this.editor.composing) return;
|
|
3984
|
+
if (this.editor.state.doc.toString() === value) return;
|
|
3985
|
+
const previous = this.editor.state.selection;
|
|
3986
|
+
this.editor.setState(EditorState.create({
|
|
3987
|
+
doc: value,
|
|
3988
|
+
extensions: this.localExtensions,
|
|
3989
|
+
selection: previous.ranges.some(range => range.to > value.length) ? {
|
|
3990
|
+
anchor: value.length
|
|
3991
|
+
} : previous
|
|
3992
|
+
}));
|
|
3993
|
+
},
|
|
3994
|
+
isFullscreen(value) {
|
|
3995
|
+
if (value) {
|
|
3996
|
+
this.fullscreenTarget.append(this.editor.dom);
|
|
3997
|
+
} else {
|
|
3998
|
+
this.target.append(this.editor.dom);
|
|
3999
|
+
}
|
|
4000
|
+
},
|
|
4001
|
+
localExtensions() {
|
|
4002
|
+
this.updateEditorState();
|
|
4003
|
+
}
|
|
4004
|
+
},
|
|
4005
|
+
mounted() {
|
|
4006
|
+
this.updateEditorState();
|
|
4007
|
+
this.target.append(this.editor.dom);
|
|
4008
|
+
},
|
|
4009
|
+
beforeUnmount() {
|
|
4010
|
+
var _a;
|
|
4011
|
+
(_a = this.editor) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
4012
|
+
},
|
|
4013
|
+
methods: {
|
|
4014
|
+
updateEditorState() {
|
|
4015
|
+
this.editor.setState(EditorState.create({
|
|
4016
|
+
doc: this.modelValue,
|
|
4017
|
+
extensions: this.localExtensions
|
|
4018
|
+
}));
|
|
4019
|
+
},
|
|
4020
|
+
toggleFullscreen(value) {
|
|
4021
|
+
this.isFullscreen = value === undefined ? !this.isFullscreen : value;
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
});
|
|
4025
|
+
|
|
4026
|
+
export { script as s };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
2
|
-
import { l as logicAnd } from './index-
|
|
2
|
+
import { l as logicAnd } from './index-968c331a.js';
|
|
3
3
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
4
4
|
import { ConfirmType } from './components/OrConfirmV3/props.js';
|
|
5
5
|
import { ConfirmRoot, ConfirmHeader, ConfirmInput, ConfirmFooter, ConfirmFooterTypes, ConfirmFooterButtons } from './components/OrConfirmV3/styles.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { useMagicKeys, useActiveElement, whenever } from '@vueuse/core';
|
|
3
|
-
import { l as logicAnd } from './index-
|
|
3
|
+
import { l as logicAnd } from './index-968c331a.js';
|
|
4
4
|
import './components/OrButtonV2/OrButton.js';
|
|
5
5
|
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-4f44f547.js';
|
|
6
6
|
import './components/OrModal/OrModal.js';
|
|
7
7
|
import './components/OrInput/OrInput.js';
|
|
8
8
|
import { BUTTON_COLOR } from './components/OrButtonV2/constants.js';
|
|
9
9
|
import { OrModalSizes } from './components/OrModal/constants.js';
|
|
10
|
-
import { s as script$2 } from './OrModal.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$2 } from './OrModal.vue_vue_type_script_lang-ae842e5b.js';
|
|
11
11
|
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-4067879f.js';
|
|
12
12
|
|
|
13
13
|
var script = defineComponent({
|
package/dist/bundled/{v2/useFocusTrap-48767a70.js → v3/OrModal.vue_vue_type_script_lang-ae842e5b.js}
RENAMED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { ref, watch, defineComponent, onBeforeUnmount } from 'vue-demi';
|
|
2
|
+
import _ from 'lodash';
|
|
3
|
+
import { OrModalSizes } from './components/OrModal/constants.js';
|
|
4
|
+
import { unrefElement, tryOnScopeDispose, onClickOutside } from '@vueuse/core';
|
|
5
|
+
import './components/OrIconButtonV2/OrIconButton.js';
|
|
6
|
+
import './components/OrOverlay/OrOverlay.js';
|
|
7
|
+
import { s as script$2 } from './OrOverlay.vue_vue_type_script_lang-2f5d626d.js';
|
|
8
|
+
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-fb99a3ea.js';
|
|
3
9
|
|
|
4
10
|
/*!
|
|
5
11
|
* tabbable 6.1.1
|
|
@@ -1345,4 +1351,101 @@ function useFocusTrap(target, options = {}) {
|
|
|
1345
1351
|
};
|
|
1346
1352
|
}
|
|
1347
1353
|
|
|
1348
|
-
|
|
1354
|
+
var script = defineComponent({
|
|
1355
|
+
name: 'OrModal',
|
|
1356
|
+
components: {
|
|
1357
|
+
OrIconButton: script$1,
|
|
1358
|
+
OrOverlay: script$2
|
|
1359
|
+
},
|
|
1360
|
+
props: {
|
|
1361
|
+
titleText: {
|
|
1362
|
+
type: String,
|
|
1363
|
+
required: false,
|
|
1364
|
+
default: null,
|
|
1365
|
+
validator: _.isString
|
|
1366
|
+
},
|
|
1367
|
+
showClose: {
|
|
1368
|
+
type: Boolean,
|
|
1369
|
+
default: true,
|
|
1370
|
+
validator: _.isBoolean
|
|
1371
|
+
},
|
|
1372
|
+
closeOnClickOutside: {
|
|
1373
|
+
type: Boolean,
|
|
1374
|
+
required: false,
|
|
1375
|
+
default: false,
|
|
1376
|
+
validator: _.isBoolean
|
|
1377
|
+
},
|
|
1378
|
+
size: {
|
|
1379
|
+
type: String,
|
|
1380
|
+
required: false,
|
|
1381
|
+
default: OrModalSizes.small
|
|
1382
|
+
},
|
|
1383
|
+
isOpen: {
|
|
1384
|
+
type: Boolean,
|
|
1385
|
+
required: true,
|
|
1386
|
+
validator: _.isBoolean
|
|
1387
|
+
},
|
|
1388
|
+
isWithoutOverlay: {
|
|
1389
|
+
type: Boolean,
|
|
1390
|
+
required: false,
|
|
1391
|
+
default: false,
|
|
1392
|
+
validator: _.isBoolean
|
|
1393
|
+
},
|
|
1394
|
+
trapFocus: {
|
|
1395
|
+
type: Boolean,
|
|
1396
|
+
default: true,
|
|
1397
|
+
validator: _.isBoolean
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
emits: ['close'],
|
|
1401
|
+
setup(props, _ref) {
|
|
1402
|
+
let {
|
|
1403
|
+
emit
|
|
1404
|
+
} = _ref;
|
|
1405
|
+
const overlay = ref();
|
|
1406
|
+
let container = ref(null);
|
|
1407
|
+
let trap = useFocusTrap(container, {
|
|
1408
|
+
immediate: props.trapFocus,
|
|
1409
|
+
fallbackFocus: '.container',
|
|
1410
|
+
allowOutsideClick: true
|
|
1411
|
+
});
|
|
1412
|
+
const handleClose = () => emit('close');
|
|
1413
|
+
onClickOutside(container, evt => {
|
|
1414
|
+
if (!evt.composedPath().includes(overlay.value.$el)) return;
|
|
1415
|
+
if (props.closeOnClickOutside) handleClose();
|
|
1416
|
+
});
|
|
1417
|
+
const toggleFocusTrap = isNeedToTrap => {
|
|
1418
|
+
if (isNeedToTrap && props.isOpen) {
|
|
1419
|
+
trap.activate();
|
|
1420
|
+
} else {
|
|
1421
|
+
trap === null || trap === void 0 ? void 0 : trap.deactivate();
|
|
1422
|
+
}
|
|
1423
|
+
};
|
|
1424
|
+
watch(() => props.trapFocus, toggleFocusTrap, {
|
|
1425
|
+
immediate: true
|
|
1426
|
+
});
|
|
1427
|
+
watch(() => props.isOpen, isOpen => {
|
|
1428
|
+
toggleFocusTrap(false);
|
|
1429
|
+
if (isOpen) {
|
|
1430
|
+
container = ref(null);
|
|
1431
|
+
} else {
|
|
1432
|
+
trap === null || trap === void 0 ? void 0 : trap.deactivate();
|
|
1433
|
+
}
|
|
1434
|
+
});
|
|
1435
|
+
onBeforeUnmount(() => {
|
|
1436
|
+
trap === null || trap === void 0 ? void 0 : trap.deactivate();
|
|
1437
|
+
});
|
|
1438
|
+
return {
|
|
1439
|
+
container,
|
|
1440
|
+
overlay,
|
|
1441
|
+
handleClose
|
|
1442
|
+
};
|
|
1443
|
+
},
|
|
1444
|
+
computed: {
|
|
1445
|
+
sizeClass() {
|
|
1446
|
+
return `is-${this.size}`;
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
});
|
|
1450
|
+
|
|
1451
|
+
export { script as s };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { defineComponent } from 'vue-demi';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
3
|
+
import './components/OrFormGroupV3/OrFormGroup.js';
|
|
4
|
+
import './components/OrRadioV3/OrRadio.js';
|
|
5
|
+
import { s as script$2 } from './OrRadio.vue_vue_type_script_lang-e9ac87e8.js';
|
|
6
|
+
import { s as script$1 } from './OrFormGroup.vue_vue_type_script_lang-1c6844d6.js';
|
|
7
|
+
|
|
8
|
+
var script = defineComponent({
|
|
9
|
+
name: 'OrRadioGroup',
|
|
10
|
+
components: {
|
|
11
|
+
OrFormGroup: script$1,
|
|
12
|
+
OrRadio: script$2
|
|
13
|
+
},
|
|
14
|
+
model: {
|
|
15
|
+
prop: 'modelValue',
|
|
16
|
+
event: 'update:modelValue'
|
|
17
|
+
},
|
|
18
|
+
props: {
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: null,
|
|
21
|
+
default: null
|
|
22
|
+
},
|
|
23
|
+
direction: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: 'vertical'
|
|
26
|
+
},
|
|
27
|
+
label: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: ''
|
|
30
|
+
},
|
|
31
|
+
options: {
|
|
32
|
+
type: Array,
|
|
33
|
+
default: () => []
|
|
34
|
+
},
|
|
35
|
+
error: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: ''
|
|
38
|
+
},
|
|
39
|
+
hint: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: ''
|
|
42
|
+
},
|
|
43
|
+
disabled: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
setup(props, _ref) {
|
|
49
|
+
let {
|
|
50
|
+
emit
|
|
51
|
+
} = _ref;
|
|
52
|
+
const proxyModelValue = useVModel(props, 'modelValue', emit);
|
|
53
|
+
return {
|
|
54
|
+
proxyModelValue
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export { script as s };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from 'vue-demi';
|
|
2
2
|
import { SelectRoot, SelectControl, SelectPlaceholder, SelectDropdown, SelectNoSearchResults } from './components/OrSelectV3/styles.js';
|
|
3
3
|
import './components/OrCheckboxV3/OrCheckbox.js';
|
|
4
|
-
import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-75c6053a.js';
|
|
5
4
|
import './components/OrErrorV3/OrError.js';
|
|
6
5
|
import './components/OrExpansionPanelV3/OrExpansionPanel.js';
|
|
7
|
-
import { s as script$3 } from './OrExpansionPanel.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$3 } from './OrExpansionPanel.vue_vue_type_script_lang-d4ed6199.js';
|
|
8
7
|
import './components/OrHintV3/OrHint.js';
|
|
9
8
|
import './components/OrIconV3/OrIcon.js';
|
|
10
9
|
import './components/OrInputV3/OrInput.js';
|
|
@@ -15,6 +14,7 @@ import './components/OrPopoverV3/OrPopover.js';
|
|
|
15
14
|
import './components/OrTagV3/OrTag.js';
|
|
16
15
|
import { s as script$b } from './OrTag.vue_vue_type_script_lang-8643b784.js';
|
|
17
16
|
import { useOverflow } from './hooks/useOverflow.js';
|
|
17
|
+
import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-75c6053a.js';
|
|
18
18
|
import { s as script$2 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
19
19
|
import { s as script$4 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
20
20
|
import { s as script$5 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { Tags, TagsContainer, TagsOverflowButton, TagsOverflowPopover } from './components/OrTagsV3/styles.js';
|
|
3
|
+
import './components/OrButtonV3/OrButton.js';
|
|
4
|
+
import './components/OrPopoverV3/OrPopover.js';
|
|
5
|
+
import './components/OrTagV3/OrTag.js';
|
|
6
|
+
import { useOverflow } from './hooks/useOverflow.js';
|
|
7
|
+
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
8
|
+
import { s as script$2 } from './OrPopover.vue_vue_type_script_lang-2d4eae64.js';
|
|
9
|
+
import { s as script$3 } from './OrTag.vue_vue_type_script_lang-8643b784.js';
|
|
10
|
+
|
|
11
|
+
var script = defineComponent({
|
|
12
|
+
name: 'OrTags',
|
|
13
|
+
components: {
|
|
14
|
+
OrButton: script$1,
|
|
15
|
+
OrPopover: script$2,
|
|
16
|
+
OrTag: script$3
|
|
17
|
+
},
|
|
18
|
+
props: {
|
|
19
|
+
items: {
|
|
20
|
+
type: Array,
|
|
21
|
+
default: () => []
|
|
22
|
+
},
|
|
23
|
+
tagProps: {
|
|
24
|
+
type: Object,
|
|
25
|
+
default: undefined
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
setup(props) {
|
|
29
|
+
// Refs
|
|
30
|
+
const root = ref();
|
|
31
|
+
const container = ref();
|
|
32
|
+
const overflowButton = ref();
|
|
33
|
+
const overflowButtonRoot = computed(() => {
|
|
34
|
+
var _a;
|
|
35
|
+
return (_a = overflowButton.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
36
|
+
});
|
|
37
|
+
const overflowPopover = ref();
|
|
38
|
+
const overflowPopoverRoot = computed(() => {
|
|
39
|
+
var _a;
|
|
40
|
+
return (_a = overflowPopover.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
41
|
+
});
|
|
42
|
+
// Styles
|
|
43
|
+
const rootStyles = computed(() => ['or-tags-v3', ...Tags]);
|
|
44
|
+
const containerStyles = computed(() => [...TagsContainer]);
|
|
45
|
+
const overflowButtonStyles = computed(() => [...TagsOverflowButton]);
|
|
46
|
+
const overflowPopoverStyles = computed(() => [...TagsOverflowPopover]);
|
|
47
|
+
// State
|
|
48
|
+
const {
|
|
49
|
+
innerItems
|
|
50
|
+
} = useOverflow(container);
|
|
51
|
+
const overflowItems = computed(() => {
|
|
52
|
+
return props.items.slice(innerItems.value.length);
|
|
53
|
+
});
|
|
54
|
+
return {
|
|
55
|
+
root,
|
|
56
|
+
container,
|
|
57
|
+
overflowButton,
|
|
58
|
+
overflowButtonRoot,
|
|
59
|
+
overflowPopover,
|
|
60
|
+
overflowPopoverRoot,
|
|
61
|
+
rootStyles,
|
|
62
|
+
containerStyles,
|
|
63
|
+
overflowButtonStyles,
|
|
64
|
+
overflowPopoverStyles,
|
|
65
|
+
overflowItems
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
export { script as s };
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { OR_AVATAR_SIZE } from './constants';
|
|
3
|
-
declare const _default: import("vue
|
|
4
|
-
showImg: boolean;
|
|
5
|
-
}, {
|
|
6
|
-
showImage(): void;
|
|
7
|
-
hideImage(): void;
|
|
8
|
-
}, {
|
|
9
|
-
avatarClasses(): any[];
|
|
10
|
-
}, {
|
|
3
|
+
declare const _default: import("vue-demi").DefineComponent<{
|
|
11
4
|
src: {
|
|
12
5
|
type: PropType<string>;
|
|
13
6
|
default: string;
|
|
@@ -24,7 +17,14 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
24
17
|
default: string;
|
|
25
18
|
required: false;
|
|
26
19
|
};
|
|
27
|
-
},
|
|
20
|
+
}, unknown, {
|
|
21
|
+
showImg: boolean;
|
|
22
|
+
}, {
|
|
23
|
+
avatarClasses(): any[];
|
|
24
|
+
}, {
|
|
25
|
+
showImage(): void;
|
|
26
|
+
hideImage(): void;
|
|
27
|
+
}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, {}, string, import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
28
28
|
src: {
|
|
29
29
|
type: PropType<string>;
|
|
30
30
|
default: string;
|
|
@@ -41,24 +41,9 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
41
41
|
default: string;
|
|
42
42
|
required: false;
|
|
43
43
|
};
|
|
44
|
-
}
|
|
45
|
-
src: string;
|
|
46
|
-
size: OR_AVATAR_SIZE;
|
|
47
|
-
icon: string;
|
|
48
|
-
} & {}, import("@vue/composition-api").ShallowUnwrapRef<import("@vue/composition-api").Data>, {
|
|
49
|
-
showImg: boolean;
|
|
50
|
-
}, {
|
|
51
|
-
avatarClasses(): any[];
|
|
52
|
-
}, {
|
|
53
|
-
showImage(): void;
|
|
54
|
-
hideImage(): void;
|
|
55
|
-
}, {}, {}, {}, {
|
|
56
|
-
src: string;
|
|
57
|
-
size: OR_AVATAR_SIZE;
|
|
58
|
-
icon: string;
|
|
59
|
-
} & {}, {
|
|
44
|
+
}>>, {
|
|
60
45
|
src: string;
|
|
61
46
|
size: OR_AVATAR_SIZE;
|
|
62
47
|
icon: string;
|
|
63
|
-
}
|
|
48
|
+
}>;
|
|
64
49
|
export default _default;
|