lwc 2.23.5 → 2.23.6
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/engine-dom/esm/es2017/engine-dom.js +97 -58
- package/dist/engine-dom/iife/es2017/engine-dom.js +97 -58
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +95 -56
- package/dist/engine-dom/iife/es5/engine-dom.js +329 -288
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +327 -286
- package/dist/engine-dom/umd/es2017/engine-dom.js +97 -58
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +95 -56
- package/dist/engine-dom/umd/es5/engine-dom.js +329 -288
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +327 -286
- package/dist/engine-server/commonjs/es2017/engine-server.js +5 -5
- package/dist/engine-server/esm/es2017/engine-server.js +5 -5
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -299,9 +299,9 @@ function htmlPropertyToAttribute(propName) {
|
|
|
299
299
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
300
300
|
*/
|
|
301
301
|
// Increment whenever the LWC template compiler changes
|
|
302
|
-
const LWC_VERSION = "2.23.
|
|
302
|
+
const LWC_VERSION = "2.23.6";
|
|
303
303
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
304
|
-
/** version: 2.23.
|
|
304
|
+
/** version: 2.23.6 */
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -383,7 +383,7 @@ for (let i = 0, len = ElementPrototypeAriaPropertyNames.length; i < len; i += 1)
|
|
|
383
383
|
patch$1(propName);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
/** version: 2.23.
|
|
386
|
+
/** version: 2.23.6 */
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
389
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -462,7 +462,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
462
462
|
setFeatureFlag(name, value);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
/** version: 2.23.
|
|
465
|
+
/** version: 2.23.6 */
|
|
466
466
|
|
|
467
467
|
/*
|
|
468
468
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7134,7 +7134,7 @@ function getComponentConstructor(elm) {
|
|
|
7134
7134
|
}
|
|
7135
7135
|
return ctor;
|
|
7136
7136
|
}
|
|
7137
|
-
/* version: 2.23.
|
|
7137
|
+
/* version: 2.23.6 */
|
|
7138
7138
|
|
|
7139
7139
|
/*
|
|
7140
7140
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7295,20 +7295,59 @@ function insertStylesheet(content, target) {
|
|
|
7295
7295
|
* @param baseRenderer Either null or the base renderer imported from 'lwc'.
|
|
7296
7296
|
*/
|
|
7297
7297
|
function rendererFactory(baseRenderer) {
|
|
7298
|
-
|
|
7299
|
-
|
|
7298
|
+
const renderer = (function (exports) {
|
|
7299
|
+
|
|
7300
|
+
/**
|
|
7301
|
+
* Copyright (C) 2018 salesforce.com, inc.
|
|
7302
|
+
*/
|
|
7303
|
+
/*
|
|
7304
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
7305
|
+
* All rights reserved.
|
|
7306
|
+
* SPDX-License-Identifier: MIT
|
|
7307
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
7308
|
+
*/
|
|
7309
|
+
function invariant(value, msg) {
|
|
7300
7310
|
if (!value) {
|
|
7301
7311
|
throw new Error(`Invariant Violation: ${msg}`);
|
|
7302
7312
|
}
|
|
7303
7313
|
}
|
|
7304
|
-
function
|
|
7305
|
-
|
|
7314
|
+
function isTrue$1(value, msg) {
|
|
7315
|
+
if (!value) {
|
|
7316
|
+
throw new Error(`Assert Violation: ${msg}`);
|
|
7317
|
+
}
|
|
7306
7318
|
}
|
|
7319
|
+
function isFalse$1(value, msg) {
|
|
7320
|
+
if (value) {
|
|
7321
|
+
throw new Error(`Assert Violation: ${msg}`);
|
|
7322
|
+
}
|
|
7323
|
+
}
|
|
7324
|
+
function fail(msg) {
|
|
7325
|
+
throw new Error(msg);
|
|
7326
|
+
}
|
|
7327
|
+
|
|
7328
|
+
var assert = /*#__PURE__*/Object.freeze({
|
|
7329
|
+
__proto__: null,
|
|
7330
|
+
invariant: invariant,
|
|
7331
|
+
isTrue: isTrue$1,
|
|
7332
|
+
isFalse: isFalse$1,
|
|
7333
|
+
fail: fail
|
|
7334
|
+
});
|
|
7307
7335
|
function isUndefined(obj) {
|
|
7308
7336
|
return obj === undefined;
|
|
7309
7337
|
}
|
|
7310
|
-
|
|
7311
|
-
|
|
7338
|
+
function isNull(obj) {
|
|
7339
|
+
return obj === null;
|
|
7340
|
+
}
|
|
7341
|
+
/** version: 2.23.6 */
|
|
7342
|
+
|
|
7343
|
+
/*
|
|
7344
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
7345
|
+
* All rights reserved.
|
|
7346
|
+
* SPDX-License-Identifier: MIT
|
|
7347
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
7348
|
+
*/
|
|
7349
|
+
exports.getCustomElement = void 0;
|
|
7350
|
+
exports.defineCustomElement = void 0;
|
|
7312
7351
|
let HTMLElementConstructor;
|
|
7313
7352
|
function isCustomElementRegistryAvailable() {
|
|
7314
7353
|
if (typeof customElements === 'undefined') {
|
|
@@ -7334,21 +7373,21 @@ function rendererFactory(baseRenderer) {
|
|
|
7334
7373
|
}
|
|
7335
7374
|
}
|
|
7336
7375
|
if (isCustomElementRegistryAvailable()) {
|
|
7337
|
-
getCustomElement = customElements.get.bind(customElements);
|
|
7338
|
-
defineCustomElement = customElements.define.bind(customElements);
|
|
7376
|
+
exports.getCustomElement = customElements.get.bind(customElements);
|
|
7377
|
+
exports.defineCustomElement = customElements.define.bind(customElements);
|
|
7339
7378
|
HTMLElementConstructor = HTMLElement;
|
|
7340
7379
|
}
|
|
7341
7380
|
else {
|
|
7342
7381
|
const registry = Object.create(null);
|
|
7343
7382
|
const reverseRegistry = new WeakMap();
|
|
7344
|
-
defineCustomElement = function define(name, ctor) {
|
|
7383
|
+
exports.defineCustomElement = function define(name, ctor) {
|
|
7345
7384
|
if (name !== String.prototype.toLowerCase.call(name) || registry[name]) {
|
|
7346
7385
|
throw new TypeError(`Invalid Registration`);
|
|
7347
7386
|
}
|
|
7348
7387
|
registry[name] = ctor;
|
|
7349
7388
|
reverseRegistry.set(ctor, name);
|
|
7350
7389
|
};
|
|
7351
|
-
getCustomElement = function get(name) {
|
|
7390
|
+
exports.getCustomElement = function get(name) {
|
|
7352
7391
|
return registry[name];
|
|
7353
7392
|
};
|
|
7354
7393
|
HTMLElementConstructor = function HTMLElement() {
|
|
@@ -7380,12 +7419,12 @@ function rendererFactory(baseRenderer) {
|
|
|
7380
7419
|
function createComment(content) {
|
|
7381
7420
|
return document.createComment(content);
|
|
7382
7421
|
}
|
|
7383
|
-
|
|
7422
|
+
exports.createFragment = void 0;
|
|
7384
7423
|
// IE11 lacks support for this feature
|
|
7385
7424
|
const SUPPORTS_TEMPLATE = typeof HTMLTemplateElement === 'function';
|
|
7386
7425
|
if (SUPPORTS_TEMPLATE) {
|
|
7387
7426
|
// Parse the fragment HTML string into DOM
|
|
7388
|
-
createFragment = function (html) {
|
|
7427
|
+
exports.createFragment = function (html) {
|
|
7389
7428
|
const template = document.createElement('template');
|
|
7390
7429
|
template.innerHTML = html;
|
|
7391
7430
|
return template.content.firstChild;
|
|
@@ -7417,7 +7456,7 @@ function rendererFactory(baseRenderer) {
|
|
|
7417
7456
|
return (/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(text) || ['', ''])[1].toLowerCase();
|
|
7418
7457
|
};
|
|
7419
7458
|
// Via https://github.com/webcomponents/polyfills/blob/ee1db33/packages/template/template.js#L295-L320
|
|
7420
|
-
createFragment = function (html) {
|
|
7459
|
+
exports.createFragment = function (html) {
|
|
7421
7460
|
const wrapperTags = topLevelWrappingMap[getTagName(html)];
|
|
7422
7461
|
if (!isUndefined(wrapperTags)) {
|
|
7423
7462
|
for (const wrapperTag of wrapperTags) {
|
|
@@ -7537,47 +7576,47 @@ function rendererFactory(baseRenderer) {
|
|
|
7537
7576
|
return node.isConnected;
|
|
7538
7577
|
}
|
|
7539
7578
|
function assertInstanceOfHTMLElement(elm, msg) {
|
|
7540
|
-
|
|
7579
|
+
assert.invariant(elm instanceof HTMLElement, msg);
|
|
7541
7580
|
}
|
|
7542
7581
|
const HTMLElementExported = HTMLElementConstructor;
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7582
|
+
|
|
7583
|
+
exports.HTMLElementExported = HTMLElementExported;
|
|
7584
|
+
exports.addEventListener = addEventListener;
|
|
7585
|
+
exports.assertInstanceOfHTMLElement = assertInstanceOfHTMLElement;
|
|
7586
|
+
exports.attachShadow = attachShadow;
|
|
7587
|
+
exports.cloneNode = cloneNode;
|
|
7588
|
+
exports.createComment = createComment;
|
|
7589
|
+
exports.createElement = createElement;
|
|
7590
|
+
exports.createText = createText;
|
|
7591
|
+
exports.dispatchEvent = dispatchEvent;
|
|
7592
|
+
exports.getAttribute = getAttribute;
|
|
7593
|
+
exports.getBoundingClientRect = getBoundingClientRect;
|
|
7594
|
+
exports.getChildNodes = getChildNodes;
|
|
7595
|
+
exports.getChildren = getChildren;
|
|
7596
|
+
exports.getClassList = getClassList;
|
|
7597
|
+
exports.getElementsByClassName = getElementsByClassName;
|
|
7598
|
+
exports.getElementsByTagName = getElementsByTagName;
|
|
7599
|
+
exports.getFirstChild = getFirstChild;
|
|
7600
|
+
exports.getFirstElementChild = getFirstElementChild;
|
|
7601
|
+
exports.getLastChild = getLastChild;
|
|
7602
|
+
exports.getLastElementChild = getLastElementChild;
|
|
7603
|
+
exports.getProperty = getProperty;
|
|
7604
|
+
exports.insert = insert;
|
|
7605
|
+
exports.isConnected = isConnected;
|
|
7606
|
+
exports.nextSibling = nextSibling;
|
|
7607
|
+
exports.querySelector = querySelector;
|
|
7608
|
+
exports.querySelectorAll = querySelectorAll;
|
|
7609
|
+
exports.remove = remove;
|
|
7610
|
+
exports.removeAttribute = removeAttribute;
|
|
7611
|
+
exports.removeEventListener = removeEventListener;
|
|
7612
|
+
exports.setAttribute = setAttribute;
|
|
7613
|
+
exports.setCSSStyleProperty = setCSSStyleProperty;
|
|
7614
|
+
exports.setProperty = setProperty;
|
|
7615
|
+
exports.setText = setText;
|
|
7616
|
+
|
|
7617
|
+
return exports;
|
|
7618
|
+
|
|
7619
|
+
})({});
|
|
7581
7620
|
// Meant to inherit any properties passed via the base renderer as the argument to the factory.
|
|
7582
7621
|
Object.setPrototypeOf(renderer, baseRenderer);
|
|
7583
7622
|
return renderer;
|
|
@@ -7918,6 +7957,6 @@ defineProperty(LightningElement, 'CustomElementConstructor', {
|
|
|
7918
7957
|
});
|
|
7919
7958
|
freeze(LightningElement);
|
|
7920
7959
|
seal(LightningElement.prototype);
|
|
7921
|
-
/* version: 2.23.
|
|
7960
|
+
/* version: 2.23.6 */
|
|
7922
7961
|
|
|
7923
7962
|
export { LightningElement, profilerControl as __unstable__ProfilerControl, api$1 as api, deprecatedBuildCustomElementConstructor as buildCustomElementConstructor, createContextProvider, createElement, freezeTemplate, getComponentConstructor, getComponentDef, hydrateComponent, isComponentConstructor, isNodeShadowed as isNodeFromTemplate, parseFragment, parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderer, rendererFactory, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
@@ -302,9 +302,9 @@ var LWC = (function (exports) {
|
|
|
302
302
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
303
303
|
*/
|
|
304
304
|
// Increment whenever the LWC template compiler changes
|
|
305
|
-
const LWC_VERSION = "2.23.
|
|
305
|
+
const LWC_VERSION = "2.23.6";
|
|
306
306
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
307
|
-
/** version: 2.23.
|
|
307
|
+
/** version: 2.23.6 */
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
310
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -386,7 +386,7 @@ var LWC = (function (exports) {
|
|
|
386
386
|
patch$1(propName);
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
-
/** version: 2.23.
|
|
389
|
+
/** version: 2.23.6 */
|
|
390
390
|
|
|
391
391
|
/**
|
|
392
392
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -465,7 +465,7 @@ var LWC = (function (exports) {
|
|
|
465
465
|
setFeatureFlag(name, value);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
/** version: 2.23.
|
|
468
|
+
/** version: 2.23.6 */
|
|
469
469
|
|
|
470
470
|
/*
|
|
471
471
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7137,7 +7137,7 @@ var LWC = (function (exports) {
|
|
|
7137
7137
|
}
|
|
7138
7138
|
return ctor;
|
|
7139
7139
|
}
|
|
7140
|
-
/* version: 2.23.
|
|
7140
|
+
/* version: 2.23.6 */
|
|
7141
7141
|
|
|
7142
7142
|
/*
|
|
7143
7143
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -7298,20 +7298,59 @@ var LWC = (function (exports) {
|
|
|
7298
7298
|
* @param baseRenderer Either null or the base renderer imported from 'lwc'.
|
|
7299
7299
|
*/
|
|
7300
7300
|
function rendererFactory(baseRenderer) {
|
|
7301
|
-
|
|
7302
|
-
|
|
7301
|
+
const renderer = (function (exports) {
|
|
7302
|
+
|
|
7303
|
+
/**
|
|
7304
|
+
* Copyright (C) 2018 salesforce.com, inc.
|
|
7305
|
+
*/
|
|
7306
|
+
/*
|
|
7307
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
7308
|
+
* All rights reserved.
|
|
7309
|
+
* SPDX-License-Identifier: MIT
|
|
7310
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
7311
|
+
*/
|
|
7312
|
+
function invariant(value, msg) {
|
|
7303
7313
|
if (!value) {
|
|
7304
7314
|
throw new Error(`Invariant Violation: ${msg}`);
|
|
7305
7315
|
}
|
|
7306
7316
|
}
|
|
7307
|
-
function
|
|
7308
|
-
|
|
7317
|
+
function isTrue$1(value, msg) {
|
|
7318
|
+
if (!value) {
|
|
7319
|
+
throw new Error(`Assert Violation: ${msg}`);
|
|
7320
|
+
}
|
|
7309
7321
|
}
|
|
7322
|
+
function isFalse$1(value, msg) {
|
|
7323
|
+
if (value) {
|
|
7324
|
+
throw new Error(`Assert Violation: ${msg}`);
|
|
7325
|
+
}
|
|
7326
|
+
}
|
|
7327
|
+
function fail(msg) {
|
|
7328
|
+
throw new Error(msg);
|
|
7329
|
+
}
|
|
7330
|
+
|
|
7331
|
+
var assert = /*#__PURE__*/Object.freeze({
|
|
7332
|
+
__proto__: null,
|
|
7333
|
+
invariant: invariant,
|
|
7334
|
+
isTrue: isTrue$1,
|
|
7335
|
+
isFalse: isFalse$1,
|
|
7336
|
+
fail: fail
|
|
7337
|
+
});
|
|
7310
7338
|
function isUndefined(obj) {
|
|
7311
7339
|
return obj === undefined;
|
|
7312
7340
|
}
|
|
7313
|
-
|
|
7314
|
-
|
|
7341
|
+
function isNull(obj) {
|
|
7342
|
+
return obj === null;
|
|
7343
|
+
}
|
|
7344
|
+
/** version: 2.23.6 */
|
|
7345
|
+
|
|
7346
|
+
/*
|
|
7347
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
7348
|
+
* All rights reserved.
|
|
7349
|
+
* SPDX-License-Identifier: MIT
|
|
7350
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
7351
|
+
*/
|
|
7352
|
+
exports.getCustomElement = void 0;
|
|
7353
|
+
exports.defineCustomElement = void 0;
|
|
7315
7354
|
let HTMLElementConstructor;
|
|
7316
7355
|
function isCustomElementRegistryAvailable() {
|
|
7317
7356
|
if (typeof customElements === 'undefined') {
|
|
@@ -7337,21 +7376,21 @@ var LWC = (function (exports) {
|
|
|
7337
7376
|
}
|
|
7338
7377
|
}
|
|
7339
7378
|
if (isCustomElementRegistryAvailable()) {
|
|
7340
|
-
getCustomElement = customElements.get.bind(customElements);
|
|
7341
|
-
defineCustomElement = customElements.define.bind(customElements);
|
|
7379
|
+
exports.getCustomElement = customElements.get.bind(customElements);
|
|
7380
|
+
exports.defineCustomElement = customElements.define.bind(customElements);
|
|
7342
7381
|
HTMLElementConstructor = HTMLElement;
|
|
7343
7382
|
}
|
|
7344
7383
|
else {
|
|
7345
7384
|
const registry = Object.create(null);
|
|
7346
7385
|
const reverseRegistry = new WeakMap();
|
|
7347
|
-
defineCustomElement = function define(name, ctor) {
|
|
7386
|
+
exports.defineCustomElement = function define(name, ctor) {
|
|
7348
7387
|
if (name !== String.prototype.toLowerCase.call(name) || registry[name]) {
|
|
7349
7388
|
throw new TypeError(`Invalid Registration`);
|
|
7350
7389
|
}
|
|
7351
7390
|
registry[name] = ctor;
|
|
7352
7391
|
reverseRegistry.set(ctor, name);
|
|
7353
7392
|
};
|
|
7354
|
-
getCustomElement = function get(name) {
|
|
7393
|
+
exports.getCustomElement = function get(name) {
|
|
7355
7394
|
return registry[name];
|
|
7356
7395
|
};
|
|
7357
7396
|
HTMLElementConstructor = function HTMLElement() {
|
|
@@ -7383,12 +7422,12 @@ var LWC = (function (exports) {
|
|
|
7383
7422
|
function createComment(content) {
|
|
7384
7423
|
return document.createComment(content);
|
|
7385
7424
|
}
|
|
7386
|
-
|
|
7425
|
+
exports.createFragment = void 0;
|
|
7387
7426
|
// IE11 lacks support for this feature
|
|
7388
7427
|
const SUPPORTS_TEMPLATE = typeof HTMLTemplateElement === 'function';
|
|
7389
7428
|
if (SUPPORTS_TEMPLATE) {
|
|
7390
7429
|
// Parse the fragment HTML string into DOM
|
|
7391
|
-
createFragment = function (html) {
|
|
7430
|
+
exports.createFragment = function (html) {
|
|
7392
7431
|
const template = document.createElement('template');
|
|
7393
7432
|
template.innerHTML = html;
|
|
7394
7433
|
return template.content.firstChild;
|
|
@@ -7420,7 +7459,7 @@ var LWC = (function (exports) {
|
|
|
7420
7459
|
return (/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(text) || ['', ''])[1].toLowerCase();
|
|
7421
7460
|
};
|
|
7422
7461
|
// Via https://github.com/webcomponents/polyfills/blob/ee1db33/packages/template/template.js#L295-L320
|
|
7423
|
-
createFragment = function (html) {
|
|
7462
|
+
exports.createFragment = function (html) {
|
|
7424
7463
|
const wrapperTags = topLevelWrappingMap[getTagName(html)];
|
|
7425
7464
|
if (!isUndefined(wrapperTags)) {
|
|
7426
7465
|
for (const wrapperTag of wrapperTags) {
|
|
@@ -7540,47 +7579,47 @@ var LWC = (function (exports) {
|
|
|
7540
7579
|
return node.isConnected;
|
|
7541
7580
|
}
|
|
7542
7581
|
function assertInstanceOfHTMLElement(elm, msg) {
|
|
7543
|
-
|
|
7582
|
+
assert.invariant(elm instanceof HTMLElement, msg);
|
|
7544
7583
|
}
|
|
7545
7584
|
const HTMLElementExported = HTMLElementConstructor;
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7585
|
+
|
|
7586
|
+
exports.HTMLElementExported = HTMLElementExported;
|
|
7587
|
+
exports.addEventListener = addEventListener;
|
|
7588
|
+
exports.assertInstanceOfHTMLElement = assertInstanceOfHTMLElement;
|
|
7589
|
+
exports.attachShadow = attachShadow;
|
|
7590
|
+
exports.cloneNode = cloneNode;
|
|
7591
|
+
exports.createComment = createComment;
|
|
7592
|
+
exports.createElement = createElement;
|
|
7593
|
+
exports.createText = createText;
|
|
7594
|
+
exports.dispatchEvent = dispatchEvent;
|
|
7595
|
+
exports.getAttribute = getAttribute;
|
|
7596
|
+
exports.getBoundingClientRect = getBoundingClientRect;
|
|
7597
|
+
exports.getChildNodes = getChildNodes;
|
|
7598
|
+
exports.getChildren = getChildren;
|
|
7599
|
+
exports.getClassList = getClassList;
|
|
7600
|
+
exports.getElementsByClassName = getElementsByClassName;
|
|
7601
|
+
exports.getElementsByTagName = getElementsByTagName;
|
|
7602
|
+
exports.getFirstChild = getFirstChild;
|
|
7603
|
+
exports.getFirstElementChild = getFirstElementChild;
|
|
7604
|
+
exports.getLastChild = getLastChild;
|
|
7605
|
+
exports.getLastElementChild = getLastElementChild;
|
|
7606
|
+
exports.getProperty = getProperty;
|
|
7607
|
+
exports.insert = insert;
|
|
7608
|
+
exports.isConnected = isConnected;
|
|
7609
|
+
exports.nextSibling = nextSibling;
|
|
7610
|
+
exports.querySelector = querySelector;
|
|
7611
|
+
exports.querySelectorAll = querySelectorAll;
|
|
7612
|
+
exports.remove = remove;
|
|
7613
|
+
exports.removeAttribute = removeAttribute;
|
|
7614
|
+
exports.removeEventListener = removeEventListener;
|
|
7615
|
+
exports.setAttribute = setAttribute;
|
|
7616
|
+
exports.setCSSStyleProperty = setCSSStyleProperty;
|
|
7617
|
+
exports.setProperty = setProperty;
|
|
7618
|
+
exports.setText = setText;
|
|
7619
|
+
|
|
7620
|
+
return exports;
|
|
7621
|
+
|
|
7622
|
+
})({});
|
|
7584
7623
|
// Meant to inherit any properties passed via the base renderer as the argument to the factory.
|
|
7585
7624
|
Object.setPrototypeOf(renderer, baseRenderer);
|
|
7586
7625
|
return renderer;
|
|
@@ -7921,7 +7960,7 @@ var LWC = (function (exports) {
|
|
|
7921
7960
|
});
|
|
7922
7961
|
freeze(LightningElement);
|
|
7923
7962
|
seal(LightningElement.prototype);
|
|
7924
|
-
/* version: 2.23.
|
|
7963
|
+
/* version: 2.23.6 */
|
|
7925
7964
|
|
|
7926
7965
|
exports.LightningElement = LightningElement;
|
|
7927
7966
|
exports.__unstable__ProfilerControl = profilerControl;
|