@onereach/ui-components 7.0.0 → 7.0.1-beta.3531.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
|
@@ -0,0 +1,746 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, toRefs, watch, getCurrentInstance, onMounted } from 'vue-demi';
|
|
2
|
+
import { Select, SelectControl, SelectSearchControl, SelectDropdown, SelectDropdownFlipped, SelectDropdownDefault, SelectDropdownItem, SelectNoSearchResults } from './components/OrSelectV3/styles.js';
|
|
3
|
+
import { openBlock, createElementBlock, normalizeClass, renderSlot, withDirectives, normalizeStyle, vModelDynamic, resolveComponent, createVNode, createSlots, withCtx, createElementVNode, vShow, createBlock, createTextVNode, toDisplayString, createCommentVNode, Fragment } from 'vue';
|
|
4
|
+
import { isEmptyValue } from './utils/isEmptyValue.js';
|
|
5
|
+
import { f as useFocus } from './index-c5cda763.js';
|
|
6
|
+
import { useProxyModelValue } from './hooks/useProxyModelValue.js';
|
|
7
|
+
import './components/OrTagsV3/OrTags.js';
|
|
8
|
+
import { s as script$5 } from './OrTags.vue_vue_type_script_lang-ab2ccd23.js';
|
|
9
|
+
import { TagsOverflow } from './components/OrTagsV3/props.js';
|
|
10
|
+
import './components/OrCheckboxV3/OrCheckbox.js';
|
|
11
|
+
import './components/OrErrorV3/OrError.js';
|
|
12
|
+
import './components/OrExpansionPanelV3/OrExpansionPanel.js';
|
|
13
|
+
import { s as script$8 } from './OrExpansionPanel.vue_vue_type_script_lang-6efa4414.js';
|
|
14
|
+
import './components/OrHintV3/OrHint.js';
|
|
15
|
+
import './components/OrIconV3/OrIcon.js';
|
|
16
|
+
import './components/OrIconButtonV3/OrIconButton.js';
|
|
17
|
+
import './components/OrInputV3/OrInput.js';
|
|
18
|
+
import './components/OrInputBoxV3/OrInputBox.js';
|
|
19
|
+
import './components/OrLabelV3/OrLabel.js';
|
|
20
|
+
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
21
|
+
import './components/OrPopoverV3/OrPopover.js';
|
|
22
|
+
import { s as script$6 } from './OrCheckbox.vue_vue_type_script_lang-cdc466f7.js';
|
|
23
|
+
import { s as script$7 } from './OrError.vue_vue_type_script_lang-fcf91781.js';
|
|
24
|
+
import { s as script$9 } from './OrHint.vue_vue_type_script_lang-0ab8b932.js';
|
|
25
|
+
import { s as script$a } from './OrIcon.vue_vue_type_script_lang-bc674d9e.js';
|
|
26
|
+
import { s as script$b } from './OrIconButton.vue_vue_type_script_lang-6a53a819.js';
|
|
27
|
+
import { s as script$c } from './OrInput.vue_vue_type_script_lang-f558bdbb.js';
|
|
28
|
+
import { s as script$d } from './OrInputBox.vue_vue_type_script_lang-137cb650.js';
|
|
29
|
+
import { s as script$e } from './OrLabel.vue_vue_type_script_lang-e2bcff17.js';
|
|
30
|
+
import { s as script$f } from './OrMenuItem.vue_vue_type_script_lang-1e9ee207.js';
|
|
31
|
+
import { s as script$g } from './OrPopover.vue_vue_type_script_lang-d7c493af.js';
|
|
32
|
+
import { DropdownClose } from './directives/dropdown-close.js';
|
|
33
|
+
import { DropdownOpen } from './directives/dropdown-open.js';
|
|
34
|
+
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
35
|
+
import useResponsive from './hooks/useResponsive/useResponsive.js';
|
|
36
|
+
|
|
37
|
+
const SelectPlaceholder = [
|
|
38
|
+
// Interactivity
|
|
39
|
+
'interactivity-default',
|
|
40
|
+
// Typography
|
|
41
|
+
'typography-inherit truncate',
|
|
42
|
+
// Theme
|
|
43
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
44
|
+
|
|
45
|
+
var script$4 = defineComponent({
|
|
46
|
+
props: {
|
|
47
|
+
disabled: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: false
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
expose: ['root'],
|
|
53
|
+
setup() {
|
|
54
|
+
// Refs
|
|
55
|
+
const root = ref();
|
|
56
|
+
// Styles
|
|
57
|
+
const rootStyles = computed(() => ['or-select-placeholder-v3', ...SelectPlaceholder]);
|
|
58
|
+
return {
|
|
59
|
+
root,
|
|
60
|
+
rootStyles
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
const _hoisted_1$3 = ["disabled"];
|
|
66
|
+
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
67
|
+
return openBlock(), createElementBlock("div", {
|
|
68
|
+
ref: "root",
|
|
69
|
+
class: normalizeClass(_ctx.rootStyles),
|
|
70
|
+
disabled: _ctx.disabled ? '' : null
|
|
71
|
+
}, [renderSlot(_ctx.$slots, "default")], 10 /* CLASS, PROPS */, _hoisted_1$3);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
script$4.render = render$3;
|
|
75
|
+
script$4.__file = "src/components/or-select-v3/partials/or-select-placeholder/OrSelectPlaceholder.vue";
|
|
76
|
+
|
|
77
|
+
function castToMultipleValue(value) {
|
|
78
|
+
if (Array.isArray(value)) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
return isEmptyValue(value) ? [] : [value];
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
const SelectControlInput = [
|
|
85
|
+
// Base
|
|
86
|
+
'appearance-none',
|
|
87
|
+
// Typography
|
|
88
|
+
'typography-inherit',
|
|
89
|
+
// Theme (placeholder)
|
|
90
|
+
'placeholder:theme-foreground-outline', 'dark:placeholder:theme-foreground-outline-dark', 'theme-background-transparent', 'outline-none'];
|
|
91
|
+
|
|
92
|
+
var script$3 = defineComponent({
|
|
93
|
+
model: {
|
|
94
|
+
prop: 'modelValue',
|
|
95
|
+
event: 'update:modelValue'
|
|
96
|
+
},
|
|
97
|
+
props: {
|
|
98
|
+
modelValue: {
|
|
99
|
+
type: String,
|
|
100
|
+
default: ''
|
|
101
|
+
},
|
|
102
|
+
placeholder: {
|
|
103
|
+
type: String,
|
|
104
|
+
default: ''
|
|
105
|
+
},
|
|
106
|
+
disabled: {
|
|
107
|
+
type: Boolean,
|
|
108
|
+
default: false
|
|
109
|
+
},
|
|
110
|
+
readonly: {
|
|
111
|
+
type: Boolean,
|
|
112
|
+
default: false
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
emits: ['update:modelValue'],
|
|
116
|
+
expose: ['focused', 'root', 'focus'],
|
|
117
|
+
setup(props, context) {
|
|
118
|
+
// Refs
|
|
119
|
+
const root = ref();
|
|
120
|
+
// Props
|
|
121
|
+
const {
|
|
122
|
+
placeholder,
|
|
123
|
+
modelValue
|
|
124
|
+
} = toRefs(props);
|
|
125
|
+
// State
|
|
126
|
+
const proxyModelValue = useProxyModelValue(modelValue, context.emit);
|
|
127
|
+
const {
|
|
128
|
+
focused
|
|
129
|
+
} = useFocus(root);
|
|
130
|
+
// Styles
|
|
131
|
+
const controlStyles = computed(() => [...SelectControlInput]);
|
|
132
|
+
const controlInlineStyles = computed(() => {
|
|
133
|
+
var _a;
|
|
134
|
+
const chars = proxyModelValue.value.length > 0 ? proxyModelValue.value.length : (_a = placeholder.value) === null || _a === void 0 ? void 0 : _a.length;
|
|
135
|
+
return {
|
|
136
|
+
width: `${Math.max(chars + 1 || 0, 2)}ch`
|
|
137
|
+
};
|
|
138
|
+
});
|
|
139
|
+
// Methods
|
|
140
|
+
function focus() {
|
|
141
|
+
focused.value = true;
|
|
142
|
+
}
|
|
143
|
+
return {
|
|
144
|
+
root,
|
|
145
|
+
proxyModelValue,
|
|
146
|
+
controlStyles,
|
|
147
|
+
controlInlineStyles,
|
|
148
|
+
focused,
|
|
149
|
+
focus
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
const _hoisted_1$2 = ["placeholder", "readonly", "disabled"];
|
|
155
|
+
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
156
|
+
return withDirectives((openBlock(), createElementBlock("input", {
|
|
157
|
+
ref: "root",
|
|
158
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
|
|
159
|
+
style: normalizeStyle(_ctx.controlInlineStyles),
|
|
160
|
+
class: normalizeClass(_ctx.controlStyles),
|
|
161
|
+
type: 'text',
|
|
162
|
+
placeholder: _ctx.placeholder,
|
|
163
|
+
readonly: _ctx.readonly,
|
|
164
|
+
disabled: _ctx.disabled,
|
|
165
|
+
autocomplete: 'off',
|
|
166
|
+
minlength: undefined,
|
|
167
|
+
maxlength: undefined
|
|
168
|
+
}, null, 14 /* CLASS, STYLE, PROPS */, _hoisted_1$2)), [[vModelDynamic, _ctx.proxyModelValue]]);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
script$3.render = render$2;
|
|
172
|
+
script$3.__file = "src/components/or-select-v3/partials/or-select-control-input/OrSelectControlInput.vue";
|
|
173
|
+
|
|
174
|
+
const SelectMultipleControlRoot = [
|
|
175
|
+
// Layout
|
|
176
|
+
'layout-row', 'w-full'];
|
|
177
|
+
|
|
178
|
+
var script$2 = defineComponent({
|
|
179
|
+
components: {
|
|
180
|
+
OrSelectPlaceholder: script$4,
|
|
181
|
+
OrSelectControlInput: script$3,
|
|
182
|
+
OrTags: script$5
|
|
183
|
+
},
|
|
184
|
+
model: {
|
|
185
|
+
prop: 'modelValue',
|
|
186
|
+
event: 'update:modelValue'
|
|
187
|
+
},
|
|
188
|
+
props: {
|
|
189
|
+
model: {
|
|
190
|
+
type: [Object, String, Number, Array],
|
|
191
|
+
default: () => []
|
|
192
|
+
},
|
|
193
|
+
options: {
|
|
194
|
+
type: Array,
|
|
195
|
+
default: () => []
|
|
196
|
+
},
|
|
197
|
+
disabled: {
|
|
198
|
+
type: Boolean,
|
|
199
|
+
default: false
|
|
200
|
+
},
|
|
201
|
+
readonly: {
|
|
202
|
+
type: Boolean,
|
|
203
|
+
default: false
|
|
204
|
+
},
|
|
205
|
+
placeholder: {
|
|
206
|
+
type: String,
|
|
207
|
+
default: ''
|
|
208
|
+
},
|
|
209
|
+
enableSearch: {
|
|
210
|
+
type: Boolean,
|
|
211
|
+
default: false
|
|
212
|
+
},
|
|
213
|
+
overflow: {
|
|
214
|
+
type: String,
|
|
215
|
+
default: TagsOverflow.Hidden
|
|
216
|
+
},
|
|
217
|
+
modelValue: {
|
|
218
|
+
type: String,
|
|
219
|
+
default: ''
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
emits: ['reset', 'update:modelValue'],
|
|
223
|
+
expose: ['focus', 'root', 'focused'],
|
|
224
|
+
setup(props, context) {
|
|
225
|
+
// Refs
|
|
226
|
+
const root = ref();
|
|
227
|
+
const searchControl = ref();
|
|
228
|
+
const tags = ref();
|
|
229
|
+
// Props
|
|
230
|
+
const {
|
|
231
|
+
modelValue,
|
|
232
|
+
model,
|
|
233
|
+
options,
|
|
234
|
+
overflow
|
|
235
|
+
} = toRefs(props);
|
|
236
|
+
// State
|
|
237
|
+
const searchModelValue = useProxyModelValue(modelValue, context.emit);
|
|
238
|
+
const focused = computed(() => {
|
|
239
|
+
var _a;
|
|
240
|
+
return (_a = searchControl.value) === null || _a === void 0 ? void 0 : _a.focused;
|
|
241
|
+
});
|
|
242
|
+
// Styles
|
|
243
|
+
const rootStyles = computed(() => ['or-select-multiple-control-v3', ...SelectMultipleControlRoot]);
|
|
244
|
+
// Computed
|
|
245
|
+
const value = computed(() => castToMultipleValue(model.value));
|
|
246
|
+
const isEmpty = computed(() => value.value.length === 0);
|
|
247
|
+
const selection = computed(() => {
|
|
248
|
+
if (model.value === undefined || model.value === null) {
|
|
249
|
+
return [];
|
|
250
|
+
}
|
|
251
|
+
return value.value.map(value => options.value.find(option => option.value === value)).filter(value => !!value);
|
|
252
|
+
});
|
|
253
|
+
watch(selection, (items, prevItems) => {
|
|
254
|
+
if (items.length != prevItems.length && overflow.value === TagsOverflow.Scroll && tags.value) {
|
|
255
|
+
tags.value.scrollToEnd();
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
// Methods
|
|
259
|
+
function focus() {
|
|
260
|
+
if (searchControl.value) {
|
|
261
|
+
searchControl.value.focus();
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
return {
|
|
265
|
+
root,
|
|
266
|
+
tags,
|
|
267
|
+
rootStyles,
|
|
268
|
+
searchControl,
|
|
269
|
+
searchModelValue,
|
|
270
|
+
isEmpty,
|
|
271
|
+
selection,
|
|
272
|
+
value,
|
|
273
|
+
focus,
|
|
274
|
+
focused
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
});
|
|
278
|
+
|
|
279
|
+
const _hoisted_1$1 = {
|
|
280
|
+
class: "inline-flex w-fit max-w-full"
|
|
281
|
+
};
|
|
282
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
283
|
+
const _component_OrSelectControlInput = resolveComponent("OrSelectControlInput");
|
|
284
|
+
const _component_OrTags = resolveComponent("OrTags");
|
|
285
|
+
const _component_OrSelectPlaceholder = resolveComponent("OrSelectPlaceholder");
|
|
286
|
+
return openBlock(), createElementBlock("div", {
|
|
287
|
+
ref: "root",
|
|
288
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
289
|
+
}, [withDirectives(createVNode(_component_OrTags, {
|
|
290
|
+
ref: "tags",
|
|
291
|
+
items: _ctx.selection,
|
|
292
|
+
class: "grow",
|
|
293
|
+
disabled: _ctx.disabled,
|
|
294
|
+
"tag-props": {
|
|
295
|
+
variant: _ctx.readonly || _ctx.disabled ? 'tag' : 'reset',
|
|
296
|
+
disabled: _ctx.disabled
|
|
297
|
+
},
|
|
298
|
+
overflow: _ctx.overflow,
|
|
299
|
+
onReset: _cache[1] || (_cache[1] = $event => _ctx.$emit('reset', $event))
|
|
300
|
+
}, createSlots({
|
|
301
|
+
_: 2 /* DYNAMIC */
|
|
302
|
+
}, [_ctx.enableSearch ? {
|
|
303
|
+
name: "tail",
|
|
304
|
+
fn: withCtx(() => [createElementVNode("div", _hoisted_1$1, [createVNode(_component_OrSelectControlInput, {
|
|
305
|
+
ref: "searchControl",
|
|
306
|
+
modelValue: _ctx.searchModelValue,
|
|
307
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.searchModelValue = $event),
|
|
308
|
+
placeholder: _ctx.isEmpty ? _ctx.placeholder : '',
|
|
309
|
+
readonly: _ctx.readonly,
|
|
310
|
+
disabled: _ctx.disabled
|
|
311
|
+
}, null, 8 /* PROPS */, ["modelValue", "placeholder", "readonly", "disabled"])])]),
|
|
312
|
+
key: "0"
|
|
313
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["items", "disabled", "tag-props", "overflow"]), [[vShow, !_ctx.isEmpty || _ctx.enableSearch]]), _ctx.isEmpty && !_ctx.enableSearch ? (openBlock(), createBlock(_component_OrSelectPlaceholder, {
|
|
314
|
+
key: 0,
|
|
315
|
+
disabled: _ctx.disabled
|
|
316
|
+
}, {
|
|
317
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.placeholder), 1 /* TEXT */)]),
|
|
318
|
+
|
|
319
|
+
_: 1 /* STABLE */
|
|
320
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
script$2.render = render$1;
|
|
324
|
+
script$2.__file = "src/components/or-select-v3/partials/or-select-multiple-control/OrSelectMultipleControl.vue";
|
|
325
|
+
|
|
326
|
+
const SelectSingleControlInput = [
|
|
327
|
+
// Layout
|
|
328
|
+
'w-full'];
|
|
329
|
+
|
|
330
|
+
var script$1 = defineComponent({
|
|
331
|
+
components: {
|
|
332
|
+
OrSelectPlaceholder: script$4,
|
|
333
|
+
OrSelectControlInput: script$3
|
|
334
|
+
},
|
|
335
|
+
model: {
|
|
336
|
+
prop: 'modelValue',
|
|
337
|
+
event: 'update:modelValue'
|
|
338
|
+
},
|
|
339
|
+
props: {
|
|
340
|
+
modelValue: {
|
|
341
|
+
type: String,
|
|
342
|
+
default: ''
|
|
343
|
+
},
|
|
344
|
+
model: {
|
|
345
|
+
type: [Object, String, Number, Array],
|
|
346
|
+
default: undefined
|
|
347
|
+
},
|
|
348
|
+
placeholder: {
|
|
349
|
+
type: String,
|
|
350
|
+
default: ''
|
|
351
|
+
},
|
|
352
|
+
options: {
|
|
353
|
+
type: Array,
|
|
354
|
+
default: () => []
|
|
355
|
+
},
|
|
356
|
+
enableSearch: {
|
|
357
|
+
type: Boolean,
|
|
358
|
+
default: false
|
|
359
|
+
},
|
|
360
|
+
disabled: {
|
|
361
|
+
type: Boolean,
|
|
362
|
+
default: false
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
emits: ['update:modelValue'],
|
|
366
|
+
expose: ['root', 'focus', 'focused'],
|
|
367
|
+
setup(props, context) {
|
|
368
|
+
// Refs
|
|
369
|
+
const root = ref();
|
|
370
|
+
const searchControl = ref();
|
|
371
|
+
// Props
|
|
372
|
+
const {
|
|
373
|
+
modelValue,
|
|
374
|
+
model,
|
|
375
|
+
options
|
|
376
|
+
} = toRefs(props);
|
|
377
|
+
// State
|
|
378
|
+
const searchModelValue = useProxyModelValue(modelValue, context.emit);
|
|
379
|
+
const isEmpty = computed(() => {
|
|
380
|
+
return isEmptyValue(model.value);
|
|
381
|
+
});
|
|
382
|
+
const selection = computed(() => {
|
|
383
|
+
return options.value.find(option => option.value === model.value);
|
|
384
|
+
});
|
|
385
|
+
const selectionLabel = computed(() => {
|
|
386
|
+
var _a;
|
|
387
|
+
return (_a = selection.value) === null || _a === void 0 ? void 0 : _a.label;
|
|
388
|
+
});
|
|
389
|
+
const focused = computed(() => {
|
|
390
|
+
var _a;
|
|
391
|
+
return (_a = searchControl.value) === null || _a === void 0 ? void 0 : _a.focused;
|
|
392
|
+
});
|
|
393
|
+
// Styles
|
|
394
|
+
const rootStyles = computed(() => ['or-select-single-control-v3', ...SelectSingleControlInput]);
|
|
395
|
+
// Methods
|
|
396
|
+
function focus() {
|
|
397
|
+
if (searchControl.value) {
|
|
398
|
+
searchControl.value.focus();
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
return {
|
|
402
|
+
root,
|
|
403
|
+
rootStyles,
|
|
404
|
+
searchControl,
|
|
405
|
+
searchModelValue,
|
|
406
|
+
isEmpty,
|
|
407
|
+
selection,
|
|
408
|
+
selectionLabel,
|
|
409
|
+
focus,
|
|
410
|
+
focused
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
});
|
|
414
|
+
|
|
415
|
+
const _hoisted_1 = {
|
|
416
|
+
key: 0,
|
|
417
|
+
class: "truncate"
|
|
418
|
+
};
|
|
419
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
420
|
+
const _component_OrSelectControlInput = resolveComponent("OrSelectControlInput");
|
|
421
|
+
const _component_OrSelectPlaceholder = resolveComponent("OrSelectPlaceholder");
|
|
422
|
+
return openBlock(), createElementBlock("div", {
|
|
423
|
+
ref: "root",
|
|
424
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
425
|
+
}, [!_ctx.isEmpty ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(_ctx.selectionLabel), 1 /* TEXT */)) : (openBlock(), createElementBlock(Fragment, {
|
|
426
|
+
key: 1
|
|
427
|
+
}, [_ctx.enableSearch ? (openBlock(), createBlock(_component_OrSelectControlInput, {
|
|
428
|
+
key: 0,
|
|
429
|
+
ref: "searchControl",
|
|
430
|
+
modelValue: _ctx.searchModelValue,
|
|
431
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.searchModelValue = $event),
|
|
432
|
+
placeholder: _ctx.placeholder
|
|
433
|
+
}, null, 8 /* PROPS */, ["modelValue", "placeholder"])) : (openBlock(), createBlock(_component_OrSelectPlaceholder, {
|
|
434
|
+
key: 1,
|
|
435
|
+
disabled: _ctx.disabled
|
|
436
|
+
}, {
|
|
437
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.placeholder), 1 /* TEXT */)]),
|
|
438
|
+
|
|
439
|
+
_: 1 /* STABLE */
|
|
440
|
+
}, 8 /* PROPS */, ["disabled"]))], 64 /* STABLE_FRAGMENT */))], 2 /* CLASS */);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
script$1.render = render;
|
|
444
|
+
script$1.__file = "src/components/or-select-v3/partials/or-select-single-control/OrSelectSingleControl.vue";
|
|
445
|
+
|
|
446
|
+
var script = defineComponent({
|
|
447
|
+
components: {
|
|
448
|
+
OrSelectMultipleControl: script$2,
|
|
449
|
+
OrSelectSingleControl: script$1,
|
|
450
|
+
OrCheckbox: script$6,
|
|
451
|
+
OrError: script$7,
|
|
452
|
+
OrExpansionPanel: script$8,
|
|
453
|
+
OrHint: script$9,
|
|
454
|
+
OrIcon: script$a,
|
|
455
|
+
OrIconButton: script$b,
|
|
456
|
+
OrInput: script$c,
|
|
457
|
+
OrInputBox: script$d,
|
|
458
|
+
OrLabel: script$e,
|
|
459
|
+
OrMenuItem: script$f,
|
|
460
|
+
OrPopover: script$g
|
|
461
|
+
},
|
|
462
|
+
directives: {
|
|
463
|
+
DropdownClose,
|
|
464
|
+
DropdownOpen
|
|
465
|
+
},
|
|
466
|
+
model: {
|
|
467
|
+
prop: 'modelValue',
|
|
468
|
+
event: 'update:modelValue'
|
|
469
|
+
},
|
|
470
|
+
props: {
|
|
471
|
+
options: {
|
|
472
|
+
type: Array,
|
|
473
|
+
default: () => []
|
|
474
|
+
},
|
|
475
|
+
searchOptions: {
|
|
476
|
+
type: Array,
|
|
477
|
+
default: () => []
|
|
478
|
+
},
|
|
479
|
+
modelValue: {
|
|
480
|
+
type: [Object, String, Number, Array],
|
|
481
|
+
default: undefined
|
|
482
|
+
},
|
|
483
|
+
multiple: {
|
|
484
|
+
type: Boolean,
|
|
485
|
+
default: false
|
|
486
|
+
},
|
|
487
|
+
size: {
|
|
488
|
+
type: String,
|
|
489
|
+
default: InputBoxSize.M
|
|
490
|
+
},
|
|
491
|
+
label: {
|
|
492
|
+
type: String,
|
|
493
|
+
default: undefined
|
|
494
|
+
},
|
|
495
|
+
placeholder: {
|
|
496
|
+
type: String,
|
|
497
|
+
default: undefined
|
|
498
|
+
},
|
|
499
|
+
hint: {
|
|
500
|
+
type: String,
|
|
501
|
+
default: undefined
|
|
502
|
+
},
|
|
503
|
+
error: {
|
|
504
|
+
type: [String, Boolean],
|
|
505
|
+
default: undefined
|
|
506
|
+
},
|
|
507
|
+
required: {
|
|
508
|
+
type: Boolean,
|
|
509
|
+
default: false
|
|
510
|
+
},
|
|
511
|
+
disabled: {
|
|
512
|
+
type: Boolean,
|
|
513
|
+
default: false
|
|
514
|
+
},
|
|
515
|
+
disableDefaultStyles: {
|
|
516
|
+
type: Boolean,
|
|
517
|
+
default: false
|
|
518
|
+
},
|
|
519
|
+
enableSearch: {
|
|
520
|
+
type: Boolean,
|
|
521
|
+
default: false
|
|
522
|
+
},
|
|
523
|
+
enableClear: {
|
|
524
|
+
type: Boolean,
|
|
525
|
+
default: false
|
|
526
|
+
},
|
|
527
|
+
searchFunction: {
|
|
528
|
+
type: Function,
|
|
529
|
+
default: async (searchText, options) => {
|
|
530
|
+
return options.filter(_ref => {
|
|
531
|
+
let {
|
|
532
|
+
label
|
|
533
|
+
} = _ref;
|
|
534
|
+
return label.toLowerCase().includes(searchText.toLowerCase());
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
groupByFunction: {
|
|
539
|
+
type: Function,
|
|
540
|
+
default: undefined
|
|
541
|
+
},
|
|
542
|
+
externalControl: {
|
|
543
|
+
type: Boolean,
|
|
544
|
+
default: false
|
|
545
|
+
},
|
|
546
|
+
overflow: {
|
|
547
|
+
type: String,
|
|
548
|
+
default: TagsOverflow.Hidden
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
emits: ['update:modelValue', 'focus', 'blur', 'search'],
|
|
552
|
+
expose: ['root'],
|
|
553
|
+
setup(props, context) {
|
|
554
|
+
var _a;
|
|
555
|
+
const currentInstance = getCurrentInstance();
|
|
556
|
+
// Refs
|
|
557
|
+
const root = ref();
|
|
558
|
+
const inputBox = ref();
|
|
559
|
+
const inputBoxRoot = computed(() => {
|
|
560
|
+
var _a;
|
|
561
|
+
return (_a = inputBox.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
562
|
+
});
|
|
563
|
+
const control = ref();
|
|
564
|
+
const multipleControl = ref();
|
|
565
|
+
const singleControl = ref();
|
|
566
|
+
const searchControl = ref();
|
|
567
|
+
const popover = ref();
|
|
568
|
+
const popoverRoot = computed(() => {
|
|
569
|
+
var _a;
|
|
570
|
+
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
571
|
+
});
|
|
572
|
+
const popoverState = computed(() => {
|
|
573
|
+
var _a;
|
|
574
|
+
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
575
|
+
});
|
|
576
|
+
// Props
|
|
577
|
+
const {
|
|
578
|
+
enableClear,
|
|
579
|
+
enableSearch,
|
|
580
|
+
modelValue,
|
|
581
|
+
multiple
|
|
582
|
+
} = toRefs(props);
|
|
583
|
+
// Styles
|
|
584
|
+
const rootStyles = computed(() => ['or-select-v3', ...Select]);
|
|
585
|
+
const controlStyles = computed(() => [...SelectControl]);
|
|
586
|
+
const searchControlStyles = computed(() => [...SelectSearchControl]);
|
|
587
|
+
const dropdownStyles = computed(() => {
|
|
588
|
+
var _a;
|
|
589
|
+
return [...SelectDropdown, ...(((_a = popover.value) === null || _a === void 0 ? void 0 : _a.isFlipped) ? SelectDropdownFlipped : SelectDropdownDefault)];
|
|
590
|
+
});
|
|
591
|
+
const dropdownItemStyles = computed(() => [...SelectDropdownItem]);
|
|
592
|
+
const noSearchResultsStyles = computed(() => [...SelectNoSearchResults]);
|
|
593
|
+
// State
|
|
594
|
+
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
595
|
+
const proxyModelValue = useProxyModelValue(modelValue, context.emit);
|
|
596
|
+
const isEmptyModelValue = computed(() => {
|
|
597
|
+
return Array.isArray(proxyModelValue.value) ? proxyModelValue.value.length === 0 : isEmptyValue(proxyModelValue.value);
|
|
598
|
+
});
|
|
599
|
+
const showClear = computed(() => {
|
|
600
|
+
return enableClear.value && !isEmptyModelValue.value;
|
|
601
|
+
});
|
|
602
|
+
onMounted(() => {
|
|
603
|
+
if (!proxyModelValue.value && props.multiple) {
|
|
604
|
+
proxyModelValue.value = [];
|
|
605
|
+
}
|
|
606
|
+
});
|
|
607
|
+
const focused = computed(() => {
|
|
608
|
+
var _a, _b;
|
|
609
|
+
if (multiple.value) {
|
|
610
|
+
return (_a = multipleControl.value) === null || _a === void 0 ? void 0 : _a.focused;
|
|
611
|
+
} else {
|
|
612
|
+
return (_b = singleControl.value) === null || _b === void 0 ? void 0 : _b.focused;
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
const readonly = computed(() => context.attrs.readonly);
|
|
616
|
+
const internalSearchOptions = ref(props.options);
|
|
617
|
+
const resolvedSearchOptions = computed(() => {
|
|
618
|
+
return props.externalControl ? props.searchOptions : internalSearchOptions.value;
|
|
619
|
+
});
|
|
620
|
+
const searchText = ref('');
|
|
621
|
+
watch([() => props.externalControl, searchText, () => props.options], async _ref2 => {
|
|
622
|
+
let [externalControl, searchText, options] = _ref2;
|
|
623
|
+
if (externalControl) {
|
|
624
|
+
context.emit('search', searchText);
|
|
625
|
+
} else {
|
|
626
|
+
internalSearchOptions.value = await props.searchFunction(searchText, options);
|
|
627
|
+
}
|
|
628
|
+
}, {
|
|
629
|
+
deep: true
|
|
630
|
+
});
|
|
631
|
+
const groupedOptions = computed(() => {
|
|
632
|
+
const groupBy = props.groupByFunction;
|
|
633
|
+
if (groupBy) {
|
|
634
|
+
return internalSearchOptions.value.reduce((accumulator, option) => {
|
|
635
|
+
var _a;
|
|
636
|
+
const group = groupBy(option);
|
|
637
|
+
return {
|
|
638
|
+
...accumulator,
|
|
639
|
+
[group]: [...((_a = accumulator[group]) !== null && _a !== void 0 ? _a : []), option]
|
|
640
|
+
};
|
|
641
|
+
}, {});
|
|
642
|
+
}
|
|
643
|
+
return {
|
|
644
|
+
'': props.options
|
|
645
|
+
};
|
|
646
|
+
});
|
|
647
|
+
// Methods
|
|
648
|
+
function toggle() {
|
|
649
|
+
if (!readonly.value && !props.disabled) {
|
|
650
|
+
const popoverInstance = popover.value;
|
|
651
|
+
if (popoverInstance) {
|
|
652
|
+
if (popoverState.value === 'open' && !focused.value) {
|
|
653
|
+
close();
|
|
654
|
+
} else {
|
|
655
|
+
open();
|
|
656
|
+
focus();
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
function open() {
|
|
662
|
+
const popoverInstance = popover.value;
|
|
663
|
+
if (popoverInstance) {
|
|
664
|
+
popoverInstance.open();
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
function close() {
|
|
668
|
+
const popoverInstance = popover.value;
|
|
669
|
+
if (popoverInstance) {
|
|
670
|
+
popoverInstance.close();
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
function focus() {
|
|
674
|
+
if (enableSearch.value) {
|
|
675
|
+
const controlInstance = multiple.value ? multipleControl.value : singleControl.value;
|
|
676
|
+
if (controlInstance) {
|
|
677
|
+
controlInstance.focus();
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
function deselect(option) {
|
|
682
|
+
const modelValue = proxyModelValue.value;
|
|
683
|
+
if (Array.isArray(modelValue)) {
|
|
684
|
+
proxyModelValue.value = modelValue.filter(value => value !== option);
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
function toggleOption(option) {
|
|
688
|
+
const modelValue = proxyModelValue.value;
|
|
689
|
+
if (Array.isArray(modelValue)) {
|
|
690
|
+
if (modelValue.includes(option)) {
|
|
691
|
+
deselect(option);
|
|
692
|
+
} else {
|
|
693
|
+
proxyModelValue.value = [...modelValue, option];
|
|
694
|
+
}
|
|
695
|
+
} else {
|
|
696
|
+
proxyModelValue.value = option;
|
|
697
|
+
}
|
|
698
|
+
clearSearchControl();
|
|
699
|
+
}
|
|
700
|
+
function clearSearchControl() {
|
|
701
|
+
searchText.value = '';
|
|
702
|
+
}
|
|
703
|
+
// Utils
|
|
704
|
+
const {
|
|
705
|
+
isDesktop,
|
|
706
|
+
isMobile
|
|
707
|
+
} = useResponsive();
|
|
708
|
+
return {
|
|
709
|
+
root,
|
|
710
|
+
inputBox,
|
|
711
|
+
inputBoxRoot,
|
|
712
|
+
control,
|
|
713
|
+
multipleControl,
|
|
714
|
+
singleControl,
|
|
715
|
+
searchControl,
|
|
716
|
+
popover,
|
|
717
|
+
popoverRoot,
|
|
718
|
+
popoverState,
|
|
719
|
+
rootStyles,
|
|
720
|
+
controlStyles,
|
|
721
|
+
searchControlStyles,
|
|
722
|
+
dropdownStyles,
|
|
723
|
+
dropdownItemStyles,
|
|
724
|
+
noSearchResultsStyles,
|
|
725
|
+
controlId,
|
|
726
|
+
proxyModelValue,
|
|
727
|
+
readonly,
|
|
728
|
+
isEmptyModelValue,
|
|
729
|
+
showClear,
|
|
730
|
+
searchText,
|
|
731
|
+
internalSearchOptions,
|
|
732
|
+
resolvedSearchOptions,
|
|
733
|
+
groupedOptions,
|
|
734
|
+
toggle,
|
|
735
|
+
close,
|
|
736
|
+
open,
|
|
737
|
+
deselect,
|
|
738
|
+
toggleOption,
|
|
739
|
+
clearSearchControl,
|
|
740
|
+
isDesktop,
|
|
741
|
+
isMobile
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
});
|
|
745
|
+
|
|
746
|
+
export { script as s };
|