qcobjects-sdk 2.4.55 → 2.4.59
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 +1 -1
- package/package.json +1 -1
- package/src/QCObjects-SDK.js +28 -30
- package/src/js/org.qcobjects.cloud.auth.session.usertoken.js +14 -2
- package/src/js/org.qcobjects.components.splashscreen.js +85 -59
- package/src/js/org.qcobjects.controllers.form.js +4 -5
- package/src/js/org.qcobjects.controllers.slider.js +14 -2
- package/src/js/org.qcobjects.effects.js +19 -144
- package/src/js/org.qcobjects.i18n_messages.js +14 -2
- package/src/js/org.qcobjects.modal.effects.js +4 -22
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.59
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qcobjects-sdk",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.59",
|
|
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": "src/index.cjs",
|
|
6
6
|
"module": "src/index.mjs",
|
package/src/QCObjects-SDK.js
CHANGED
|
@@ -67,6 +67,8 @@
|
|
|
67
67
|
return _ret_;
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
+
const __start__ = GlobalSettings.__start__.bind(_top);
|
|
71
|
+
|
|
70
72
|
var _imports_;
|
|
71
73
|
if (isBrowser && !isNodeCommonJS) {
|
|
72
74
|
_imports_ = [
|
|
@@ -92,40 +94,36 @@
|
|
|
92
94
|
Import("org.qcobjects.cloud.auth.session.usertoken", function () {}, external),
|
|
93
95
|
Import("org.qcobjects.cloud.auth.session.data", function () {}, external)
|
|
94
96
|
];
|
|
95
|
-
} else {
|
|
97
|
+
} else if (typeof require !== "undefined") {
|
|
96
98
|
// non-browsers environment
|
|
97
|
-
if (isNodeCommonJS){
|
|
98
|
-
CONFIG.set("remoteImportsPath", CONFIG.get("basePath",""));
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
var _relative_path_ = "qcobjects-sdk/src/js/";
|
|
102
99
|
_imports_ = [
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
100
|
+
new Promise ((resolve, reject)=> {
|
|
101
|
+
require("qcobjects-sdk/js/org.qcobjects.i18n_messages");
|
|
102
|
+
require("qcobjects-sdk/js/org.qcobjects.models");
|
|
103
|
+
require("qcobjects-sdk/js/org.qcobjects.components");
|
|
104
|
+
require("qcobjects-sdk/js/org.qcobjects.components.grid");
|
|
105
|
+
require("qcobjects-sdk/js/org.qcobjects.components.list");
|
|
106
|
+
require("qcobjects-sdk/js/org.qcobjects.components.slider");
|
|
107
|
+
require("qcobjects-sdk/js/org.qcobjects.components.notifications");
|
|
108
|
+
require("qcobjects-sdk/js/org.qcobjects.components.splashscreen");
|
|
109
|
+
require("qcobjects-sdk/js/org.qcobjects.controllers");
|
|
110
|
+
require("qcobjects-sdk/js/org.qcobjects.controllers.grid");
|
|
111
|
+
require("qcobjects-sdk/js/org.qcobjects.controllers.list");
|
|
112
|
+
require("qcobjects-sdk/js/org.qcobjects.controllers.slider");
|
|
113
|
+
require("qcobjects-sdk/js/org.qcobjects.controllers.form");
|
|
114
|
+
require("qcobjects-sdk/js/org.qcobjects.controllers.swagger");
|
|
115
|
+
require("qcobjects-sdk/js/org.qcobjects.effects");
|
|
116
|
+
require("qcobjects-sdk/js/org.qcobjects.modal.controllers");
|
|
117
|
+
require("qcobjects-sdk/js/org.qcobjects.views");
|
|
118
|
+
require("qcobjects-sdk/js/org.qcobjects.tools.canvas");
|
|
119
|
+
require("qcobjects-sdk/js/org.qcobjects.tools.layouts");
|
|
120
|
+
require("qcobjects-sdk/js/org.qcobjects.cloud.auth.session.usertoken");
|
|
121
|
+
require("qcobjects-sdk/js/org.qcobjects.cloud.auth.session.data");
|
|
122
|
+
resolve()
|
|
123
|
+
})
|
|
124
|
+
]
|
|
126
125
|
|
|
127
126
|
}
|
|
128
|
-
const __start__ = GlobalSettings.__start__.bind(_top);
|
|
129
127
|
_top._sdk_ = Promise.all(_imports_).then(()=>{
|
|
130
128
|
CONFIG.set("useSDK", true);
|
|
131
129
|
CONFIG.set("remoteImportsPath", remoteImportsPath);
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* Everyone is permitted to copy and distribute verbatim copies of this
|
|
23
23
|
* license document, but changing it is not allowed.
|
|
24
24
|
*/
|
|
25
|
-
(function () {
|
|
25
|
+
(function (global) {
|
|
26
26
|
"use strict";
|
|
27
27
|
|
|
28
28
|
Package("org.qcobjects.cloud.auth.session.usertoken", [
|
|
@@ -101,4 +101,16 @@
|
|
|
101
101
|
}
|
|
102
102
|
]);
|
|
103
103
|
|
|
104
|
-
}).call(null)
|
|
104
|
+
}).call(null, (typeof module === "object" && typeof module.exports === "object") ? (
|
|
105
|
+
module.exports = (typeof globalThis !== "undefined"
|
|
106
|
+
? globalThis
|
|
107
|
+
: typeof self !== "undefined"
|
|
108
|
+
? self
|
|
109
|
+
: typeof window !== "undefined"
|
|
110
|
+
? window
|
|
111
|
+
: typeof global !== "undefined"
|
|
112
|
+
? global
|
|
113
|
+
: {})
|
|
114
|
+
) : ((typeof global === "object") ? (global) : (
|
|
115
|
+
(typeof window === "object") ? (window) : ({})
|
|
116
|
+
)));
|
|
@@ -22,88 +22,102 @@
|
|
|
22
22
|
* Everyone is permitted to copy and distribute verbatim copies of this
|
|
23
23
|
* license document, but changing it is not allowed.
|
|
24
24
|
*/
|
|
25
|
-
(function() {
|
|
26
|
-
"use strict";
|
|
25
|
+
(function __splash_screen__ (global) {
|
|
26
|
+
"use strict";
|
|
27
27
|
Package("org.qcobjects.components.base", [
|
|
28
28
|
class SplashScreenComponent extends Component {
|
|
29
29
|
cached = false;
|
|
30
30
|
shadowed= true;
|
|
31
31
|
|
|
32
|
-
constructor (
|
|
33
|
-
|
|
34
|
-
super(o);
|
|
32
|
+
constructor (component) {
|
|
33
|
+
component.name = (typeof component.name === "undefined")? ("splashscreen"):(component.name);
|
|
35
34
|
|
|
36
35
|
var isBrowser = typeof window !== "undefined" && typeof window.self !== "undefined" && window === window.self;
|
|
37
|
-
let component = this;
|
|
38
36
|
var isStartURL = (location.hash === ""
|
|
39
37
|
&& location.pathname === "/" && location.search === "")
|
|
40
38
|
|| CONFIG.get("routingWay") === "hash" && CONFIG.get("start_url","/") === location.hash
|
|
41
39
|
|| CONFIG.get("routingWay") === "pathname" && CONFIG.get("start_url","/") === location.pathname
|
|
42
40
|
|| CONFIG.get("routingWay") === "search" && CONFIG.get("start_url","/") === location.search;
|
|
43
41
|
var _enabled_ = isBrowser && isStartURL;
|
|
42
|
+
|
|
44
43
|
if (_enabled_){
|
|
45
44
|
component.basePath = CONFIG.get("splashscreenBasePath",CONFIG.get("remoteSDKPath"));
|
|
46
|
-
|
|
45
|
+
if (typeof component.data === "undefined"){
|
|
46
|
+
component.data = {};
|
|
47
|
+
}
|
|
48
|
+
component.data.basePath = component.basePath;
|
|
49
|
+
} else {
|
|
50
|
+
if (typeof component !== "undefined"){
|
|
51
|
+
component.body.style.display="none";
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
super(component);
|
|
55
|
+
this._enabled_ = _enabled_;
|
|
56
|
+
|
|
57
|
+
if (this._enabled_){
|
|
47
58
|
var displayEffectDuration = 1000;
|
|
48
|
-
var duration =
|
|
59
|
+
var duration = this.body.getAttribute("duration");
|
|
49
60
|
if (duration === null){
|
|
50
|
-
duration =
|
|
61
|
+
duration = displayEffectDuration;
|
|
51
62
|
} else {
|
|
52
63
|
duration = parseInt(duration);
|
|
53
64
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
65
|
+
this._bgcolor = this.body.style.backgroundColor;
|
|
66
|
+
|
|
67
|
+
var _helper_ = () => {
|
|
68
|
+
setTimeout(()=>{
|
|
69
|
+
if (!_helper_.executed){
|
|
70
|
+
var _componentRoot = (this.shadowed)?(this.shadowRoot.host):(this.body);
|
|
71
|
+
if (typeof global.componentsStack !== "undefined"){
|
|
72
|
+
global.componentsStack.filter(c=>c.body.hasAttribute("splashscreen")).map(
|
|
73
|
+
(mainComponent) => {
|
|
74
|
+
logger.debug("Splash Screen of Main Component:",mainComponent.name);
|
|
75
|
+
mainComponent.splashScreenComponent = this;
|
|
76
|
+
function SplashScreenHandler (){
|
|
77
|
+
if (!SplashScreenHandler.executed){
|
|
78
|
+
var mainComponent = this; /* here this is bound to mainComponent */
|
|
79
|
+
var component = mainComponent.splashScreenComponent;
|
|
80
|
+
var mainElement = (mainComponent.shadowed)?(mainComponent.shadowRoot.host):(mainComponent.body);
|
|
81
|
+
mainComponent._mainPosition = mainElement.style.position;
|
|
82
|
+
mainElement.style.position = "fixed";
|
|
83
|
+
mainComponent._mainOpacity = mainElement.style.opacity;
|
|
84
|
+
_componentRoot.style.width = "100%";
|
|
85
|
+
_componentRoot.style.height = "100%";
|
|
86
|
+
document.body.style.backgroundColor = "#111111";
|
|
87
|
+
mainElement.style.opacity = 0;
|
|
88
|
+
setTimeout(function() {
|
|
89
|
+
if (typeof _componentRoot !== "undefined"){
|
|
90
|
+
document.body.style.backgroundColor = component._bgcolor;
|
|
91
|
+
_componentRoot.subelements("#slot-logo").map(function (slotlogo){
|
|
92
|
+
slotlogo.style.display = "block";
|
|
93
|
+
slotlogo.style.transformOrigin = "center";
|
|
94
|
+
(new Resize()).apply(slotlogo,1,0);
|
|
95
|
+
});
|
|
96
|
+
(new Fade()).apply(_componentRoot, 1, 0);
|
|
97
|
+
}
|
|
98
|
+
}, (duration-displayEffectDuration));
|
|
99
|
+
setTimeout(function() {
|
|
100
|
+
(new Fade()).apply(mainElement, 0, 1);
|
|
101
|
+
mainElement.style.position = mainComponent._mainPosition;
|
|
102
|
+
document.body.style.backgroundColor = component._bgcolor;
|
|
103
|
+
_componentRoot.parentElement.remove();
|
|
104
|
+
}, duration);
|
|
105
|
+
}
|
|
106
|
+
SplashScreenHandler.executed=true;
|
|
107
|
+
}
|
|
108
|
+
mainComponent.addComponentHelper(SplashScreenHandler.bind(mainComponent));
|
|
109
|
+
}
|
|
110
|
+
);
|
|
96
111
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
112
|
+
_helper_.executed=true;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
});
|
|
100
116
|
};
|
|
101
117
|
_helper_.executed=false;
|
|
102
|
-
|
|
103
|
-
} else {
|
|
104
|
-
component.body.style.display="none";
|
|
118
|
+
this.addComponentHelper(_helper_.bind(component));
|
|
105
119
|
}
|
|
106
|
-
|
|
120
|
+
|
|
107
121
|
}
|
|
108
122
|
|
|
109
123
|
|
|
@@ -616,4 +630,16 @@ Package("org.qcobjects.components.splashscreen",[
|
|
|
616
630
|
]);
|
|
617
631
|
|
|
618
632
|
|
|
619
|
-
}).call(null)
|
|
633
|
+
}).call(null, (typeof module === "object" && typeof module.exports === "object") ? (
|
|
634
|
+
module.exports = (typeof globalThis !== "undefined"
|
|
635
|
+
? globalThis
|
|
636
|
+
: typeof self !== "undefined"
|
|
637
|
+
? self
|
|
638
|
+
: typeof window !== "undefined"
|
|
639
|
+
? window
|
|
640
|
+
: typeof global !== "undefined"
|
|
641
|
+
? global
|
|
642
|
+
: {})
|
|
643
|
+
) : ((typeof global === "object") ? (global) : (
|
|
644
|
+
(typeof window === "object") ? (window) : ({})
|
|
645
|
+
)));
|
|
@@ -167,11 +167,10 @@ Package("org.qcobjects.controllers.form",[
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
|
|
171
|
-
super
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
controller.component = controller.component.Cast(FormField);
|
|
170
|
+
constructor (o){
|
|
171
|
+
super(o);
|
|
172
|
+
this.component = o.component;
|
|
173
|
+
this.component = this.component.Cast(FormField);
|
|
175
174
|
}
|
|
176
175
|
|
|
177
176
|
done (){
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* Everyone is permitted to copy and distribute verbatim copies of this
|
|
23
23
|
* license document, but changing it is not allowed.
|
|
24
24
|
*/
|
|
25
|
-
(function () {
|
|
25
|
+
(function (global) {
|
|
26
26
|
"use strict";
|
|
27
27
|
Package("org.qcobjects.controllers.slider", [
|
|
28
28
|
|
|
@@ -139,4 +139,16 @@
|
|
|
139
139
|
|
|
140
140
|
]);
|
|
141
141
|
|
|
142
|
-
}).call(null)
|
|
142
|
+
}).call(null, (typeof module === "object" && typeof module.exports === "object") ? (
|
|
143
|
+
module.exports = (typeof globalThis !== "undefined"
|
|
144
|
+
? globalThis
|
|
145
|
+
: typeof self !== "undefined"
|
|
146
|
+
? self
|
|
147
|
+
: typeof window !== "undefined"
|
|
148
|
+
? window
|
|
149
|
+
: typeof global !== "undefined"
|
|
150
|
+
? global
|
|
151
|
+
: {})
|
|
152
|
+
) : ((typeof global === "object") ? (global) : (
|
|
153
|
+
(typeof window === "object") ? (window) : ({})
|
|
154
|
+
)));
|
|
@@ -26,13 +26,7 @@
|
|
|
26
26
|
(function () {
|
|
27
27
|
Package("org.qcobjects.effects.base", [
|
|
28
28
|
class Fade extends Effect {
|
|
29
|
-
|
|
30
|
-
duration = 1000
|
|
31
|
-
}) {
|
|
32
|
-
super({
|
|
33
|
-
duration
|
|
34
|
-
});
|
|
35
|
-
}
|
|
29
|
+
duration = 1000;
|
|
36
30
|
|
|
37
31
|
apply(element, alphaFrom, alphaTo) {
|
|
38
32
|
var da = alphaTo - alphaFrom;
|
|
@@ -52,13 +46,7 @@
|
|
|
52
46
|
},
|
|
53
47
|
|
|
54
48
|
class Move extends Effect {
|
|
55
|
-
|
|
56
|
-
duration = 1000
|
|
57
|
-
}) {
|
|
58
|
-
super({
|
|
59
|
-
duration
|
|
60
|
-
});
|
|
61
|
-
}
|
|
49
|
+
duration = 1000;
|
|
62
50
|
|
|
63
51
|
apply(element, xfrom, yfrom, xto, yto) {
|
|
64
52
|
var dx = xto - xfrom;
|
|
@@ -88,13 +76,7 @@
|
|
|
88
76
|
|
|
89
77
|
|
|
90
78
|
class MoveXInFromRight extends Move {
|
|
91
|
-
|
|
92
|
-
duration = 1000
|
|
93
|
-
}) {
|
|
94
|
-
super({
|
|
95
|
-
duration
|
|
96
|
-
});
|
|
97
|
-
}
|
|
79
|
+
duration = 1000;
|
|
98
80
|
|
|
99
81
|
apply(element) {
|
|
100
82
|
super.apply.call(this, element, element.width, 0, 0, 0);
|
|
@@ -102,14 +84,7 @@
|
|
|
102
84
|
},
|
|
103
85
|
|
|
104
86
|
class MoveXInFromLeft extends Move {
|
|
105
|
-
|
|
106
|
-
constructor({
|
|
107
|
-
duration = 1000
|
|
108
|
-
}) {
|
|
109
|
-
super({
|
|
110
|
-
duration
|
|
111
|
-
});
|
|
112
|
-
}
|
|
87
|
+
duration = 1000;
|
|
113
88
|
|
|
114
89
|
apply(element) {
|
|
115
90
|
super.apply.call(this, element, -element.width, 0, 0, 0);
|
|
@@ -117,13 +92,7 @@
|
|
|
117
92
|
},
|
|
118
93
|
|
|
119
94
|
class MoveYInFromBottom extends Move {
|
|
120
|
-
|
|
121
|
-
duration = 1000
|
|
122
|
-
}) {
|
|
123
|
-
super({
|
|
124
|
-
duration
|
|
125
|
-
});
|
|
126
|
-
}
|
|
95
|
+
duration = 1000;
|
|
127
96
|
|
|
128
97
|
apply(element) {
|
|
129
98
|
super.apply.call(this, element, 0, element.height, 0, 0);
|
|
@@ -132,14 +101,7 @@
|
|
|
132
101
|
},
|
|
133
102
|
|
|
134
103
|
class MoveYInFromTop extends Move {
|
|
135
|
-
|
|
136
|
-
constructor({
|
|
137
|
-
duration = 1000
|
|
138
|
-
}) {
|
|
139
|
-
super({
|
|
140
|
-
duration
|
|
141
|
-
});
|
|
142
|
-
}
|
|
104
|
+
duration = 1000;
|
|
143
105
|
|
|
144
106
|
apply(element) {
|
|
145
107
|
super.apply.call(this, element, 0, -element.height, 0, 0);
|
|
@@ -147,14 +109,7 @@
|
|
|
147
109
|
},
|
|
148
110
|
|
|
149
111
|
class RotateX extends Effect {
|
|
150
|
-
|
|
151
|
-
constructor({
|
|
152
|
-
duration = 1000
|
|
153
|
-
}) {
|
|
154
|
-
super({
|
|
155
|
-
duration
|
|
156
|
-
});
|
|
157
|
-
}
|
|
112
|
+
duration = 1000;
|
|
158
113
|
|
|
159
114
|
apply(element, angleFrom, angleTo) {
|
|
160
115
|
var da = angleTo - angleFrom;
|
|
@@ -175,14 +130,7 @@
|
|
|
175
130
|
},
|
|
176
131
|
|
|
177
132
|
class RotateY extends Effect {
|
|
178
|
-
|
|
179
|
-
constructor({
|
|
180
|
-
duration = 1000
|
|
181
|
-
}) {
|
|
182
|
-
super({
|
|
183
|
-
duration
|
|
184
|
-
});
|
|
185
|
-
}
|
|
133
|
+
duration = 1000;
|
|
186
134
|
|
|
187
135
|
apply(element, angleFrom, angleTo) {
|
|
188
136
|
var da = angleTo - angleFrom;
|
|
@@ -202,14 +150,7 @@
|
|
|
202
150
|
},
|
|
203
151
|
|
|
204
152
|
class RotateZ extends Effect {
|
|
205
|
-
|
|
206
|
-
constructor({
|
|
207
|
-
duration = 1000
|
|
208
|
-
}) {
|
|
209
|
-
super({
|
|
210
|
-
duration
|
|
211
|
-
});
|
|
212
|
-
}
|
|
153
|
+
duration = 1000;
|
|
213
154
|
|
|
214
155
|
apply(element, angleFrom, angleTo) {
|
|
215
156
|
var da = angleTo - angleFrom;
|
|
@@ -230,14 +171,7 @@
|
|
|
230
171
|
},
|
|
231
172
|
|
|
232
173
|
class Rotate extends Effect {
|
|
233
|
-
|
|
234
|
-
constructor({
|
|
235
|
-
duration = 1000
|
|
236
|
-
}) {
|
|
237
|
-
super({
|
|
238
|
-
duration
|
|
239
|
-
});
|
|
240
|
-
}
|
|
174
|
+
duration = 1000;
|
|
241
175
|
|
|
242
176
|
apply(element, angleFrom, angleTo) {
|
|
243
177
|
var da = angleTo - angleFrom;
|
|
@@ -257,14 +191,7 @@
|
|
|
257
191
|
},
|
|
258
192
|
|
|
259
193
|
class Radius extends Effect {
|
|
260
|
-
|
|
261
|
-
constructor({
|
|
262
|
-
duration = 1000
|
|
263
|
-
}) {
|
|
264
|
-
super({
|
|
265
|
-
duration
|
|
266
|
-
});
|
|
267
|
-
}
|
|
194
|
+
duration = 1000;
|
|
268
195
|
|
|
269
196
|
apply(element, radiusFrom, radiusTo) {
|
|
270
197
|
var dr = radiusTo - radiusFrom;
|
|
@@ -285,14 +212,7 @@
|
|
|
285
212
|
},
|
|
286
213
|
|
|
287
214
|
class Resize extends Effect {
|
|
288
|
-
|
|
289
|
-
constructor({
|
|
290
|
-
duration = 1000
|
|
291
|
-
}) {
|
|
292
|
-
super({
|
|
293
|
-
duration
|
|
294
|
-
});
|
|
295
|
-
}
|
|
215
|
+
duration = 1000;
|
|
296
216
|
|
|
297
217
|
apply(element, scaleFrom, scaleTo) {
|
|
298
218
|
var ds = scaleTo - scaleFrom;
|
|
@@ -314,13 +234,7 @@
|
|
|
314
234
|
},
|
|
315
235
|
|
|
316
236
|
class WipeLeft extends Effect {
|
|
317
|
-
|
|
318
|
-
duration = 1000
|
|
319
|
-
}) {
|
|
320
|
-
super({
|
|
321
|
-
duration
|
|
322
|
-
});
|
|
323
|
-
}
|
|
237
|
+
duration = 1000;
|
|
324
238
|
|
|
325
239
|
apply(element, scaleFrom, scaleTo) {
|
|
326
240
|
var ds = scaleTo - scaleFrom;
|
|
@@ -342,14 +256,7 @@
|
|
|
342
256
|
},
|
|
343
257
|
|
|
344
258
|
class WipeRight extends Effect {
|
|
345
|
-
|
|
346
|
-
constructor({
|
|
347
|
-
duration = 1000
|
|
348
|
-
}) {
|
|
349
|
-
super({
|
|
350
|
-
duration
|
|
351
|
-
});
|
|
352
|
-
}
|
|
259
|
+
duration = 1000;
|
|
353
260
|
|
|
354
261
|
apply(element, scaleFrom, scaleTo) {
|
|
355
262
|
var ds = scaleTo - scaleFrom;
|
|
@@ -372,13 +279,7 @@
|
|
|
372
279
|
|
|
373
280
|
class WipeUp extends Effect {
|
|
374
281
|
|
|
375
|
-
|
|
376
|
-
duration = 1000
|
|
377
|
-
}) {
|
|
378
|
-
super({
|
|
379
|
-
duration
|
|
380
|
-
});
|
|
381
|
-
}
|
|
282
|
+
duration = 1000;
|
|
382
283
|
|
|
383
284
|
apply(element, scaleFrom, scaleTo) {
|
|
384
285
|
var ds = scaleTo - scaleFrom;
|
|
@@ -400,14 +301,7 @@
|
|
|
400
301
|
},
|
|
401
302
|
|
|
402
303
|
class WipeDown extends Effect {
|
|
403
|
-
|
|
404
|
-
constructor({
|
|
405
|
-
duration = 1000
|
|
406
|
-
}) {
|
|
407
|
-
super({
|
|
408
|
-
duration
|
|
409
|
-
});
|
|
410
|
-
}
|
|
304
|
+
duration = 1000;
|
|
411
305
|
|
|
412
306
|
apply(element, scaleFrom, scaleTo) {
|
|
413
307
|
var ds = scaleTo - scaleFrom;
|
|
@@ -431,37 +325,18 @@
|
|
|
431
325
|
Package("org.qcobjects.modal.effects", [
|
|
432
326
|
|
|
433
327
|
class ModalFade extends Fade {
|
|
434
|
-
|
|
435
|
-
duration = 500
|
|
436
|
-
}) {
|
|
437
|
-
super({
|
|
438
|
-
duration
|
|
439
|
-
});
|
|
440
|
-
}
|
|
328
|
+
duration = 500;
|
|
441
329
|
|
|
442
330
|
},
|
|
443
331
|
|
|
444
332
|
class ModalMoveDown extends Move {
|
|
445
|
-
|
|
446
|
-
duration = 300
|
|
447
|
-
}) {
|
|
448
|
-
super({
|
|
449
|
-
duration
|
|
450
|
-
});
|
|
451
|
-
|
|
452
|
-
}
|
|
333
|
+
duration = 300;
|
|
453
334
|
|
|
454
335
|
},
|
|
455
336
|
|
|
456
337
|
class ModalMoveUp extends Move {
|
|
457
|
-
constructor({
|
|
458
|
-
duration = 800
|
|
459
|
-
}) {
|
|
460
|
-
super({
|
|
461
|
-
duration
|
|
462
|
-
});
|
|
463
338
|
|
|
464
|
-
|
|
339
|
+
duration = 800;
|
|
465
340
|
|
|
466
341
|
}
|
|
467
342
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* Everyone is permitted to copy and distribute verbatim copies of this
|
|
23
23
|
* license document, but changing it is not allowed.
|
|
24
24
|
*/
|
|
25
|
-
(function () {
|
|
25
|
+
(function (global) {
|
|
26
26
|
"use strict";
|
|
27
27
|
Package("org.qcobjects.i18n_messages", [
|
|
28
28
|
|
|
@@ -58,4 +58,16 @@
|
|
|
58
58
|
}
|
|
59
59
|
]);
|
|
60
60
|
(new i18n_messages({}))._load_i18n_packages_();
|
|
61
|
-
}).call(null)
|
|
61
|
+
}).call(null, (typeof module === "object" && typeof module.exports === "object") ? (
|
|
62
|
+
module.exports = (typeof globalThis !== "undefined"
|
|
63
|
+
? globalThis
|
|
64
|
+
: typeof self !== "undefined"
|
|
65
|
+
? self
|
|
66
|
+
: typeof window !== "undefined"
|
|
67
|
+
? window
|
|
68
|
+
: typeof global !== "undefined"
|
|
69
|
+
? global
|
|
70
|
+
: {})
|
|
71
|
+
) : ((typeof global === "object") ? (global) : (
|
|
72
|
+
(typeof window === "object") ? (window) : ({})
|
|
73
|
+
)));
|
|
@@ -27,37 +27,19 @@
|
|
|
27
27
|
Package("org.qcobjects.modal.effects", [
|
|
28
28
|
|
|
29
29
|
class ModalFade extends Fade {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}) {
|
|
33
|
-
super({
|
|
34
|
-
duration
|
|
35
|
-
});
|
|
36
|
-
}
|
|
30
|
+
|
|
31
|
+
duration = 500;
|
|
37
32
|
|
|
38
33
|
},
|
|
39
34
|
|
|
40
35
|
class ModalMoveDown extends Move {
|
|
41
|
-
constructor({
|
|
42
|
-
duration = 300
|
|
43
|
-
}) {
|
|
44
|
-
super({
|
|
45
|
-
duration
|
|
46
|
-
});
|
|
47
36
|
|
|
48
|
-
|
|
37
|
+
duration = 300;
|
|
49
38
|
|
|
50
39
|
},
|
|
51
40
|
|
|
52
41
|
class ModalMoveUp extends Move {
|
|
53
|
-
|
|
54
|
-
duration = 800
|
|
55
|
-
}) {
|
|
56
|
-
super({
|
|
57
|
-
duration
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
}
|
|
42
|
+
duration = 800;
|
|
61
43
|
|
|
62
44
|
}
|
|
63
45
|
|