@qaecy/cue-ui 0.0.5 → 0.0.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.
- package/README.md +45 -50
- package/card/index.js +1 -0
- package/document-list/index.html +6 -6
- package/document-list/index.js +1 -0
- package/document-list/main.js +1 -1
- package/document-viewer/3rdpartylicenses.txt +0 -27
- package/document-viewer/741.js +1 -1
- package/document-viewer/index.html +12 -12
- package/document-viewer/index.js +1 -0
- package/document-viewer/main.js +1 -1
- package/document-viewer/runtime.js +1 -1
- package/id-builder/index.js +1 -0
- package/logo/index.html +1 -1
- package/logo/index.js +1 -0
- package/logo/main.js +1 -1
- package/package.json +1 -1
- package/project-documents/index.js +1 -0
package/document-list/index.html
CHANGED
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
overflow: auto;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
cue-document-list
|
|
276
|
+
cue-document-list {
|
|
277
277
|
display: block;
|
|
278
278
|
width: 100%;
|
|
279
279
|
min-height: 480px;
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
<main id="list-area">
|
|
351
351
|
<div id="toolbar">Select a project to load documents.</div>
|
|
352
352
|
<div id="list-wrapper">
|
|
353
|
-
<cue-document-list
|
|
353
|
+
<cue-document-list id="doc-list"></cue-document-list>
|
|
354
354
|
</div>
|
|
355
355
|
</main>
|
|
356
356
|
</div>
|
|
@@ -358,11 +358,11 @@
|
|
|
358
358
|
<script type="module">
|
|
359
359
|
window.addEventListener('load', () => {
|
|
360
360
|
setTimeout(() => {
|
|
361
|
-
if (customElements.get('cue-document-list
|
|
362
|
-
console.log('[demo] cue-document-list
|
|
361
|
+
if (customElements.get('cue-document-list')) {
|
|
362
|
+
console.log('[demo] cue-document-list registered OK');
|
|
363
363
|
} else {
|
|
364
364
|
console.error(
|
|
365
|
-
'[demo] cue-document-list
|
|
365
|
+
'[demo] cue-document-list NOT registered after 4 s. Check runtime.js/polyfills.js/main.js loads.'
|
|
366
366
|
);
|
|
367
367
|
}
|
|
368
368
|
}, 4000);
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
const list = $('doc-list');
|
|
424
424
|
if (!list || !activeProjectId) return;
|
|
425
425
|
|
|
426
|
-
await customElements.whenDefined('cue-document-list
|
|
426
|
+
await customElements.whenDefined('cue-document-list');
|
|
427
427
|
list.projectId = activeProjectId;
|
|
428
428
|
list.uuids = shownDocs.map((doc) => doc.uuid);
|
|
429
429
|
list.sdkState = { cue, language: cue.api.language || 'en' };
|