qcobjects-sdk 2.4.64 → 2.5.105-beta

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 (144) hide show
  1. package/.github/workflows/npmpublish-beta.yml +4 -2
  2. package/.github/workflows/npmpublish-lts.yml +4 -2
  3. package/.github/workflows/npmpublish-main.yml +5 -3
  4. package/VERSION +1 -1
  5. package/build/QCObjects-SDK.js +83 -41
  6. package/build/index.js +17 -7
  7. package/build/js/org.qcobjects.base.components.js +75 -0
  8. package/build/js/org.qcobjects.cloud.auth.session.data.js +98 -101
  9. package/build/js/org.qcobjects.cloud.auth.session.usertoken.js +68 -80
  10. package/build/js/org.qcobjects.components.grid.js +35 -53
  11. package/build/js/org.qcobjects.components.js +145 -237
  12. package/build/js/org.qcobjects.components.list.js +36 -45
  13. package/build/js/org.qcobjects.components.notifications.js +107 -106
  14. package/build/js/org.qcobjects.components.slider.js +183 -169
  15. package/build/js/org.qcobjects.components.splashscreen.js +123 -130
  16. package/build/js/org.qcobjects.controllers.form.js +149 -147
  17. package/build/js/org.qcobjects.controllers.grid.js +226 -215
  18. package/build/js/org.qcobjects.controllers.js +11 -11
  19. package/build/js/org.qcobjects.controllers.list.js +195 -188
  20. package/build/js/org.qcobjects.controllers.slider.js +101 -106
  21. package/build/js/org.qcobjects.controllers.swagger.js +71 -46
  22. package/build/js/org.qcobjects.effects.base.js +86 -0
  23. package/build/js/org.qcobjects.effects.extended.js +318 -0
  24. package/build/js/org.qcobjects.effects.js +26 -394
  25. package/build/js/org.qcobjects.i18n_messages.js +33 -46
  26. package/build/js/org.qcobjects.modal.controllers.js +16 -15
  27. package/build/js/org.qcobjects.modal.effects.js +23 -28
  28. package/build/js/org.qcobjects.models.js +11 -11
  29. package/build/js/org.qcobjects.tools.canvas.js +28 -27
  30. package/build/js/org.qcobjects.tools.js +10 -3
  31. package/build/js/org.qcobjects.tools.layouts.js +46 -45
  32. package/build/js/org.qcobjects.views.js +11 -11
  33. package/build-esbuild.js +72 -0
  34. package/eslint.config.mjs +88 -0
  35. package/package.json +66 -59
  36. package/postbuild.js +10 -0
  37. package/public/browser/index.js +9902 -0
  38. package/public/browser/index.js.map +7 -0
  39. package/public/cjs/index.cjs +9894 -0
  40. package/public/cjs/index.cjs.map +7 -0
  41. package/public/esm/index.mjs +9894 -0
  42. package/public/esm/index.mjs.map +7 -0
  43. package/public/types/index.d.ts +698 -0
  44. package/spec/helpers/mock-sdk.helper.ts +2 -0
  45. package/spec/mocks/qcobjects-sdk.mock.ts +1 -0
  46. package/spec/support/jasmine.json +7 -4
  47. package/src/QCObjects-SDK.ts +72 -53
  48. package/src/js/org.qcobjects.base.components.ts +83 -0
  49. package/src/js/org.qcobjects.cloud.auth.session.data.ts +98 -99
  50. package/src/js/org.qcobjects.cloud.auth.session.usertoken.ts +72 -92
  51. package/src/js/org.qcobjects.components.grid.ts +31 -58
  52. package/src/js/org.qcobjects.components.list.ts +15 -31
  53. package/src/js/org.qcobjects.components.notifications.ts +12 -12
  54. package/src/js/org.qcobjects.components.slider.ts +182 -171
  55. package/src/js/org.qcobjects.components.splashscreen.ts +31 -39
  56. package/src/js/org.qcobjects.components.ts +151 -261
  57. package/src/js/org.qcobjects.controllers.form.ts +151 -148
  58. package/src/js/org.qcobjects.controllers.grid.ts +226 -222
  59. package/src/js/org.qcobjects.controllers.list.ts +207 -205
  60. package/src/js/org.qcobjects.controllers.slider.ts +120 -125
  61. package/src/js/org.qcobjects.controllers.swagger.ts +51 -51
  62. package/src/js/org.qcobjects.controllers.ts +7 -9
  63. package/src/js/org.qcobjects.effects.base.ts +97 -0
  64. package/src/js/org.qcobjects.effects.extended.ts +350 -0
  65. package/src/js/org.qcobjects.effects.ts +6 -394
  66. package/src/js/org.qcobjects.i18n_messages.ts +37 -51
  67. package/src/js/org.qcobjects.modal.controllers.ts +12 -14
  68. package/src/js/org.qcobjects.modal.effects.ts +22 -18
  69. package/src/js/org.qcobjects.models.ts +8 -11
  70. package/src/js/org.qcobjects.tools.canvas.ts +26 -28
  71. package/src/js/org.qcobjects.tools.layouts.ts +44 -47
  72. package/src/js/org.qcobjects.tools.ts +7 -1
  73. package/src/js/org.qcobjects.views.ts +9 -8
  74. package/src/types/global/index.d.ts +181 -0
  75. package/transpile.js +65 -0
  76. package/tsconfig.d.json +65 -3
  77. package/tsconfig.jasmine.json +64 -0
  78. package/tsconfig.json +71 -7
  79. package/.eslintignore +0 -4
  80. package/.eslintrc.cjs +0 -6
  81. package/build/css/base-modal.css +0 -43
  82. package/build/css/basic-layout-embedded-nav.css +0 -14
  83. package/build/css/basic-layout.css +0 -76
  84. package/build/css/components/horizontal-list.css +0 -64
  85. package/build/css/components/list.css +0 -57
  86. package/build/css/components/splashscreen.css +0 -111
  87. package/build/css/modal.css +0 -46
  88. package/build/index.cjs +0 -4
  89. package/build/index.mjs +0 -2
  90. package/build/templates/components/modalyoulose.tpl.html +0 -3
  91. package/build/templates/components/modalyouwin.tpl.html +0 -4
  92. package/build/templates/components/splashscreen.tpl.html +0 -128
  93. package/build/templates/components/swagger-ui.tpl.html +0 -22
  94. package/public/QCObjects-SDK.js +0 -696
  95. package/public/QCObjects-SDK.js.map +0 -7
  96. package/public/css/base-modal.css +0 -2
  97. package/public/css/base-modal.css.map +0 -7
  98. package/public/css/basic-layout-embedded-nav.css +0 -2
  99. package/public/css/basic-layout-embedded-nav.css.map +0 -7
  100. package/public/css/basic-layout.css +0 -2
  101. package/public/css/basic-layout.css.map +0 -7
  102. package/public/css/components/horizontal-list.css +0 -2
  103. package/public/css/components/horizontal-list.css.map +0 -7
  104. package/public/css/components/list.css +0 -2
  105. package/public/css/components/list.css.map +0 -7
  106. package/public/css/components/splashscreen.css +0 -2
  107. package/public/css/components/splashscreen.css.map +0 -7
  108. package/public/css/modal.css +0 -2
  109. package/public/css/modal.css.map +0 -7
  110. package/public/index.cjs +0 -4
  111. package/public/index.js +0 -27
  112. package/public/index.mjs +0 -2
  113. package/public/templates/components/modalyoulose.tpl.html +0 -3
  114. package/public/templates/components/modalyouwin.tpl.html +0 -4
  115. package/public/templates/components/splashscreen.tpl.html +0 -128
  116. package/public/templates/components/swagger-ui.tpl.html +0 -22
  117. package/src/QCObjects-SDK.d.ts +0 -26
  118. package/src/index.cts +0 -2
  119. package/src/index.d.ts +0 -2
  120. package/src/index.mts +0 -2
  121. package/src/js/org.qcobjects.cloud.auth.session.data.d.ts +0 -1
  122. package/src/js/org.qcobjects.cloud.auth.session.usertoken.d.ts +0 -2
  123. package/src/js/org.qcobjects.components.d.ts +0 -10
  124. package/src/js/org.qcobjects.components.grid.d.ts +0 -3
  125. package/src/js/org.qcobjects.components.list.d.ts +0 -3
  126. package/src/js/org.qcobjects.components.notifications.d.ts +0 -1
  127. package/src/js/org.qcobjects.components.slider.d.ts +0 -1
  128. package/src/js/org.qcobjects.components.splashscreen.d.ts +0 -28
  129. package/src/js/org.qcobjects.controllers.d.ts +0 -1
  130. package/src/js/org.qcobjects.controllers.form.d.ts +0 -1
  131. package/src/js/org.qcobjects.controllers.grid.d.ts +0 -1
  132. package/src/js/org.qcobjects.controllers.list.d.ts +0 -1
  133. package/src/js/org.qcobjects.controllers.slider.d.ts +0 -1
  134. package/src/js/org.qcobjects.controllers.swagger.d.ts +0 -1
  135. package/src/js/org.qcobjects.effects.d.ts +0 -20
  136. package/src/js/org.qcobjects.i18n_messages.d.ts +0 -1
  137. package/src/js/org.qcobjects.modal.controllers.d.ts +0 -1
  138. package/src/js/org.qcobjects.modal.effects.d.ts +0 -1
  139. package/src/js/org.qcobjects.models.d.ts +0 -1
  140. package/src/js/org.qcobjects.tools.canvas.d.ts +0 -1
  141. package/src/js/org.qcobjects.tools.d.ts +0 -1
  142. package/src/js/org.qcobjects.tools.layouts.d.ts +0 -1
  143. package/src/js/org.qcobjects.views.d.ts +0 -1
  144. /package/spec/{testsSpec.js → testsSpec.ts} +0 -0
