@livinglogic/livingapi 1.16.0 → 1.17.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livinglogic/livingapi",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "description": "Javascript version of the LivingAPI classes of LivingApps",
5
5
  "repository": {
6
6
  "type": "git",
package/src/livingapi.js CHANGED
@@ -783,10 +783,9 @@ export class App extends Base
783
783
  };
784
784
 
785
785
 
786
- App.prototype._ul4onattrs = ["globals", "name", "description", "lang", "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",
786
+ App.prototype._ul4onattrs = ["globals", "name", "description", "lang", "group", "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",
787
787
  "startlink", "image", "createdby", "controls", "records", "recordcount", "installation", "categories", "params", "views", "datamanagement_identifier", "basetable", "primarykey", "insertprocedure", "updateprocedure", "deleteprocedure", "templates", "createdat", "updatedat", "updatedby", "superid", "favorite", "_active_view", "datasource", "menus", "panels"];
788
- App.prototype._ul4attrs = new Set(["id", "globals", "name", "description", "lang", "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",
789
- "startlink", "image", "createdat", "createdby", "updatedat", "updatedby", "controls", "layout_controls", "records", "recordcount", "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"]);
788
+ App.prototype._ul4attrs = new Set(["id", "globals", "name", "description", "lang", "group", "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", "recordcount", "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"]);
790
789
  ul4.expose(App.prototype[ul4.symbols.call], ["values", "**"], {"needsobject": true});
791
790
  ul4.expose(App.prototype.insert, ["values", "**"], {"needsobject": true});
792
791
  ul4.expose(App.prototype.template_url, ["identifier", "p", "record", "p=", null, "params", "**"]);
@@ -794,6 +793,33 @@ ul4.expose(App.prototype.new_embedded_url, ["params", "**"]);
794
793
  ul4.expose(App.prototype.new_standalone_url, ["params", "**"]);
795
794
 
796
795
 
796
+ class AppGroupType extends ul4.Type
797
+ {
798
+ instancecheck(obj)
799
+ {
800
+ return obj instanceof AppGroup;
801
+ }
802
+ };
803
+
804
+ let appgrouptype = new AppType("la", "AppGroup", "A group of LivingApps");
805
+
806
+
807
+ export class AppGroup extends Base
808
+ {
809
+ [ul4.symbols.type]()
810
+ {
811
+ return appgrouptype;
812
+ }
813
+
814
+ [ul4.symbols.repr]()
815
+ {
816
+ return "<AppGroup id=" + ul4._repr(this.id) + " name=" + ul4._repr(this.name) + ">";
817
+ }
818
+ };
819
+ AppGroup.prototype._ul4onattrs = ["globals", "name", "apps"];
820
+ AppGroup.prototype._ul4attrs = new Set(["globals", "id", "name", "apps"]);
821
+
822
+
797
823
  class ViewType extends ul4.Type
798
824
  {
799
825
  instancecheck(obj)
@@ -6230,6 +6256,7 @@ let classes = [
6230
6256
  Globals,
6231
6257
  FlashMessage,
6232
6258
  App,
6259
+ AppGroup,
6233
6260
  View,
6234
6261
  MenuItem,
6235
6262
  Panel,
@@ -6328,6 +6355,7 @@ export const module = new ul4.Module(
6328
6355
  KeyView: KeyView,
6329
6356
  Globals: Globals,
6330
6357
  App: App,
6358
+ AppGroup: AppGroup,
6331
6359
  TextControl: TextControl,
6332
6360
  URLControl: URLControl,
6333
6361
  EmailControl: EmailControl,