qcobjects-sdk 2.4.9 → 2.4.10

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/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.9
1
+ 2.4.10
@@ -26,12 +26,13 @@
26
26
  "use strict";
27
27
  Package("org.qcobjects.cloud.auth.session.data", [
28
28
 
29
- class SessionData {
29
+ class SessionData extends InheritClass{
30
30
 
31
31
  /**
32
32
  * Creates an instance of SessionData.
33
33
  */
34
34
  constructor() {
35
+ super();
35
36
  this.__session_container__ = null;
36
37
  }
37
38
 
@@ -26,14 +26,16 @@
26
26
  "use strict";
27
27
 
28
28
  Package("org.qcobjects.cloud.auth.session.usertoken", [
29
- class SessionUserToken {
29
+ class SessionUserToken extends InheritClass{
30
30
  constructor() {
31
+ super();
31
32
  this.user = {};
32
33
  this.__cache__ = null;
33
34
 
34
35
  }
35
36
 
36
37
  _new_(o) {
38
+ super._new_(o);
37
39
  var __instance__ = this;
38
40
  this.__cache__ = new ComplexStorageCache({
39
41
  index: __instance__.__instanceID.toString(),
@@ -58,10 +58,10 @@
58
58
  }
59
59
 
60
60
  _new_(o) {
61
+ super._new_(o);
61
62
  o.body.setAttribute("controllerClass", "DataGridController");
62
63
  var subcomponentClass = (o.body.getAttribute("subcomponentClass") !== null) ? (o.body.getAttribute("subcomponentClass")) : ("GridItemComponent");
63
64
  o.body.setAttribute("subcomponentClass", subcomponentClass);
64
- _super_("Component", "_new_").call(this, o);
65
65
  }
66
66
 
67
67
 
@@ -232,6 +232,7 @@
232
232
  }
233
233
 
234
234
  _new_(o){
235
+ super._new_(o);
235
236
  var component = this;
236
237
  component.data.modalId = component.__instanceID;
237
238
  var submodal = New(ClassFactory(component.modalEnclosureComponentClass),{
@@ -246,7 +247,6 @@
246
247
  } else {
247
248
  component.body.append(submodal.body);
248
249
  }
249
- _super_("Component","_new_").call(this,o); // parent call
250
250
  }
251
251
 
252
252
  done({request,component}){
@@ -64,8 +64,8 @@ Package("org.qcobjects.components.slider",[
64
64
 
65
65
  }
66
66
 
67
- _new_ (){
68
- super._new_();
67
+ _new_ (o){
68
+ super._new_(o);
69
69
  this.data.slideNumber = o.data.__dataIndex + 1;
70
70
  }
71
71
 
@@ -37,9 +37,8 @@ Package("org.qcobjects.components.splashscreen",[
37
37
 
38
38
  }
39
39
 
40
- _new_() {
41
- super._new_();
42
- var o = this;
40
+ _new_(o) {
41
+ super._new_(o);
43
42
  var isBrowser = typeof window !== "undefined" && typeof window.self !== "undefined" && window === window.self;
44
43
  let component = this;
45
44
  var isStartURL = (location.hash === ""
@@ -33,8 +33,8 @@ Package("org.qcobjects.i18n_messages", [
33
33
  });
34
34
  }
35
35
 
36
- _new_() {
37
- super._new_();
36
+ _new_(o) {
37
+ super._new_(o);
38
38
  var i18n = this;
39
39
  if (CONFIG.get("use_i18n")){
40
40
  CONFIG.set("lang", "en");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qcobjects-sdk",
3
- "version": "2.4.9",
3
+ "version": "2.4.10",
4
4
  "description": "QCObjects SDK is a set of Controllers, Views and Components that are elementary and useful to assist developers to build applications under MVC patterns using QCObjects, Cross Browser Javascript Framework for MVC Patterns",
5
5
  "main": "QCObjects-SDK.js",
6
6
  "scripts": {