biz9-logic 4.8.249 → 4.8.250

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 +3 -4
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='7.2.9'
1
+ VERSION='7.3.0'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -910,7 +910,6 @@ class PageType {
910
910
  return String(Str.get_title(data_type.replaceAll('_',' '))).trim();
911
911
  }
912
912
  }
913
-
914
913
  }
915
914
  class DataType {
916
915
 
@@ -951,7 +950,7 @@ class DataType {
951
950
  static USER='user_biz';
952
951
  static VIDEO='video_biz';
953
952
 
954
- static get_data_type_title = (data_type,get_plural) => {
953
+ static get_title = (data_type,get_plural) => {
955
954
  let r_data_type = (!data_type) ? "" : String(Str.get_title(data_type.replaceAll('_',' ').replaceAll('dt','').replace('biz',''))).trim();
956
955
  if(get_plural){
957
956
  if(data_type==DataType.GALLERY){
@@ -964,7 +963,7 @@ class DataType {
964
963
  }
965
964
 
966
965
  }
967
- static get_data_type_url(data_type){
966
+ static get_url(data_type){
968
967
  switch(data_type){
969
968
  case DataType.ACTIVITY:
970
969
  return 'activity';
@@ -1006,7 +1005,7 @@ class DataType {
1006
1005
  return 'custom_field';
1007
1006
  }
1008
1007
  }
1009
- static get_item_list = () =>{
1008
+ static get_list = () =>{
1010
1009
  return [
1011
1010
  { title:DataType.get_title(DataType.BLOG_POST),type:DataType.BLOG_POST},
1012
1011
  { title:DataType.get_title(DataType.EVENT),type:DataType.EVENT},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.249",
3
+ "version": "4.8.250",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"