diff --git a/config/yaml/docs.md b/config/yaml/docs.md index 3bd8f24e..db5bdfda 100644 --- a/config/yaml/docs.md +++ b/config/yaml/docs.md @@ -86,6 +86,8 @@ | نام ویژگی | توضیح | تولید | |-----------|------------|-------| +| `کلاس` | ویژگی کلاس جهت تنظیم نام کلاس برای یک دستور می‌باشد. | `class` | +| `شناسه` | ویژگی شناسه جهت تنظیم شناسه برای یک دستور می‌باشد. | `id` | | `هشدار` | | `alert` | | `تکرار` | | `repeat` | | `محتوا` | جهت تنظیم یک محتوا به یک دستور می‌باشد. | `content` | diff --git a/config/yaml/layout/type.yaml b/config/yaml/layout/type.yaml index 3aa4ef82..63f4cc78 100644 --- a/config/yaml/layout/type.yaml +++ b/config/yaml/layout/type.yaml @@ -95,6 +95,8 @@ items: fa: - دکمه attributes: + - AST_LAYOUT_ATTRIBUTE_TYPE_CLASS + - AST_LAYOUT_ATTRIBUTE_TYPE_ID - AST_LAYOUT_ATTRIBUTE_TYPE_ALERT - AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT - AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT diff --git a/src/generated-config/ast_layout_type_attributes_all.h b/src/generated-config/ast_layout_type_attributes_all.h index 8bc2126a..13cd636e 100644 --- a/src/generated-config/ast_layout_type_attributes_all.h +++ b/src/generated-config/ast_layout_type_attributes_all.h @@ -143,7 +143,6 @@ layout_map_entry_t layout_map[] = { - }; diff --git a/src/generated-config/ast_layout_type_attributes_values.h b/src/generated-config/ast_layout_type_attributes_values.h index e4c0db58..b23139b5 100644 --- a/src/generated-config/ast_layout_type_attributes_values.h +++ b/src/generated-config/ast_layout_type_attributes_values.h @@ -42,6 +42,8 @@ ast_layout_attribute_type_t valid_attributes_paragraph[] = { const size_t valid_attributes_paragraph_length = sizeof(valid_attributes_paragraph) / sizeof(valid_attributes_paragraph[0]); ast_layout_attribute_type_t valid_attributes_button[] = { + AST_LAYOUT_ATTRIBUTE_TYPE_CLASS, + AST_LAYOUT_ATTRIBUTE_TYPE_ID, AST_LAYOUT_ATTRIBUTE_TYPE_ALERT, AST_LAYOUT_ATTRIBUTE_TYPE_REPEAT, AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT,