From 65bf573f88eebb1cc85b38aa1120829f7150765f Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 11 Oct 2023 14:48:58 -0600 Subject: [PATCH] All etemplate widgets in component list --- api/js/etemplate/Et2Image/Et2Image.ts | 2 +- doc/etemplate2/custom-elements-manifest.config.mjs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/js/etemplate/Et2Image/Et2Image.ts b/api/js/etemplate/Et2Image/Et2Image.ts index 891c87fcb8..0bbd0b0d18 100644 --- a/api/js/etemplate/Et2Image/Et2Image.ts +++ b/api/js/etemplate/Et2Image/Et2Image.ts @@ -248,4 +248,4 @@ export class Et2Image extends Et2Widget(SlotMixin(LitElement)) implements et2_ID } } -customElements.define("et2-image", Et2Image as any, {extends: 'img'}); \ No newline at end of file +customElements.define("et2-image", Et2Image, {extends: 'img'}); \ No newline at end of file diff --git a/doc/etemplate2/custom-elements-manifest.config.mjs b/doc/etemplate2/custom-elements-manifest.config.mjs index ae472884ca..158d52cd3a 100644 --- a/doc/etemplate2/custom-elements-manifest.config.mjs +++ b/doc/etemplate2/custom-elements-manifest.config.mjs @@ -26,10 +26,10 @@ function replace(string, terms) } export default { - globs: ["api/js/etemplate/**/Et2[!DIL]*/*.ts"], // There's something wrong with some widgets, they break the parser + globs: ["api/js/etemplate/**/Et2*/*.ts"], // There's something wrong with some widgets, they break the parser /** Globs to exclude */ exclude: ["*Date*"],//, 'et2_*.ts', '**/test/*', '**/*.styles.ts', '**/*.test.ts'], - dev: true, + dev: false, litelement: true, plugins: [ // Append package data