From 3bf637bc1f5fcf4eb4aa7d3d0905e1d20e029cde Mon Sep 17 00:00:00 2001 From: ShortMessage Date: Fri, 10 Jan 2025 14:49:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=9F=AD=E4=BF=A1?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E7=BC=96=E8=BE=91=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ShortMessage --- arkui/ace_engine/native/native_type.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arkui/ace_engine/native/native_type.h b/arkui/ace_engine/native/native_type.h index e1cffe2c7..758c137c5 100644 --- a/arkui/ace_engine/native/native_type.h +++ b/arkui/ace_engine/native/native_type.h @@ -395,6 +395,8 @@ typedef enum { ARKUI_TEXTINPUT_TYPE_NEW_PASSWORD = 11, /** Number input mode with a decimal point. */ ARKUI_TEXTINPUT_TYPE_NUMBER_DECIMAL = 12, + + ARKUI_TEXTINPUT_TYPE_ONE_TIME_CODE = 13, } ArkUI_TextInputType; /** -- Gitee From 6905e4ce9fc2d447316ea0ba5bef8c426ac90138 Mon Sep 17 00:00:00 2001 From: ShortMessage Date: Fri, 10 Jan 2025 15:09:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=9F=AD=E4=BF=A1?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E7=BC=96=E8=BE=91=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ShortMessage --- arkui/ace_engine/native/native_type.h | 2 +- inputmethod/include/inputmethod_types_capi.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arkui/ace_engine/native/native_type.h b/arkui/ace_engine/native/native_type.h index 758c137c5..30f233942 100644 --- a/arkui/ace_engine/native/native_type.h +++ b/arkui/ace_engine/native/native_type.h @@ -395,7 +395,7 @@ typedef enum { ARKUI_TEXTINPUT_TYPE_NEW_PASSWORD = 11, /** Number input mode with a decimal point. */ ARKUI_TEXTINPUT_TYPE_NUMBER_DECIMAL = 12, - + /** OneTimeCode input mode. */ ARKUI_TEXTINPUT_TYPE_ONE_TIME_CODE = 13, } ArkUI_TextInputType; diff --git a/inputmethod/include/inputmethod_types_capi.h b/inputmethod/include/inputmethod_types_capi.h index 0fc88c455..05dc2d9a1 100644 --- a/inputmethod/include/inputmethod_types_capi.h +++ b/inputmethod/include/inputmethod_types_capi.h @@ -215,6 +215,10 @@ typedef enum InputMethod_TextInputType { * The text input type is NUMBER DECIMAL. */ IME_TEXT_INPUT_TYPE_NUMBER_DECIMAL = 12, + /** + * The text input type is ONE_TIME_CODE. + */ + IME_TEXT_INPUT_TYPE_ONE_TIME_CODE = 13, } InputMethod_TextInputType; /** -- Gitee