qcobjects-sdk 2.4.66 → 2.5.105

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.
Files changed (177) hide show
  1. package/.github/workflows/npmpublish.yml +47 -0
  2. package/README.md +0 -1
  3. package/VERSION +1 -1
  4. package/build/index.js +137 -25
  5. package/build/ts/org.qcobjects.base.components.js +75 -0
  6. package/build/ts/org.qcobjects.cloud.auth.session.data.js +122 -0
  7. package/build/ts/org.qcobjects.cloud.auth.session.usertoken.js +97 -0
  8. package/build/ts/org.qcobjects.components.grid.js +63 -0
  9. package/build/ts/org.qcobjects.components.js +200 -0
  10. package/build/{js/org.qcobjects.modal.effects.js → ts/org.qcobjects.components.list.js} +40 -29
  11. package/build/ts/org.qcobjects.components.notifications.js +180 -0
  12. package/build/ts/org.qcobjects.components.slider.js +207 -0
  13. package/build/{js → ts}/org.qcobjects.components.splashscreen.js +123 -130
  14. package/build/ts/org.qcobjects.controllers.form.js +180 -0
  15. package/build/ts/org.qcobjects.controllers.grid.js +269 -0
  16. package/build/{js → ts}/org.qcobjects.controllers.js +11 -11
  17. package/build/ts/org.qcobjects.controllers.list.js +235 -0
  18. package/build/ts/org.qcobjects.controllers.slider.js +126 -0
  19. package/build/ts/org.qcobjects.controllers.swagger.js +75 -0
  20. package/build/ts/org.qcobjects.effects.base.js +70 -0
  21. package/build/ts/org.qcobjects.effects.extended.js +270 -0
  22. package/build/ts/org.qcobjects.effects.js +49 -0
  23. package/build/ts/org.qcobjects.i18n_messages.js +59 -0
  24. package/build/{js → ts}/org.qcobjects.modal.controllers.js +16 -15
  25. package/build/ts/org.qcobjects.modal.effects.js +46 -0
  26. package/build/{js → ts}/org.qcobjects.models.js +11 -11
  27. package/{src/js/org.qcobjects.tools.canvas.ts → build/ts/org.qcobjects.tools.canvas.js} +16 -21
  28. package/build/{js → ts}/org.qcobjects.tools.js +10 -3
  29. package/build/ts/org.qcobjects.tools.layouts.js +74 -0
  30. package/build/{js → ts}/org.qcobjects.views.js +11 -11
  31. package/build-esbuild.js +72 -0
  32. package/eslint.config.mjs +88 -0
  33. package/package.json +67 -63
  34. package/postbuild.js +10 -0
  35. package/public/browser/index.js +9829 -0
  36. package/public/browser/index.js.map +7 -0
  37. package/public/cjs/index.cjs +9879 -0
  38. package/public/cjs/index.cjs.map +7 -0
  39. package/public/esm/index.mjs +9819 -0
  40. package/public/esm/index.mjs.map +7 -0
  41. package/public/types/index.d.ts +614 -0
  42. package/spec/helpers/mock-sdk.helper.ts +2 -0
  43. package/spec/mocks/qcobjects-sdk.mock.ts +1 -0
  44. package/spec/support/jasmine.json +7 -4
  45. package/src/index.ts +127 -2
  46. package/src/ts/org.qcobjects.base.components.ts +83 -0
  47. package/src/ts/org.qcobjects.cloud.auth.session.data.ts +134 -0
  48. package/src/ts/org.qcobjects.cloud.auth.session.usertoken.ts +108 -0
  49. package/src/ts/org.qcobjects.components.grid.ts +68 -0
  50. package/src/{js → ts}/org.qcobjects.components.list.ts +15 -31
  51. package/src/{js → ts}/org.qcobjects.components.notifications.ts +12 -12
  52. package/src/ts/org.qcobjects.components.slider.ts +216 -0
  53. package/src/{js → ts}/org.qcobjects.components.splashscreen.ts +31 -39
  54. package/src/ts/org.qcobjects.components.ts +226 -0
  55. package/src/ts/org.qcobjects.controllers.form.ts +209 -0
  56. package/src/ts/org.qcobjects.controllers.grid.ts +291 -0
  57. package/src/ts/org.qcobjects.controllers.list.ts +256 -0
  58. package/src/ts/org.qcobjects.controllers.slider.ts +153 -0
  59. package/src/ts/org.qcobjects.controllers.swagger.ts +83 -0
  60. package/src/{js → ts}/org.qcobjects.controllers.ts +7 -9
  61. package/src/ts/org.qcobjects.effects.base.ts +81 -0
  62. package/src/{js/org.qcobjects.effects.ts → ts/org.qcobjects.effects.extended.ts} +70 -198
  63. package/src/ts/org.qcobjects.effects.ts +42 -0
  64. package/src/ts/org.qcobjects.i18n_messages.ts +68 -0
  65. package/src/{js → ts}/org.qcobjects.modal.controllers.ts +12 -14
  66. package/src/{js → ts}/org.qcobjects.modal.effects.ts +22 -18
  67. package/src/{js → ts}/org.qcobjects.models.ts +8 -11
  68. package/src/ts/org.qcobjects.tools.canvas.ts +57 -0
  69. package/src/ts/org.qcobjects.tools.layouts.ts +82 -0
  70. package/src/{js → ts}/org.qcobjects.tools.ts +7 -1
  71. package/src/{js → ts}/org.qcobjects.views.ts +9 -8
  72. package/src/types/global/index.d.ts +181 -0
  73. package/transpile.js +65 -0
  74. package/tsconfig.d.json +65 -3
  75. package/tsconfig.jasmine.json +64 -0
  76. package/tsconfig.json +71 -7
  77. package/.eslintignore +0 -4
  78. package/.eslintrc.cjs +0 -6
  79. package/.github/workflows/npmpublish-beta.yml +0 -38
  80. package/.github/workflows/npmpublish-lts.yml +0 -38
  81. package/.github/workflows/npmpublish-main.yml +0 -40
  82. package/.gitmodules +0 -4
  83. package/build/QCObjects-SDK.js +0 -97
  84. package/build/css/base-modal.css +0 -43
  85. package/build/css/basic-layout-embedded-nav.css +0 -14
  86. package/build/css/basic-layout.css +0 -76
  87. package/build/css/components/horizontal-list.css +0 -64
  88. package/build/css/components/list.css +0 -57
  89. package/build/css/components/splashscreen.css +0 -111
  90. package/build/css/modal.css +0 -46
  91. package/build/index.cjs +0 -4
  92. package/build/index.mjs +0 -2
  93. package/build/js/org.qcobjects.cloud.auth.session.data.js +0 -125
  94. package/build/js/org.qcobjects.cloud.auth.session.usertoken.js +0 -109
  95. package/build/js/org.qcobjects.components.grid.js +0 -81
  96. package/build/js/org.qcobjects.components.js +0 -292
  97. package/build/js/org.qcobjects.components.list.js +0 -71
  98. package/build/js/org.qcobjects.components.notifications.js +0 -179
  99. package/build/js/org.qcobjects.components.slider.js +0 -193
  100. package/build/js/org.qcobjects.controllers.form.js +0 -178
  101. package/build/js/org.qcobjects.controllers.grid.js +0 -258
  102. package/build/js/org.qcobjects.controllers.list.js +0 -228
  103. package/build/js/org.qcobjects.controllers.slider.js +0 -131
  104. package/build/js/org.qcobjects.controllers.swagger.js +0 -50
  105. package/build/js/org.qcobjects.effects.js +0 -417
  106. package/build/js/org.qcobjects.i18n_messages.js +0 -72
  107. package/build/js/org.qcobjects.tools.canvas.js +0 -53
  108. package/build/js/org.qcobjects.tools.layouts.js +0 -73
  109. package/build/templates/components/modalyoulose.tpl.html +0 -3
  110. package/build/templates/components/modalyouwin.tpl.html +0 -4
  111. package/build/templates/components/splashscreen.tpl.html +0 -128
  112. package/build/templates/components/swagger-ui.tpl.html +0 -22
  113. package/docs/CNAME +0 -1
  114. package/public/QCObjects-SDK.js +0 -696
  115. package/public/QCObjects-SDK.js.map +0 -7
  116. package/public/css/base-modal.css +0 -2
  117. package/public/css/base-modal.css.map +0 -7
  118. package/public/css/basic-layout-embedded-nav.css +0 -2
  119. package/public/css/basic-layout-embedded-nav.css.map +0 -7
  120. package/public/css/basic-layout.css +0 -2
  121. package/public/css/basic-layout.css.map +0 -7
  122. package/public/css/components/horizontal-list.css +0 -2
  123. package/public/css/components/horizontal-list.css.map +0 -7
  124. package/public/css/components/list.css +0 -2
  125. package/public/css/components/list.css.map +0 -7
  126. package/public/css/components/splashscreen.css +0 -2
  127. package/public/css/components/splashscreen.css.map +0 -7
  128. package/public/css/modal.css +0 -2
  129. package/public/css/modal.css.map +0 -7
  130. package/public/index.cjs +0 -4
  131. package/public/index.js +0 -27
  132. package/public/index.mjs +0 -2
  133. package/public/templates/components/modalyoulose.tpl.html +0 -3
  134. package/public/templates/components/modalyouwin.tpl.html +0 -4
  135. package/public/templates/components/splashscreen.tpl.html +0 -128
  136. package/public/templates/components/swagger-ui.tpl.html +0 -22
  137. package/src/QCObjects-SDK.d.ts +0 -26
  138. package/src/QCObjects-SDK.ts +0 -108
  139. package/src/index.cts +0 -2
  140. package/src/index.d.ts +0 -2
  141. package/src/index.mts +0 -2
  142. package/src/js/org.qcobjects.cloud.auth.session.data.d.ts +0 -1
  143. package/src/js/org.qcobjects.cloud.auth.session.data.ts +0 -135
  144. package/src/js/org.qcobjects.cloud.auth.session.usertoken.d.ts +0 -2
  145. package/src/js/org.qcobjects.cloud.auth.session.usertoken.ts +0 -128
  146. package/src/js/org.qcobjects.components.d.ts +0 -10
  147. package/src/js/org.qcobjects.components.grid.d.ts +0 -3
  148. package/src/js/org.qcobjects.components.grid.ts +0 -95
  149. package/src/js/org.qcobjects.components.list.d.ts +0 -3
  150. package/src/js/org.qcobjects.components.notifications.d.ts +0 -1
  151. package/src/js/org.qcobjects.components.slider.d.ts +0 -1
  152. package/src/js/org.qcobjects.components.slider.ts +0 -205
  153. package/src/js/org.qcobjects.components.splashscreen.d.ts +0 -28
  154. package/src/js/org.qcobjects.components.ts +0 -336
  155. package/src/js/org.qcobjects.controllers.d.ts +0 -1
  156. package/src/js/org.qcobjects.controllers.form.d.ts +0 -1
  157. package/src/js/org.qcobjects.controllers.form.ts +0 -206
  158. package/src/js/org.qcobjects.controllers.grid.d.ts +0 -1
  159. package/src/js/org.qcobjects.controllers.grid.ts +0 -287
  160. package/src/js/org.qcobjects.controllers.list.d.ts +0 -1
  161. package/src/js/org.qcobjects.controllers.list.ts +0 -254
  162. package/src/js/org.qcobjects.controllers.slider.d.ts +0 -1
  163. package/src/js/org.qcobjects.controllers.slider.ts +0 -158
  164. package/src/js/org.qcobjects.controllers.swagger.d.ts +0 -1
  165. package/src/js/org.qcobjects.controllers.swagger.ts +0 -83
  166. package/src/js/org.qcobjects.effects.d.ts +0 -20
  167. package/src/js/org.qcobjects.i18n_messages.d.ts +0 -1
  168. package/src/js/org.qcobjects.i18n_messages.ts +0 -82
  169. package/src/js/org.qcobjects.modal.controllers.d.ts +0 -1
  170. package/src/js/org.qcobjects.modal.effects.d.ts +0 -1
  171. package/src/js/org.qcobjects.models.d.ts +0 -1
  172. package/src/js/org.qcobjects.tools.canvas.d.ts +0 -1
  173. package/src/js/org.qcobjects.tools.d.ts +0 -1
  174. package/src/js/org.qcobjects.tools.layouts.d.ts +0 -1
  175. package/src/js/org.qcobjects.tools.layouts.ts +0 -85
  176. package/src/js/org.qcobjects.views.d.ts +0 -1
  177. /package/spec/{testsSpec.js → testsSpec.ts} +0 -0
