qcobjectsnewapp 2.4.40-ts → 2.5.6-ts
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/.github/workflows/npmpublish.yml +49 -0
- package/.github/workflows/static.yml +7 -13
- package/CHANGELOG.md +48 -0
- package/LICENSE.txt +21 -56
- package/README.md +6 -1
- package/VERSION +1 -1
- package/package.json +20 -34
- package/public/404.html +51 -0
- package/public/_redirects +3 -0
- package/public/css/body-layout.css +2 -0
- package/public/css/body-layout.css.map +7 -0
- package/public/css/components/button.css +17 -0
- package/public/css/components/button.css.map +7 -0
- package/public/css/components/card.css +17 -0
- package/public/css/components/card.css.map +7 -0
- package/public/css/components/hero/hero-call-to-action.css +124 -0
- package/public/css/components/hero/hero-overlay.css +122 -0
- package/public/css/components/hero/hero-two-column-form.css +167 -0
- package/public/css/components/modal.css +17 -0
- package/public/css/components/modal.css.map +7 -0
- package/public/css/desktop/components/deploy-grid.css +3 -0
- package/public/css/desktop/components/github-grid.css +7 -0
- package/public/css/desktop/container.css +17 -0
- package/public/css/desktop/container.css.map +7 -0
- package/public/css/desktop/content.css +17 -0
- package/public/css/desktop/content.css.map +7 -0
- package/public/css/desktop/footer.css +1 -0
- package/public/css/desktop/footer.css.map +7 -0
- package/public/css/desktop/index.css +17 -0
- package/public/css/desktop/index.css.map +7 -0
- package/public/css/desktop/navbar.css +17 -0
- package/public/css/desktop/navbar.css.map +7 -0
- package/public/css/desktop/sidebar.css +1 -0
- package/public/css/desktop/sidebar.css.map +7 -0
- package/public/css/index.css +17 -0
- package/public/css/index.css.map +7 -0
- package/public/css/mobile/components/deploy-grid.css +8 -0
- package/public/css/mobile/components/github-grid.css +7 -0
- package/public/css/mobile/content.css +17 -0
- package/public/css/mobile/content.css.map +7 -0
- package/public/css/mobile/footer.css +1 -0
- package/public/css/mobile/footer.css.map +7 -0
- package/public/css/mobile/index.css +17 -0
- package/public/css/mobile/index.css.map +7 -0
- package/public/css/mobile/navbar.css +17 -0
- package/public/css/mobile/navbar.css.map +7 -0
- package/public/css/mobile/sidebar.css +1 -0
- package/public/css/mobile/sidebar.css.map +7 -0
- package/public/css/modern-base.css +17 -0
- package/public/css/modern-base.css.map +7 -0
- package/public/css/theme/basic/style.css +65 -0
- package/public/css/theme/cyan/style.css +66 -0
- package/public/css/theme/redlight/style.css +63 -0
- package/public/css/theme/xtra/style.css +1652 -0
- package/public/favicon.ico +0 -0
- package/public/humans.txt +14 -0
- package/public/img/Q_web copy.png +0 -0
- package/public/img/Q_web-white.png +0 -0
- package/public/img/Q_web.png +0 -0
- package/public/img/Q_web.svg +37 -0
- package/public/img/awsmplogo3.svg +106 -0
- package/public/img/icons/icon-128x128.png +0 -0
- package/public/img/icons/icon-144x144.png +0 -0
- package/public/img/icons/icon-152x152.png +0 -0
- package/public/img/icons/icon-192x192.png +0 -0
- package/public/img/icons/icon-384x384.png +0 -0
- package/public/img/icons/icon-512x512.png +0 -0
- package/public/img/icons/icon-72x72.png +0 -0
- package/public/img/icons/icon-96x96.png +0 -0
- package/public/img/logo-qcobjects-back-bg-white-icon.svg +64 -0
- package/public/img/logo-qcobjects-version.svg +4 -0
- package/public/img/logo-qcobjects-white-bg-back-icon.svg +73 -0
- package/public/img/logo-qcobjects-white-black-bg.svg +117 -0
- package/public/img/logo-qcobjects-white-powered-quickcorp.svg +176 -0
- package/public/img/logo-qcobjects-white.svg +1 -0
- package/public/img/logo.png +0 -0
- package/public/img/netlify-button.svg +1 -0
- package/public/img/octocat.svg +5 -0
- package/public/img/placeholder.svg +26 -0
- package/public/img/screenshots/screenshot1.png +0 -0
- package/public/img/screenshots/screenshot1.webp +0 -0
- package/public/img/screenshots/screenshot2.png +0 -0
- package/public/img/screenshots/screenshot2.webp +0 -0
- package/public/index-fallback.html +47 -0
- package/public/index.html +51 -0
- package/public/js/config.js +22 -0
- package/public/js/config.js.map +7 -0
- package/public/js/customWidgets.js +22 -0
- package/public/js/customWidgets.js.map +7 -0
- package/public/js/init.js +832 -0
- package/public/js/init.js.map +7 -0
- package/public/js/packages/com.qcobjects.installer.js +719 -0
- package/public/js/packages/com.qcobjects.installer.js.map +7 -0
- package/public/js/packages/com.qcobjects.services.github.js +22 -0
- package/public/js/packages/com.qcobjects.services.github.js.map +7 -0
- package/public/js/packages/com.qcobjects.services.newapp.js +22 -0
- package/public/js/packages/com.qcobjects.services.newapp.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.components.js +133 -0
- package/public/js/packages/org.quickcorp.custom.components.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.controllers.js +721 -0
- package/public/js/packages/org.quickcorp.custom.controllers.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.effects.js +22 -0
- package/public/js/packages/org.quickcorp.custom.effects.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.js +832 -0
- package/public/js/packages/org.quickcorp.custom.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.models.js +22 -0
- package/public/js/packages/org.quickcorp.custom.models.js.map +7 -0
- package/public/js/packages/org.quickcorp.custom.views.js +22 -0
- package/public/js/packages/org.quickcorp.custom.views.js.map +7 -0
- package/public/manifest.json +100 -0
- package/public/robots.txt +5 -0
- package/public/sw.js +256 -0
- package/public/templates/components/article1.tpl.html +6 -0
- package/public/templates/components/article2.tpl.html +6 -0
- package/public/templates/components/aws-button.tpl.html +18 -0
- package/public/templates/components/blank.tpl.html +0 -0
- package/public/templates/components/card.tpl.html +8 -0
- package/public/templates/components/codespaces-button.tpl.html +27 -0
- package/public/templates/components/contentblock.tpl.html +6 -0
- package/public/templates/components/footer.tpl.html +13 -0
- package/public/templates/components/footer2.tpl.html +1 -0
- package/public/templates/components/github-button.tpl.html +34 -0
- package/public/templates/components/github-card.tpl.html +7 -0
- package/public/templates/components/gitpod-button.tpl.html +56 -0
- package/public/templates/components/header.tpl.html +20 -0
- package/public/templates/components/hero/hero-call-to-action.tpl.html +11 -0
- package/public/templates/components/hero/hero-overlay.tpl.html +11 -0
- package/public/templates/components/hero/hero-two-column-form.tpl.html +21 -0
- package/public/templates/components/install-button.tpl.html +30 -0
- package/public/templates/components/layout-basic.tpl.html +80 -0
- package/public/templates/components/loading.tpl.html +12 -0
- package/public/templates/components/loadingfooter.tpl.html +1 -0
- package/public/templates/components/login-button.tpl.html +101 -0
- package/public/templates/components/login2.tpl.html +3 -0
- package/public/templates/components/loginform.tpl.html +7 -0
- package/public/templates/components/modal.tpl.html +13 -0
- package/public/templates/components/nav.tpl.html +31 -0
- package/public/templates/components/netlify-button.tpl.html +19 -0
- package/public/templates/components/octocat-icon.tpl.html +13 -0
- package/public/templates/components/pages/about-of.tpl.html +21 -0
- package/public/templates/components/pages/author.tpl.html +23 -0
- package/public/templates/components/pages/page1.tpl.html +2 -0
- package/public/templates/components/pages/page2.tpl.html +1 -0
- package/public/templates/components/pages/page3.tpl.html +1 -0
- package/public/templates/components/pages/qcobjects-forks-stars.tpl.html +5 -0
- package/public/templates/components/product.tpl.html +9 -0
- package/public/templates/components/profile.tpl.html +1 -0
- package/public/templates/components/section1.tpl.html +3 -0
- package/public/templates/components/section2.tpl.html +3 -0
- package/public/templates/components/shadowed-card.tpl.html +26 -0
- package/public/templates/components/signin-button.tpl.html +107 -0
- package/public/templates/components/signup-form.tpl.html +145 -0
- package/public/templates/components/signup.tpl.html +11 -0
- package/public/templates/components/signupbuttons.tpl.html +20 -0
- package/public/templates/components/signupform.tpl.html +4 -0
- package/public/templates/components/signuppage.tpl.html +12 -0
- package/public/templates/components/signupsuccessful.tpl.html +13 -0
- package/public/templates/components/signupsuccessfulfooter.tpl.html +3 -0
- package/public/templates/components/splashscreen.tpl.html +128 -0
- package/public/templates/components/topmenu.tpl.html +8 -0
- package/spec/testsSpec.js +19 -8
- package/src/css/components/button.css +2 -11
- package/src/css/components/card.css +2 -11
- package/src/css/components/hero/hero-call-to-action.css +2 -11
- package/src/css/components/hero/hero-overlay.css +2 -11
- package/src/css/components/hero/hero-two-column-form.css +2 -11
- package/src/css/components/modal.css +2 -11
- package/src/css/desktop/container.css +2 -11
- package/src/css/desktop/content.css +2 -11
- package/src/css/desktop/index.css +2 -11
- package/src/css/desktop/navbar.css +2 -11
- package/src/css/index.css +2 -11
- package/src/css/mobile/content.css +2 -11
- package/src/css/mobile/index.css +2 -11
- package/src/css/mobile/navbar.css +2 -11
- package/src/css/modern-base.css +2 -11
- package/src/css/theme/basic/style.css +2 -11
- package/src/css/theme/cyan/style.css +2 -11
- package/src/css/theme/redlight/style.css +2 -11
- package/src/js/init.d.ts +3 -12
- package/src/js/init.ts +3 -12
- package/src/sw.js +2 -11
- package/tsconfig.d.json +8 -2
- package/tsconfig.json +21 -5
- package/.eslintignore +0 -4
- package/.eslintrc.cjs +0 -6
- package/.github/workflows/npmpublish-beta.yml +0 -38
- package/.github/workflows/npmpublish-lts.yml +0 -38
- package/.github/workflows/npmpublish-main.yml +0 -38
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: Node.js Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*.*.*'
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v6
|
|
13
|
+
with:
|
|
14
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
15
|
+
ref: ${{ github.ref }}
|
|
16
|
+
- uses: actions/setup-node@v6
|
|
17
|
+
with:
|
|
18
|
+
node-version: 22
|
|
19
|
+
- run: npm i --legacy-peer-deps
|
|
20
|
+
- run: npm run build
|
|
21
|
+
- run: npm test
|
|
22
|
+
|
|
23
|
+
publish-npm:
|
|
24
|
+
needs: build
|
|
25
|
+
runs-on: ubuntu-latest
|
|
26
|
+
permissions:
|
|
27
|
+
contents: read
|
|
28
|
+
id-token: write
|
|
29
|
+
steps:
|
|
30
|
+
- uses: actions/checkout@v6
|
|
31
|
+
with:
|
|
32
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
33
|
+
ref: ${{ github.ref }}
|
|
34
|
+
- uses: actions/setup-node@v6
|
|
35
|
+
with:
|
|
36
|
+
node-version: 22
|
|
37
|
+
- name: Upgrade npm for OIDC support (requires >=11.5.1)
|
|
38
|
+
run: npm install -g npm@latest
|
|
39
|
+
- run: npm i --legacy-peer-deps
|
|
40
|
+
- run: npm run build
|
|
41
|
+
- name: Publish to npm
|
|
42
|
+
run: |
|
|
43
|
+
if [[ "${{ github.ref }}" == *-beta ]]; then
|
|
44
|
+
npm publish --tag beta
|
|
45
|
+
elif [[ "${{ github.ref }}" == *-lts ]]; then
|
|
46
|
+
npm publish --tag lts
|
|
47
|
+
else
|
|
48
|
+
npm publish --tag latest
|
|
49
|
+
fi
|
|
@@ -31,32 +31,26 @@ jobs:
|
|
|
31
31
|
runs-on: ubuntu-latest
|
|
32
32
|
steps:
|
|
33
33
|
- name: Checkout
|
|
34
|
-
uses: actions/checkout@
|
|
34
|
+
uses: actions/checkout@v4
|
|
35
35
|
- name: Setup Pages
|
|
36
|
-
uses: actions/configure-pages@
|
|
36
|
+
uses: actions/configure-pages@v5
|
|
37
37
|
|
|
38
38
|
- name: Set up Node.js version
|
|
39
|
-
uses: actions/setup-node@
|
|
39
|
+
uses: actions/setup-node@v4
|
|
40
40
|
with:
|
|
41
|
-
node-version: '
|
|
41
|
+
node-version: '22.x'
|
|
42
42
|
|
|
43
43
|
- name: npm install, build, and test
|
|
44
44
|
run: |
|
|
45
|
-
npm install
|
|
45
|
+
npm install --legacy-peer-deps
|
|
46
46
|
npm run build --if-present
|
|
47
47
|
npm run test --if-present
|
|
48
48
|
|
|
49
|
-
- name: Upload artifact for deployment job
|
|
50
|
-
uses: actions/upload-pages-artifact@v1
|
|
51
|
-
with:
|
|
52
|
-
name: node-app
|
|
53
|
-
path: ./public
|
|
54
|
-
|
|
55
49
|
- name: Upload artifact
|
|
56
|
-
uses: actions/upload-pages-artifact@
|
|
50
|
+
uses: actions/upload-pages-artifact@v3
|
|
57
51
|
with:
|
|
58
52
|
# Upload entire repository
|
|
59
53
|
path: './public'
|
|
60
54
|
- name: Deploy to GitHub Pages
|
|
61
55
|
id: deployment
|
|
62
|
-
uses: actions/deploy-pages@
|
|
56
|
+
uses: actions/deploy-pages@v4
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## v2.5.6-ts
|
|
4
|
+
|
|
5
|
+
- fix: repository.url QuickCorp -> QCObjects (+type file -> git). Sigstore provenance (OIDC) hard-requires package.json repo to match the true repo QCObjects/qcobjects-new-app (E422 on v2.5.5-ts: attestation vs QuickCorp URL). URL set to exactly https://github.com/QCObjects/qcobjects-new-app.
|
|
6
|
+
- version: 2.5.5-ts -> 2.5.6-ts (v2.5.5-ts tag points at the pre-URL-fix main; tags immutable -> new number)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## v2.5.5-ts
|
|
10
|
+
|
|
11
|
+
- fix: npmpublish workflow now passes explicit --tag latest on the default branch (modern npm refuses bare npm publish for prerelease versions: You must specify a tag using --tag when publishing a prerelease version — killed the v2.5.4-ts publish after build went green; the npm@latest upgrade for OIDC is what enforces it).
|
|
12
|
+
- version: 2.5.4-ts -> 2.5.5-ts (v2.5.4-ts tag points at the pre-workflow-fix main; tags immutable -> new number)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## v2.5.4-ts
|
|
16
|
+
|
|
17
|
+
- fix: neutralize inherited tsconfig paths wildcard ("*": ["src/*"] from qcobjects/tsconfig.json hijacked bare imports into node_modules/qcobjects/src/<lowercase> — hard Cannot-read-file error on case-sensitive CI runners; invisible on case-insensitive dev mounts). Template now sets baseUrl+explicit paths (keeps case-correct types mapping). Verified in case-sensitive clean-room sim: rc=1+exact CI error before -> rc=0+zero warnings after; iife bundle browser-safe (0 eager node:/types imports).
|
|
18
|
+
- version: 2.5.3-ts -> 2.5.4-ts (v2.5.3-ts tag points at the unpublishable pre-fix commit; tags immutable -> new number)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## v2.5.3-ts
|
|
22
|
+
|
|
23
|
+
- release: template 2.5.x npm publish UNBLOCKED (PR 12+13: browser-safe publish:esbuild via iife + node/types externals — 0 eager node:/*/types top-level imports in the browser bundle; publish:web/webassembly/static gates green); version bump 2.5.2-ts -> 2.5.3-ts
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## v2.5.3-ts
|
|
27
|
+
|
|
28
|
+
- release: template publish unblocked (PR 12+13: browser-safe publish:esbuild via iife + node/'types' externals; 2.5.x template). npm version bump 2.5.2-ts -> 2.5.3-ts
|
|
29
|
+
- fix: publish:web gate — npm run build passes end-to-end including publish:esbuild (iife browser-safe bundle: 0 eager node:/*types top-level imports; node ready-state + types stay lazy in browser)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## v2.5.2-ts
|
|
33
|
+
|
|
34
|
+
- publish:static now sweeps macOS AppleDouble droppings cross-platform (clean:appledouble, pre-commit + postpublish:static)
|
|
35
|
+
- Drop deprecated qcobjects-command-publish-static (built-in in cli publish:static)
|
|
36
|
+
- Bump qcobjects >=2.5.142 / qcobjects-sdk >=2.5.105 to satisfy qcobjects-cli@2.6.1 peers
|
|
37
|
+
- Override @types/qcobjects(-sdk) to HTTPS tarballs; CI npm install --legacy-peer-deps
|
|
38
|
+
- Remove committed AppleDouble droppings from tree
|
|
39
|
+
|
|
40
|
+
## v2.5.1-ts
|
|
41
|
+
|
|
42
|
+
- CI fixes: registry override + HTTPS types pins (unblocks npm install in publish)
|
|
43
|
+
|
|
44
|
+
## v2.5.0-ts
|
|
45
|
+
|
|
46
|
+
- License migration LGPLv3 → MIT (LICENSE.txt, package.json, source headers)
|
|
47
|
+
- Build scripts delegate to CLI (`build:ts`/`build:ts-types` via `qcobjects build:typescript`; new `build:esbuild`/`build:esb` passthroughs)
|
|
48
|
+
- See product-specs 09-license and 15-unified-vision-v3 (Phase 1)
|
package/LICENSE.txt
CHANGED
|
@@ -1,56 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
1. Exception to Section 3 of the GNU GPL.
|
|
24
|
-
You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL.
|
|
25
|
-
|
|
26
|
-
2. Conveying Modified Versions.
|
|
27
|
-
If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version:
|
|
28
|
-
|
|
29
|
-
a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or
|
|
30
|
-
b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy.
|
|
31
|
-
3. Object Code Incorporating Material from Library Header Files.
|
|
32
|
-
The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following:
|
|
33
|
-
|
|
34
|
-
a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License.
|
|
35
|
-
b) Accompany the object code with a copy of the GNU GPL and this license document.
|
|
36
|
-
4. Combined Works.
|
|
37
|
-
You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following:
|
|
38
|
-
|
|
39
|
-
a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License.
|
|
40
|
-
b) Accompany the Combined Work with a copy of the GNU GPL and this license document.
|
|
41
|
-
c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document.
|
|
42
|
-
d) Do one of the following:
|
|
43
|
-
0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.
|
|
44
|
-
1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version.
|
|
45
|
-
e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.)
|
|
46
|
-
5. Combined Libraries.
|
|
47
|
-
You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following:
|
|
48
|
-
|
|
49
|
-
a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License.
|
|
50
|
-
b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
|
|
51
|
-
6. Revised Versions of the GNU Lesser General Public License.
|
|
52
|
-
The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
|
53
|
-
|
|
54
|
-
Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation.
|
|
55
|
-
|
|
56
|
-
If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015 Jean Machuca,<correojean@gmail.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
> **Official repository.** This is the maintained QCObjects app template.
|
|
2
|
+
> Normative specifications live in
|
|
3
|
+
> [QCObjects/product-specs](https://github.com/QCObjects/product-specs)
|
|
4
|
+
> ([docs](https://qcobjects.github.io/product-specs/)).
|
|
5
|
+
>
|
|
6
|
+
> # QCObjects New App
|
|
2
7
|
|
|
3
8
|
This is a demo of a QCObjects based front-end Progressive Web App
|
|
4
9
|
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.5.6-ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qcobjectsnewapp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.6-ts",
|
|
4
4
|
"description": "App template for New App in QCObjects",
|
|
5
5
|
"targets": {
|
|
6
6
|
"default": {
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"test": "(npm run lint && (npx jasmine))",
|
|
29
|
-
"lint": "
|
|
29
|
+
"lint": "qcobjects lint",
|
|
30
|
+
"lint:fix": "qcobjects lint --fix",
|
|
30
31
|
"sync": "git add . && git commit -am ",
|
|
31
32
|
"preversion": "npm i --upgrade && npm test",
|
|
32
33
|
"postversion": "git push && git push --tags",
|
|
@@ -52,15 +53,17 @@
|
|
|
52
53
|
"build:docker": "docker build -t qcobjects/qcobjects-newapp:latest .",
|
|
53
54
|
"build:docker-compose": "docker-compose -f docker-compose.yml build --no-cache --force-rm --pull -q qcobjects",
|
|
54
55
|
"build:static": "npx qcobjects-cli publish:static src/ build/ --exclude js --exclude=.DS_Store",
|
|
55
|
-
"
|
|
56
|
-
"build:ts
|
|
56
|
+
"clean:appledouble": "node -e \"const fs=require('fs'),path=require('path');let n=0;for(const d of ['build','src'])if(fs.existsSync(d)){const walk=x=>fs.readdirSync(x,{withFileTypes:true}).flatMap(e=>{const p=path.join(x,e.name);return e.isDirectory()?walk(p):[p]});for(const f of walk(d))if(path.basename(f).startsWith('._')){fs.rmSync(f);n++;}}console.log('appledouble removed:',n)\"",
|
|
57
|
+
"build:ts": "npm test && qcobjects build:typescript tsconfig.json",
|
|
58
|
+
"build:ts-types": "qcobjects build:typescript tsconfig.d.json",
|
|
57
59
|
"build:netlify": "npm run publish:web",
|
|
58
60
|
"build": "npm run publish:web",
|
|
59
|
-
"publish:static": "(npx qcobjects-cli publish:static build/ public/ --exclude js --exclude=.DS_Store) && npm run minify:css",
|
|
61
|
+
"publish:static": "npm run clean:appledouble && (npx qcobjects-cli publish:static build/ public/ --exclude js --exclude=.DS_Store) && npm run minify:css",
|
|
62
|
+
"postpublish:static": "npm run clean:appledouble",
|
|
60
63
|
"publish:ios": "qcobjects publish ios",
|
|
61
64
|
"publish:android": "qcobjects publish android",
|
|
62
65
|
"publish:electron": "qcobjects publish electron",
|
|
63
|
-
"publish:esbuild": "npx esbuild build/js/*.js build/js/**/*.js --bundle --outdir=public/js --keep-names --minify --global-name=global --sourcemap --
|
|
66
|
+
"publish:esbuild": "npx esbuild build/js/*.js build/js/**/*.js --bundle --outdir=public/js --keep-names --minify --global-name=global --sourcemap --format=iife --target=es2021 --external:fs --external:path --external:os --external:util --external:events --external:stream --external:http --external:https --external:crypto --external:zlib --external:buffer --external:url --external:querystring --external:child_process --external:cluster --external:dgram --external:dns --external:net --external:readline --external:repl --external:tls --external:tty --external:vm --external:worker_threads --external:process --external:node:* --external:types",
|
|
64
67
|
"publish:parcel": "npx parcel build",
|
|
65
68
|
"publish:web": "npm run build:static && npm run build:ts && npm run publish:static && npm run publish:esbuild && npm run generate-sw",
|
|
66
69
|
"publish:docker": "docker push qcobjects/qcobjects-newapp:latest",
|
|
@@ -78,8 +81,8 @@
|
|
|
78
81
|
"generate-sw": "npx qcobjects generate-sw qcobjectsnewapp -d public"
|
|
79
82
|
},
|
|
80
83
|
"repository": {
|
|
81
|
-
"type": "
|
|
82
|
-
"url": "https://github.com/
|
|
84
|
+
"type": "git",
|
|
85
|
+
"url": "https://github.com/QCObjects/qcobjects-new-app"
|
|
83
86
|
},
|
|
84
87
|
"keywords": [
|
|
85
88
|
"qcobjects",
|
|
@@ -88,47 +91,30 @@
|
|
|
88
91
|
"javascript"
|
|
89
92
|
],
|
|
90
93
|
"author": "Jean Machuca (correojean@gmail.com)",
|
|
91
|
-
"license": "
|
|
94
|
+
"license": "MIT",
|
|
92
95
|
"devDependencies": {
|
|
93
|
-
"@types/
|
|
94
|
-
"@types/qcobjects-sdk": "github:QCObjects/-types-qcobjects-sdk",
|
|
95
|
-
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
|
96
|
-
"@typescript-eslint/parser": "^5.58.0",
|
|
97
|
-
"eslint": "^8.39.0",
|
|
98
|
-
"eslint-config-prettier": "^8.8.0",
|
|
99
|
-
"eslint-config-qcobjects": "^0.0.26",
|
|
100
|
-
"eslint-config-qcobjects-typescript": "^2.4.5",
|
|
101
|
-
"eslint-config-semistandard": "^17.0.0",
|
|
102
|
-
"eslint-config-standard": "^17.0.0",
|
|
103
|
-
"eslint-config-standard-with-typescript": "^34.0.1",
|
|
104
|
-
"eslint-plugin-import": "^2.27.5",
|
|
105
|
-
"eslint-plugin-n": "^15.7.0",
|
|
106
|
-
"eslint-plugin-promise": "^6.1.1",
|
|
96
|
+
"@types/node": "^22.10.0",
|
|
107
97
|
"hint": "^2.0.0",
|
|
108
98
|
"husky": "^8.0.3",
|
|
109
99
|
"jasmine": "^3.99.0",
|
|
110
100
|
"lighthouse": "^12.1.0",
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"qcobjects-tsconfig": "^2.4.10",
|
|
114
|
-
"semistandard": "^16.0.1",
|
|
115
|
-
"typescript": "^5.0.4"
|
|
101
|
+
"qcobjects-cli": ">=2.6.2 <3.0.0",
|
|
102
|
+
"typescript": "^5.7.2"
|
|
116
103
|
},
|
|
117
104
|
"dependencies": {
|
|
118
105
|
"grunt": "^1.4.1",
|
|
119
106
|
"grunt-contrib-jasmine": "^4.0.0",
|
|
120
107
|
"npm-watch": "^0.11.0",
|
|
121
108
|
"nyc": "^15.1.0",
|
|
122
|
-
"qcobjects": "
|
|
109
|
+
"qcobjects": ">=2.5.142 <3.0.0",
|
|
123
110
|
"qcobjects-admin": "^1.0.0",
|
|
124
|
-
"qcobjects-
|
|
125
|
-
|
|
111
|
+
"qcobjects-sdk": ">=2.4.64 <3.0.0"
|
|
112
|
+
},
|
|
113
|
+
"overrides": {
|
|
114
|
+
"qcobjects-admin-lib-db-sqlite3": "^0.0.25"
|
|
126
115
|
},
|
|
127
116
|
"engines": {
|
|
128
117
|
"npm": ">=8",
|
|
129
118
|
"node": ">=16"
|
|
130
|
-
},
|
|
131
|
-
"lint-staged": {
|
|
132
|
-
"**/*": "prettier --write --ignore-unknown"
|
|
133
119
|
}
|
|
134
120
|
}
|
package/public/404.html
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
+
<!-- This is a wide open CSP declaration. To lock this down for production, see below. -->
|
|
8
|
+
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: https://ssl.gstatic.com; img-src * 'self' data:; child-src *; style-src * 'self' 'unsafe-inline' 'unsafe-eval'; script-src * 'self' 'unsafe-inline' 'unsafe-eval'; connect-src * 'self' 'unsafe-inline' 'unsafe-eval';media-src *">
|
|
9
|
+
<title>QCObjects New App v2.4</title>
|
|
10
|
+
<meta name="description" content="QCObjects New App v2.4">
|
|
11
|
+
<link rel="canonical" href="https://newapp.qcobjects.dev/">
|
|
12
|
+
<link rel="manifest" href="manifest.json">
|
|
13
|
+
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
|
|
14
|
+
<link rel="icon" href="./favicon.ico" type="image/x-icon">
|
|
15
|
+
<meta name="mobile-web-app-capable" content="yes">
|
|
16
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
17
|
+
<meta name="application-name" content="QCObjects New App">
|
|
18
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
19
|
+
<meta name="apple-mobile-web-app-title" content="QCObjects New App">
|
|
20
|
+
<link rel="icon" sizes="192x192" href="./img/icons/icon-192x192.png">
|
|
21
|
+
<link rel="apple-touch-icon" href="./img/icons/icon-192x192.png">
|
|
22
|
+
<meta name="msapplication-TileImage" content="./img/icons/icon-144x144.png">
|
|
23
|
+
<meta name="msapplication-TileColor" content="rgb(1,1,1)">
|
|
24
|
+
<meta name="theme-color" content="rgb(1,1,1)">
|
|
25
|
+
<meta property="og:title" content="QCObjects New App">
|
|
26
|
+
<meta property="og:type" content="website">
|
|
27
|
+
<meta property="og:image" content="https://newapp.qcobjects.dev/img/icons/icon-192x192.png">
|
|
28
|
+
<meta property="og:url" content="https://newapp.qcobjects.dev/">
|
|
29
|
+
<meta property="og:description" content="QCObjects New App">
|
|
30
|
+
<meta name="twitter:card" content="summary">
|
|
31
|
+
<meta name="twitter:url" content="https://newapp.qcobjects.dev/">
|
|
32
|
+
<meta name="twitter:title" content="QCObjects New App">
|
|
33
|
+
<meta name="twitter:description" content="QCObjects New App">
|
|
34
|
+
<meta name="twitter:image" content="https://config.qcobjects.dev/img/icons/icon-192x192.png">
|
|
35
|
+
<meta name="twitter:creator" content="@jeanmachuca">
|
|
36
|
+
</head>
|
|
37
|
+
|
|
38
|
+
<body>
|
|
39
|
+
<noscript>
|
|
40
|
+
<!-- anchor linking to external file -->
|
|
41
|
+
<p>This page needs JavaScript because it uses QCObjects (https://qcobjects.com)</p>
|
|
42
|
+
</noscript>
|
|
43
|
+
<splash-screen componentClass="CubeSplashScreenComponent"
|
|
44
|
+
duration="3000" data-background="black"
|
|
45
|
+
data-cube_image="./img/Q_web-white.png"></splash-screen>
|
|
46
|
+
<layout-basic splashscreen shadowed=true controllerClass="MainController" data-one="1" data-two="2">
|
|
47
|
+
</layout-basic>
|
|
48
|
+
<script type="module" src="js/init.js"></script>
|
|
49
|
+
</body>
|
|
50
|
+
|
|
51
|
+
</html>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
@charset "UTF-8";@viewport{zoom:1;width:extend-to-zoom}@-ms-viewport{zoom:1;width:extend-to-zoom}*{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html{overflow:hidden;width:100%;height:100%;margin:0;padding:0}body{margin:0}html,body{-webkit-touch-callout:none;-webkit-text-size-adjust:none;-webkit-user-select:none;height:100%;margin:0;padding:0;width:100%;background-attachment:fixed;overflow:hidden;overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch}
|
|
2
|
+
/*# sourceMappingURL=body-layout.css.map */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../build/css/body-layout.css"],
|
|
4
|
+
"sourcesContent": ["@charset \"UTF-8\";\n\n/* CSS Document */\n\n@viewport {\n zoom: 1;\n width: extend-to-zoom;\n}\n\n@-ms-viewport {\n zoom: 1;\n width: extend-to-zoom;\n}\n\n* {\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n\n/* prevent elastic scrolling */\n html {\n overflow: hidden;\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n }\n \n body {\n margin: 0;\n }\n \n html,\n body {\n -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */\n -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */\n -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */\n height: 100%;\n margin: 0;\n padding: 0;\n width: 100%;\n background-attachment: fixed;\n overflow: hidden;\n overflow-x: hidden;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch;\n }\n \n "],
|
|
5
|
+
"mappings": "iBAIA,UACE,KAAM,EACN,MAAO,cACT,CAEA,cACE,KAAM,EACN,MAAO,cACT,CAEA,EACE,4BAA6B,KAAK,CAAC,CAAE,CAAC,CAAE,CAAC,CAAE,GAC3C,oBAAqB,KACrB,iBAAkB,KAClB,gBAAiB,KACjB,YAAa,IACf,CAIQ,KACI,SAAU,OACV,MAAO,KACP,OAAQ,KA3BpB,OA4BoB,EA5BpB,QA6BqB,CACX,CAEA,KAhCV,OAiCoB,CACV,CAEA,KACA,KACE,sBAAuB,KACvB,yBAA0B,KAC1B,oBAAqB,KACrB,OAAQ,KAzCpB,OA0CoB,EA1CpB,QA2CqB,EACT,MAAO,KACP,sBAAuB,MACvB,SAAU,OACV,WAAY,OACZ,WAAY,OACZ,2BAA4B,KAC9B",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* QCObjects SDK @VERSION
|
|
3
|
+
* https://sdk.qcobjects.com
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* QCObjects SDK is a part of QCObjects
|
|
7
|
+
*
|
|
8
|
+
* Cross Browser Javascript Framework for MVC Patterns
|
|
9
|
+
* QCObjects is licensed under the MIT License
|
|
10
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-new-app/blob/main/LICENSE.txt)
|
|
11
|
+
*
|
|
12
|
+
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
13
|
+
*
|
|
14
|
+
* Everyone is permitted to copy and distribute verbatim copies of this
|
|
15
|
+
* license document, but changing it is not allowed.
|
|
16
|
+
*/button:not(.navbtn),input{border-radius:27px;box-shadow:0 2px 8px #00000040;outline:none}button:not(.navbtn){border:solid #fff!important;border-left:3px!important;border-right:3px!important;border-radius:7px!important;-webkit-transition-duration:.4s;transition-duration:.4s;box-shadow:0 8px 16px #0003,0 6px 20px #00000030;font-size:12px;font-family:arial,helvetica,sans-serif;padding:18px;text-decoration:none;display:inline-block;font-weight:700;color:#fff;background-color:#111}button:not(.navbtn):hover{background-color:#333}button:not(.navbtn){padding:10px 20px;border:0;outline:0;border-radius:2px;background:var(--primary);cursor:pointer;color:var(--text-inverse);box-shadow:0 10px 30px var(--primary-shadow);transition:var(--transition);-webkit-transition:var(--transition);font-family:var(--font2);position:relative;display:flex;justify-content:center;align-items:center}button:not(.navbtn):hover{filter:brightness(.9);-webkit-transform:scale(.9);transform:scale(.9)}
|
|
17
|
+
/*# sourceMappingURL=button.css.map */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../build/css/components/button.css"],
|
|
4
|
+
"sourcesContent": ["/*!\n * QCObjects SDK @VERSION\n * https://sdk.qcobjects.com\n *\n *\n * QCObjects SDK is a part of QCObjects\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QCObjects is licensed under the MIT License\n * [LICENSE] (https://github.com/QCObjects/qcobjects-new-app/blob/main/LICENSE.txt)\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n */\nbutton:not(.navbtn), input {\n border-radius: 27px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);\n outline: none;\n}\n\nbutton:not(.navbtn) {\n border: solid #fff !important;\n border-left: 3px !important;\n border-right: 3px !important;\n border-radius: 7px !important;\n -webkit-transition-duration: 0.4s; /* Safari */\n transition-duration: 0.4s;\n box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);\n font-size: 12px;\n font-family: arial, helvetica, sans-serif;\n padding: 18px 18px 18px 18px;\n text-decoration: none;\n display: inline-block;\n font-weight: bold;\n color: #fff;\n background-color: #111;\n}\n\nbutton:not(.navbtn):hover {\n background-color: #333;\n}\n\nbutton:not(.navbtn){\n padding: 10px 20px 10px 20px;\n border: 0;\n outline: 0;\n border-radius: 2px;\n background: var(--primary);\n cursor: pointer;\n color: var(--text-inverse);\n box-shadow: 0 10px 30px var(--primary-shadow);\n transition: var(--transition);\n -webkit-transition: var(--transition);\n font-family: var(--font2);\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\nbutton:not(.navbtn):hover {\n filter: brightness(0.9);\n -webkit-transform: scale(0.9);\n transform: scale(0.9);\n}\n"],
|
|
5
|
+
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAgBA,MAAM,KAAK,CAAC,QAAS,MAhBrB,cAiBiB,KACf,WAAY,EAAE,IAAI,IAAI,UACtB,QAAS,IACX,CAEA,MAAM,KAAK,CANC,QAOV,OAAQ,MAAM,eACd,YAAa,cACb,aAAc,cAzBhB,cA0BiB,cACf,4BAA6B,IAC7B,oBAAqB,IACrB,WAAY,EAAE,IAAI,KAAO,KAAkB,CAAE,EAAE,IAAI,KAAO,UAC1D,UAAW,KACX,YAAa,KAAK,CAAE,SAAS,CAAE,WA/BjC,QAgCW,KACT,gBAAiB,KACjB,QAAS,aACT,YAAa,IACb,MAAO,KACP,iBAAkB,IACpB,CAEA,MAAM,KAAK,CAxBC,OAwBO,OACjB,iBAAkB,IACpB,CAEA,MAAM,KAAK,CA5BC,QAhBZ,QA6CW,KAAK,KACd,OAAQ,EACR,QAAS,EA/CX,cAgDiB,IACf,WAAY,IAAI,WAChB,OAAQ,QACR,MAAO,IAAI,gBACX,WAAY,EAAE,KAAK,KAAK,IAAI,kBAC5B,WAAY,IAAI,cAChB,mBAAoB,IAAI,cACxB,YAAa,IAAI,SACjB,SAAU,SACV,QAAS,KACT,gBAAiB,OACjB,YAAa,MACf,CAEA,MAAM,KAAK,CA9CC,OA8CO,OACjB,OAAQ,WAAW,IACnB,kBAAmB,MAAM,IACzB,UAAW,MAAM,GACnB",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* QCObjects SDK @VERSION
|
|
3
|
+
* https://sdk.qcobjects.com
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* QCObjects SDK is a part of QCObjects
|
|
7
|
+
*
|
|
8
|
+
* Cross Browser Javascript Framework for MVC Patterns
|
|
9
|
+
* QCObjects is licensed under the MIT License
|
|
10
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-new-app/blob/main/LICENSE.txt)
|
|
11
|
+
*
|
|
12
|
+
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
13
|
+
*
|
|
14
|
+
* Everyone is permitted to copy and distribute verbatim copies of this
|
|
15
|
+
* license document, but changing it is not allowed.
|
|
16
|
+
*/.card{box-shadow:#e4e4ea38 0 22px 25px,#e4e4ea80 0 9px 23px;transition:all .3s ease-in-out;width:100%;min-height:100%;height:auto;border-radius:30px}.title{padding-top:5px;padding-bottom:15px}.description{padding-top:15px;padding-bottom:10px}.img,.title,.description{overflow:hidden}.card:hover{box-shadow:#e4e4ea8f 0 22px 32px,#e4e4eaa3 0 9px 28px}.card .container{padding:2px 16px;min-height:100%}.card img,div>div.img{border-radius:30px 30px 0 0;min-height:100px}#slot-logo::slotted(img){border-radius:30px 30px 0 0;min-height:100px}.card button{border:none;outline:0;padding:12px;color:#fff;background-color:#000;text-align:center;cursor:pointer;width:100%;font-size:18px}.card button:hover{opacity:.7}#slot-card-button::slotted(button){border:none;outline:0;padding:12px;color:#fff;background-color:#000;text-align:center;cursor:pointer;width:100%;font-size:18px}#slot-card-button::slotted(button):hover{opacity:.7}.card{max-height:1600px}#slot-card-description::slotted(div){height:50px;min-height:50px;max-height:50px;overflow-y:clip}
|
|
17
|
+
/*# sourceMappingURL=card.css.map */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../build/css/components/card.css"],
|
|
4
|
+
"sourcesContent": ["/*!\n * QCObjects SDK @VERSION\n * https://sdk.qcobjects.com\n *\n *\n * QCObjects SDK is a part of QCObjects\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QCObjects is licensed under the MIT License\n * [LICENSE] (https://github.com/QCObjects/qcobjects-new-app/blob/main/LICENSE.txt)\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n */\n.card {\n box-shadow: rgba(228, 228, 234, 0.22) 0 22px 25px 0, rgba(228, 228, 234, 0.5) 0 9px 23px 0;\n transition: all 0.3s ease-in-out;\n width: 100%;\n min-height: 100%;\n height: auto;\n border-radius: 30px;\n}\n\n.title{\n padding-top: 5px;\n padding-bottom: 15px;\n}\n.description {\n padding-top: 15px;\n padding-bottom: 10px;\n}\n\n.img, .title, .description {\n overflow: hidden;\n}\n\n.card:hover {\n box-shadow: rgba(228, 228, 234, 0.56) 0 22px 32px 0, rgba(228, 228, 234, 0.64) 0 9px 28px 0;\n}\n\n.card .container {\n padding: 2px 16px;\n min-height: 100%;\n}\n\n.card img, div > div.img {\n border-radius: 30px 30px 0 0;\n min-height: 100px;\n}\n\n#slot-logo::slotted(img) {\n border-radius: 30px 30px 0 0;\n min-height: 100px;\n}\n\n\n.card button {\n border: none;\n outline: 0;\n padding: 12px;\n color: white;\n background-color: #000;\n text-align: center;\n cursor: pointer;\n width: 100%;\n font-size: 18px;\n}\n\n.card button:hover {\n opacity: 0.7;\n}\n\n#slot-card-button::slotted(button) {\n border: none;\n outline: 0;\n padding: 12px;\n color: white;\n background-color: #000;\n text-align: center;\n cursor: pointer;\n width: 100%;\n font-size: 18px;\n}\n\n#slot-card-button::slotted(button):hover {\n opacity: 0.7;\n}\n\n.card {\n max-height: 1600px;\n}\n\n#slot-card-description::slotted(div) {\n height: 50px;\n min-height: 50px;\n max-height: 50px;\n overflow-y: clip;\n}"],
|
|
5
|
+
"mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAgBA,CAAC,KACC,WAAY,UAA0B,EAAE,KAAK,IAAM,CAAE,UAAyB,EAAE,IAAI,KACpF,WAAY,IAAI,IAAK,YACrB,MAAO,KACP,WAAY,KACZ,OAAQ,KArBV,cAsBiB,IACjB,CAEA,CAAC,MACC,YAAa,IACb,eAAgB,IAClB,CACA,CAAC,YACC,YAAa,KACb,eAAgB,IAClB,CAEA,CAAC,IAAK,CATL,MASa,CALb,YAMC,SAAU,MACZ,CAEA,CAtBC,IAsBI,OACH,WAAY,UAA0B,EAAE,KAAK,IAAM,CAAE,UAA0B,EAAE,IAAI,IACvF,CAEA,CA1BC,KA0BK,CAAC,UA1CP,QA2CW,IAAI,KACb,WAAY,IACd,CAEA,CA/BC,KA+BK,IAAK,GAAI,CAAE,GAAG,CAbnB,IAlCD,cAgDiB,KAAK,KAAK,EAAE,EAC3B,WAAY,KACd,CAEA,CAAC,SAAS,UAAU,KApDpB,cAqDiB,KAAK,KAAK,EAAE,EAC3B,WAAY,KACd,CAGA,CA1CC,KA0CK,OACJ,OAAQ,KACR,QAAS,EA5DX,QA6DW,KACT,MAAO,KACP,iBAAkB,KAClB,WAAY,OACZ,OAAQ,QACR,MAAO,KACP,UAAW,IACb,CAEA,CAtDC,KAsDK,MAAM,OACV,QAAS,EACX,CAEA,CAAC,gBAAgB,UAAU,QACzB,OAAQ,KACR,QAAS,EA5EX,QA6EW,KACT,MAAO,KACP,iBAAkB,KAClB,WAAY,OACZ,OAAQ,QACR,MAAO,KACP,UAAW,IACb,CAEA,CAZC,gBAYgB,UAAU,OAAO,OAChC,QAAS,EACX,CAEA,CA1EC,KA2EC,WAAY,MACd,CAEA,CAAC,qBAAqB,UAAU,KAC9B,OAAQ,KACR,WAAY,KACZ,WAAY,KACZ,WAAY,IACd",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* QCObjects SDK @VERSION
|
|
3
|
+
* https://sdk.qcobjects.com
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* QCObjects SDK is a part of QCObjects
|
|
7
|
+
*
|
|
8
|
+
* Cross Browser Javascript Framework for MVC Patterns
|
|
9
|
+
* QCObjects is licensed under the MIT License
|
|
10
|
+
* [LICENSE] (https://github.com/QCObjects/qcobjects-new-app/blob/main/LICENSE.txt)
|
|
11
|
+
*
|
|
12
|
+
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
|
|
13
|
+
*
|
|
14
|
+
* Everyone is permitted to copy and distribute verbatim copies of this
|
|
15
|
+
* license document, but changing it is not allowed.
|
|
16
|
+
*/
|
|
17
|
+
div.container {
|
|
18
|
+
box-shadow: rgba(228, 228, 234, 0.4) 0 22px 25px 0, rgba(228, 228, 234, 0.8) 0 9px 23px 0;
|
|
19
|
+
transition: all 0.3s ease-in-out;
|
|
20
|
+
display: grid;
|
|
21
|
+
grid-template-areas: "hero";
|
|
22
|
+
-webkit-box-align: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
height: 65vh;
|
|
25
|
+
background-color: #f9fbfd;
|
|
26
|
+
max-height: 600px;
|
|
27
|
+
border-radius: 30px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
div.container:hover {
|
|
31
|
+
box-shadow: rgba(228, 228, 234, 1) 0 22px 32px 0, rgba(228, 228, 234, 1) 0 9px 28px 0;
|
|
32
|
+
background-color: #fff;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
div.container > * {
|
|
36
|
+
grid-area: hero;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
div.container img {
|
|
40
|
+
border-radius: 0 30px 0 0;
|
|
41
|
+
-o-object-fit: cover;
|
|
42
|
+
object-fit: cover;
|
|
43
|
+
-o-object-position: 5vw -5vmin;
|
|
44
|
+
object-position: 5vw -5vmin;
|
|
45
|
+
height: 100%;
|
|
46
|
+
width: 70%;
|
|
47
|
+
justify-self: end;
|
|
48
|
+
-webkit-transition: 180ms width ease-in;
|
|
49
|
+
transition: 180ms width ease-in;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media (min-width: 60rem) {
|
|
53
|
+
div.container img {
|
|
54
|
+
transition: all 0.3s ease-in-out;
|
|
55
|
+
border-radius: 0;
|
|
56
|
+
width: 55%;
|
|
57
|
+
height: auto;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
div.container .hero__content {
|
|
62
|
+
margin: 1rem 0 1rem 5%;
|
|
63
|
+
max-width: 35%;
|
|
64
|
+
min-width: 30ch;
|
|
65
|
+
z-index: 1;
|
|
66
|
+
background-color: rgba(249, 251, 253, 0.8);
|
|
67
|
+
border-radius: 1rem;
|
|
68
|
+
padding: 0.5rem 0.5rem 0.5rem 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
div.container .hero__content h1 {
|
|
72
|
+
font-size: 3rem;
|
|
73
|
+
color: #3c87b3;
|
|
74
|
+
font-weight: 500;
|
|
75
|
+
margin: 0 0 1rem;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
div.container .hero__content p {
|
|
79
|
+
font-size: 1.75rem;
|
|
80
|
+
color: #5b7788;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.button {
|
|
84
|
+
font-size: 1.125rem;
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
text-decoration: none;
|
|
87
|
+
display: -webkit-inline-box;
|
|
88
|
+
display: inline-flex;
|
|
89
|
+
-webkit-box-align: center;
|
|
90
|
+
align-items: center;
|
|
91
|
+
-webkit-box-pack: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
align-self: start;
|
|
94
|
+
background-color: #2ba27c;
|
|
95
|
+
color: #fff;
|
|
96
|
+
border-radius: 8px;
|
|
97
|
+
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.18);
|
|
98
|
+
padding: 0.25em 0.75em;
|
|
99
|
+
min-width: 10ch;
|
|
100
|
+
min-height: 44px;
|
|
101
|
+
text-align: center;
|
|
102
|
+
line-height: 1.1;
|
|
103
|
+
-webkit-transition: 220ms all ease-in-out;
|
|
104
|
+
transition: 220ms all ease-in-out;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.button:hover,
|
|
108
|
+
.button:active {
|
|
109
|
+
background-color: #228263;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.button:focus {
|
|
113
|
+
outline-style: solid;
|
|
114
|
+
outline-color: transparent;
|
|
115
|
+
box-shadow: 0 0 0 4px #1a614a;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:host > * {
|
|
119
|
+
box-sizing: border-box;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
:host {
|
|
123
|
+
font-family: "Baloo 2", sans-serif;
|
|
124
|
+
}
|