biz9-logic 4.8.223 → 4.8.225

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 +10 -3
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='7.0.3'
1
+ VERSION='7.0.5'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -190,7 +190,15 @@ class Page_Logic {
190
190
  item_list.push(Page_Logic.get_test( "Page " +parseInt(a+1)? !option.get_blank : "",option));
191
191
  }
192
192
  return item_list;
193
- }
193
+ };
194
+ static get_page_section_type_list = () => {
195
+ return [
196
+ {value:'text',label:'Text'},
197
+ {value:'note',label:'Note'},
198
+ {value:'photo',label:'Photo'},
199
+ {value:'list',label:'List'},
200
+ ];
201
+ };
194
202
  static get_section_property = (type,section_id,value_id,is_title) =>{
195
203
  //page['section_1_value_1_type'] -- / text,note,photo,list
196
204
  //page['section_1_value_1_text_value']
@@ -225,7 +233,7 @@ class Page_Logic {
225
233
  //page['section_1_value_1_list_value_2']
226
234
  //page['section_1_value_1_list_field_3']
227
235
  //page['section_1_value_1_list_value_3']
228
- // section_1_value_2_list_field_value_3
236
+ //section_1_value_2_list_field_value_3
229
237
  let type_str = '';
230
238
  switch(type){
231
239
  case 'field':
@@ -235,7 +243,6 @@ class Page_Logic {
235
243
  type_str = 'value';
236
244
  break;
237
245
  };
238
-
239
246
  return 'section_'+section_id + '_value_'+value_id + "_list_" + type_str +"_" +row_id;
240
247
  }
241
248
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.223",
3
+ "version": "4.8.225",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"