diff --git a/app_data/sheets/template/component_demo/comp_carousel.json b/app_data/sheets/template/component_demo/comp_carousel.json index 448d3ce..e8103c9 100644 --- a/app_data/sheets/template/component_demo/comp_carousel.json +++ b/app_data/sheets/template/component_demo/comp_carousel.json @@ -1710,6 +1710,49 @@ } ], "_nested_name": "data_items_carousel" + }, + { + "type": "button", + "name": "button_override", + "value": "Override text", + "_translations": { + "value": {} + }, + "action_list": [ + { + "trigger": "click", + "action_id": "set_data", + "args": [], + "_raw": "click | set_data | \n\n_list_id: comp_carousel_items,\ntext: Text override", + "_cleaned": "click | set_data | \n\n_list_id: comp_carousel_items,\ntext: Text override", + "params": { + "_list_id": "comp_carousel_items", + "text": "Text override" + } + } + ], + "_nested_name": "button_override" + }, + { + "type": "button", + "name": "button_reset", + "value": "Reset to original state", + "_translations": { + "value": {} + }, + "action_list": [ + { + "trigger": "click", + "action_id": "reset_data", + "args": [], + "_raw": "click | reset_data | \n\n_list_id: comp_carousel_items", + "_cleaned": "click | reset_data | \n\n_list_id: comp_carousel_items", + "params": { + "_list_id": "comp_carousel_items" + } + } + ], + "_nested_name": "button_reset" } ], "_xlsxPath": "component_sheets/component_carousel.xlsx" diff --git a/app_data/sheets/template/component_demo/comp_task_card.json b/app_data/sheets/template/component_demo/comp_task_card.json index 946cc85..2d90d70 100644 --- a/app_data/sheets/template/component_demo/comp_task_card.json +++ b/app_data/sheets/template/component_demo/comp_task_card.json @@ -1872,10 +1872,11 @@ "trigger": "click", "action_id": "set_field", "args": [ - "@local.task_completed_field = true" + "@local.task_completed_field", + true ], - "_raw": "click | set_field: @local.task_completed_field = true", - "_cleaned": "click | set_field: @local.task_completed_field = true" + "_raw": "click | set_field: @local.task_completed_field: true", + "_cleaned": "click | set_field: @local.task_completed_field: true" }, { "trigger": "click", @@ -1902,7 +1903,7 @@ "args": { "0": [ { - "fullExpression": "@local.task_completed_field = true", + "fullExpression": "@local.task_completed_field", "matchedExpression": "@local.task_completed_field", "type": "local", "fieldName": "task_completed_field" @@ -1911,7 +1912,7 @@ }, "_raw": [ { - "fullExpression": "click | set_field: @local.task_completed_field = true", + "fullExpression": "click | set_field: @local.task_completed_field: true", "matchedExpression": "@local.task_completed_field", "type": "local", "fieldName": "task_completed_field" @@ -1919,7 +1920,7 @@ ], "_cleaned": [ { - "fullExpression": "click | set_field: @local.task_completed_field = true", + "fullExpression": "click | set_field: @local.task_completed_field: true", "matchedExpression": "@local.task_completed_field", "type": "local", "fieldName": "task_completed_field" diff --git a/config.ts b/config.ts index d1a24da..0e9ca42 100644 --- a/config.ts +++ b/config.ts @@ -14,7 +14,7 @@ config.web.favicon_asset = "images/icons/favicon.svg"; config.git = { content_repo: "https://github.com/IDEMSInternational/app-debug-content.git", - content_tag_latest: "1.3.10", + content_tag_latest: "1.3.11", }; config.app_config.ASSET_PACKS = { diff --git a/reports/summary.json b/reports/summary.json index 31d8948..1cd2ed8 100644 --- a/reports/summary.json +++ b/reports/summary.json @@ -31,7 +31,7 @@ }, { "type": "button", - "count": 335 + "count": 337 }, { "type": "calendar", @@ -399,7 +399,7 @@ }, { "type": "reset_data", - "count": 4 + "count": 5 }, { "type": "save_to_device", @@ -411,7 +411,7 @@ }, { "type": "set_data", - "count": 11 + "count": 12 }, { "type": "set_field", diff --git a/reports/summary.md b/reports/summary.md index 69ad687..b2eb1cd 100644 --- a/reports/summary.md +++ b/reports/summary.md @@ -10,7 +10,7 @@ | animated_section | 9 | | animated_slides | 1 | | audio | 13 | -| button | 335 | +| button | 337 | | calendar | 1 | | carousel | 9 | | colour_palette | 1 | @@ -108,10 +108,10 @@ | process_template | 2 | | remove_item | 1 | | reset_app | 1 | -| reset_data | 4 | +| reset_data | 5 | | save_to_device | 2 | | screen_orientation | 3 | -| set_data | 11 | +| set_data | 12 | | set_field | 112 | | set_item | 24 | | set_items | 2 |