@@ -1,128 +0,0 @@
1
- import { CONFIG, ComplexStorageCache, InheritClass, New, Package, _Crypt } from "qcobjects";
2
-
3
- /**
4
- * QCObjects SDK 2.4
5
- * ________________
6
- *
7
- * Author: Jean Machuca <correojean@gmail.com>
8
- *
9
- * Cross Browser Javascript Framework for MVC Patterns
10
- * QuickCorp/QCObjects is licensed under the
11
- * GNU Lesser General Public License v3.0
12
- * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
13
- *
14
- * Permissions of this copyleft license are conditioned on making available
15
- * complete source code of licensed works and modifications under the same
16
- * license or the GNU GPLv3. Copyright and license notices must be preserved.
17
- * Contributors provide an express grant of patent rights. However, a larger
18
- * work using the licensed work through interfaces provided by the licensed
19
- * work may be distributed under different terms and without source code for
20
- * the larger work.
21
- *
22
- * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
23
- *
24
- * Everyone is permitted to copy and distribute verbatim copies of this
25
- * license document, but changing it is not allowed.
26
- */
27
-
28
- const _top = (typeof module === "object" && typeof module.exports === "object") ? (
29
- module.exports = (typeof globalThis !== "undefined"
30
- ? globalThis
31
- : typeof self !== "undefined"
32
- ? self
33
- : typeof window !== "undefined"
34
- ? window
35
- : typeof global !== "undefined"
36
- ? global
37
- : {})
38
- ) : ((typeof global === "object") ? (global) : (
39
- (typeof window === "object") ? (window) : ({})
40
- ));
41
-
42
- (function (global) {
43
- "use strict";
44
-
45
- class SessionUserToken extends InheritClass{
46
- static user = {};
47
- __cache__:ComplexStorageCache;
48
-
49
- constructor(o:any){
50
- super(o);
51
- // eslint-disable-next-line @typescript-eslint/no-this-alias
52
- const __instance__ = this;
53
- this.__cache__ = new ComplexStorageCache({
54
- index: __instance__.__instanceID.toString(),
55
- load() {
56
- let __token__;
57
- if (typeof navigator !== "undefined" && typeof origin !== "undefined") {
58
- __token__ = _Crypt.encrypt(`${navigator.userAgent}|${o.username}|${(+(new Date())).toString()}`, origin);
59
- } else {
60
- __token__ = _Crypt.encrypt(`${o.username}|${(+(new Date())).toString()}`, CONFIG.get("domain", "localhost"));
61
- }
62
- SessionUserToken.user = {
63
- priority: __instance__.__instanceID.toString(),
64
- token: __token__
65
- };
66
- return SessionUserToken.user;
67
- },
68
- alternate(cacheController) {
69
- SessionUserToken.user = cacheController?.cache.getCached(__instance__.__instanceID.toString()); // setting dataObject with the cached value
70
- }
71
- });
72
-
73
- }
74
-
75
- static generateIndex(s:any) {
76
- return (typeof Buffer !== "undefined") ? (Buffer.from(s, "ascii").toString("base64")) : (btoa(s));
77
- }
78
-
79
- static getGlobalUser(...args:any[]) {
80
- const username = [args].join("|");
81
- const __index__ = "userToken_" + SessionUserToken.generateIndex(username);
82
- if (typeof (global as any).get(__index__) === "undefined" || (global as any).get(__index__) === null) {
83
- (global as any).set(__index__, New(SessionUserToken, {
84
- username
85
- }));
86
- }
87
- SessionUserToken.user = (global as any).get(__index__).user;
88
- return (global as any).get(__index__).user;
89
- }
90
-
91
- static getGlobalUserToken(...args:any[]) {
92
- return SessionUserToken.getGlobalUser(args).token;
93
- }
94
-
95
- static getGlobalUserId(...args:any[]) {
96
- return SessionUserToken.getGlobalUser(args).id;
97
- }
98
-
99
- static getGlobalUserPriority(...args:any[]) {
100
- return SessionUserToken.getGlobalUser(args).priority;
101
- }
102
-
103
- static getLoginCredentialsToken(username:string, password:string) {
104
- return _Crypt.encrypt(`${username}${password}`, SessionUserToken.getGlobalUserToken(username));
105
- }
106
-
107
- static closeGlobalSession(...args:any[]) {
108
- SessionUserToken.getGlobalUser(args);
109
- const username = [args].join("|");
110
- const __index__ = "userToken_" + SessionUserToken.generateIndex(username);
111
- if (typeof (global as any).get(__index__) !== "undefined") {
112
- (global as any).get(__index__).__cache__.clear();
113
- (global as any).set(__index__, null);
114
- SessionUserToken.user = {};
115
- }
116
- }
117
- }
118
-
119
- Package("org.qcobjects.cloud.auth.session.usertoken", [
120
- SessionUserToken
121
- ]);
122
-
123
-
124
- })(_top);
125
-
126
- const SessionUserToken = (_top as any).SessionUserToken;
127
-
128
- export {SessionUserToken};
@@ -1,10 +0,0 @@
1
- declare const FormField: any;
2
- declare const ShadowedComponent: any;
3
- declare const ButtonField: any;
4
- declare const InputField: any;
5
- declare const TextField: any;
6
- declare const EmailField: any;
7
- declare const ModalEnclosureComponent: any;
8
- declare const ModalComponent: any;
9
- declare const SwaggerUIComponent: any;
10
- export { FormField, ShadowedComponent, ButtonField, InputField, TextField, EmailField, ModalComponent, ModalEnclosureComponent, SwaggerUIComponent };
@@ -1,3 +0,0 @@
1
- declare const GridComponent: any;
2
- declare const GridItemComponent: any;
3
- export { GridComponent, GridItemComponent };
@@ -1,95 +0,0 @@
1
- import { Package, Component, ComponentParams } from "qcobjects";
2
-
3
- /**
4
- * QCObjects SDK 2.4
5
- * ________________
6
- *
7
- * Author: Jean Machuca <correojean@gmail.com>
8
- *
9
- * Cross Browser Javascript Framework for MVC Patterns
10
- * QuickCorp/QCObjects is licensed under the
11
- * GNU Lesser General Public License v3.0
12
- * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
13
- *
14
- * Permissions of this copyleft license are conditioned on making available
15
- * complete source code of licensed works and modifications under the same
16
- * license or the GNU GPLv3. Copyright and license notices must be preserved.
17
- * Contributors provide an express grant of patent rights. However, a larger
18
- * work using the licensed work through interfaces provided by the licensed
19
- * work may be distributed under different terms and without source code for
20
- * the larger work.
21
- *
22
- * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
23
- *
24
- * Everyone is permitted to copy and distribute verbatim copies of this
25
- * license document, but changing it is not allowed.
26
- */
27
- const _top = (typeof module === "object" && typeof module.exports === "object") ? (
28
- module.exports = (typeof globalThis !== "undefined"
29
- ? globalThis
30
- : typeof self !== "undefined"
31
- ? self
32
- : typeof window !== "undefined"
33
- ? window
34
- : typeof global !== "undefined"
35
- ? global
36
- : {})
37
- ) : ((typeof global === "object") ? (global) : (
38
- (typeof window === "object") ? (window) : ({})
39
- ));
40
- (function (global:any) {
41
- "use strict";
42
-
43
- class GridItemComponent extends Component {
44
- name = "grid-item";
45
- shadowed= true;
46
- tplsource= "inline";
47
- template= `
48
- <img src="{{image}}" />
49
- <p>{{description}}</p>
50
- `;
51
-
52
- cached= false;
53
-
54
- }
55
-
56
- class GridComponent extends Component {
57
- name= "grid";
58
- cached= false;
59
- view= null;
60
- shadowed= true;
61
- rows= 3;
62
- cols= 3;
63
- templateURI= "";
64
- data= {};
65
- tplsource= "inline";
66
- template= "<p>Loading...</p>";
67
-
68
- constructor (o:ComponentParams){
69
- super(o);
70
- this.body.setAttribute("controllerClass", "DataGridController");
71
- const subcomponentClass = (this.body.getAttribute("subcomponentClass") !== null) ? (this.body.getAttribute("subcomponentClass")) : ("GridItemComponent");
72
- this.body.setAttribute("subcomponentClass", subcomponentClass as string);
73
-
74
- }
75
-
76
-
77
- }
78
-
79
- Package("org.qcobjects.components.grid", [
80
- GridComponent,
81
- GridItemComponent
82
- ]);
83
-
84
- global.GridComponent = GridComponent;
85
- global.GridItemComponent = GridItemComponent;
86
-
87
- })(_top);
88
-
89
- const GridComponent = (_top as any).GridComponent;
90
- const GridItemComponent = (_top as any).GridItemComponent;
91
-
92
- export {
93
- GridComponent,
94
- GridItemComponent
95
- };
@@ -1,3 +0,0 @@
1
- declare const ListComponent: any;
2
- declare const ListItemComponent: any;
3
- export { ListComponent, ListItemComponent };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,205 +0,0 @@
1
- import { Package, Component, ComponentParams } from "qcobjects";
2
-
3
- /**
4
- * QCObjects SDK 2.4
5
- * ________________
6
- *
7
- * Author: Jean Machuca <correojean@gmail.com>
8
- *
9
- * Cross Browser Javascript Framework for MVC Patterns
10
- * QuickCorp/QCObjects is licensed under the
11
- * GNU Lesser General Public License v3.0
12
- * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
13
- *
14
- * Permissions of this copyleft license are conditioned on making available
15
- * complete source code of licensed works and modifications under the same
16
- * license or the GNU GPLv3. Copyright and license notices must be preserved.
17
- * Contributors provide an express grant of patent rights. However, a larger
18
- * work using the licensed work through interfaces provided by the licensed
19
- * work may be distributed under different terms and without source code for
20
- * the larger work.
21
- *
22
- * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
23
- *
24
- * Everyone is permitted to copy and distribute verbatim copies of this
25
- * license document, but changing it is not allowed.
26
- */
27
- (function() {
28
- "use strict";
29
- Package("org.qcobjects.components.slider",[
30
-
31
- class SlideListComponent extends Component {
32
- tplsource="inline";
33
- template="<p>Loading...</p>";
34
- name = "slidelist";
35
-
36
- constructor (o:ComponentParams){
37
- super(o);
38
- this.body.setAttribute("controllerClass","DataGridController");
39
- const subcomponentClass = (this.body.getAttribute("subcomponentClass") !== null)?(this.body.getAttribute("subcomponentClass")):("GridItemComponent");
40
- this.body.setAttribute("subcomponentClass",subcomponentClass as string);
41
- }
42
-
43
- },
44
-
45
- class SlideItemComponent extends Component {
46
- effectClass = "Fade";
47
- name = "slider_item";
48
-
49
- constructor (o:ComponentParams) {
50
- super(o);
51
- this.data.slideNumber = this.data.__dataIndex+1;
52
- this.template= `
53
- <div class="qcoSlides" style="display:none">
54
- <div class="qco-slider__numbertext">{{slideNumber}} / {{__dataLength}}</div>
55
- <img src="{{image}}" alt="{{title}}"/>
56
- <div class="qco-slider__text">
57
- <p>{{label}} <a href="{{link}}">{{category}}</a></p>
58
- </div>
59
- </div>
60
- `;
61
- this.tplsource= "inline";
62
-
63
- }
64
-
65
- },
66
-
67
- class SliderComponent extends Component {
68
- name = "slider";
69
-
70
- constructor (o:ComponentParams) {
71
- super(o);
72
- this.template= `
73
- <style>
74
- /* Slideshow container */
75
-
76
- :host a:hover,
77
- :host a:active,
78
- :host a:visited {
79
- color: #ffffff;
80
- }
81
-
82
- {
83
- color: #ffffff;
84
- }
85
-
86
- :host .prev {left:0;}
87
- .qco-slider__container {
88
- max-width: 100%;
89
- position: relative;
90
- margin: auto;
91
- height: 300px;
92
- }
93
- :host .qco-slider__container .qcoSlides img {
94
- object-fit: cover;
95
- width: 100%;
96
- height: 300px;
97
- }
98
-
99
- /* Next & previous buttons */
100
- :host .prev,
101
- :host .next {
102
- cursor: pointer;
103
- position: absolute;
104
- top: 50%;
105
- width: auto;
106
- margin-top: -22px;
107
- padding: 16px;
108
- color: white;
109
- font-weight: bold;
110
- font-size: 18px;
111
- transition: 0.6s ease;
112
- border-radius: 0 3px 3px 0;
113
- background-color: rgba(1, 1, 1, 0.1);
114
- }
115
-
116
- /* Position the "next button" to the right */
117
- :host .next {
118
- right: 0;
119
- border-radius: 3px 0 0 3px;
120
- }
121
-
122
- /* On hover, add a black background color with a little bit see-through */
123
- :host .prev:hover,
124
- :host .next:hover {
125
- background-color: rgba(0, 0, 0, 0.8);
126
- }
127
-
128
- /* Caption text */
129
- :host .qco-slider__text {
130
- color: #f2f2f2;
131
- font-size: 15px;
132
- /* padding: 8px 12px;*/
133
- position: absolute;
134
- bottom: 8px;
135
- width: 100%;
136
- text-align: center;
137
- text-shadow: -1px 1px 3px #111111;
138
- background-color: rgba(1,1,1,0.7);
139
- }
140
-
141
- /* Number text (1/3 etc) */
142
- :host .qco-slider__numbertext {
143
- color: #f2f2f2;
144
- text-shadow: 0px 2px 3px #111111;
145
- font-size: 12px;
146
- padding: 8px 12px;
147
- position: absolute;
148
- top: 0;
149
- padding-top: 0;
150
- margin-top: 10px;
151
- }
152
-
153
- /* The dots/bullets/indicators */
154
- :host .qcoSlider__dots {
155
- text-align: center;
156
- margin: 0 auto;
157
- padding: 0;
158
- }
159
- :host .qcoSlider__dots--dot {
160
- cursor: pointer;
161
- height: 10px;
162
- width: 10px;
163
- margin: 0 2px;
164
- background-color: #bbb;
165
- border-radius: 50%;
166
- display: inline-block;
167
- transition: background-color 0.6s ease;
168
- }
169
-
170
- :host .active,
171
- :host .qcoSlider__dots--dot:hover {
172
- background-color: #717171;
173
- }
174
-
175
- :host .qco-slider__container .qcoSlides img {
176
- border-radius: 30px 30px 0px 0px;
177
- }
178
-
179
- </style>
180
-
181
- <div class="qco-slider__container">
182
- <component name="slidelist" componentClass="SlideListComponent" subcomponentClass="SlideItemComponent" serviceClass="{{SERVICE_CLASS}}" ></component>
183
-
184
- <a class="prev" onclick="global.get('{{sliderHandler}}').plusSlidesAndStop(-1)">&#10094;</a>
185
- <a class="next" onclick="global.get('{{sliderHandler}}').plusSlidesAndStop(1)">&#10095;</a>
186
- </div>
187
- <br>
188
-
189
- <div class="qcoSlider__dots" style="text-align:center">
190
- </div>
191
-
192
- `;
193
- this.tplsource= "inline";
194
- this.shadowed= true;
195
- this.data.SERVICE_CLASS = this.body.getAttribute("serviceClass");
196
- this.data.sliderHandler = "slider_"+this.__instanceID.toString();
197
- this.body.setAttribute("controllerClass","SliderController");
198
-
199
- }
200
-
201
- }
202
-
203
- ]);
204
-
205
- })();
@@ -1,28 +0,0 @@
1
- /**
2
- * QCObjects SDK 2.4.0
3
- * ________________
4
- *
5
- * Author: Jean Machuca <correojean@gmail.com>
6
- *
7
- * Cross Browser Javascript Framework for MVC Patterns
8
- * QuickCorp/QCObjects is licensed under the
9
- * GNU Lesser General Public License v3.0
10
- * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
11
- *
12
- * Permissions of this copyleft license are conditioned on making available
13
- * complete source code of licensed works and modifications under the same
14
- * license or the GNU GPLv3. Copyright and license notices must be preserved.
15
- * Contributors provide an express grant of patent rights. However, a larger
16
- * work using the licensed work through interfaces provided by the licensed
17
- * work may be distributed under different terms and without source code for
18
- * the larger work.
19
- *
20
- * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
21
- *
22
- * Everyone is permitted to copy and distribute verbatim copies of this
23
- * license document, but changing it is not allowed.
24
- */
25
- declare const SplashScreenComponent: any;
26
- declare const VideoSplashScreenComponent: any;
27
- declare const CubeSplashScreenComponent: any;
28
- export { SplashScreenComponent, VideoSplashScreenComponent, CubeSplashScreenComponent };