biz9-logic 4.8.231 → 4.8.233
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 +1 -1
- package/index.js +3 -0
- package/package.json +1 -1
- package/test.js +1 -0
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -191,6 +191,9 @@ 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};
|
|
196
|
+
};
|
|
194
197
|
static get_section_type_list = () => {
|
|
195
198
|
return [
|
|
196
199
|
{value:'text',label:'Text'},
|
package/package.json
CHANGED
package/test.js
CHANGED
|
@@ -32,6 +32,7 @@ describe("connect", () => {
|
|
|
32
32
|
|
|
33
33
|
function(call) {
|
|
34
34
|
//console.log('PAGE-SECTION-START');
|
|
35
|
+
console.log(Page_Logic.get_page_section('text',1,2,3,'cool',null));
|
|
35
36
|
//console.log(Page_Logic.get_page_section_type_list());
|
|
36
37
|
//console.log(Page_Logic.get_section_property_type(1,2,true));
|
|
37
38
|
//console.log(Page_Logic.get_section_property_type_value('text',1,2,true));
|