@rhino-design/vue 0.2.1 → 0.2.3
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/README.md +4 -6
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/_virtual/alignment-pattern.js +4 -0
- package/dist/_virtual/browser.js +4 -0
- package/dist/_virtual/canvas.js +4 -0
- package/dist/_virtual/dijkstra.js +4 -0
- package/dist/_virtual/error-correction-code.js +4 -0
- package/dist/_virtual/error-correction-level.js +4 -0
- package/dist/_virtual/finder-pattern.js +4 -0
- package/dist/_virtual/format-info.js +4 -0
- package/dist/_virtual/galois-field.js +4 -0
- package/dist/_virtual/mask-pattern.js +4 -0
- package/dist/_virtual/mode.js +4 -0
- package/dist/_virtual/polynomial.js +4 -0
- package/dist/_virtual/qrcode.js +4 -0
- package/dist/_virtual/regex.js +4 -0
- package/dist/_virtual/segments.js +4 -0
- package/dist/_virtual/svg-tag.js +4 -0
- package/dist/_virtual/utils.js +4 -0
- package/dist/_virtual/utils2.js +4 -0
- package/dist/_virtual/version-check.js +4 -0
- package/dist/_virtual/version.js +4 -0
- package/dist/arco.less +14834 -0
- package/dist/components/XAffix.vue.d.ts +1 -1
- package/dist/components/XAffix.vue.js +7 -0
- package/dist/components/XAffix.vue2.js +181 -0
- package/dist/components/XAlert.vue.js +106 -0
- package/dist/components/XAlert.vue2.js +4 -0
- package/dist/components/XAnchor.vue.d.ts +2 -2
- package/dist/components/XAnchor.vue.js +9 -0
- package/dist/components/XAnchor.vue2.js +204 -0
- package/dist/components/XAnchorLink.vue.js +7 -0
- package/dist/components/XAnchorLink.vue2.js +44 -0
- package/dist/components/XApp.vue.js +12 -0
- package/dist/components/XAutoComplete.vue.d.ts +649 -15
- package/dist/components/XAutoComplete.vue.js +399 -0
- package/dist/components/XAutoComplete.vue2.js +4 -0
- package/dist/components/XAvatar.vue.d.ts +2 -2
- package/dist/components/XAvatar.vue.js +166 -0
- package/dist/components/XAvatar.vue2.js +4 -0
- package/dist/components/XAvatarGroup.vue.js +27 -0
- package/dist/components/XAvatarGroup.vue2.js +4 -0
- package/dist/components/XBackTop.vue.d.ts +23 -7
- package/dist/components/XBackTop.vue.js +118 -0
- package/dist/components/XBackTop.vue2.js +4 -0
- package/dist/components/XBadge.vue.d.ts +3 -3
- package/dist/components/XBadge.vue.js +64 -0
- package/dist/components/XBadge.vue2.js +4 -0
- package/dist/components/XBaseMenu.vue.d.ts +5 -5
- package/dist/components/XBaseMenu.vue.js +37 -0
- package/dist/components/XBaseMenu.vue2.js +334 -0
- package/dist/components/XBreadcrumb.vue.d.ts +31 -6
- package/dist/components/XBreadcrumb.vue.js +97 -0
- package/dist/components/XBreadcrumb.vue2.js +4 -0
- package/dist/components/XBreadcrumbItem.vue.d.ts +21 -6
- package/dist/components/XBreadcrumbItem.vue.js +136 -0
- package/dist/components/XBreadcrumbItem.vue2.js +4 -0
- package/dist/components/XButton.vue.d.ts +4 -4
- package/dist/components/XButton.vue.js +7 -0
- package/dist/components/XButton.vue2.js +142 -0
- package/dist/components/XButtonG.vue.d.ts +2 -2
- package/dist/components/XButtonG.vue.js +7 -0
- package/dist/components/XButtonG.vue2.js +67 -0
- package/dist/components/XButtonGroup.vue.d.ts +1 -1
- package/dist/components/XButtonGroup.vue.js +39 -0
- package/dist/components/XButtonGroup.vue3.js +5 -0
- package/dist/components/XCalendar.vue.d.ts +5 -2
- package/dist/components/XCalendar.vue.js +309 -0
- package/dist/components/XCalendar.vue2.js +4 -0
- package/dist/components/XCard.vue.d.ts +1 -1
- package/dist/components/XCard.vue.js +80 -0
- package/dist/components/XCard.vue2.js +4 -0
- package/dist/components/XCarousel.vue.d.ts +2 -2
- package/dist/components/XCarousel.vue.js +7 -0
- package/dist/components/XCarousel.vue2.js +150 -0
- package/dist/components/XCarouselItem.vue.js +7 -0
- package/dist/components/XCarouselItem.vue2.js +112 -0
- package/dist/components/XCascader.vue.d.ts +19 -19
- package/dist/components/XCascader.vue.js +1015 -0
- package/dist/components/XCascader.vue2.js +4 -0
- package/dist/components/XCascaderPanel.vue.d.ts +6 -6
- package/dist/components/XCascaderPanel.vue.js +466 -0
- package/dist/components/XCascaderPanel.vue2.js +4 -0
- package/dist/components/XChatInput.vue.d.ts +5 -5
- package/dist/components/XChatInput.vue.js +7 -0
- package/dist/components/XChatInput.vue2.js +454 -0
- package/dist/components/XCheckbox.vue.d.ts +14 -8
- package/dist/components/XCheckbox.vue.js +154 -0
- package/dist/components/XCheckbox.vue2.js +4 -0
- package/dist/components/XCheckboxGroup.vue.d.ts +36 -13
- package/dist/components/XCheckboxGroup.vue.js +87 -0
- package/dist/components/XCheckboxGroup.vue2.js +4 -0
- package/dist/components/XCollapse.vue.d.ts +14 -7
- package/dist/components/XCollapse.vue.js +54 -0
- package/dist/components/XCollapse.vue2.js +4 -0
- package/dist/components/XCollapseItem.vue.d.ts +16 -4
- package/dist/components/XCollapseItem.vue.js +152 -0
- package/dist/components/XCollapseItem.vue2.js +4 -0
- package/dist/components/XColorGroup.vue.d.ts +1 -1
- package/dist/components/XColorGroup.vue.js +7 -0
- package/dist/components/XColorGroup.vue2.js +306 -0
- package/dist/components/XColorPicker.vue.js +62 -0
- package/dist/components/XColorPicker.vue2.js +4 -0
- package/dist/components/XComment.vue.js +129 -0
- package/dist/components/XComment.vue2.js +4 -0
- package/dist/components/XCompact.vue.js +17 -0
- package/dist/components/XCompact.vue2.js +4 -0
- package/dist/components/XConfigProvider.vue.d.ts +17 -4
- package/dist/components/XConfigProvider.vue.js +78 -0
- package/dist/components/XConfigProvider.vue2.js +4 -0
- package/dist/components/XCountdown.vue.d.ts +2 -2
- package/dist/components/XCountdown.vue.js +7 -0
- package/dist/components/XCountdown.vue2.js +104 -0
- package/dist/components/XCropper.vue.d.ts +2 -2
- package/dist/components/XCropper.vue.js +7 -0
- package/dist/components/XCropper.vue2.js +525 -0
- package/dist/components/XDatePicker.vue.d.ts +17 -17
- package/dist/components/XDatePicker.vue.js +1798 -0
- package/dist/components/XDatePicker.vue2.js +4 -0
- package/dist/components/XDescriptions.vue.d.ts +4 -4
- package/dist/components/XDescriptions.vue.js +260 -0
- package/dist/components/XDescriptions.vue2.js +4 -0
- package/dist/components/XDescriptionsItem.vue.d.ts +2 -1
- package/dist/components/XDescriptionsItem.vue.js +21 -0
- package/dist/components/XDescriptionsItem.vue2.js +4 -0
- package/dist/components/XDgroup.vue.d.ts +21 -0
- package/dist/components/XDgroup.vue.js +21 -0
- package/dist/components/XDgroup.vue2.js +4 -0
- package/dist/components/XDivider.vue.js +54 -0
- package/dist/components/XDivider.vue2.js +4 -0
- package/dist/components/XDoption.vue.d.ts +38 -0
- package/dist/components/XDoption.vue.js +59 -0
- package/dist/components/XDoption.vue2.js +4 -0
- package/dist/components/XDrawer.vue.d.ts +7 -7
- package/dist/components/XDrawer.vue.js +7 -0
- package/dist/components/XDrawer.vue2.js +320 -0
- package/dist/components/XDrawerService.d.ts +2 -0
- package/dist/components/XDrawerService.js +97 -0
- package/dist/components/XDropdown.vue.d.ts +43 -17
- package/dist/components/XDropdown.vue.js +127 -0
- package/dist/components/XDropdown.vue2.js +4 -0
- package/dist/components/XDropdownButton.vue.d.ts +65 -0
- package/dist/components/XDropdownButton.vue.js +84 -0
- package/dist/components/XDropdownButton.vue2.js +4 -0
- package/dist/components/XDropdownItem.vue.d.ts +29 -0
- package/dist/components/XDropdownItem.vue.js +47 -0
- package/dist/components/XDropdownItem.vue2.js +4 -0
- package/dist/components/XDropdownPanel.vue.d.ts +33 -0
- package/dist/components/XDropdownPanel.vue.js +58 -0
- package/dist/components/XDropdownPanel.vue2.js +4 -0
- package/dist/components/XDsubmenu.vue.d.ts +48 -0
- package/dist/components/XDsubmenu.vue.js +82 -0
- package/dist/components/XDsubmenu.vue2.js +4 -0
- package/dist/components/XEmpty.vue.d.ts +2 -2
- package/dist/components/XEmpty.vue.js +54 -0
- package/dist/components/XEmpty.vue2.js +4 -0
- package/dist/components/XFlex.vue.js +7 -0
- package/dist/components/XFlex.vue2.js +122 -0
- package/dist/components/XFloatButton.vue.js +28 -0
- package/dist/components/XFloatButton.vue2.js +4 -0
- package/dist/components/XFloatButtonGroup.vue.js +17 -0
- package/dist/components/XFloatButtonGroup.vue2.js +4 -0
- package/dist/components/XForm.vue.d.ts +2 -2
- package/dist/components/XForm.vue.js +156 -0
- package/dist/components/XForm.vue2.js +4 -0
- package/dist/components/XFormItem.vue.d.ts +21 -5
- package/dist/components/XFormItem.vue.js +425 -0
- package/dist/components/XFormItem.vue2.js +4 -0
- package/dist/components/XGrid.vue.d.ts +1 -1
- package/dist/components/XGrid.vue.js +7 -0
- package/dist/components/XGrid.vue2.js +88 -0
- package/dist/components/XGridItem.vue.d.ts +3 -3
- package/dist/components/XGridItem.vue.js +8 -0
- package/dist/components/XGridItem.vue2.js +112 -0
- package/dist/components/XGridLayout.vue.js +7 -0
- package/dist/components/XGridLayout.vue2.js +66 -0
- package/dist/components/XGridLayoutItem.vue.d.ts +1 -1
- package/dist/components/XGridLayoutItem.vue.js +7 -0
- package/dist/components/XGridLayoutItem.vue2.js +56 -0
- package/dist/components/XIcon.d.ts +1 -1
- package/dist/components/XIcon.js +5 -0
- package/dist/components/XIconLite.d.ts +1 -1
- package/dist/components/XIconLite.js +8 -0
- package/dist/components/XImage.vue.d.ts +7 -3
- package/dist/components/XImage.vue.js +7 -0
- package/dist/components/XImage.vue2.js +241 -0
- package/dist/components/XImageGroup.vue.js +7 -0
- package/dist/components/XImageGroup.vue2.js +22 -0
- package/dist/components/XInput.vue.d.ts +5 -5
- package/dist/components/XInput.vue.js +7 -0
- package/dist/components/XInput.vue2.js +537 -0
- package/dist/components/XInputComposite.vue.d.ts +12 -12
- package/dist/components/XInputComposite.vue.js +7 -0
- package/dist/components/XInputComposite.vue2.js +176 -0
- package/dist/components/XInputGroup.vue.js +19 -0
- package/dist/components/XInputGroup.vue3.js +5 -0
- package/dist/components/XInputNumber.vue.d.ts +9 -9
- package/dist/components/XInputNumber.vue.js +7 -0
- package/dist/components/XInputNumber.vue2.js +344 -0
- package/dist/components/XInputPassword.vue.d.ts +24 -24
- package/dist/components/XInputPassword.vue.js +7 -0
- package/dist/components/XInputPassword.vue2.js +125 -0
- package/dist/components/XInputSearch.vue.d.ts +26 -26
- package/dist/components/XInputSearch.vue.js +7 -0
- package/dist/components/XInputSearch.vue2.js +154 -0
- package/dist/components/XInputTag.vue.d.ts +10 -10
- package/dist/components/XInputTag.vue.js +367 -0
- package/dist/components/XInputTag.vue2.js +4 -0
- package/dist/components/XLayout.vue.js +22 -0
- package/dist/components/XLayout.vue2.js +4 -0
- package/dist/components/XLayoutContent.vue.js +13 -0
- package/dist/components/XLayoutContent.vue2.js +4 -0
- package/dist/components/XLayoutFooter.vue.js +22 -0
- package/dist/components/XLayoutFooter.vue2.js +4 -0
- package/dist/components/XLayoutHeader.vue.js +128 -0
- package/dist/components/XLayoutHeader.vue2.js +4 -0
- package/dist/components/XLayoutSider.vue.js +108 -0
- package/dist/components/XLayoutSider.vue2.js +4 -0
- package/dist/components/XLink.vue.d.ts +1 -1
- package/dist/components/XLink.vue.js +21 -0
- package/dist/components/XLink.vue2.js +4 -0
- package/dist/components/XList.vue.d.ts +8 -5
- package/dist/components/XList.vue.js +295 -0
- package/dist/components/XList.vue2.js +4 -0
- package/dist/components/XListItem.vue.d.ts +2 -3
- package/dist/components/XListItem.vue.js +53 -0
- package/dist/components/XListItem.vue2.js +4 -0
- package/dist/components/XListItemMeta.vue.js +43 -0
- package/dist/components/XListItemMeta.vue2.js +4 -0
- package/dist/components/XMention.vue.d.ts +899 -0
- package/dist/components/XMention.vue.js +456 -0
- package/dist/components/XMention.vue2.js +4 -0
- package/dist/components/XMentions.vue.js +16 -0
- package/dist/components/XMentions.vue2.js +4 -0
- package/dist/components/XMenu.vue.d.ts +7 -7
- package/dist/components/XMenu.vue.js +57 -0
- package/dist/components/XMenu.vue2.js +123 -0
- package/dist/components/XMenuIndent.vue.js +19 -0
- package/dist/components/XMenuIndent.vue2.js +21 -0
- package/dist/components/XMenuItem.vue.d.ts +43 -43
- package/dist/components/XMenuItem.vue.js +71 -0
- package/dist/components/XMenuItem.vue2.js +92 -0
- package/dist/components/XMenuItemGroup.vue.js +27 -0
- package/dist/components/XMenuItemGroup.vue2.js +26 -0
- package/dist/components/XMenuOverflowWrap.vue.js +116 -0
- package/dist/components/XMenuOverflowWrap.vue2.js +4 -0
- package/dist/components/XMessage.vue.d.ts +1 -1
- package/dist/components/XMessage.vue.js +7 -0
- package/dist/components/XMessage.vue2.js +89 -0
- package/dist/components/XMessageList.d.ts +1 -1
- package/dist/components/XMessageList.js +61 -0
- package/dist/components/XMessageService.d.ts +2 -0
- package/dist/components/XMessageService.js +118 -0
- package/dist/components/XModal.vue.d.ts +8 -8
- package/dist/components/XModal.vue.js +7 -0
- package/dist/components/XModal.vue2.js +364 -0
- package/dist/components/XModalService.d.ts +2 -0
- package/dist/components/XModalService.js +157 -0
- package/dist/components/XNotification.vue.d.ts +31 -20
- package/dist/components/XNotification.vue.js +7 -0
- package/dist/components/XNotification.vue2.js +107 -0
- package/dist/components/XNotificationList.d.ts +39 -0
- package/dist/components/XNotificationList.js +70 -0
- package/dist/components/XNotificationService.d.ts +54 -15
- package/dist/components/XNotificationService.js +119 -0
- package/dist/components/XOptgroup.vue.d.ts +1 -0
- package/dist/components/XOptgroup.vue.js +14 -0
- package/dist/components/XOptgroup.vue2.js +4 -0
- package/dist/components/XOption.vue.d.ts +1 -0
- package/dist/components/XOption.vue.js +21 -0
- package/dist/components/XOption.vue2.js +4 -0
- package/dist/components/XOverflowList.vue.d.ts +38 -8
- package/dist/components/XOverflowList.vue.js +149 -0
- package/dist/components/XOverflowList.vue2.js +4 -0
- package/dist/components/XPageHeader.vue.d.ts +11 -5
- package/dist/components/XPageHeader.vue.js +84 -0
- package/dist/components/XPageHeader.vue2.js +4 -0
- package/dist/components/XPagination.vue.js +121 -0
- package/dist/components/XPagination.vue2.js +4 -0
- package/dist/components/XPopconfirm.vue.d.ts +82 -77
- package/dist/components/XPopconfirm.vue.js +90 -0
- package/dist/components/XPopconfirm.vue2.js +4 -0
- package/dist/components/XPopover.vue.d.ts +3 -3
- package/dist/components/XPopover.vue.js +53 -0
- package/dist/components/XPopover.vue2.js +4 -0
- package/dist/components/XProgress.vue.d.ts +2 -2
- package/dist/components/XProgress.vue.js +263 -0
- package/dist/components/XProgress.vue2.js +4 -0
- package/dist/components/XQRCode.vue.d.ts +3 -3
- package/dist/components/XQRCode.vue.js +141 -0
- package/dist/components/XQRCode.vue2.js +4 -0
- package/dist/components/XRadio.vue.d.ts +1 -1
- package/dist/components/XRadio.vue.js +138 -0
- package/dist/components/XRadio.vue2.js +4 -0
- package/dist/components/XRadioButton.vue.d.ts +1 -1
- package/dist/components/XRadioButton.vue.js +41 -0
- package/dist/components/XRadioButton.vue2.js +4 -0
- package/dist/components/XRadioGroup.vue.d.ts +3 -3
- package/dist/components/XRadioGroup.vue.js +168 -0
- package/dist/components/XRadioGroup.vue2.js +4 -0
- package/dist/components/XRate.vue.d.ts +3 -3
- package/dist/components/XRate.vue.js +145 -0
- package/dist/components/XRate.vue2.js +4 -0
- package/dist/components/XResizeBox.vue.d.ts +41 -9
- package/dist/components/XResizeBox.vue.js +184 -0
- package/dist/components/XResizeBox.vue2.js +4 -0
- package/dist/components/XResult.vue.js +78 -0
- package/dist/components/XResult.vue2.js +4 -0
- package/dist/components/XRichTextEditor.vue.d.ts +2 -2
- package/dist/components/XRichTextEditor.vue.js +7 -0
- package/dist/components/XRichTextEditor.vue2.js +742 -0
- package/dist/components/XScrollbar.vue.d.ts +176 -5
- package/dist/components/XScrollbar.vue.js +190 -0
- package/dist/components/XScrollbar.vue2.js +4 -0
- package/dist/components/XScrollbarThumb.vue.d.ts +22 -0
- package/dist/components/XScrollbarThumb.vue.js +97 -0
- package/dist/components/XScrollbarThumb.vue2.js +4 -0
- package/dist/components/XSegmented.vue.js +7 -0
- package/dist/components/XSegmented.vue2.js +71 -0
- package/dist/components/XSelect.vue.d.ts +27 -27
- package/dist/components/XSelect.vue.js +858 -0
- package/dist/components/XSelect.vue2.js +4 -0
- package/dist/components/XSkeleton.vue.d.ts +100 -29
- package/dist/components/XSkeleton.vue.js +37 -0
- package/dist/components/XSkeleton.vue2.js +59 -0
- package/dist/components/XSkeletonLine.vue.d.ts +15 -0
- package/dist/components/XSkeletonLine.vue.js +36 -0
- package/dist/components/XSkeletonLine.vue2.js +4 -0
- package/dist/components/XSkeletonShape.vue.d.ts +9 -0
- package/dist/components/XSkeletonShape.vue.js +21 -0
- package/dist/components/XSkeletonShape.vue2.js +4 -0
- package/dist/components/XSlider.vue.d.ts +86 -86
- package/dist/components/XSlider.vue.js +402 -0
- package/dist/components/XSlider.vue2.js +4 -0
- package/dist/components/XSpace.vue.d.ts +59 -28
- package/dist/components/XSpace.vue.js +125 -0
- package/dist/components/XSpace.vue2.js +4 -0
- package/dist/components/XSpin.vue.js +54 -0
- package/dist/components/XSpin.vue2.js +4 -0
- package/dist/components/XSplit.vue.d.ts +3 -3
- package/dist/components/XSplit.vue.js +7 -0
- package/dist/components/XSplit.vue2.js +126 -0
- package/dist/components/XStatistic.vue.d.ts +5 -5
- package/dist/components/XStatistic.vue.js +7 -0
- package/dist/components/XStatistic.vue2.js +176 -0
- package/dist/components/XStep.vue.d.ts +3 -3
- package/dist/components/XStep.vue.js +91 -0
- package/dist/components/XStep.vue2.js +4 -0
- package/dist/components/XSteps.vue.d.ts +2 -2
- package/dist/components/XSteps.vue.js +73 -0
- package/dist/components/XSteps.vue2.js +4 -0
- package/dist/components/XSubMenu.vue.d.ts +30 -30
- package/dist/components/XSubMenu.vue.js +109 -0
- package/dist/components/XSubMenu.vue2.js +69 -0
- package/dist/components/XSubMenuInline.vue.js +74 -0
- package/dist/components/XSubMenuInline.vue2.js +56 -0
- package/dist/components/XSubMenuPop.vue.d.ts +29 -29
- package/dist/components/XSubMenuPop.vue.js +91 -0
- package/dist/components/XSubMenuPop.vue2.js +113 -0
- package/dist/components/XSwitch.vue.d.ts +5 -5
- package/dist/components/XSwitch.vue.js +133 -0
- package/dist/components/XSwitch.vue2.js +4 -0
- package/dist/components/XTabPane.vue.d.ts +4 -4
- package/dist/components/XTabPane.vue.js +59 -0
- package/dist/components/XTabPane.vue2.js +4 -0
- package/dist/components/XTable.vue.d.ts +5 -5
- package/dist/components/XTable.vue.js +7 -0
- package/dist/components/XTable.vue2.js +1059 -0
- package/dist/components/XTableFilter.vue.js +7 -0
- package/dist/components/XTableFilter.vue2.js +141 -0
- package/dist/components/XTabs.vue.d.ts +53 -25
- package/dist/components/XTabs.vue.js +402 -0
- package/dist/components/XTabs.vue2.js +4 -0
- package/dist/components/XTag.vue.d.ts +5 -3
- package/dist/components/XTag.vue.js +126 -0
- package/dist/components/XTag.vue2.js +4 -0
- package/dist/components/XTextarea.vue.d.ts +9 -9
- package/dist/components/XTextarea.vue.js +261 -0
- package/dist/components/XTextarea.vue2.js +4 -0
- package/dist/components/XTimePicker.vue.d.ts +13 -13
- package/dist/components/XTimePicker.vue.js +827 -0
- package/dist/components/XTimePicker.vue2.js +4 -0
- package/dist/components/XTimeline.vue.d.ts +2 -2
- package/dist/components/XTimeline.vue.js +84 -0
- package/dist/components/XTimeline.vue2.js +4 -0
- package/dist/components/XTimelineItem.vue.d.ts +3 -3
- package/dist/components/XTimelineItem.vue.js +202 -0
- package/dist/components/XTimelineItem.vue2.js +4 -0
- package/dist/components/XTooltip.vue.d.ts +76 -76
- package/dist/components/XTooltip.vue.js +78 -0
- package/dist/components/XTooltip.vue2.js +4 -0
- package/dist/components/XTour.vue.js +120 -0
- package/dist/components/XTour.vue2.js +4 -0
- package/dist/components/XTr.vue.js +12 -0
- package/dist/components/XTransfer.vue.js +128 -0
- package/dist/components/XTransfer.vue2.js +4 -0
- package/dist/components/XTree.vue.d.ts +3 -1
- package/dist/components/XTree.vue.js +7 -0
- package/dist/components/XTree.vue2.js +601 -0
- package/dist/components/XTreeNode.vue.js +7 -0
- package/dist/components/XTreeNode.vue2.js +314 -0
- package/dist/components/XTreeSelect.vue.d.ts +175 -29
- package/dist/components/XTreeSelect.vue.js +7 -0
- package/dist/components/XTreeSelect.vue2.js +715 -0
- package/dist/components/XTrigger.vue.d.ts +6 -6
- package/dist/components/XTrigger.vue.js +492 -0
- package/dist/components/XTrigger.vue2.js +4 -0
- package/dist/components/XTypography.vue.d.ts +4 -4
- package/dist/components/XTypography.vue.js +51 -0
- package/dist/components/XTypography.vue2.js +126 -0
- package/dist/components/XTypographyParagraph.vue.d.ts +2 -2
- package/dist/components/XTypographyParagraph.vue.js +83 -0
- package/dist/components/XTypographyParagraph.vue2.js +4 -0
- package/dist/components/XTypographyText.vue.d.ts +3 -3
- package/dist/components/XTypographyText.vue.js +76 -0
- package/dist/components/XTypographyText.vue2.js +4 -0
- package/dist/components/XTypographyTitle.vue.d.ts +2 -2
- package/dist/components/XTypographyTitle.vue.js +77 -0
- package/dist/components/XTypographyTitle.vue2.js +4 -0
- package/dist/components/XUpload.vue.d.ts +7 -5
- package/dist/components/XUpload.vue.js +7 -0
- package/dist/components/XUpload.vue2.js +1060 -0
- package/dist/components/XVerificationCode.vue.d.ts +3 -3
- package/dist/components/XVerificationCode.vue.js +149 -0
- package/dist/components/XVerificationCode.vue2.js +4 -0
- package/dist/components/XWatermark.vue.d.ts +30 -4
- package/dist/components/XWatermark.vue.js +204 -0
- package/dist/components/XWatermark.vue2.js +4 -0
- package/dist/components/index.d.ts +504 -1
- package/dist/components/index.js +308 -0
- package/dist/components/result-assets/result-403.svg.js +4 -0
- package/dist/components/result-assets/result-404.svg.js +4 -0
- package/dist/components/result-assets/result-500.svg.js +4 -0
- package/dist/components/statistic-utils.js +81 -0
- package/dist/components/timelineContext.js +4 -0
- package/dist/components/x-breadcrumb-context.d.ts +9 -0
- package/dist/components/x-breadcrumb-context.js +4 -0
- package/dist/components/x-checkbox-context.d.ts +19 -0
- package/dist/components/x-checkbox-context.js +4 -0
- package/dist/components/x-dropdown-context.d.ts +7 -0
- package/dist/components/x-dropdown-context.js +4 -0
- package/dist/components/x-icon-shared.d.ts +1 -1
- package/dist/components/x-icon-shared.js +151 -0
- package/dist/components/x-list-shared.d.ts +20 -8
- package/dist/components/x-radio-context.js +4 -0
- package/dist/components/x-scrollbar-types.d.ts +5 -0
- package/dist/composables/collapse.d.ts +8 -5
- package/dist/composables/collapse.js +9 -0
- package/dist/composables/config-provider.d.ts +29 -0
- package/dist/composables/config-provider.js +48 -0
- package/dist/composables/config.js +39 -0
- package/dist/composables/form.js +397 -0
- package/dist/composables/i18n.d.ts +4 -2
- package/dist/composables/i18n.js +257 -0
- package/dist/composables/menu-context.js +6 -0
- package/dist/composables/menu-hooks/use-level.js +25 -0
- package/dist/composables/menu-hooks/use-menu-context.js +8 -0
- package/dist/composables/menu-hooks/use-menu-data-collector.js +63 -0
- package/dist/composables/menu-hooks/use-menu-open-state.js +120 -0
- package/dist/composables/menu-hooks/use-menu.js +19 -0
- package/dist/composables/popup.js +177 -0
- package/dist/composables/scrollbar-visibility.d.ts +1 -0
- package/dist/composables/scrollbar-visibility.js +96 -0
- package/dist/composables/steps.d.ts +1 -0
- package/dist/composables/steps.js +9 -0
- package/dist/composables/tabs.d.ts +19 -8
- package/dist/composables/tabs.js +10 -0
- package/dist/composables/theme-context.d.ts +9 -0
- package/dist/composables/theme-context.js +24 -0
- package/dist/composables/theme.js +53 -0
- package/dist/composables/useMergeState.js +27 -0
- package/dist/composables/useResponsive.js +36 -0
- package/dist/iconfont/generated/icons/guanbi.js +7 -0
- package/dist/iconfont/generated/icons/shijian.js +7 -0
- package/dist/iconfont/internal-icons.js +71 -0
- package/dist/index.cjs +10 -11
- package/dist/index.css +14834 -0
- package/dist/index.js +382 -27802
- package/dist/index.less +14834 -0
- package/dist/install.js +39 -0
- package/dist/locales/ar-EG.js +5 -0
- package/dist/locales/da-DK.d.ts +381 -0
- package/dist/locales/da-DK.js +5 -0
- package/dist/locales/de-DE.js +5 -0
- package/dist/locales/en-US.js +312 -0
- package/dist/locales/es-ES.js +5 -0
- package/dist/locales/fr-FR.js +5 -0
- package/dist/locales/id-ID.js +5 -0
- package/dist/locales/it-IT.js +5 -0
- package/dist/locales/ja-JP.js +5 -0
- package/dist/locales/km-KH.js +5 -0
- package/dist/locales/ko-KR.js +5 -0
- package/dist/locales/ms-MY.js +5 -0
- package/dist/locales/nl-NL.d.ts +381 -0
- package/dist/locales/nl-NL.js +5 -0
- package/dist/locales/pt-PT.js +5 -0
- package/dist/locales/ru-RU.js +5 -0
- package/dist/locales/th-TH.js +5 -0
- package/dist/locales/vi-VN.js +5 -0
- package/dist/locales/zh-CN.js +312 -0
- package/dist/locales/zh-TW.js +5 -0
- package/dist/node_modules/dijkstrajs/dijkstra.js +70 -0
- package/dist/node_modules/qrcode/lib/browser.js +45 -0
- package/dist/node_modules/qrcode/lib/can-promise.js +6 -0
- package/dist/node_modules/qrcode/lib/core/alignment-pattern.js +21 -0
- package/dist/node_modules/qrcode/lib/core/alphanumeric-data.js +73 -0
- package/dist/node_modules/qrcode/lib/core/bit-buffer.js +24 -0
- package/dist/node_modules/qrcode/lib/core/bit-matrix.js +22 -0
- package/dist/node_modules/qrcode/lib/core/byte-data.js +23 -0
- package/dist/node_modules/qrcode/lib/core/error-correction-code.js +359 -0
- package/dist/node_modules/qrcode/lib/core/error-correction-level.js +35 -0
- package/dist/node_modules/qrcode/lib/core/finder-pattern.js +18 -0
- package/dist/node_modules/qrcode/lib/core/format-info.js +14 -0
- package/dist/node_modules/qrcode/lib/core/galois-field.js +22 -0
- package/dist/node_modules/qrcode/lib/core/kanji-data.js +37 -0
- package/dist/node_modules/qrcode/lib/core/mask-pattern.js +96 -0
- package/dist/node_modules/qrcode/lib/core/mode.js +64 -0
- package/dist/node_modules/qrcode/lib/core/numeric-data.js +26 -0
- package/dist/node_modules/qrcode/lib/core/polynomial.js +29 -0
- package/dist/node_modules/qrcode/lib/core/qrcode.js +159 -0
- package/dist/node_modules/qrcode/lib/core/reed-solomon-encoder.js +25 -0
- package/dist/node_modules/qrcode/lib/core/regex.js +24 -0
- package/dist/node_modules/qrcode/lib/core/segments.js +143 -0
- package/dist/node_modules/qrcode/lib/core/utils.js +74 -0
- package/dist/node_modules/qrcode/lib/core/version-check.js +7 -0
- package/dist/node_modules/qrcode/lib/core/version.js +74 -0
- package/dist/node_modules/qrcode/lib/renderer/canvas.js +27 -0
- package/dist/node_modules/qrcode/lib/renderer/svg-tag.js +28 -0
- package/dist/node_modules/qrcode/lib/renderer/utils.js +52 -0
- package/dist/style.css +14834 -1
- package/dist/style.less +14834 -0
- package/package.json +12 -4
- package/dist/components/__tests__/XAffix.test.d.ts +0 -1
- package/dist/components/__tests__/XButton.test.d.ts +0 -1
- package/dist/components/__tests__/XCard.test.d.ts +0 -1
- package/dist/components/__tests__/XCarousel.test.d.ts +0 -1
- package/dist/components/__tests__/XCascader.test.d.ts +0 -1
- package/dist/components/__tests__/XCropper.test.d.ts +0 -1
- package/dist/components/__tests__/XMention.test.d.ts +0 -1
- package/dist/components/__tests__/XMenuAccordion.test.d.ts +0 -1
- package/dist/components/__tests__/XStatistic.test.d.ts +0 -1
- package/dist/components/__tests__/XSwitch.test.d.ts +0 -1
- package/dist/components/__tests__/XTable.test.d.ts +0 -1
- package/dist/components/__tests__/XTag.test.d.ts +0 -1
- package/dist/components/__tests__/XTimePicker.test.d.ts +0 -1
- package/dist/components/__tests__/XTree.test.d.ts +0 -1
- package/dist/components/__tests__/XTrigger.test.d.ts +0 -1
- package/dist/favicon.ico +0 -1
- package/dist/favicon.svg +0 -5
- package/dist/images/carousel-0.png +0 -0
- package/dist/images/carousel-2.png +0 -0
- package/dist/images/carousel-3.png +0 -0
- package/dist/images/image-1.png +0 -0
- package/dist/img/avatar-1.jpg +0 -0
- package/dist/img/avatar.jpg +0 -0
- package/dist/img/avatar0.jpg +0 -0
- package/dist/img/avatar1.jpg +0 -0
- package/dist/img/image-1.png +0 -0
- package/dist/img/image-2.png +0 -0
- package/dist/img/image-3.png +0 -0
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,537 @@
|
|
|
1
|
+
import { defineComponent as pt, useAttrs as dt, useSlots as vt, ref as s, computed as u, watch as A, onMounted as ft, onBeforeUnmount as ht, openBlock as m, createElementBlock as y, createElementVNode as L, normalizeClass as K, unref as S, renderSlot as T, createTextVNode as Be, toDisplayString as N, createCommentVNode as C, mergeProps as gt, withModifiers as I, createVNode as se, Fragment as mt, renderList as yt, nextTick as wt } from "vue";
|
|
2
|
+
import { useXConfig as xt, sizeClass as Ee } from "../composables/config.js";
|
|
3
|
+
import { useXFormField as St } from "../composables/form.js";
|
|
4
|
+
import { useXI18n as Ct } from "../composables/i18n.js";
|
|
5
|
+
import ie from "./XIcon.js";
|
|
6
|
+
const bt = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "x-input-group__addon x-input-group__addon--prepend"
|
|
9
|
+
}, kt = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "x-input__prefix"
|
|
12
|
+
}, Rt = ["id", "value", "type", "placeholder", "disabled", "readonly", "maxlength", "aria-invalid"], Bt = ["aria-label"], Et = {
|
|
13
|
+
key: 2,
|
|
14
|
+
class: "x-input__suffix"
|
|
15
|
+
}, Lt = {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "x-input-speech__wave",
|
|
18
|
+
"aria-hidden": "true"
|
|
19
|
+
}, _t = ["aria-label", "disabled"], Vt = ["aria-label"], It = {
|
|
20
|
+
key: 1,
|
|
21
|
+
class: "x-input-group__addon x-input-group__addon--append"
|
|
22
|
+
}, Dt = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "x-input-composite__panel"
|
|
25
|
+
}, At = { class: "x-input-composite__list" }, $t = ["onMouseenter", "onClick"], Nt = /* @__PURE__ */ pt({
|
|
26
|
+
__name: "XInput",
|
|
27
|
+
props: {
|
|
28
|
+
modelValue: {},
|
|
29
|
+
defaultValue: { default: "" },
|
|
30
|
+
placeholder: {},
|
|
31
|
+
size: {},
|
|
32
|
+
disabled: { type: Boolean },
|
|
33
|
+
clearable: { type: Boolean, default: !1 },
|
|
34
|
+
allowClear: { type: Boolean, default: void 0 },
|
|
35
|
+
error: { type: Boolean, default: !1 },
|
|
36
|
+
status: { default: void 0 },
|
|
37
|
+
maxLength: {},
|
|
38
|
+
type: { default: "text" },
|
|
39
|
+
readonly: { type: Boolean, default: !1 },
|
|
40
|
+
showWordLimit: { type: Boolean, default: !1 },
|
|
41
|
+
wordLength: {},
|
|
42
|
+
wordSlice: {},
|
|
43
|
+
prepend: { default: void 0 },
|
|
44
|
+
append: { default: void 0 },
|
|
45
|
+
listData: { default: () => [] },
|
|
46
|
+
keyworld: { default: "" },
|
|
47
|
+
rowKey: { default: "" },
|
|
48
|
+
btnValue: { default: "" },
|
|
49
|
+
isClera: { type: Boolean, default: !0 },
|
|
50
|
+
speechRecognition: { type: Boolean, default: !1 },
|
|
51
|
+
speechRecognitionLang: { default: "zh-CN" },
|
|
52
|
+
speechRecognitionContinuous: { type: Boolean, default: !0 },
|
|
53
|
+
speechRecognitionInterimResults: { type: Boolean, default: !1 }
|
|
54
|
+
},
|
|
55
|
+
emits: ["update:modelValue", "input", "change", "clear", "blur", "focus", "pressEnter", "captureItem", "sentWord", "clickUseAppend", "changename", "speechStart", "speechEnd", "speechResult", "speechError"],
|
|
56
|
+
setup(b, { expose: Le, emit: _e }) {
|
|
57
|
+
const n = b, a = _e, Ve = xt(), r = St(), Ie = dt(), j = vt(), { t: c } = Ct(), H = s(null), k = s(null), q = s(!1), O = s(!1), De = u(() => {
|
|
58
|
+
const e = { ...Ie };
|
|
59
|
+
return delete e.class, delete e.style, e;
|
|
60
|
+
}), w = s(!1), $ = s(!1), f = s(-1), G = s([]), ce = u(() => n.size ?? Ve.size.value), _ = u(() => !!(n.disabled || r != null && r.disabled.value)), Ae = u(() => n.allowClear ?? n.clearable), p = u(() => typeof n.keyworld == "string" ? n.keyworld.trim().length > 0 : Array.isArray(n.keyworld) ? String(n.keyworld[0] ?? "").trim().length > 0 : !1), pe = u(() => p.value), J = u(() => n.modelValue !== void 0), Q = s(String(n.defaultValue ?? "")), i = u(() => J.value ? String(n.modelValue ?? "") : Q.value), de = u(() => {
|
|
61
|
+
if (typeof n.maxLength == "number" && n.maxLength > 0)
|
|
62
|
+
return {
|
|
63
|
+
length: n.maxLength,
|
|
64
|
+
errorOnly: !1
|
|
65
|
+
};
|
|
66
|
+
if (n.maxLength && typeof n.maxLength == "object") {
|
|
67
|
+
const e = Number(n.maxLength.length);
|
|
68
|
+
if (e > 0)
|
|
69
|
+
return {
|
|
70
|
+
length: e,
|
|
71
|
+
errorOnly: !!n.maxLength.errorOnly
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
}), x = u(() => {
|
|
75
|
+
var e;
|
|
76
|
+
return (e = de.value) == null ? void 0 : e.length;
|
|
77
|
+
}), W = u(() => {
|
|
78
|
+
var e;
|
|
79
|
+
return !!((e = de.value) != null && e.errorOnly);
|
|
80
|
+
}), ve = u(() => typeof n.wordLength == "function" ? n.wordLength(i.value) : i.value.length), fe = u(() => !!(x.value && ve.value > x.value)), M = u(() => n.error ? "error" : n.status), V = u(() => M.value === "error" || fe.value && W.value), he = u(() => Ae.value && i.value.length > 0 && !_.value && !n.readonly), ge = u(() => n.showWordLimit && !!x.value), me = u(() => !!j.prepend || n.prepend !== void 0), Y = u(() => !!j.append || n.append !== void 0), Z = u(() => !!n.speechRecognition && n.type === "text"), ye = u(() => Z.value), $e = u(() => ge.value || !!j.suffix || pe.value || ye.value), ee = s(i.value), d = s(null), h = s(!1), v = s(!1), te = s(!1), we = s(""), P = s(""), B = s([]), U = s(i.value), Me = u(() => _.value || n.readonly || !te.value), Fe = u(() => {
|
|
81
|
+
if (!(!x.value || W.value))
|
|
82
|
+
return x.value;
|
|
83
|
+
});
|
|
84
|
+
A(i, (e, t) => {
|
|
85
|
+
ee.value = t, !h.value && !v.value && (U.value = i.value);
|
|
86
|
+
}), A(
|
|
87
|
+
() => n.listData,
|
|
88
|
+
() => {
|
|
89
|
+
X();
|
|
90
|
+
},
|
|
91
|
+
{ deep: !0 }
|
|
92
|
+
), A(
|
|
93
|
+
() => n.btnValue,
|
|
94
|
+
(e) => {
|
|
95
|
+
!p.value || J.value || e !== "" && (Q.value = String(e ?? ""));
|
|
96
|
+
},
|
|
97
|
+
{ immediate: !0 }
|
|
98
|
+
), A(p, (e) => {
|
|
99
|
+
e || R();
|
|
100
|
+
}), A(
|
|
101
|
+
() => [n.speechRecognitionLang, n.speechRecognitionContinuous, n.speechRecognitionInterimResults],
|
|
102
|
+
([e, t, o]) => {
|
|
103
|
+
d.value && (d.value.lang = e, d.value.continuous = t, d.value.interimResults = o);
|
|
104
|
+
}
|
|
105
|
+
), A(
|
|
106
|
+
() => [Z.value, _.value, n.readonly],
|
|
107
|
+
([e, t, o]) => {
|
|
108
|
+
(!e || t || o) && ne();
|
|
109
|
+
}
|
|
110
|
+
);
|
|
111
|
+
function xe() {
|
|
112
|
+
if (typeof window > "u")
|
|
113
|
+
return;
|
|
114
|
+
const e = window;
|
|
115
|
+
return e.SpeechRecognition ?? e.webkitSpeechRecognition;
|
|
116
|
+
}
|
|
117
|
+
function ze() {
|
|
118
|
+
te.value = !!xe();
|
|
119
|
+
}
|
|
120
|
+
function F(e = "") {
|
|
121
|
+
return String(e).replace(/[\u200B-\u200D\uFEFF]/g, "").replace(/\s+/g, " ").trim();
|
|
122
|
+
}
|
|
123
|
+
function Ke(e, t) {
|
|
124
|
+
const o = F(e), l = F(t);
|
|
125
|
+
return l ? o ? `${o} ${l}` : l : e;
|
|
126
|
+
}
|
|
127
|
+
function Te(e) {
|
|
128
|
+
var g, D;
|
|
129
|
+
const { results: t } = e;
|
|
130
|
+
if (!t || t.length === 0)
|
|
131
|
+
return "";
|
|
132
|
+
const o = typeof e.resultIndex == "number" ? e.resultIndex : 0;
|
|
133
|
+
B.value.length > t.length && (B.value.length = t.length);
|
|
134
|
+
for (let E = o; E < t.length; E += 1)
|
|
135
|
+
B.value[E] = F(((D = (g = t[E]) == null ? void 0 : g[0]) == null ? void 0 : D.transcript) ?? "");
|
|
136
|
+
let l = "";
|
|
137
|
+
for (let E = 0; E < B.value.length; E += 1) {
|
|
138
|
+
const re = B.value[E];
|
|
139
|
+
re && (l = l ? `${l} ${re}` : re);
|
|
140
|
+
}
|
|
141
|
+
return F(l);
|
|
142
|
+
}
|
|
143
|
+
function Ne(e, t) {
|
|
144
|
+
const o = {
|
|
145
|
+
"not-allowed": c("input.speechErrors.notAllowed", void 0, "麦克风权限被拒绝"),
|
|
146
|
+
"service-not-allowed": c("input.speechErrors.serviceNotAllowed", void 0, "浏览器禁止了语音识别服务"),
|
|
147
|
+
"audio-capture": c("input.speechErrors.audioCapture", void 0, "未检测到可用麦克风"),
|
|
148
|
+
network: c("input.speechErrors.network", void 0, "语音识别网络异常"),
|
|
149
|
+
"no-speech": c("input.speechErrors.noSpeech", void 0, "未检测到语音输入"),
|
|
150
|
+
"language-not-supported": c("input.speechErrors.languageNotSupported", void 0, "当前语音语言不支持"),
|
|
151
|
+
aborted: c("input.speechErrors.aborted", void 0, "语音识别已取消")
|
|
152
|
+
};
|
|
153
|
+
return t || (e ? o[e] : "") || c("input.speechFailed", void 0, "语音识别失败");
|
|
154
|
+
}
|
|
155
|
+
function Oe(e, t) {
|
|
156
|
+
const o = F(e);
|
|
157
|
+
if (!o || o === P.value)
|
|
158
|
+
return;
|
|
159
|
+
const l = Ke(we.value, o);
|
|
160
|
+
l !== U.value && (z(l, t), ue(l), U.value = l), P.value = o, a("speechResult", o, l);
|
|
161
|
+
}
|
|
162
|
+
function We(e) {
|
|
163
|
+
const t = Te(e);
|
|
164
|
+
t && Oe(t, e);
|
|
165
|
+
}
|
|
166
|
+
function Pe() {
|
|
167
|
+
const e = xe();
|
|
168
|
+
if (!e)
|
|
169
|
+
return null;
|
|
170
|
+
const t = new e();
|
|
171
|
+
return t.lang = n.speechRecognitionLang, t.continuous = n.speechRecognitionContinuous, t.interimResults = n.speechRecognitionInterimResults, t.onstart = () => {
|
|
172
|
+
v.value = !1, h.value = !0, a("speechStart");
|
|
173
|
+
}, t.onend = () => {
|
|
174
|
+
v.value = !1, h.value = !1, B.value = [], a("speechEnd", P.value, i.value);
|
|
175
|
+
}, t.onerror = (o) => {
|
|
176
|
+
v.value = !1, h.value = !1, B.value = [];
|
|
177
|
+
const l = Ne(o.error, o.message);
|
|
178
|
+
a("speechError", l, o.error);
|
|
179
|
+
}, t.onresult = We, t;
|
|
180
|
+
}
|
|
181
|
+
function Ue() {
|
|
182
|
+
if (d.value)
|
|
183
|
+
return d.value;
|
|
184
|
+
const e = Pe();
|
|
185
|
+
return d.value = e, e;
|
|
186
|
+
}
|
|
187
|
+
function ne() {
|
|
188
|
+
if (!(!d.value || !h.value && !v.value))
|
|
189
|
+
try {
|
|
190
|
+
d.value.stop();
|
|
191
|
+
} catch {
|
|
192
|
+
v.value = !1, h.value = !1;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
function Xe() {
|
|
196
|
+
var t;
|
|
197
|
+
if (!Z.value || _.value || n.readonly || h.value || v.value)
|
|
198
|
+
return;
|
|
199
|
+
if (!te.value) {
|
|
200
|
+
a("speechError", c("input.speechUnsupported", void 0, "当前浏览器不支持语音识别"));
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
const e = Ue();
|
|
204
|
+
if (!e) {
|
|
205
|
+
a("speechError", c("input.speechInitFailed", void 0, "语音识别初始化失败"));
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
we.value = i.value, P.value = "", B.value = [], U.value = i.value, v.value = !0, (t = k.value) == null || t.focus();
|
|
209
|
+
try {
|
|
210
|
+
e.start();
|
|
211
|
+
} catch (o) {
|
|
212
|
+
v.value = !1;
|
|
213
|
+
const l = o instanceof Error ? o.message : c("input.speechStartFailed", void 0, "语音识别启动失败");
|
|
214
|
+
a("speechError", l);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
function je() {
|
|
218
|
+
if (h.value || v.value) {
|
|
219
|
+
ne();
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
Xe();
|
|
223
|
+
}
|
|
224
|
+
function Se() {
|
|
225
|
+
return typeof n.keyworld == "string" ? [n.keyworld, ""] : Array.isArray(n.keyworld) ? [String(n.keyworld[0] ?? ""), String(n.keyworld[1] ?? "")] : ["", ""];
|
|
226
|
+
}
|
|
227
|
+
function He(e) {
|
|
228
|
+
const [t, o] = Se();
|
|
229
|
+
if (!t) return "";
|
|
230
|
+
const l = String(e[t] ?? ""), g = o ? String(e[o] ?? "") : "";
|
|
231
|
+
return typeof n.keyworld == "string" ? l : g ? `${l} ${g}` : l;
|
|
232
|
+
}
|
|
233
|
+
function qe(e) {
|
|
234
|
+
const [t, o] = Se();
|
|
235
|
+
if (!t) return "";
|
|
236
|
+
const l = String(e[t] ?? ""), g = o ? String(e[o] ?? "") : "";
|
|
237
|
+
return typeof n.keyworld == "string" ? l : g ? `${l} (${g})` : l;
|
|
238
|
+
}
|
|
239
|
+
function Ge(e) {
|
|
240
|
+
return !x.value || W.value || (n.wordLength ?? ((o) => o.length))(e) <= x.value ? e : typeof n.wordSlice == "function" ? n.wordSlice(e, x.value) : e.slice(0, x.value);
|
|
241
|
+
}
|
|
242
|
+
function z(e, t) {
|
|
243
|
+
const o = Ge(e);
|
|
244
|
+
J.value || (Q.value = o), a("update:modelValue", o), a("input", o, t);
|
|
245
|
+
}
|
|
246
|
+
function oe(e, t) {
|
|
247
|
+
e !== ee.value && (ee.value = e, a("change", e, t), r == null || r.notifyChange());
|
|
248
|
+
}
|
|
249
|
+
function Ce() {
|
|
250
|
+
f.value = -1, G.value = [];
|
|
251
|
+
}
|
|
252
|
+
function R() {
|
|
253
|
+
w.value = !1, $.value = !1, Ce();
|
|
254
|
+
}
|
|
255
|
+
function X() {
|
|
256
|
+
if (!p.value) {
|
|
257
|
+
R();
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
260
|
+
w.value = n.listData.length > 0 && $.value, w.value || Ce();
|
|
261
|
+
}
|
|
262
|
+
function le() {
|
|
263
|
+
p.value && ($.value = !0, a("sentWord", i.value), X());
|
|
264
|
+
}
|
|
265
|
+
function Je() {
|
|
266
|
+
R();
|
|
267
|
+
}
|
|
268
|
+
function Qe() {
|
|
269
|
+
if (w.value) {
|
|
270
|
+
R();
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
le();
|
|
274
|
+
}
|
|
275
|
+
function ue(e) {
|
|
276
|
+
p.value && ($.value = !0, a("sentWord", e), X());
|
|
277
|
+
}
|
|
278
|
+
function be(e) {
|
|
279
|
+
if (!p.value)
|
|
280
|
+
return;
|
|
281
|
+
const t = n.isClera ? "" : qe(e);
|
|
282
|
+
z(t, new Event("input")), a("captureItem", e), R();
|
|
283
|
+
}
|
|
284
|
+
function Ye() {
|
|
285
|
+
p.value && (i.value && a("changename", i.value), R());
|
|
286
|
+
}
|
|
287
|
+
function Ze() {
|
|
288
|
+
a("clickUseAppend");
|
|
289
|
+
}
|
|
290
|
+
function ke() {
|
|
291
|
+
wt(() => {
|
|
292
|
+
const e = G.value[f.value];
|
|
293
|
+
e == null || e.scrollIntoView({ block: "nearest" });
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
function et(e) {
|
|
297
|
+
if (!p.value)
|
|
298
|
+
return !1;
|
|
299
|
+
if (e.key === "ArrowDown")
|
|
300
|
+
return !w.value && ($.value = !0, X(), !w.value) || n.listData.length === 0 ? !1 : (e.preventDefault(), f.value < 0 ? f.value = 0 : f.value = (f.value + 1) % n.listData.length, ke(), !0);
|
|
301
|
+
if (e.key === "ArrowUp")
|
|
302
|
+
return !w.value || n.listData.length === 0 ? !1 : (e.preventDefault(), f.value <= 0 ? f.value = 0 : f.value -= 1, ke(), !0);
|
|
303
|
+
if (e.key === "Enter") {
|
|
304
|
+
if (!w.value || n.listData.length === 0)
|
|
305
|
+
return !1;
|
|
306
|
+
e.preventDefault();
|
|
307
|
+
const t = f.value >= 0 ? f.value : 0, o = n.listData[t];
|
|
308
|
+
return o && be(o), !0;
|
|
309
|
+
}
|
|
310
|
+
return e.key === "Escape" && w.value ? (e.preventDefault(), R(), !0) : !1;
|
|
311
|
+
}
|
|
312
|
+
function tt(e) {
|
|
313
|
+
if (O.value) return;
|
|
314
|
+
const t = e.target.value, o = p.value ? t.trim() : t;
|
|
315
|
+
z(o, e), r == null || r.notifyInput(e), ue(o);
|
|
316
|
+
}
|
|
317
|
+
function ae(e) {
|
|
318
|
+
if (e.type === "compositionend") {
|
|
319
|
+
O.value = !1;
|
|
320
|
+
const t = e.target.value, o = p.value ? t.trim() : t;
|
|
321
|
+
z(o, e), r == null || r.notifyInput(e), ue(o);
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
O.value = !0;
|
|
325
|
+
}
|
|
326
|
+
function nt(e) {
|
|
327
|
+
var t;
|
|
328
|
+
z("", e), oe("", e), a("clear", e), p.value && R(), (t = k.value) == null || t.focus();
|
|
329
|
+
}
|
|
330
|
+
function ot(e) {
|
|
331
|
+
q.value = !0, a("focus", e), r == null || r.notifyFocus(e), p.value && le();
|
|
332
|
+
}
|
|
333
|
+
function lt(e) {
|
|
334
|
+
q.value = !1, oe(i.value, e), a("blur", e), Ye(), r == null || r.notifyBlur();
|
|
335
|
+
}
|
|
336
|
+
function ut(e) {
|
|
337
|
+
O.value || (oe(i.value, e), a("pressEnter", e));
|
|
338
|
+
}
|
|
339
|
+
function at(e) {
|
|
340
|
+
et(e) || e.key === "Enter" && ut(e);
|
|
341
|
+
}
|
|
342
|
+
function rt(e) {
|
|
343
|
+
k.value && e.target !== k.value && (e.preventDefault(), k.value.focus());
|
|
344
|
+
}
|
|
345
|
+
function Re(e) {
|
|
346
|
+
if (!p.value)
|
|
347
|
+
return;
|
|
348
|
+
const t = e.target;
|
|
349
|
+
!t || !H.value || H.value.contains(t) || R();
|
|
350
|
+
}
|
|
351
|
+
function st() {
|
|
352
|
+
var e;
|
|
353
|
+
(e = k.value) == null || e.focus();
|
|
354
|
+
}
|
|
355
|
+
function it() {
|
|
356
|
+
var e;
|
|
357
|
+
(e = k.value) == null || e.blur();
|
|
358
|
+
}
|
|
359
|
+
function ct() {
|
|
360
|
+
var e;
|
|
361
|
+
(e = k.value) == null || e.select();
|
|
362
|
+
}
|
|
363
|
+
return ft(() => {
|
|
364
|
+
ze(), document.addEventListener("mousedown", Re);
|
|
365
|
+
}), ht(() => {
|
|
366
|
+
ne(), d.value && (d.value.onstart = null, d.value.onend = null, d.value.onerror = null, d.value.onresult = null), document.removeEventListener("mousedown", Re);
|
|
367
|
+
}), Le({
|
|
368
|
+
focus: st,
|
|
369
|
+
blur: it,
|
|
370
|
+
select: ct,
|
|
371
|
+
openCompositeTrigger: le,
|
|
372
|
+
closeCompositeTrigger: Je,
|
|
373
|
+
toggleCompositeTrigger: Qe
|
|
374
|
+
}), (e, t) => {
|
|
375
|
+
var o;
|
|
376
|
+
return m(), y("div", {
|
|
377
|
+
ref_key: "rootRef",
|
|
378
|
+
ref: H,
|
|
379
|
+
class: "x-input-composite-host"
|
|
380
|
+
}, [
|
|
381
|
+
L("div", {
|
|
382
|
+
class: K(["x-input-group", [
|
|
383
|
+
S(Ee)(ce.value),
|
|
384
|
+
{
|
|
385
|
+
"is-disabled": _.value,
|
|
386
|
+
"is-error": V.value,
|
|
387
|
+
"is-warning": M.value === "warning" && !V.value,
|
|
388
|
+
"is-success": M.value === "success" && !V.value,
|
|
389
|
+
"has-prepend": me.value,
|
|
390
|
+
"has-append": Y.value
|
|
391
|
+
}
|
|
392
|
+
]])
|
|
393
|
+
}, [
|
|
394
|
+
me.value ? (m(), y("span", bt, [
|
|
395
|
+
T(e.$slots, "prepend", {}, () => [
|
|
396
|
+
Be(N(b.prepend), 1)
|
|
397
|
+
], !0)
|
|
398
|
+
])) : C("", !0),
|
|
399
|
+
L("label", {
|
|
400
|
+
class: K(["x-input", [
|
|
401
|
+
S(Ee)(ce.value),
|
|
402
|
+
{
|
|
403
|
+
"is-disabled": _.value,
|
|
404
|
+
"is-error": V.value,
|
|
405
|
+
"is-warning": M.value === "warning" && !V.value,
|
|
406
|
+
"is-success": M.value === "success" && !V.value,
|
|
407
|
+
"is-readonly": b.readonly,
|
|
408
|
+
"is-focus": q.value,
|
|
409
|
+
"has-clear": he.value,
|
|
410
|
+
"has-append": Y.value
|
|
411
|
+
}
|
|
412
|
+
]]),
|
|
413
|
+
onMousedown: rt
|
|
414
|
+
}, [
|
|
415
|
+
e.$slots.prefix ? (m(), y("span", kt, [
|
|
416
|
+
T(e.$slots, "prefix", {}, void 0, !0)
|
|
417
|
+
])) : C("", !0),
|
|
418
|
+
L("input", gt({
|
|
419
|
+
ref_key: "inputRef",
|
|
420
|
+
ref: k
|
|
421
|
+
}, De.value, {
|
|
422
|
+
id: (o = S(r)) == null ? void 0 : o.id,
|
|
423
|
+
value: i.value,
|
|
424
|
+
type: b.type,
|
|
425
|
+
placeholder: b.placeholder,
|
|
426
|
+
disabled: _.value,
|
|
427
|
+
readonly: b.readonly,
|
|
428
|
+
maxlength: Fe.value,
|
|
429
|
+
"aria-invalid": V.value || void 0,
|
|
430
|
+
class: "x-input__inner",
|
|
431
|
+
onInput: tt,
|
|
432
|
+
onCompositionstart: ae,
|
|
433
|
+
onCompositionupdate: ae,
|
|
434
|
+
onCompositionend: ae,
|
|
435
|
+
onFocus: ot,
|
|
436
|
+
onBlur: lt,
|
|
437
|
+
onKeydown: at
|
|
438
|
+
}), null, 16, Rt),
|
|
439
|
+
he.value ? (m(), y("button", {
|
|
440
|
+
key: 1,
|
|
441
|
+
class: "x-input__clear x-input-icon-hover",
|
|
442
|
+
type: "button",
|
|
443
|
+
"aria-label": S(c)("input.clearAria", void 0, "清空"),
|
|
444
|
+
onMousedown: t[0] || (t[0] = I(() => {
|
|
445
|
+
}, ["prevent"])),
|
|
446
|
+
onClick: nt
|
|
447
|
+
}, [
|
|
448
|
+
T(e.$slots, "clear-icon", {}, () => [
|
|
449
|
+
se(S(ie), { name: "guanbi" })
|
|
450
|
+
], !0)
|
|
451
|
+
], 40, Bt)) : C("", !0),
|
|
452
|
+
$e.value ? (m(), y("span", Et, [
|
|
453
|
+
ge.value ? (m(), y("span", {
|
|
454
|
+
key: 0,
|
|
455
|
+
class: K(["x-input__count", { "is-error": fe.value && W.value }])
|
|
456
|
+
}, N(ve.value) + "/" + N(x.value), 3)) : C("", !0),
|
|
457
|
+
T(e.$slots, "suffix", {}, void 0, !0),
|
|
458
|
+
h.value ? (m(), y("span", Lt, [
|
|
459
|
+
se(S(ie), { name: "voiceprint" })
|
|
460
|
+
])) : C("", !0),
|
|
461
|
+
ye.value ? (m(), y("button", {
|
|
462
|
+
key: 2,
|
|
463
|
+
class: K(["x-input-speech__trigger", { "is-active": h.value || v.value }]),
|
|
464
|
+
type: "button",
|
|
465
|
+
"aria-label": h.value || v.value ? S(c)("input.speechStopAria", void 0, "停止语音识别") : S(c)("input.speechStartAria", void 0, "开始语音识别"),
|
|
466
|
+
disabled: Me.value && !h.value && !v.value,
|
|
467
|
+
onMousedown: t[1] || (t[1] = I(() => {
|
|
468
|
+
}, ["prevent", "stop"])),
|
|
469
|
+
onClick: I(je, ["stop"])
|
|
470
|
+
}, [
|
|
471
|
+
se(S(ie), {
|
|
472
|
+
name: h.value || v.value ? "mic-on-full" : "mic-on"
|
|
473
|
+
}, null, 8, ["name"])
|
|
474
|
+
], 42, _t)) : C("", !0),
|
|
475
|
+
pe.value ? (m(), y("button", {
|
|
476
|
+
key: 3,
|
|
477
|
+
class: "x-input-composite__trigger",
|
|
478
|
+
type: "button",
|
|
479
|
+
"aria-label": S(c)("input.compositeMoreAria", void 0, "更多"),
|
|
480
|
+
onMousedown: t[2] || (t[2] = I(() => {
|
|
481
|
+
}, ["prevent", "stop"])),
|
|
482
|
+
onClick: I(Ze, ["stop"])
|
|
483
|
+
}, [...t[4] || (t[4] = [
|
|
484
|
+
L("svg", {
|
|
485
|
+
viewBox: "0 0 24 24",
|
|
486
|
+
fill: "none",
|
|
487
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
488
|
+
}, [
|
|
489
|
+
L("circle", {
|
|
490
|
+
cx: "5",
|
|
491
|
+
cy: "12",
|
|
492
|
+
r: "2",
|
|
493
|
+
fill: "currentColor"
|
|
494
|
+
}),
|
|
495
|
+
L("circle", {
|
|
496
|
+
cx: "12",
|
|
497
|
+
cy: "12",
|
|
498
|
+
r: "2",
|
|
499
|
+
fill: "currentColor"
|
|
500
|
+
}),
|
|
501
|
+
L("circle", {
|
|
502
|
+
cx: "19",
|
|
503
|
+
cy: "12",
|
|
504
|
+
r: "2",
|
|
505
|
+
fill: "currentColor"
|
|
506
|
+
})
|
|
507
|
+
], -1)
|
|
508
|
+
])], 40, Vt)) : C("", !0)
|
|
509
|
+
])) : C("", !0)
|
|
510
|
+
], 34),
|
|
511
|
+
Y.value ? (m(), y("span", It, [
|
|
512
|
+
T(e.$slots, "append", {}, () => [
|
|
513
|
+
Be(N(b.append), 1)
|
|
514
|
+
], !0)
|
|
515
|
+
])) : C("", !0)
|
|
516
|
+
], 2),
|
|
517
|
+
w.value ? (m(), y("div", Dt, [
|
|
518
|
+
L("ul", At, [
|
|
519
|
+
(m(!0), y(mt, null, yt(b.listData, (l, g) => (m(), y("li", {
|
|
520
|
+
key: `${b.rowKey || "x-input-option"}-${g}`,
|
|
521
|
+
ref_for: !0,
|
|
522
|
+
ref: (D) => G.value[g] = D,
|
|
523
|
+
class: K(["x-input-composite__option", { "is-active": f.value === g }]),
|
|
524
|
+
onMouseenter: (D) => f.value = g,
|
|
525
|
+
onMousedown: t[3] || (t[3] = I(() => {
|
|
526
|
+
}, ["prevent"])),
|
|
527
|
+
onClick: I((D) => be(l), ["stop"])
|
|
528
|
+
}, N(He(l)), 43, $t))), 128))
|
|
529
|
+
])
|
|
530
|
+
])) : C("", !0)
|
|
531
|
+
], 512);
|
|
532
|
+
};
|
|
533
|
+
}
|
|
534
|
+
});
|
|
535
|
+
export {
|
|
536
|
+
Nt as default
|
|
537
|
+
};
|
|
@@ -63,11 +63,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
63
63
|
readonly speechRecognitionLang?: string | undefined;
|
|
64
64
|
readonly speechRecognitionContinuous?: boolean | undefined;
|
|
65
65
|
readonly speechRecognitionInterimResults?: boolean | undefined;
|
|
66
|
-
readonly onChange?: ((value: string, event: Event) => any) | undefined;
|
|
67
|
-
readonly onClear?: ((event: MouseEvent) => any) | undefined;
|
|
68
66
|
readonly onInput?: ((value: string, event: Event) => any) | undefined;
|
|
69
67
|
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
68
|
+
readonly onChange?: ((value: string, event: Event) => any) | undefined;
|
|
70
69
|
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
70
|
+
readonly onClear?: ((event: MouseEvent) => any) | undefined;
|
|
71
71
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
72
72
|
readonly onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
73
73
|
readonly onCaptureItem?: ((item: {
|
|
@@ -94,7 +94,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
94
94
|
$root: import('vue').ComponentPublicInstance | null;
|
|
95
95
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
96
96
|
$host: Element | null;
|
|
97
|
-
$emit: ((event: "
|
|
97
|
+
$emit: ((event: "input", value: string, event: Event) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "change", value: string, event: Event) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "clear", event: MouseEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", event: KeyboardEvent) => void) & ((event: "captureItem", item: {
|
|
98
98
|
[x: string]: unknown;
|
|
99
99
|
}) => void) & ((event: "sentWord", word: string) => void) & ((event: "clickUseAppend") => void) & ((event: "changename", name: string) => void) & ((event: "speechStart") => void) & ((event: "speechEnd", result: string, value: string) => void) & ((event: "speechResult", result: string, value: string) => void) & ((event: "speechError", message: string, code?: string | undefined) => void);
|
|
100
100
|
$el: HTMLDivElement;
|
|
@@ -131,11 +131,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
131
131
|
speechRecognitionContinuous?: boolean;
|
|
132
132
|
speechRecognitionInterimResults?: boolean;
|
|
133
133
|
}> & Readonly<{
|
|
134
|
-
onChange?: ((value: string, event: Event) => any) | undefined;
|
|
135
|
-
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
136
134
|
onInput?: ((value: string, event: Event) => any) | undefined;
|
|
137
135
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
136
|
+
onChange?: ((value: string, event: Event) => any) | undefined;
|
|
138
137
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
138
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
139
139
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
140
140
|
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
141
141
|
onCaptureItem?: ((item: {
|
|
@@ -156,11 +156,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
156
156
|
closeCompositeTrigger: () => void;
|
|
157
157
|
toggleCompositeTrigger: () => void;
|
|
158
158
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
159
|
-
change: (value: string, event: Event) => any;
|
|
160
|
-
clear: (event: MouseEvent) => any;
|
|
161
159
|
input: (value: string, event: Event) => any;
|
|
162
160
|
blur: (event: FocusEvent) => any;
|
|
161
|
+
change: (value: string, event: Event) => any;
|
|
163
162
|
focus: (event: FocusEvent) => any;
|
|
163
|
+
clear: (event: MouseEvent) => any;
|
|
164
164
|
"update:modelValue": (value: string) => any;
|
|
165
165
|
pressEnter: (event: KeyboardEvent) => any;
|
|
166
166
|
captureItem: (item: {
|
|
@@ -177,9 +177,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
177
177
|
error: boolean;
|
|
178
178
|
type: string;
|
|
179
179
|
status: "error" | "success" | "warning";
|
|
180
|
-
allowClear: boolean;
|
|
181
180
|
defaultValue: string | number;
|
|
182
181
|
clearable: boolean;
|
|
182
|
+
allowClear: boolean;
|
|
183
183
|
readonly: boolean;
|
|
184
184
|
showWordLimit: boolean;
|
|
185
185
|
prepend: string;
|
|
@@ -219,9 +219,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
219
219
|
error: boolean;
|
|
220
220
|
type: string;
|
|
221
221
|
status: "error" | "success" | "warning";
|
|
222
|
-
allowClear: boolean;
|
|
223
222
|
defaultValue: string | number;
|
|
224
223
|
clearable: boolean;
|
|
224
|
+
allowClear: boolean;
|
|
225
225
|
readonly: boolean;
|
|
226
226
|
showWordLimit: boolean;
|
|
227
227
|
prepend: string;
|
|
@@ -270,11 +270,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
270
270
|
speechRecognitionContinuous?: boolean;
|
|
271
271
|
speechRecognitionInterimResults?: boolean;
|
|
272
272
|
}> & Readonly<{
|
|
273
|
-
onChange?: ((value: string, event: Event) => any) | undefined;
|
|
274
|
-
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
275
273
|
onInput?: ((value: string, event: Event) => any) | undefined;
|
|
276
274
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
275
|
+
onChange?: ((value: string, event: Event) => any) | undefined;
|
|
277
276
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
277
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
278
278
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
279
279
|
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
280
280
|
onCaptureItem?: ((item: {
|
|
@@ -287,7 +287,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
287
287
|
onSpeechEnd?: ((result: string, value: string) => any) | undefined;
|
|
288
288
|
onSpeechResult?: ((result: string, value: string) => any) | undefined;
|
|
289
289
|
onSpeechError?: ((message: string, code?: string | undefined) => any) | undefined;
|
|
290
|
-
}>, "select" | "blur" | "focus" | "openCompositeTrigger" | "closeCompositeTrigger" | "toggleCompositeTrigger" | ("error" | "type" | "status" | "
|
|
290
|
+
}>, "select" | "blur" | "focus" | "openCompositeTrigger" | "closeCompositeTrigger" | "toggleCompositeTrigger" | ("error" | "type" | "status" | "defaultValue" | "clearable" | "allowClear" | "readonly" | "showWordLimit" | "prepend" | "append" | "listData" | "keyworld" | "rowKey" | "btnValue" | "isClera" | "speechRecognition" | "speechRecognitionLang" | "speechRecognitionContinuous" | "speechRecognitionInterimResults")> & import('vue').ShallowUnwrapRef<{
|
|
291
291
|
focus: () => void;
|
|
292
292
|
blur: () => void;
|
|
293
293
|
select: () => void;
|