@qaecy/cue-ui 0.0.1 → 0.0.4

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 (44) hide show
  1. package/README.md +93 -2
  2. package/card/3rdpartylicenses.txt +443 -0
  3. package/card/index.html +40 -0
  4. package/card/main.js +1 -0
  5. package/card/polyfills.js +1 -0
  6. package/card/poppins-latin-400-normal.woff +0 -0
  7. package/card/poppins-latin-400-normal.woff2 +0 -0
  8. package/card/poppins-latin-ext-400-normal.woff +0 -0
  9. package/card/poppins-latin-ext-400-normal.woff2 +0 -0
  10. package/card/runtime.js +1 -0
  11. package/card/styles.css +1 -0
  12. package/document-list/3rdpartylicenses.txt +723 -0
  13. package/document-list/index.html +549 -0
  14. package/document-list/main.js +1 -0
  15. package/document-list/polyfills.js +1 -0
  16. package/document-list/poppins-latin-400-normal.woff +0 -0
  17. package/document-list/poppins-latin-400-normal.woff2 +0 -0
  18. package/document-list/poppins-latin-ext-400-normal.woff +0 -0
  19. package/document-list/poppins-latin-ext-400-normal.woff2 +0 -0
  20. package/document-list/runtime.js +1 -0
  21. package/document-list/styles.css +1 -0
  22. package/document-viewer/236.js +1 -0
  23. package/document-viewer/336.js +1 -0
  24. package/document-viewer/3rdpartylicenses.txt +50 -68
  25. package/document-viewer/560.js +1 -1
  26. package/document-viewer/741.js +1 -0
  27. package/document-viewer/{160.js → 781.js} +1 -1
  28. package/document-viewer/83.js +1 -1
  29. package/document-viewer/885.js +1 -0
  30. package/document-viewer/common.js +1 -1
  31. package/document-viewer/index.html +595 -29
  32. package/document-viewer/main.js +1 -1
  33. package/logo/index.html +87 -2
  34. package/logo/main.js +1 -1
  35. package/package.json +10 -2
  36. package/project-documents/main.js +1 -1
  37. package/document-viewer/130.js +0 -1
  38. package/document-viewer/241.js +0 -1
  39. package/document-viewer/266.js +0 -1
  40. package/document-viewer/315.js +0 -1
  41. package/document-viewer/734.js +0 -1
  42. package/document-viewer/829.js +0 -1
  43. package/document-viewer/843.js +0 -1
  44. package/document-viewer/888.js +0 -1
package/logo/index.html CHANGED
@@ -3,11 +3,96 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <title>Cue Logo</title>
6
- <base href="/">
6
+ <base href="./">
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1">
8
8
  <link rel="icon" type="image/x-icon" href="favicon.ico">
9
+
10
+ <!-- Angular runtime scripts - MUST load before custom element usage -->
11
+ <script src="runtime.js" type="module"></script>
12
+ <script src="polyfills.js" type="module"></script>
13
+ <script src="main.js" type="module"></script>
14
+
15
+ <style>
16
+ body {
17
+ margin: 0;
18
+ padding: 20px;
19
+ background: #f5f5f5;
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ min-height: 100vh;
24
+ }
25
+ cue-logo {
26
+ display: block;
27
+ width: 200px;
28
+ height: auto;
29
+ }
30
+ #bootstrap-error {
31
+ display: none;
32
+ padding: 20px;
33
+ background: #c44;
34
+ color: white;
35
+ position: fixed;
36
+ inset: 0;
37
+ z-index: 1000;
38
+ overflow: auto;
39
+ font-family: monospace;
40
+ }
41
+ #bootstrap-error h2 {
42
+ margin-top: 0;
43
+ }
44
+ #bootstrap-error pre {
45
+ background: #333;
46
+ padding: 12px;
47
+ border-radius: 4px;
48
+ overflow-x: auto;
49
+ }
50
+ </style>
9
51
  </head>
10
52
  <body>
11
- <cue-logo active="true"></cue-logo>
53
+ <cue-logo></cue-logo>
54
+
55
+ <!-- ── Bootstrap error display ──────────────────────── -->
56
+ <div id="bootstrap-error">
57
+ <h2>Angular Bootstrap Failed</h2>
58
+ <p>The cue-logo web component failed to initialize.</p>
59
+ <pre id="bootstrap-error-details"></pre>
60
+ <p style="margin-bottom: 0; opacity: 0.9">
61
+ Check the browser console (F12) for more details.
62
+ </p>
63
+ </div>
64
+
65
+ <script>
66
+ // ── Angular bootstrap health check ───────────────────
67
+ window.addEventListener('load', () => {
68
+ setTimeout(() => {
69
+ if (customElements.get('cue-logo')) {
70
+ console.log('[demo] ✓ cue-logo registered OK');
71
+ } else {
72
+ const errorMsg =
73
+ 'Angular failed to bootstrap. Check the Network tab for failed script loads (runtime.js / polyfills.js / main.js).';
74
+ console.error('[demo] ✗ cue-logo NOT registered after 4 s.\n' + errorMsg);
75
+
76
+ // Display error on page
77
+ const errorDiv = document.getElementById('bootstrap-error');
78
+ const errorDetails = document.getElementById('bootstrap-error-details');
79
+ if (errorDiv && errorDetails) {
80
+ errorDetails.textContent =
81
+ errorMsg + '\n\nCheck browser console (F12) for detailed logs.';
82
+ errorDiv.style.display = 'flex';
83
+ errorDiv.style.flexDirection = 'column';
84
+ }
85
+ }
86
+ }, 4000);
87
+ });
88
+
89
+ // ── Global error logging ───────────────────────────
90
+ window.addEventListener('error', (evt) => {
91
+ console.error('[demo] Global error:', evt.error);
92
+ });
93
+ window.addEventListener('unhandledrejection', (evt) => {
94
+ console.error('[demo] Unhandled promise rejection:', evt.reason);
95
+ });
96
+ </script>
12
97
  <script src="runtime.js" type="module"></script><script src="polyfills.js" type="module"></script><script src="main.js" type="module"></script></body>
13
98
  </html>