@lvce-editor/find-widget-worker 3.13.1 → 3.13.2
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.
|
@@ -2635,7 +2635,7 @@ const getSearchFieldButtonVirtualDom = button => {
|
|
|
2635
2635
|
}];
|
|
2636
2636
|
};
|
|
2637
2637
|
|
|
2638
|
-
const getSearchFieldVirtualDom = (name, placeholder, onInput, insideButtons, outsideButtons,
|
|
2638
|
+
const getSearchFieldVirtualDom = (name, placeholder, onInput, insideButtons, outsideButtons, onClick, extraClassName, autofocus = false, ariaDescribedBy = '', ariaInvalid = '') => {
|
|
2639
2639
|
if (outsideButtons.length > 0) {
|
|
2640
2640
|
throw new Error('outsideButtons are deprecated');
|
|
2641
2641
|
}
|
|
@@ -2650,7 +2650,7 @@ const getSearchFieldVirtualDom = (name, placeholder, onInput, insideButtons, out
|
|
|
2650
2650
|
childCount: 0,
|
|
2651
2651
|
className: MultilineInputBox,
|
|
2652
2652
|
name,
|
|
2653
|
-
|
|
2653
|
+
onClick,
|
|
2654
2654
|
onInput,
|
|
2655
2655
|
placeholder,
|
|
2656
2656
|
spellcheck: false,
|
|
@@ -2844,6 +2844,9 @@ const getEventListeners = (uid, widgetId) => {
|
|
|
2844
2844
|
}, {
|
|
2845
2845
|
name: HandleReplaceFocus,
|
|
2846
2846
|
params: ['executeWidgetCommand', 'FindWidget', 'FindWidget.handleReplaceFocus', 0, widgetId]
|
|
2847
|
+
}, {
|
|
2848
|
+
name: HandleFocus,
|
|
2849
|
+
params: ['executeWidgetCommand', 'FindWidget', 'FindWidget.handleFocus', 0, widgetId, TargetName]
|
|
2847
2850
|
}, {
|
|
2848
2851
|
name: HandleFocusPrevious,
|
|
2849
2852
|
params: ['executeWidgetCommand', 'FindWidget', 'FindWidget.handleFocusPrevious', 0, widgetId]
|