biz9-logic 4.8.62 → 4.8.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/biz9_config +1 -1
  2. package/index.js +7 -2
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='5.4.2'
1
+ VERSION='5.4.5'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -112,10 +112,14 @@ class Template_Logic {
112
112
  //template.items = Sub_Item_Logic.get_test_list(template,template,option);
113
113
  template.items = [];
114
114
  for(let a = 0; a<title_list.length;a++){
115
- template.items.push(Sub_Item_Logic.get_test(title_list[a],template,template,option));
115
+ let item = Sub_Item_Logic.get_test(title_list[a],template,template,option);
116
+ item.items = Sub_Item_Logic.get_test_section_list(item,template,option);
117
+ item = Sub_Item_Logic.bind_parent_child_list(item,item.items);
118
+ template.items.push(item);
119
+ //template.items.push(Sub_Item_Logic.get_test(title_list[a],template,template,option));
116
120
  }
117
121
  if(option.get_item_bind){
118
- template = Sub_Item_Logic.bind_parent_child_list(template,template.items);
122
+ template = Sub_Item_Logic.bind_parent_child_list(template,template.items);
119
123
  }
120
124
  }
121
125
  return template;
@@ -513,6 +517,7 @@ class Field_Logic {
513
517
  option.get_value = option.get_value ? true : false;
514
518
  option.get_item = option.get_item ? true : false;
515
519
  option.get_blank = option.get_blank ? true : false;
520
+ option.get_item_bind = option.get_item_bind ? true : true;
516
521
  option.value_count = option.value_count ? option.value_count : 9;
517
522
  option.section_count = option.section_count ? option.section_count : 9;
518
523
  option.item_count = option.item_count ? option.item_count : 9;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.62",
3
+ "version": "4.8.65",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"