@lwc/engine-core 8.12.1 → 8.12.3
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/api.d.ts +1 -0
- package/dist/framework/base-bridge-element.d.ts +1 -0
- package/dist/framework/base-lightning-element.d.ts +1 -0
- package/dist/framework/check-version-mismatch.d.ts +1 -0
- package/dist/framework/component.d.ts +1 -0
- package/dist/framework/decorators/api.d.ts +1 -0
- package/dist/framework/decorators/register.d.ts +1 -0
- package/dist/framework/decorators/track.d.ts +1 -0
- package/dist/framework/decorators/wire.d.ts +1 -0
- package/dist/framework/def.d.ts +1 -0
- package/dist/framework/fragment-cache.d.ts +1 -0
- package/dist/framework/freeze-template.d.ts +1 -0
- package/dist/framework/get-component-constructor.d.ts +1 -0
- package/dist/framework/hot-swaps.d.ts +1 -0
- package/dist/framework/html-element.d.ts +1 -0
- package/dist/framework/html-properties.d.ts +1 -0
- package/dist/framework/hydration.d.ts +1 -0
- package/dist/framework/invoker.d.ts +1 -0
- package/dist/framework/main.d.ts +2 -0
- package/dist/framework/membrane.d.ts +1 -0
- package/dist/framework/modules/attrs.d.ts +1 -0
- package/dist/framework/modules/computed-class-attr.d.ts +1 -0
- package/dist/framework/modules/computed-style-attr.d.ts +1 -0
- package/dist/framework/modules/events.d.ts +1 -0
- package/dist/framework/modules/props.d.ts +1 -0
- package/dist/framework/modules/refs.d.ts +1 -0
- package/dist/framework/modules/static-class-attr.d.ts +1 -0
- package/dist/framework/modules/static-parts.d.ts +1 -0
- package/dist/framework/modules/static-style-attr.d.ts +1 -0
- package/dist/framework/modules/text.d.ts +1 -0
- package/dist/framework/mutation-logger.d.ts +1 -0
- package/dist/framework/mutation-tracker.d.ts +1 -0
- package/dist/framework/observed-fields.d.ts +1 -0
- package/dist/framework/profiler.d.ts +1 -0
- package/dist/framework/readonly.d.ts +1 -0
- package/dist/framework/renderer.d.ts +1 -0
- package/dist/framework/rendering.d.ts +1 -0
- package/dist/framework/reporting.d.ts +1 -0
- package/dist/framework/restrictions.d.ts +1 -0
- package/dist/framework/runtime-instrumentation.d.ts +1 -0
- package/dist/framework/sanitized-html-content.d.ts +1 -0
- package/dist/framework/secure-template.d.ts +1 -0
- package/dist/framework/shadow-migration-mode.d.ts +1 -0
- package/dist/framework/stylesheet.d.ts +1 -0
- package/dist/framework/template.d.ts +1 -0
- package/dist/framework/update-component-value.d.ts +1 -0
- package/dist/framework/utils.d.ts +1 -0
- package/dist/framework/vm.d.ts +1 -0
- package/dist/framework/vnodes.d.ts +1 -0
- package/dist/framework/weak-multimap.d.ts +1 -0
- package/dist/framework/wiring/context.d.ts +1 -0
- package/dist/framework/wiring/index.d.ts +1 -0
- package/dist/framework/wiring/types.d.ts +1 -0
- package/dist/framework/wiring/wiring.d.ts +1 -0
- package/dist/index.cjs.js +5 -23
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -25
- package/dist/libs/mutation-tracker/index.d.ts +1 -0
- package/dist/libs/reflection/aria-reflection.d.ts +1 -0
- package/dist/libs/reflection/attr-reflection.d.ts +1 -0
- package/dist/libs/reflection/index.d.ts +1 -0
- package/dist/libs/signal-tracker/index.d.ts +1 -0
- package/dist/patches/detect-non-standard-aria.d.ts +1 -0
- package/dist/patches/detect-synthetic-cross-root-aria.d.ts +1 -0
- package/dist/shared/circular-module-dependencies.d.ts +1 -0
- package/dist/shared/error.d.ts +1 -0
- package/dist/shared/format.d.ts +1 -0
- package/dist/shared/logger.d.ts +1 -0
- package/package.json +6 -5
- package/dist/framework/attributes.d.ts +0 -1
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/framework/api.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export interface HTMLElementConstructor {
|
|
|
5
5
|
}
|
|
6
6
|
export declare function HTMLBridgeElementFactory(SuperClass: HTMLElementConstructor, publicProperties: string[], methods: string[], observedFields: string[], proto: LightningElement | null, hasCustomSuperClass: boolean): HTMLElementConstructor;
|
|
7
7
|
export declare const BaseBridgeElement: HTMLElementConstructor;
|
|
8
|
+
//# sourceMappingURL=base-bridge-element.d.ts.map
|
|
@@ -47,3 +47,4 @@ export interface LightningElement extends HTMLElementTheGoodParts, AccessibleEle
|
|
|
47
47
|
export declare const LightningElement: LightningElementConstructor;
|
|
48
48
|
export declare const lightningBasedDescriptors: PropertyDescriptorMap;
|
|
49
49
|
export {};
|
|
50
|
+
//# sourceMappingURL=base-lightning-element.d.ts.map
|
|
@@ -11,3 +11,4 @@ import type { Stylesheet } from '@lwc/shared';
|
|
|
11
11
|
export declare function checkVersionMismatch(func: Template, type: 'template'): void;
|
|
12
12
|
export declare function checkVersionMismatch(func: Stylesheet, type: 'stylesheet'): void;
|
|
13
13
|
export declare function checkVersionMismatch(func: LightningElementConstructor, type: 'component'): void;
|
|
14
|
+
//# sourceMappingURL=check-version-mismatch.d.ts.map
|
|
@@ -25,3 +25,4 @@ export declare function renderComponent(vm: VM): VNodes;
|
|
|
25
25
|
export declare function markComponentAsDirty(vm: VM): void;
|
|
26
26
|
export declare function getWrappedComponentsListener(vm: VM, listener: EventListener): EventListener;
|
|
27
27
|
export {};
|
|
28
|
+
//# sourceMappingURL=component.d.ts.map
|
|
@@ -6,3 +6,4 @@
|
|
|
6
6
|
export default function api(value: unknown, context: ClassMemberDecoratorContext): void;
|
|
7
7
|
export declare function createPublicPropertyDescriptor(key: string): PropertyDescriptor;
|
|
8
8
|
export declare function createPublicAccessorDescriptor(key: PropertyKey, descriptor: PropertyDescriptor): PropertyDescriptor;
|
|
9
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -6,3 +6,4 @@
|
|
|
6
6
|
export default function track(target: undefined, context: ClassFieldDecoratorContext): void;
|
|
7
7
|
export default function track<T>(target: T, context?: never): T;
|
|
8
8
|
export declare function internalTrackDecorator(key: string): PropertyDescriptor;
|
|
9
|
+
//# sourceMappingURL=track.d.ts.map
|
|
@@ -27,3 +27,4 @@ interface WireDecorator<Value, Class> {
|
|
|
27
27
|
export default function wire<ReactiveConfig extends ConfigValue = ConfigValue, Value = any, Context extends ContextValue = ContextValue, Class = LightningElement>(adapter: WireAdapterConstructor<ReplaceReactiveValues<ReactiveConfig, Class>, Value, Context>, config?: ReactiveConfig): WireDecorator<Value, Class>;
|
|
28
28
|
export declare function internalWireFieldDecorator(key: string): PropertyDescriptor;
|
|
29
29
|
export {};
|
|
30
|
+
//# sourceMappingURL=wire.d.ts.map
|
package/dist/framework/def.d.ts
CHANGED
|
@@ -4,3 +4,4 @@ export declare const enum FragmentCacheKey {
|
|
|
4
4
|
}
|
|
5
5
|
export declare function getFromFragmentCache(cacheKey: number, strings: string[]): Element | undefined;
|
|
6
6
|
export declare function setInFragmentCache(cacheKey: number, strings: string[], element: Element): void;
|
|
7
|
+
//# sourceMappingURL=fragment-cache.d.ts.map
|
|
@@ -9,3 +9,4 @@ export declare function setActiveVM(vm: VM): void;
|
|
|
9
9
|
export declare function swapTemplate(oldTpl: Template, newTpl: Template): boolean;
|
|
10
10
|
export declare function swapComponent(oldComponent: LightningElementConstructor, newComponent: LightningElementConstructor): boolean;
|
|
11
11
|
export declare function swapStyle(oldStyle: Stylesheet, newStyle: Stylesheet): boolean;
|
|
12
|
+
//# sourceMappingURL=hot-swaps.d.ts.map
|
|
@@ -8,3 +8,4 @@ export declare function invokeComponentCallback(vm: VM, fn: (...args: any[]) =>
|
|
|
8
8
|
export declare function invokeComponentConstructor(vm: VM, Ctor: LightningElementConstructor): void;
|
|
9
9
|
export declare function invokeComponentRenderMethod(vm: VM): VNodes;
|
|
10
10
|
export declare function invokeEventListener(vm: VM, fn: EventListener, thisValue: LightningElement | undefined, event: Event): void;
|
|
11
|
+
//# sourceMappingURL=invoker.d.ts.map
|
package/dist/framework/main.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { hydrateRoot } from './hydration';
|
|
|
6
6
|
export { registerComponent } from './component';
|
|
7
7
|
export { registerTemplate } from './secure-template';
|
|
8
8
|
export { registerDecorators } from './decorators/register';
|
|
9
|
+
export { BaseBridgeElement } from './base-bridge-element';
|
|
9
10
|
export { unwrap } from './membrane';
|
|
10
11
|
export { sanitizeAttribute } from './secure-template';
|
|
11
12
|
export { getComponentDef, isComponentConstructor } from './def';
|
|
@@ -29,3 +30,4 @@ export { readonly } from './readonly';
|
|
|
29
30
|
export { setFeatureFlag, setFeatureFlagForTest } from '@lwc/features';
|
|
30
31
|
export { setTrustedSignalSet } from '@lwc/shared';
|
|
31
32
|
export type { Stylesheet, Stylesheets } from '@lwc/shared';
|
|
33
|
+
//# sourceMappingURL=main.d.ts.map
|
|
@@ -8,3 +8,4 @@ export declare function unwrap(value: any): any;
|
|
|
8
8
|
export declare function getReadOnlyProxy(value: any): any;
|
|
9
9
|
export declare function getReactiveProxy(value: any): any;
|
|
10
10
|
export declare function markLockerLiveObject(obj: any): void;
|
|
11
|
+
//# sourceMappingURL=membrane.d.ts.map
|
|
@@ -2,3 +2,4 @@ import type { RendererAPI } from '../renderer';
|
|
|
2
2
|
import type { VBaseElement, VStatic, VStaticPartElement } from '../vnodes';
|
|
3
3
|
export declare function patchAttributes(oldVnode: VBaseElement | VStaticPartElement | null, vnode: VBaseElement | VStaticPartElement, renderer: RendererAPI): void;
|
|
4
4
|
export declare function patchSlotAssignment(oldVnode: VBaseElement | VStatic | null, vnode: VBaseElement | VStatic, renderer: RendererAPI): void;
|
|
5
|
+
//# sourceMappingURL=attrs.d.ts.map
|
|
@@ -2,3 +2,4 @@ import type { RendererAPI } from '../renderer';
|
|
|
2
2
|
import type { VBaseElement, VStaticPartElement } from '../vnodes';
|
|
3
3
|
export declare function getMapFromClassName(className: string | undefined): Record<string, boolean>;
|
|
4
4
|
export declare function patchClassAttribute(oldVnode: VBaseElement | VStaticPartElement | null, vnode: VBaseElement | VStaticPartElement, renderer: RendererAPI): void;
|
|
5
|
+
//# sourceMappingURL=computed-class-attr.d.ts.map
|
|
@@ -2,3 +2,4 @@ import type { RendererAPI } from '../renderer';
|
|
|
2
2
|
import type { VBaseElement, VStaticPartElement } from '../vnodes';
|
|
3
3
|
import type { VM } from '../vm';
|
|
4
4
|
export declare function patchStyleAttribute(oldVnode: VBaseElement | VStaticPartElement | null, vnode: VBaseElement | VStaticPartElement, renderer: RendererAPI, owner: VM): void;
|
|
5
|
+
//# sourceMappingURL=computed-style-attr.d.ts.map
|
|
@@ -3,3 +3,4 @@ import type { VComment, VStaticPartText, VText } from '../vnodes';
|
|
|
3
3
|
export declare function patchTextVNode(n1: VText, n2: VText, renderer: RendererAPI): void;
|
|
4
4
|
export declare function patchTextVStaticPart(n1: VStaticPartText | null, n2: VStaticPartText, renderer: RendererAPI): void;
|
|
5
5
|
export declare function updateTextContent(vnode: VText | VComment | VStaticPartText, renderer: RendererAPI): void;
|
|
6
|
+
//# sourceMappingURL=text.d.ts.map
|
|
@@ -32,3 +32,4 @@ export declare function associateReactiveObserverWithVM(reactiveObserver: Reacti
|
|
|
32
32
|
* @param target - tracked target object
|
|
33
33
|
*/
|
|
34
34
|
export declare function trackTargetForMutationLogging(key: PropertyKey, target: any): void;
|
|
35
|
+
//# sourceMappingURL=mutation-logger.d.ts.map
|
|
@@ -6,3 +6,4 @@ export declare function componentValueObserved(vm: VM, key: PropertyKey, target?
|
|
|
6
6
|
export declare function createReactiveObserver(callback: CallbackFunction): ReactiveObserver;
|
|
7
7
|
export * from '../libs/mutation-tracker';
|
|
8
8
|
export * from '../libs/signal-tracker';
|
|
9
|
+
//# sourceMappingURL=mutation-tracker.d.ts.map
|
|
@@ -31,3 +31,4 @@ export declare function logGlobalOperationStartWithVM(opId: GlobalOperationId, v
|
|
|
31
31
|
export declare function logGlobalOperationEnd(opId: GlobalOperationId, mutationLogs: MutationLog[] | undefined): void;
|
|
32
32
|
export declare function logGlobalOperationEndWithVM(opId: GlobalOperationId, vm: VM): void;
|
|
33
33
|
export {};
|
|
34
|
+
//# sourceMappingURL=profiler.d.ts.map
|
|
@@ -6,3 +6,4 @@ export declare function mount(node: VNode, parent: ParentNode, renderer: Rendere
|
|
|
6
6
|
export declare function removeNode(node: Node, parent: ParentNode, renderer: RendererAPI): void;
|
|
7
7
|
export declare function allocateChildren(vnode: VCustomElement, vm: VM): void;
|
|
8
8
|
export declare function markAsDynamicChildren(children: VNodes): void;
|
|
9
|
+
//# sourceMappingURL=rendering.d.ts.map
|
|
@@ -7,3 +7,4 @@ export declare function patchElementWithRestrictions(elm: Element, options: {
|
|
|
7
7
|
}): void;
|
|
8
8
|
export declare function patchShadowRootWithRestrictions(sr: ShadowRoot): void;
|
|
9
9
|
export declare function patchCustomElementWithRestrictions(elm: HTMLElement): void;
|
|
10
|
+
//# sourceMappingURL=restrictions.d.ts.map
|
|
@@ -22,3 +22,4 @@ export declare function getScopeTokenClass(owner: VM, legacy: boolean): string |
|
|
|
22
22
|
export declare function getStylesheetTokenHost(vnode: VCustomElement): string | null;
|
|
23
23
|
export declare function createStylesheet(vm: VM, stylesheets: ReadonlyArray<string>): VNode[] | null;
|
|
24
24
|
export declare function unrenderStylesheet(stylesheet: Stylesheet): void;
|
|
25
|
+
//# sourceMappingURL=stylesheet.d.ts.map
|
|
@@ -25,3 +25,4 @@ export declare const parseSVGFragment: (strings: string[], ...keys: (string | nu
|
|
|
25
25
|
export declare function evaluateTemplate(vm: VM, html: Template): VNodes;
|
|
26
26
|
export declare function computeHasScopedStyles(template: Template, vm: VM | undefined): boolean;
|
|
27
27
|
export declare function hasStyles(stylesheets: Stylesheets | undefined | null): stylesheets is Stylesheets;
|
|
28
|
+
//# sourceMappingURL=template.d.ts.map
|
package/dist/framework/vm.d.ts
CHANGED
|
@@ -192,3 +192,4 @@ export type FormRestoreReason = 'restore' | 'autocomplete';
|
|
|
192
192
|
export declare function runFormStateRestoreCallback(elm: HTMLElement, state: FormRestoreState | null, reason: FormRestoreReason): void;
|
|
193
193
|
export declare function resetRefVNodes(vm: VM): void;
|
|
194
194
|
export {};
|
|
195
|
+
//# sourceMappingURL=vm.d.ts.map
|
|
@@ -132,3 +132,4 @@ export declare function isVScopedSlotFragment(vnode: VNode): vnode is VScopedSlo
|
|
|
132
132
|
export declare function isVStatic(vnode: VNode): vnode is VStatic;
|
|
133
133
|
export declare function isVStaticPartElement(vnode: VStaticPart): vnode is VStaticPartElement;
|
|
134
134
|
export declare function isVStaticPartText(vnode: VStaticPart): vnode is VStaticPartText;
|
|
135
|
+
//# sourceMappingURL=vnodes.d.ts.map
|
|
@@ -2,3 +2,4 @@ import type { VM } from '../vm';
|
|
|
2
2
|
import type { ContextProvider, ContextValue, RegisterContextProviderFn, WireAdapterConstructor, WireDef } from './types';
|
|
3
3
|
export declare function createContextProviderWithRegister(adapter: WireAdapterConstructor, registerContextProvider: RegisterContextProviderFn): ContextProvider;
|
|
4
4
|
export declare function createContextWatcher(vm: VM, wireDef: WireDef, callbackWhenContextIsReady: (newContext: ContextValue) => void): void;
|
|
5
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { createContextProviderWithRegister, createContextWatcher } from './context';
|
|
2
2
|
export { ConfigCallback, ConfigValue, ContextConsumer, ContextProvider, ContextProviderOptions, ContextValue, DataCallback, ReplaceReactiveValues, WireAdapter, WireAdapterConstructor, WireAdapterSchemaValue, WireContextSubscriptionPayload, WireContextSubscriptionCallback, } from './types';
|
|
3
3
|
export { connectWireAdapters, disconnectWireAdapters, installWireAdapters, storeWiredFieldMeta, storeWiredMethodMeta, } from './wiring';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,3 +5,4 @@ export declare function storeWiredFieldMeta(descriptor: PropertyDescriptor, adap
|
|
|
5
5
|
export declare function installWireAdapters(vm: VM): void;
|
|
6
6
|
export declare function connectWireAdapters(vm: VM): void;
|
|
7
7
|
export declare function disconnectWireAdapters(vm: VM): void;
|
|
8
|
+
//# sourceMappingURL=wiring.d.ts.map
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2025 Salesforce, Inc.
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
@@ -808,25 +808,6 @@ for (const [attrName, propName] of shared.entries(shared.AriaAttrNameToPropNameM
|
|
|
808
808
|
descriptors[propName] = ariaDescriptor(attrName);
|
|
809
809
|
}
|
|
810
810
|
|
|
811
|
-
/*
|
|
812
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
813
|
-
* All rights reserved.
|
|
814
|
-
* SPDX-License-Identifier: MIT
|
|
815
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
816
|
-
*/
|
|
817
|
-
// These properties get added to LWCElement.prototype publicProps automatically
|
|
818
|
-
const defaultDefHTMLPropertyNames = [
|
|
819
|
-
'accessKey',
|
|
820
|
-
'dir',
|
|
821
|
-
'draggable',
|
|
822
|
-
'hidden',
|
|
823
|
-
'id',
|
|
824
|
-
'lang',
|
|
825
|
-
'spellcheck',
|
|
826
|
-
'tabIndex',
|
|
827
|
-
'title',
|
|
828
|
-
];
|
|
829
|
-
|
|
830
811
|
/*
|
|
831
812
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
832
813
|
* All rights reserved.
|
|
@@ -848,7 +829,7 @@ shared.forEach.call(shared.keys(shared.AriaPropNameToAttrNameMap), (propName) =>
|
|
|
848
829
|
HTMLElementOriginalDescriptors[propName] = descriptor;
|
|
849
830
|
}
|
|
850
831
|
});
|
|
851
|
-
|
|
832
|
+
for (const propName of shared.REFLECTIVE_GLOBAL_PROPERTY_SET) {
|
|
852
833
|
// Note: intentionally using our in-house getPropertyDescriptor instead of getOwnPropertyDescriptor here because
|
|
853
834
|
// in IE11, id property is on Element.prototype instead of HTMLElement, and we suspect that more will fall into
|
|
854
835
|
// this category, so, better to be sure.
|
|
@@ -856,7 +837,7 @@ shared.forEach.call(defaultDefHTMLPropertyNames, (propName) => {
|
|
|
856
837
|
if (!shared.isUndefined(descriptor)) {
|
|
857
838
|
HTMLElementOriginalDescriptors[propName] = descriptor;
|
|
858
839
|
}
|
|
859
|
-
}
|
|
840
|
+
}
|
|
860
841
|
|
|
861
842
|
/*
|
|
862
843
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -8404,6 +8385,7 @@ Object.defineProperty(exports, "setFeatureFlagForTest", {
|
|
|
8404
8385
|
enumerable: true,
|
|
8405
8386
|
get: function () { return features.setFeatureFlagForTest; }
|
|
8406
8387
|
});
|
|
8388
|
+
exports.BaseBridgeElement = BaseBridgeElement;
|
|
8407
8389
|
exports.LightningElement = LightningElement;
|
|
8408
8390
|
exports.__unstable__ProfilerControl = profilerControl;
|
|
8409
8391
|
exports.__unstable__ReportingControl = reportingControl;
|
|
@@ -8439,5 +8421,5 @@ exports.swapTemplate = swapTemplate;
|
|
|
8439
8421
|
exports.track = track;
|
|
8440
8422
|
exports.unwrap = unwrap;
|
|
8441
8423
|
exports.wire = wire;
|
|
8442
|
-
/** version: 8.12.
|
|
8424
|
+
/** version: 8.12.3 */
|
|
8443
8425
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2025 Salesforce, Inc.
|
|
3
3
|
*/
|
|
4
|
-
import { noop, StringToLowerCase, isNull, ArrayPush as ArrayPush$1, ArrayJoin, isFrozen, isUndefined as isUndefined$1, defineProperty, seal, create, isAPIFeatureEnabled, isFunction as isFunction$1, keys, ArrayFilter, isObject, isArray as isArray$1, getOwnPropertyNames as getOwnPropertyNames$1, getOwnPropertySymbols as getOwnPropertySymbols$1, toString, isString, ArrayIndexOf, ArrayPop, isFalse, isTrustedSignal, hasOwnProperty as hasOwnProperty$1, entries, AriaPropNameToAttrNameMap, getPropertyDescriptor, AriaAttrNameToPropNameMap, forEach, defineProperties, getPrototypeOf as getPrototypeOf$1, setPrototypeOf, assign, assert, freeze, KEY__SYNTHETIC_MODE, getOwnPropertyDescriptor as getOwnPropertyDescriptor$1, LWC_VERSION_COMMENT_REGEX, LWC_VERSION, getOwnPropertyDescriptors, htmlPropertyToAttribute, ArraySlice, ArrayMap, isTrue, KEY__SCOPED_CSS, KEY__NATIVE_ONLY_CSS, ArraySplice, flattenStylesheets, kebabCaseToCamelCase, StringCharCodeAt, XML_NAMESPACE, XLINK_NAMESPACE, StringSlice, SVG_NAMESPACE, KEY__SHADOW_STATIC, KEY__SHADOW_RESOLVER, ArraySome, isNumber, StringReplace, sanitizeHtmlContent, normalizeClass, ArraySort, ArrayFrom, htmlEscape, StringCharAt, LOWEST_API_VERSION, ArrayUnshift, KEY__NATIVE_GET_ELEMENT_BY_ID, KEY__NATIVE_QUERY_SELECTOR_ALL, ID_REFERENCING_ATTRIBUTES_SET, KEY__SHADOW_TOKEN, StringSplit, parseStyleText, arrayEvery, ArrayCopyWithin, ArrayFill, ArrayReverse, ArrayShift } from '@lwc/shared';
|
|
4
|
+
import { noop, StringToLowerCase, isNull, ArrayPush as ArrayPush$1, ArrayJoin, isFrozen, isUndefined as isUndefined$1, defineProperty, seal, create, isAPIFeatureEnabled, isFunction as isFunction$1, keys, ArrayFilter, isObject, isArray as isArray$1, getOwnPropertyNames as getOwnPropertyNames$1, getOwnPropertySymbols as getOwnPropertySymbols$1, toString, isString, ArrayIndexOf, ArrayPop, isFalse, isTrustedSignal, hasOwnProperty as hasOwnProperty$1, entries, AriaPropNameToAttrNameMap, getPropertyDescriptor, AriaAttrNameToPropNameMap, forEach, REFLECTIVE_GLOBAL_PROPERTY_SET, defineProperties, getPrototypeOf as getPrototypeOf$1, setPrototypeOf, assign, assert, freeze, KEY__SYNTHETIC_MODE, getOwnPropertyDescriptor as getOwnPropertyDescriptor$1, LWC_VERSION_COMMENT_REGEX, LWC_VERSION, getOwnPropertyDescriptors, htmlPropertyToAttribute, ArraySlice, ArrayMap, isTrue, KEY__SCOPED_CSS, KEY__NATIVE_ONLY_CSS, ArraySplice, flattenStylesheets, kebabCaseToCamelCase, StringCharCodeAt, XML_NAMESPACE, XLINK_NAMESPACE, StringSlice, SVG_NAMESPACE, KEY__SHADOW_STATIC, KEY__SHADOW_RESOLVER, ArraySome, isNumber, StringReplace, sanitizeHtmlContent, normalizeClass, ArraySort, ArrayFrom, htmlEscape, StringCharAt, LOWEST_API_VERSION, ArrayUnshift, KEY__NATIVE_GET_ELEMENT_BY_ID, KEY__NATIVE_QUERY_SELECTOR_ALL, ID_REFERENCING_ATTRIBUTES_SET, KEY__SHADOW_TOKEN, StringSplit, parseStyleText, arrayEvery, ArrayCopyWithin, ArrayFill, ArrayReverse, ArrayShift } from '@lwc/shared';
|
|
5
5
|
export { setHooks, setTrustedSignalSet } from '@lwc/shared';
|
|
6
6
|
export { setFeatureFlag, setFeatureFlagForTest } from '@lwc/features';
|
|
7
7
|
|
|
@@ -805,25 +805,6 @@ for (const [attrName, propName] of entries(AriaAttrNameToPropNameMap)) {
|
|
|
805
805
|
descriptors[propName] = ariaDescriptor(attrName);
|
|
806
806
|
}
|
|
807
807
|
|
|
808
|
-
/*
|
|
809
|
-
* Copyright (c) 2018, salesforce.com, inc.
|
|
810
|
-
* All rights reserved.
|
|
811
|
-
* SPDX-License-Identifier: MIT
|
|
812
|
-
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
813
|
-
*/
|
|
814
|
-
// These properties get added to LWCElement.prototype publicProps automatically
|
|
815
|
-
const defaultDefHTMLPropertyNames = [
|
|
816
|
-
'accessKey',
|
|
817
|
-
'dir',
|
|
818
|
-
'draggable',
|
|
819
|
-
'hidden',
|
|
820
|
-
'id',
|
|
821
|
-
'lang',
|
|
822
|
-
'spellcheck',
|
|
823
|
-
'tabIndex',
|
|
824
|
-
'title',
|
|
825
|
-
];
|
|
826
|
-
|
|
827
808
|
/*
|
|
828
809
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
829
810
|
* All rights reserved.
|
|
@@ -845,7 +826,7 @@ forEach.call(keys(AriaPropNameToAttrNameMap), (propName) => {
|
|
|
845
826
|
HTMLElementOriginalDescriptors[propName] = descriptor;
|
|
846
827
|
}
|
|
847
828
|
});
|
|
848
|
-
|
|
829
|
+
for (const propName of REFLECTIVE_GLOBAL_PROPERTY_SET) {
|
|
849
830
|
// Note: intentionally using our in-house getPropertyDescriptor instead of getOwnPropertyDescriptor here because
|
|
850
831
|
// in IE11, id property is on Element.prototype instead of HTMLElement, and we suspect that more will fall into
|
|
851
832
|
// this category, so, better to be sure.
|
|
@@ -853,7 +834,7 @@ forEach.call(defaultDefHTMLPropertyNames, (propName) => {
|
|
|
853
834
|
if (!isUndefined$1(descriptor)) {
|
|
854
835
|
HTMLElementOriginalDescriptors[propName] = descriptor;
|
|
855
836
|
}
|
|
856
|
-
}
|
|
837
|
+
}
|
|
857
838
|
|
|
858
839
|
/*
|
|
859
840
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -8385,6 +8366,6 @@ function readonly(obj) {
|
|
|
8385
8366
|
return getReadOnlyProxy(obj);
|
|
8386
8367
|
}
|
|
8387
8368
|
|
|
8388
|
-
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, shouldBeFormAssociated, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
8389
|
-
/** version: 8.12.
|
|
8369
|
+
export { BaseBridgeElement, 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, shouldBeFormAssociated, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
8370
|
+
/** version: 8.12.3 */
|
|
8390
8371
|
//# sourceMappingURL=index.js.map
|
|
@@ -14,3 +14,4 @@ interface CircularModuleDependency<M extends object> {
|
|
|
14
14
|
export declare function resolveCircularModuleDependency<M extends MaybeModule>(fn: CircularModuleDependency<M>): M;
|
|
15
15
|
export declare function isCircularModuleDependency(obj: unknown): obj is CircularModuleDependency<any>;
|
|
16
16
|
export {};
|
|
17
|
+
//# sourceMappingURL=circular-module-dependencies.d.ts.map
|
package/dist/shared/error.d.ts
CHANGED
package/dist/shared/format.d.ts
CHANGED
package/dist/shared/logger.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ import type { VM } from '../framework/vm';
|
|
|
2
2
|
export declare function logError(message: string, vm?: VM): void;
|
|
3
3
|
export declare function logWarn(message: string, vm?: VM): void;
|
|
4
4
|
export declare function logWarnOnce(message: string, vm?: VM): void;
|
|
5
|
+
//# sourceMappingURL=logger.d.ts.map
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
|
|
5
5
|
],
|
|
6
6
|
"name": "@lwc/engine-core",
|
|
7
|
-
"version": "8.12.
|
|
7
|
+
"version": "8.12.3",
|
|
8
8
|
"description": "Core LWC engine APIs.",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"lwc"
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"module": "dist/index.js",
|
|
30
30
|
"types": "dist/index.d.ts",
|
|
31
31
|
"files": [
|
|
32
|
-
"dist"
|
|
32
|
+
"dist/**/*.js",
|
|
33
|
+
"dist/**/*.d.ts"
|
|
33
34
|
],
|
|
34
35
|
"scripts": {
|
|
35
36
|
"build": "rollup --config ../../../scripts/rollup/rollup.config.js",
|
|
@@ -45,9 +46,9 @@
|
|
|
45
46
|
}
|
|
46
47
|
},
|
|
47
48
|
"dependencies": {
|
|
48
|
-
"@lwc/features": "8.12.
|
|
49
|
-
"@lwc/shared": "8.12.
|
|
50
|
-
"@lwc/signals": "8.12.
|
|
49
|
+
"@lwc/features": "8.12.3",
|
|
50
|
+
"@lwc/shared": "8.12.3",
|
|
51
|
+
"@lwc/signals": "8.12.3"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
54
|
"observable-membrane": "2.0.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const defaultDefHTMLPropertyNames: string[];
|