@veloceapps/sdk 7.0.2-80 → 7.0.2-82
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/esm2020/cms/utils/element.utils.mjs +2 -2
- package/esm2020/src/components/header/header.component.mjs +3 -3
- package/fesm2015/veloceapps-sdk-cms.mjs +1 -1
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk.mjs +2 -2
- package/fesm2015/veloceapps-sdk.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk.mjs +2 -2
- package/fesm2020/veloceapps-sdk.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1835,7 +1835,7 @@ const metadataToElement = (metadata, recursive = true) => {
|
|
|
1835
1835
|
};
|
|
1836
1836
|
const normalizedElMetadata = normalizeElementMetadata(elMetadata);
|
|
1837
1837
|
if (!metadata.script || !EXPORTED_CLASS_REGEX.test(metadata.script)) {
|
|
1838
|
-
throw new UiBuildError(`'${metadata.
|
|
1838
|
+
throw new UiBuildError(`'${metadata.path}' component script is missing an exported class`, metadata);
|
|
1839
1839
|
}
|
|
1840
1840
|
const script = btoaSafe(metadata.script?.replace(EXPORTED_CLASS_REGEX, `@ElementDefinition(${stringifyElementMetadata(normalizedElMetadata)})\nexport class Script`));
|
|
1841
1841
|
const template = btoaSafe(metadata.template);
|