qcobjectsnewapp 2.4.4 → 2.4.7

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 (47) hide show
  1. package/.eslintrc.js +7 -0
  2. package/.gitlab-ci.yml +2 -1
  3. package/Dockerfile +55 -10
  4. package/README.md +141 -142
  5. package/VERSION +1 -1
  6. package/config.json +38 -0
  7. package/css/components/card.css +5 -1
  8. package/css/components/github-grid-landscape.css +6 -0
  9. package/css/components/github-grid-portrait.css +6 -0
  10. package/demo-tests/test-component-grid.html +3 -2
  11. package/demo-tests/test-component-list.html +3 -2
  12. package/demo-tests/test-component-notifications.html +3 -2
  13. package/demo-tests/test-component-slider.html +3 -2
  14. package/img/logo-qcobjects-version.svg +4 -0
  15. package/img/octocat.svg +3 -0
  16. package/index.html +0 -1
  17. package/js/init.js +11 -9
  18. package/js/packages/com.qcobjects.installer.js +10 -13
  19. package/js/packages/com.qcobjects.services.github.js +99 -0
  20. package/js/packages/org.quickcorp.custom.components.js +22 -15
  21. package/js/packages/org.quickcorp.custom.controllers.js +109 -120
  22. package/js/packages/org.quickcorp.custom.effects.js +7 -11
  23. package/js/packages/org.quickcorp.custom.js +1 -0
  24. package/js/packages/org.quickcorp.custom.models.js +9 -10
  25. package/js/packages/org.quickcorp.custom.views.js +7 -11
  26. package/package.json +13 -10
  27. package/spec/testsSpec.js +25 -29
  28. package/sw.js +122 -122
  29. package/templates/components/article1.tpl.html +5 -10
  30. package/templates/components/article2.tpl.html +5 -10
  31. package/templates/components/card.tpl.html +1 -1
  32. package/templates/components/footer.tpl.html +12 -1
  33. package/templates/components/github-card.tpl.html +7 -0
  34. package/templates/components/layout-basic.tpl.html +11 -2
  35. package/templates/components/nav.tpl.html +2 -4
  36. package/templates/components/octocat-icon.tpl.html +11 -0
  37. package/templates/components/pages/about-of.tpl.html +21 -0
  38. package/templates/components/pages/author.tpl.html +18 -0
  39. package/templates/components/pages/page1.tpl.html +2 -1
  40. package/templates/components/pages/qcobjects-forks-stars.tpl.html +5 -0
  41. package/templates/components/section1.tpl.html +0 -6
  42. package/templates/components/section2.tpl.html +1 -1
  43. package/templates/components/shadowed-card.tpl.html +12 -4
  44. package/templates/components/signupbuttons.tpl.html +19 -3
  45. package/.eslintrc.json +0 -8
  46. package/templates/components/article3.tpl.html +0 -11
  47. package/templates/components/article4.tpl.html +0 -12
package/spec/testsSpec.js CHANGED
@@ -1,44 +1,40 @@
1
1
  #!/usr/bin/env node
2
+ /* eslint-disable no-undef */
2
3
 
