biz9-logic 4.0.11 → 4.0.12

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 +1 -25
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='4.1.1'
1
+ VERSION='4.1.2'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -43,29 +43,6 @@ class Template{
43
43
  }
44
44
  return template_sub_item_list;
45
45
  }
46
- function get_item_section_list(parent_item,top_item){
47
- let new_list = [];
48
- for(let a=1;a<3;a++){
49
- let item_title = "Section " + String(a);
50
- let item = DataItem.get_new(
51
- DataType.ITEM,Number.get_id(), {
52
- top_id:top_item.id,
53
- top_data_type:top_item.data_type,
54
- parent_id:parent_item.id,
55
- parent_data_type:parent_item.data_type,
56
- title:item_title,
57
- title_url:Str.get_title_url(item_title),
58
- sub_note:"Sub Note "+String(Number.get_id()),
59
- note:"Note "+String(Number.get_id()),
60
- }
61
- );
62
- for(let b=1;b<3;b++){
63
- item['value_'+String(b)] = 'Section '+ String(a) + ' value ' + String(b);
64
- }
65
- new_list.push(item);
66
- }
67
- return new_list;
68
- }
69
46
  return template;
70
47
  };
71
48
  }
@@ -132,10 +109,9 @@ class Event{
132
109
  class Section{
133
110
  static get_test_list = (parent_item,top_item) =>{
134
111
  let items = get_item_section_list(parent_item,top_item);
135
-
136
112
  function get_item_section_list(parent_item,top_item){
137
113
  let new_list = [];
138
- for(let a=1;a<10;a++){
114
+ for(let a=1;a<20;a++){
139
115
  let item_title = "Section " + String(a);
140
116
  let item = DataItem.get_new(
141
117
  DataType.ITEM,Number.get_id(), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.0.11",
3
+ "version": "4.0.12",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"