Some checks failed
CI - 4NK Node / Code Quality (push) Failing after 31s
CI - 4NK Node / Unit Tests (push) Failing after 29s
CI - 4NK Node / Integration Tests (push) Successful in 26s
CI - 4NK Node / Security Tests (push) Failing after 28s
CI - 4NK Node / Docker Build & Test (push) Failing after 10s
CI - 4NK Node / Documentation Tests (push) Successful in 4s
CI - 4NK Node / Performance Tests (push) Successful in 33s
CI - 4NK Node / Notify (push) Failing after 2s
50 lines
1.2 KiB
TypeScript
50 lines
1.2 KiB
TypeScript
// import processHtml from './process.html?raw';
|
|
// import processScript from './process.ts?raw';
|
|
// import processCss from '../../4nk.css?raw';
|
|
// import { init } from './process';
|
|
|
|
// export class ProcessListComponent extends HTMLElement {
|
|
// _callback: any;
|
|
// constructor() {
|
|
// super();
|
|
// this.attachShadow({ mode: 'open' });
|
|
// }
|
|
|
|
// connectedCallback() {
|
|
// console.log('CALLBACK PROCESS LIST PAGE');
|
|
// this.render();
|
|
// setTimeout(() => {
|
|
// init();
|
|
// }, 500);
|
|
// }
|
|
|
|
// set callback(fn) {
|
|
// if (typeof fn === 'function') {
|
|
// this._callback = fn;
|
|
// } else {
|
|
// console.error('Callback is not a function');
|
|
// }
|
|
// }
|
|
|
|
// get callback() {
|
|
// return this._callback;
|
|
// }
|
|
|
|
// render() {
|
|
// if (this.shadowRoot)
|
|
// this.shadowRoot.innerHTML = `
|
|
// <style>
|
|
// ${processCss}
|
|
// </style>${processHtml}
|
|
// <script type="module">
|
|
// ${processScript}
|
|
// </scipt>
|
|
|
|
// `;
|
|
// }
|
|
// }
|
|
|
|
// if (!customElements.get('process-list-4nk-component')) {
|
|
// customElements.define('process-list-4nk-component', ProcessListComponent);
|
|
// }
|