biz9-logic 4.0.16 → 4.0.18

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='4.1.6'
1
+ VERSION='4.1.8'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -42,10 +42,12 @@ class Page{
42
42
  DataItem.get_new(DataType.PAGE,0),
43
43
  DataItem.get_new(DataType.PAGE,0),
44
44
  Field.get_test(title));
45
+
45
46
  for(let a=0;a<10;a++){
46
- page=Sub_Item.get_test_bind_new_child(Number.get_id(),"Page " + String(a),page,page,page);
47
+ page=Sub_Item.get_test_bind_new_child(Number.get_id(),"Section "+a,page,page,page);
47
48
  }
48
49
  page = Sub_Item.get_test_bind_item_sub_item(page);
50
+
49
51
  return page;
50
52
  };
51
53
  }
@@ -739,7 +741,6 @@ module.exports = {
739
741
  TemplateType,
740
742
  Template,
741
743
  Url,
742
- Section,
743
744
  Service,
744
745
  Sub_Item,
745
746
  Storage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.0.16",
3
+ "version": "4.0.18",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/test.js CHANGED
@@ -35,11 +35,12 @@ describe("connect", () => {
35
35
  //let cloud_url = Url.connect(biz9_config);
36
36
  //console.log(Template.get_test()); //get_template_test
37
37
  //console.log(Business.get_test()); // get_business_test
38
- //console.log(Page.get_test("Page " +String(Number.get_id()))); // get_page_test
38
+ // console.log(Page.get_test("Page " +String(Number.get_id()))); // get_page_test
39
+ console.log(Page.get_test("Page " +String("Cool"))); // get_page_test
39
40
  //console.log(Event.get_test());
40
41
  //console.log(Product.get_test("Product " +String(Number.get_id()))); // get_product_test
41
42
  //console.log(Service.get_test("Service " +String(Number.get_id()))); // get_service_test
42
- console.log(Event.get_test("Event " +String(Number.get_id()))); // get_service_test
43
+ //console.log(Event.get_test("Event " +String(Number.get_id()))); // get_service_test
43
44
  //let product = Product.get_test();
44
45
  //console.log(product.section_1);
45
46
  //get page