@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
|
@@ -1,31 +1,25 @@
|
|
|
1
|
-
import { s as script } from '../../OrSelect.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrSelect.vue_vue_type_script_lang-
|
|
3
|
-
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode,
|
|
1
|
+
import { s as script } from '../../OrSelect.vue_vue_type_script_lang-3c895f3a.js';
|
|
2
|
+
export { s as default } from '../../OrSelect.vue_vue_type_script_lang-3c895f3a.js';
|
|
3
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, withModifiers, createVNode, Fragment, renderList, vShow } from 'vue';
|
|
4
4
|
|
|
5
5
|
const _hoisted_1 = ["id", "tabindex", "disabled"];
|
|
6
6
|
const _hoisted_2 = {
|
|
7
|
-
class: "truncate"
|
|
8
|
-
};
|
|
9
|
-
const _hoisted_3 = {
|
|
10
|
-
key: 2,
|
|
11
|
-
class: /*#__PURE__*/normalizeClass(['grow'])
|
|
12
|
-
};
|
|
13
|
-
const _hoisted_4 = {
|
|
14
7
|
class: /*#__PURE__*/normalizeClass(['layout-inline-row', 'gap-sm'])
|
|
15
8
|
};
|
|
16
|
-
const
|
|
9
|
+
const _hoisted_3 = ["onClick"];
|
|
10
|
+
const _hoisted_4 = {
|
|
17
11
|
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
18
12
|
};
|
|
19
|
-
const
|
|
13
|
+
const _hoisted_5 = {
|
|
20
14
|
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
21
15
|
};
|
|
22
16
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23
17
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const _component_OrInput = resolveComponent("OrInput");
|
|
18
|
+
const _component_OrSelectMultipleControl = resolveComponent("OrSelectMultipleControl");
|
|
19
|
+
const _component_OrSelectSingleControl = resolveComponent("OrSelectSingleControl");
|
|
27
20
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
28
21
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
22
|
+
const _component_OrInput = resolveComponent("OrInput");
|
|
29
23
|
const _component_OrCheckbox = resolveComponent("OrCheckbox");
|
|
30
24
|
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
31
25
|
const _component_OrExpansionPanel = resolveComponent("OrExpansionPanel");
|
|
@@ -51,7 +45,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
51
45
|
_: 3 /* FORWARDED */
|
|
52
46
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), withDirectives((openBlock(), createBlock(_component_OrInputBox, {
|
|
53
47
|
ref: "inputBox",
|
|
54
|
-
class: normalizeClass([_ctx.popoverState === 'open' && (_ctx.popover.isFlipped ? 'rounded-t-0' : 'rounded-b-0')]),
|
|
48
|
+
class: normalizeClass([_ctx.popoverState === 'open' && (_ctx.popover && _ctx.popover.isFlipped ? 'rounded-t-0' : 'rounded-b-0')]),
|
|
55
49
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
56
50
|
size: _ctx.size,
|
|
57
51
|
invalid: !!_ctx.error,
|
|
@@ -64,74 +58,51 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
64
58
|
class: normalizeClass(_ctx.controlStyles),
|
|
65
59
|
tabindex: !_ctx.disabled ? 0 : null,
|
|
66
60
|
disabled: _ctx.disabled,
|
|
67
|
-
onFocus: _cache[
|
|
68
|
-
onBlur: _cache[
|
|
69
|
-
}, [_ctx
|
|
70
|
-
key: 0
|
|
71
|
-
}, [!_ctx.isEmptyModelValue ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
72
|
-
key: 0,
|
|
61
|
+
onFocus: _cache[2] || (_cache[2] = $event => _ctx.$emit('focus', $event)),
|
|
62
|
+
onBlur: _cache[3] || (_cache[3] = $event => _ctx.$emit('blur', $event))
|
|
63
|
+
}, [renderSlot(_ctx.$slots, "valueTemplate", {
|
|
73
64
|
model: _ctx.proxyModelValue
|
|
74
|
-
}, () => [(openBlock(
|
|
75
|
-
return openBlock(), createBlock(_component_OrTag, {
|
|
76
|
-
key: option.value,
|
|
77
|
-
variant: _ctx.readonly || _ctx.disabled ? 'tag' : 'reset',
|
|
78
|
-
disabled: _ctx.disabled,
|
|
79
|
-
onReset: $event => _ctx.deselect(option)
|
|
80
|
-
}, {
|
|
81
|
-
default: withCtx(() => [createTextVNode(toDisplayString(option.label), 1 /* TEXT */)]),
|
|
82
|
-
|
|
83
|
-
_: 2 /* DYNAMIC */
|
|
84
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["variant", "disabled", "onReset"]);
|
|
85
|
-
}), 128 /* KEYED_FRAGMENT */))]) : _ctx.popoverState === 'closed' || !_ctx.enableSearch ? (openBlock(), createBlock(_component_OrSelectPlaceholder, {
|
|
86
|
-
key: 1,
|
|
87
|
-
disabled: _ctx.disabled
|
|
88
|
-
}, {
|
|
89
|
-
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.placeholder), 1 /* TEXT */)]),
|
|
90
|
-
|
|
91
|
-
_: 1 /* STABLE */
|
|
92
|
-
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock(Fragment, {
|
|
93
|
-
key: 1
|
|
94
|
-
}, [!_ctx.isEmptyModelValue ? renderSlot(_ctx.$slots, "valueTemplate", {
|
|
65
|
+
}, () => [_ctx.multiple ? (openBlock(), createBlock(_component_OrSelectMultipleControl, {
|
|
95
66
|
key: 0,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
67
|
+
ref: "multipleControl",
|
|
68
|
+
modelValue: _ctx.searchText,
|
|
69
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.searchText = $event),
|
|
70
|
+
options: _ctx.options,
|
|
71
|
+
model: _ctx.proxyModelValue,
|
|
72
|
+
placeholder: _ctx.placeholder,
|
|
73
|
+
disabled: _ctx.disabled,
|
|
74
|
+
readonly: _ctx.readonly,
|
|
75
|
+
"enable-search": _ctx.enableSearch,
|
|
76
|
+
overflow: _ctx.overflow,
|
|
77
|
+
onReset: _ctx.deselect
|
|
78
|
+
}, null, 8 /* PROPS */, ["modelValue", "options", "model", "placeholder", "disabled", "readonly", "enable-search", "overflow", "onReset"])) : (openBlock(), createBlock(_component_OrSelectSingleControl, {
|
|
107
79
|
key: 1,
|
|
108
|
-
ref: "
|
|
80
|
+
ref: "singleControl",
|
|
109
81
|
modelValue: _ctx.searchText,
|
|
110
|
-
"onUpdate:modelValue": _cache[
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
placeholder: _ctx.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
onClick: _cache[3] || (_cache[3] = withModifiers(() => {}, ["stop"]))
|
|
117
|
-
}, null, 8 /* PROPS */, ["modelValue", "class", "placeholder", "size"])) : (openBlock(), createElementBlock("div", _hoisted_3)), createElementVNode("div", _hoisted_4, [_ctx.showClear ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
82
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.searchText = $event),
|
|
83
|
+
model: _ctx.proxyModelValue,
|
|
84
|
+
options: _ctx.options,
|
|
85
|
+
placeholder: _ctx.placeholder,
|
|
86
|
+
"enable-search": _ctx.enableSearch
|
|
87
|
+
}, null, 8 /* PROPS */, ["modelValue", "model", "options", "placeholder", "enable-search"]))])], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1), createElementVNode("div", _hoisted_2, [_ctx.showClear ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
118
88
|
key: 0,
|
|
119
89
|
icon: 'close',
|
|
120
90
|
color: 'inherit',
|
|
91
|
+
"additional-styles": ['!text-outline', '!dark:text-outline-dark'],
|
|
121
92
|
disabled: _ctx.readonly || _ctx.disabled,
|
|
122
93
|
onClick: _cache[4] || (_cache[4] = withModifiers($event => _ctx.$emit('update:modelValue', _ctx.multiple ? [] : undefined), ["stop"]))
|
|
123
94
|
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrIcon, {
|
|
124
|
-
icon: _ctx.popoverState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down',
|
|
95
|
+
icon: _ctx.popoverState === 'open' ? _ctx.enableSearch ? 'search' : 'arrow_drop_up' : 'arrow_drop_down',
|
|
96
|
+
class: normalizeClass(_ctx.popoverState === 'open' && _ctx.enableSearch ? '!text-outline !dark:text-outline-dark' : ''),
|
|
125
97
|
variant: 'outlined'
|
|
126
|
-
}, null, 8 /* PROPS */, ["icon"])]), createVNode(_component_OrPopover, {
|
|
98
|
+
}, null, 8 /* PROPS */, ["icon", "class"])]), createVNode(_component_OrPopover, {
|
|
127
99
|
ref: "popover",
|
|
128
100
|
variant: 'auto',
|
|
129
101
|
trigger: _ctx.inputBoxRoot,
|
|
130
102
|
placement: 'bottom',
|
|
131
103
|
"full-width": true,
|
|
132
104
|
"custom-styles": _ctx.dropdownStyles,
|
|
133
|
-
"disable-default-styles": true
|
|
134
|
-
onClose: _cache[8] || (_cache[8] = $event => _ctx.clearSearchControl())
|
|
105
|
+
"disable-default-styles": true
|
|
135
106
|
}, {
|
|
136
107
|
default: withCtx(() => [_ctx.popoverState === 'open' && _ctx.enableSearch && _ctx.isMobile ? (openBlock(), createBlock(_component_OrInput, {
|
|
137
108
|
key: 0,
|
|
@@ -140,7 +111,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
140
111
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => _ctx.searchText = $event),
|
|
141
112
|
class: normalizeClass(_ctx.searchControlStyles),
|
|
142
113
|
type: 'search',
|
|
143
|
-
placeholder: _ctx.
|
|
114
|
+
placeholder: _ctx.placeholder
|
|
144
115
|
}, null, 8 /* PROPS */, ["modelValue", "class", "placeholder"])) : createCommentVNode("v-if", true), _ctx.resolvedSearchOptions.length > 0 ? (openBlock(), createElementBlock(Fragment, {
|
|
145
116
|
key: 1
|
|
146
117
|
}, [_ctx.groupByFunction ? (openBlock(true), createElementBlock(Fragment, {
|
|
@@ -176,10 +147,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
176
147
|
key: i,
|
|
177
148
|
class: normalizeClass(_ctx.dropdownItemStyles),
|
|
178
149
|
selected: _ctx.proxyModelValue === option.value,
|
|
179
|
-
onClick: withModifiers($event =>
|
|
180
|
-
_ctx.proxyModelValue = option.value;
|
|
181
|
-
_ctx.close();
|
|
182
|
-
}, ["stop"])
|
|
150
|
+
onClick: withModifiers($event => _ctx.toggleOption(option.value), ["stop"])
|
|
183
151
|
}, {
|
|
184
152
|
default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
|
|
185
153
|
model: _ctx.proxyModelValue,
|
|
@@ -199,23 +167,24 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
199
167
|
}, renderList(_ctx.resolvedSearchOptions, (option, i) => {
|
|
200
168
|
return openBlock(), createBlock(_component_OrMenuItem, {
|
|
201
169
|
key: i,
|
|
202
|
-
selected: _ctx.proxyModelValue && _ctx.proxyModelValue.includes(option.value)
|
|
170
|
+
selected: _ctx.proxyModelValue && _ctx.proxyModelValue.includes(option.value),
|
|
171
|
+
onClick: withModifiers($event => _ctx.toggleOption(option.value), ["stop"])
|
|
203
172
|
}, {
|
|
204
173
|
default: withCtx(() => [createVNode(_component_OrCheckbox, {
|
|
205
|
-
|
|
206
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => _ctx.proxyModelValue = $event),
|
|
174
|
+
"model-value": _ctx.proxyModelValue,
|
|
207
175
|
value: option.value,
|
|
208
|
-
label: option.label,
|
|
209
176
|
"label-variant": 'menu-item'
|
|
210
177
|
}, {
|
|
211
|
-
default: withCtx(() => [
|
|
178
|
+
default: withCtx(() => [createElementVNode("div", {
|
|
179
|
+
onClick: $event => _ctx.toggleOption(option.value)
|
|
180
|
+
}, [renderSlot(_ctx.$slots, "optionTemplate", {
|
|
212
181
|
model: _ctx.proxyModelValue,
|
|
213
182
|
option: option
|
|
214
|
-
})]),
|
|
183
|
+
}, () => [createTextVNode(toDisplayString(option.label), 1 /* TEXT */)])], 8 /* PROPS */, _hoisted_3)]),
|
|
215
184
|
_: 2 /* DYNAMIC */
|
|
216
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["
|
|
185
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["model-value", "value"])]),
|
|
217
186
|
_: 2 /* DYNAMIC */
|
|
218
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected"]);
|
|
187
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected", "onClick"]);
|
|
219
188
|
}), 128 /* KEYED_FRAGMENT */)) : (openBlock(true), createElementBlock(Fragment, {
|
|
220
189
|
key: 1
|
|
221
190
|
}, renderList(_ctx.resolvedSearchOptions, (option, i) => {
|
|
@@ -224,8 +193,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
224
193
|
class: normalizeClass(_ctx.dropdownItemStyles),
|
|
225
194
|
selected: _ctx.proxyModelValue === option.value,
|
|
226
195
|
onClick: withModifiers($event => {
|
|
227
|
-
_ctx.
|
|
228
|
-
_ctx.close();
|
|
196
|
+
_ctx.toggleOption(option.value);
|
|
229
197
|
}, ["stop"])
|
|
230
198
|
}, {
|
|
231
199
|
default: withCtx(() => [renderSlot(_ctx.$slots, "optionTemplate", {
|
|
@@ -243,14 +211,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
243
211
|
_: 3 /* FORWARDED */
|
|
244
212
|
}, 8 /* PROPS */, ["trigger", "custom-styles"])]),
|
|
245
213
|
_: 3 /* FORWARDED */
|
|
246
|
-
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), withDirectives(createElementVNode("div",
|
|
214
|
+
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), withDirectives(createElementVNode("div", _hoisted_4, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
247
215
|
key: 0,
|
|
248
216
|
disabled: _ctx.disabled
|
|
249
217
|
}, {
|
|
250
218
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
251
219
|
|
|
252
220
|
_: 1 /* STABLE */
|
|
253
|
-
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div",
|
|
221
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_5, [createVNode(_component_OrError, {
|
|
254
222
|
disabled: _ctx.disabled
|
|
255
223
|
}, {
|
|
256
224
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
|
|
@@ -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-demi").DefineComponent<{
|
|
5
6
|
options: {
|
|
6
7
|
type: PropType<SelectOption[]>;
|
|
@@ -11,7 +12,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
11
12
|
default: () => never[];
|
|
12
13
|
};
|
|
13
14
|
modelValue: {
|
|
14
|
-
type: PropType<
|
|
15
|
+
type: PropType<SelectValue>;
|
|
15
16
|
default: undefined;
|
|
16
17
|
};
|
|
17
18
|
multiple: {
|
|
@@ -30,10 +31,6 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
30
31
|
type: StringConstructor;
|
|
31
32
|
default: undefined;
|
|
32
33
|
};
|
|
33
|
-
searchPlaceholder: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
default: undefined;
|
|
36
|
-
};
|
|
37
34
|
hint: {
|
|
38
35
|
type: StringConstructor;
|
|
39
36
|
default: undefined;
|
|
@@ -74,11 +71,17 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
74
71
|
type: BooleanConstructor;
|
|
75
72
|
default: boolean;
|
|
76
73
|
};
|
|
74
|
+
overflow: {
|
|
75
|
+
type: PropType<"default" | "wrap" | "hidden" | "scroll">;
|
|
76
|
+
default: TagsOverflow;
|
|
77
|
+
};
|
|
77
78
|
}, {
|
|
78
79
|
root: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
79
80
|
inputBox: import("vue-demi").Ref<any>;
|
|
80
81
|
inputBoxRoot: import("vue-demi").ComputedRef<any>;
|
|
81
82
|
control: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
83
|
+
multipleControl: import("vue-demi").Ref<any>;
|
|
84
|
+
singleControl: import("vue-demi").Ref<any>;
|
|
82
85
|
searchControl: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
83
86
|
popover: import("vue-demi").Ref<any>;
|
|
84
87
|
popoverRoot: import("vue-demi").ComputedRef<any>;
|
|
@@ -90,24 +93,23 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
90
93
|
dropdownItemStyles: import("vue-demi").ComputedRef<string[]>;
|
|
91
94
|
noSearchResultsStyles: import("vue-demi").ComputedRef<string[]>;
|
|
92
95
|
controlId: import("vue-demi").Ref<string>;
|
|
93
|
-
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<
|
|
96
|
+
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<SelectValue>;
|
|
94
97
|
readonly: import("vue-demi").ComputedRef<boolean>;
|
|
95
98
|
isEmptyModelValue: import("vue-demi").ComputedRef<boolean>;
|
|
96
99
|
showClear: import("vue-demi").ComputedRef<boolean>;
|
|
97
|
-
selection: import("vue-demi").ComputedRef<SelectOption | (SelectOption | undefined)[] | undefined>;
|
|
98
100
|
searchText: import("vue-demi").Ref<string>;
|
|
99
101
|
internalSearchOptions: import("vue-demi").Ref<{
|
|
100
|
-
value:
|
|
102
|
+
value: import("./types").RawValue;
|
|
101
103
|
label: string;
|
|
102
104
|
}[]>;
|
|
103
105
|
resolvedSearchOptions: import("vue-demi").ComputedRef<SelectOption[]>;
|
|
104
106
|
groupedOptions: import("vue-demi").ComputedRef<Record<string, SelectOption[]>>;
|
|
105
107
|
toggle: () => void;
|
|
106
108
|
close: () => void;
|
|
107
|
-
|
|
109
|
+
open: () => void;
|
|
110
|
+
deselect: (option: string) => void;
|
|
111
|
+
toggleOption: (option: string) => void;
|
|
108
112
|
clearSearchControl: () => void;
|
|
109
|
-
innerItems: import("vue-demi").Ref<HTMLElement[]>;
|
|
110
|
-
outerItems: import("vue-demi").Ref<HTMLElement[]>;
|
|
111
113
|
isDesktop: import("vue-demi").ComputedRef<boolean>;
|
|
112
114
|
isMobile: import("vue-demi").ComputedRef<boolean>;
|
|
113
115
|
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("search" | "update:modelValue" | "focus" | "blur")[], "search" | "update:modelValue" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
@@ -120,7 +122,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
120
122
|
default: () => never[];
|
|
121
123
|
};
|
|
122
124
|
modelValue: {
|
|
123
|
-
type: PropType<
|
|
125
|
+
type: PropType<SelectValue>;
|
|
124
126
|
default: undefined;
|
|
125
127
|
};
|
|
126
128
|
multiple: {
|
|
@@ -139,10 +141,6 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
139
141
|
type: StringConstructor;
|
|
140
142
|
default: undefined;
|
|
141
143
|
};
|
|
142
|
-
searchPlaceholder: {
|
|
143
|
-
type: StringConstructor;
|
|
144
|
-
default: undefined;
|
|
145
|
-
};
|
|
146
144
|
hint: {
|
|
147
145
|
type: StringConstructor;
|
|
148
146
|
default: undefined;
|
|
@@ -183,20 +181,23 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
183
181
|
type: BooleanConstructor;
|
|
184
182
|
default: boolean;
|
|
185
183
|
};
|
|
184
|
+
overflow: {
|
|
185
|
+
type: PropType<"default" | "wrap" | "hidden" | "scroll">;
|
|
186
|
+
default: TagsOverflow;
|
|
187
|
+
};
|
|
186
188
|
}>> & {
|
|
187
189
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
188
190
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
189
191
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
190
192
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
191
193
|
}, {
|
|
192
|
-
modelValue:
|
|
194
|
+
modelValue: SelectValue;
|
|
193
195
|
label: string;
|
|
194
196
|
options: SelectOption[];
|
|
195
197
|
searchOptions: SelectOption[];
|
|
196
198
|
multiple: boolean;
|
|
197
199
|
size: "m" | "s";
|
|
198
200
|
placeholder: string;
|
|
199
|
-
searchPlaceholder: string;
|
|
200
201
|
hint: string;
|
|
201
202
|
error: string | boolean;
|
|
202
203
|
required: boolean;
|
|
@@ -207,5 +208,6 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
207
208
|
searchFunction: SelectSearchFunction;
|
|
208
209
|
groupByFunction: SelectGroupByFunction;
|
|
209
210
|
externalControl: boolean;
|
|
211
|
+
overflow: "default" | "wrap" | "hidden" | "scroll";
|
|
210
212
|
}>;
|
|
211
213
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect.vue_vue_type_script_lang-3c895f3a.js';
|
|
2
2
|
export { InputBoxSize as SelectSize } from '../OrInputBoxV3/props.js';
|
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrSidebar.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrSidebar.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrSidebar.vue_vue_type_script_lang-f69f92ca.js';
|
|
2
|
+
export { s as default } from '../../OrSidebar.vue_vue_type_script_lang-f69f92ca.js';
|
|
3
3
|
import { openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, createCommentVNode } from 'vue';
|
|
4
4
|
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
5
5
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { OrSidebarSide } from './constants.js';
|
|
2
|
-
export { s as OrSidebar } from '../../OrSidebar.vue_vue_type_script_lang-
|
|
2
|
+
export { s as OrSidebar } from '../../OrSidebar.vue_vue_type_script_lang-f69f92ca.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrSidebar.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrSidebar.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrSidebar.vue_vue_type_script_lang-314721d5.js';
|
|
2
|
+
export { s as default } from '../../OrSidebar.vue_vue_type_script_lang-314721d5.js';
|
|
3
3
|
import { resolveComponent, openBlock, createBlock, createSlots, withCtx, createElementVNode, normalizeClass, createElementBlock, renderSlot, createCommentVNode } from 'vue';
|
|
4
4
|
|
|
5
5
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { SidebarPlacement as OrSidebarPlacement, SidebarPlacement } from './props.js';
|
|
2
|
-
export { s as OrSidebarV3 } from '../../OrSidebar.vue_vue_type_script_lang-
|
|
2
|
+
export { s as OrSidebarV3 } from '../../OrSidebar.vue_vue_type_script_lang-314721d5.js';
|
|
3
3
|
export { ResizeablePanelPadding as SidebarPadding } from '../OrResizeablePanelV3/props.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrSlider.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrSlider.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrSlider.vue_vue_type_script_lang-207c0596.js';
|
|
2
|
+
export { s as default } from '../../OrSlider.vue_vue_type_script_lang-207c0596.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withKeys, withModifiers, createCommentVNode, renderSlot, createVNode, createElementVNode, Fragment, renderList, normalizeStyle, toDisplayString, pushScopeId, popScopeId } from 'vue';
|
|
4
4
|
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
5
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as OrSlider } from '../../OrSlider.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrSlider } from '../../OrSlider.vue_vue_type_script_lang-207c0596.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrSorting.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrSorting.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrSorting.vue_vue_type_script_lang-257e1c8b.js';
|
|
2
|
+
export { s as default } from '../../OrSorting.vue_vue_type_script_lang-257e1c8b.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createElementVNode, toDisplayString, createBlock, createCommentVNode, Fragment, renderList, createTextVNode } from 'vue';
|
|
4
4
|
|
|
5
5
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as OrSortingV3 } from '../../OrSorting.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrSortingV3 } from '../../OrSorting.vue_vue_type_script_lang-257e1c8b.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrSwitch.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrSwitch.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrSwitch.vue_vue_type_script_lang-032fd11a.js';
|
|
2
|
+
export { s as default } from '../../OrSwitch.vue_vue_type_script_lang-032fd11a.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, mergeProps, vModelCheckbox, createVNode, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
4
4
|
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
5
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as OrSwitchV3 } from '../../OrSwitch.vue_vue_type_script_lang-
|
|
1
|
+
export { s as OrSwitchV3 } from '../../OrSwitch.vue_vue_type_script_lang-032fd11a.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrTabs.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrTabs.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrTabs.vue_vue_type_script_lang-ddac6c54.js';
|
|
2
|
+
export { s as default } from '../../OrTabs.vue_vue_type_script_lang-ddac6c54.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, Fragment, renderList, createBlock, withModifiers, withCtx, createTextVNode, toDisplayString, createVNode, createCommentVNode, renderSlot } from 'vue';
|
|
4
4
|
|
|
5
5
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { TabsVariant } from './props.js';
|
|
2
|
-
export { s as OrTabsV3 } from '../../OrTabs.vue_vue_type_script_lang-
|
|
2
|
+
export { s as OrTabsV3 } from '../../OrTabs.vue_vue_type_script_lang-ddac6c54.js';
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { s as script } from '../../OrTagInput.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrTagInput.vue_vue_type_script_lang-
|
|
3
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode,
|
|
1
|
+
import { s as script } from '../../OrTagInput.vue_vue_type_script_lang-cef895f1.js';
|
|
2
|
+
export { s as default } from '../../OrTagInput.vue_vue_type_script_lang-cef895f1.js';
|
|
3
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, createSlots, createElementVNode, withDirectives, mergeProps, withKeys, vModelDynamic, vShow } from 'vue';
|
|
4
4
|
import { s as styleInject } from '../../style-inject.es-4c6f2515.js';
|
|
5
5
|
|
|
6
|
-
const _hoisted_1 =
|
|
7
|
-
|
|
8
|
-
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
6
|
+
const _hoisted_1 = {
|
|
7
|
+
class: "inline-flex w-fit max-w-full"
|
|
9
8
|
};
|
|
9
|
+
const _hoisted_2 = ["placeholder", "readonly", "disabled"];
|
|
10
10
|
const _hoisted_3 = {
|
|
11
11
|
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
12
12
|
};
|
|
13
|
+
const _hoisted_4 = {
|
|
14
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
15
|
+
};
|
|
13
16
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14
17
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
15
18
|
const _component_OrTags = resolveComponent("OrTags");
|
|
@@ -32,46 +35,64 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32
35
|
|
|
33
36
|
_: 3 /* FORWARDED */
|
|
34
37
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrInputBox, {
|
|
38
|
+
ref: "inputBox",
|
|
35
39
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
36
|
-
|
|
40
|
+
"force-state": _ctx.activated ? 'focus-within' : undefined,
|
|
41
|
+
class: "cursor-text",
|
|
37
42
|
invalid: !!_ctx.error,
|
|
38
43
|
readonly: _ctx.readonly,
|
|
39
|
-
disabled: _ctx.disabled
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
disabled: _ctx.readonly || _ctx.disabled,
|
|
46
|
-
onClick: _cache[7] || (_cache[7] = withModifiers($event => _ctx.reset(), ["stop"]))
|
|
47
|
-
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)]),
|
|
48
|
-
default: withCtx(() => [_ctx.proxyModelValue.length > 0 ? (openBlock(), createBlock(_component_OrTags, {
|
|
49
|
-
key: 0,
|
|
44
|
+
disabled: _ctx.disabled,
|
|
45
|
+
tabindex: "0",
|
|
46
|
+
onFocus: _ctx.activate
|
|
47
|
+
}, createSlots({
|
|
48
|
+
default: withCtx(() => [createVNode(_component_OrTags, {
|
|
49
|
+
ref: "tags",
|
|
50
50
|
items: _ctx.proxyModelValue,
|
|
51
|
+
class: "grow",
|
|
52
|
+
disabled: _ctx.disabled,
|
|
51
53
|
"tag-props": {
|
|
52
54
|
variant: _ctx.readonly || _ctx.disabled ? 'tag' : 'reset',
|
|
53
55
|
disabled: _ctx.disabled
|
|
54
56
|
},
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}, _ctx.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
57
|
+
overflow: _ctx.overflow,
|
|
58
|
+
onReset: _cache[5] || (_cache[5] = $event => _ctx.remove($event))
|
|
59
|
+
}, createSlots({
|
|
60
|
+
_: 2 /* DYNAMIC */
|
|
61
|
+
}, [_ctx.showControl ? {
|
|
62
|
+
name: "tail",
|
|
63
|
+
fn: withCtx(() => [createElementVNode("div", _hoisted_1, [withDirectives(createElementVNode("input", mergeProps({
|
|
64
|
+
ref: "control",
|
|
65
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.draftModelValue = $event)
|
|
66
|
+
}, _ctx.controlAttributes, {
|
|
67
|
+
class: _ctx.controlStyles,
|
|
68
|
+
style: _ctx.controlInlineStyles,
|
|
69
|
+
type: 'text',
|
|
70
|
+
placeholder: _ctx.proxyModelValue.length === 0 ? _ctx.placeholder : undefined,
|
|
71
|
+
readonly: _ctx.readonly,
|
|
72
|
+
disabled: _ctx.disabled,
|
|
73
|
+
autocomplete: 'off',
|
|
74
|
+
minlength: undefined,
|
|
75
|
+
maxlength: undefined,
|
|
76
|
+
onKeydown: [_cache[1] || (_cache[1] = withKeys($event => _ctx.add(), ["enter"])), _cache[2] || (_cache[2] = $event => _ctx.$emit('keydown', $event))],
|
|
77
|
+
onKeyup: _cache[3] || (_cache[3] = $event => _ctx.$emit('keyup', $event)),
|
|
78
|
+
onFocus: _cache[4] || (_cache[4] = function () {
|
|
79
|
+
return _ctx.activate && _ctx.activate(...arguments);
|
|
80
|
+
})
|
|
81
|
+
}), null, 16 /* FULL_PROPS */, _hoisted_2), [[vModelDynamic, _ctx.draftModelValue]])])]),
|
|
82
|
+
key: "0"
|
|
83
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["items", "disabled", "tag-props", "overflow"])]),
|
|
84
|
+
_: 2 /* DYNAMIC */
|
|
85
|
+
}, [_ctx.enableClear && !_ctx.readonly && !_ctx.disabled ? {
|
|
86
|
+
name: "addon",
|
|
87
|
+
fn: withCtx(() => [_ctx.proxyModelValue.length > 0 || _ctx.draftModelValue ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
88
|
+
key: 0,
|
|
89
|
+
icon: 'close',
|
|
90
|
+
color: 'inherit',
|
|
91
|
+
disabled: _ctx.readonly || _ctx.disabled,
|
|
92
|
+
onClick: _cache[6] || (_cache[6] = $event => _ctx.reset())
|
|
93
|
+
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)]),
|
|
94
|
+
key: "0"
|
|
95
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["variant", "force-state", "invalid", "readonly", "disabled", "onFocus"]), withDirectives(createElementVNode("div", _hoisted_3, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
75
96
|
key: 0,
|
|
76
97
|
disabled: _ctx.disabled
|
|
77
98
|
}, createSlots({
|
|
@@ -83,7 +104,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
83
104
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
84
105
|
|
|
85
106
|
key: "0"
|
|
86
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div",
|
|
107
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_4, [createVNode(_component_OrError, {
|
|
87
108
|
disabled: _ctx.disabled
|
|
88
109
|
}, createSlots({
|
|
89
110
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
|