biz9-logic 4.8.23 → 4.8.26

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.
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='5.0.3'
1
+ VERSION='5.0.6'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -1361,11 +1361,12 @@ class Sub_Item_Logic {
1361
1361
  for(let a=0;a<option.section_count;a++){
1362
1362
  let item_title ="Section " + String(parseInt(a+1));
1363
1363
  let item = Sub_Item_Logic.get_test(item_title,parent_item,top_item,option);
1364
+ item.items = [];
1364
1365
  let new_sub_list = [];
1365
1366
  for(let b=0;b<option.section_count;b++){
1366
1367
  let sub_item_title ="Section " + String(parseInt(b+1));
1367
1368
  let sub_item = Sub_Item_Logic.get_test(sub_item_title,item,top_item,option);
1368
- new_sub_list.push(sub_item);
1369
+ item.items.push(sub_item);
1369
1370
  }
1370
1371
  item = Sub_Item_Logic.bind_parent_child_list(item,new_sub_list);
1371
1372
  new_list.push(item);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.23",
3
+ "version": "4.8.26",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/test.js CHANGED
@@ -147,10 +147,11 @@ describe("connect", () => {
147
147
  /* --PAGE--START */
148
148
  //let page = Page_Logic.get_test()
149
149
  //let page = Page_Logic.get_test("Page "+Number.get_id())
150
- let page = Page_Logic.get_test("Page "+Number.get_id(),{get_value:true,value_count:5,get_section:true,section_count:2})
150
+ let page = Page_Logic.get_test("Page "+Number.get_id(),{get_value:true,value_count:5,get_section:true,section_count:20})
151
151
  Log.w("page",page);
152
152
  Log.w("page_section_1",page.section_1);
153
- Log.w("page_section_1_section_1",page.section_1.section_1);
153
+ Log.w("page_section_6",page.section_6.items);
154
+ //Log.w("page_section_1_section_1",page.section_1.section_1);
154
155
  //let page_list = Page_Logic.get_test_list({page_count:10});
155
156
  //Log.w("Page_list",page_list);
156
157
  /*