biz9-logic 4.8.234 → 4.8.237

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 +4 -16
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='7.1.4'
1
+ VERSION='7.1.7'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -191,8 +191,8 @@ class Page_Logic {
191
191
  }
192
192
  return item_list;
193
193
  };
194
- static get_page_section = (type,page_id,section_id,value_id,value,item_list) => {
195
- return {type:type,page_id:page_id,section_id:section_id,value_id:value_id,value:value,item_list:item_list};
194
+ static get_page_section = (type,page_id,section_id,value_id,value,value_list) => {
195
+ return {type:type,page_id:page_id,section_id:section_id,value_id:value_id,value:value,value_list:value_list};
196
196
  };
197
197
  static get_section_type_list = () => {
198
198
  return [
@@ -228,25 +228,13 @@ class Page_Logic {
228
228
  return 'section_'+section_id + '_value_'+value_id + "_" + type_str + "_value";
229
229
  }
230
230
 
231
- static get_section_property_type_list = (type,section_id,value_id,row_id) =>{
231
+ static get_section_property_type_list_value = (section_id,value_id,row_id) =>{
232
232
  //page['section_1_value_1_type'] -- / list
233
- //page['section_1_value_1_list_field_1']
234
233
  //page['section_1_value_1_list_value_1']
235
- //page['section_1_value_1_list_field_2']
236
234
  //page['section_1_value_1_list_value_2']
237
- //page['section_1_value_1_list_field_3']
238
235
  //page['section_1_value_1_list_value_3']
239
236
  //section_1_value_2_list_field_value_3
240
- let type_str = '';
241
- switch(type){
242
- case 'field':
243
- type_str = 'field';
244
- break;
245
- case 'value':
246
- type_str = 'value';
247
- break;
248
- };
249
- return 'section_'+section_id + '_value_'+value_id + "_list_" + type_str +"_" +row_id;
237
+ return 'section_'+section_id + '_value_'+value_id + "_list_value_" +row_id;
250
238
  }
251
239
  }
252
240
  class Order_Logic {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.234",
3
+ "version": "4.8.237",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"