@lwc/engine-core 7.1.2 → 7.3.0-alpha.0
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/dist/framework/decorators/wire.d.ts +2 -2
- package/dist/framework/wiring/index.d.ts +1 -1
- package/dist/framework/wiring/types.d.ts +28 -0
- package/dist/index.cjs.js +4 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +4 -12
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -5341,14 +5341,14 @@ function i(iterable, factory) {
|
|
|
5341
5341
|
// TODO [#1276]: compiler should give us some sort of indicator when a vnodes collection is dynamic
|
|
5342
5342
|
sc(list);
|
|
5343
5343
|
const vmBeingRendered = getVMBeingRendered();
|
|
5344
|
-
if (isUndefined$1(iterable) || iterable
|
|
5344
|
+
if (isUndefined$1(iterable) || isNull(iterable)) {
|
|
5345
5345
|
if (process.env.NODE_ENV !== 'production') {
|
|
5346
|
-
logError(`Invalid template iteration for value
|
|
5346
|
+
logError(`Invalid template iteration for value \`${toString$1(iterable)}\` in ${vmBeingRendered}. It must be an array-like object.`, vmBeingRendered);
|
|
5347
5347
|
}
|
|
5348
5348
|
return list;
|
|
5349
5349
|
}
|
|
5350
5350
|
if (process.env.NODE_ENV !== 'production') {
|
|
5351
|
-
assert.isFalse(isUndefined$1(iterable[SymbolIterator]), `Invalid template iteration for value \`${toString$1(iterable)}\` in ${vmBeingRendered}. It must be an array-like object
|
|
5351
|
+
assert.isFalse(isUndefined$1(iterable[SymbolIterator]), `Invalid template iteration for value \`${toString$1(iterable)}\` in ${vmBeingRendered}. It must be an array-like object.`);
|
|
5352
5352
|
}
|
|
5353
5353
|
const iterator = iterable[SymbolIterator]();
|
|
5354
5354
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -5485,9 +5485,6 @@ function k(compilerKey, obj) {
|
|
|
5485
5485
|
function gid(id) {
|
|
5486
5486
|
const vmBeingRendered = getVMBeingRendered();
|
|
5487
5487
|
if (isUndefined$1(id) || id === '') {
|
|
5488
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
5489
|
-
logError(`Invalid id value "${id}". The id attribute must contain a non-empty string.`, vmBeingRendered);
|
|
5490
|
-
}
|
|
5491
5488
|
return id;
|
|
5492
5489
|
}
|
|
5493
5490
|
// We remove attributes when they are assigned a value of null
|
|
@@ -5504,11 +5501,6 @@ function gid(id) {
|
|
|
5504
5501
|
function fid(url) {
|
|
5505
5502
|
const vmBeingRendered = getVMBeingRendered();
|
|
5506
5503
|
if (isUndefined$1(url) || url === '') {
|
|
5507
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
5508
|
-
if (isUndefined$1(url)) {
|
|
5509
|
-
logError(`Undefined url value for "href" or "xlink:href" attribute. Expected a non-empty string.`, vmBeingRendered);
|
|
5510
|
-
}
|
|
5511
|
-
}
|
|
5512
5504
|
return url;
|
|
5513
5505
|
}
|
|
5514
5506
|
// We remove attributes when they are assigned a value of null
|
|
@@ -8044,5 +8036,5 @@ function readonly(obj) {
|
|
|
8044
8036
|
}
|
|
8045
8037
|
|
|
8046
8038
|
export { LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, computeShadowAndRenderMode, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentAPIVersion, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, registerComponent, registerDecorators, registerTemplate, runFormAssociatedCallback, runFormDisabledCallback, runFormResetCallback, runFormStateRestoreCallback, sanitizeAttribute, setHooks, shouldBeFormAssociated, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
8047
|
-
/** version: 7.
|
|
8039
|
+
/** version: 7.2.0 */
|
|
8048
8040
|
//# sourceMappingURL=index.js.map
|