qcobjects-sdk 2.4.20 → 2.4.21
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.
|
|
1
|
+
2.4.21
|
|
@@ -183,5 +183,8 @@ Package("org.quickcorp.components.notifications", [
|
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
]);
|
|
186
|
-
|
|
186
|
+
NotificationComponent.success = () => (new NotificationComponent({name:"notification",tplsource:"none"})).success(...arguments);
|
|
187
|
+
NotificationComponent.danger = () => (new NotificationComponent({name:"notification",tplsource:"none"})).danger(...arguments);
|
|
188
|
+
NotificationComponent.info = () => (new NotificationComponent({name:"notification",tplsource:"none"})).info(...arguments);
|
|
189
|
+
NotificationComponent.warning = () => (new NotificationComponent({name:"notification",tplsource:"none"})).warning(...arguments);
|
|
187
190
|
}).call(null);
|
|
@@ -32,12 +32,8 @@ Package("org.qcobjects.components.base", [
|
|
|
32
32
|
this.name= "splashscreen";
|
|
33
33
|
this.cached= false;
|
|
34
34
|
this.shadowed= true;
|
|
35
|
+
var o = this;
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
_new_(o) {
|
|
40
|
-
super._new_(o);
|
|
41
37
|
var isBrowser = typeof window !== "undefined" && typeof window.self !== "undefined" && window === window.self;
|
|
42
38
|
let component = this;
|
|
43
39
|
var isStartURL = (location.hash === ""
|
|
@@ -83,13 +79,13 @@ Package("org.qcobjects.components.base", [
|
|
|
83
79
|
_componentRoot.subelements("#slot-logo").map(function (slotlogo){
|
|
84
80
|
slotlogo.style.display = "block";
|
|
85
81
|
slotlogo.style.transformOrigin = "center";
|
|
86
|
-
Resize.apply(slotlogo,1,0);
|
|
82
|
+
(new Resize()).apply(slotlogo,1,0);
|
|
87
83
|
});
|
|
88
|
-
Fade.apply(_componentRoot, 1, 0);
|
|
84
|
+
(new Fade()).apply(_componentRoot, 1, 0);
|
|
89
85
|
}
|
|
90
86
|
}, (duration-displayEffectDuration));
|
|
91
87
|
setTimeout(function() {
|
|
92
|
-
Fade.apply(mainElement, 0, 1);
|
|
88
|
+
(new Fade()).apply(mainElement, 0, 1);
|
|
93
89
|
mainElement.style.position = mainComponent._mainPosition;
|
|
94
90
|
document.body.style.backgroundColor = component._bgcolor;
|
|
95
91
|
_componentRoot.parentElement.remove();
|
|
@@ -108,11 +104,14 @@ Package("org.qcobjects.components.base", [
|
|
|
108
104
|
} else {
|
|
109
105
|
component.body.style.display="none";
|
|
110
106
|
}
|
|
107
|
+
|
|
111
108
|
}
|
|
112
109
|
|
|
110
|
+
|
|
113
111
|
}
|
|
114
112
|
|
|
115
113
|
]);
|
|
114
|
+
|
|
116
115
|
Package("org.qcobjects.components.splashscreen",[
|
|
117
116
|
|
|
118
117
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qcobjects-sdk",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.21",
|
|
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": {
|