3
- describe('QCObjects Main Test', function () {
4
- require('qcobjects');
4
+ describe("QCObjects Main Test", function () {
5
+ require("qcobjects");
5
6
 
6
- it('Class Declaration Test Spec', function () {
7
- Class('Main', Object, {
8
- _new_: (o) => {
9
- let main = this
10
- }
11
- })
7
+ it("Class Declaration Test Spec", function () {
8
+ Class("Main", Object, {});
12
9
 
13
- expect(Main).toEqual(ClassFactory('Main'));
14
- logger.debug('Class Declaration Test Spec... OK');
10
+ expect(Main).toEqual(ClassFactory("Main"));
11
+ logger.debug("Class Declaration Test Spec... OK");
15
12
  });
16
13
 
17
- it('Main intance Test Spec', function () {
18
- let __main__ = New(Main, {})
19
- expect(typeof __main__.__instanceID).toEqual('number');
20
- expect(__main__.__classType).toEqual('Main')
21
- logger.debug('Main intance Test Spec... OK');
14
+ it("Main intance Test Spec", function () {
15
+ const __main__ = New(Main, {});
16
+ expect(typeof __main__.__instanceID).toEqual("number");
17
+ expect(__main__.__classType).toEqual("Main");
18
+ logger.debug("Main intance Test Spec... OK");
22
19
  });
23
20
 
24
- it('Existence of Component Class', function () {
25
- expect(Component).toEqual(ClassFactory('Component'));
26
- logger.debug('Existence of Component Class... OK');
21
+ it("Existence of Component Class", function () {
22
+ expect(Component).toEqual(ClassFactory("Component"));
23
+ logger.debug("Existence of Component Class... OK");
27
24
  });
28
25
 
29
- it('Existence of Effect Class', function () {
30
- expect(Effect).toEqual(ClassFactory('Effect'));
31
- logger.debug('Existence of Effect Class... OK');
26
+ it("Existence of Effect Class", function () {
27
+ expect(Effect).toEqual(ClassFactory("Effect"));
28
+ logger.debug("Existence of Effect Class... OK");
32
29
  });
33
30
 
34
- it('global as QCObjects global', function () {
35
- expect(typeof global.__definition).toEqual('object');
36
- logger.debug('global as QCObjects global... OK');
31
+ it("global as QCObjects global", function () {
32
+ expect(typeof global.__definition).toEqual("object");
33
+ logger.debug("global as QCObjects global... OK");
37
34
  });
38
35
 
39
- it('Existence of QCObjects SDK', function () {
40
- expect(global.hasOwnProperty('_sdk_')).toEqual(true);
41
- logger.debug('Existence of QCObjects SDK... OK');
36
+ it("Existence of QCObjects SDK", function () {
37
+ expect(Object.hasOwnProperty.call(global, "_sdk_")).toEqual(true);
38
+ logger.debug("Existence of QCObjects SDK... OK");
42
39
  });
43
-
44
- })
40
+ });
package/sw.js CHANGED
@@ -25,130 +25,130 @@
25
25
  "use strict";
26
26
  const version = "1.2.93";
27
27
  const appName = "qcobjectsnewapp";
28
- const cacheSufix = (Math.round(Date.now()/(1000*3600))).toString(); // 1 hour
28
+ const cacheSufix = (Math.round(Date.now() / (1000 * 3600))).toString(); // 1 hour
29
29
  const cacheName = `qcobjects-app-${appName}-${version}-${cacheSufix}`;
30
- const start_url = "/?homescreen=1";
30
+ const startUrl = "/?homescreen=1";
31
31
  caches.delete(cacheName); // force to reload cache for the first time the sw is loaded
32
32
  self.addEventListener("install", e => {
33
33
  e.waitUntil(
34
34
  caches.open(cacheName).then(cache => {
35
- return cache.addAll([`${start_url}`,
36
- "/",
37
- "Dockerfile",
38
- "LICENSE.txt",
39
- "README.md",
40
- "VERSION",
41
- "app.js",
42
- "coverage/lcov-report/base.css",
43
- "coverage/lcov-report/block-navigation.js",
44
- "coverage/lcov-report/favicon.png",
45
- "coverage/lcov-report/index.html",
46
- "coverage/lcov-report/prettify.css",
47
- "coverage/lcov-report/prettify.js",
48
- "coverage/lcov-report/sort-arrow-sprite.png",
49
- "coverage/lcov-report/sorter.js",
50
- "coverage/lcov-report/testsSpec.js.html",
51
- "coverage/lcov.info",
52
- "css/components/button.css",
53
- "css/components/card.css",
54
- "css/components/hero/hero-call-to-action.css",
55
- "css/components/hero/hero-overlay.css",
56
- "css/components/hero/hero-two-column-form.css",
57
- "css/components/modal.css",
58
- "css/desktop/container.css",
59
- "css/desktop/content.css",
60
- "css/desktop/footer.css",
61
- "css/desktop/index.css",
62
- "css/desktop/navbar.css",
63
- "css/desktop/sidebar.css",
64
- "css/index.css",
65
- "css/mobile/content.css",
66
- "css/mobile/footer.css",
67
- "css/mobile/index.css",
68
- "css/mobile/navbar.css",
69
- "css/mobile/sidebar.css",
70
- "css/modern-base.css",
71
- "css/theme/basic/style.css",
72
- "css/theme/cyan/style.css",
73
- "css/theme/redlight/style.css",
74
- "css/theme/xtra/style.css",
75
- "favicon.ico",
76
- "humans.txt",
77
- "img/Q_web copy.png",
78
- "img/Q_web-white.png",
79
- "img/Q_web.png",
80
- "img/Q_web.svg",
81
- "img/icons/icon-128x128.png",
82
- "img/icons/icon-144x144.png",
83
- "img/icons/icon-152x152.png",
84
- "img/icons/icon-192x192.png",
85
- "img/icons/icon-384x384.png",
86
- "img/icons/icon-512x512.png",
87
- "img/icons/icon-72x72.png",
88
- "img/icons/icon-96x96.png",
89
- "img/logo-qcobjects-white-powered-quickcorp.svg",
90
- "img/logo-qcobjects-white.svg",
91
- "img/logo.png",
92
- "img/placeholder.svg",
93
- "img/screenshots/screenshot1.png",
94
- "img/screenshots/screenshot1.webp",
95
- "img/screenshots/screenshot2.png",
96
- "img/screenshots/screenshot2.webp",
97
- "index.html",
98
- "js/init.js",
99
- "js/packages/com.qcobjects.installer.js",
100
- "js/packages/org.quickcorp.custom.components.js",
101
- "js/packages/org.quickcorp.custom.controllers.js",
102
- "js/packages/org.quickcorp.custom.effects.js",
103
- "js/packages/org.quickcorp.custom.js",
104
- "js/packages/org.quickcorp.custom.models.js",
105
- "js/packages/org.quickcorp.custom.views.js",
106
- "manifest.json",
107
- "qcobjectsnewapp.iml",
108
- "robots.txt",
109
- "spec/support/jasmine.json",
110
- "spec/testsSpec.js",
111
- "templates/components/article1.tpl.html",
112
- "templates/components/article2.tpl.html",
113
- "templates/components/article3.tpl.html",
114
- "templates/components/article4.tpl.html",
115
- "templates/components/blank.tpl.html",
116
- "templates/components/card.tpl.html",
117
- "templates/components/contentblock.tpl.html",
118
- "templates/components/footer.tpl.html",
119
- "templates/components/footer2.tpl.html",
120
- "templates/components/header.tpl.html",
121
- "templates/components/hero/hero-call-to-action.tpl.html",
122
- "templates/components/hero/hero-overlay.tpl.html",
123
- "templates/components/hero/hero-two-column-form.tpl.html",
124
- "templates/components/install-button.tpl.html",
125
- "templates/components/layout-basic.tpl.html",
126
- "templates/components/loading.tpl.html",
127
- "templates/components/loadingfooter.tpl.html",
128
- "templates/components/login-button.tpl.html",
129
- "templates/components/login2.tpl.html",
130
- "templates/components/loginform.tpl.html",
131
- "templates/components/modal.tpl.html",
132
- "templates/components/nav.tpl.html",
133
- "templates/components/pages/page1.tpl.html",
134
- "templates/components/pages/page2.tpl.html",
135
- "templates/components/pages/page3.tpl.html",
136
- "templates/components/product.tpl.html",
137
- "templates/components/profile.tpl.html",
138
- "templates/components/section1.tpl.html",
139
- "templates/components/section2.tpl.html",
140
- "templates/components/shadowed-card.tpl.html",
141
- "templates/components/signin-button.tpl.html",
142
- "templates/components/signup-form.tpl.html",
143
- "templates/components/signup.tpl.html",
144
- "templates/components/signupbuttons.tpl.html",
145
- "templates/components/signupform.tpl.html",
146
- "templates/components/signuppage.tpl.html",
147
- "templates/components/signupsuccessful.tpl.html",
148
- "templates/components/signupsuccessfulfooter.tpl.html",
149
- "templates/components/splashscreen.tpl.html",
150
- "templates/components/topmenu.tpl.html"])
151
- .then(() => self.skipWaiting());
35
+ return cache.addAll([`${startUrl}`,
36
+ "/",
37
+ "Dockerfile",
38
+ "LICENSE.txt",
39
+ "README.md",
40
+ "VERSION",
41
+ "app.js",
42
+ "coverage/lcov-report/base.css",
43
+ "coverage/lcov-report/block-navigation.js",
44
+ "coverage/lcov-report/favicon.png",
45
+ "coverage/lcov-report/index.html",
46
+ "coverage/lcov-report/prettify.css",
47
+ "coverage/lcov-report/prettify.js",
48
+ "coverage/lcov-report/sort-arrow-sprite.png",
49
+ "coverage/lcov-report/sorter.js",
50
+ "coverage/lcov-report/testsSpec.js.html",
51
+ "coverage/lcov.info",
52
+ "css/components/button.css",
53
+ "css/components/card.css",
54
+ "css/components/hero/hero-call-to-action.css",
55
+ "css/components/hero/hero-overlay.css",
56
+ "css/components/hero/hero-two-column-form.css",
57
+ "css/components/modal.css",
58
+ "css/desktop/container.css",
59
+ "css/desktop/content.css",
60
+ "css/desktop/footer.css",
61
+ "css/desktop/index.css",
62
+ "css/desktop/navbar.css",
63
+ "css/desktop/sidebar.css",
64
+ "css/index.css",
65
+ "css/mobile/content.css",
66
+ "css/mobile/footer.css",
67
+ "css/mobile/index.css",
68
+ "css/mobile/navbar.css",
69
+ "css/mobile/sidebar.css",
70
+ "css/modern-base.css",
71
+ "css/theme/basic/style.css",
72
+ "css/theme/cyan/style.css",
73
+ "css/theme/redlight/style.css",
74
+ "css/theme/xtra/style.css",
75
+ "favicon.ico",
76
+ "humans.txt",
77
+ "img/Q_web copy.png",
78
+ "img/Q_web-white.png",
79
+ "img/Q_web.png",
80
+ "img/Q_web.svg",
81
+ "img/icons/icon-128x128.png",
82
+ "img/icons/icon-144x144.png",
83
+ "img/icons/icon-152x152.png",
84
+ "img/icons/icon-192x192.png",
85
+ "img/icons/icon-384x384.png",
86
+ "img/icons/icon-512x512.png",
87
+ "img/icons/icon-72x72.png",
88
+ "img/icons/icon-96x96.png",
89
+ "img/logo-qcobjects-white-powered-quickcorp.svg",
90
+ "img/logo-qcobjects-white.svg",
91
+ "img/logo.png",
92
+ "img/placeholder.svg",
93
+ "img/screenshots/screenshot1.png",
94
+ "img/screenshots/screenshot1.webp",
95
+ "img/screenshots/screenshot2.png",
96
+ "img/screenshots/screenshot2.webp",
97
+ "index.html",
98
+ "js/init.js",
99
+ "js/packages/com.qcobjects.installer.js",
100
+ "js/packages/org.quickcorp.custom.components.js",
101
+ "js/packages/org.quickcorp.custom.controllers.js",
102
+ "js/packages/org.quickcorp.custom.effects.js",
103
+ "js/packages/org.quickcorp.custom.js",
104
+ "js/packages/org.quickcorp.custom.models.js",
105
+ "js/packages/org.quickcorp.custom.views.js",
106
+ "manifest.json",
107
+ "qcobjectsnewapp.iml",
108
+ "robots.txt",
109
+ "spec/support/jasmine.json",
110
+ "spec/testsSpec.js",
111
+ "templates/components/article1.tpl.html",
112
+ "templates/components/article2.tpl.html",
113
+ "templates/components/article3.tpl.html",
114
+ "templates/components/article4.tpl.html",
115
+ "templates/components/blank.tpl.html",
116
+ "templates/components/card.tpl.html",
117
+ "templates/components/contentblock.tpl.html",
118
+ "templates/components/footer.tpl.html",
119
+ "templates/components/footer2.tpl.html",
120
+ "templates/components/header.tpl.html",
121
+ "templates/components/hero/hero-call-to-action.tpl.html",
122
+ "templates/components/hero/hero-overlay.tpl.html",
123
+ "templates/components/hero/hero-two-column-form.tpl.html",
124
+ "templates/components/install-button.tpl.html",
125
+ "templates/components/layout-basic.tpl.html",
126
+ "templates/components/loading.tpl.html",
127
+ "templates/components/loadingfooter.tpl.html",
128
+ "templates/components/login-button.tpl.html",
129
+ "templates/components/login2.tpl.html",
130
+ "templates/components/loginform.tpl.html",
131
+ "templates/components/modal.tpl.html",
132
+ "templates/components/nav.tpl.html",
133
+ "templates/components/pages/page1.tpl.html",
134
+ "templates/components/pages/page2.tpl.html",
135
+ "templates/components/pages/page3.tpl.html",
136
+ "templates/components/product.tpl.html",
137
+ "templates/components/profile.tpl.html",
138
+ "templates/components/section1.tpl.html",
139
+ "templates/components/section2.tpl.html",
140
+ "templates/components/shadowed-card.tpl.html",
141
+ "templates/components/signin-button.tpl.html",
142
+ "templates/components/signup-form.tpl.html",
143
+ "templates/components/signup.tpl.html",
144
+ "templates/components/signupbuttons.tpl.html",
145
+ "templates/components/signupform.tpl.html",
146
+ "templates/components/signuppage.tpl.html",
147
+ "templates/components/signupsuccessful.tpl.html",
148
+ "templates/components/signupsuccessfulfooter.tpl.html",
149
+ "templates/components/splashscreen.tpl.html",
150
+ "templates/components/topmenu.tpl.html"])
151
+ .then(() => self.skipWaiting());
152
152
  })
153
153
  );
154
154
  });
@@ -160,9 +160,9 @@ self.addEventListener("activate", event => {
160
160
  self.addEventListener("fetch", event => {
161
161
  event.respondWith(
162
162
  caches.open(cacheName)
163
- .then(cache => cache.match(event.request, {ignoreSearch: true}))
163
+ .then(cache => cache.match(event.request, { ignoreSearch: true }))
164
164
  .then(response => {
165
- return response || fetch(event.request);
166
- })
165
+ return response || fetch(event.request);
166
+ })
167
167
  );
168
168
  });
@@ -1,11 +1,6 @@
1
- <h1>Latest Products</h1>
2
- <p>Find our latest products here </p>
1
+ <h1>Latest Projects</h1>
2
+ <p>Here is a list of QCObjects Projects on GitHub</p>
3
3
  <p></p>
4
- <component name="grid" template-source="none">
5
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
6
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
7
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
8
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
9
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
10
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
11
- </component>
4
+ <github-grid cols=2 componentClass="GitHubGrid"
5
+ serviceClass="GitHubTagService" response-to="data">
6
+ </github-grid>
@@ -1,11 +1,6 @@
1
- <h1>Featured products</h1>
1
+ <h1>QuickCorp Projects</h1>
2
+ <p>Here is a list of QuickCorp Projects on GitHub</p>
2
3
  <p></p>
3
- <p>Bea amazed with our featured products</p>
4
- <component name="grid" template-source="none">
5
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
6
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
7
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
8
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
9
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
10
- <component name="card" data-title="title" data-description="description" data-image="Q_web.png"></component>
11
- </component>
4
+ <github-grid cols=2 componentClass="GitHubGrid"
5
+ serviceClass="GitHubService" response-to="data">
6
+ </github-grid>
@@ -1,4 +1,4 @@
1
- <component name="shadowed-card" shadowed="true" data-title="{{title}}"
1
+ <component name="shadowed-card" shadowed="true" data-title="{{title}}" effectClass="MainTransitionEffect" apply-effect-to=observe
2
2
  data-description="{{description}}" data-image="{{image}}" data-price="{{price}}">
3
3
 
4
4
  <img slot="logo" src="img/{{image}}" alt="Avatar" style="width:100%">
@@ -1 +1,12 @@
1
- <p>Footer</p>
1
+ <style>
2
+ :host {
3
+ height: 40px;
4
+ }
5
+ div {
6
+ float: left;
7
+ }
8
+ </style>
9
+ <div>
10
+ <p>Check out the code of this app in <a href="https://github.com/QuickCorp/qcobjects-new-app"><b>GitHub</b></a></p>
11
+ <octocat-icon data-url="https://github.com/QuickCorp/qcobjects-new-app"></octocat-icon>
12
+ </div>
@@ -0,0 +1,7 @@
1
+ <quick-component name="shadowed-card" shadowed="true" data-title="{{title}}" effectClass="MainTransitionEffect" apply-effect-to=observe
2
+ data-description="{{description}}" data-image="{{image}}" data-price="{{price}}">
3
+
4
+ <a href="{{url}}" slot="logo"><img src="{{image}}" alt="Avatar" style="width:100%"/></a>
5
+ <a href="{{url}}" slot="card_title"><b>{{title}}</b></a>
6
+ <div slot="card_description">{{description}}</div>
7
+ </quick-component>
@@ -13,8 +13,11 @@
13
13
 
14
14
  <header>
15
15
  <component name="header" shadowed="true" controllerClass="HeaderController" effectClass="MainTransitionEffect">
16
+ <routing path="#author" name="blank"></routing>
17
+ <routing path="#about-of" name="blank"></routing>
16
18
  <routing path="^#signup$" name="blank"></routing>
17
19
  <routing path="^#signin$" name="blank"></routing>
20
+ <routing path="^#author$" name="blank"></routing>
18
21
  <routing path="^#page1$" name="blank"></routing>
19
22
  <routing path="^#page2$" name="blank"></routing>
20
23
  <routing path="^#page3$" name="header"></routing>
@@ -30,6 +33,8 @@
30
33
  <nav>
31
34
  <span class="topnav">
32
35
  <component name="topmenu">
36
+ <routing path="#author" name="blank"></routing>
37
+ <routing path="#about-of" name="blank"></routing>
33
38
  <routing path="#page1" name="blank"></routing>
34
39
  <routing path="#page2" name="blank"></routing>
35
40
  <routing path="#page3" name="blank"></routing>
@@ -46,6 +51,8 @@
46
51
  <main role="main">
47
52
  <section>
48
53
  <component name="contentblock" effectClass="MainTransitionEffect">
54
+ <routing path="#author" name="pages/author"></routing>
55
+ <routing path="#about-of" name="pages/about-of"></routing>
49
56
  <routing path="#page1" name="pages/page1"></routing>
50
57
  <routing path="#page2" name="pages/page2"></routing>
51
58
  <routing path="#page3" name="pages/page3"></routing>
@@ -60,7 +67,9 @@
60
67
  </section>
61
68
  </main>
62
69
  <footer>
63
- <component name="footer" effectClass="MainTransitionEffect">
70
+ <component name="footer" shadowed="true" effectClass="MainTransitionEffect">
71
+ <routing path="#author" name="blank"></routing>
72
+ <routing path="#about-of" name="blank"></routing>
64
73
  <routing path="^#signup$" name="signupbuttons"></routing>
65
74
  <routing path="^#loading$" name="loadingfooter"></routing>
66
75
  <routing path="^#signupsuccessful$" name="signupsuccessfulfooter"></routing>
@@ -70,4 +79,4 @@
70
79
  <routing path="#" name="footer"></routing>
71
80
  <routing path="" name="footer"></routing>
72
81
  </component>
73
- </footer>
82
+ </footer>
@@ -4,7 +4,6 @@
4
4
  <summary>Main</summary>
5
5
  <ul>
6
6
  <li><a onclick="global.sideNavController.close()" href="/#">Main</a></li>
7
-
8
7
  </ul>
9
8
  </details>
10
9
  <details>
@@ -17,9 +16,8 @@
17
16
  <details>
18
17
  <summary>Other</summary>
19
18
  <ul>
20
- <li><a onclick="global.sideNavController.close()" href="/#page1">Page 1</a></li>
21
- <li><a onclick="global.sideNavController.close()" href="/#page2">Page 2</a></li>
22
- <li><a onclick="global.sideNavController.close()" href="/#page3">Page 3</a></li>
19
+ <li><a onclick="global.sideNavController.close()" href="/#author">Author</a></li>
20
+ <li><a onclick="global.sideNavController.close()" href="/#about-of">About QCObjects</a></li>
23
21
  </ul>
24
22
  </details>
25
23
  </div>
@@ -0,0 +1,11 @@
1
+ <style>
2
+ :host {
3
+ margin: 1%;
4
+ top: 0;
5
+ right: 0;
6
+ position: absolute;
7
+ cursor: pointer;
8
+ }
9
+ </style>
10
+ <a href="{{url}}"><quick-component name="../../img/octocat"
11
+ tplextension="svg"></quick-component></a>
@@ -0,0 +1,21 @@
1
+ <style>
2
+ .logo {
3
+ display: block;
4
+ }
5
+ </style>
6
+ <div style="position: absolute; top: 125px;margin: auto 30px; padding-bottom: 80px;">
7
+ <component class="logo" serviceClass="QCObjectsVersionService" response-to="data"
8
+ name="../../img/logo-qcobjects-version" tplextension="svg" style="width:100%"></component>
9
+
10
+ <div class="css-nil">
11
+ <h2 class="css-i52n91">What is QCObjects Framework?</h2>
12
+ <div class="css-13sfqhu">It is a powerful framework to build cross-platform web applications. You can use it to
13
+ build an API in Node and to build the front-end in the browser as well. Killer features are dynamic link capturing
14
+ and regex routing, On-demand resources loading and multi-layer components. In the front-end it has PWA built-in
15
+ features as responsive layout design, and in the back-end it has a micro services middleware.</div>
16
+ <div class="css-13sfqhu">QCObjects Framework is a tool in the <strong>Frameworks (Full Stack)</strong> category of a
17
+ tech stack.</div>
18
+ <component name="pages/qcobjects-forks-stars" serviceClass="QCObjectsStarsForksService" response-to="data"></component>
19
+ <div class="css-13sfqhu"></div>
20
+ </div>
21
+ </div>
@@ -0,0 +1,18 @@
1
+ <div style="position: absolute; top: 125px;margin: auto 30px; padding-bottom: 30px;">
2
+ <img src="https://qcobjects.dev/doc/img/jeanmachuca.png" alt="jeanmachuca">
3
+ <h1 id="about-the-author">About the author:</h1>
4
+ <ul>
5
+ <li>Jean Machuca is the author of QCObjects and he has over 20 years of experience doing software<br>
6
+ in different programming languages for banking, health, retail and advertising industries.</li>
7
+ </ul>
8
+ <h2 id="a-brief-of-the-story-of-jean-and-his-purpose">A brief of the story of Jean and his purpose:</h2>
9
+ <p>He published the first commit of QCObjects in 2015 focusing its development<br>
10
+ in quality over quantity.<br>
11
+ The main goal of Jean doing QCObjects was to be happy while coding the lots of custom software for the customers of QuickCorp, its own company since 2014.<br>
12
+ To read ilegible code is very frustrating and unhappy. To avoid this, Jean created a framework to code fancy, clean and quick using a single technology for backend and front-end together, and he did it based in the most used language of the world (JavaScript).</p>
13
+ <p>QCObjects was introduced to the world's market in July of 2019 in the RISE Conference, the largest tech conference of Asia, and it was been exhibited in the Web Summit on Lisbon 2019, the best technology conference on the planet.
14
+ <a href="https://britishherald.com/qcobjects-the-first-world-class-tech-framework-made-in-south-america-is-meant-to-make-developers-happier-while-they-code/">QCObjects is being featured by British Herald as today, the most advanced framework for modern software development.</a></p>
15
+ <p>Now, almost anyone in the world can use QCObjects to develop almost any kind of end to end solutions, and they can quick start in just one step.</p>
16
+ <p>Jean's dream is to become QCObjects into the next-generation tool for software development</p>
17
+ <p>You want to know more about Jean? Meet him in person here in a <a href="https://superpeer.com/qcobjects">video chat</a></p>
18
+ </div>
@@ -1 +1,2 @@
1
- this is the page 1
1
+ <lib-list componentClass="ListComponent" serviceClass="GitHubTagService" label-field="title"
2
+ value-field="url"></lib-list>
@@ -0,0 +1,5 @@
1
+ <div class="css-13sfqhu">QCObjects Framework is an open source tool with <strong>{{stars}}</strong> GitHub stars and
2
+ <strong>{{forks}}</strong> GitHub forks. The size of its core repo is only <strong>{{size}}kb</strong>.
3
+ Here’s a link to QCObjects Framework's open source repository on <a
4
+ href="https://github.com/QuickCorp/QCObjects" title="QCObjects Framework's GitHub" class="css-bjhznw">GitHub</a>
5
+ </div>
@@ -1,9 +1,3 @@
1
1
  <article>
2
2
  <component name="article1"></component>
3
3
  </article>
4
- <article>
5
- <component name="article2"></component>
6
- </article>
7
- <article>
8
- <component name="article3"></component>
9
- </article>
@@ -1,3 +1,3 @@
1
1
  <article>
2
- <component name="article4"></component>
2
+ <component name="article2"></component>
3
3
  </article>
@@ -9,12 +9,20 @@ To use this card, insert this component tag in your container file
9
9
  </style>
10
10
 
11
11
  <div class="card">
12
+ <div class="img">
12
13
  <slot id="slot-logo" name="logo"><img src="img/placeholder.svg" alt="Avatar" style="width:100%"></slot>
14
+ </div>
13
15
  <div class="container">
14
- <h4>
15
- <slot id="slot-card-title" name="card_title"></slot>
16
- </h4>
16
+ <div class="title">
17
+ <h4>
18
+ <slot id="slot-card-title" name="card_title"></slot>
19
+ </h4>
20
+ </div>
21
+ <div class="description">
17
22
  <slot id="slot-card-description" name="card_description"></slot>
18
- <slot id="slot-card-button" name="card-button" ></slot>
23
+ </div>
24
+ <div class="card-button">
25
+ <slot id="slot-card-button" name="card-button" ></slot>
26
+ </div>
19
27
  </div>
20
28
  </div>
@@ -1,4 +1,20 @@
1
+ <style>
2
+ @import url("css/components/button.css");
3
+
4
+ /* Float cancel and signup buttons and add an equal width */
5
+ .cancelbtn,
6
+ .signupbtn {
7
+ float: left;
8
+ width: 45%;
9
+ margin: 0.5%;
10
+ }
11
+ </style>
1
12
  <div class="clearfix">
2
- <button aria-label="Cancel" onclick="location.href='/#'" role="button" tabindex="-1" type="button" class="cancelbtn"><p>Cancel</p></button>
3
- <button aria-label="Send" role="button" tabindex="-1" type="button" class="signupbtn submit"><p>Send</p></button>
4
- </div>
13
+ <button aria-label="Cancel" onclick="location.href='/#'" role="button" tabindex="-1" type="button"
14
+ class="cancelbtn">
15
+ <p>Cancel</p>
16
+ </button>
17
+ <button aria-label="Send" role="button" tabindex="-1" type="button" class="signupbtn submit">
18
+ <p>Send</p>
19
+ </button>
20
+ </div>
package/.eslintrc.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "extends": [
3
- "qcobjects"
4
- ],
5
- "parserOptions": {
6
- "sourceType": "module"
7
- }
8
- }