biz9-logic 4.0.17 → 4.0.19

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.7'
1
+ VERSION='4.1.9'
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
- 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);
45
+
46
+ for(let a=0;a<20;a++){
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.0.17",
3
+ "version": "4.0.19",
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