@livinglogic/livingapi 1.21.0 → 1.23.0
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/CHANGELOG.md +12 -1
- package/README.md +4 -4
- package/dist/esm-node/livingapi.js +1 -1
- package/dist/esm-node/livingapi.js.map +1 -1
- package/dist/esm-npm/livingapi.js +1 -1
- package/dist/esm-npm/livingapi.js.map +1 -1
- package/dist/esm-static/livingapi.js +1 -1
- package/dist/esm-static/livingapi.js.map +1 -1
- package/dist/umd/livingapi.js +1 -1
- package/dist/umd/livingapi.js.map +1 -1
- package/package.json +2 -2
- package/src/livingapi.js +8 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livinglogic/livingapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0",
|
|
4
4
|
"description": "Javascript version of the LivingAPI classes of LivingApps",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"module": "dist/esm-node/livingapi.js",
|
|
19
19
|
"browser": "dist/umd/livingapi.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@livinglogic/ul4": "~1.
|
|
21
|
+
"@livinglogic/ul4": "~1.19.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@babel/core": "^7.14.6",
|
package/src/livingapi.js
CHANGED
|
@@ -223,6 +223,7 @@ export class Globals extends Base
|
|
|
223
223
|
super(id);
|
|
224
224
|
this.version = null;
|
|
225
225
|
this.hostname = null;
|
|
226
|
+
this.free = false;
|
|
226
227
|
this.platform = null;
|
|
227
228
|
this.user = null;
|
|
228
229
|
this.lang = null;
|
|
@@ -528,8 +529,8 @@ export class Globals extends Base
|
|
|
528
529
|
}
|
|
529
530
|
};
|
|
530
531
|
|
|
531
|
-
Globals.prototype._ul4onattrs = ["version", "platform", "user", "maxdbactions", "maxtemplateruntime", "lang", "datasources", "hostname", "app", "record", "mode", "view_template_id", "email_template_id", "view_id"];
|
|
532
|
-
Globals.prototype._ul4attrs = new Set(["id", "version", "hostname", "platform", "mode", "form", "app", "record", "datasources", "externaldatasources", "groups", "user", "lang", "templates", "pparams", "geo", "dist", "maxdbactions", "maxtemplateruntime", "flashmessages", "scaled_url", "qrcode_url", "current_geo", "log_debug", "log_info", "log_warning", "log_error", "my_apps_url", "my_tasks_url", "catalog_url", "chats_url", "profile_url", "account_url", "logout_url"]);
|
|
532
|
+
Globals.prototype._ul4onattrs = ["version", "platform", "user", "maxdbactions", "maxtemplateruntime", "lang", "datasources", "hostname", "free", "app", "record", "mode", "view_template_id", "email_template_id", "view_id"];
|
|
533
|
+
Globals.prototype._ul4attrs = new Set(["id", "version", "hostname", "platform", "free", "mode", "form", "app", "record", "datasources", "externaldatasources", "groups", "user", "lang", "templates", "pparams", "geo", "dist", "maxdbactions", "maxtemplateruntime", "flashmessages", "scaled_url", "qrcode_url", "current_geo", "log_debug", "log_info", "log_warning", "log_error", "my_apps_url", "my_tasks_url", "catalog_url", "chats_url", "profile_url", "account_url", "logout_url"]);
|
|
533
534
|
ul4.expose(Globals.prototype.log_debug, ["message", "*"]);
|
|
534
535
|
ul4.expose(Globals.prototype.log_info, ["message", "*"]);
|
|
535
536
|
ul4.expose(Globals.prototype.log_warning, ["message", "*"]);
|
|
@@ -796,7 +797,7 @@ export class App extends Base
|
|
|
796
797
|
};
|
|
797
798
|
|
|
798
799
|
|
|
799
|
-
App.prototype._ul4onattrs = ["globals", "name", "description", "lang", "appgroup", "gramgen", "typename_nom_sin", "typename_gen_sin", "typename_dat_sin", "typename_acc_sin", "typename_nom_plu", "typename_gen_plu", "typename_dat_plu", "typename_acc_plu",
|
|
800
|
+
App.prototype._ul4onattrs = ["globals", "internal_id", "name", "description", "lang", "appgroup", "gramgen", "typename_nom_sin", "typename_gen_sin", "typename_dat_sin", "typename_acc_sin", "typename_nom_plu", "typename_gen_plu", "typename_dat_plu", "typename_acc_plu",
|
|
800
801
|
"startlink", "image", "createdby", "controls", "records", "record_start", "record_count", "record_total", "installation", "categories", "params", "views", "datamanagement_identifier", "basetable", "primarykey", "insertprocedure", "updateprocedure", "deleteprocedure", "templates", "createdat", "updatedat", "updatedby", "superid", "favorite", "_active_view", "datasource", "main", "ai_generated", "viewtemplates"];
|
|
801
802
|
App.prototype._ul4attrs = new Set(["id", "globals", "name", "description", "lang", "appgroup", "group", "main", "ai_generated", "gramgen", "typename_nom_sin", "typename_gen_sin", "typename_dat_sin", "typename_acc_sin", "typename_nom_plu", "typename_gen_plu", "typename_dat_plu", "typename_acc_plu", "startlink", "image", "createdat", "createdby", "updatedat", "updatedby", "controls", "layout_controls", "records", "record_start", "record_count", "record_total", "installation", "categories", "params", "views", "menus", "panels", "datasource", "datamanagement_identifier", "insert", "favorite", "_active_view", "template_url", "new_embedded_url", "new_standalone_url", "home_url", "datamanagement_url", "import_url", "tasks_url", /*"formbuilder_url", "tasks_config_url",*/ "datamanagement_config_url", "permissions_url", "datamanageview_url"]);
|
|
802
803
|
ul4.expose(App.prototype[ul4.symbols.call], ["values", "**"], {"needsobject": true});
|
|
@@ -890,8 +891,8 @@ export class DataSource extends Base
|
|
|
890
891
|
}
|
|
891
892
|
};
|
|
892
893
|
|
|
893
|
-
DataSource.prototype._ul4onattrs = ["identifier", "app", "apps"];
|
|
894
|
-
DataSource.prototype._ul4attrs = new Set(["id", "identifier", "app", "apps"]);
|
|
894
|
+
DataSource.prototype._ul4onattrs = ["identifier", "app", "apps", "filter", "sort"];
|
|
895
|
+
DataSource.prototype._ul4attrs = new Set(["id", "identifier", "app", "apps", "filter", "sort"]);
|
|
895
896
|
|
|
896
897
|
|
|
897
898
|
class DataSourceChildrenType extends ul4.Type
|
|
@@ -918,8 +919,8 @@ export class DataSourceChildren extends Base
|
|
|
918
919
|
}
|
|
919
920
|
};
|
|
920
921
|
|
|
921
|
-
DataSourceChildren.prototype._ul4onattrs = ["datasource", "identifier", "control"];
|
|
922
|
-
DataSourceChildren.prototype._ul4attrs = new Set(["id", "identifier", "datasource", "control"]);
|
|
922
|
+
DataSourceChildren.prototype._ul4onattrs = ["datasource", "identifier", "control", "filter", "sort"];
|
|
923
|
+
DataSourceChildren.prototype._ul4attrs = new Set(["id", "identifier", "datasource", "control", "filter", "sort"]);
|
|
923
924
|
|
|
924
925
|
|
|
925
926
|
class RecordChildrenType extends ul4.Type
|