@lwc/shared 3.3.3 → 3.4.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/index.cjs.js CHANGED
@@ -44,7 +44,7 @@ var assert = /*#__PURE__*/Object.freeze({
44
44
  * SPDX-License-Identifier: MIT
45
45
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
46
46
  */
47
- const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
47
+ const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
48
48
  const { isArray } = Array;
49
49
  const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, every: ArrayEvery, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, includes: ArrayIncludes, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
50
50
  // The type of the return value of Array.prototype.every is `this is T[]`. However, once this
@@ -278,6 +278,9 @@ const KEY__SHADOW_STATIC = '$shadowStaticNode$';
278
278
  const KEY__SHADOW_STATIC_PRIVATE = '$shadowStaticNodeKey$';
279
279
  const KEY__SHADOW_TOKEN = '$shadowToken$';
280
280
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
281
+ // TODO [#3733]: remove support for legacy scope tokens
282
+ const KEY__LEGACY_SHADOW_TOKEN = '$legacyShadowToken$';
283
+ const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';
281
284
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
282
285
  const KEY__SCOPED_CSS = '$scoped$';
283
286
  const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
@@ -498,7 +501,7 @@ function htmlEscape(str, attrMode = false) {
498
501
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
499
502
  */
500
503
  // Increment whenever the LWC template compiler changes
501
- const LWC_VERSION = "3.3.3";
504
+ const LWC_VERSION = "3.4.0";
502
505
  const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;
503
506
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
504
507
 
@@ -527,6 +530,8 @@ exports.ArrayUnshift = ArrayUnshift;
527
530
  exports.HIGHEST_API_VERSION = HIGHEST_API_VERSION;
528
531
  exports.HTML_NAMESPACE = HTML_NAMESPACE;
529
532
  exports.ID_REFERENCING_ATTRIBUTES_SET = ID_REFERENCING_ATTRIBUTES_SET;
533
+ exports.KEY__LEGACY_SHADOW_TOKEN = KEY__LEGACY_SHADOW_TOKEN;
534
+ exports.KEY__LEGACY_SHADOW_TOKEN_PRIVATE = KEY__LEGACY_SHADOW_TOKEN_PRIVATE;
530
535
  exports.KEY__NATIVE_GET_ELEMENT_BY_ID = KEY__NATIVE_GET_ELEMENT_BY_ID;
531
536
  exports.KEY__NATIVE_QUERY_SELECTOR_ALL = KEY__NATIVE_QUERY_SELECTOR_ALL;
532
537
  exports.KEY__SCOPED_CSS = KEY__SCOPED_CSS;
@@ -561,6 +566,7 @@ exports.forEach = forEach;
561
566
  exports.freeze = freeze;
562
567
  exports.getAPIVersionFromNumber = getAPIVersionFromNumber;
563
568
  exports.getOwnPropertyDescriptor = getOwnPropertyDescriptor;
569
+ exports.getOwnPropertyDescriptors = getOwnPropertyDescriptors;
564
570
  exports.getOwnPropertyNames = getOwnPropertyNames;
565
571
  exports.getPropertyDescriptor = getPropertyDescriptor;
566
572
  exports.getPrototypeOf = getPrototypeOf;
@@ -590,5 +596,5 @@ exports.noop = noop;
590
596
  exports.seal = seal;
591
597
  exports.setPrototypeOf = setPrototypeOf;
592
598
  exports.toString = toString;
593
- /** version: 3.3.3 */
599
+ /** version: 3.4.0 */
594
600
  //# sourceMappingURL=index.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../src/assert.ts","../src/language.ts","../src/api-version.ts","../src/aria.ts","../src/global-this.ts","../src/keys.ts","../src/namespaces.ts","../src/void-elements.ts","../src/html-attributes.ts","../src/html-escape.ts","../src/meta.ts"],"sourcesContent":["/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport function invariant(value, msg) {\n if (!value) {\n throw new Error(`Invariant Violation: ${msg}`);\n }\n}\nexport function isTrue(value, msg) {\n if (!value) {\n throw new Error(`Assert Violation: ${msg}`);\n }\n}\nexport function isFalse(value, msg) {\n if (value) {\n throw new Error(`Assert Violation: ${msg}`);\n }\n}\nexport function fail(msg) {\n throw new Error(msg);\n}\n//# sourceMappingURL=assert.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nconst { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;\nconst { isArray } = Array;\nconst { concat: ArrayConcat, copyWithin: ArrayCopyWithin, every: ArrayEvery, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, includes: ArrayIncludes, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;\n// The type of the return value of Array.prototype.every is `this is T[]`. However, once this\n// Array method is pulled out of the prototype, the function is now referencing `this` where\n// `this` is meaningless, resulting in a TypeScript compilation error.\n//\n// Exposing this helper function is the closest we can get to preserving the usage patterns\n// of Array.prototype methods used elsewhere in the codebase.\nfunction arrayEvery(arr, predicate) {\n return ArrayEvery.call(arr, predicate);\n}\nconst { fromCharCode: StringFromCharCode } = String;\nconst { charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;\nexport { ArrayConcat, ArrayFilter, ArrayFind, ArrayFindIndex, ArrayFill, ArrayIncludes, ArrayIndexOf, ArrayCopyWithin, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, arrayEvery, assign, create, defineProperties, defineProperty, forEach, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isArray, isFrozen, keys, seal, setPrototypeOf, StringCharCodeAt, StringReplace, StringSlice, StringSplit, StringToLowerCase, StringFromCharCode, };\nexport function isUndefined(obj) {\n return obj === undefined;\n}\nexport function isNull(obj) {\n return obj === null;\n}\nexport function isTrue(obj) {\n return obj === true;\n}\nexport function isFalse(obj) {\n return obj === false;\n}\nexport function isBoolean(obj) {\n return typeof obj === 'boolean';\n}\nexport function isFunction(obj) {\n return typeof obj === 'function';\n}\nexport function isObject(obj) {\n return typeof obj === 'object';\n}\nexport function isString(obj) {\n return typeof obj === 'string';\n}\nexport function isNumber(obj) {\n return typeof obj === 'number';\n}\nexport function noop() {\n /* Do nothing */\n}\nconst OtS = {}.toString;\nexport function toString(obj) {\n if (obj && obj.toString) {\n // Arrays might hold objects with \"null\" prototype So using\n // Array.prototype.toString directly will cause an error Iterate through\n // all the items and handle individually.\n if (isArray(obj)) {\n return ArrayJoin.call(ArrayMap.call(obj, toString), ',');\n }\n return obj.toString();\n }\n else if (typeof obj === 'object') {\n return OtS.call(obj);\n }\n else {\n return obj + '';\n }\n}\nexport function getPropertyDescriptor(o, p) {\n do {\n const d = getOwnPropertyDescriptor(o, p);\n if (!isUndefined(d)) {\n return d;\n }\n o = getPrototypeOf(o);\n } while (o !== null);\n}\n//# sourceMappingURL=language.js.map","/*\n * Copyright (c) 2023, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { isNumber } from './language';\n// These must be updated when the enum is updated.\n// It's a bit annoying to do have to do this manually, but this makes the file tree-shakeable,\n// passing the `verify-treeshakeable.js` test.\nexport const LOWEST_API_VERSION = 58 /* APIVersion.V58_244_SUMMER_23 */;\nexport const HIGHEST_API_VERSION = 59 /* APIVersion.V59_246_WINTER_24 */;\nconst allVersions = [58 /* APIVersion.V58_244_SUMMER_23 */, 59 /* APIVersion.V59_246_WINTER_24 */];\nconst allVersionsSet = /*@__PURE__@*/ new Set(allVersions);\nexport function getAPIVersionFromNumber(version) {\n if (!isNumber(version)) {\n // if version is unspecified, default to latest\n return HIGHEST_API_VERSION;\n }\n if (allVersionsSet.has(version)) {\n return version;\n }\n if (version < LOWEST_API_VERSION) {\n return LOWEST_API_VERSION;\n }\n // If it's a number, and it's within the bounds of our known versions, then we should find the\n // highest version lower than the requested number.\n // For instance, if we know about versions 1, 2, 5, and 6, and the user requests 3, then we should return 2.\n for (let i = 1; i < allVersions.length; i++) {\n if (allVersions[i] > version) {\n return allVersions[i - 1];\n }\n }\n // version > HIGHEST_API_VERSION, so fall back to highest\n return HIGHEST_API_VERSION;\n}\nexport function isAPIFeatureEnabled(apiVersionFeature, apiVersion) {\n switch (apiVersionFeature) {\n case 0 /* APIFeature.LOWERCASE_SCOPE_TOKENS */:\n case 1 /* APIFeature.TREAT_ALL_PARSE5_ERRORS_AS_ERRORS */:\n return apiVersion >= 59 /* APIVersion.V59_246_WINTER_24 */;\n }\n}\n//# sourceMappingURL=api-version.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { create, forEach, StringReplace, StringToLowerCase } from './language';\n/**\n * According to the following list, there are 48 aria attributes of which two (ariaDropEffect and\n * ariaGrabbed) are deprecated:\n * https://www.w3.org/TR/wai-aria-1.1/#x6-6-definitions-of-states-and-properties-all-aria-attributes\n *\n * The above list of 46 aria attributes is consistent with the following resources:\n * https://github.com/w3c/aria/pull/708/files#diff-eacf331f0ffc35d4b482f1d15a887d3bR11060\n * https://wicg.github.io/aom/spec/aria-reflection.html\n *\n * NOTE: If you update this list, please update test files that implicitly reference this list!\n * Searching the codebase for `aria-flowto` and `ariaFlowTo` should be good enough to find all usages.\n */\nconst AriaPropertyNames = [\n 'ariaActiveDescendant',\n 'ariaAtomic',\n 'ariaAutoComplete',\n 'ariaBusy',\n 'ariaChecked',\n 'ariaColCount',\n 'ariaColIndex',\n 'ariaColSpan',\n 'ariaControls',\n 'ariaCurrent',\n 'ariaDescribedBy',\n 'ariaDetails',\n 'ariaDisabled',\n 'ariaErrorMessage',\n 'ariaExpanded',\n 'ariaFlowTo',\n 'ariaHasPopup',\n 'ariaHidden',\n 'ariaInvalid',\n 'ariaKeyShortcuts',\n 'ariaLabel',\n 'ariaLabelledBy',\n 'ariaLevel',\n 'ariaLive',\n 'ariaModal',\n 'ariaMultiLine',\n 'ariaMultiSelectable',\n 'ariaOrientation',\n 'ariaOwns',\n 'ariaPlaceholder',\n 'ariaPosInSet',\n 'ariaPressed',\n 'ariaReadOnly',\n 'ariaRelevant',\n 'ariaRequired',\n 'ariaRoleDescription',\n 'ariaRowCount',\n 'ariaRowIndex',\n 'ariaRowSpan',\n 'ariaSelected',\n 'ariaSetSize',\n 'ariaSort',\n 'ariaValueMax',\n 'ariaValueMin',\n 'ariaValueNow',\n 'ariaValueText',\n 'role',\n];\nconst { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap } = /*@__PURE__*/ (() => {\n const AriaAttrNameToPropNameMap = create(null);\n const AriaPropNameToAttrNameMap = create(null);\n // Synthetic creation of all AOM property descriptors for Custom Elements\n forEach.call(AriaPropertyNames, (propName) => {\n const attrName = StringToLowerCase.call(StringReplace.call(propName, /^aria/, () => 'aria-'));\n AriaAttrNameToPropNameMap[attrName] = propName;\n AriaPropNameToAttrNameMap[propName] = attrName;\n });\n return { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap };\n})();\nexport function isAriaAttribute(attrName) {\n return attrName in AriaAttrNameToPropNameMap;\n}\n// These attributes take either an ID or a list of IDs as values.\n// This includes aria-* attributes as well as the special non-ARIA \"for\" attribute\nexport const ID_REFERENCING_ATTRIBUTES_SET = /*@__PURE__*/ new Set([\n 'aria-activedescendant',\n 'aria-controls',\n 'aria-describedby',\n 'aria-details',\n 'aria-errormessage',\n 'aria-flowto',\n 'aria-labelledby',\n 'aria-owns',\n 'for',\n]);\nexport { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap };\n//# sourceMappingURL=aria.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\n// See browser support for globalThis:\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility\n/* istanbul ignore next */\n// @ts-ignore\nconst _globalThis = typeof globalThis === 'object' ? globalThis : window;\nexport { _globalThis as globalThis };\n//# sourceMappingURL=global-this.js.map","/*\n * Copyright (c) 2023, Salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport const KEY__SHADOW_RESOLVER = '$shadowResolver$';\nexport const KEY__SHADOW_RESOLVER_PRIVATE = '$$ShadowResolverKey$$';\nexport const KEY__SHADOW_STATIC = '$shadowStaticNode$';\nexport const KEY__SHADOW_STATIC_PRIVATE = '$shadowStaticNodeKey$';\nexport const KEY__SHADOW_TOKEN = '$shadowToken$';\nexport const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';\nexport const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';\nexport const KEY__SCOPED_CSS = '$scoped$';\nexport const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';\nexport const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';\n//# sourceMappingURL=keys.js.map","/*\n * Copyright (c) 2022, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\nexport const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';\nexport const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\nexport const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\nexport const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';\n//# sourceMappingURL=namespaces.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { HTML_NAMESPACE } from './namespaces';\n// Void elements are elements that self-close even without an explicit solidus (slash),\n// e.g. `</tagName>` or `<tagName />`. For instance, `<meta>` closes on its own; no need for a slash.\n// These only come from HTML; there are no void elements in the SVG or MathML namespaces.\n// See: https://html.spec.whatwg.org/multipage/syntax.html#syntax-tags\nconst VOID_ELEMENTS = /*@__PURE__*/ [\n 'area',\n 'base',\n 'br',\n 'col',\n 'embed',\n 'hr',\n 'img',\n 'input',\n 'link',\n 'meta',\n 'source',\n 'track',\n 'wbr',\n];\n// These elements have been deprecated but preserving their usage for backwards compatibility\n// until we can officially deprecate them from LWC.\n// See: https://html.spec.whatwg.org/multipage/obsolete.html#obsolete-but-conforming-features\nconst DEPRECATED_VOID_ELEMENTS = /*@__PURE__*/ ['param', 'keygen', 'menuitem'];\nconst VOID_ELEMENTS_SET = /*@__PURE__*/ new Set([...VOID_ELEMENTS, ...DEPRECATED_VOID_ELEMENTS]);\nexport function isVoidElement(name, namespace) {\n return namespace === HTML_NAMESPACE && VOID_ELEMENTS_SET.has(name.toLowerCase());\n}\n//# sourceMappingURL=void-elements.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { AriaPropNameToAttrNameMap } from './aria';\nimport { isUndefined, StringCharCodeAt, StringFromCharCode, StringReplace } from './language';\nconst CAMEL_REGEX = /-([a-z])/g;\n/**\n * Maps boolean attribute name to supported tags: 'boolean attr name' => Set of allowed tag names\n * that supports them.\n */\nconst BOOLEAN_ATTRIBUTES = /*@__PURE__@*/ new Map([\n ['autofocus', /*@__PURE__@*/ new Set(['button', 'input', 'keygen', 'select', 'textarea'])],\n ['autoplay', /*@__PURE__@*/ new Set(['audio', 'video'])],\n ['checked', /*@__PURE__@*/ new Set(['command', 'input'])],\n [\n 'disabled',\n /*@__PURE__@*/ new Set([\n 'button',\n 'command',\n 'fieldset',\n 'input',\n 'keygen',\n 'optgroup',\n 'select',\n 'textarea',\n ]),\n ],\n ['formnovalidate', /*@__PURE__@*/ new Set(['button'])],\n ['hidden', /*@__PURE__@*/ new Set()],\n ['loop', /*@__PURE__@*/ new Set(['audio', 'bgsound', 'marquee', 'video'])],\n ['multiple', /*@__PURE__@*/ new Set(['input', 'select'])],\n ['muted', /*@__PURE__@*/ new Set(['audio', 'video'])],\n ['novalidate', /*@__PURE__@*/ new Set(['form'])],\n ['open', /*@__PURE__@*/ new Set(['details'])],\n ['readonly', /*@__PURE__@*/ new Set(['input', 'textarea'])],\n ['readonly', /*@__PURE__@*/ new Set(['input', 'textarea'])],\n ['required', /*@__PURE__@*/ new Set(['input', 'select', 'textarea'])],\n ['reversed', /*@__PURE__@*/ new Set(['ol'])],\n ['selected', /*@__PURE__@*/ new Set(['option'])],\n]);\nexport function isBooleanAttribute(attrName, tagName) {\n const allowedTagNames = BOOLEAN_ATTRIBUTES.get(attrName);\n return (allowedTagNames !== undefined &&\n (allowedTagNames.size === 0 || allowedTagNames.has(tagName)));\n}\n// This list is based on https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes\nconst GLOBAL_ATTRIBUTE = /*@__PURE__*/ new Set([\n 'accesskey',\n 'autocapitalize',\n 'autofocus',\n 'class',\n 'contenteditable',\n 'contextmenu',\n 'dir',\n 'draggable',\n 'enterkeyhint',\n 'exportparts',\n 'hidden',\n 'id',\n 'inputmode',\n 'is',\n 'itemid',\n 'itemprop',\n 'itemref',\n 'itemscope',\n 'itemtype',\n 'lang',\n 'nonce',\n 'part',\n 'slot',\n 'spellcheck',\n 'style',\n 'tabindex',\n 'title',\n 'translate',\n]);\nexport function isGlobalHtmlAttribute(attrName) {\n return GLOBAL_ATTRIBUTE.has(attrName);\n}\n// These are HTML standard prop/attribute IDL mappings, but are not predictable based on camel/kebab-case conversion\nconst SPECIAL_PROPERTY_ATTRIBUTE_MAPPING = /*@__PURE__@*/ new Map([\n ['accessKey', 'accesskey'],\n ['readOnly', 'readonly'],\n ['tabIndex', 'tabindex'],\n ['bgColor', 'bgcolor'],\n ['colSpan', 'colspan'],\n ['rowSpan', 'rowspan'],\n ['contentEditable', 'contenteditable'],\n ['crossOrigin', 'crossorigin'],\n ['dateTime', 'datetime'],\n ['formAction', 'formaction'],\n ['isMap', 'ismap'],\n ['maxLength', 'maxlength'],\n ['minLength', 'minlength'],\n ['noValidate', 'novalidate'],\n ['useMap', 'usemap'],\n ['htmlFor', 'for'],\n]);\n/**\n * Map associating previously transformed HTML property into HTML attribute.\n */\nconst CACHED_PROPERTY_ATTRIBUTE_MAPPING = /*@__PURE__@*/ new Map();\nexport function htmlPropertyToAttribute(propName) {\n const ariaAttributeName = AriaPropNameToAttrNameMap[propName];\n if (!isUndefined(ariaAttributeName)) {\n return ariaAttributeName;\n }\n const specialAttributeName = SPECIAL_PROPERTY_ATTRIBUTE_MAPPING.get(propName);\n if (!isUndefined(specialAttributeName)) {\n return specialAttributeName;\n }\n const cachedAttributeName = CACHED_PROPERTY_ATTRIBUTE_MAPPING.get(propName);\n if (!isUndefined(cachedAttributeName)) {\n return cachedAttributeName;\n }\n let attributeName = '';\n for (let i = 0, len = propName.length; i < len; i++) {\n const code = StringCharCodeAt.call(propName, i);\n if (code >= 65 && // \"A\"\n code <= 90 // \"Z\"\n ) {\n attributeName += '-' + StringFromCharCode(code + 32);\n }\n else {\n attributeName += StringFromCharCode(code);\n }\n }\n CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);\n return attributeName;\n}\n/**\n * Map associating previously transformed kabab-case attributes into camel-case props.\n */\nconst CACHED_KEBAB_CAMEL_MAPPING = /*@__PURE__@*/ new Map();\nexport function kebabCaseToCamelCase(attrName) {\n let result = CACHED_KEBAB_CAMEL_MAPPING.get(attrName);\n if (isUndefined(result)) {\n result = StringReplace.call(attrName, CAMEL_REGEX, (g) => g[1].toUpperCase());\n CACHED_KEBAB_CAMEL_MAPPING.set(attrName, result);\n }\n return result;\n}\n//# sourceMappingURL=html-attributes.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nconst ESCAPED_CHARS = {\n '\"': '&quot;',\n \"'\": '&#x27;',\n '<': '&lt;',\n '>': '&gt;',\n '&': '&amp;',\n};\nexport function htmlEscape(str, attrMode = false) {\n const searchValue = attrMode ? /[\"&]/g : /[\"'<>&]/g;\n return str.replace(searchValue, (char) => ESCAPED_CHARS[char]);\n}\n//# sourceMappingURL=html-escape.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\n// Increment whenever the LWC template compiler changes\nexport const LWC_VERSION = process.env.LWC_VERSION;\nexport const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;\nexport const LWC_VERSION_COMMENT_REGEX = /\\/\\*LWC compiler v([\\d.]+)\\*\\/\\s*}/;\n//# sourceMappingURL=meta.js.map"],"names":["isTrue","isFalse"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE;AACtC,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,MAAM,IAAI,KAAK,CAAC,CAAC,qBAAqB,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;AACvD,KAAK;AACL,CAAC;AACM,SAASA,QAAM,CAAC,KAAK,EAAE,GAAG,EAAE;AACnC,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,MAAM,IAAI,KAAK,CAAC,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;AACpD,KAAK;AACL,CAAC;AACM,SAASC,SAAO,CAAC,KAAK,EAAE,GAAG,EAAE;AACpC,IAAI,IAAI,KAAK,EAAE;AACf,QAAQ,MAAM,IAAI,KAAK,CAAC,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;AACpD,KAAK;AACL,CAAC;AACM,SAAS,IAAI,CAAC,GAAG,EAAE;AAC1B,IAAI,MAAM,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;AACzB;;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACK,MAAC,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,I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,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ,EAAE,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AACtF,QAAQ,0BAA0B,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AACzD,KAAK;AACL,IAAI,OAAO,MAAM,CAAC;AAClB;;AChJA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,aAAa,GAAG;AACtB,IAAI,GAAG,EAAE,QAAQ;AACjB,IAAI,GAAG,EAAE,QAAQ;AACjB,IAAI,GAAG,EAAE,MAAM;AACf,IAAI,GAAG,EAAE,MAAM;AACf,IAAI,GAAG,EAAE,OAAO;AAChB,CAAC,CAAC;AACK,SAAS,UAAU,CAAC,GAAG,EAAE,QAAQ,GAAG,KAAK,EAAE;AAClD,IAAI,MAAM,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;AACxD,IAAI,OAAO,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC;AACnE;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,WAAW,GAAG,QAAwB;AACvC,MAAC,mBAAmB,GAAG,CAAC,cAAc,EAAE,WAAW,CAAC,EAAE;AACtD,MAAC,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs.js","sources":["../src/assert.ts","../src/language.ts","../src/api-version.ts","../src/aria.ts","../src/global-this.ts","../src/keys.ts","../src/namespaces.ts","../src/void-elements.ts","../src/html-attributes.ts","../src/html-escape.ts","../src/meta.ts"],"sourcesContent":["/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport function invariant(value, msg) {\n if (!value) {\n throw new Error(`Invariant Violation: ${msg}`);\n }\n}\nexport function isTrue(value, msg) {\n if (!value) {\n throw new Error(`Assert Violation: ${msg}`);\n }\n}\nexport function isFalse(value, msg) {\n if (value) {\n throw new Error(`Assert Violation: ${msg}`);\n }\n}\nexport function fail(msg) {\n throw new Error(msg);\n}\n//# sourceMappingURL=assert.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nconst { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;\nconst { isArray } = Array;\nconst { concat: ArrayConcat, copyWithin: ArrayCopyWithin, every: ArrayEvery, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, includes: ArrayIncludes, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;\n// The type of the return value of Array.prototype.every is `this is T[]`. However, once this\n// Array method is pulled out of the prototype, the function is now referencing `this` where\n// `this` is meaningless, resulting in a TypeScript compilation error.\n//\n// Exposing this helper function is the closest we can get to preserving the usage patterns\n// of Array.prototype methods used elsewhere in the codebase.\nfunction arrayEvery(arr, predicate) {\n return ArrayEvery.call(arr, predicate);\n}\nconst { fromCharCode: StringFromCharCode } = String;\nconst { charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;\nexport { ArrayConcat, ArrayFilter, ArrayFind, ArrayFindIndex, ArrayFill, ArrayIncludes, ArrayIndexOf, ArrayCopyWithin, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, arrayEvery, assign, create, defineProperties, defineProperty, forEach, freeze, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isArray, isFrozen, keys, seal, setPrototypeOf, StringCharCodeAt, StringReplace, StringSlice, StringSplit, StringToLowerCase, StringFromCharCode, };\nexport function isUndefined(obj) {\n return obj === undefined;\n}\nexport function isNull(obj) {\n return obj === null;\n}\nexport function isTrue(obj) {\n return obj === true;\n}\nexport function isFalse(obj) {\n return obj === false;\n}\nexport function isBoolean(obj) {\n return typeof obj === 'boolean';\n}\nexport function isFunction(obj) {\n return typeof obj === 'function';\n}\nexport function isObject(obj) {\n return typeof obj === 'object';\n}\nexport function isString(obj) {\n return typeof obj === 'string';\n}\nexport function isNumber(obj) {\n return typeof obj === 'number';\n}\nexport function noop() {\n /* Do nothing */\n}\nconst OtS = {}.toString;\nexport function toString(obj) {\n if (obj && obj.toString) {\n // Arrays might hold objects with \"null\" prototype So using\n // Array.prototype.toString directly will cause an error Iterate through\n // all the items and handle individually.\n if (isArray(obj)) {\n return ArrayJoin.call(ArrayMap.call(obj, toString), ',');\n }\n return obj.toString();\n }\n else if (typeof obj === 'object') {\n return OtS.call(obj);\n }\n else {\n return obj + '';\n }\n}\nexport function getPropertyDescriptor(o, p) {\n do {\n const d = getOwnPropertyDescriptor(o, p);\n if (!isUndefined(d)) {\n return d;\n }\n o = getPrototypeOf(o);\n } while (o !== null);\n}\n//# sourceMappingURL=language.js.map","/*\n * Copyright (c) 2023, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { isNumber } from './language';\n// These must be updated when the enum is updated.\n// It's a bit annoying to do have to do this manually, but this makes the file tree-shakeable,\n// passing the `verify-treeshakeable.js` test.\nexport const LOWEST_API_VERSION = 58 /* APIVersion.V58_244_SUMMER_23 */;\nexport const HIGHEST_API_VERSION = 59 /* APIVersion.V59_246_WINTER_24 */;\nconst allVersions = [58 /* APIVersion.V58_244_SUMMER_23 */, 59 /* APIVersion.V59_246_WINTER_24 */];\nconst allVersionsSet = /*@__PURE__@*/ new Set(allVersions);\nexport function getAPIVersionFromNumber(version) {\n if (!isNumber(version)) {\n // if version is unspecified, default to latest\n return HIGHEST_API_VERSION;\n }\n if (allVersionsSet.has(version)) {\n return version;\n }\n if (version < LOWEST_API_VERSION) {\n return LOWEST_API_VERSION;\n }\n // If it's a number, and it's within the bounds of our known versions, then we should find the\n // highest version lower than the requested number.\n // For instance, if we know about versions 1, 2, 5, and 6, and the user requests 3, then we should return 2.\n for (let i = 1; i < allVersions.length; i++) {\n if (allVersions[i] > version) {\n return allVersions[i - 1];\n }\n }\n // version > HIGHEST_API_VERSION, so fall back to highest\n return HIGHEST_API_VERSION;\n}\nexport function isAPIFeatureEnabled(apiVersionFeature, apiVersion) {\n switch (apiVersionFeature) {\n case 0 /* APIFeature.LOWERCASE_SCOPE_TOKENS */:\n case 1 /* APIFeature.TREAT_ALL_PARSE5_ERRORS_AS_ERRORS */:\n return apiVersion >= 59 /* APIVersion.V59_246_WINTER_24 */;\n }\n}\n//# sourceMappingURL=api-version.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { create, forEach, StringReplace, StringToLowerCase } from './language';\n/**\n * According to the following list, there are 48 aria attributes of which two (ariaDropEffect and\n * ariaGrabbed) are deprecated:\n * https://www.w3.org/TR/wai-aria-1.1/#x6-6-definitions-of-states-and-properties-all-aria-attributes\n *\n * The above list of 46 aria attributes is consistent with the following resources:\n * https://github.com/w3c/aria/pull/708/files#diff-eacf331f0ffc35d4b482f1d15a887d3bR11060\n * https://wicg.github.io/aom/spec/aria-reflection.html\n *\n * NOTE: If you update this list, please update test files that implicitly reference this list!\n * Searching the codebase for `aria-flowto` and `ariaFlowTo` should be good enough to find all usages.\n */\nconst AriaPropertyNames = [\n 'ariaActiveDescendant',\n 'ariaAtomic',\n 'ariaAutoComplete',\n 'ariaBusy',\n 'ariaChecked',\n 'ariaColCount',\n 'ariaColIndex',\n 'ariaColSpan',\n 'ariaControls',\n 'ariaCurrent',\n 'ariaDescribedBy',\n 'ariaDetails',\n 'ariaDisabled',\n 'ariaErrorMessage',\n 'ariaExpanded',\n 'ariaFlowTo',\n 'ariaHasPopup',\n 'ariaHidden',\n 'ariaInvalid',\n 'ariaKeyShortcuts',\n 'ariaLabel',\n 'ariaLabelledBy',\n 'ariaLevel',\n 'ariaLive',\n 'ariaModal',\n 'ariaMultiLine',\n 'ariaMultiSelectable',\n 'ariaOrientation',\n 'ariaOwns',\n 'ariaPlaceholder',\n 'ariaPosInSet',\n 'ariaPressed',\n 'ariaReadOnly',\n 'ariaRelevant',\n 'ariaRequired',\n 'ariaRoleDescription',\n 'ariaRowCount',\n 'ariaRowIndex',\n 'ariaRowSpan',\n 'ariaSelected',\n 'ariaSetSize',\n 'ariaSort',\n 'ariaValueMax',\n 'ariaValueMin',\n 'ariaValueNow',\n 'ariaValueText',\n 'role',\n];\nconst { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap } = /*@__PURE__*/ (() => {\n const AriaAttrNameToPropNameMap = create(null);\n const AriaPropNameToAttrNameMap = create(null);\n // Synthetic creation of all AOM property descriptors for Custom Elements\n forEach.call(AriaPropertyNames, (propName) => {\n const attrName = StringToLowerCase.call(StringReplace.call(propName, /^aria/, () => 'aria-'));\n AriaAttrNameToPropNameMap[attrName] = propName;\n AriaPropNameToAttrNameMap[propName] = attrName;\n });\n return { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap };\n})();\nexport function isAriaAttribute(attrName) {\n return attrName in AriaAttrNameToPropNameMap;\n}\n// These attributes take either an ID or a list of IDs as values.\n// This includes aria-* attributes as well as the special non-ARIA \"for\" attribute\nexport const ID_REFERENCING_ATTRIBUTES_SET = /*@__PURE__*/ new Set([\n 'aria-activedescendant',\n 'aria-controls',\n 'aria-describedby',\n 'aria-details',\n 'aria-errormessage',\n 'aria-flowto',\n 'aria-labelledby',\n 'aria-owns',\n 'for',\n]);\nexport { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap };\n//# sourceMappingURL=aria.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\n// See browser support for globalThis:\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility\n/* istanbul ignore next */\n// @ts-ignore\nconst _globalThis = typeof globalThis === 'object' ? globalThis : window;\nexport { _globalThis as globalThis };\n//# sourceMappingURL=global-this.js.map","/*\n * Copyright (c) 2023, Salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport const KEY__SHADOW_RESOLVER = '$shadowResolver$';\nexport const KEY__SHADOW_RESOLVER_PRIVATE = '$$ShadowResolverKey$$';\nexport const KEY__SHADOW_STATIC = '$shadowStaticNode$';\nexport const KEY__SHADOW_STATIC_PRIVATE = '$shadowStaticNodeKey$';\nexport const KEY__SHADOW_TOKEN = '$shadowToken$';\nexport const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';\n// TODO [#3733]: remove support for legacy scope tokens\nexport const KEY__LEGACY_SHADOW_TOKEN = '$legacyShadowToken$';\nexport const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';\nexport const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';\nexport const KEY__SCOPED_CSS = '$scoped$';\nexport const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';\nexport const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';\n//# sourceMappingURL=keys.js.map","/*\n * Copyright (c) 2022, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\nexport const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';\nexport const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\nexport const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\nexport const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';\n//# sourceMappingURL=namespaces.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { HTML_NAMESPACE } from './namespaces';\n// Void elements are elements that self-close even without an explicit solidus (slash),\n// e.g. `</tagName>` or `<tagName />`. For instance, `<meta>` closes on its own; no need for a slash.\n// These only come from HTML; there are no void elements in the SVG or MathML namespaces.\n// See: https://html.spec.whatwg.org/multipage/syntax.html#syntax-tags\nconst VOID_ELEMENTS = /*@__PURE__*/ [\n 'area',\n 'base',\n 'br',\n 'col',\n 'embed',\n 'hr',\n 'img',\n 'input',\n 'link',\n 'meta',\n 'source',\n 'track',\n 'wbr',\n];\n// These elements have been deprecated but preserving their usage for backwards compatibility\n// until we can officially deprecate them from LWC.\n// See: https://html.spec.whatwg.org/multipage/obsolete.html#obsolete-but-conforming-features\nconst DEPRECATED_VOID_ELEMENTS = /*@__PURE__*/ ['param', 'keygen', 'menuitem'];\nconst VOID_ELEMENTS_SET = /*@__PURE__*/ new Set([...VOID_ELEMENTS, ...DEPRECATED_VOID_ELEMENTS]);\nexport function isVoidElement(name, namespace) {\n return namespace === HTML_NAMESPACE && VOID_ELEMENTS_SET.has(name.toLowerCase());\n}\n//# sourceMappingURL=void-elements.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { AriaPropNameToAttrNameMap } from './aria';\nimport { isUndefined, StringCharCodeAt, StringFromCharCode, StringReplace } from './language';\nconst CAMEL_REGEX = /-([a-z])/g;\n/**\n * Maps boolean attribute name to supported tags: 'boolean attr name' => Set of allowed tag names\n * that supports them.\n */\nconst BOOLEAN_ATTRIBUTES = /*@__PURE__@*/ new Map([\n ['autofocus', /*@__PURE__@*/ new Set(['button', 'input', 'keygen', 'select', 'textarea'])],\n ['autoplay', /*@__PURE__@*/ new Set(['audio', 'video'])],\n ['checked', /*@__PURE__@*/ new Set(['command', 'input'])],\n [\n 'disabled',\n /*@__PURE__@*/ new Set([\n 'button',\n 'command',\n 'fieldset',\n 'input',\n 'keygen',\n 'optgroup',\n 'select',\n 'textarea',\n ]),\n ],\n ['formnovalidate', /*@__PURE__@*/ new Set(['button'])],\n ['hidden', /*@__PURE__@*/ new Set()],\n ['loop', /*@__PURE__@*/ new Set(['audio', 'bgsound', 'marquee', 'video'])],\n ['multiple', /*@__PURE__@*/ new Set(['input', 'select'])],\n ['muted', /*@__PURE__@*/ new Set(['audio', 'video'])],\n ['novalidate', /*@__PURE__@*/ new Set(['form'])],\n ['open', /*@__PURE__@*/ new Set(['details'])],\n ['readonly', /*@__PURE__@*/ new Set(['input', 'textarea'])],\n ['readonly', /*@__PURE__@*/ new Set(['input', 'textarea'])],\n ['required', /*@__PURE__@*/ new Set(['input', 'select', 'textarea'])],\n ['reversed', /*@__PURE__@*/ new Set(['ol'])],\n ['selected', /*@__PURE__@*/ new Set(['option'])],\n]);\nexport function isBooleanAttribute(attrName, tagName) {\n const allowedTagNames = BOOLEAN_ATTRIBUTES.get(attrName);\n return (allowedTagNames !== undefined &&\n (allowedTagNames.size === 0 || allowedTagNames.has(tagName)));\n}\n// This list is based on https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes\nconst GLOBAL_ATTRIBUTE = /*@__PURE__*/ new Set([\n 'accesskey',\n 'autocapitalize',\n 'autofocus',\n 'class',\n 'contenteditable',\n 'contextmenu',\n 'dir',\n 'draggable',\n 'enterkeyhint',\n 'exportparts',\n 'hidden',\n 'id',\n 'inputmode',\n 'is',\n 'itemid',\n 'itemprop',\n 'itemref',\n 'itemscope',\n 'itemtype',\n 'lang',\n 'nonce',\n 'part',\n 'slot',\n 'spellcheck',\n 'style',\n 'tabindex',\n 'title',\n 'translate',\n]);\nexport function isGlobalHtmlAttribute(attrName) {\n return GLOBAL_ATTRIBUTE.has(attrName);\n}\n// These are HTML standard prop/attribute IDL mappings, but are not predictable based on camel/kebab-case conversion\nconst SPECIAL_PROPERTY_ATTRIBUTE_MAPPING = /*@__PURE__@*/ new Map([\n ['accessKey', 'accesskey'],\n ['readOnly', 'readonly'],\n ['tabIndex', 'tabindex'],\n ['bgColor', 'bgcolor'],\n ['colSpan', 'colspan'],\n ['rowSpan', 'rowspan'],\n ['contentEditable', 'contenteditable'],\n ['crossOrigin', 'crossorigin'],\n ['dateTime', 'datetime'],\n ['formAction', 'formaction'],\n ['isMap', 'ismap'],\n ['maxLength', 'maxlength'],\n ['minLength', 'minlength'],\n ['noValidate', 'novalidate'],\n ['useMap', 'usemap'],\n ['htmlFor', 'for'],\n]);\n/**\n * Map associating previously transformed HTML property into HTML attribute.\n */\nconst CACHED_PROPERTY_ATTRIBUTE_MAPPING = /*@__PURE__@*/ new Map();\nexport function htmlPropertyToAttribute(propName) {\n const ariaAttributeName = AriaPropNameToAttrNameMap[propName];\n if (!isUndefined(ariaAttributeName)) {\n return ariaAttributeName;\n }\n const specialAttributeName = SPECIAL_PROPERTY_ATTRIBUTE_MAPPING.get(propName);\n if (!isUndefined(specialAttributeName)) {\n return specialAttributeName;\n }\n const cachedAttributeName = CACHED_PROPERTY_ATTRIBUTE_MAPPING.get(propName);\n if (!isUndefined(cachedAttributeName)) {\n return cachedAttributeName;\n }\n let attributeName = '';\n for (let i = 0, len = propName.length; i < len; i++) {\n const code = StringCharCodeAt.call(propName, i);\n if (code >= 65 && // \"A\"\n code <= 90 // \"Z\"\n ) {\n attributeName += '-' + StringFromCharCode(code + 32);\n }\n else {\n attributeName += StringFromCharCode(code);\n }\n }\n CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);\n return attributeName;\n}\n/**\n * Map associating previously transformed kabab-case attributes into camel-case props.\n */\nconst CACHED_KEBAB_CAMEL_MAPPING = /*@__PURE__@*/ new Map();\nexport function kebabCaseToCamelCase(attrName) {\n let result = CACHED_KEBAB_CAMEL_MAPPING.get(attrName);\n if (isUndefined(result)) {\n result = StringReplace.call(attrName, CAMEL_REGEX, (g) => g[1].toUpperCase());\n CACHED_KEBAB_CAMEL_MAPPING.set(attrName, result);\n }\n return result;\n}\n//# sourceMappingURL=html-attributes.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nconst ESCAPED_CHARS = {\n '\"': '&quot;',\n \"'\": '&#x27;',\n '<': '&lt;',\n '>': '&gt;',\n '&': '&amp;',\n};\nexport function htmlEscape(str, attrMode = false) {\n const searchValue = attrMode ? /[\"&]/g : /[\"'<>&]/g;\n return str.replace(searchValue, (char) => ESCAPED_CHARS[char]);\n}\n//# sourceMappingURL=html-escape.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\n// Increment whenever the LWC template compiler changes\nexport const LWC_VERSION = process.env.LWC_VERSION;\nexport const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;\nexport const LWC_VERSION_COMMENT_REGEX = /\\/\\*LWC compiler v([\\d.]+)\\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EAAE,MAAM,CAAC,CAAC;AACzD,KAAK;AACL,IAAI,OAAO,MAAM,CAAC;AAClB;;AChJA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,aAAa,GAAG;AACtB,IAAI,GAAG,EAAE,QAAQ;AACjB,IAAI,GAAG,EAAE,QAAQ;AACjB,IAAI,GAAG,EAAE,MAAM;AACf,IAAI,GAAG,EAAE,MAAM;AACf,IAAI,GAAG,EAAE,OAAO;AAChB,CAAC,CAAC;AACK,SAAS,UAAU,CAAC,GAAG,EAAE,QAAQ,GAAG,KAAK,EAAE;AAClD,IAAI,MAAM,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;AACxD,IAAI,OAAO,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC;AACnE;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,WAAW,GAAG,QAAwB;AACvC,MAAC,mBAAmB,GAAG,CAAC,cAAc,EAAE,WAAW,CAAC,EAAE;AACtD,MAAC,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index.js CHANGED
@@ -40,7 +40,7 @@ var assert = /*#__PURE__*/Object.freeze({
40
40
  * SPDX-License-Identifier: MIT
41
41
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
42
42
  */
43
- const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
43
+ const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
44
44
  const { isArray } = Array;
45
45
  const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, every: ArrayEvery, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, includes: ArrayIncludes, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
46
46
  // The type of the return value of Array.prototype.every is `this is T[]`. However, once this
@@ -274,6 +274,9 @@ const KEY__SHADOW_STATIC = '$shadowStaticNode$';
274
274
  const KEY__SHADOW_STATIC_PRIVATE = '$shadowStaticNodeKey$';
275
275
  const KEY__SHADOW_TOKEN = '$shadowToken$';
276
276
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
277
+ // TODO [#3733]: remove support for legacy scope tokens
278
+ const KEY__LEGACY_SHADOW_TOKEN = '$legacyShadowToken$';
279
+ const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';
277
280
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
278
281
  const KEY__SCOPED_CSS = '$scoped$';
279
282
  const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
@@ -494,10 +497,10 @@ function htmlEscape(str, attrMode = false) {
494
497
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
495
498
  */
496
499
  // Increment whenever the LWC template compiler changes
497
- const LWC_VERSION = "3.3.3";
500
+ const LWC_VERSION = "3.4.0";
498
501
  const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;
499
502
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
500
503
 
501
- export { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap, ArrayConcat, ArrayCopyWithin, ArrayFill, ArrayFilter, ArrayFind, ArrayFindIndex, ArrayIncludes, ArrayIndexOf, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, HIGHEST_API_VERSION, HTML_NAMESPACE, ID_REFERENCING_ATTRIBUTES_SET, KEY__NATIVE_GET_ELEMENT_BY_ID, KEY__NATIVE_QUERY_SELECTOR_ALL, KEY__SCOPED_CSS, KEY__SHADOW_RESOLVER, KEY__SHADOW_RESOLVER_PRIVATE, KEY__SHADOW_STATIC, KEY__SHADOW_STATIC_PRIVATE, KEY__SHADOW_TOKEN, KEY__SHADOW_TOKEN_PRIVATE, KEY__SYNTHETIC_MODE, LOWEST_API_VERSION, LWC_VERSION, LWC_VERSION_COMMENT, LWC_VERSION_COMMENT_REGEX, MATHML_NAMESPACE, SVG_NAMESPACE, StringCharCodeAt, StringFromCharCode, StringReplace, StringSlice, StringSplit, StringToLowerCase, XLINK_NAMESPACE, XML_NAMESPACE, arrayEvery, assert, assign, create, defineProperties, defineProperty, forEach, freeze, getAPIVersionFromNumber, getOwnPropertyDescriptor, getOwnPropertyNames, getPropertyDescriptor, getPrototypeOf, _globalThis as globalThis, hasOwnProperty, htmlEscape, htmlPropertyToAttribute, isAPIFeatureEnabled, isAriaAttribute, isArray, isBoolean, isBooleanAttribute, isFalse, isFrozen, isFunction, isGlobalHtmlAttribute, isNull, isNumber, isObject, isString, isTrue, isUndefined, isVoidElement, kebabCaseToCamelCase, keys, noop, seal, setPrototypeOf, toString };
502
- /** version: 3.3.3 */
504
+ export { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap, ArrayConcat, ArrayCopyWithin, ArrayFill, ArrayFilter, ArrayFind, ArrayFindIndex, ArrayIncludes, ArrayIndexOf, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, HIGHEST_API_VERSION, HTML_NAMESPACE, ID_REFERENCING_ATTRIBUTES_SET, KEY__LEGACY_SHADOW_TOKEN, KEY__LEGACY_SHADOW_TOKEN_PRIVATE, KEY__NATIVE_GET_ELEMENT_BY_ID, KEY__NATIVE_QUERY_SELECTOR_ALL, KEY__SCOPED_CSS, KEY__SHADOW_RESOLVER, KEY__SHADOW_RESOLVER_PRIVATE, KEY__SHADOW_STATIC, KEY__SHADOW_STATIC_PRIVATE, KEY__SHADOW_TOKEN, KEY__SHADOW_TOKEN_PRIVATE, KEY__SYNTHETIC_MODE, LOWEST_API_VERSION, LWC_VERSION, LWC_VERSION_COMMENT, LWC_VERSION_COMMENT_REGEX, MATHML_NAMESPACE, SVG_NAMESPACE, StringCharCodeAt, StringFromCharCode, StringReplace, StringSlice, StringSplit, StringToLowerCase, XLINK_NAMESPACE, XML_NAMESPACE, arrayEvery, assert, assign, create, defineProperties, defineProperty, forEach, freeze, getAPIVersionFromNumber, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getPropertyDescriptor, getPrototypeOf, _globalThis as globalThis, hasOwnProperty, htmlEscape, htmlPropertyToAttribute, isAPIFeatureEnabled, isAriaAttribute, isArray, isBoolean, isBooleanAttribute, isFalse, isFrozen, isFunction, isGlobalHtmlAttribute, isNull, isNumber, isObject, isString, isTrue, isUndefined, isVoidElement, kebabCaseToCamelCase, keys, noop, seal, setPrototypeOf, toString };
505
+ /** version: 3.4.0 */
503
506
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/assert.ts","../src/language.ts","../src/api-version.ts","../src/aria.ts","../src/global-this.ts","../src/keys.ts","../src/namespaces.ts","../src/void-elements.ts","../src/html-attributes.ts","../src/html-escape.ts","../src/meta.ts"],"sourcesContent":["/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport function invariant(value, msg) {\n if (!value) {\n throw new Error(`Invariant Violation: ${msg}`);\n }\n}\nexport function isTrue(value, msg) {\n if (!value) {\n throw new Error(`Assert Violation: ${msg}`);\n }\n}\nexport function isFalse(value, msg) {\n if (value) {\n throw new Error(`Assert Violation: ${msg}`);\n }\n}\nexport function fail(msg) {\n throw new Error(msg);\n}\n//# sourceMappingURL=assert.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nconst { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;\nconst { isArray } = Array;\nconst { concat: ArrayConcat, copyWithin: ArrayCopyWithin, every: ArrayEvery, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, includes: ArrayIncludes, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;\n// The type of the return value of Array.prototype.every is `this is T[]`. However, once this\n// Array method is pulled out of the prototype, the function is now referencing `this` where\n// `this` is meaningless, resulting in a TypeScript compilation error.\n//\n// Exposing this helper function is the closest we can get to preserving the usage patterns\n// of Array.prototype methods used elsewhere in the codebase.\nfunction arrayEvery(arr, predicate) {\n return ArrayEvery.call(arr, predicate);\n}\nconst { fromCharCode: StringFromCharCode } = String;\nconst { charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;\nexport { ArrayConcat, ArrayFilter, ArrayFind, ArrayFindIndex, ArrayFill, ArrayIncludes, ArrayIndexOf, ArrayCopyWithin, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, arrayEvery, assign, create, defineProperties, defineProperty, forEach, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isArray, isFrozen, keys, seal, setPrototypeOf, StringCharCodeAt, StringReplace, StringSlice, StringSplit, StringToLowerCase, StringFromCharCode, };\nexport function isUndefined(obj) {\n return obj === undefined;\n}\nexport function isNull(obj) {\n return obj === null;\n}\nexport function isTrue(obj) {\n return obj === true;\n}\nexport function isFalse(obj) {\n return obj === false;\n}\nexport function isBoolean(obj) {\n return typeof obj === 'boolean';\n}\nexport function isFunction(obj) {\n return typeof obj === 'function';\n}\nexport function isObject(obj) {\n return typeof obj === 'object';\n}\nexport function isString(obj) {\n return typeof obj === 'string';\n}\nexport function isNumber(obj) {\n return typeof obj === 'number';\n}\nexport function noop() {\n /* Do nothing */\n}\nconst OtS = {}.toString;\nexport function toString(obj) {\n if (obj && obj.toString) {\n // Arrays might hold objects with \"null\" prototype So using\n // Array.prototype.toString directly will cause an error Iterate through\n // all the items and handle individually.\n if (isArray(obj)) {\n return ArrayJoin.call(ArrayMap.call(obj, toString), ',');\n }\n return obj.toString();\n }\n else if (typeof obj === 'object') {\n return OtS.call(obj);\n }\n else {\n return obj + '';\n }\n}\nexport function getPropertyDescriptor(o, p) {\n do {\n const d = getOwnPropertyDescriptor(o, p);\n if (!isUndefined(d)) {\n return d;\n }\n o = getPrototypeOf(o);\n } while (o !== null);\n}\n//# sourceMappingURL=language.js.map","/*\n * Copyright (c) 2023, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { isNumber } from './language';\n// These must be updated when the enum is updated.\n// It's a bit annoying to do have to do this manually, but this makes the file tree-shakeable,\n// passing the `verify-treeshakeable.js` test.\nexport const LOWEST_API_VERSION = 58 /* APIVersion.V58_244_SUMMER_23 */;\nexport const HIGHEST_API_VERSION = 59 /* APIVersion.V59_246_WINTER_24 */;\nconst allVersions = [58 /* APIVersion.V58_244_SUMMER_23 */, 59 /* APIVersion.V59_246_WINTER_24 */];\nconst allVersionsSet = /*@__PURE__@*/ new Set(allVersions);\nexport function getAPIVersionFromNumber(version) {\n if (!isNumber(version)) {\n // if version is unspecified, default to latest\n return HIGHEST_API_VERSION;\n }\n if (allVersionsSet.has(version)) {\n return version;\n }\n if (version < LOWEST_API_VERSION) {\n return LOWEST_API_VERSION;\n }\n // If it's a number, and it's within the bounds of our known versions, then we should find the\n // highest version lower than the requested number.\n // For instance, if we know about versions 1, 2, 5, and 6, and the user requests 3, then we should return 2.\n for (let i = 1; i < allVersions.length; i++) {\n if (allVersions[i] > version) {\n return allVersions[i - 1];\n }\n }\n // version > HIGHEST_API_VERSION, so fall back to highest\n return HIGHEST_API_VERSION;\n}\nexport function isAPIFeatureEnabled(apiVersionFeature, apiVersion) {\n switch (apiVersionFeature) {\n case 0 /* APIFeature.LOWERCASE_SCOPE_TOKENS */:\n case 1 /* APIFeature.TREAT_ALL_PARSE5_ERRORS_AS_ERRORS */:\n return apiVersion >= 59 /* APIVersion.V59_246_WINTER_24 */;\n }\n}\n//# sourceMappingURL=api-version.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { create, forEach, StringReplace, StringToLowerCase } from './language';\n/**\n * According to the following list, there are 48 aria attributes of which two (ariaDropEffect and\n * ariaGrabbed) are deprecated:\n * https://www.w3.org/TR/wai-aria-1.1/#x6-6-definitions-of-states-and-properties-all-aria-attributes\n *\n * The above list of 46 aria attributes is consistent with the following resources:\n * https://github.com/w3c/aria/pull/708/files#diff-eacf331f0ffc35d4b482f1d15a887d3bR11060\n * https://wicg.github.io/aom/spec/aria-reflection.html\n *\n * NOTE: If you update this list, please update test files that implicitly reference this list!\n * Searching the codebase for `aria-flowto` and `ariaFlowTo` should be good enough to find all usages.\n */\nconst AriaPropertyNames = [\n 'ariaActiveDescendant',\n 'ariaAtomic',\n 'ariaAutoComplete',\n 'ariaBusy',\n 'ariaChecked',\n 'ariaColCount',\n 'ariaColIndex',\n 'ariaColSpan',\n 'ariaControls',\n 'ariaCurrent',\n 'ariaDescribedBy',\n 'ariaDetails',\n 'ariaDisabled',\n 'ariaErrorMessage',\n 'ariaExpanded',\n 'ariaFlowTo',\n 'ariaHasPopup',\n 'ariaHidden',\n 'ariaInvalid',\n 'ariaKeyShortcuts',\n 'ariaLabel',\n 'ariaLabelledBy',\n 'ariaLevel',\n 'ariaLive',\n 'ariaModal',\n 'ariaMultiLine',\n 'ariaMultiSelectable',\n 'ariaOrientation',\n 'ariaOwns',\n 'ariaPlaceholder',\n 'ariaPosInSet',\n 'ariaPressed',\n 'ariaReadOnly',\n 'ariaRelevant',\n 'ariaRequired',\n 'ariaRoleDescription',\n 'ariaRowCount',\n 'ariaRowIndex',\n 'ariaRowSpan',\n 'ariaSelected',\n 'ariaSetSize',\n 'ariaSort',\n 'ariaValueMax',\n 'ariaValueMin',\n 'ariaValueNow',\n 'ariaValueText',\n 'role',\n];\nconst { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap } = /*@__PURE__*/ (() => {\n const AriaAttrNameToPropNameMap = create(null);\n const AriaPropNameToAttrNameMap = create(null);\n // Synthetic creation of all AOM property descriptors for Custom Elements\n forEach.call(AriaPropertyNames, (propName) => {\n const attrName = StringToLowerCase.call(StringReplace.call(propName, /^aria/, () => 'aria-'));\n AriaAttrNameToPropNameMap[attrName] = propName;\n AriaPropNameToAttrNameMap[propName] = attrName;\n });\n return { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap };\n})();\nexport function isAriaAttribute(attrName) {\n return attrName in AriaAttrNameToPropNameMap;\n}\n// These attributes take either an ID or a list of IDs as values.\n// This includes aria-* attributes as well as the special non-ARIA \"for\" attribute\nexport const ID_REFERENCING_ATTRIBUTES_SET = /*@__PURE__*/ new Set([\n 'aria-activedescendant',\n 'aria-controls',\n 'aria-describedby',\n 'aria-details',\n 'aria-errormessage',\n 'aria-flowto',\n 'aria-labelledby',\n 'aria-owns',\n 'for',\n]);\nexport { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap };\n//# sourceMappingURL=aria.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\n// See browser support for globalThis:\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility\n/* istanbul ignore next */\n// @ts-ignore\nconst _globalThis = typeof globalThis === 'object' ? globalThis : window;\nexport { _globalThis as globalThis };\n//# sourceMappingURL=global-this.js.map","/*\n * Copyright (c) 2023, Salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport const KEY__SHADOW_RESOLVER = '$shadowResolver$';\nexport const KEY__SHADOW_RESOLVER_PRIVATE = '$$ShadowResolverKey$$';\nexport const KEY__SHADOW_STATIC = '$shadowStaticNode$';\nexport const KEY__SHADOW_STATIC_PRIVATE = '$shadowStaticNodeKey$';\nexport const KEY__SHADOW_TOKEN = '$shadowToken$';\nexport const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';\nexport const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';\nexport const KEY__SCOPED_CSS = '$scoped$';\nexport const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';\nexport const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';\n//# sourceMappingURL=keys.js.map","/*\n * Copyright (c) 2022, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\nexport const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';\nexport const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\nexport const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\nexport const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';\n//# sourceMappingURL=namespaces.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { HTML_NAMESPACE } from './namespaces';\n// Void elements are elements that self-close even without an explicit solidus (slash),\n// e.g. `</tagName>` or `<tagName />`. For instance, `<meta>` closes on its own; no need for a slash.\n// These only come from HTML; there are no void elements in the SVG or MathML namespaces.\n// See: https://html.spec.whatwg.org/multipage/syntax.html#syntax-tags\nconst VOID_ELEMENTS = /*@__PURE__*/ [\n 'area',\n 'base',\n 'br',\n 'col',\n 'embed',\n 'hr',\n 'img',\n 'input',\n 'link',\n 'meta',\n 'source',\n 'track',\n 'wbr',\n];\n// These elements have been deprecated but preserving their usage for backwards compatibility\n// until we can officially deprecate them from LWC.\n// See: https://html.spec.whatwg.org/multipage/obsolete.html#obsolete-but-conforming-features\nconst DEPRECATED_VOID_ELEMENTS = /*@__PURE__*/ ['param', 'keygen', 'menuitem'];\nconst VOID_ELEMENTS_SET = /*@__PURE__*/ new Set([...VOID_ELEMENTS, ...DEPRECATED_VOID_ELEMENTS]);\nexport function isVoidElement(name, namespace) {\n return namespace === HTML_NAMESPACE && VOID_ELEMENTS_SET.has(name.toLowerCase());\n}\n//# sourceMappingURL=void-elements.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { AriaPropNameToAttrNameMap } from './aria';\nimport { isUndefined, StringCharCodeAt, StringFromCharCode, StringReplace } from './language';\nconst CAMEL_REGEX = /-([a-z])/g;\n/**\n * Maps boolean attribute name to supported tags: 'boolean attr name' => Set of allowed tag names\n * that supports them.\n */\nconst BOOLEAN_ATTRIBUTES = /*@__PURE__@*/ new Map([\n ['autofocus', /*@__PURE__@*/ new Set(['button', 'input', 'keygen', 'select', 'textarea'])],\n ['autoplay', /*@__PURE__@*/ new Set(['audio', 'video'])],\n ['checked', /*@__PURE__@*/ new Set(['command', 'input'])],\n [\n 'disabled',\n /*@__PURE__@*/ new Set([\n 'button',\n 'command',\n 'fieldset',\n 'input',\n 'keygen',\n 'optgroup',\n 'select',\n 'textarea',\n ]),\n ],\n ['formnovalidate', /*@__PURE__@*/ new Set(['button'])],\n ['hidden', /*@__PURE__@*/ new Set()],\n ['loop', /*@__PURE__@*/ new Set(['audio', 'bgsound', 'marquee', 'video'])],\n ['multiple', /*@__PURE__@*/ new Set(['input', 'select'])],\n ['muted', /*@__PURE__@*/ new Set(['audio', 'video'])],\n ['novalidate', /*@__PURE__@*/ new Set(['form'])],\n ['open', /*@__PURE__@*/ new Set(['details'])],\n ['readonly', /*@__PURE__@*/ new Set(['input', 'textarea'])],\n ['readonly', /*@__PURE__@*/ new Set(['input', 'textarea'])],\n ['required', /*@__PURE__@*/ new Set(['input', 'select', 'textarea'])],\n ['reversed', /*@__PURE__@*/ new Set(['ol'])],\n ['selected', /*@__PURE__@*/ new Set(['option'])],\n]);\nexport function isBooleanAttribute(attrName, tagName) {\n const allowedTagNames = BOOLEAN_ATTRIBUTES.get(attrName);\n return (allowedTagNames !== undefined &&\n (allowedTagNames.size === 0 || allowedTagNames.has(tagName)));\n}\n// This list is based on https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes\nconst GLOBAL_ATTRIBUTE = /*@__PURE__*/ new Set([\n 'accesskey',\n 'autocapitalize',\n 'autofocus',\n 'class',\n 'contenteditable',\n 'contextmenu',\n 'dir',\n 'draggable',\n 'enterkeyhint',\n 'exportparts',\n 'hidden',\n 'id',\n 'inputmode',\n 'is',\n 'itemid',\n 'itemprop',\n 'itemref',\n 'itemscope',\n 'itemtype',\n 'lang',\n 'nonce',\n 'part',\n 'slot',\n 'spellcheck',\n 'style',\n 'tabindex',\n 'title',\n 'translate',\n]);\nexport function isGlobalHtmlAttribute(attrName) {\n return GLOBAL_ATTRIBUTE.has(attrName);\n}\n// These are HTML standard prop/attribute IDL mappings, but are not predictable based on camel/kebab-case conversion\nconst SPECIAL_PROPERTY_ATTRIBUTE_MAPPING = /*@__PURE__@*/ new Map([\n ['accessKey', 'accesskey'],\n ['readOnly', 'readonly'],\n ['tabIndex', 'tabindex'],\n ['bgColor', 'bgcolor'],\n ['colSpan', 'colspan'],\n ['rowSpan', 'rowspan'],\n ['contentEditable', 'contenteditable'],\n ['crossOrigin', 'crossorigin'],\n ['dateTime', 'datetime'],\n ['formAction', 'formaction'],\n ['isMap', 'ismap'],\n ['maxLength', 'maxlength'],\n ['minLength', 'minlength'],\n ['noValidate', 'novalidate'],\n ['useMap', 'usemap'],\n ['htmlFor', 'for'],\n]);\n/**\n * Map associating previously transformed HTML property into HTML attribute.\n */\nconst CACHED_PROPERTY_ATTRIBUTE_MAPPING = /*@__PURE__@*/ new Map();\nexport function htmlPropertyToAttribute(propName) {\n const ariaAttributeName = AriaPropNameToAttrNameMap[propName];\n if (!isUndefined(ariaAttributeName)) {\n return ariaAttributeName;\n }\n const specialAttributeName = SPECIAL_PROPERTY_ATTRIBUTE_MAPPING.get(propName);\n if (!isUndefined(specialAttributeName)) {\n return specialAttributeName;\n }\n const cachedAttributeName = CACHED_PROPERTY_ATTRIBUTE_MAPPING.get(propName);\n if (!isUndefined(cachedAttributeName)) {\n return cachedAttributeName;\n }\n let attributeName = '';\n for (let i = 0, len = propName.length; i < len; i++) {\n const code = StringCharCodeAt.call(propName, i);\n if (code >= 65 && // \"A\"\n code <= 90 // \"Z\"\n ) {\n attributeName += '-' + StringFromCharCode(code + 32);\n }\n else {\n attributeName += StringFromCharCode(code);\n }\n }\n CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);\n return attributeName;\n}\n/**\n * Map associating previously transformed kabab-case attributes into camel-case props.\n */\nconst CACHED_KEBAB_CAMEL_MAPPING = /*@__PURE__@*/ new Map();\nexport function kebabCaseToCamelCase(attrName) {\n let result = CACHED_KEBAB_CAMEL_MAPPING.get(attrName);\n if (isUndefined(result)) {\n result = StringReplace.call(attrName, CAMEL_REGEX, (g) => g[1].toUpperCase());\n CACHED_KEBAB_CAMEL_MAPPING.set(attrName, result);\n }\n return result;\n}\n//# sourceMappingURL=html-attributes.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nconst ESCAPED_CHARS = {\n '\"': '&quot;',\n \"'\": '&#x27;',\n '<': '&lt;',\n '>': '&gt;',\n '&': '&amp;',\n};\nexport function htmlEscape(str, attrMode = false) {\n const searchValue = attrMode ? /[\"&]/g : /[\"'<>&]/g;\n return str.replace(searchValue, (char) => ESCAPED_CHARS[char]);\n}\n//# sourceMappingURL=html-escape.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\n// Increment whenever the LWC template compiler changes\nexport const LWC_VERSION = process.env.LWC_VERSION;\nexport const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;\nexport const LWC_VERSION_COMMENT_REGEX = /\\/\\*LWC compiler v([\\d.]+)\\*\\/\\s*}/;\n//# sourceMappingURL=meta.js.map"],"names":["isTrue","isFalse"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE;AACtC,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,MAAM,IAAI,KAAK,CAAC,CAAC,qBAAqB,EAAE,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Q,GAAG,KAAK,EAAE;AAClD,IAAI,MAAM,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;AACxD,IAAI,OAAO,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC;AACnE;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,WAAW,GAAG,QAAwB;AACvC,MAAC,mBAAmB,GAAG,CAAC,cAAc,EAAE,WAAW,CAAC,EAAE;AACtD,MAAC,yBAAyB,GAAG;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/assert.ts","../src/language.ts","../src/api-version.ts","../src/aria.ts","../src/global-this.ts","../src/keys.ts","../src/namespaces.ts","../src/void-elements.ts","../src/html-attributes.ts","../src/html-escape.ts","../src/meta.ts"],"sourcesContent":["/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport function invariant(value, msg) {\n if (!value) {\n throw new Error(`Invariant Violation: ${msg}`);\n }\n}\nexport function isTrue(value, msg) {\n if (!value) {\n throw new Error(`Assert Violation: ${msg}`);\n }\n}\nexport function isFalse(value, msg) {\n if (value) {\n throw new Error(`Assert Violation: ${msg}`);\n }\n}\nexport function fail(msg) {\n throw new Error(msg);\n}\n//# sourceMappingURL=assert.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nconst { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;\nconst { isArray } = Array;\nconst { concat: ArrayConcat, copyWithin: ArrayCopyWithin, every: ArrayEvery, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, includes: ArrayIncludes, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;\n// The type of the return value of Array.prototype.every is `this is T[]`. However, once this\n// Array method is pulled out of the prototype, the function is now referencing `this` where\n// `this` is meaningless, resulting in a TypeScript compilation error.\n//\n// Exposing this helper function is the closest we can get to preserving the usage patterns\n// of Array.prototype methods used elsewhere in the codebase.\nfunction arrayEvery(arr, predicate) {\n return ArrayEvery.call(arr, predicate);\n}\nconst { fromCharCode: StringFromCharCode } = String;\nconst { charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;\nexport { ArrayConcat, ArrayFilter, ArrayFind, ArrayFindIndex, ArrayFill, ArrayIncludes, ArrayIndexOf, ArrayCopyWithin, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, arrayEvery, assign, create, defineProperties, defineProperty, forEach, freeze, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isArray, isFrozen, keys, seal, setPrototypeOf, StringCharCodeAt, StringReplace, StringSlice, StringSplit, StringToLowerCase, StringFromCharCode, };\nexport function isUndefined(obj) {\n return obj === undefined;\n}\nexport function isNull(obj) {\n return obj === null;\n}\nexport function isTrue(obj) {\n return obj === true;\n}\nexport function isFalse(obj) {\n return obj === false;\n}\nexport function isBoolean(obj) {\n return typeof obj === 'boolean';\n}\nexport function isFunction(obj) {\n return typeof obj === 'function';\n}\nexport function isObject(obj) {\n return typeof obj === 'object';\n}\nexport function isString(obj) {\n return typeof obj === 'string';\n}\nexport function isNumber(obj) {\n return typeof obj === 'number';\n}\nexport function noop() {\n /* Do nothing */\n}\nconst OtS = {}.toString;\nexport function toString(obj) {\n if (obj && obj.toString) {\n // Arrays might hold objects with \"null\" prototype So using\n // Array.prototype.toString directly will cause an error Iterate through\n // all the items and handle individually.\n if (isArray(obj)) {\n return ArrayJoin.call(ArrayMap.call(obj, toString), ',');\n }\n return obj.toString();\n }\n else if (typeof obj === 'object') {\n return OtS.call(obj);\n }\n else {\n return obj + '';\n }\n}\nexport function getPropertyDescriptor(o, p) {\n do {\n const d = getOwnPropertyDescriptor(o, p);\n if (!isUndefined(d)) {\n return d;\n }\n o = getPrototypeOf(o);\n } while (o !== null);\n}\n//# sourceMappingURL=language.js.map","/*\n * Copyright (c) 2023, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { isNumber } from './language';\n// These must be updated when the enum is updated.\n// It's a bit annoying to do have to do this manually, but this makes the file tree-shakeable,\n// passing the `verify-treeshakeable.js` test.\nexport const LOWEST_API_VERSION = 58 /* APIVersion.V58_244_SUMMER_23 */;\nexport const HIGHEST_API_VERSION = 59 /* APIVersion.V59_246_WINTER_24 */;\nconst allVersions = [58 /* APIVersion.V58_244_SUMMER_23 */, 59 /* APIVersion.V59_246_WINTER_24 */];\nconst allVersionsSet = /*@__PURE__@*/ new Set(allVersions);\nexport function getAPIVersionFromNumber(version) {\n if (!isNumber(version)) {\n // if version is unspecified, default to latest\n return HIGHEST_API_VERSION;\n }\n if (allVersionsSet.has(version)) {\n return version;\n }\n if (version < LOWEST_API_VERSION) {\n return LOWEST_API_VERSION;\n }\n // If it's a number, and it's within the bounds of our known versions, then we should find the\n // highest version lower than the requested number.\n // For instance, if we know about versions 1, 2, 5, and 6, and the user requests 3, then we should return 2.\n for (let i = 1; i < allVersions.length; i++) {\n if (allVersions[i] > version) {\n return allVersions[i - 1];\n }\n }\n // version > HIGHEST_API_VERSION, so fall back to highest\n return HIGHEST_API_VERSION;\n}\nexport function isAPIFeatureEnabled(apiVersionFeature, apiVersion) {\n switch (apiVersionFeature) {\n case 0 /* APIFeature.LOWERCASE_SCOPE_TOKENS */:\n case 1 /* APIFeature.TREAT_ALL_PARSE5_ERRORS_AS_ERRORS */:\n return apiVersion >= 59 /* APIVersion.V59_246_WINTER_24 */;\n }\n}\n//# sourceMappingURL=api-version.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { create, forEach, StringReplace, StringToLowerCase } from './language';\n/**\n * According to the following list, there are 48 aria attributes of which two (ariaDropEffect and\n * ariaGrabbed) are deprecated:\n * https://www.w3.org/TR/wai-aria-1.1/#x6-6-definitions-of-states-and-properties-all-aria-attributes\n *\n * The above list of 46 aria attributes is consistent with the following resources:\n * https://github.com/w3c/aria/pull/708/files#diff-eacf331f0ffc35d4b482f1d15a887d3bR11060\n * https://wicg.github.io/aom/spec/aria-reflection.html\n *\n * NOTE: If you update this list, please update test files that implicitly reference this list!\n * Searching the codebase for `aria-flowto` and `ariaFlowTo` should be good enough to find all usages.\n */\nconst AriaPropertyNames = [\n 'ariaActiveDescendant',\n 'ariaAtomic',\n 'ariaAutoComplete',\n 'ariaBusy',\n 'ariaChecked',\n 'ariaColCount',\n 'ariaColIndex',\n 'ariaColSpan',\n 'ariaControls',\n 'ariaCurrent',\n 'ariaDescribedBy',\n 'ariaDetails',\n 'ariaDisabled',\n 'ariaErrorMessage',\n 'ariaExpanded',\n 'ariaFlowTo',\n 'ariaHasPopup',\n 'ariaHidden',\n 'ariaInvalid',\n 'ariaKeyShortcuts',\n 'ariaLabel',\n 'ariaLabelledBy',\n 'ariaLevel',\n 'ariaLive',\n 'ariaModal',\n 'ariaMultiLine',\n 'ariaMultiSelectable',\n 'ariaOrientation',\n 'ariaOwns',\n 'ariaPlaceholder',\n 'ariaPosInSet',\n 'ariaPressed',\n 'ariaReadOnly',\n 'ariaRelevant',\n 'ariaRequired',\n 'ariaRoleDescription',\n 'ariaRowCount',\n 'ariaRowIndex',\n 'ariaRowSpan',\n 'ariaSelected',\n 'ariaSetSize',\n 'ariaSort',\n 'ariaValueMax',\n 'ariaValueMin',\n 'ariaValueNow',\n 'ariaValueText',\n 'role',\n];\nconst { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap } = /*@__PURE__*/ (() => {\n const AriaAttrNameToPropNameMap = create(null);\n const AriaPropNameToAttrNameMap = create(null);\n // Synthetic creation of all AOM property descriptors for Custom Elements\n forEach.call(AriaPropertyNames, (propName) => {\n const attrName = StringToLowerCase.call(StringReplace.call(propName, /^aria/, () => 'aria-'));\n AriaAttrNameToPropNameMap[attrName] = propName;\n AriaPropNameToAttrNameMap[propName] = attrName;\n });\n return { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap };\n})();\nexport function isAriaAttribute(attrName) {\n return attrName in AriaAttrNameToPropNameMap;\n}\n// These attributes take either an ID or a list of IDs as values.\n// This includes aria-* attributes as well as the special non-ARIA \"for\" attribute\nexport const ID_REFERENCING_ATTRIBUTES_SET = /*@__PURE__*/ new Set([\n 'aria-activedescendant',\n 'aria-controls',\n 'aria-describedby',\n 'aria-details',\n 'aria-errormessage',\n 'aria-flowto',\n 'aria-labelledby',\n 'aria-owns',\n 'for',\n]);\nexport { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap };\n//# sourceMappingURL=aria.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\n// See browser support for globalThis:\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility\n/* istanbul ignore next */\n// @ts-ignore\nconst _globalThis = typeof globalThis === 'object' ? globalThis : window;\nexport { _globalThis as globalThis };\n//# sourceMappingURL=global-this.js.map","/*\n * Copyright (c) 2023, Salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport const KEY__SHADOW_RESOLVER = '$shadowResolver$';\nexport const KEY__SHADOW_RESOLVER_PRIVATE = '$$ShadowResolverKey$$';\nexport const KEY__SHADOW_STATIC = '$shadowStaticNode$';\nexport const KEY__SHADOW_STATIC_PRIVATE = '$shadowStaticNodeKey$';\nexport const KEY__SHADOW_TOKEN = '$shadowToken$';\nexport const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';\n// TODO [#3733]: remove support for legacy scope tokens\nexport const KEY__LEGACY_SHADOW_TOKEN = '$legacyShadowToken$';\nexport const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = '$$LegacyShadowTokenKey$$';\nexport const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';\nexport const KEY__SCOPED_CSS = '$scoped$';\nexport const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';\nexport const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';\n//# sourceMappingURL=keys.js.map","/*\n * Copyright (c) 2022, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nexport const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\nexport const XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';\nexport const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\nexport const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\nexport const XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';\n//# sourceMappingURL=namespaces.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { HTML_NAMESPACE } from './namespaces';\n// Void elements are elements that self-close even without an explicit solidus (slash),\n// e.g. `</tagName>` or `<tagName />`. For instance, `<meta>` closes on its own; no need for a slash.\n// These only come from HTML; there are no void elements in the SVG or MathML namespaces.\n// See: https://html.spec.whatwg.org/multipage/syntax.html#syntax-tags\nconst VOID_ELEMENTS = /*@__PURE__*/ [\n 'area',\n 'base',\n 'br',\n 'col',\n 'embed',\n 'hr',\n 'img',\n 'input',\n 'link',\n 'meta',\n 'source',\n 'track',\n 'wbr',\n];\n// These elements have been deprecated but preserving their usage for backwards compatibility\n// until we can officially deprecate them from LWC.\n// See: https://html.spec.whatwg.org/multipage/obsolete.html#obsolete-but-conforming-features\nconst DEPRECATED_VOID_ELEMENTS = /*@__PURE__*/ ['param', 'keygen', 'menuitem'];\nconst VOID_ELEMENTS_SET = /*@__PURE__*/ new Set([...VOID_ELEMENTS, ...DEPRECATED_VOID_ELEMENTS]);\nexport function isVoidElement(name, namespace) {\n return namespace === HTML_NAMESPACE && VOID_ELEMENTS_SET.has(name.toLowerCase());\n}\n//# sourceMappingURL=void-elements.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nimport { AriaPropNameToAttrNameMap } from './aria';\nimport { isUndefined, StringCharCodeAt, StringFromCharCode, StringReplace } from './language';\nconst CAMEL_REGEX = /-([a-z])/g;\n/**\n * Maps boolean attribute name to supported tags: 'boolean attr name' => Set of allowed tag names\n * that supports them.\n */\nconst BOOLEAN_ATTRIBUTES = /*@__PURE__@*/ new Map([\n ['autofocus', /*@__PURE__@*/ new Set(['button', 'input', 'keygen', 'select', 'textarea'])],\n ['autoplay', /*@__PURE__@*/ new Set(['audio', 'video'])],\n ['checked', /*@__PURE__@*/ new Set(['command', 'input'])],\n [\n 'disabled',\n /*@__PURE__@*/ new Set([\n 'button',\n 'command',\n 'fieldset',\n 'input',\n 'keygen',\n 'optgroup',\n 'select',\n 'textarea',\n ]),\n ],\n ['formnovalidate', /*@__PURE__@*/ new Set(['button'])],\n ['hidden', /*@__PURE__@*/ new Set()],\n ['loop', /*@__PURE__@*/ new Set(['audio', 'bgsound', 'marquee', 'video'])],\n ['multiple', /*@__PURE__@*/ new Set(['input', 'select'])],\n ['muted', /*@__PURE__@*/ new Set(['audio', 'video'])],\n ['novalidate', /*@__PURE__@*/ new Set(['form'])],\n ['open', /*@__PURE__@*/ new Set(['details'])],\n ['readonly', /*@__PURE__@*/ new Set(['input', 'textarea'])],\n ['readonly', /*@__PURE__@*/ new Set(['input', 'textarea'])],\n ['required', /*@__PURE__@*/ new Set(['input', 'select', 'textarea'])],\n ['reversed', /*@__PURE__@*/ new Set(['ol'])],\n ['selected', /*@__PURE__@*/ new Set(['option'])],\n]);\nexport function isBooleanAttribute(attrName, tagName) {\n const allowedTagNames = BOOLEAN_ATTRIBUTES.get(attrName);\n return (allowedTagNames !== undefined &&\n (allowedTagNames.size === 0 || allowedTagNames.has(tagName)));\n}\n// This list is based on https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes\nconst GLOBAL_ATTRIBUTE = /*@__PURE__*/ new Set([\n 'accesskey',\n 'autocapitalize',\n 'autofocus',\n 'class',\n 'contenteditable',\n 'contextmenu',\n 'dir',\n 'draggable',\n 'enterkeyhint',\n 'exportparts',\n 'hidden',\n 'id',\n 'inputmode',\n 'is',\n 'itemid',\n 'itemprop',\n 'itemref',\n 'itemscope',\n 'itemtype',\n 'lang',\n 'nonce',\n 'part',\n 'slot',\n 'spellcheck',\n 'style',\n 'tabindex',\n 'title',\n 'translate',\n]);\nexport function isGlobalHtmlAttribute(attrName) {\n return GLOBAL_ATTRIBUTE.has(attrName);\n}\n// These are HTML standard prop/attribute IDL mappings, but are not predictable based on camel/kebab-case conversion\nconst SPECIAL_PROPERTY_ATTRIBUTE_MAPPING = /*@__PURE__@*/ new Map([\n ['accessKey', 'accesskey'],\n ['readOnly', 'readonly'],\n ['tabIndex', 'tabindex'],\n ['bgColor', 'bgcolor'],\n ['colSpan', 'colspan'],\n ['rowSpan', 'rowspan'],\n ['contentEditable', 'contenteditable'],\n ['crossOrigin', 'crossorigin'],\n ['dateTime', 'datetime'],\n ['formAction', 'formaction'],\n ['isMap', 'ismap'],\n ['maxLength', 'maxlength'],\n ['minLength', 'minlength'],\n ['noValidate', 'novalidate'],\n ['useMap', 'usemap'],\n ['htmlFor', 'for'],\n]);\n/**\n * Map associating previously transformed HTML property into HTML attribute.\n */\nconst CACHED_PROPERTY_ATTRIBUTE_MAPPING = /*@__PURE__@*/ new Map();\nexport function htmlPropertyToAttribute(propName) {\n const ariaAttributeName = AriaPropNameToAttrNameMap[propName];\n if (!isUndefined(ariaAttributeName)) {\n return ariaAttributeName;\n }\n const specialAttributeName = SPECIAL_PROPERTY_ATTRIBUTE_MAPPING.get(propName);\n if (!isUndefined(specialAttributeName)) {\n return specialAttributeName;\n }\n const cachedAttributeName = CACHED_PROPERTY_ATTRIBUTE_MAPPING.get(propName);\n if (!isUndefined(cachedAttributeName)) {\n return cachedAttributeName;\n }\n let attributeName = '';\n for (let i = 0, len = propName.length; i < len; i++) {\n const code = StringCharCodeAt.call(propName, i);\n if (code >= 65 && // \"A\"\n code <= 90 // \"Z\"\n ) {\n attributeName += '-' + StringFromCharCode(code + 32);\n }\n else {\n attributeName += StringFromCharCode(code);\n }\n }\n CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);\n return attributeName;\n}\n/**\n * Map associating previously transformed kabab-case attributes into camel-case props.\n */\nconst CACHED_KEBAB_CAMEL_MAPPING = /*@__PURE__@*/ new Map();\nexport function kebabCaseToCamelCase(attrName) {\n let result = CACHED_KEBAB_CAMEL_MAPPING.get(attrName);\n if (isUndefined(result)) {\n result = StringReplace.call(attrName, CAMEL_REGEX, (g) => g[1].toUpperCase());\n CACHED_KEBAB_CAMEL_MAPPING.set(attrName, result);\n }\n return result;\n}\n//# sourceMappingURL=html-attributes.js.map","/*\n * Copyright (c) 2020, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\nconst ESCAPED_CHARS = {\n '\"': '&quot;',\n \"'\": '&#x27;',\n '<': '&lt;',\n '>': '&gt;',\n '&': '&amp;',\n};\nexport function htmlEscape(str, attrMode = false) {\n const searchValue = attrMode ? /[\"&]/g : /[\"'<>&]/g;\n return str.replace(searchValue, (char) => ESCAPED_CHARS[char]);\n}\n//# sourceMappingURL=html-escape.js.map","/*\n * Copyright (c) 2018, salesforce.com, inc.\n * All rights reserved.\n * SPDX-License-Identifier: MIT\n * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT\n */\n// Increment whenever the LWC template compiler changes\nexport const LWC_VERSION = process.env.LWC_VERSION;\nexport const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;\nexport const LWC_VERSION_COMMENT_REGEX = /\\/\\*LWC compiler v([\\d.]+)\\*\\/\\s*}/;\n//# sourceMappingURL=meta.js.map"],"names":["isTrue","isFalse"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE;AACtC,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,MAAM,IAAI,KAAK,CAAC,CAAC,qBAAqB,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;AACvD,KAAK;AACL,CAAC;AACM,SAASA,QAAM,CAAC,KAAK,EAAE,GAAG,EAAE;AACnC,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,MAAM,IAAI,KAAK,CAAC,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;AACpD,KAAK;AACL,CAAC;AACM,SAASC,SAAO,CAAC,KAAK,EAAE,GAAG,EAAE;AACpC,IAAI,IAAI,KAAK,EAAE;AACf,QAAQ,MAAM,IAAI,KAAK,CAAC,CAAC,kBAAkB,EAAE,GAAG,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CAAC,cAAc,EAAE,WAAW,CAAC,EAAE;AACtD,MAAC,yBAAyB,GAAG;;;;;;;"}
package/dist/keys.d.ts CHANGED
@@ -4,6 +4,8 @@ export declare const KEY__SHADOW_STATIC = "$shadowStaticNode$";
4
4
  export declare const KEY__SHADOW_STATIC_PRIVATE = "$shadowStaticNodeKey$";
5
5
  export declare const KEY__SHADOW_TOKEN = "$shadowToken$";
6
6
  export declare const KEY__SHADOW_TOKEN_PRIVATE = "$$ShadowTokenKey$$";
7
+ export declare const KEY__LEGACY_SHADOW_TOKEN = "$legacyShadowToken$";
8
+ export declare const KEY__LEGACY_SHADOW_TOKEN_PRIVATE = "$$LegacyShadowTokenKey$$";
7
9
  export declare const KEY__SYNTHETIC_MODE = "$$lwc-synthetic-mode";
8
10
  export declare const KEY__SCOPED_CSS = "$scoped$";
9
11
  export declare const KEY__NATIVE_GET_ELEMENT_BY_ID = "$nativeGetElementById$";
@@ -12,7 +12,9 @@ declare const assign: {
12
12
  [idx: string]: object | U | null | undefined;
13
13
  }, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
14
14
  <T_2>(o: T_2): Readonly<T_2>;
15
- }, getOwnPropertyDescriptor: (o: any, p: PropertyKey) => PropertyDescriptor | undefined, getOwnPropertyNames: (o: any) => string[], getPrototypeOf: (o: any) => any, hasOwnProperty: (v: PropertyKey) => boolean, isFrozen: (o: any) => boolean, keys: {
15
+ }, getOwnPropertyDescriptor: (o: any, p: PropertyKey) => PropertyDescriptor | undefined, getOwnPropertyDescriptors: <T>(o: T) => { [P in keyof T]: TypedPropertyDescriptor<T[P]>; } & {
16
+ [x: string]: PropertyDescriptor;
17
+ }, getOwnPropertyNames: (o: any) => string[], getPrototypeOf: (o: any) => any, hasOwnProperty: (v: PropertyKey) => boolean, isFrozen: (o: any) => boolean, keys: {
16
18
  (o: object): string[];
17
19
  (o: {}): string[];
18
20
  }, seal: <T>(o: T) => T, setPrototypeOf: (o: any, proto: object | null) => any;
@@ -51,7 +53,7 @@ declare const StringCharCodeAt: (index: number) => number, StringReplace: {
51
53
  [Symbol.split](string: string, limit?: number | undefined): string[];
52
54
  }, limit?: number | undefined): string[];
53
55
  }, StringSlice: (start?: number | undefined, end?: number | undefined) => string, StringToLowerCase: () => string;
54
- export { ArrayConcat, ArrayFilter, ArrayFind, ArrayFindIndex, ArrayFill, ArrayIncludes, ArrayIndexOf, ArrayCopyWithin, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, arrayEvery, assign, create, defineProperties, defineProperty, forEach, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isArray, isFrozen, keys, seal, setPrototypeOf, StringCharCodeAt, StringReplace, StringSlice, StringSplit, StringToLowerCase, StringFromCharCode, };
56
+ export { ArrayConcat, ArrayFilter, ArrayFind, ArrayFindIndex, ArrayFill, ArrayIncludes, ArrayIndexOf, ArrayCopyWithin, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, arrayEvery, assign, create, defineProperties, defineProperty, forEach, freeze, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isArray, isFrozen, keys, seal, setPrototypeOf, StringCharCodeAt, StringReplace, StringSlice, StringSplit, StringToLowerCase, StringFromCharCode, };
55
57
  export declare function isUndefined(obj: any): obj is undefined;
56
58
  export declare function isNull(obj: any): obj is null;
57
59
  export declare function isTrue(obj: any): obj is true;
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/shared",
7
- "version": "3.3.3",
7
+ "version": "3.4.0",
8
8
  "description": "Utilities and methods that are shared across packages",
9
9
  "keywords": [
10
10
  "lwc"