From b8b8634f97dad3c682287fcd0d58af9a7603ea11 Mon Sep 17 00:00:00 2001 From: EsmeeIDEMS Date: Tue, 23 Jan 2024 16:25:57 +0000 Subject: [PATCH] content: 1.2.7 --- app_data/sheets/contents.json | 12 +-- .../data_list/debug/debug_data_list.json | 6 +- .../data_list/generated/debug_filtered.json | 2 +- .../debug/debug_data_pipe_translate.json | 2 +- .../comp_task_prog_bar_dynamic.json | 84 +++++++++---------- .../template/debug/debug_data_bottom.json | 2 +- .../template/debug/debug_data_image.json | 2 +- .../template/debug/debug_data_middle.json | 2 +- .../sheets/template/debug/debug_data_top.json | 2 +- config.ts | 2 +- 10 files changed, 58 insertions(+), 58 deletions(-) diff --git a/app_data/sheets/contents.json b/app_data/sheets/contents.json index a35f576..0730d67 100644 --- a/app_data/sheets/contents.json +++ b/app_data/sheets/contents.json @@ -109,7 +109,7 @@ "flow_name": "debug_data_list", "data_list_name": "debug", "flow_subtype": "debug", - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" }, "debug_delimiters_list": { "flow_type": "data_list", @@ -367,7 +367,7 @@ "flow_type": "data_pipe", "flow_name": "debug_data_pipe_translate", "flow_subtype": "debug", - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" }, "example_data_pipe": { "flow_type": "data_pipe", @@ -966,25 +966,25 @@ "flow_type": "template", "flow_name": "debug_data_bottom", "flow_subtype": "debug", - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" }, "debug_data_image": { "flow_type": "template", "flow_name": "debug_data_image", "flow_subtype": "debug", - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" }, "debug_data_middle": { "flow_type": "template", "flow_name": "debug_data_middle", "flow_subtype": "debug", - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" }, "debug_data_top": { "flow_type": "template", "flow_name": "debug_data_top", "flow_subtype": "debug", - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" }, "debug_delimiters": { "flow_type": "template", diff --git a/app_data/sheets/data_list/debug/debug_data_list.json b/app_data/sheets/data_list/debug/debug_data_list.json index 0959983..beabe3e 100644 --- a/app_data/sheets/data_list/debug/debug_data_list.json +++ b/app_data/sheets/data_list/debug/debug_data_list.json @@ -8,7 +8,7 @@ { "id": "item_1", "text": "Item 1 text", - "image_asset": "plh_images/habits/habit_relax.svg", + "image_asset": "images/example/jasper_1.jpg", "to_translate": "Hello", "_translations": { "to_translate": {} @@ -22,7 +22,7 @@ { "id": "item_2", "text": "Item 2 text", - "image_asset": "plh_images/icons/play_white.svg", + "image_asset": "images/example/circular.png", "to_translate": "Hello", "_translations": { "to_translate": {} @@ -47,5 +47,5 @@ } } ], - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" } \ No newline at end of file diff --git a/app_data/sheets/data_list/generated/debug_filtered.json b/app_data/sheets/data_list/generated/debug_filtered.json index 5012aa8..8198716 100644 --- a/app_data/sheets/data_list/generated/debug_filtered.json +++ b/app_data/sheets/data_list/generated/debug_filtered.json @@ -6,7 +6,7 @@ { "id": "item_1", "text": "Item 1 text", - "image_asset": "plh_images/habits/habit_relax.svg", + "image_asset": "images/example/jasper_1.jpg", "to_translate": "Hello", "_translations": { "to_translate": {} diff --git a/app_data/sheets/data_pipe/debug/debug_data_pipe_translate.json b/app_data/sheets/data_pipe/debug/debug_data_pipe_translate.json index 77ec5b7..bd83de5 100644 --- a/app_data/sheets/data_pipe/debug/debug_data_pipe_translate.json +++ b/app_data/sheets/data_pipe/debug/debug_data_pipe_translate.json @@ -13,5 +13,5 @@ "output_target": "debug_filtered" } ], - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" } \ No newline at end of file diff --git a/app_data/sheets/template/component_demo/comp_task_prog_bar_dynamic.json b/app_data/sheets/template/component_demo/comp_task_prog_bar_dynamic.json index 9307f88..b15b42a 100644 --- a/app_data/sheets/template/component_demo/comp_task_prog_bar_dynamic.json +++ b/app_data/sheets/template/component_demo/comp_task_prog_bar_dynamic.json @@ -88,12 +88,12 @@ { "trigger": "changed", "action_id": "set_item", - "args": [ - "completed", - "!@item.completed" - ], - "_raw": "changed | set_item: completed:!@item.completed", - "_cleaned": "changed | set_item: completed:!@item.completed" + "args": [], + "_raw": "changed | set_item | completed:!@item.completed", + "_cleaned": "changed | set_item | completed:!@item.completed", + "params": { + "completed": "!@item.completed" + } } ], "hidden": true, @@ -121,19 +121,9 @@ ], "action_list": { "0": { - "args": { - "1": [ - { - "fullExpression": "!@item.completed", - "matchedExpression": "!@item.completed", - "type": "item", - "fieldName": "completed" - } - ] - }, "_raw": [ { - "fullExpression": "changed | set_item: completed:!@item.completed", + "fullExpression": "changed | set_item | completed:!@item.completed", "matchedExpression": "!@item.completed", "type": "item", "fieldName": "completed" @@ -141,12 +131,22 @@ ], "_cleaned": [ { - "fullExpression": "changed | set_item: completed:!@item.completed", + "fullExpression": "changed | set_item | completed:!@item.completed", "matchedExpression": "!@item.completed", "type": "item", "fieldName": "completed" } - ] + ], + "params": { + "completed": [ + { + "fullExpression": "!@item.completed", + "matchedExpression": "!@item.completed", + "type": "item", + "fieldName": "completed" + } + ] + } } }, "_nested_name": [ @@ -167,9 +167,9 @@ "value" ], "!@item.completed": [ - "action_list.0.args.1", "action_list.0._raw", - "action_list.0._cleaned" + "action_list.0._cleaned", + "action_list.0.params.completed" ] } }, @@ -228,12 +228,12 @@ { "trigger": "click", "action_id": "set_item", - "args": [ - "completed", - "!@item.completed" - ], - "_raw": "click | set_item: completed:!@item.completed", - "_cleaned": "click | set_item: completed:!@item.completed" + "args": [], + "_raw": "click | set_item | completed:!@item.completed", + "_cleaned": "click | set_item | completed:!@item.completed", + "params": { + "completed": "!@item.completed" + } } ], "_nested_name": "data_items.toggle_button_@item.id", @@ -248,19 +248,9 @@ ], "action_list": { "0": { - "args": { - "1": [ - { - "fullExpression": "!@item.completed", - "matchedExpression": "!@item.completed", - "type": "item", - "fieldName": "completed" - } - ] - }, "_raw": [ { - "fullExpression": "click | set_item: completed:!@item.completed", + "fullExpression": "click | set_item | completed:!@item.completed", "matchedExpression": "!@item.completed", "type": "item", "fieldName": "completed" @@ -268,12 +258,22 @@ ], "_cleaned": [ { - "fullExpression": "click | set_item: completed:!@item.completed", + "fullExpression": "click | set_item | completed:!@item.completed", "matchedExpression": "!@item.completed", "type": "item", "fieldName": "completed" } - ] + ], + "params": { + "completed": [ + { + "fullExpression": "!@item.completed", + "matchedExpression": "!@item.completed", + "type": "item", + "fieldName": "completed" + } + ] + } } }, "_nested_name": [ @@ -291,9 +291,9 @@ "_nested_name" ], "!@item.completed": [ - "action_list.0.args.1", "action_list.0._raw", - "action_list.0._cleaned" + "action_list.0._cleaned", + "action_list.0.params.completed" ] } } diff --git a/app_data/sheets/template/debug/debug_data_bottom.json b/app_data/sheets/template/debug/debug_data_bottom.json index fda26bc..ede5463 100644 --- a/app_data/sheets/template/debug/debug_data_bottom.json +++ b/app_data/sheets/template/debug/debug_data_bottom.json @@ -75,5 +75,5 @@ } } ], - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" } \ No newline at end of file diff --git a/app_data/sheets/template/debug/debug_data_image.json b/app_data/sheets/template/debug/debug_data_image.json index 22f4501..b96d435 100644 --- a/app_data/sheets/template/debug/debug_data_image.json +++ b/app_data/sheets/template/debug/debug_data_image.json @@ -229,5 +229,5 @@ } } ], - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" } \ No newline at end of file diff --git a/app_data/sheets/template/debug/debug_data_middle.json b/app_data/sheets/template/debug/debug_data_middle.json index 7089dc1..89bd03f 100644 --- a/app_data/sheets/template/debug/debug_data_middle.json +++ b/app_data/sheets/template/debug/debug_data_middle.json @@ -74,5 +74,5 @@ "_nested_name": "debug_data_bottom" } ], - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" } \ No newline at end of file diff --git a/app_data/sheets/template/debug/debug_data_top.json b/app_data/sheets/template/debug/debug_data_top.json index a1ee105..3aed38c 100644 --- a/app_data/sheets/template/debug/debug_data_top.json +++ b/app_data/sheets/template/debug/debug_data_top.json @@ -97,5 +97,5 @@ "_nested_name": "debug_data_middle" } ], - "_xlsxPath": "debug_sheets/to_be_sorted/debug_data_lists.xlsx" + "_xlsxPath": "debug_sheets/debug_data_lists.xlsx" } \ No newline at end of file diff --git a/config.ts b/config.ts index 0db8dd1..90525a8 100644 --- a/config.ts +++ b/config.ts @@ -13,7 +13,7 @@ config.google_drive = { config.git = { content_repo: "https://github.com/IDEMSInternational/app-debug-content.git", - content_tag_latest: "1.2.6", + content_tag_latest: "1.2.7", }; config.app_data.output_path = "./app_data";