@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,172 @@
|
|
|
1
|
+
import { defineComponent, ref, toRefs, computed, watch } from 'vue-demi';
|
|
2
|
+
import '@vueuse/core';
|
|
3
|
+
import './dom-aecadd9a.js';
|
|
4
|
+
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
|
+
import '@onereach/styles/tailwind/plugins/core';
|
|
6
|
+
import '@onereach/styles/tailwind.config.json';
|
|
7
|
+
import { s as script$3, T as TagsOverflow } from './OrTags-52da64cd.js';
|
|
8
|
+
import { s as script$1 } from './OrSelectPlaceholder-10e3bf5e.js';
|
|
9
|
+
import { i as isEmptyValue } from './isEmptyValue-fd56a6e4.js';
|
|
10
|
+
import { s as script$2 } from './OrSelectControlInput-3297e30d.js';
|
|
11
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createVNode, createSlots, withCtx, createElementVNode, vShow, createBlock, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
12
|
+
|
|
13
|
+
function castToMultipleValue(value) {
|
|
14
|
+
if (Array.isArray(value)) {
|
|
15
|
+
return value;
|
|
16
|
+
}
|
|
17
|
+
return isEmptyValue(value) ? [] : [value];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const SelectMultipleControlRoot = [
|
|
21
|
+
// Layout
|
|
22
|
+
'layout-row', 'w-full'];
|
|
23
|
+
|
|
24
|
+
var script = defineComponent({
|
|
25
|
+
components: {
|
|
26
|
+
OrSelectPlaceholder: script$1,
|
|
27
|
+
OrSelectControlInput: script$2,
|
|
28
|
+
OrTags: script$3
|
|
29
|
+
},
|
|
30
|
+
model: {
|
|
31
|
+
prop: 'modelValue',
|
|
32
|
+
event: 'update:modelValue'
|
|
33
|
+
},
|
|
34
|
+
props: {
|
|
35
|
+
model: {
|
|
36
|
+
type: [Object, String, Number, Array],
|
|
37
|
+
default: () => []
|
|
38
|
+
},
|
|
39
|
+
options: {
|
|
40
|
+
type: Array,
|
|
41
|
+
default: () => []
|
|
42
|
+
},
|
|
43
|
+
disabled: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false
|
|
46
|
+
},
|
|
47
|
+
readonly: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: false
|
|
50
|
+
},
|
|
51
|
+
placeholder: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: ''
|
|
54
|
+
},
|
|
55
|
+
enableSearch: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: false
|
|
58
|
+
},
|
|
59
|
+
overflow: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: TagsOverflow.Hidden
|
|
62
|
+
},
|
|
63
|
+
modelValue: {
|
|
64
|
+
type: String,
|
|
65
|
+
default: ''
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
emits: ['reset', 'update:modelValue'],
|
|
69
|
+
expose: ['focus', 'root', 'focused'],
|
|
70
|
+
setup(props, context) {
|
|
71
|
+
// Refs
|
|
72
|
+
const root = ref();
|
|
73
|
+
const searchControl = ref();
|
|
74
|
+
const tags = ref();
|
|
75
|
+
// Props
|
|
76
|
+
const {
|
|
77
|
+
modelValue,
|
|
78
|
+
model,
|
|
79
|
+
options,
|
|
80
|
+
overflow
|
|
81
|
+
} = toRefs(props);
|
|
82
|
+
// State
|
|
83
|
+
const searchModelValue = useProxyModelValue(modelValue, context.emit);
|
|
84
|
+
const focused = computed(() => {
|
|
85
|
+
var _a;
|
|
86
|
+
return (_a = searchControl.value) === null || _a === void 0 ? void 0 : _a.focused;
|
|
87
|
+
});
|
|
88
|
+
// Styles
|
|
89
|
+
const rootStyles = computed(() => ['or-select-multiple-control-v3', ...SelectMultipleControlRoot]);
|
|
90
|
+
// Computed
|
|
91
|
+
const value = computed(() => castToMultipleValue(model.value));
|
|
92
|
+
const isEmpty = computed(() => value.value.length === 0);
|
|
93
|
+
const selection = computed(() => {
|
|
94
|
+
if (model.value === undefined || model.value === null) {
|
|
95
|
+
return [];
|
|
96
|
+
}
|
|
97
|
+
return value.value.map(value => options.value.find(option => option.value === value)).filter(value => !!value);
|
|
98
|
+
});
|
|
99
|
+
watch(selection, (items, prevItems) => {
|
|
100
|
+
if (items.length != prevItems.length && overflow.value === TagsOverflow.Scroll && tags.value) {
|
|
101
|
+
tags.value.scrollToEnd();
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
// Methods
|
|
105
|
+
function focus() {
|
|
106
|
+
if (searchControl.value) {
|
|
107
|
+
searchControl.value.focus();
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return {
|
|
111
|
+
root,
|
|
112
|
+
tags,
|
|
113
|
+
rootStyles,
|
|
114
|
+
searchControl,
|
|
115
|
+
searchModelValue,
|
|
116
|
+
isEmpty,
|
|
117
|
+
selection,
|
|
118
|
+
value,
|
|
119
|
+
focus,
|
|
120
|
+
focused
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
const _hoisted_1 = {
|
|
126
|
+
class: "inline-flex w-fit max-w-full"
|
|
127
|
+
};
|
|
128
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
129
|
+
const _component_OrSelectControlInput = resolveComponent("OrSelectControlInput");
|
|
130
|
+
const _component_OrTags = resolveComponent("OrTags");
|
|
131
|
+
const _component_OrSelectPlaceholder = resolveComponent("OrSelectPlaceholder");
|
|
132
|
+
return openBlock(), createElementBlock("div", {
|
|
133
|
+
ref: "root",
|
|
134
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
135
|
+
}, [withDirectives(createVNode(_component_OrTags, {
|
|
136
|
+
ref: "tags",
|
|
137
|
+
items: _ctx.selection,
|
|
138
|
+
class: "grow",
|
|
139
|
+
disabled: _ctx.disabled,
|
|
140
|
+
"tag-props": {
|
|
141
|
+
variant: _ctx.readonly || _ctx.disabled ? 'tag' : 'reset',
|
|
142
|
+
disabled: _ctx.disabled
|
|
143
|
+
},
|
|
144
|
+
overflow: _ctx.overflow,
|
|
145
|
+
onReset: _cache[1] || (_cache[1] = $event => _ctx.$emit('reset', $event))
|
|
146
|
+
}, createSlots({
|
|
147
|
+
_: 2 /* DYNAMIC */
|
|
148
|
+
}, [_ctx.enableSearch ? {
|
|
149
|
+
name: "tail",
|
|
150
|
+
fn: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(_component_OrSelectControlInput, {
|
|
151
|
+
ref: "searchControl",
|
|
152
|
+
modelValue: _ctx.searchModelValue,
|
|
153
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.searchModelValue = $event),
|
|
154
|
+
placeholder: _ctx.isEmpty ? _ctx.placeholder : '',
|
|
155
|
+
readonly: _ctx.readonly,
|
|
156
|
+
disabled: _ctx.disabled
|
|
157
|
+
}, null, 8 /* PROPS */, ["modelValue", "placeholder", "readonly", "disabled"])])]),
|
|
158
|
+
key: "0"
|
|
159
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["items", "disabled", "tag-props", "overflow"]), [[vShow, !_ctx.isEmpty || _ctx.enableSearch]]), _ctx.isEmpty && !_ctx.enableSearch ? (openBlock(), createBlock(_component_OrSelectPlaceholder, {
|
|
160
|
+
key: 0,
|
|
161
|
+
disabled: _ctx.disabled
|
|
162
|
+
}, {
|
|
163
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.placeholder), 1 /* TEXT */)]),
|
|
164
|
+
|
|
165
|
+
_: 1 /* STABLE */
|
|
166
|
+
}, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
script.render = render;
|
|
170
|
+
script.__file = "src/components/or-select-v3/partials/or-select-multiple-control/OrSelectMultipleControl.vue";
|
|
171
|
+
|
|
172
|
+
export { script as s };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { openBlock, createElementBlock, normalizeClass, renderSlot } from 'vue';
|
|
3
|
+
|
|
4
|
+
const SelectPlaceholder = [
|
|
5
|
+
// Interactivity
|
|
6
|
+
'interactivity-default',
|
|
7
|
+
// Typography
|
|
8
|
+
'typography-inherit truncate',
|
|
9
|
+
// Theme
|
|
10
|
+
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
11
|
+
|
|
12
|
+
var script = defineComponent({
|
|
13
|
+
props: {
|
|
14
|
+
disabled: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: false
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
expose: ['root'],
|
|
20
|
+
setup() {
|
|
21
|
+
// Refs
|
|
22
|
+
const root = ref();
|
|
23
|
+
// Styles
|
|
24
|
+
const rootStyles = computed(() => ['or-select-placeholder-v3', ...SelectPlaceholder]);
|
|
25
|
+
return {
|
|
26
|
+
root,
|
|
27
|
+
rootStyles
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
const _hoisted_1 = ["disabled"];
|
|
33
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34
|
+
return openBlock(), createElementBlock("div", {
|
|
35
|
+
ref: "root",
|
|
36
|
+
class: normalizeClass(_ctx.rootStyles),
|
|
37
|
+
disabled: _ctx.disabled ? '' : null
|
|
38
|
+
}, [renderSlot(_ctx.$slots, "default")], 10 /* CLASS, PROPS */, _hoisted_1);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
script.render = render;
|
|
42
|
+
script.__file = "src/components/or-select-v3/partials/or-select-placeholder/OrSelectPlaceholder.vue";
|
|
43
|
+
|
|
44
|
+
export { script as s };
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { defineComponent, ref, toRefs, computed } from 'vue-demi';
|
|
2
|
+
import { s as script$1 } from './OrSelectPlaceholder-10e3bf5e.js';
|
|
3
|
+
import { s as script$2 } from './OrSelectControlInput-3297e30d.js';
|
|
4
|
+
import './dom-aecadd9a.js';
|
|
5
|
+
import { i as isEmptyValue } from './isEmptyValue-fd56a6e4.js';
|
|
6
|
+
import '@vueuse/core';
|
|
7
|
+
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
8
|
+
import '@onereach/styles/tailwind/plugins/core';
|
|
9
|
+
import '@onereach/styles/tailwind.config.json';
|
|
10
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, toDisplayString, Fragment, createBlock, withCtx, createTextVNode } from 'vue';
|
|
11
|
+
|
|
12
|
+
const SelectSingleControlInput = [
|
|
13
|
+
// Layout
|
|
14
|
+
'w-full'];
|
|
15
|
+
|
|
16
|
+
var script = defineComponent({
|
|
17
|
+
components: {
|
|
18
|
+
OrSelectPlaceholder: script$1,
|
|
19
|
+
OrSelectControlInput: script$2
|
|
20
|
+
},
|
|
21
|
+
model: {
|
|
22
|
+
prop: 'modelValue',
|
|
23
|
+
event: 'update:modelValue'
|
|
24
|
+
},
|
|
25
|
+
props: {
|
|
26
|
+
modelValue: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: ''
|
|
29
|
+
},
|
|
30
|
+
model: {
|
|
31
|
+
type: [Object, String, Number, Array],
|
|
32
|
+
default: undefined
|
|
33
|
+
},
|
|
34
|
+
placeholder: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: ''
|
|
37
|
+
},
|
|
38
|
+
options: {
|
|
39
|
+
type: Array,
|
|
40
|
+
default: () => []
|
|
41
|
+
},
|
|
42
|
+
enableSearch: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: false
|
|
45
|
+
},
|
|
46
|
+
disabled: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
default: false
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
emits: ['update:modelValue'],
|
|
52
|
+
expose: ['root', 'focus', 'focused'],
|
|
53
|
+
setup(props, context) {
|
|
54
|
+
// Refs
|
|
55
|
+
const root = ref();
|
|
56
|
+
const searchControl = ref();
|
|
57
|
+
// Props
|
|
58
|
+
const {
|
|
59
|
+
modelValue,
|
|
60
|
+
model,
|
|
61
|
+
options
|
|
62
|
+
} = toRefs(props);
|
|
63
|
+
// State
|
|
64
|
+
const searchModelValue = useProxyModelValue(modelValue, context.emit);
|
|
65
|
+
const isEmpty = computed(() => {
|
|
66
|
+
return isEmptyValue(model.value);
|
|
67
|
+
});
|
|
68
|
+
const selection = computed(() => {
|
|
69
|
+
return options.value.find(option => option.value === model.value);
|
|
70
|
+
});
|
|
71
|
+
const selectionLabel = computed(() => {
|
|
72
|
+
var _a;
|
|
73
|
+
return (_a = selection.value) === null || _a === void 0 ? void 0 : _a.label;
|
|
74
|
+
});
|
|
75
|
+
const focused = computed(() => {
|
|
76
|
+
var _a;
|
|
77
|
+
return (_a = searchControl.value) === null || _a === void 0 ? void 0 : _a.focused;
|
|
78
|
+
});
|
|
79
|
+
// Styles
|
|
80
|
+
const rootStyles = computed(() => ['or-select-single-control-v3', ...SelectSingleControlInput]);
|
|
81
|
+
// Methods
|
|
82
|
+
function focus() {
|
|
83
|
+
if (searchControl.value) {
|
|
84
|
+
searchControl.value.focus();
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
root,
|
|
89
|
+
rootStyles,
|
|
90
|
+
searchControl,
|
|
91
|
+
searchModelValue,
|
|
92
|
+
isEmpty,
|
|
93
|
+
selection,
|
|
94
|
+
selectionLabel,
|
|
95
|
+
focus,
|
|
96
|
+
focused
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
const _hoisted_1 = {
|
|
102
|
+
key: 0,
|
|
103
|
+
class: "truncate"
|
|
104
|
+
};
|
|
105
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
106
|
+
const _component_OrSelectControlInput = resolveComponent("OrSelectControlInput");
|
|
107
|
+
const _component_OrSelectPlaceholder = resolveComponent("OrSelectPlaceholder");
|
|
108
|
+
return openBlock(), createElementBlock("div", {
|
|
109
|
+
ref: "root",
|
|
110
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
111
|
+
}, [!_ctx.isEmpty ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(_ctx.selectionLabel), 1 /* TEXT */)) : (openBlock(), createElementBlock(Fragment, {
|
|
112
|
+
key: 1
|
|
113
|
+
}, [_ctx.enableSearch ? (openBlock(), createBlock(_component_OrSelectControlInput, {
|
|
114
|
+
key: 0,
|
|
115
|
+
ref: "searchControl",
|
|
116
|
+
modelValue: _ctx.searchModelValue,
|
|
117
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.searchModelValue = $event),
|
|
118
|
+
placeholder: _ctx.placeholder
|
|
119
|
+
}, null, 8 /* PROPS */, ["modelValue", "placeholder"])) : (openBlock(), createBlock(_component_OrSelectPlaceholder, {
|
|
120
|
+
key: 1,
|
|
121
|
+
disabled: _ctx.disabled
|
|
122
|
+
}, {
|
|
123
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.placeholder), 1 /* TEXT */)]),
|
|
124
|
+
|
|
125
|
+
_: 1 /* STABLE */
|
|
126
|
+
}, 8 /* PROPS */, ["disabled"]))], 64 /* STABLE_FRAGMENT */))], 2 /* CLASS */);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
script.render = render;
|
|
130
|
+
script.__file = "src/components/or-select-v3/partials/or-select-single-control/OrSelectSingleControl.vue";
|
|
131
|
+
|
|
132
|
+
export { script as s };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, reactive,
|
|
1
|
+
import { defineComponent, ref, toRefs, computed, reactive, watch, nextTick } from 'vue-demi';
|
|
2
|
+
import { onClickOutside } from '@vueuse/core';
|
|
2
3
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
3
|
-
import '@vueuse/core';
|
|
4
4
|
import './dom-aecadd9a.js';
|
|
5
5
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
6
6
|
import '@onereach/styles/tailwind/plugins/core';
|
|
@@ -9,10 +9,10 @@ import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34
|
|
|
9
9
|
import { s as script$1 } from './OrError-69bd7f6a.js';
|
|
10
10
|
import { s as script$2 } from './OrHint-55d3de35.js';
|
|
11
11
|
import { s as script$3 } from './OrIconButton-c89f733b.js';
|
|
12
|
-
import { s as script$4
|
|
12
|
+
import { s as script$4 } from './OrInputBox-912a6254.js';
|
|
13
13
|
import { s as script$5 } from './OrLabel-b826da04.js';
|
|
14
|
-
import { s as script$6 } from './OrTags-
|
|
15
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode,
|
|
14
|
+
import { s as script$6, T as TagsOverflow } from './OrTags-52da64cd.js';
|
|
15
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, createSlots, createElementVNode, withDirectives, mergeProps, withKeys, vModelDynamic, vShow } from 'vue';
|
|
16
16
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
17
17
|
|
|
18
18
|
const TagInput = [
|
|
@@ -22,7 +22,7 @@ const TagInput = [
|
|
|
22
22
|
'gap-xs'];
|
|
23
23
|
const TagInputControl = [
|
|
24
24
|
// Layout
|
|
25
|
-
'flex-auto',
|
|
25
|
+
// 'flex-auto',
|
|
26
26
|
// Typography
|
|
27
27
|
'typography-inherit',
|
|
28
28
|
// Theme (placeholder)
|
|
@@ -32,7 +32,6 @@ const TagInputItem = [
|
|
|
32
32
|
'!min-h-0'];
|
|
33
33
|
|
|
34
34
|
var script = defineComponent({
|
|
35
|
-
name: 'OrTagInput',
|
|
36
35
|
components: {
|
|
37
36
|
OrError: script$1,
|
|
38
37
|
OrHint: script$2,
|
|
@@ -50,10 +49,6 @@ var script = defineComponent({
|
|
|
50
49
|
type: Array,
|
|
51
50
|
default: () => []
|
|
52
51
|
},
|
|
53
|
-
size: {
|
|
54
|
-
type: String,
|
|
55
|
-
default: InputBoxSize.M
|
|
56
|
-
},
|
|
57
52
|
label: {
|
|
58
53
|
type: String,
|
|
59
54
|
default: undefined
|
|
@@ -85,14 +80,33 @@ var script = defineComponent({
|
|
|
85
80
|
disableDefaultStyles: {
|
|
86
81
|
type: Boolean,
|
|
87
82
|
default: false
|
|
83
|
+
},
|
|
84
|
+
overflow: {
|
|
85
|
+
type: String,
|
|
86
|
+
default: TagsOverflow.Hidden
|
|
87
|
+
},
|
|
88
|
+
// todo: review default state, disabling will breaking
|
|
89
|
+
enableClear: {
|
|
90
|
+
type: Boolean,
|
|
91
|
+
default: true
|
|
88
92
|
}
|
|
89
93
|
},
|
|
90
|
-
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur'],
|
|
94
|
+
emits: ['update:modelValue', 'keydown', 'keyup', 'focus', 'blur', 'reset'],
|
|
91
95
|
expose: ['root', 'focus', 'blur'],
|
|
92
96
|
setup(props, context) {
|
|
93
97
|
// Refs
|
|
94
98
|
const root = ref();
|
|
95
99
|
const control = ref();
|
|
100
|
+
const inputBox = ref();
|
|
101
|
+
const tags = ref();
|
|
102
|
+
// Props
|
|
103
|
+
const {
|
|
104
|
+
modelValue,
|
|
105
|
+
overflow,
|
|
106
|
+
placeholder,
|
|
107
|
+
disabled,
|
|
108
|
+
readonly
|
|
109
|
+
} = toRefs(props);
|
|
96
110
|
// Styles
|
|
97
111
|
const rootStyles = computed(() => ['or-tag-input-v3', ...TagInput]);
|
|
98
112
|
const controlStyles = computed(() => [...TagInputControl]);
|
|
@@ -103,13 +117,24 @@ var script = defineComponent({
|
|
|
103
117
|
...useControlAttributes(),
|
|
104
118
|
...useValidationAttributes()
|
|
105
119
|
});
|
|
106
|
-
const
|
|
107
|
-
const
|
|
120
|
+
const activated = ref(false);
|
|
121
|
+
const proxyModelValue = useProxyModelValue(modelValue, context.emit);
|
|
122
|
+
const draftModelValue = ref('');
|
|
108
123
|
const currentLength = computed(() => {
|
|
109
124
|
var _a, _b;
|
|
110
125
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0;
|
|
111
126
|
});
|
|
112
127
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
128
|
+
const controlInlineStyles = computed(() => {
|
|
129
|
+
var _a, _b;
|
|
130
|
+
const chars = draftModelValue.value.length > 0 ? draftModelValue.value.length : currentLength.value === 0 ? (_b = (_a = placeholder.value) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0 : 0;
|
|
131
|
+
return {
|
|
132
|
+
width: `${Math.max(chars + 1 || 0, 3)}ch`
|
|
133
|
+
};
|
|
134
|
+
});
|
|
135
|
+
const showControl = computed(() => {
|
|
136
|
+
return draftModelValue.value.length > 0 || currentLength.value === 0 || activated.value;
|
|
137
|
+
});
|
|
113
138
|
// Methods
|
|
114
139
|
function focus() {
|
|
115
140
|
var _a;
|
|
@@ -119,6 +144,17 @@ var script = defineComponent({
|
|
|
119
144
|
var _a;
|
|
120
145
|
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
121
146
|
}
|
|
147
|
+
function deactivate() {
|
|
148
|
+
activated.value = false;
|
|
149
|
+
nextTick(() => blur());
|
|
150
|
+
context.emit('blur');
|
|
151
|
+
}
|
|
152
|
+
function activate() {
|
|
153
|
+
if (disabled.value || readonly.value) return;
|
|
154
|
+
activated.value = true;
|
|
155
|
+
nextTick(() => focus());
|
|
156
|
+
context.emit('focus');
|
|
157
|
+
}
|
|
122
158
|
function add() {
|
|
123
159
|
var _a;
|
|
124
160
|
const newItem = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.trim();
|
|
@@ -126,42 +162,65 @@ var script = defineComponent({
|
|
|
126
162
|
if (proxyModelValue.value.includes(newItem)) return;
|
|
127
163
|
if (maxLength.value && currentLength.value >= maxLength.value) return;
|
|
128
164
|
proxyModelValue.value = [...proxyModelValue.value, newItem];
|
|
129
|
-
draftModelValue.value =
|
|
165
|
+
draftModelValue.value = '';
|
|
130
166
|
}
|
|
131
167
|
function remove(value) {
|
|
132
168
|
proxyModelValue.value = proxyModelValue.value.filter(item => item !== value);
|
|
133
169
|
}
|
|
134
170
|
function reset() {
|
|
135
171
|
proxyModelValue.value = [];
|
|
136
|
-
draftModelValue.value =
|
|
172
|
+
draftModelValue.value = '';
|
|
173
|
+
context.emit('reset');
|
|
137
174
|
}
|
|
175
|
+
// Effects
|
|
176
|
+
onClickOutside(inputBox, () => {
|
|
177
|
+
var _a, _b;
|
|
178
|
+
if (activated.value === false || ((_b = (_a = tags.value) === null || _a === void 0 ? void 0 : _a.overflowPopover) === null || _b === void 0 ? void 0 : _b.state) === 'open') return;
|
|
179
|
+
deactivate();
|
|
180
|
+
});
|
|
181
|
+
watch(proxyModelValue, (items, prevItems) => {
|
|
182
|
+
var _a;
|
|
183
|
+
if (items.length != prevItems.length && overflow.value === TagsOverflow.Scroll) {
|
|
184
|
+
((_a = tags.value) === null || _a === void 0 ? void 0 : _a.scrollToEnd)();
|
|
185
|
+
}
|
|
186
|
+
});
|
|
138
187
|
return {
|
|
139
188
|
root,
|
|
140
189
|
control,
|
|
190
|
+
inputBox,
|
|
191
|
+
tags,
|
|
141
192
|
rootStyles,
|
|
142
193
|
controlStyles,
|
|
143
194
|
itemStyles,
|
|
195
|
+
controlInlineStyles,
|
|
144
196
|
controlAttributes,
|
|
145
197
|
proxyModelValue,
|
|
146
198
|
draftModelValue,
|
|
147
199
|
currentLength,
|
|
148
200
|
maxLength,
|
|
201
|
+
activated,
|
|
202
|
+
showControl,
|
|
149
203
|
focus,
|
|
150
204
|
blur,
|
|
151
205
|
add,
|
|
206
|
+
activate,
|
|
207
|
+
deactivate,
|
|
152
208
|
remove,
|
|
153
209
|
reset
|
|
154
210
|
};
|
|
155
211
|
}
|
|
156
212
|
});
|
|
157
213
|
|
|
158
|
-
const _hoisted_1 =
|
|
159
|
-
|
|
160
|
-
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
214
|
+
const _hoisted_1 = {
|
|
215
|
+
class: "inline-flex w-fit max-w-full"
|
|
161
216
|
};
|
|
217
|
+
const _hoisted_2 = ["placeholder", "readonly", "disabled"];
|
|
162
218
|
const _hoisted_3 = {
|
|
163
219
|
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
164
220
|
};
|
|
221
|
+
const _hoisted_4 = {
|
|
222
|
+
class: /*#__PURE__*/normalizeClass(['contents'])
|
|
223
|
+
};
|
|
165
224
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
166
225
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
167
226
|
const _component_OrTags = resolveComponent("OrTags");
|
|
@@ -184,46 +243,64 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
184
243
|
|
|
185
244
|
_: 3 /* FORWARDED */
|
|
186
245
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrInputBox, {
|
|
246
|
+
ref: "inputBox",
|
|
187
247
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
188
|
-
|
|
248
|
+
"force-state": _ctx.activated ? 'focus-within' : undefined,
|
|
249
|
+
class: "cursor-text",
|
|
189
250
|
invalid: !!_ctx.error,
|
|
190
251
|
readonly: _ctx.readonly,
|
|
191
|
-
disabled: _ctx.disabled
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
disabled: _ctx.readonly || _ctx.disabled,
|
|
198
|
-
onClick: _cache[7] || (_cache[7] = withModifiers($event => _ctx.reset(), ["stop"]))
|
|
199
|
-
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)]),
|
|
200
|
-
default: withCtx(() => [_ctx.proxyModelValue.length > 0 ? (openBlock(), createBlock(_component_OrTags, {
|
|
201
|
-
key: 0,
|
|
252
|
+
disabled: _ctx.disabled,
|
|
253
|
+
tabindex: "0",
|
|
254
|
+
onFocus: _ctx.activate
|
|
255
|
+
}, createSlots({
|
|
256
|
+
default: withCtx(() => [createVNode(_component_OrTags, {
|
|
257
|
+
ref: "tags",
|
|
202
258
|
items: _ctx.proxyModelValue,
|
|
259
|
+
class: "grow",
|
|
260
|
+
disabled: _ctx.disabled,
|
|
203
261
|
"tag-props": {
|
|
204
262
|
variant: _ctx.readonly || _ctx.disabled ? 'tag' : 'reset',
|
|
205
263
|
disabled: _ctx.disabled
|
|
206
264
|
},
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
}, _ctx.
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
265
|
+
overflow: _ctx.overflow,
|
|
266
|
+
onReset: _cache[5] || (_cache[5] = $event => _ctx.remove($event))
|
|
267
|
+
}, createSlots({
|
|
268
|
+
_: 2 /* DYNAMIC */
|
|
269
|
+
}, [_ctx.showControl ? {
|
|
270
|
+
name: "tail",
|
|
271
|
+
fn: withCtx(() => [createElementVNode("div", _hoisted_1, [withDirectives(createElementVNode("input", mergeProps({
|
|
272
|
+
ref: "control",
|
|
273
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.draftModelValue = $event)
|
|
274
|
+
}, _ctx.controlAttributes, {
|
|
275
|
+
class: _ctx.controlStyles,
|
|
276
|
+
style: _ctx.controlInlineStyles,
|
|
277
|
+
type: 'text',
|
|
278
|
+
placeholder: _ctx.proxyModelValue.length === 0 ? _ctx.placeholder : undefined,
|
|
279
|
+
readonly: _ctx.readonly,
|
|
280
|
+
disabled: _ctx.disabled,
|
|
281
|
+
autocomplete: 'off',
|
|
282
|
+
minlength: undefined,
|
|
283
|
+
maxlength: undefined,
|
|
284
|
+
onKeydown: [_cache[1] || (_cache[1] = withKeys($event => _ctx.add(), ["enter"])), _cache[2] || (_cache[2] = $event => _ctx.$emit('keydown', $event))],
|
|
285
|
+
onKeyup: _cache[3] || (_cache[3] = $event => _ctx.$emit('keyup', $event)),
|
|
286
|
+
onFocus: _cache[4] || (_cache[4] = function () {
|
|
287
|
+
return _ctx.activate && _ctx.activate(...arguments);
|
|
288
|
+
})
|
|
289
|
+
}), null, 16 /* FULL_PROPS */, _hoisted_2), [[vModelDynamic, _ctx.draftModelValue]])])]),
|
|
290
|
+
key: "0"
|
|
291
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["items", "disabled", "tag-props", "overflow"])]),
|
|
292
|
+
_: 2 /* DYNAMIC */
|
|
293
|
+
}, [_ctx.enableClear && !_ctx.readonly && !_ctx.disabled ? {
|
|
294
|
+
name: "addon",
|
|
295
|
+
fn: withCtx(() => [_ctx.proxyModelValue.length > 0 || _ctx.draftModelValue ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
296
|
+
key: 0,
|
|
297
|
+
icon: 'close',
|
|
298
|
+
color: 'inherit',
|
|
299
|
+
disabled: _ctx.readonly || _ctx.disabled,
|
|
300
|
+
onClick: _cache[6] || (_cache[6] = $event => _ctx.reset())
|
|
301
|
+
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)]),
|
|
302
|
+
key: "0"
|
|
303
|
+
} : 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, {
|
|
227
304
|
key: 0,
|
|
228
305
|
disabled: _ctx.disabled
|
|
229
306
|
}, createSlots({
|
|
@@ -235,7 +312,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
235
312
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
236
313
|
|
|
237
314
|
key: "0"
|
|
238
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div",
|
|
315
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_4, [createVNode(_component_OrError, {
|
|
239
316
|
disabled: _ctx.disabled
|
|
240
317
|
}, createSlots({
|
|
241
318
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
|