From b6b7f809811b437a1eee3bf64ec598c83337e579 Mon Sep 17 00:00:00 2001 From: royce-ls Date: Fri, 4 Jul 2025 16:30:20 +0800 Subject: [PATCH] =?UTF-8?q?picker/=E5=9B=BE=E7=89=87/=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E7=B1=BB=E6=96=87=E6=A1=A3=E8=A7=84=E8=8C=83?= =?UTF-8?q?=E6=80=A7=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: royce-ls Change-Id: I2dfa0ec313b65350afc87e7ebea533cc21695eac --- arkui/ace_engine/native/native_node.h | 61 ++++++++++++++------------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 92151c968..22f43040a 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -4052,6 +4052,7 @@ typedef enum { * Format of the return value {@link ArkUI_AttributeItem}:\n * .string: date. \n * + * @since 18 */ NODE_DATE_PICKER_START, /** @@ -4064,6 +4065,7 @@ typedef enum { * Format of the return value {@link ArkUI_AttributeItem}:\n * .string: date. \n * + * @since 18 */ NODE_DATE_PICKER_END, /** @@ -4202,7 +4204,6 @@ typedef enum { * .string: time. * */ - NODE_TIME_PICKER_SELECTED = MAX_NODE_SCOPE_NUM * ARKUI_NODE_TIME_PICKER, /** * @brief Defines whether the display time is in 24-hour format. @@ -4618,6 +4619,35 @@ typedef enum { * @since 18 */ NODE_CALENDAR_PICKER_END = 16005, + /** + * @brief Defines the disabled date range of the calendar picker. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .string: A string of dates. The `1st start date`,`1st end date`,`2nd start date`,`2nd end date`, + * ...,`nth start date`,`nth end date` of the disabled date range.\n + * Example: 1910-01-01,1910-12-31,2020-01-01,2020-12-31\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .string: A string of dates.\n + * + * @since 19 + */ + NODE_CALENDAR_PICKER_DISABLED_DATE_RANGE = 16006, + + /** + * @brief Defines whether the calendar picker marks today. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * value[0].i32: whether the calendar picker marks today. The default value is false.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * value[0].i32: whether the calendar picker marks today.\n + * + * @since 19 + */ + NODE_CALENDAR_PICKER_MARK_TODAY = 16007, /** * @brief Defines the color of the slider. This attribute can be set, reset, and obtained as required through APIs. * @@ -6704,35 +6734,6 @@ typedef enum { * @since 18 */ NODE_TEXT_PICKER_COLUMN_WIDTHS = 15009, - /** - * @brief Defines the disabled date range of the calendar picker. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .string: A string of dates. The `1st start date`,`1st end date`,`2nd start date`,`2nd end date`, - * ...,`nth start date`,`nth end date` of the disabled date range.\n - * Example: 1910-01-01,1910-12-31,2020-01-01,2020-12-31\n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .string: A string of dates.\n - * - * @since 19 - */ - NODE_CALENDAR_PICKER_DISABLED_DATE_RANGE = 16006, - - /** - * @brief Defines whether the calendar picker marks today. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * value[0].i32: whether the calendar picker marks today. The default value is false.\n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * value[0].i32: whether the calendar picker marks today.\n - * - * @since 19 - */ - NODE_CALENDAR_PICKER_MARK_TODAY = 16007, /** * @brief Defines the want used to start EmbeddedAbility. -- Gitee