@onereach/ui-components 7.0.0 → 7.0.1-beta.3529.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +1 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.js +1 -1
- package/dist/bundled/v2/components/OrCode/OrCode.js +1 -1
- package/dist/bundled/v2/components/OrColorPicker/OrColorPicker.js +1 -1
- package/dist/bundled/v2/components/OrConfirm/OrConfirm.js +1 -1
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +2 -2
- package/dist/bundled/v2/components/OrDateTimePicker/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +3 -3
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +3 -3
- package/dist/bundled/v2/components/OrInlineTextEdit/OrInlineTextEdit.js +1 -1
- package/dist/bundled/v2/components/OrLoaderV3/OrLoader.js +1 -1
- package/dist/bundled/v2/components/OrModal/OrModal.js +2 -2
- package/dist/bundled/v2/components/OrOverflowMenu/OrOverflowMenu.js +1 -1
- package/dist/bundled/v2/components/OrOverlayV3/OrOverlay.js +1 -1
- package/dist/bundled/v2/components/OrPassword/OrPassword.js +1 -1
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +1 -1
- package/dist/bundled/v2/components/OrProgressV3/OrProgress.js +1 -1
- package/dist/bundled/v2/components/OrResizeablePanelV3/OrResizeablePanel.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +2 -2
- package/dist/bundled/v2/components/OrSelect/OrSelect.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +621 -137
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +48 -29
- package/dist/bundled/v2/components/OrSelectV3/styles.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/types.d.ts +3 -1
- package/dist/bundled/v2/components/OrSidebar/OrSidebar.js +1 -1
- package/dist/bundled/v2/components/OrSlider/OrSlider.js +1 -1
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +1 -1
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.js +138 -67
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.vue.d.ts +59 -14
- package/dist/bundled/v2/components/OrTagInputV3/styles.js +1 -1
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +56 -19
- package/dist/bundled/v2/components/OrTagsV3/OrTags.vue.d.ts +32 -12
- package/dist/bundled/v2/components/OrTagsV3/props.d.ts +3 -1
- package/dist/bundled/v2/components/OrTagsV3/props.js +4 -0
- package/dist/bundled/v2/components/OrTagsV3/styles.js +15 -5
- package/dist/bundled/v2/components/OrTagsV3/types.d.ts +6 -0
- package/dist/bundled/v2/components/OrTagsV3/types.js +1 -0
- package/dist/bundled/v2/components/OrTagsV3/utils/castToTag.d.ts +2 -0
- package/dist/bundled/v2/components/OrTagsV3/utils/castToTag.js +12 -0
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +2 -2
- package/dist/bundled/v2/components/OrToast/composable/useToastEventBus.js +1 -1
- package/dist/bundled/v2/components/OrToastV3/composable/useToastEventBus.js +1 -1
- package/dist/bundled/v2/components/index.js +3 -3
- package/dist/bundled/v2/hooks/useOverflow.d.ts +4 -1
- package/dist/bundled/v2/hooks/useOverflow.js +10 -3
- package/dist/bundled/v2/hooks/useResponsive/useResponsive.js +1 -1
- package/dist/bundled/v2/{index-a488b35e.js → index-a77d7adf.js} +23 -1
- package/dist/bundled/v2/index.js +4 -4
- package/dist/bundled/v2/{useFocusTrap-44eded81.js → useFocusTrap-dad25115.js} +1 -1
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-37e2fc0e.js → OrBottomSheet.vue_vue_type_script_lang-5c209d34.js} +2 -2
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-bc25bb37.js → OrButton.vue_vue_type_script_lang-0f7bda53.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-77bcd3a8.js → OrCardCollection.vue_vue_type_script_lang-4bbd52e3.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-81901ad7.js → OrCardCollection.vue_vue_type_script_lang-832a6115.js} +3 -3
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-ada59489.js → OrCheckboxGroup.vue_vue_type_script_lang-850a6eba.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-aea94f67.js → OrCheckboxTree.vue_vue_type_script_lang-daa18318.js} +2 -2
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-12e5e92d.js → OrCode.vue_vue_type_script_lang-3a6280cf.js} +2 -2
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-9008d0ff.js → OrCode.vue_vue_type_script_lang-e7e395eb.js} +2 -2
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-5c6fd662.js → OrColorPicker.vue_vue_type_script_lang-ae778af6.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-22a73313.js → OrConfirm.vue_vue_type_script_lang-1c3c49c8.js} +6 -6
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-5dd6c37e.js → OrConfirm.vue_vue_type_script_lang-9ed9ba84.js} +4 -4
- package/dist/bundled/v3/{OrContextMenu.vue_vue_type_script_lang-4d5e445b.js → OrContextMenu.vue_vue_type_script_lang-6caa81c0.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-eeb33130.js → OrDatePicker.vue_vue_type_script_lang-b2bdcc61.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-a75fb98f.js → OrDateTimePicker.vue_vue_type_script_lang-a4f4d0dd.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-3b26d48d.js → OrDateTimePicker.vue_vue_type_script_lang-fcacd5d0.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-0c4c9bbc.js → OrDateTimePickerPopoverHeader-0ebbb959.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader.vue_vue_type_script_lang-f2f452de.js → OrDateTimePickerPopoverHeader.vue_vue_type_script_lang-c9eb540e.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-ca150449.js → OrDateTimePickerTimeSelect-934093b2.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-a35c30ce.js → OrIconButton.vue_vue_type_script_lang-6a53a819.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-df7eb768.js → OrInlineInput.vue_vue_type_script_lang-c5b3b8f5.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-70b79aec.js → OrInlineTextEdit.vue_vue_type_script_lang-3efb497c.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-4f7dfa64.js → OrInlineTextarea.vue_vue_type_script_lang-b36f6ddd.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-bea5b267.js → OrInput.vue_vue_type_script_lang-f558bdbb.js} +2 -2
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-aefd49c2.js → OrLoader.vue_vue_type_script_lang-e4fbf869.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-c4b4ca1b.js → OrMenu.vue_vue_type_script_lang-2ef9ec71.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-712e0986.js → OrModal.vue_vue_type_script_lang-a7ac4ac5.js} +2 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-09c00129.js → OrModal.vue_vue_type_script_lang-c4d31fae.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-b53d29af.js → OrNotification.vue_vue_type_script_lang-eaf4f467.js} +1 -1
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-bba61b94.js → OrOverflowMenu.vue_vue_type_script_lang-fa75e033.js} +2 -2
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-a2afd31a.js → OrOverlay.vue_vue_type_script_lang-5b1f4a36.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-5b33bd96.js → OrPagination.vue_vue_type_script_lang-8a01d103.js} +2 -2
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-b36b869a.js → OrPassword.vue_vue_type_script_lang-5cacdf5e.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-2462c31d.js → OrPopover.vue_vue_type_script_lang-d7c493af.js} +2 -2
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-f2da8e58.js → OrProgress.vue_vue_type_script_lang-9f7dcc82.js} +1 -1
- package/dist/bundled/v3/{OrResizeablePanel.vue_vue_type_script_lang-6ff56926.js → OrResizeablePanel.vue_vue_type_script_lang-b521771e.js} +2 -2
- package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-3e868b85.js → OrRichTextEditor.vue_vue_type_script_lang-88d8212b.js} +8 -8
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-44935ef1.js → OrSearch.vue_vue_type_script_lang-89527d71.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-12b1c76f.js → OrSearch.vue_vue_type_script_lang-e756d8a8.js} +2 -2
- package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-3c895f3a.js +746 -0
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-0ae0fd63.js → OrSelect.vue_vue_type_script_lang-a4d17559.js} +1 -1
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-509fb105.js → OrSidebar.vue_vue_type_script_lang-314721d5.js} +1 -1
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-696f6851.js → OrSidebar.vue_vue_type_script_lang-f69f92ca.js} +1 -1
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-e0c33892.js → OrSlider.vue_vue_type_script_lang-207c0596.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-9c054059.js → OrSorting.vue_vue_type_script_lang-257e1c8b.js} +2 -2
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-188b038b.js → OrSwitch.vue_vue_type_script_lang-032fd11a.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-c06d9565.js → OrTabs.vue_vue_type_script_lang-ddac6c54.js} +2 -2
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-e4811b42.js → OrTag.vue_vue_type_script_lang-6c0094be.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-c074503e.js → OrTagInput.vue_vue_type_script_lang-cef895f1.js} +71 -14
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-ffa6d728.js → OrTags.vue_vue_type_script_lang-ab2ccd23.js} +45 -10
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-9f7d944b.js → OrTimePicker.vue_vue_type_script_lang-5c3cd13d.js} +4 -4
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-2ae21641.js → OrToastContainer.vue_vue_type_script_lang-2905654d.js} +1 -1
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-671d567d.js → OrToastContainer.vue_vue_type_script_lang-ccc99bf4.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-28b89a3e.js → OrTooltip.vue_vue_type_script_lang-dd0c252d.js} +1 -1
- package/dist/bundled/v3/{OrTree.vue_vue_type_script_lang-5f86b587.js → OrTree.vue_vue_type_script_lang-cd793811.js} +2 -2
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +2 -2
- package/dist/bundled/v3/components/OrBottomSheetV3/hooks/useBottomSheetSwipeState.js +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +1 -1
- package/dist/bundled/v3/components/OrButtonV3/OrButton.js +2 -2
- package/dist/bundled/v3/components/OrButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCardCollection/OrCardCollection.js +2 -2
- package/dist/bundled/v3/components/OrCardCollection/index.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +2 -2
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +2 -2
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +2 -2
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCode/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCode/index.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/index.js +1 -1
- package/dist/bundled/v3/components/OrColorPicker/OrColorPicker.js +2 -2
- package/dist/bundled/v3/components/OrColorPicker/index.js +1 -1
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +2 -2
- package/dist/bundled/v3/components/OrConfirm/index.js +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +2 -2
- package/dist/bundled/v3/components/OrConfirmV3/index.js +1 -1
- package/dist/bundled/v3/components/OrContextMenuV3/OrContextMenu.js +2 -2
- package/dist/bundled/v3/components/OrContextMenuV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +2 -2
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePicker/OrDateTimePicker.js +2 -2
- package/dist/bundled/v3/components/OrDateTimePicker/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +2 -2
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +4 -4
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.js +2 -2
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +2 -2
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +2 -2
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInlineTextEdit/OrInlineTextEdit.js +2 -2
- package/dist/bundled/v3/components/OrInlineTextEdit/index.js +1 -1
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +2 -2
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +2 -2
- package/dist/bundled/v3/components/OrInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrLoaderV3/OrLoader.js +2 -2
- package/dist/bundled/v3/components/OrLoaderV3/index.js +1 -1
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +2 -2
- package/dist/bundled/v3/components/OrMenuV3/index.js +1 -1
- package/dist/bundled/v3/components/OrModal/OrModal.js +2 -2
- package/dist/bundled/v3/components/OrModal/index.js +1 -1
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +2 -2
- package/dist/bundled/v3/components/OrModalV3/index.js +1 -1
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +2 -2
- package/dist/bundled/v3/components/OrNotificationV3/index.js +1 -1
- package/dist/bundled/v3/components/OrOverflowMenu/OrOverflowMenu.js +2 -2
- package/dist/bundled/v3/components/OrOverflowMenu/index.js +1 -1
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +2 -2
- package/dist/bundled/v3/components/OrPaginationV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPassword/OrPassword.js +2 -2
- package/dist/bundled/v3/components/OrPassword/index.js +1 -1
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +2 -2
- package/dist/bundled/v3/components/OrPopoverV3/index.js +1 -1
- package/dist/bundled/v3/components/OrProgressV3/OrProgress.js +2 -2
- package/dist/bundled/v3/components/OrProgressV3/index.js +1 -1
- package/dist/bundled/v3/components/OrResizeablePanelV3/OrResizeablePanel.js +2 -2
- package/dist/bundled/v3/components/OrResizeablePanelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +2 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSearch/OrSearch.js +2 -2
- package/dist/bundled/v3/components/OrSearch/index.js +1 -1
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +2 -2
- package/dist/bundled/v3/components/OrSearchV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelect/OrSelect.js +2 -2
- package/dist/bundled/v3/components/OrSelect/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +52 -84
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +21 -19
- package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/types.d.ts +3 -1
- package/dist/bundled/v3/components/OrSidebar/OrSidebar.js +2 -2
- package/dist/bundled/v3/components/OrSidebar/index.js +1 -1
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSlider/OrSlider.js +2 -2
- package/dist/bundled/v3/components/OrSlider/index.js +1 -1
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +2 -2
- package/dist/bundled/v3/components/OrSortingV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +2 -2
- package/dist/bundled/v3/components/OrSwitchV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +2 -2
- package/dist/bundled/v3/components/OrTabsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +60 -39
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.vue.d.ts +31 -12
- package/dist/bundled/v3/components/OrTagInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +2 -2
- package/dist/bundled/v3/components/OrTagV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +22 -15
- package/dist/bundled/v3/components/OrTagsV3/OrTags.vue.d.ts +21 -7
- package/dist/bundled/v3/components/OrTagsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagsV3/props.d.ts +3 -1
- package/dist/bundled/v3/components/OrTagsV3/props.js +4 -0
- package/dist/bundled/v3/components/OrTagsV3/styles.js +15 -5
- package/dist/bundled/v3/components/OrTagsV3/types.d.ts +6 -0
- package/dist/bundled/v3/components/OrTagsV3/types.js +1 -0
- package/dist/bundled/v3/components/OrTagsV3/utils/castToTag.d.ts +2 -0
- package/dist/bundled/v3/components/OrTagsV3/utils/castToTag.js +12 -0
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +2 -2
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrToast/Timer.js +1 -1
- package/dist/bundled/v3/components/OrToast/composable/useToastEventBus.js +2 -2
- package/dist/bundled/v3/components/OrToast/index.js +1 -1
- package/dist/bundled/v3/components/OrToastContainer/OrToastContainer.js +2 -2
- package/dist/bundled/v3/components/OrToastContainer/index.js +1 -1
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +2 -2
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +2 -2
- package/dist/bundled/v3/components/OrToastV3/Timer.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/composable/useToastEventBus.js +2 -2
- package/dist/bundled/v3/components/OrToastV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +2 -2
- package/dist/bundled/v3/components/OrTooltipV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTreeV3/OrTree.js +2 -2
- package/dist/bundled/v3/components/OrTreeV3/index.js +1 -1
- package/dist/bundled/v3/components/index.js +55 -55
- package/dist/bundled/v3/hooks/useOverflow.d.ts +4 -1
- package/dist/bundled/v3/hooks/useOverflow.js +10 -3
- package/dist/bundled/v3/hooks/usePopoverState.js +1 -1
- package/dist/bundled/v3/hooks/useResponsive/useResponsive.js +1 -1
- package/dist/bundled/v3/{index-6c0c514a.js → index-0f230746.js} +1 -1
- package/dist/bundled/v3/{index-544e4b4e.js → index-6cbf1493.js} +1 -1
- package/dist/bundled/v3/{index-5baaa991.js → index-c5cda763.js} +24 -2
- package/dist/bundled/v3/index.js +56 -56
- package/dist/bundled/v3/{useFocusTrap-7acc7be5.js → useFocusTrap-aa5b17f6.js} +2 -2
- package/dist/esm/v2/{OrSelect-57af5b9a.js → OrSelect-578bcee2.js} +147 -197
- package/dist/esm/v2/OrSelectControlInput-28c226f8.js +140 -0
- package/dist/esm/v2/OrSelectMultipleControl-961d8d6a.js +209 -0
- package/dist/esm/v2/OrSelectPlaceholder-f36f4e40.js +69 -0
- package/dist/esm/v2/OrSelectSingleControl-76b29e0b.js +153 -0
- package/dist/esm/v2/{OrTagInput-51521313.js → OrTagInput-7f917d41.js} +140 -70
- package/dist/esm/v2/{OrTags-98807166.js → OrTags-ed4ddf4d.js} +86 -25
- package/dist/esm/v2/components/index.js +8 -4
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +48 -29
- package/dist/esm/v2/components/or-select-v3/index.js +9 -3
- package/dist/esm/v2/components/or-select-v3/partials/index.d.ts +3 -0
- package/dist/esm/v2/components/or-select-v3/partials/index.js +32 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-control-input/OrSelectControlInput.vue.d.ts +73 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-control-input/index.d.ts +1 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-control-input/index.js +10 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-control-input/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-multiple-control/OrSelectMultipleControl.vue.d.ts +140 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-multiple-control/index.d.ts +1 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-multiple-control/index.js +31 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-multiple-control/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-multiple-control/utils/castToMultipleModel.d.ts +2 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-placeholder/index.d.ts +1 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-placeholder/index.js +3 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-single-control/OrSelectSingleControl.vue.d.ts +107 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-single-control/index.d.ts +1 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-single-control/index.js +13 -0
- package/dist/esm/v2/components/or-select-v3/partials/or-select-single-control/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-select-v3/types.d.ts +3 -1
- package/dist/esm/v2/components/or-tag-input-v3/OrTagInput.vue.d.ts +59 -14
- package/dist/esm/v2/components/or-tag-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tags-v3/OrTags.vue.d.ts +32 -12
- package/dist/esm/v2/components/or-tags-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tags-v3/props.d.ts +3 -1
- package/dist/esm/v2/components/or-tags-v3/types.d.ts +6 -0
- package/dist/esm/v2/components/or-tags-v3/utils/castToTag.d.ts +2 -0
- package/dist/esm/v2/hooks/index.js +1 -1
- package/dist/esm/v2/hooks/useOverflow.d.ts +4 -1
- package/dist/esm/v2/index.js +8 -4
- package/dist/esm/v2/{useOverflow-ff9ae748.js → useOverflow-b482f3c9.js} +9 -2
- package/dist/esm/v3/{OrSelect-74c2c521.js → OrSelect-b359beb6.js} +134 -179
- package/dist/esm/v3/OrSelectControlInput-3297e30d.js +99 -0
- package/dist/esm/v3/OrSelectMultipleControl-3620b234.js +172 -0
- package/dist/esm/v3/OrSelectPlaceholder-10e3bf5e.js +44 -0
- package/dist/esm/v3/OrSelectSingleControl-f969c913.js +132 -0
- package/dist/esm/v3/{OrTagInput-851b05c8.js → OrTagInput-56ee7d0b.js} +129 -52
- package/dist/esm/v3/{OrTags-55b8c446.js → OrTags-52da64cd.js} +92 -26
- package/dist/esm/v3/components/index.js +8 -4
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +21 -19
- package/dist/esm/v3/components/or-select-v3/index.js +9 -3
- package/dist/esm/v3/components/or-select-v3/partials/index.d.ts +3 -0
- package/dist/esm/v3/components/or-select-v3/partials/index.js +31 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-control-input/OrSelectControlInput.vue.d.ts +52 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-control-input/index.d.ts +1 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-control-input/index.js +10 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-control-input/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-multiple-control/OrSelectMultipleControl.vue.d.ts +94 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-multiple-control/index.d.ts +1 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-multiple-control/index.js +30 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-multiple-control/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-multiple-control/utils/castToMultipleModel.d.ts +2 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-placeholder/index.d.ts +1 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-placeholder/index.js +3 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-single-control/OrSelectSingleControl.vue.d.ts +73 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-single-control/index.d.ts +1 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-single-control/index.js +13 -0
- package/dist/esm/v3/components/or-select-v3/partials/or-select-single-control/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-select-v3/types.d.ts +3 -1
- package/dist/esm/v3/components/or-tag-input-v3/OrTagInput.vue.d.ts +31 -12
- package/dist/esm/v3/components/or-tag-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tags-v3/OrTags.vue.d.ts +21 -7
- package/dist/esm/v3/components/or-tags-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tags-v3/props.d.ts +3 -1
- package/dist/esm/v3/components/or-tags-v3/types.d.ts +6 -0
- package/dist/esm/v3/components/or-tags-v3/utils/castToTag.d.ts +2 -0
- package/dist/esm/v3/hooks/index.js +1 -1
- package/dist/esm/v3/hooks/useOverflow.d.ts +4 -1
- package/dist/esm/v3/index.js +8 -4
- package/dist/esm/v3/{useOverflow-ff9ae748.js → useOverflow-b482f3c9.js} +9 -2
- package/package.json +2 -3
- package/src/components/or-select-v3/OrSelect.vue +107 -115
- package/src/components/or-select-v3/partials/index.ts +3 -0
- package/src/components/or-select-v3/partials/or-select-control-input/OrSelectControlInput.vue +88 -0
- package/src/components/or-select-v3/partials/or-select-control-input/index.ts +1 -0
- package/src/components/or-select-v3/partials/or-select-control-input/styles.ts +13 -0
- package/src/components/or-select-v3/partials/or-select-multiple-control/OrSelectMultipleControl.vue +161 -0
- package/src/components/or-select-v3/partials/or-select-multiple-control/index.ts +1 -0
- package/src/components/or-select-v3/partials/or-select-multiple-control/styles.ts +6 -0
- package/src/components/or-select-v3/partials/or-select-multiple-control/utils/castToMultipleModel.ts +10 -0
- package/src/components/or-select-v3/partials/or-select-placeholder/index.ts +1 -0
- package/src/components/or-select-v3/partials/or-select-single-control/OrSelectSingleControl.vue +131 -0
- package/src/components/or-select-v3/partials/or-select-single-control/index.ts +1 -0
- package/src/components/or-select-v3/partials/or-select-single-control/styles.ts +4 -0
- package/src/components/or-select-v3/styles.ts +1 -0
- package/src/components/or-select-v3/types.ts +5 -1
- package/src/components/or-tag-input-v3/OrTagInput.vue +121 -44
- package/src/components/or-tag-input-v3/styles.ts +1 -1
- package/src/components/or-tags-v3/OrTags.vue +67 -15
- package/src/components/or-tags-v3/props.ts +4 -0
- package/src/components/or-tags-v3/styles.ts +17 -2
- package/src/components/or-tags-v3/types.ts +6 -0
- package/src/components/or-tags-v3/utils/castToTag.ts +11 -0
- package/src/hooks/useOverflow.ts +13 -3
- package/dist/bundled/v3/OrSelect.vue_vue_type_script_lang-d1d57fd5.js +0 -352
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-06eb6ce3.js → OrDateTimePickerMonthSelect-0dfe417f.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-fceb3125.js → OrDateTimePickerPopoverHeader-20b13137.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerTimeSelect-5ebd3f35.js → OrDateTimePickerTimeSelect-02a369fb.js} +0 -0
- /package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-d7c2d142.js → OrExpansionPanel.vue_vue_type_script_lang-6efa4414.js} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { SelectSize } from './props';
|
|
3
|
-
import { SelectGroupByFunction, SelectOption, SelectSearchFunction } from './types';
|
|
3
|
+
import { SelectGroupByFunction, SelectOption, SelectSearchFunction, SelectValue } from './types';
|
|
4
|
+
import { TagsOverflow } from '../or-tags-v3';
|
|
4
5
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
5
6
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
6
7
|
inputBox: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
@@ -10,6 +11,16 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
10
11
|
} | {}, true> | undefined>;
|
|
11
12
|
inputBoxRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
12
13
|
control: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
14
|
+
multipleControl: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
15
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
16
|
+
} | string[], {} & {}, {
|
|
17
|
+
[x: number]: string;
|
|
18
|
+
} | {}, true> | undefined>;
|
|
19
|
+
singleControl: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
20
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
21
|
+
} | string[], {} & {}, {
|
|
22
|
+
[x: number]: string;
|
|
23
|
+
} | {}, true> | undefined>;
|
|
13
24
|
searchControl: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
14
25
|
popover: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
15
26
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -25,24 +36,23 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
25
36
|
dropdownItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
26
37
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
27
38
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
28
|
-
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<
|
|
39
|
+
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<SelectValue>;
|
|
29
40
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
30
41
|
isEmptyModelValue: import("@vue/composition-api").ComputedRef<boolean>;
|
|
31
42
|
showClear: import("@vue/composition-api").ComputedRef<boolean>;
|
|
32
|
-
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
33
43
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
34
44
|
internalSearchOptions: import("@vue/composition-api").Ref<{
|
|
35
|
-
value:
|
|
45
|
+
value: import("./types").RawValue;
|
|
36
46
|
label: string;
|
|
37
47
|
}[]>;
|
|
38
48
|
resolvedSearchOptions: import("@vue/composition-api").ComputedRef<SelectOption[]>;
|
|
39
49
|
groupedOptions: import("@vue/composition-api").ComputedRef<Record<string, SelectOption[]>>;
|
|
40
50
|
toggle: () => void;
|
|
41
51
|
close: () => void;
|
|
42
|
-
|
|
52
|
+
open: () => void;
|
|
53
|
+
deselect: (option: string) => void;
|
|
54
|
+
toggleOption: (option: string) => void;
|
|
43
55
|
clearSearchControl: () => void;
|
|
44
|
-
innerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
45
|
-
outerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
46
56
|
isDesktop: import("@vue/composition-api").ComputedRef<boolean>;
|
|
47
57
|
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
48
58
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -55,7 +65,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
55
65
|
default: () => never[];
|
|
56
66
|
};
|
|
57
67
|
modelValue: {
|
|
58
|
-
type: PropType<
|
|
68
|
+
type: PropType<SelectValue>;
|
|
59
69
|
default: undefined;
|
|
60
70
|
};
|
|
61
71
|
multiple: {
|
|
@@ -74,10 +84,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
74
84
|
type: StringConstructor;
|
|
75
85
|
default: undefined;
|
|
76
86
|
};
|
|
77
|
-
searchPlaceholder: {
|
|
78
|
-
type: StringConstructor;
|
|
79
|
-
default: undefined;
|
|
80
|
-
};
|
|
81
87
|
hint: {
|
|
82
88
|
type: StringConstructor;
|
|
83
89
|
default: undefined;
|
|
@@ -118,6 +124,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
118
124
|
type: BooleanConstructor;
|
|
119
125
|
default: boolean;
|
|
120
126
|
};
|
|
127
|
+
overflow: {
|
|
128
|
+
type: PropType<"default" | "wrap" | "hidden" | "scroll">;
|
|
129
|
+
default: TagsOverflow;
|
|
130
|
+
};
|
|
121
131
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
122
132
|
options: {
|
|
123
133
|
type: PropType<SelectOption[]>;
|
|
@@ -128,7 +138,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
128
138
|
default: () => never[];
|
|
129
139
|
};
|
|
130
140
|
modelValue: {
|
|
131
|
-
type: PropType<
|
|
141
|
+
type: PropType<SelectValue>;
|
|
132
142
|
default: undefined;
|
|
133
143
|
};
|
|
134
144
|
multiple: {
|
|
@@ -147,10 +157,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
147
157
|
type: StringConstructor;
|
|
148
158
|
default: undefined;
|
|
149
159
|
};
|
|
150
|
-
searchPlaceholder: {
|
|
151
|
-
type: StringConstructor;
|
|
152
|
-
default: undefined;
|
|
153
|
-
};
|
|
154
160
|
hint: {
|
|
155
161
|
type: StringConstructor;
|
|
156
162
|
default: undefined;
|
|
@@ -191,15 +197,18 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
191
197
|
type: BooleanConstructor;
|
|
192
198
|
default: boolean;
|
|
193
199
|
};
|
|
200
|
+
overflow: {
|
|
201
|
+
type: PropType<"default" | "wrap" | "hidden" | "scroll">;
|
|
202
|
+
default: TagsOverflow;
|
|
203
|
+
};
|
|
194
204
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
195
|
-
modelValue:
|
|
205
|
+
modelValue: SelectValue;
|
|
196
206
|
label: string;
|
|
197
207
|
options: SelectOption[];
|
|
198
208
|
searchOptions: SelectOption[];
|
|
199
209
|
multiple: boolean;
|
|
200
210
|
size: "m" | "s";
|
|
201
211
|
placeholder: string;
|
|
202
|
-
searchPlaceholder: string;
|
|
203
212
|
hint: string;
|
|
204
213
|
error: string | boolean;
|
|
205
214
|
required: boolean;
|
|
@@ -210,6 +219,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
210
219
|
searchFunction: SelectSearchFunction;
|
|
211
220
|
groupByFunction: SelectGroupByFunction;
|
|
212
221
|
externalControl: boolean;
|
|
222
|
+
overflow: "default" | "wrap" | "hidden" | "scroll";
|
|
213
223
|
} & {} & {
|
|
214
224
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
215
225
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
@@ -221,6 +231,16 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
221
231
|
} | {}, true> | undefined>;
|
|
222
232
|
inputBoxRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
223
233
|
control: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
234
|
+
multipleControl: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
235
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
236
|
+
} | string[], {} & {}, {
|
|
237
|
+
[x: number]: string;
|
|
238
|
+
} | {}, true> | undefined>;
|
|
239
|
+
singleControl: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
240
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
241
|
+
} | string[], {} & {}, {
|
|
242
|
+
[x: number]: string;
|
|
243
|
+
} | {}, true> | undefined>;
|
|
224
244
|
searchControl: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
225
245
|
popover: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
226
246
|
[x: string]: ((...args: any[]) => any) | null;
|
|
@@ -236,35 +256,33 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
236
256
|
dropdownItemStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
237
257
|
noSearchResultsStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
238
258
|
controlId: import("@vue/composition-api").Ref<string>;
|
|
239
|
-
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<
|
|
259
|
+
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<SelectValue>;
|
|
240
260
|
readonly: import("@vue/composition-api").ComputedRef<boolean>;
|
|
241
261
|
isEmptyModelValue: import("@vue/composition-api").ComputedRef<boolean>;
|
|
242
262
|
showClear: import("@vue/composition-api").ComputedRef<boolean>;
|
|
243
|
-
selection: import("@vue/composition-api").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
244
263
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
245
264
|
internalSearchOptions: import("@vue/composition-api").Ref<{
|
|
246
|
-
value:
|
|
265
|
+
value: import("./types").RawValue;
|
|
247
266
|
label: string;
|
|
248
267
|
}[]>;
|
|
249
268
|
resolvedSearchOptions: import("@vue/composition-api").ComputedRef<SelectOption[]>;
|
|
250
269
|
groupedOptions: import("@vue/composition-api").ComputedRef<Record<string, SelectOption[]>>;
|
|
251
270
|
toggle: () => void;
|
|
252
271
|
close: () => void;
|
|
253
|
-
|
|
272
|
+
open: () => void;
|
|
273
|
+
deselect: (option: string) => void;
|
|
274
|
+
toggleOption: (option: string) => void;
|
|
254
275
|
clearSearchControl: () => void;
|
|
255
|
-
innerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
256
|
-
outerItems: import("@vue/composition-api").Ref<HTMLElement[]>;
|
|
257
276
|
isDesktop: import("@vue/composition-api").ComputedRef<boolean>;
|
|
258
277
|
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
259
278
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
260
|
-
modelValue:
|
|
279
|
+
modelValue: SelectValue;
|
|
261
280
|
label: string;
|
|
262
281
|
options: SelectOption[];
|
|
263
282
|
searchOptions: SelectOption[];
|
|
264
283
|
multiple: boolean;
|
|
265
284
|
size: "m" | "s";
|
|
266
285
|
placeholder: string;
|
|
267
|
-
searchPlaceholder: string;
|
|
268
286
|
hint: string;
|
|
269
287
|
error: string | boolean;
|
|
270
288
|
required: boolean;
|
|
@@ -275,17 +293,17 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
275
293
|
searchFunction: SelectSearchFunction;
|
|
276
294
|
groupByFunction: SelectGroupByFunction;
|
|
277
295
|
externalControl: boolean;
|
|
296
|
+
overflow: "default" | "wrap" | "hidden" | "scroll";
|
|
278
297
|
} & {} & {
|
|
279
298
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
280
299
|
}, {
|
|
281
|
-
modelValue:
|
|
300
|
+
modelValue: SelectValue;
|
|
282
301
|
label: string;
|
|
283
302
|
options: SelectOption[];
|
|
284
303
|
searchOptions: SelectOption[];
|
|
285
304
|
multiple: boolean;
|
|
286
305
|
size: "m" | "s";
|
|
287
306
|
placeholder: string;
|
|
288
|
-
searchPlaceholder: string;
|
|
289
307
|
hint: string;
|
|
290
308
|
error: string | boolean;
|
|
291
309
|
required: boolean;
|
|
@@ -296,5 +314,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
296
314
|
searchFunction: SelectSearchFunction;
|
|
297
315
|
groupByFunction: SelectGroupByFunction;
|
|
298
316
|
externalControl: boolean;
|
|
317
|
+
overflow: "default" | "wrap" | "hidden" | "scroll";
|
|
299
318
|
}, true>);
|
|
300
319
|
export default _default;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export interface SelectOption {
|
|
2
|
-
value:
|
|
2
|
+
value: RawValue;
|
|
3
3
|
label: string;
|
|
4
4
|
}
|
|
5
|
+
export type RawValue = string | number | object;
|
|
5
6
|
export interface SelectSearchFunction {
|
|
6
7
|
(searchText: string, options: SelectOption[]): Promise<SelectOption[]>;
|
|
7
8
|
}
|
|
8
9
|
export interface SelectGroupByFunction {
|
|
9
10
|
(option: SelectOption): string;
|
|
10
11
|
}
|
|
12
|
+
export type SelectValue = RawValue | RawValue[] | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as useDraggable } from '../../index-a77d7adf.js';
|
|
2
2
|
import { defineComponent, ref } from 'vue-demi';
|
|
3
3
|
import { OrSidebarSide } from './constants.js';
|
|
4
4
|
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref } from 'vue-demi';
|
|
2
|
-
import { o as onClickOutside,
|
|
2
|
+
import { o as onClickOutside, g as useDraggable } from '../../index-a77d7adf.js';
|
|
3
3
|
import { f as addClass, h as removeClass } from '../../dom-cec392f3.js';
|
|
4
4
|
import __vue_component__$1 from '../OrIcon/OrIcon.js';
|
|
5
5
|
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as useResizeObserver } from '../../index-
|
|
1
|
+
import { e as useResizeObserver } from '../../index-a77d7adf.js';
|
|
2
2
|
import { defineComponent, ref, computed, reactive, toRef, watch, nextTick, onMounted } from 'vue-demi';
|
|
3
3
|
import { TabsVariant } from './props.js';
|
|
4
4
|
import { TabsRoot, TabsRootVariants, TabsContainer, TabsContent } from './styles.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, reactive,
|
|
1
|
+
import { defineComponent, ref, toRefs, computed, reactive, watch, nextTick } from 'vue-demi';
|
|
2
|
+
import { o as onClickOutside } from '../../index-a77d7adf.js';
|
|
2
3
|
import { TagInput, TagInputControl, TagInputItem } from './styles.js';
|
|
3
4
|
import __vue_component__$1 from '../OrErrorV3/OrError.js';
|
|
4
5
|
import __vue_component__$2 from '../OrHintV3/OrHint.js';
|
|
@@ -6,7 +7,7 @@ import __vue_component__$3 from '../OrIconButtonV3/OrIconButton.js';
|
|
|
6
7
|
import __vue_component__$4 from '../OrInputBoxV3/OrInputBox.js';
|
|
7
8
|
import __vue_component__$5 from '../OrLabelV3/OrLabel.js';
|
|
8
9
|
import __vue_component__$6 from '../OrTagsV3/OrTags.js';
|
|
9
|
-
import {
|
|
10
|
+
import { TagsOverflow } from '../OrTagsV3/props.js';
|
|
10
11
|
import { useIdAttribute } from '../../hooks/useIdAttribute.js';
|
|
11
12
|
import { useControlAttributes } from '../../hooks/useControlAttributes.js';
|
|
12
13
|
import { useValidationAttributes } from '../../hooks/useValidationAttributes.js';
|
|
@@ -15,7 +16,6 @@ import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
|
15
16
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
16
17
|
|
|
17
18
|
var script = defineComponent({
|
|
18
|
-
name: 'OrTagInput',
|
|
19
19
|
components: {
|
|
20
20
|
OrError: __vue_component__$1,
|
|
21
21
|
OrHint: __vue_component__$2,
|
|
@@ -33,10 +33,6 @@ var script = defineComponent({
|
|
|
33
33
|
type: Array,
|
|
34
34
|
default: () => []
|
|
35
35
|
},
|
|
36
|
-
size: {
|
|
37
|
-
type: String,
|
|
38
|
-
default: InputBoxSize.M
|
|
39
|
-
},
|
|
40
36
|
label: {
|
|
41
37
|
type: String,
|
|
42
38
|
default: undefined
|
|
@@ -68,14 +64,33 @@ var script = defineComponent({
|
|
|
68
64
|
disableDefaultStyles: {
|
|
69
65
|
type: Boolean,
|
|
70
66
|
default: false
|
|
67
|
+
},
|
|
68
|
+
overflow: {
|
|
69
|
+
type: String,
|
|
70
|
+
default: TagsOverflow.Hidden
|
|
71
|
+
},
|
|
72
|
+
// todo: review default state, disabling will breaking
|
|
73
|
+
enableClear: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: true
|
|
71
76
|
}
|
|
72
77
|
},
|
|
73
|
-
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
78
|
+
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur', 'reset'],
|
|
74
79
|
expose: ['root', 'focus', 'blur'],
|
|
75
80
|
setup(props, context) {
|
|
76
81
|
// Refs
|
|
77
82
|
const root = ref();
|
|
78
83
|
const control = ref();
|
|
84
|
+
const inputBox = ref();
|
|
85
|
+
const tags = ref();
|
|
86
|
+
// Props
|
|
87
|
+
const {
|
|
88
|
+
modelValue,
|
|
89
|
+
overflow,
|
|
90
|
+
placeholder,
|
|
91
|
+
disabled,
|
|
92
|
+
readonly
|
|
93
|
+
} = toRefs(props);
|
|
79
94
|
// Styles
|
|
80
95
|
const rootStyles = computed(() => ['or-tag-input-v3', ...TagInput]);
|
|
81
96
|
const controlStyles = computed(() => [...TagInputControl]);
|
|
@@ -86,13 +101,24 @@ var script = defineComponent({
|
|
|
86
101
|
...useControlAttributes(),
|
|
87
102
|
...useValidationAttributes()
|
|
88
103
|
});
|
|
89
|
-
const
|
|
90
|
-
const
|
|
104
|
+
const activated = ref(false);
|
|
105
|
+
const proxyModelValue = useProxyModelValue(modelValue, context.emit);
|
|
106
|
+
const draftModelValue = ref('');
|
|
91
107
|
const currentLength = computed(() => {
|
|
92
108
|
var _a, _b;
|
|
93
109
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0;
|
|
94
110
|
});
|
|
95
111
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
112
|
+
const controlInlineStyles = computed(() => {
|
|
113
|
+
var _a, _b;
|
|
114
|
+
const chars = draftModelValue.value.length > 0 ? draftModelValue.value.length : currentLength.value === 0 ? (_b = (_a = placeholder.value) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0 : 0;
|
|
115
|
+
return {
|
|
116
|
+
width: `${Math.max(chars + 1 || 0, 3)}ch`
|
|
117
|
+
};
|
|
118
|
+
});
|
|
119
|
+
const showControl = computed(() => {
|
|
120
|
+
return draftModelValue.value.length > 0 || currentLength.value === 0 || activated.value;
|
|
121
|
+
});
|
|
96
122
|
// Methods
|
|
97
123
|
function focus() {
|
|
98
124
|
var _a;
|
|
@@ -102,6 +128,17 @@ var script = defineComponent({
|
|
|
102
128
|
var _a;
|
|
103
129
|
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
104
130
|
}
|
|
131
|
+
function deactivate() {
|
|
132
|
+
activated.value = false;
|
|
133
|
+
nextTick(() => blur());
|
|
134
|
+
context.emit('blur');
|
|
135
|
+
}
|
|
136
|
+
function activate() {
|
|
137
|
+
if (disabled.value || readonly.value) return;
|
|
138
|
+
activated.value = true;
|
|
139
|
+
nextTick(() => focus());
|
|
140
|
+
context.emit('focus');
|
|
141
|
+
}
|
|
105
142
|
function add() {
|
|
106
143
|
var _a;
|
|
107
144
|
const newItem = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.trim();
|
|
@@ -109,36 +146,56 @@ var script = defineComponent({
|
|
|
109
146
|
if (proxyModelValue.value.includes(newItem)) return;
|
|
110
147
|
if (maxLength.value && currentLength.value >= maxLength.value) return;
|
|
111
148
|
proxyModelValue.value = [...proxyModelValue.value, newItem];
|
|
112
|
-
draftModelValue.value =
|
|
149
|
+
draftModelValue.value = '';
|
|
113
150
|
}
|
|
114
151
|
function remove(value) {
|
|
115
152
|
proxyModelValue.value = proxyModelValue.value.filter(item => item !== value);
|
|
116
153
|
}
|
|
117
154
|
function reset() {
|
|
118
155
|
proxyModelValue.value = [];
|
|
119
|
-
draftModelValue.value =
|
|
156
|
+
draftModelValue.value = '';
|
|
157
|
+
context.emit('reset');
|
|
120
158
|
}
|
|
159
|
+
// Effects
|
|
160
|
+
onClickOutside(inputBox, () => {
|
|
161
|
+
var _a, _b;
|
|
162
|
+
if (activated.value === false || ((_b = (_a = tags.value) === null || _a === void 0 ? void 0 : _a.overflowPopover) === null || _b === void 0 ? void 0 : _b.state) === 'open') return;
|
|
163
|
+
deactivate();
|
|
164
|
+
});
|
|
165
|
+
watch(proxyModelValue, (items, prevItems) => {
|
|
166
|
+
var _a;
|
|
167
|
+
if (items.length != prevItems.length && overflow.value === TagsOverflow.Scroll) {
|
|
168
|
+
((_a = tags.value) === null || _a === void 0 ? void 0 : _a.scrollToEnd)();
|
|
169
|
+
}
|
|
170
|
+
});
|
|
121
171
|
return {
|
|
122
172
|
root,
|
|
123
173
|
control,
|
|
174
|
+
inputBox,
|
|
175
|
+
tags,
|
|
124
176
|
rootStyles,
|
|
125
177
|
controlStyles,
|
|
126
178
|
itemStyles,
|
|
179
|
+
controlInlineStyles,
|
|
127
180
|
controlAttributes,
|
|
128
181
|
proxyModelValue,
|
|
129
182
|
draftModelValue,
|
|
130
183
|
currentLength,
|
|
131
184
|
maxLength,
|
|
185
|
+
activated,
|
|
186
|
+
showControl,
|
|
132
187
|
focus,
|
|
133
188
|
blur,
|
|
134
189
|
add,
|
|
190
|
+
activate,
|
|
191
|
+
deactivate,
|
|
135
192
|
remove,
|
|
136
193
|
reset
|
|
137
194
|
};
|
|
138
195
|
}
|
|
139
196
|
});
|
|
140
197
|
|
|
141
|
-
var css_248z = "input[data-v-
|
|
198
|
+
var css_248z = "input[data-v-5083e0d4]{min-width:0;background:0 0;outline:0}";
|
|
142
199
|
styleInject(css_248z);
|
|
143
200
|
|
|
144
201
|
/* script */
|
|
@@ -166,14 +223,20 @@ var __vue_render__ = function () {
|
|
|
166
223
|
proxy: true
|
|
167
224
|
}], null, true)
|
|
168
225
|
}, [_vm._v("\n " + _vm._s(_vm.label) + "\n\n ")])] : _vm._e(), _vm._v(" "), _c('OrInputBox', {
|
|
226
|
+
ref: "inputBox",
|
|
227
|
+
staticClass: "cursor-text",
|
|
169
228
|
attrs: {
|
|
170
229
|
"variant": _vm.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
171
|
-
"
|
|
230
|
+
"force-state": _vm.activated ? 'focus-within' : undefined,
|
|
172
231
|
"invalid": !!_vm.error,
|
|
173
232
|
"readonly": _vm.readonly,
|
|
174
|
-
"disabled": _vm.disabled
|
|
233
|
+
"disabled": _vm.disabled,
|
|
234
|
+
"tabindex": "0"
|
|
175
235
|
},
|
|
176
|
-
|
|
236
|
+
on: {
|
|
237
|
+
"focus": _vm.activate
|
|
238
|
+
},
|
|
239
|
+
scopedSlots: _vm._u([_vm.enableClear && !_vm.readonly && !_vm.disabled ? {
|
|
177
240
|
key: "addon",
|
|
178
241
|
fn: function () {
|
|
179
242
|
return [_vm.proxyModelValue.length > 0 || _vm.draftModelValue ? [_c('OrIconButton', {
|
|
@@ -184,74 +247,82 @@ var __vue_render__ = function () {
|
|
|
184
247
|
},
|
|
185
248
|
on: {
|
|
186
249
|
"click": function ($event) {
|
|
187
|
-
$event.stopPropagation();
|
|
188
250
|
return _vm.reset();
|
|
189
251
|
}
|
|
190
252
|
}
|
|
191
253
|
})] : _vm._e()];
|
|
192
254
|
},
|
|
193
255
|
proxy: true
|
|
194
|
-
}])
|
|
195
|
-
}, [
|
|
256
|
+
} : null], null, true)
|
|
257
|
+
}, [_c('OrTags', {
|
|
258
|
+
ref: "tags",
|
|
259
|
+
staticClass: "grow",
|
|
196
260
|
attrs: {
|
|
197
261
|
"items": _vm.proxyModelValue,
|
|
262
|
+
"disabled": _vm.disabled,
|
|
198
263
|
"tag-props": {
|
|
199
264
|
variant: _vm.readonly || _vm.disabled ? 'tag' : 'reset',
|
|
200
265
|
disabled: _vm.disabled
|
|
201
|
-
}
|
|
266
|
+
},
|
|
267
|
+
"overflow": _vm.overflow
|
|
202
268
|
},
|
|
203
269
|
on: {
|
|
204
270
|
"reset": function ($event) {
|
|
205
271
|
return _vm.remove($event);
|
|
206
272
|
}
|
|
207
|
-
}
|
|
208
|
-
})] : _vm._e(), _vm._v(" "), _c('input', _vm._b({
|
|
209
|
-
directives: [{
|
|
210
|
-
name: "model",
|
|
211
|
-
rawName: "v-model",
|
|
212
|
-
value: _vm.draftModelValue,
|
|
213
|
-
expression: "draftModelValue"
|
|
214
|
-
}],
|
|
215
|
-
ref: "control",
|
|
216
|
-
class: _vm.controlStyles,
|
|
217
|
-
attrs: {
|
|
218
|
-
"placeholder": _vm.proxyModelValue.length === 0 ? _vm.placeholder : undefined,
|
|
219
|
-
"readonly": _vm.readonly,
|
|
220
|
-
"disabled": _vm.disabled,
|
|
221
|
-
"autocomplete": 'off',
|
|
222
|
-
"minlength": undefined,
|
|
223
|
-
"maxlength": undefined,
|
|
224
|
-
"type": 'text'
|
|
225
|
-
},
|
|
226
|
-
domProps: {
|
|
227
|
-
"value": _vm.draftModelValue
|
|
228
273
|
},
|
|
229
|
-
|
|
230
|
-
"
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
274
|
+
scopedSlots: _vm._u([_vm.showControl ? {
|
|
275
|
+
key: "tail",
|
|
276
|
+
fn: function () {
|
|
277
|
+
return [_c('div', {
|
|
278
|
+
staticClass: "inline-flex w-fit max-w-full"
|
|
279
|
+
}, [_c('input', _vm._b({
|
|
280
|
+
directives: [{
|
|
281
|
+
name: "model",
|
|
282
|
+
rawName: "v-model",
|
|
283
|
+
value: _vm.draftModelValue,
|
|
284
|
+
expression: "draftModelValue"
|
|
285
|
+
}],
|
|
286
|
+
ref: "control",
|
|
287
|
+
class: _vm.controlStyles,
|
|
288
|
+
style: _vm.controlInlineStyles,
|
|
289
|
+
attrs: {
|
|
290
|
+
"placeholder": _vm.proxyModelValue.length === 0 ? _vm.placeholder : undefined,
|
|
291
|
+
"readonly": _vm.readonly,
|
|
292
|
+
"disabled": _vm.disabled,
|
|
293
|
+
"autocomplete": 'off',
|
|
294
|
+
"minlength": undefined,
|
|
295
|
+
"maxlength": undefined,
|
|
296
|
+
"type": 'text'
|
|
297
|
+
},
|
|
298
|
+
domProps: {
|
|
299
|
+
"value": _vm.draftModelValue
|
|
300
|
+
},
|
|
301
|
+
on: {
|
|
302
|
+
"keydown": [function ($event) {
|
|
303
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
|
|
304
|
+
return null;
|
|
305
|
+
}
|
|
306
|
+
return _vm.add();
|
|
307
|
+
}, function ($event) {
|
|
308
|
+
return _vm.$emit('keydown', $event);
|
|
309
|
+
}],
|
|
310
|
+
"keyup": function ($event) {
|
|
311
|
+
return _vm.$emit('keyup', $event);
|
|
312
|
+
},
|
|
313
|
+
"focus": _vm.activate,
|
|
314
|
+
"input": function ($event) {
|
|
315
|
+
if ($event.target.composing) {
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
|
+
_vm.draftModelValue = $event.target.value;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}, 'input', _vm.controlAttributes, false))])];
|
|
246
322
|
},
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
}
|
|
251
|
-
_vm.draftModelValue = $event.target.value;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}, 'input', _vm.controlAttributes, false))], 2), _vm._v(" "), _c('div', {
|
|
323
|
+
proxy: true
|
|
324
|
+
} : null], null, true)
|
|
325
|
+
})], 1), _vm._v(" "), _c('div', {
|
|
255
326
|
directives: [{
|
|
256
327
|
name: "show",
|
|
257
328
|
rawName: "v-show",
|
|
@@ -296,7 +367,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
296
367
|
/* style */
|
|
297
368
|
const __vue_inject_styles__ = undefined;
|
|
298
369
|
/* scoped */
|
|
299
|
-
const __vue_scope_id__ = "data-v-
|
|
370
|
+
const __vue_scope_id__ = "data-v-5083e0d4";
|
|
300
371
|
/* module identifier */
|
|
301
372
|
const __vue_module_identifier__ = undefined;
|
|
302
373
|
/* functional template */
|