@ui5/webcomponents-tools 0.0.0-2c7615fe9 → 0.0.0-2c875c3d3
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/CHANGELOG.md +2223 -0
- package/LICENSE.txt +201 -0
- package/README.md +7 -10
- package/assets-meta.js +14 -7
- package/bin/dev.js +3 -6
- package/bin/ui5nps.js +265 -0
- package/components-package/eslint.js +66 -2
- package/components-package/nps.js +150 -80
- package/components-package/postcss.components.js +1 -21
- package/components-package/postcss.themes.js +1 -23
- package/components-package/vite.config.js +9 -0
- package/components-package/wdio.js +116 -39
- package/icons-collection/nps.js +60 -18
- package/lib/amd-to-es6/index.js +107 -0
- package/lib/amd-to-es6/no-remaining-require.js +33 -0
- package/lib/cem/cem.js +12 -0
- package/lib/cem/custom-elements-manifest.config.mjs +530 -0
- package/lib/cem/event.mjs +168 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/cli.js +128 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/package.json +59 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/browser-entrypoint.js +23 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/create.js +117 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/arrow-function.js +26 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/class-jsdoc.js +157 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/classes.js +20 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/creators/createArrowFunction.js +17 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/creators/createAttribute.js +24 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/creators/createClass.js +301 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/creators/createClassField.js +26 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/creators/createFunctionLike.js +73 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/creators/createMixin.js +33 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/creators/createVariable.js +22 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/creators/handlers.js +338 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/custom-elements-define-calls.js +90 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/exports.js +156 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/function-like.js +24 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/mixins.js +29 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/reexported-wrapped-mixin-exports.js +84 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/analyse-phase/variables.js +34 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/collect-phase/collect-imports.js +101 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/catalyst/catalyst.js +11 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/catalyst/controller.js +34 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/catalyst-major-2/catalyst.js +11 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/catalyst-major-2/controller.js +34 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/decorators/attr.js +53 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/decorators/custom-element-decorator.js +36 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/fast/fast.js +7 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/lit/lit.js +13 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/lit/member-denylist.js +21 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/lit/method-denylist.js +20 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/lit/property-decorator.js +94 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/lit/static-properties.js +121 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/lit/utils.js +66 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/framework-plugins/stencil/stencil.js +129 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/index.js +80 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/link-phase/cleanup-classes.js +25 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/link-phase/field-denylist.js +22 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/link-phase/method-denylist.js +25 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/post-processing/apply-inheritance.js +78 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/post-processing/is-custom-element.js +34 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/post-processing/link-class-to-tagname.js +27 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/post-processing/remove-unexported-declarations.js +23 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/features/post-processing/resolve-initializers.js +52 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/utils/ast-helpers.js +186 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/utils/cli-helpers.js +164 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/utils/exports.js +44 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/utils/find-external-manifests.js +67 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/utils/imports.js +25 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/utils/index.js +71 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/utils/jsdoc.js +19 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/utils/manifest-helpers.js +194 -0
- package/lib/cem/patch/@custom-elements-manifest/analyzer/src/utils/mixins.js +112 -0
- package/lib/cem/schema-internal.json +1422 -0
- package/lib/cem/schema.json +1098 -0
- package/lib/cem/types-internal.d.ts +808 -0
- package/lib/cem/types.d.ts +736 -0
- package/lib/cem/utils.mjs +423 -0
- package/lib/cem/validate.js +76 -0
- package/lib/copy-and-watch/index.js +128 -97
- package/lib/copy-list/index.js +26 -20
- package/lib/create-icons/index.js +131 -58
- package/lib/create-illustrations/index.js +180 -46
- package/lib/create-new-component/Component.js +74 -0
- package/lib/create-new-component/ComponentTemplate.js +12 -0
- package/lib/create-new-component/index.js +62 -101
- package/lib/css-processors/css-processor-components.mjs +92 -0
- package/lib/css-processors/css-processor-themes.mjs +102 -0
- package/lib/css-processors/scope-variables.mjs +49 -0
- package/lib/css-processors/shared.mjs +46 -0
- package/lib/dev-server/custom-hot-update-plugin.js +39 -0
- package/lib/dev-server/dev-server.mjs +78 -0
- package/lib/dev-server/virtual-index-html-plugin.js +56 -0
- package/lib/generate-js-imports/illustrations.js +85 -0
- package/lib/generate-json-imports/i18n.js +70 -70
- package/lib/generate-json-imports/themes.js +47 -49
- package/lib/hbs2lit/src/compiler.js +24 -4
- package/lib/hbs2lit/src/includesReplacer.js +5 -5
- package/lib/hbs2lit/src/litVisitor2.js +95 -24
- package/lib/hbs2lit/src/svgProcessor.js +12 -5
- package/lib/hbs2ui5/RenderTemplates/LitRenderer.js +39 -6
- package/lib/hbs2ui5/index.js +57 -24
- package/lib/i18n/defaults.js +74 -60
- package/lib/i18n/toJSON.js +21 -16
- package/lib/icons-hash/icons-hash.mjs +149 -0
- package/lib/postcss-combine-duplicated-selectors/index.js +185 -0
- package/lib/remove-dev-mode/remove-dev-mode.mjs +51 -0
- package/lib/rimraf/rimraf.js +31 -0
- package/lib/scoping/get-all-tags.js +11 -11
- package/lib/scoping/lint-src.js +8 -7
- package/lib/scoping/missing-dependencies.js +65 -0
- package/lib/scoping/report-tags-usage.js +28 -0
- package/lib/scoping/scope-test-pages.js +2 -1
- package/lib/test-runner/test-runner.js +71 -0
- package/package.json +53 -49
- package/tsconfig.json +18 -0
- package/bin/init-ui5-package.js +0 -3
- package/components-package/rollup.js +0 -216
- package/lib/documentation/index.js +0 -165
- package/lib/documentation/templates/api-component-since.js +0 -3
- package/lib/documentation/templates/api-css-variables-section.js +0 -24
- package/lib/documentation/templates/api-events-section.js +0 -35
- package/lib/documentation/templates/api-methods-section.js +0 -26
- package/lib/documentation/templates/api-properties-section.js +0 -40
- package/lib/documentation/templates/api-slots-section.js +0 -28
- package/lib/documentation/templates/template.js +0 -38
- package/lib/esm-abs-to-rel/index.js +0 -54
- package/lib/hash/config.js +0 -10
- package/lib/hash/generate.js +0 -19
- package/lib/hash/upToDate.js +0 -31
- package/lib/init-package/index.js +0 -136
- package/lib/init-package/resources/.eslintignore +0 -3
- package/lib/init-package/resources/bundle.es5.js +0 -25
- package/lib/init-package/resources/bundle.esm.js +0 -31
- package/lib/init-package/resources/config/.eslintrc.js +0 -1
- package/lib/init-package/resources/config/postcss.components/postcss.config.js +0 -1
- package/lib/init-package/resources/config/postcss.themes/postcss.config.js +0 -1
- package/lib/init-package/resources/config/rollup.config.js +0 -1
- package/lib/init-package/resources/config/wdio.conf.js +0 -1
- package/lib/init-package/resources/package-scripts.js +0 -11
- package/lib/init-package/resources/src/Assets.js +0 -5
- package/lib/init-package/resources/src/MyFirstComponent.hbs +0 -1
- package/lib/init-package/resources/src/MyFirstComponent.js +0 -56
- package/lib/init-package/resources/src/i18n/messagebundle.properties +0 -2
- package/lib/init-package/resources/src/i18n/messagebundle_de.properties +0 -1
- package/lib/init-package/resources/src/i18n/messagebundle_en.properties +0 -1
- package/lib/init-package/resources/src/i18n/messagebundle_es.properties +0 -1
- package/lib/init-package/resources/src/i18n/messagebundle_fr.properties +0 -1
- package/lib/init-package/resources/src/themes/MyFirstComponent.css +0 -11
- package/lib/init-package/resources/src/themes/sap_belize/parameters-bundle.css +0 -3
- package/lib/init-package/resources/src/themes/sap_belize_hcb/parameters-bundle.css +0 -3
- package/lib/init-package/resources/src/themes/sap_belize_hcw/parameters-bundle.css +0 -3
- package/lib/init-package/resources/src/themes/sap_fiori_3/parameters-bundle.css +0 -3
- package/lib/init-package/resources/src/themes/sap_fiori_3_dark/parameters-bundle.css +0 -3
- package/lib/init-package/resources/src/themes/sap_fiori_3_hcb/parameters-bundle.css +0 -3
- package/lib/init-package/resources/src/themes/sap_fiori_3_hcw/parameters-bundle.css +0 -3
- package/lib/init-package/resources/test/pages/index.html +0 -56
- package/lib/init-package/resources/test/specs/Demo.spec.js +0 -12
- package/lib/jsdoc/config.json +0 -29
- package/lib/jsdoc/plugin.js +0 -2427
- package/lib/jsdoc/template/publish.js +0 -4101
- package/lib/polyfill-placeholder/index.js +0 -5
- package/lib/postcss-css-to-esm/index.js +0 -45
- package/lib/postcss-css-to-json/index.js +0 -31
- package/lib/postcss-new-files/index.js +0 -36
- package/lib/replace-global-core/index.js +0 -20
- package/lib/serve/index.js +0 -46
- package/lib/serve/serve.json +0 -3
- package/package-lock.json +0 -48
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// used in test pages
|
|
2
|
-
import { renderFinished } from "@ui5/webcomponents-base/dist/Render.js";
|
|
3
|
-
|
|
4
|
-
import { getAnimationMode } from "@ui5/webcomponents-base/dist/config/AnimationMode.js";
|
|
5
|
-
import { getLanguage } from "@ui5/webcomponents-base/dist/config/Language.js";
|
|
6
|
-
import { getCalendarType } from "@ui5/webcomponents-base/dist/config/CalendarType.js";
|
|
7
|
-
import { getTheme, setTheme } from "@ui5/webcomponents-base/dist/config/Theme.js";
|
|
8
|
-
import { getNoConflict, setNoConflict } from "@ui5/webcomponents-base/dist/config/NoConflict.js";
|
|
9
|
-
import { getRTL } from "@ui5/webcomponents-base/dist/config/RTL.js";
|
|
10
|
-
import { getFirstDayOfWeek } from "@ui5/webcomponents-base/dist/config/FormatSettings.js";
|
|
11
|
-
|
|
12
|
-
// Enable additional themes and i18n texts
|
|
13
|
-
import "./dist/Assets.js";
|
|
14
|
-
|
|
15
|
-
// Import your web components here from the dist/ directory
|
|
16
|
-
import "./dist/INIT_PACKAGE_VAR_CLASS_NAME.js";
|
|
17
|
-
|
|
18
|
-
window["sap-ui-webcomponents-bundle"] = {
|
|
19
|
-
renderFinished,
|
|
20
|
-
configuration: {
|
|
21
|
-
getAnimationMode,
|
|
22
|
-
getLanguage,
|
|
23
|
-
getTheme,
|
|
24
|
-
setTheme,
|
|
25
|
-
getNoConflict,
|
|
26
|
-
setNoConflict,
|
|
27
|
-
getCalendarType,
|
|
28
|
-
getRTL,
|
|
29
|
-
getFirstDayOfWeek,
|
|
30
|
-
},
|
|
31
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("@ui5/webcomponents-tools/components-package/eslint.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("@ui5/webcomponents-tools/components-package/postcss.components.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("@ui5/webcomponents-tools/components-package/postcss.themes.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("@ui5/webcomponents-tools/components-package/rollup.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("@ui5/webcomponents-tools/components-package/wdio.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<div>This is: INIT_PACKAGE_VAR_TAG. {{pleaseWaitText}}</div>
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
2
|
-
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
-
import { fetchI18nBundle, getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
|
4
|
-
|
|
5
|
-
// Template
|
|
6
|
-
import INIT_PACKAGE_VAR_CLASS_NAMETemplate from "./generated/templates/INIT_PACKAGE_VAR_CLASS_NAMETemplate.lit.js";
|
|
7
|
-
|
|
8
|
-
// Styles
|
|
9
|
-
import INIT_PACKAGE_VAR_CLASS_NAMECss from "./generated/themes/INIT_PACKAGE_VAR_CLASS_NAME.css.js";
|
|
10
|
-
|
|
11
|
-
import { PLEASE_WAIT } from "./generated/i18n/i18n-defaults.js";
|
|
12
|
-
|
|
13
|
-
const metadata = {
|
|
14
|
-
tag: "INIT_PACKAGE_VAR_TAG",
|
|
15
|
-
properties: {
|
|
16
|
-
},
|
|
17
|
-
slots: {
|
|
18
|
-
},
|
|
19
|
-
events: {
|
|
20
|
-
},
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
class INIT_PACKAGE_VAR_CLASS_NAME extends UI5Element {
|
|
24
|
-
constructor() {
|
|
25
|
-
super();
|
|
26
|
-
this.i18nBundle = getI18nBundle("INIT_PACKAGE_VAR_NAME");
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
get pleaseWaitText() {
|
|
30
|
-
return this.i18nBundle.getText(PLEASE_WAIT);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
static get metadata() {
|
|
34
|
-
return metadata;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
static get render() {
|
|
38
|
-
return litRender;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
static get template() {
|
|
42
|
-
return INIT_PACKAGE_VAR_CLASS_NAMETemplate;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
static get styles() {
|
|
46
|
-
return INIT_PACKAGE_VAR_CLASS_NAMECss;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
static async onDefine() {
|
|
50
|
-
await fetchI18nBundle("INIT_PACKAGE_VAR_NAME");
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
INIT_PACKAGE_VAR_CLASS_NAME.define();
|
|
55
|
-
|
|
56
|
-
export default INIT_PACKAGE_VAR_CLASS_NAME;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
PLEASE_WAIT=Bitte warten
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
PLEASE_WAIT=Please wait
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
PLEASE_WAIT=Espere
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
PLEASE_WAIT=Patientez.
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
border: 2px solid var(--my-component-border-color);
|
|
3
|
-
background-color: var(--sapBackgroundColor);
|
|
4
|
-
color: var(--sapTextColor);
|
|
5
|
-
display: block;
|
|
6
|
-
width: 24rem;
|
|
7
|
-
height: 3rem;
|
|
8
|
-
text-align: center;
|
|
9
|
-
vertical-align: middle;
|
|
10
|
-
line-height: 3rem;
|
|
11
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<meta charset="utf-8">
|
|
7
|
-
|
|
8
|
-
<title>INIT_PACKAGE_VAR_TAG</title>
|
|
9
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
10
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
11
|
-
<meta charset="utf-8">
|
|
12
|
-
|
|
13
|
-
<script data-ui5-config type="application/json">
|
|
14
|
-
{
|
|
15
|
-
"language": "EN"
|
|
16
|
-
}
|
|
17
|
-
</script>
|
|
18
|
-
|
|
19
|
-
<script src="../../webcomponentsjs/webcomponents-loader.js"></script>
|
|
20
|
-
<script src="../../resources/bundle.esm.js" type="module"></script>
|
|
21
|
-
<script nomodule src="../../resources/bundle.es5.js"></script>
|
|
22
|
-
|
|
23
|
-
<style>
|
|
24
|
-
code { color: blue; font-size: small; }
|
|
25
|
-
</style>
|
|
26
|
-
|
|
27
|
-
</head>
|
|
28
|
-
|
|
29
|
-
<body>
|
|
30
|
-
<ul>
|
|
31
|
-
<li><a href="?sap-ui-theme=sap_fiori_3">Fiori 3</a></li>
|
|
32
|
-
<li><a href="?sap-ui-theme=sap_fiori_3_dark">Fiori 3 Dark</a></li>
|
|
33
|
-
<li><a href="?sap-ui-theme=sap_fiori_3_hcb">Fiori 3 High Contrast Black</a></li>
|
|
34
|
-
<li><a href="?sap-ui-theme=sap_fiori_3_hcw">Fiori 3 High Contrast White</a></li>
|
|
35
|
-
<li><a href="?sap-ui-theme=sap_belize">Belize</a></li>
|
|
36
|
-
<li><a href="?sap-ui-theme=sap_belize_hcb">Belize High Contrast Black</a></li>
|
|
37
|
-
<li><a href="?sap-ui-theme=sap_belize_hcw">Belize High Contrast White</a></li>
|
|
38
|
-
</ul>
|
|
39
|
-
<br>
|
|
40
|
-
<span>or in the browser console, for example:</span>
|
|
41
|
-
<code>window['sap-ui-webcomponents-bundle'].configuration.setTheme("sap_belize_hcb")</code>
|
|
42
|
-
|
|
43
|
-
<br><br>
|
|
44
|
-
|
|
45
|
-
<a href="?sap-ui-language=en">English</a> |
|
|
46
|
-
<a href="?sap-ui-language=de">German</a> |
|
|
47
|
-
<a href="?sap-ui-language=es">Spanish</a> |
|
|
48
|
-
<a href="?sap-ui-language=fr">French</a>
|
|
49
|
-
|
|
50
|
-
<br><br>
|
|
51
|
-
|
|
52
|
-
<h1>Test your web components here</h1>
|
|
53
|
-
<INIT_PACKAGE_VAR_TAG id="myFirstComponent"></INIT_PACKAGE_VAR_TAG>
|
|
54
|
-
</body>
|
|
55
|
-
|
|
56
|
-
</html>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const assert = require("assert");
|
|
2
|
-
|
|
3
|
-
describe("INIT_PACKAGE_VAR_TAG rendering", () => {
|
|
4
|
-
browser.url("http://localhost:INIT_PACKAGE_VAR_PORT/test-resources/pages/index.html");
|
|
5
|
-
|
|
6
|
-
it("tests if web component is correctly rendered", () => {
|
|
7
|
-
|
|
8
|
-
const innerContent = browser.$("#myFirstComponent").shadow$("div");
|
|
9
|
-
|
|
10
|
-
assert.ok(innerContent, "content rendered");
|
|
11
|
-
});
|
|
12
|
-
});
|
package/lib/jsdoc/config.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"source": {
|
|
3
|
-
"include": "src",
|
|
4
|
-
"excludePattern": "(/|\\\\)library-all\\.js|(/|\\\\).*-preload\\.js|^jquery-.*\\.js|^sap-.*\\.js|.+Renderer\\.lit\\.js|.*library\\.js|thirdparty"
|
|
5
|
-
},
|
|
6
|
-
"opts" : {
|
|
7
|
-
"recurse": true,
|
|
8
|
-
"template" : "template",
|
|
9
|
-
"destination": ""
|
|
10
|
-
},
|
|
11
|
-
"plugins": [
|
|
12
|
-
"./plugin.js"
|
|
13
|
-
],
|
|
14
|
-
"templates" : {
|
|
15
|
-
"ui5" : {
|
|
16
|
-
"variants": [
|
|
17
|
-
"apijson"
|
|
18
|
-
],
|
|
19
|
-
"version": "1.62",
|
|
20
|
-
"apiJsonFolder": "",
|
|
21
|
-
"apiJsonFile": "dist/api.json",
|
|
22
|
-
"includeSettingsInConstructor": false
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"tags": {
|
|
26
|
-
"allowUnknownTags": true,
|
|
27
|
-
"dictionaries": ["jsdoc"]
|
|
28
|
-
}
|
|
29
|
-
}
|