package/tsconfig.json CHANGED
@@ -1,10 +1,74 @@
1
1
  {
2
- "extends": "qcobjects-tsconfig/tsconfig.json",
3
2
  "compilerOptions": {
4
- "rootDir": "src", /* Specify the root folder within your source files. */
5
- "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
6
- "outDir": "build", /* Specify an output folder for all emitted files. */
3
+ "skipLibCheck": true,
4
+ "forceConsistentCasingInFileNames": true,
5
+ "strict": true,
6
+ "noImplicitAny": true,
7
+ "strictNullChecks": true,
8
+ "strictFunctionTypes": true,
9
+ "strictPropertyInitialization": true,
10
+ "noImplicitThis": true,
11
+ "alwaysStrict": true,
12
+ "target": "ESNext",
13
+ "lib": [
14
+ "ESNext",
15
+ "DOM"
16
+ ],
17
+ "module": "NodeNext",
18
+ "rootDir": "./src",
19
+ "allowJs": true,
20
+ "outDir": "build",
21
+ "allowSyntheticDefaultImports": true,
22
+ "esModuleInterop": true,
23
+ "baseUrl": ".",
24
+ "typeRoots": [
25
+ "./node_modules/@types"
26
+ ],
27
+ "paths": {
28
+ "types": [
29
+ "src/types/global"
30
+ ]
31
+ }
7
32
  },
8
- "include": ["src/**/*.ts", "src/**/*.mts", "src/**/*.cts"],
9
- "exclude": ["src/**/*.spec.js", "src/*.js"]
10
- }
33
+ "include": [
34
+ "src/**/*",
35
+ "src/types/**/*"
36
+ ],
37
+ "exclude": [
38
+ "**/*.js",
39
+ "src/index.mts",
40
+ "src/index.cts",
41
+ "node_modules",
42
+ "node_modules/**/*",
43
+ "**/node_modules/*",
44
+ "public/types"
45
+ ],
46
+ "ts-node": {
47
+ // It is faster to skip typechecking.
48
+ // Remove if you want ts-node to do typechecking.
49
+ "transpileOnly": true,
50
+ "files": true,
51
+ "compilerOptions": {
52
+ "rootDir": "./src",
53
+ "baseUrl": ".",
54
+ "paths": {
55
+ "types": [
56
+ "types/global"
57
+ ]
58
+ }
59
+ },
60
+ "include": [
61
+ "src/**/*",
62
+ "src/types/**/*"
63
+ ],
64
+ "exclude": [
65
+ "**/*.js",
66
+ "src/index.mts",
67
+ "src/index.cts",
68
+ "node_modules",
69
+ "node_modules/**/*",
70
+ "**/node_modules/*",
71
+ "public/types"
72
+ ]
73
+ }
74
+ }
package/.eslintignore DELETED
@@ -1,4 +0,0 @@
1
- build
2
- dist
3
- public
4
- src/**/*.d.ts
package/.eslintrc.cjs DELETED
@@ -1,6 +0,0 @@
1
- module.exports = {
2
- extends: [
3
- "qcobjects",
4
- "qcobjects-typescript"
5
- ]
6
- };
@@ -1,43 +0,0 @@
1
- /* The Modal (background) */
2
- .modal {
3
- display: none; /* Hidden by default */
4
- position: fixed; /* Stay in place */
5
- z-index: 1; /* Sit on top */
6
- padding-top: 100px; /* Location of the box */
7
- left: 0;
8
- top: 0;
9
- width: 100%; /* Full width */
10
- height: 100%; /* Full height */
11
- overflow: auto; /* Enable scroll if needed */
12
- background-color: rgb(0,0,0); /* Fallback color */
13
- background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
14
- border-radius: 12px !important;
15
- border: none !important;
16
- }
17
-
18
- /* Modal Content */
19
- .modal-content {
20
- background-color: #111;
21
- background-image: radial-gradient( #edeeef,#dee3de,#fcfcfc);
22
- margin: auto;
23
- padding: 20px;
24
- border-radius: 12px !important;
25
- border: 1px solid #909090;
26
- width: 80%;
27
- height:auto;
28
- }
29
- /* The Close Button */
30
- .close {
31
- color: #aaaaaa;
32
- float: right;
33
- font-size: 28px;
34
- font-weight: bold;
35
- }
36
-
37
- .close:hover,
38
- .close:focus {
39
- color: #000;
40
- text-decoration: none;
41
- cursor: pointer;
42
- }
43
- .modal * {color:black}
@@ -1,14 +0,0 @@
1
- /* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
2
- @media (max-width: 600px),
3
- @media (max-width:460px),
4
- @media (aspect-ratio: 9/16),
5
- @media (aspect-ratio: 10/16),
6
- @media (aspect-ratio: 5/8),
7
- @media (aspect-ratio: 3/4),
8
- @media (aspect-ratio: 2/3){
9
- nav, article {
10
- width: 100%;
11
- height: auto;
12
- position: relative;
13
- }
14
- }
@@ -1,76 +0,0 @@
1
- /**
2
- * QCObjects SDK 1.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
-
26
- @charset "UTF-8";
27
- /* CSS Document */
28
-
29
- * {
30
- box-sizing: border-box;
31
- }
32
-
33
- body {
34
- font-family: Arial, Helvetica, sans-serif;
35
- }
36
-
37
- /* Style the header */
38
- header {
39
- padding: 30px;
40
- text-align: center;
41
- font-size: 20px;
42
- }
43
-
44
- /* Create two columns/boxes that floats next to each other */
45
- nav {
46
- float: left;
47
- width: 30%;
48
- height: 1080px;
49
- padding: 20px;
50
- }
51
-
52
- /* Style the list inside the menu */
53
- nav ul {
54
- list-style-type: none;
55
- padding: 0;
56
- }
57
-
58
- article {
59
- float: left;
60
- padding: 20px;
61
- width: 70%;
62
- }
63
-
64
- /* Clear floats after the columns */
65
- section:after {
66
- content: "";
67
- display: table;
68
- clear: both;
69
- }
70
-
71
-
72
- /* Style the footer */
73
- footer {
74
- padding: 10px;
75
- text-align: center;
76
- }
@@ -1,64 +0,0 @@
1
- ul {
2
- display: flex;
3
- }
4
-
5
- li {
6
- display: inline;
7
- }
8
-
9
- ul {
10
- padding: 15px 0 15px 0;
11
- background-color: #f7f6f6 !important;
12
- border-radius: 13px;
13
- box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px 0px !important;
14
- }
15
-
16
- ul li {
17
- list-style: none;
18
- margin: 0;
19
- padding: 0;
20
- padding-top: 7px;
21
- padding-bottom: 7px;
22
- padding-left: 10px;
23
- border-bottom: 1px solid white;
24
- }
25
-
26
- ul {
27
- list-style-type: none;
28
- }
29
-
30
-
31
- li:hover {
32
- background: white;
33
- cursor: pointer;
34
- }
35
-
36
- ul li ul {
37
- background: white;
38
- visibility: hidden;
39
- opacity: 0;
40
- min-width: 5rem;
41
- position: relative;
42
- transition: all 0.5s ease;
43
- margin-top: 1rem;
44
- left: 0;
45
- display: none;
46
- }
47
-
48
- ul li:hover > ul,
49
- ul li ul:hover {
50
- visibility: visible;
51
- opacity: 1;
52
- display: inline-block;
53
- margin: 0 auto;
54
- width: 95%;
55
- }
56
-
57
- ul li ul li {
58
- clear: both;
59
- width: 100%;
60
- padding: 1%;
61
- }
62
- ul li {
63
- overflow-x: hidden;
64
- }
@@ -1,57 +0,0 @@
1
- ul {
2
- padding: 15px 0 15px 0;
3
- background-color: #f7f6f6 !important;
4
- border-radius: 13px;
5
- box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px 0px !important;
6
- }
7
-
8
- ul li {
9
- list-style: none;
10
- margin: 0;
11
- padding: 0;
12
- padding-top: 7px;
13
- padding-bottom: 7px;
14
- padding-left: 10px;
15
- border-bottom: 1px solid white;
16
- }
17
-
18
- ul {
19
- list-style-type: none;
20
- }
21
-
22
-
23
- ul, li {display: block;}
24
- li:hover {
25
- background: white;
26
- cursor: pointer;
27
- }
28
-
29
- ul li ul {
30
- background: white;
31
- visibility: hidden;
32
- opacity: 0;
33
- min-width: 5rem;
34
- position: relative;
35
- transition: all 0.5s ease;
36
- margin-top: 1rem;
37
- left: 0;
38
- display: none;
39
- }
40
-
41
- ul li:hover > ul,
42
- ul li ul:hover {
43
- visibility: visible;
44
- opacity: 1;
45
- display: inline-block;
46
- margin: 0 auto;
47
- width: 95%;
48
- }
49
-
50
- ul li ul li {
51
- clear: both;
52
- width: 100%;
53
- padding: 1%;
54
- }
55
- ul li {
56
- overflow-x: hidden;
57
- }
@@ -1,111 +0,0 @@
1
- :host * {
2
- box-sizing: border-box;
3
- }
4
-
5
- :host {
6
- zoom: 1.0;
7
- width: device-width;
8
- margin: 0;
9
- top: 0;
10
- left: 0;
11
- right: 0;
12
- bottom: 0;
13
- position: absolute;
14
- padding: 0;
15
- min-width: 100vw;
16
- min-height: 100vh;
17
- width: 100vw;
18
- height: 100vh;
19
- overflow: hidden;
20
- background-color: black;
21
- }
22
- #slot-logo::slotted(img) {
23
- vertical-align: middle;
24
- display: block;
25
- width: 100vw;
26
- left: 0;
27
- margin: 0;
28
- padding: 0;
29
- top: 20vh;
30
- bottom: 20vh;
31
- position: absolute;
32
- z-index: 9999999999;
33
- transform-origin: center;
34
- transform-style: preserve-3d;
35
- filter: blur(0em);
36
- transition: filter 0.5s;
37
- }
38
-
39
- :host * {
40
- -webkit-user-select: none;
41
- -moz-user-select: none;
42
- -ms-user-select: none;
43
- user-select: none;
44
- -webkit-touch-callout: none;
45
- /* prevent callout to copy image, etc when tap to hold */
46
- -webkit-text-size-adjust: none;
47
- /* prevent webkit from resizing text to fit */
48
- -webkit-user-select: none;
49
- /* prevent copy paste, to allow, change 'none' to 'text' */
50
- }
51
-
52
- /* FOCUS */
53
- :host summary:focus,
54
- :host a:focus,
55
- :host button:focus {
56
- outline: none;
57
- }
58
-
59
- .splashscreen,
60
- .fullscreen-bg {
61
- padding: 0;
62
- margin: 0;
63
- top: 0;
64
- left: 0;
65
- right: 0;
66
- bottom: 0;
67
- padding: 0;
68
- background-attachment: fixed;
69
- background-position: center;
70
- background-clip: content-box;
71
- background-size: cover;
72
- position: absolute;
73
- min-width: 100vw;
74
- min-height: 100vh;
75
- width: 100vw;
76
- height: 100vh;
77
- z-index: 0;
78
- overflow: hidden;
79
- }
80
-
81
- .splashscreen .splashcontent {
82
- top: 0;
83
- left: 0;
84
- right: 0;
85
- bottom: 0;
86
- margin: 0 auto;
87
- width: 100vw;
88
- height: 100vh;
89
- padding: 0;
90
- overflow: hidden;
91
- z-index: 1;
92
- }
93
-
94
- .splashscreen .splashcontent p {
95
- color: white;
96
- }
97
-
98
- video.fullscreen-bg__video {
99
- top: 0;
100
- left: 0;
101
- bottom: 0;
102
- right: 0;
103
- margin: 0;
104
- padding: 0;
105
- position: absolute;
106
- min-width: 100vw;
107
- min-height: 100vh;
108
- overflow: hidden;
109
- z-index: 0;
110
- object-fit: cover;
111
- }
@@ -1,46 +0,0 @@
1
- @import url("./base-modal.css");
2
-
3
- .modal details {
4
- border: 1px 0 0 1px solid #aaa;
5
- border-radius: 4px;
6
- padding: .5em .5em 0;
7
- }
8
-
9
- .modal summary {
10
- font-weight: bold;
11
- margin: -.5em -.5em 0;
12
- padding: .5em;
13
- }
14
-
15
- .modal details[open] {
16
- padding: .5em;
17
- }
18
-
19
- .modal details[open] summary {
20
- border-bottom: 1px solid #aaa;
21
- margin-bottom: .5em;
22
- }
23
-
24
- .modal summary::-webkit-details-marker {
25
- display: none
26
- }
27
-
28
- .modal summary:after {
29
- border-radius: 5px;
30
- content: "+";
31
- color: #111111;
32
- float: left;
33
- font-size: 1.5em;
34
- font-weight: bold;
35
- margin: -5px 10px 0 0;
36
- padding: 0;
37
- text-align: center;
38
- width: 20px;
39
- }
40
- .modal details[open] summary:after {
41
- content: "-";
42
- }
43
-
44
- .modal ul {
45
- list-style-type: none;
46
- }
package/build/index.cjs DELETED
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const sdk = require("./QCObjects-SDK");
4
- module.exports = sdk;
package/build/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- import sdk from "./QCObjects-SDK.js";
2
- export default sdk;
@@ -1,3 +0,0 @@
1
- <div class="center">
2
- <p>YOU LOSE!</p>
3
- </div>
@@ -1,4 +0,0 @@
1
- <div class="center">
2
- <h1>Title</h1>
3
- <p>YOU WIN!</p>
4
- </div>
@@ -1,128 +0,0 @@
1
- <style>
2
- :host * {
3
- box-sizing: border-box;
4
- }
5
-
6
- :host {
7
- zoom: 1.0;
8
- width: device-width;
9
- margin: 0;
10
- top: 0;
11
- left: 0;
12
- right: 0;
13
- bottom: 0;
14
- position: absolute;
15
- padding: 0;
16
- min-width: 100vw;
17
- min-height: 100vh;
18
- width: 100vw;
19
- height: 100vh;
20
- overflow: hidden;
21
- background-color: black;
22
- }
23
- #slot-logo::slotted(img) {
24
- vertical-align: middle;
25
- display: block;
26
- width: 100vw;
27
- left: 0;
28
- margin: 0;
29
- padding: 0;
30
- top: 20vh;
31
- bottom: 20vh;
32
- position: absolute;
33
- z-index: 9999999999;
34
- transform-origin: center;
35
- transform-style: preserve-3d;
36
- filter: blur(0em);
37
- transition: filter 0.5s;
38
- }
39
-
40
- :host * {
41
- -webkit-user-select: none;
42
- -moz-user-select: none;
43
- -ms-user-select: none;
44
- user-select: none;
45
- -webkit-touch-callout: none;
46
- /* prevent callout to copy image, etc when tap to hold */
47
- -webkit-text-size-adjust: none;
48
- /* prevent webkit from resizing text to fit */
49
- -webkit-user-select: none;
50
- /* prevent copy paste, to allow, change 'none' to 'text' */
51
- }
52
-
53
- /* FOCUS */
54
- :host summary:focus,
55
- :host a:focus,
56
- :host button:focus {
57
- outline: none;
58
- }
59
-
60
- .splashscreen,
61
- .fullscreen-bg {
62
- padding: 0;
63
- margin: 0;
64
- top: 0;
65
- left: 0;
66
- right: 0;
67
- bottom: 0;
68
- padding: 0;
69
- background-attachment: fixed;
70
- background-position: center;
71
- background-clip: content-box;
72
- background-size: cover;
73
- position: absolute;
74
- min-width: 100vw;
75
- min-height: 100vh;
76
- width: 100vw;
77
- height: 100vh;
78
- z-index: 0;
79
- overflow: hidden;
80
- }
81
-
82
- .splashscreen .splashcontent {
83
- top: 0;
84
- left: 0;
85
- right: 0;
86
- bottom: 0;
87
- margin: 0 auto;
88
- width: 100vw;
89
- height: 100vh;
90
- padding: 0;
91
- overflow: hidden;
92
- z-index: 1;
93
- }
94
-
95
- .splashscreen .splashcontent p {
96
- color: white;
97
- }
98
-
99
- video.fullscreen-bg__video {
100
- top: 0;
101
- left: 0;
102
- bottom: 0;
103
- right: 0;
104
- margin: 0;
105
- padding: 0;
106
- position: absolute;
107
- min-width: 100vw;
108
- min-height: 100vh;
109
- overflow: hidden;
110
- z-index: 0;
111
- object-fit: cover;
112
- }
113
- .splashscreen,
114
- .fullscreen-bg {
115
- background-image: url('{{background}}');
116
- }
117
-
118
- </style>
119
- <div class="splashscreen">
120
- <div class="fullscreen-bg splashcontent">
121
- <video loop muted autoplay playsinline name="media" poster="{{background}}" class="fullscreen-bg__video" data-setup="{}" height="100%">
122
- <source src="{{video_mp4}}" type="video/mp4">
123
- <source src="{{video_ogg}}" type="video/ogg">
124
- <source src="{{video_webm}}" type="video/webm">
125
- </video>
126
- <slot id="slot-logo" name="logo"></slot>
127
- </div>
128
- </div>
@@ -1,22 +0,0 @@
1
- <style>
2
- html
3
- {
4
- box-sizing: border-box;
5
- overflow: -moz-scrollbars-vertical;
6
- overflow-y: scroll;
7
- }
8
-
9
- *,
10
- *:before,
11
- *:after
12
- {
13
- box-sizing: inherit;
14
- }
15
-
16
- body
17
- {
18
- margin:0;
19
- background: #fafafa;
20
- }
21
- </style>
22
- <div id="swagger-ui"></div>