@stencil/core 5.0.0-alpha.2 → 5.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-DucyoZT4.mjs → client-CSm3x5ke.mjs} +81 -60
- package/dist/compiler/index.d.mts +3 -3
- package/dist/compiler/index.mjs +2 -2
- package/dist/compiler/utils/index.d.mts +2 -2
- package/dist/compiler/utils/index.mjs +3 -3
- package/dist/{compiler-DyK1_szo.mjs → compiler-D6iP7Bzb.mjs} +1390 -1631
- package/dist/declarations/stencil-public-compiler.d.ts +4031 -2
- package/dist/declarations/stencil-public-compiler.js +0 -1
- package/dist/declarations/stencil-public-docs.d.ts +494 -1
- package/dist/declarations/stencil-public-runtime.d.ts +1943 -2
- package/dist/{index-fIuYTL9f.d.mts → index-CXHCTQNt.d.mts} +14 -2
- package/dist/{index-BONzXKJt.d.ts → index-CyrGY82h.d.ts} +5 -7
- package/dist/{index-CHjZtib0.d.ts → index-hS-KBdAP.d.ts} +1 -1
- package/dist/{index-D-LlB2nw.d.mts → index-tUR6pD3J.d.mts} +145 -809
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +2 -2
- package/dist/{jsx-runtime-DBzBJLKk.d.ts → jsx-runtime-DlDkTqps.d.ts} +1 -1
- package/dist/jsx-runtime.d.ts +1 -1
- package/dist/jsx-runtime.js +1 -1
- package/dist/{node-BWBQAh8C.mjs → node-Bg-mO5dw.mjs} +3 -14
- package/dist/regular-expression-D5pGVpCu.mjs +415 -0
- package/dist/runtime/app-data/index.d.ts +1 -1
- package/dist/runtime/app-data/index.js +1 -2
- package/dist/runtime/client/index.d.ts +14 -4
- package/dist/runtime/client/index.js +103 -205
- package/dist/runtime/index.d.ts +16 -4
- package/dist/runtime/index.js +2 -2
- package/dist/runtime/server/index.d.mts +1 -3
- package/dist/runtime/server/index.mjs +103 -205
- package/dist/runtime/server/runner.d.mts +1 -17
- package/dist/runtime/server/runner.mjs +12 -394
- package/dist/{runtime-CqlPYKjW.js → runtime-BBCnuprF.js} +103 -205
- package/dist/sys/node/index.d.mts +1 -1
- package/dist/sys/node/index.mjs +1 -1
- package/dist/sys/node/worker.mjs +2 -2
- package/dist/testing/index.d.mts +3 -3
- package/dist/testing/index.mjs +18 -17
- package/dist/{validation-BR7tMYEv.mjs → validation-Byxie0Uk.mjs} +28 -24
- package/package.json +9 -13
- package/dist/serialize-o-Sj1lvg.mjs +0 -792
- package/dist/stencil-public-compiler-C_X1iolo.d.ts +0 -4455
- package/dist/stencil-public-runtime-DlV8o7-z.d.ts +0 -1845
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as CMP_FLAGS, G as LISTENER_FLAGS, K as MEMBER_FLAGS, S as queryNonceMetaTagContent, U as HOST_FLAGS, V as EVENT_FLAGS, W as HTML_NS, Y as SVG_NS, Z as WATCH_FLAGS, c as isDef, q as NODE_TYPES, s as isComplexType, t as escapeRegExpSpecialCharacters } from "./regular-expression-D5pGVpCu.mjs";
|
|
2
2
|
//#region src/app-data/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* A collection of default build flags for a Stencil project.
|
|
@@ -31,7 +31,6 @@ const BUILD = {
|
|
|
31
31
|
hostListenerTargetWindow: true,
|
|
32
32
|
hostListenerTargetDocument: true,
|
|
33
33
|
hostListenerTargetBody: true,
|
|
34
|
-
hostListenerTargetParent: false,
|
|
35
34
|
hostListenerTarget: true,
|
|
36
35
|
member: true,
|
|
37
36
|
method: true,
|
|
@@ -42,6 +41,7 @@ const BUILD = {
|
|
|
42
41
|
reflect: true,
|
|
43
42
|
scoped: true,
|
|
44
43
|
shadowDom: true,
|
|
44
|
+
shadowModeClosed: false,
|
|
45
45
|
slot: true,
|
|
46
46
|
cssAnnotations: true,
|
|
47
47
|
state: true,
|
|
@@ -90,7 +90,6 @@ const BUILD = {
|
|
|
90
90
|
initializeNextTick: false,
|
|
91
91
|
asyncLoading: true,
|
|
92
92
|
asyncQueue: false,
|
|
93
|
-
transformTagName: false,
|
|
94
93
|
attachStyles: true,
|
|
95
94
|
experimentalSlotFixes: false
|
|
96
95
|
};
|
|
@@ -329,7 +328,7 @@ const cmpModules = /* @__PURE__ */ new Map();
|
|
|
329
328
|
* where here in the source code it must be like this, so that an undesirable
|
|
330
329
|
* transformation that Esbuild would otherwise carry out doesn't occur, but we
|
|
331
330
|
* actually need to then manually edit the bundled Esbuild code later on to fix
|
|
332
|
-
* that. We do this with plugins in the Esbuild and
|
|
331
|
+
* that. We do this with plugins in the Esbuild and Rolldown bundles which
|
|
333
332
|
* include this file.
|
|
334
333
|
*/
|
|
335
334
|
const MODULE_IMPORT_PREFIX = "./";
|
|
@@ -539,12 +538,14 @@ function createStyleSheetIfNeededAndSupported(styles) {
|
|
|
539
538
|
//#region src/utils/shadow-root.ts
|
|
540
539
|
let globalStyleSheet;
|
|
541
540
|
function createShadowRoot(cmpMeta) {
|
|
542
|
-
const
|
|
541
|
+
const isClosed = BUILD.shadowModeClosed && !!(cmpMeta.$flags$ & CMP_FLAGS.shadowModeClosed);
|
|
542
|
+
const opts = { mode: isClosed ? "closed" : "open" };
|
|
543
543
|
if (BUILD.shadowDelegatesFocus) opts.delegatesFocus = !!(cmpMeta.$flags$ & CMP_FLAGS.shadowDelegatesFocus);
|
|
544
544
|
if (BUILD.shadowSlotAssignmentManual) {
|
|
545
545
|
if (!!(cmpMeta.$flags$ & CMP_FLAGS.shadowSlotAssignmentManual)) opts.slotAssignment = "manual";
|
|
546
546
|
}
|
|
547
547
|
const shadowRoot = this.attachShadow(opts);
|
|
548
|
+
if (BUILD.shadowModeClosed && isClosed) this.__shadowRoot = shadowRoot;
|
|
548
549
|
if (globalStyleSheet === void 0) globalStyleSheet = createStyleSheetIfNeededAndSupported("") ?? null;
|
|
549
550
|
if (globalStyleSheet) if (supportsMutableAdoptedStyleSheets) shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
|
|
550
551
|
else shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
|
@@ -1190,6 +1191,24 @@ function internalCall(node, method) {
|
|
|
1190
1191
|
}
|
|
1191
1192
|
}
|
|
1192
1193
|
//#endregion
|
|
1194
|
+
//#region src/runtime/element.ts
|
|
1195
|
+
const getElement = (ref) => BUILD.lazyLoad ? getHostRef(ref)?.$hostElement$ : ref;
|
|
1196
|
+
/**
|
|
1197
|
+
* Get the shadow root for a Stencil component's host element.
|
|
1198
|
+
* This works for both open and closed shadow DOM modes.
|
|
1199
|
+
*
|
|
1200
|
+
* For closed shadow DOM, `element.shadowRoot` returns `null` by design,
|
|
1201
|
+
* but Stencil stores the reference internally so components can still
|
|
1202
|
+
* access their own shadow root.
|
|
1203
|
+
*
|
|
1204
|
+
* @param element The host element (from @Element() decorator)
|
|
1205
|
+
* @returns The shadow root, or null if no shadow root exists
|
|
1206
|
+
*/
|
|
1207
|
+
const getShadowRoot = (element) => {
|
|
1208
|
+
if (BUILD.shadowModeClosed && element.__shadowRoot) return element.__shadowRoot;
|
|
1209
|
+
return element.shadowRoot;
|
|
1210
|
+
};
|
|
1211
|
+
//#endregion
|
|
1193
1212
|
//#region src/runtime/profile.ts
|
|
1194
1213
|
let i = 0;
|
|
1195
1214
|
const createTime = (fnName, tagName = "") => {
|
|
@@ -1353,7 +1372,8 @@ const addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
1353
1372
|
if (!BUILD.attachStyles || !win.document) return scopeId;
|
|
1354
1373
|
let style = styles.get(scopeId);
|
|
1355
1374
|
if (cmpMeta.$flags$ & CMP_FLAGS.hasSlotRelocation) style = getStyleWithSlotCss(style);
|
|
1356
|
-
|
|
1375
|
+
const isClosedShadowSSR = BUILD.hydrateServerSide && BUILD.shadowModeClosed && cmpMeta.$flags$ & CMP_FLAGS.shadowNeedsScopedCss && cmpMeta.$flags$ & CMP_FLAGS.shadowModeClosed;
|
|
1376
|
+
if (styleContainerNode.nodeType !== NODE_TYPE.DocumentFragment && !isClosedShadowSSR) styleContainerNode = win.document;
|
|
1357
1377
|
if (style) {
|
|
1358
1378
|
if (typeof style === "string") {
|
|
1359
1379
|
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
@@ -1403,7 +1423,8 @@ const addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
1403
1423
|
/**
|
|
1404
1424
|
* attach styles at the beginning of a shadow root node if we render shadow components
|
|
1405
1425
|
*/
|
|
1406
|
-
if (cmpMeta.$flags$ & CMP_FLAGS.shadowDomEncapsulation) styleContainerNode.
|
|
1426
|
+
if (cmpMeta.$flags$ & CMP_FLAGS.shadowDomEncapsulation) if (isClosedShadowSSR) styleContainerNode.prepend(styleElm);
|
|
1427
|
+
else styleContainerNode.insertBefore(styleElm, null);
|
|
1407
1428
|
if (appliedStyles) appliedStyles.add(scopeId);
|
|
1408
1429
|
}
|
|
1409
1430
|
} else if (BUILD.constructableCSS) {
|
|
@@ -1438,7 +1459,12 @@ const attachStyles = (hostRef) => {
|
|
|
1438
1459
|
const elm = hostRef.$hostElement$;
|
|
1439
1460
|
const flags = cmpMeta.$flags$;
|
|
1440
1461
|
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
1441
|
-
|
|
1462
|
+
let styleContainerNode;
|
|
1463
|
+
const shadowRoot = BUILD.shadowDom && supportsShadow ? getShadowRoot(elm) : null;
|
|
1464
|
+
if (shadowRoot) styleContainerNode = shadowRoot;
|
|
1465
|
+
else if (BUILD.hydrateServerSide && BUILD.shadowModeClosed && flags & CMP_FLAGS.shadowNeedsScopedCss && flags & CMP_FLAGS.shadowModeClosed) styleContainerNode = elm;
|
|
1466
|
+
else styleContainerNode = elm.getRootNode();
|
|
1467
|
+
const scopeId = addStyle(styleContainerNode, cmpMeta, hostRef.$modeName$);
|
|
1442
1468
|
if ((BUILD.shadowDom || BUILD.scoped) && BUILD.cssAnnotations && flags & CMP_FLAGS.needsScopedEncapsulation) {
|
|
1443
1469
|
elm["s-sc"] = scopeId;
|
|
1444
1470
|
elm.classList.add(scopeId + "-h");
|
|
@@ -1656,7 +1682,7 @@ const validateInputProperties = (inputElm) => {
|
|
|
1656
1682
|
*/
|
|
1657
1683
|
const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
1658
1684
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
1659
|
-
const shadowRoot = hostElm
|
|
1685
|
+
const shadowRoot = getShadowRoot(hostElm);
|
|
1660
1686
|
const childRenderNodes = [];
|
|
1661
1687
|
const slotNodes = [];
|
|
1662
1688
|
const slottedNodes = [];
|
|
@@ -1737,7 +1763,7 @@ const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1737
1763
|
}
|
|
1738
1764
|
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"] || currentPos);
|
|
1739
1765
|
if (slottedItem.node.parentElement?.shadowRoot && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) slottedItem.node.removeAttribute("slot");
|
|
1740
|
-
if (BUILD.experimentalSlotFixes) patchSlottedNode(slottedItem.node);
|
|
1766
|
+
if (BUILD.experimentalSlotFixes || BUILD.patchAll && hostRef.$cmpMeta$.$flags$ & CMP_FLAGS.patchAll) patchSlottedNode(slottedItem.node);
|
|
1741
1767
|
}
|
|
1742
1768
|
currentPos = (slottedItem.node["s-oo"] || currentPos) + 1;
|
|
1743
1769
|
}
|
|
@@ -2048,9 +2074,12 @@ const _polyfillHost = "-shadowcsshost";
|
|
|
2048
2074
|
const _polyfillSlotted = "-shadowcssslotted";
|
|
2049
2075
|
const _polyfillHostContext = "-shadowcsscontext";
|
|
2050
2076
|
const _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2077
|
+
let _cssColonHostRe;
|
|
2078
|
+
let _cssColonHostContextRe;
|
|
2079
|
+
let _cssColonSlottedRe;
|
|
2080
|
+
const getCssColonHostRe = () => _cssColonHostRe ??= new RegExp("(" + _polyfillHost + _parenSuffix, "gim");
|
|
2081
|
+
const getCssColonHostContextRe = () => _cssColonHostContextRe ??= new RegExp("(" + _polyfillHostContext + _parenSuffix, "gim");
|
|
2082
|
+
const getCssColonSlottedRe = () => _cssColonSlottedRe ??= new RegExp("(" + _polyfillSlotted + _parenSuffix, "gim");
|
|
2054
2083
|
const _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
2055
2084
|
const _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
2056
2085
|
const _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
|
|
@@ -2210,7 +2239,7 @@ const colonHostPartReplacer = (host, part, suffix) => {
|
|
|
2210
2239
|
return host + part.replace(_polyfillHost, "") + suffix;
|
|
2211
2240
|
};
|
|
2212
2241
|
const convertColonHost = (cssText) => {
|
|
2213
|
-
return convertColonRule(cssText,
|
|
2242
|
+
return convertColonRule(cssText, getCssColonHostRe(), colonHostPartReplacer);
|
|
2214
2243
|
};
|
|
2215
2244
|
const colonHostContextPartReplacer = (host, part, suffix) => {
|
|
2216
2245
|
if (part.indexOf(_polyfillHost) > -1) return colonHostPartReplacer(host, part, suffix);
|
|
@@ -2219,7 +2248,7 @@ const colonHostContextPartReplacer = (host, part, suffix) => {
|
|
|
2219
2248
|
const convertColonSlotted = (cssText, slotScopeId) => {
|
|
2220
2249
|
const slotClass = "." + slotScopeId + " > ";
|
|
2221
2250
|
const selectors = [];
|
|
2222
|
-
cssText = cssText.replace(
|
|
2251
|
+
cssText = cssText.replace(getCssColonSlottedRe(), (...m) => {
|
|
2223
2252
|
if (m[2]) {
|
|
2224
2253
|
const compound = m[2].trim();
|
|
2225
2254
|
const suffix = m[3];
|
|
@@ -2248,7 +2277,7 @@ const convertColonSlotted = (cssText, slotScopeId) => {
|
|
|
2248
2277
|
};
|
|
2249
2278
|
};
|
|
2250
2279
|
const convertColonHostContext = (cssText) => {
|
|
2251
|
-
return convertColonRule(cssText,
|
|
2280
|
+
return convertColonRule(cssText, getCssColonHostContextRe(), colonHostContextPartReplacer);
|
|
2252
2281
|
};
|
|
2253
2282
|
const convertShadowDOMSelectors = (cssText) => {
|
|
2254
2283
|
return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, " "), cssText);
|
|
@@ -2463,14 +2492,6 @@ const getMode = (ref) => getHostRef(ref)?.$modeName$;
|
|
|
2463
2492
|
* @returns the parsed/coerced value
|
|
2464
2493
|
*/
|
|
2465
2494
|
const parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
2466
|
-
/**
|
|
2467
|
-
* Allow hydrate parameters that contain a complex non-serialized values.
|
|
2468
|
-
* This is SSR-specific and should only run during hydration.
|
|
2469
|
-
*/
|
|
2470
|
-
if ((BUILD.hydrateClientSide || BUILD.hydrateServerSide) && typeof propValue === "string" && propValue.startsWith("serialized:")) {
|
|
2471
|
-
propValue = deserializeProperty(propValue);
|
|
2472
|
-
return propValue;
|
|
2473
|
-
}
|
|
2474
2495
|
if (propValue != null && !isComplexType(propValue)) {
|
|
2475
2496
|
/**
|
|
2476
2497
|
* ensure this value is of the correct prop type
|
|
@@ -2499,9 +2520,6 @@ const parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
|
2499
2520
|
return propValue;
|
|
2500
2521
|
};
|
|
2501
2522
|
//#endregion
|
|
2502
|
-
//#region src/runtime/element.ts
|
|
2503
|
-
const getElement = (ref) => BUILD.lazyLoad ? getHostRef(ref)?.$hostElement$ : ref;
|
|
2504
|
-
//#endregion
|
|
2505
2523
|
//#region src/runtime/event-emitter.ts
|
|
2506
2524
|
const createEvent = (ref, name, flags) => {
|
|
2507
2525
|
const elm = getElement(ref);
|
|
@@ -2854,7 +2872,10 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
2854
2872
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
2855
2873
|
let containerElm = BUILD.slotRelocation && parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
|
|
2856
2874
|
let childNode;
|
|
2857
|
-
if (BUILD.shadowDom && containerElm.
|
|
2875
|
+
if (BUILD.shadowDom && containerElm.tagName === hostTagName) {
|
|
2876
|
+
const shadow = getShadowRoot(containerElm);
|
|
2877
|
+
if (shadow) containerElm = shadow;
|
|
2878
|
+
}
|
|
2858
2879
|
if (parentVNode.$tag$ === "template") containerElm = containerElm.content;
|
|
2859
2880
|
for (; startIdx <= endIdx; ++startIdx) if (vnodes[startIdx]) {
|
|
2860
2881
|
childNode = createElm(null, parentVNode, startIdx);
|
|
@@ -3204,7 +3225,8 @@ const insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
|
3204
3225
|
if (BUILD.slotRelocation) {
|
|
3205
3226
|
if (BUILD.scoped && typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
|
|
3206
3227
|
else if (typeof newNode["s-sn"] === "string") {
|
|
3207
|
-
|
|
3228
|
+
const hostElm = newNode["s-hn"] && parent.closest?.(newNode["s-hn"]);
|
|
3229
|
+
if ((BUILD.experimentalSlotFixes || BUILD.patchAll && !!(hostElm && getHostRef(hostElm)?.$cmpMeta$.$flags$ & CMP_FLAGS.patchAll)) && parent.getRootNode().nodeType !== NODE_TYPES.DOCUMENT_FRAGMENT_NODE) patchParentNode(newNode);
|
|
3208
3230
|
parent.insertBefore(newNode, reference);
|
|
3209
3231
|
const { slotNode } = findSlotFromSlottedNode(newNode);
|
|
3210
3232
|
if (slotNode && !isInitialLoad) dispatchSlotChangeEvent(slotNode);
|
|
@@ -3293,7 +3315,7 @@ render() {
|
|
|
3293
3315
|
rootVnode.$tag$ = null;
|
|
3294
3316
|
rootVnode.$flags$ |= VNODE_FLAGS.isHost;
|
|
3295
3317
|
hostRef.$vnode$ = rootVnode;
|
|
3296
|
-
rootVnode.$elm$ = oldVNode.$elm$ = BUILD.shadowDom ? hostElm
|
|
3318
|
+
rootVnode.$elm$ = oldVNode.$elm$ = BUILD.shadowDom ? getShadowRoot(hostElm) || hostElm : hostElm;
|
|
3297
3319
|
if (BUILD.scoped || BUILD.shadowDom) scopeId = hostElm["s-sc"];
|
|
3298
3320
|
useNativeShadowDom = supportsShadow && !!(cmpMeta.$flags$ & CMP_FLAGS.shadowDomEncapsulation) && !(cmpMeta.$flags$ & CMP_FLAGS.shadowNeedsScopedCss);
|
|
3299
3321
|
if (BUILD.slotRelocation) {
|
|
@@ -3448,13 +3470,13 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
3448
3470
|
}
|
|
3449
3471
|
if (hostRef.$fetchedCbList$.length) hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
|
|
3450
3472
|
}
|
|
3451
|
-
emitLifecycleEvent(elm, "componentWillLoad");
|
|
3473
|
+
if (BUILD.lifecycleDOMEvents) emitLifecycleEvent(elm, "componentWillLoad");
|
|
3452
3474
|
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
3453
3475
|
} else {
|
|
3454
|
-
emitLifecycleEvent(elm, "componentWillUpdate");
|
|
3476
|
+
if (BUILD.lifecycleDOMEvents) emitLifecycleEvent(elm, "componentWillUpdate");
|
|
3455
3477
|
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
|
3456
3478
|
}
|
|
3457
|
-
emitLifecycleEvent(elm, "componentWillRender");
|
|
3479
|
+
if (BUILD.lifecycleDOMEvents) emitLifecycleEvent(elm, "componentWillRender");
|
|
3458
3480
|
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
|
|
3459
3481
|
endSchedule();
|
|
3460
3482
|
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
@@ -3589,14 +3611,14 @@ const postUpdateComponent = (hostRef) => {
|
|
|
3589
3611
|
if (BUILD.isDev) hostRef.$flags$ |= HOST_FLAGS.devOnRender;
|
|
3590
3612
|
safeCall(instance, "componentDidRender", void 0, elm);
|
|
3591
3613
|
if (BUILD.isDev) hostRef.$flags$ &= ~HOST_FLAGS.devOnRender;
|
|
3592
|
-
emitLifecycleEvent(elm, "componentDidRender");
|
|
3614
|
+
if (BUILD.lifecycleDOMEvents) emitLifecycleEvent(elm, "componentDidRender");
|
|
3593
3615
|
if (!(hostRef.$flags$ & HOST_FLAGS.hasLoadedComponent)) {
|
|
3594
3616
|
hostRef.$flags$ |= HOST_FLAGS.hasLoadedComponent;
|
|
3595
3617
|
if (BUILD.asyncLoading && BUILD.cssAnnotations) addHydratedFlag(elm);
|
|
3596
3618
|
if (BUILD.isDev) hostRef.$flags$ |= HOST_FLAGS.devOnDidLoad;
|
|
3597
3619
|
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
3598
3620
|
if (BUILD.isDev) hostRef.$flags$ &= ~HOST_FLAGS.devOnDidLoad;
|
|
3599
|
-
emitLifecycleEvent(elm, "componentDidLoad");
|
|
3621
|
+
if (BUILD.lifecycleDOMEvents) emitLifecycleEvent(elm, "componentDidLoad");
|
|
3600
3622
|
if (BUILD.propChangeCallback) hostRef.$flags$ |= HOST_FLAGS.isWatchReady;
|
|
3601
3623
|
endPostUpdate();
|
|
3602
3624
|
if (BUILD.asyncLoading) {
|
|
@@ -3607,7 +3629,7 @@ const postUpdateComponent = (hostRef) => {
|
|
|
3607
3629
|
if (BUILD.isDev) hostRef.$flags$ |= HOST_FLAGS.devOnRender;
|
|
3608
3630
|
safeCall(instance, "componentDidUpdate", void 0, elm);
|
|
3609
3631
|
if (BUILD.isDev) hostRef.$flags$ &= ~HOST_FLAGS.devOnRender;
|
|
3610
|
-
emitLifecycleEvent(elm, "componentDidUpdate");
|
|
3632
|
+
if (BUILD.lifecycleDOMEvents) emitLifecycleEvent(elm, "componentDidUpdate");
|
|
3611
3633
|
endPostUpdate();
|
|
3612
3634
|
}
|
|
3613
3635
|
if (BUILD.method && BUILD.lazyLoad) hostRef.$onInstanceResolve$(elm);
|
|
@@ -4030,7 +4052,6 @@ const connectedCallback = (elm) => {
|
|
|
4030
4052
|
if (!hostRef) return;
|
|
4031
4053
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
4032
4054
|
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
|
4033
|
-
if (BUILD.hostListenerTargetParent) addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, true);
|
|
4034
4055
|
if (!(hostRef.$flags$ & HOST_FLAGS.hasConnected)) {
|
|
4035
4056
|
hostRef.$flags$ |= HOST_FLAGS.hasConnected;
|
|
4036
4057
|
let hostId;
|
|
@@ -4038,7 +4059,8 @@ const connectedCallback = (elm) => {
|
|
|
4038
4059
|
hostId = elm.getAttribute(HYDRATE_ID);
|
|
4039
4060
|
if (hostId) {
|
|
4040
4061
|
if (BUILD.shadowDom && supportsShadow && cmpMeta.$flags$ & CMP_FLAGS.shadowDomEncapsulation) {
|
|
4041
|
-
const
|
|
4062
|
+
const shadowRoot = getShadowRoot(elm);
|
|
4063
|
+
const scopeId = BUILD.mode ? addStyle(shadowRoot, cmpMeta, elm.getAttribute("s-mode")) : addStyle(shadowRoot, cmpMeta);
|
|
4042
4064
|
elm.classList.remove(scopeId + "-h", scopeId + "-s");
|
|
4043
4065
|
} else if (BUILD.scoped && cmpMeta.$flags$ & CMP_FLAGS.scopedCssEncapsulation) elm["s-sc"] = getScopeId(cmpMeta, BUILD.mode ? elm.getAttribute("s-mode") : void 0);
|
|
4044
4066
|
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
@@ -4077,7 +4099,7 @@ const connectedCallback = (elm) => {
|
|
|
4077
4099
|
if (BUILD.initializeNextTick) nextTick(() => initializeComponent(elm, hostRef, cmpMeta));
|
|
4078
4100
|
else initializeComponent(elm, hostRef, cmpMeta);
|
|
4079
4101
|
} else {
|
|
4080
|
-
addHostEventListeners(elm, hostRef, cmpMeta.$listeners
|
|
4102
|
+
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
4081
4103
|
if (hostRef?.$lazyInstance$) fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
4082
4104
|
else if (hostRef?.$onReadyPromise$) hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
|
4083
4105
|
}
|
|
@@ -4179,7 +4201,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4179
4201
|
cmpMeta.$deserializers$ = compactMeta[6] ?? {};
|
|
4180
4202
|
}
|
|
4181
4203
|
if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & CMP_FLAGS.shadowDomEncapsulation) cmpMeta.$flags$ |= CMP_FLAGS.needsShadowDomShim;
|
|
4182
|
-
const tagName =
|
|
4204
|
+
const tagName = transformTag(cmpMeta.$tagName$);
|
|
4183
4205
|
const HostElement = class extends HTMLElement {
|
|
4184
4206
|
["s-p"];
|
|
4185
4207
|
["s-rc"];
|
|
@@ -4206,7 +4228,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4206
4228
|
*/
|
|
4207
4229
|
if (!this.hasRegisteredEventListeners) {
|
|
4208
4230
|
this.hasRegisteredEventListeners = true;
|
|
4209
|
-
addHostEventListeners(this, hostRef, cmpMeta.$listeners
|
|
4231
|
+
addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
|
|
4210
4232
|
}
|
|
4211
4233
|
if (appLoadFallback) {
|
|
4212
4234
|
clearTimeout(appLoadFallback);
|
|
@@ -4238,14 +4260,18 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4238
4260
|
return getHostRef(this)?.$onReadyPromise$;
|
|
4239
4261
|
}
|
|
4240
4262
|
};
|
|
4241
|
-
if (!(cmpMeta.$flags$ & CMP_FLAGS.shadowDomEncapsulation) && cmpMeta.$flags$ & CMP_FLAGS.hasSlot) if (BUILD.experimentalSlotFixes) patchPseudoShadowDom(HostElement.prototype);
|
|
4263
|
+
if (!(cmpMeta.$flags$ & CMP_FLAGS.shadowDomEncapsulation) && cmpMeta.$flags$ & CMP_FLAGS.hasSlot) if (BUILD.experimentalSlotFixes || BUILD.patchAll && cmpMeta.$flags$ & CMP_FLAGS.patchAll) patchPseudoShadowDom(HostElement.prototype);
|
|
4242
4264
|
else {
|
|
4243
|
-
if (BUILD.slotChildNodesFix) patchChildSlotNodes(HostElement.prototype);
|
|
4244
|
-
if (BUILD.cloneNodeFix) patchCloneNode(HostElement.prototype);
|
|
4245
|
-
if (BUILD.appendChildSlotFix
|
|
4265
|
+
if (BUILD.slotChildNodesFix || BUILD.patchChildren && cmpMeta.$flags$ & CMP_FLAGS.patchChildren) patchChildSlotNodes(HostElement.prototype);
|
|
4266
|
+
if (BUILD.cloneNodeFix || BUILD.patchClone && cmpMeta.$flags$ & CMP_FLAGS.patchClone) patchCloneNode(HostElement.prototype);
|
|
4267
|
+
if (BUILD.appendChildSlotFix || BUILD.patchInsert && cmpMeta.$flags$ & CMP_FLAGS.patchInsert) {
|
|
4268
|
+
patchSlotAppendChild(HostElement.prototype);
|
|
4269
|
+
patchInsertBefore(HostElement.prototype);
|
|
4270
|
+
patchSlotRemoveChild(HostElement.prototype);
|
|
4271
|
+
}
|
|
4246
4272
|
if (BUILD.scopedSlotTextContentFix && cmpMeta.$flags$ & CMP_FLAGS.scopedCssEncapsulation) patchTextContent(HostElement.prototype);
|
|
4247
4273
|
}
|
|
4248
|
-
else if (BUILD.cloneNodeFix) patchCloneNode(HostElement.prototype);
|
|
4274
|
+
else if (BUILD.cloneNodeFix || BUILD.patchClone && cmpMeta.$flags$ & CMP_FLAGS.patchClone) patchCloneNode(HostElement.prototype);
|
|
4249
4275
|
if (BUILD.formAssociated && cmpMeta.$flags$ & CMP_FLAGS.formAssociated) HostElement.formAssociated = true;
|
|
4250
4276
|
if (BUILD.hotModuleReplacement) HostElement.prototype["s-hmr"] = function(hmrVersionId) {
|
|
4251
4277
|
hmrStart(this, cmpMeta, hmrVersionId);
|
|
@@ -4277,18 +4303,14 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4277
4303
|
const Fragment = (_, children) => children;
|
|
4278
4304
|
//#endregion
|
|
4279
4305
|
//#region src/runtime/host-listener.ts
|
|
4280
|
-
const addHostEventListeners = (elm, hostRef, listeners
|
|
4281
|
-
if (BUILD.hostListener && listeners && win.document) {
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
plt.ael(target, name, handler, opts);
|
|
4289
|
-
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
4290
|
-
});
|
|
4291
|
-
}
|
|
4306
|
+
const addHostEventListeners = (elm, hostRef, listeners) => {
|
|
4307
|
+
if (BUILD.hostListener && listeners && win.document) listeners.map(([flags, name, method]) => {
|
|
4308
|
+
const target = BUILD.hostListenerTarget ? getHostListenerTarget(win.document, elm, flags) : elm;
|
|
4309
|
+
const handler = hostListenerProxy(hostRef, method);
|
|
4310
|
+
const opts = hostListenerOpts(flags);
|
|
4311
|
+
plt.ael(target, name, handler, opts);
|
|
4312
|
+
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
4313
|
+
});
|
|
4292
4314
|
};
|
|
4293
4315
|
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
4294
4316
|
try {
|
|
@@ -4303,7 +4325,6 @@ const getHostListenerTarget = (doc, elm, flags) => {
|
|
|
4303
4325
|
if (BUILD.hostListenerTargetDocument && flags & LISTENER_FLAGS.TargetDocument) return doc;
|
|
4304
4326
|
if (BUILD.hostListenerTargetWindow && flags & LISTENER_FLAGS.TargetWindow) return win;
|
|
4305
4327
|
if (BUILD.hostListenerTargetBody && flags & LISTENER_FLAGS.TargetBody) return doc.body;
|
|
4306
|
-
if (BUILD.hostListenerTargetParent && flags & LISTENER_FLAGS.TargetParent && elm.parentElement) return elm.parentElement;
|
|
4307
4328
|
return elm;
|
|
4308
4329
|
};
|
|
4309
4330
|
const hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
@@ -4521,4 +4542,4 @@ const insertChildVNodeAnnotations = (doc, vnodeChild, cmpData, hostId, depth, in
|
|
|
4521
4542
|
}
|
|
4522
4543
|
};
|
|
4523
4544
|
//#endregion
|
|
4524
|
-
export {
|
|
4545
|
+
export { Element$1 as A, BUILD as B, setPlatformHelpers as C, AttachInternals as D, reWireGetterSetter as E, PropSerialize as F, State as I, Watch as L, Listen as M, Method as N, AttrDeserialize as O, Prop as P, resolveVar as R, writeTask as S, setErrorHandler as T, Env as V, getElement as _, Mixin as a, setAssetPath as b, forceUpdate as c, createEvent as d, getMode as f, h as g, Host as h, render as i, Event as j, Component as k, getRenderingRef as l, scopeCss as m, setTagTransformer as n, Fragment as o, setMode as p, transformTag as r, bootstrapLazy as s, insertVdomAnnotations as t, renderVdom as u, getShadowRoot as v, HYDRATED_CSS as w, readTask as x, getAssetPath as y, Build as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as ComponentCompilerVirtualProperty, $i as
|
|
1
|
+
import { $ as ComponentCompilerVirtualProperty, $i as TranspileOptions, $n as CompilerEventBuildFinish, $r as LoggerLineUpdater, $t as PluginTransformResults, A as CompilerStyleDoc, Aa as StyleDoc, Ai as PrerenderConfig, An as UpdatedLazyBuildCtx, Ar as CopyResults, At as HydrateResults, B as ComponentCompilerMeta, Bi as RolldownInputOptions, Bn as BuildNoChangeResults, Br as FsWatchResults, Bt as ModuleFormat, C as CompilerBuildStatBundle, Ca as JsonDocsProp, Ci as OutputTargetDocsVscode, Cn as TransformCssToEsmInput, Cr as CompilerSystemRenameResults, Ct as ExternalStyleCompiler, D as CompilerJsDoc, Da as JsonDocsTypeLibrary, Di as PageReloadStrategy, Dn as TypesImportData, Dr as Config, Dt as HydrateComponent, E as CompilerCtx, Ea as JsonDocsTag, Ei as OutputTargetWww, En as TypeInfo, Er as CompilerWatcher, Et as HydrateAnchorElement, F as ComponentCompilerData, Fi as ResolveModuleIdResults, Fn as WorkerMsgHandler, Fr as DevServer, Ft as JSDocTagInfo, G as ComponentCompilerPropertyType, Gi as SitemapXmpOpts, Gn as CacheStorage, Gr as HydrateFactoryOptions, Gt as NodeMap, H as ComponentCompilerMethodComplexType, Hi as RolldownOutputOptions, Hn as BuildOnEvents, Hr as HmrStyleUpdate, Ht as MsgFromWorker, I as ComponentCompilerEvent, Ii as ResolveModuleOptions, In as AutoprefixerOptions, Ir as DevServerConfig, It as JsDoc, J as ComponentCompilerStaticEvent, Ji as StencilDevServerConfig, Jn as CompileTarget, Jr as LazyRequire, Jt as ParsedImport, K as ComponentCompilerReferencedType, Ki as SitemapXmpResults, Kn as CliInitOptions, Kr as HydratedFlag, Kt as OptimizeJsResult, L as ComponentCompilerEventComplexType, Li as RobotsTxtOpts, Ln as BuildEmitEvents, Lr as DevServerEditor, Lt as LazyBundleRuntimeData, M as CompilerWorkerTask, Mi as PrerenderResults, Mn as ValidateTypesResults, Mr as Credentials, Mt as HydrateStaticData, N as ComponentCompilerChangeHandler, Ni as PrerenderStartOptions, Nn as Workbox, Nr as CustomElementsExportBehavior, Nt as HydrateStyleElement, O as CompilerJsDocTagInfo, Oa as JsonDocsUsage, Oi as ParsedPath, On as TypesMemberNameData, Or as ConfigBundle, Ot as HydrateElement, P as ComponentCompilerCustomState, Pi as ResolveModuleIdOptions, Pn as WorkerContextMethod, Pr as CustomElementsExportBehaviorOptions, Pt as ImportData, Q as ComponentCompilerTypeReferences, Qi as TranspileOnlyResults, Qn as CompilerDependency, Qr as Logger, Qt as PluginCtx, R as ComponentCompilerFeatures, Ri as RobotsTxtResults, Rn as BuildEvents, Rr as Diagnostic, Rt as LazyBundlesRuntimeData, S as CompilerAssetDir, Sa as JsonDocsPart, Si as OutputTargetDocsReadme, Sn as StyleMap, Sr as CompilerSystemRemoveFileResults, St as EventInitDict, T as CompilerBuildStats, Ta as JsonDocsStyle, Ti as OutputTargetStats, Tn as TranspileModuleResults, Tr as CompilerSystemWriteFileResults, Tt as HostRef, U as ComponentCompilerProperty, Ui as SerializeDocumentOptions, Un as BuildOutput, Ur as HotModuleReplacement, Ut as MsgToWorker, V as ComponentCompilerMethod, Vi as RolldownInterface, Vn as BuildOnEventRemove, Vr as HistoryApiFallback, Vt as ModuleMap, W as ComponentCompilerPropertyComplexType, Wi as ServiceWorkerConfig, Wn as BuildResultsComponentGraph, Wr as HydrateDocumentOptions, Wt as NewSpecPageOptions, X as ComponentCompilerStaticProperty, Xi as SystemDetails, Xn as CompilerBuildResults, Xr as LoadConfigResults, Xt as PlatformRuntime, Y as ComponentCompilerStaticMethod, Yi as StencilDocsConfig, Yn as Compiler, Yr as LoadConfigInit, Yt as PatchedSlotNode, Z as ComponentCompilerTypeReference, Zi as TransformOptions, Zn as CompilerBuildStart, Zr as LogLevel, Zt as Plugin, _ as CollectionCompilerVersion, _a as JsonDocsDependencyGraph, _i as OutputTargetDistLazyLoader, _n as SourceMap, _r as CompilerSystemCreateDirectoryOptions, _t as CssImportData, a as BuildCtx, aa as WorkerOptions, ai as OptimizeJsOutput, an as PropsType, ar as CompilerEventFileAdd, at as ComponentConstructorProperties, b as CollectionDependencyManifest, ba as JsonDocsMethod, bi as OutputTargetDocsCustomElementsManifest, bn as StencilDocument, br as CompilerSystemRemoveDirectoryOptions, bt as Encapsulation, c as BuildStyleUpdate, ci as OutputTargetBaseNext, cn as RolldownChunkResult, cr as CompilerEventFsChange, ct as ComponentNativeConstructor, d as BundleModuleOutput, di as OutputTargetCustom, dn as RolldownResults, dr as CompilerFileWatcherCallback, dt as ComponentRuntimeMember, ea as TranspileResults, ei as LoggerTimeSpan, en as PluginTransformationDescriptor, er as CompilerEventBuildLog, et as ComponentConstructor, f as Cache, fi as OutputTargetDist, fn as RolldownSourceMap, fr as CompilerFileWatcherEvent, ft as ComponentRuntimeMembers, g as CollectionCompilerMeta, ga as JsonDocsCustomState, gi as OutputTargetDistLazy, gn as SerializedEvent, gr as CompilerSystem, gt as ComponentTestingConstructor, h as CollectionCompiler, ha as JsonDocsComponent, hi as OutputTargetDistGlobalStyles, hn as SerializeImportData, hr as CompilerRequestResponse, ht as ComponentRuntimeReflectingAttr, i as BuildConditionals, ia as WorkerMainController, ii as OptimizeJsInput, in as PrintLine, ir as CompilerEventDirDelete, it as ComponentConstructorListener, j as CompilerWorkerContext, ja as FsWriteResults, ji as PrerenderHydrateOptions, jn as VNodeProdData, jr as CopyTask, jt as HydrateScriptElement, k as CompilerModeStyles, ka as JsonDocsValue, ki as PlatformPath, kn as TypesModule, kr as ConfigExtras, kt as HydrateImgElement, l as BuildTask, li as OutputTargetBuild, ln as RolldownResult, lr as CompilerEventName, lt as ComponentPatches, m as CollectionBundleManifest, ma as JsonDocs, mi as OutputTargetDistCustomElements, mn as RuntimeRef, mr as CompilerRequest, mt as ComponentRuntimeMetaCompact, n as AssetsMeta, na as ValidatedConfig, ni as OptimizeCssInput, nn as PrerenderUrlRequest, nr as CompilerEventBuildStart, nt as ComponentConstructorEncapsulation, o as BuildFeatures, oi as OutputTarget, on as RenderNode, or as CompilerEventFileDelete, ot as ComponentConstructorProperty, p as ChildType, pa as JsonDocMethodParameter, pi as OutputTargetDistCollection, pn as RootAppliedStyleMap, pr as CompilerFsStats, pt as ComponentRuntimeMeta, q as ComponentCompilerState, qi as StencilConfig, qn as CompileScriptMinifyOptions, qr as LOG_LEVELS, qt as PackageJsonData, r as BuildComponent, ra as WatcherCloseResults, ri as OptimizeCssOutput, rn as PrerenderUrlResults, rr as CompilerEventDirAdd, rt as ComponentConstructorEvent, s as BuildSourceGraph, si as OutputTargetBase, sn as RolldownAssetResult, sr as CompilerEventFileUpdate, st as ComponentConstructorPropertyType, t as AnyHTMLElement, ta as UnvalidatedConfig, ti as NodeResolveConfig, tn as PrerenderManager, tr as CompilerEventBuildNoChange, tt as ComponentConstructorChangeHandlers, u as BundleModule, ui as OutputTargetCopy, un as RolldownResultModule, ur as CompilerFileWatcher, ut as ComponentRuntimeHostListener, v as CollectionComponentEntryPath, va as JsonDocsEvent, vi as OutputTargetDistTypes, vn as SourceTarget, vr as CompilerSystemCreateDirectoryResults, vt as CssToEsmImportData, w as CompilerBuildStatCollection, wa as JsonDocsSlot, wi as OutputTargetHydrate, wn as TransformCssToEsmOutput, wr as CompilerSystemRenamedPath, wt as HostElement, x as CollectionManifest, xa as JsonDocsMethodReturn, xi as OutputTargetDocsJson, xn as StyleCompiler, xr as CompilerSystemRemoveDirectoryResults, xt as EntryModule, y as CollectionDependencyData, ya as JsonDocsListener, yi as OutputTargetDocsCustom, yn as SpecPage, yr as CompilerSystemRealpathResults, yt as DocData, z as ComponentCompilerListener, zi as RolldownConfig, zn as BuildLog, zr as EligiblePrimaryPackageOutputTarget, zt as Module } from "../index-tUR6pD3J.mjs";
|
|
2
2
|
import ts from "typescript";
|
|
3
3
|
|
|
4
4
|
//#region src/version.d.ts
|
|
@@ -12,7 +12,7 @@ declare const vermoji: string;
|
|
|
12
12
|
declare const versions: {
|
|
13
13
|
readonly stencil: string;
|
|
14
14
|
readonly typescript: string;
|
|
15
|
-
readonly
|
|
15
|
+
readonly rolldown: string;
|
|
16
16
|
readonly terser: string;
|
|
17
17
|
};
|
|
18
18
|
//#endregion
|
|
@@ -189,4 +189,4 @@ type ConfigValidationResults = {
|
|
|
189
189
|
*/
|
|
190
190
|
declare const validateConfig: (userConfig: UnvalidatedConfig, bootstrapConfig: LoadConfigInit) => ConfigValidationResults;
|
|
191
191
|
//#endregion
|
|
192
|
-
export { AnyHTMLElement, AssetsMeta, AutoprefixerOptions, BuildComponent, BuildConditionals, BuildCtx, BuildEmitEvents, BuildEvents, BuildFeatures, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildResultsComponentGraph, BuildSourceGraph, BuildStyleUpdate, BuildTask, BundleModule, BundleModuleOutput,
|
|
192
|
+
export { AnyHTMLElement, AssetsMeta, AutoprefixerOptions, BuildComponent, BuildConditionals, BuildCtx, BuildEmitEvents, BuildEvents, BuildFeatures, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildResultsComponentGraph, BuildSourceGraph, BuildStyleUpdate, BuildTask, BundleModule, BundleModuleOutput, Cache, CacheStorage, ChildType, CliInitOptions, CollectionBundleManifest, CollectionCompiler, CollectionCompilerMeta, CollectionCompilerVersion, CollectionComponentEntryPath, CollectionDependencyData, CollectionDependencyManifest, CollectionManifest, CompileScriptMinifyOptions, CompileTarget, Compiler, CompilerAssetDir, CompilerBuildResults, CompilerBuildStart, CompilerBuildStatBundle, CompilerBuildStatCollection, CompilerBuildStats, CompilerCtx, CompilerDependency, CompilerEventBuildFinish, CompilerEventBuildLog, CompilerEventBuildNoChange, CompilerEventBuildStart, CompilerEventDirAdd, CompilerEventDirDelete, CompilerEventFileAdd, CompilerEventFileDelete, CompilerEventFileUpdate, CompilerEventFsChange, CompilerEventName, CompilerFileWatcher, CompilerFileWatcherCallback, CompilerFileWatcherEvent, CompilerFsStats, CompilerJsDoc, CompilerJsDocTagInfo, CompilerModeStyles, CompilerRequest, CompilerRequestResponse, CompilerStyleDoc, CompilerSystem, CompilerSystemCreateDirectoryOptions, CompilerSystemCreateDirectoryResults, CompilerSystemRealpathResults, CompilerSystemRemoveDirectoryOptions, CompilerSystemRemoveDirectoryResults, CompilerSystemRemoveFileResults, CompilerSystemRenameResults, CompilerSystemRenamedPath, CompilerSystemWriteFileResults, CompilerWatcher, CompilerWorkerContext, CompilerWorkerTask, ComponentCompilerChangeHandler, ComponentCompilerCustomState, ComponentCompilerData, ComponentCompilerEvent, ComponentCompilerEventComplexType, ComponentCompilerFeatures, ComponentCompilerListener, ComponentCompilerMeta, ComponentCompilerMethod, ComponentCompilerMethodComplexType, ComponentCompilerProperty, ComponentCompilerPropertyComplexType, ComponentCompilerPropertyType, ComponentCompilerReferencedType, ComponentCompilerState, ComponentCompilerStaticEvent, ComponentCompilerStaticMethod, ComponentCompilerStaticProperty, ComponentCompilerTypeReference, ComponentCompilerTypeReferences, ComponentCompilerVirtualProperty, ComponentConstructor, ComponentConstructorChangeHandlers, ComponentConstructorEncapsulation, ComponentConstructorEvent, ComponentConstructorListener, ComponentConstructorProperties, ComponentConstructorProperty, ComponentConstructorPropertyType, ComponentNativeConstructor, ComponentPatches, ComponentRuntimeHostListener, ComponentRuntimeMember, ComponentRuntimeMembers, ComponentRuntimeMeta, ComponentRuntimeMetaCompact, ComponentRuntimeReflectingAttr, ComponentTestingConstructor, Config, ConfigBundle, ConfigExtras, CopyResults, CopyTask, Credentials, CssImportData, CssToEsmImportData, CustomElementsExportBehavior, CustomElementsExportBehaviorOptions, DevServer, DevServerConfig, DevServerEditor, Diagnostic, DocData, EligiblePrimaryPackageOutputTarget, Encapsulation, EntryModule, EventInitDict, ExternalStyleCompiler, FsWatchResults, type FsWriteResults, HistoryApiFallback, HmrStyleUpdate, HostElement, HostRef, HotModuleReplacement, HydrateAnchorElement, HydrateComponent, HydrateDocumentOptions, HydrateElement, HydrateFactoryOptions, HydrateImgElement, HydrateResults, HydrateScriptElement, HydrateStaticData, HydrateStyleElement, HydratedFlag, ImportData, JSDocTagInfo, JsDoc, JsonDocMethodParameter, JsonDocs, JsonDocsComponent, JsonDocsCustomState, JsonDocsDependencyGraph, JsonDocsEvent, JsonDocsListener, JsonDocsMethod, JsonDocsMethodReturn, JsonDocsPart, JsonDocsProp, JsonDocsSlot, JsonDocsStyle, JsonDocsTag, JsonDocsTypeLibrary, JsonDocsUsage, JsonDocsValue, LOG_LEVELS, LazyBundleRuntimeData, LazyBundlesRuntimeData, LazyRequire, LoadConfigInit, LoadConfigResults, LogLevel, Logger, LoggerLineUpdater, LoggerTimeSpan, Module, ModuleFormat, ModuleMap, MsgFromWorker, MsgToWorker, NewSpecPageOptions, NodeMap, NodeResolveConfig, OptimizeCssInput, OptimizeCssOutput, OptimizeJsInput, OptimizeJsOutput, OptimizeJsResult, OutputTarget, OutputTargetBase, OutputTargetBaseNext, OutputTargetBuild, OutputTargetCopy, OutputTargetCustom, OutputTargetDist, OutputTargetDistCollection, OutputTargetDistCustomElements, OutputTargetDistGlobalStyles, OutputTargetDistLazy, OutputTargetDistLazyLoader, OutputTargetDistTypes, OutputTargetDocsCustom, OutputTargetDocsCustomElementsManifest, OutputTargetDocsJson, OutputTargetDocsReadme, OutputTargetDocsVscode, OutputTargetHydrate, OutputTargetStats, OutputTargetWww, PackageJsonData, PageReloadStrategy, ParsedImport, ParsedPath, PatchedSlotNode, PlatformPath, PlatformRuntime, Plugin, PluginCtx, PluginTransformResults, PluginTransformationDescriptor, PrerenderConfig, PrerenderHydrateOptions, PrerenderManager, PrerenderResults, PrerenderStartOptions, PrerenderUrlRequest, PrerenderUrlResults, PrintLine, PropsType, RenderNode, ResolveModuleIdOptions, ResolveModuleIdResults, ResolveModuleOptions, RobotsTxtOpts, RobotsTxtResults, RolldownAssetResult, RolldownChunkResult, RolldownConfig, RolldownInputOptions, RolldownInterface, RolldownOutputOptions, RolldownResult, RolldownResultModule, RolldownResults, RolldownSourceMap, RootAppliedStyleMap, RuntimeRef, SerializeDocumentOptions, SerializeImportData, SerializedEvent, ServiceWorkerConfig, SitemapXmpOpts, SitemapXmpResults, SourceMap, SourceTarget, SpecPage, StencilConfig, StencilDevServerConfig, StencilDocsConfig, StencilDocument, StyleCompiler, StyleDoc, StyleMap, SystemDetails, TransformCssToEsmInput, TransformCssToEsmOutput, TransformOptions, TranspileModuleResults, TranspileOnlyResults, TranspileOptions, TranspileResults, TypeInfo, TypesImportData, TypesMemberNameData, TypesModule, UnvalidatedConfig, UpdatedLazyBuildCtx, VNodeProdData, ValidateTypesResults, ValidatedConfig, WatcherCloseResults, Workbox, WorkerContextMethod, WorkerMainController, WorkerMsgHandler, WorkerOptions, buildId, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, loadConfig, nodeRequire, optimizeCss, optimizeJs, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
|
package/dist/compiler/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as createPrerenderer, b as version, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as validateConfig, i as createSystem, l as createWorkerMessageHandler, n as transpile, o as loadConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as buildId, x as versions, y as vermoji } from "../compiler-
|
|
2
|
-
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-
|
|
1
|
+
import { a as createPrerenderer, b as version, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as validateConfig, i as createSystem, l as createWorkerMessageHandler, n as transpile, o as loadConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as buildId, x as versions, y as vermoji } from "../compiler-D6iP7Bzb.mjs";
|
|
2
|
+
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-Bg-mO5dw.mjs";
|
|
3
3
|
export { CustomElementsExportBehaviorOptions, LOG_LEVELS, buildId, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, loadConfig, nodeRequire, optimizeCss, optimizeJs, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as
|
|
2
|
-
export { CMP_FLAGS, COLLECTION_MANIFEST_FILE_NAME, COPY, CUSTOM, DEFAULT_STYLE_MODE, DIST, DIST_COLLECTION, DIST_CUSTOM_ELEMENTS, DIST_GLOBAL_STYLES, DIST_HYDRATE_SCRIPT, DIST_LAZY, DIST_LAZY_LOADER, DIST_TYPES, DOCS_CUSTOM, DOCS_CUSTOM_ELEMENTS_MANIFEST, DOCS_JSON, DOCS_README, DOCS_VSCODE, EVENT_FLAGS, FilterComponentsResult, GENERATED_DTS, HOST_FLAGS, HTML_NS, LISTENER_FLAGS,
|
|
1
|
+
import { $a as escapeRegExpSpecialCharacters, $o as dashToPascalCase, $s as byteSize, Ao as isOutputTargetStats, As as DIST_GLOBAL_STYLES, Ba as isJsFile, Bo as hasError, Bs as EVENT_FLAGS, Co as isOutputTargetDocs, Cs as COLLECTION_MANIFEST_FILE_NAME, Do as isOutputTargetDocsReadme, Ds as DIST, Eo as isOutputTargetDocsJson, Es as DEFAULT_STYLE_MODE, Fa as createJsVarName, Fo as TASK_CANCELED_MSG, Fs as DOCS_CUSTOM, Ga as readOnlyArrayHasStringMember, Go as splitLineBreaks, Gs as MEMBER_FLAGS, Ha as isTsFile, Ho as shouldIgnoreError, Hs as HOST_FLAGS, Ia as generatePreamble, Io as buildError, Is as DOCS_CUSTOM_ELEMENTS_MANIFEST, Ja as getInlineSourceMappingUrlLinker, Jo as loadTypeScriptDiagnostics, Js as SVG_NS, Ka as readPackageJson, Ko as augmentDiagnosticWithNode, Ks as NODE_TYPES, La as getTextDocs, Lo as buildJsonFileError, Ls as DOCS_JSON, Ma as validateComponentTag, Mo as isValidConfigOutputTarget, Ms as DIST_LAZY, Na as ParsePackageJsonResult, No as relativeImport, Ns as DIST_LAZY_LOADER, Oo as isOutputTargetDocsVscode, Os as DIST_COLLECTION, Pa as addDocBlock, Po as shouldExcludeComponent, Ps as DIST_TYPES, Qa as result_d_exports, Qo as isGlob, Qs as XLINK_NS, Ra as hasDependency, Ro as buildWarn, Rs as DOCS_README, So as isOutputTargetDistTypes, Ss as CMP_FLAGS, To as isOutputTargetDocsCustomElementsManifest, Ts as CUSTOM, Ua as isTsxFile, Uo as escapeHtml, Us as HTML_NS, Va as isJsxFile, Vo as hasWarning, Vs as GENERATED_DTS, Wa as parsePackageJson, Wo as normalizeDiagnostics, Ws as LISTENER_FLAGS, Xa as getSourceMappingUrlLinker, Xo as loadRolldownDiagnostics, Xs as WATCH_FLAGS, Ya as getSourceMappingUrlForEndOfFile, Yo as createOnWarnFn, Ys as VALID_CONFIG_OUTPUT_TARGETS, Za as rolldownToStencilSourceMap, Zo as isRootPath, Zs as WWW, _o as isOutputTargetDistCollection, _s as toTitleCase, ao as normalizePath, as as isDef, bo as isOutputTargetDistLazy, bs as formatLazyBundleRuntimeMeta, co as FilterComponentsResult, cs as isNumber, do as getComponentsDtsTypesFilePath, ds as mergeIntoWith, eo as queryNonceMetaTagContent, es as escapeWithPattern, fo as getComponentsFromModules, fs as noop, go as isOutputTargetDist, gs as toDashCase, ho as isOutputTargetCustom, hs as toCamelCase, io as normalizeFsPathQuery, is as isComplexType, jo as isOutputTargetWww, js as DIST_HYDRATE_SCRIPT, ko as isOutputTargetHydrate, ks as DIST_CUSTOM_ELEMENTS, lo as filterExcludedComponents, ls as isObject, mo as isOutputTargetCopy, ms as sortBy, no as normalize, ns as fromEntries, oo as relative, os as isFunction, po as isEligiblePrimaryPackageOutputTarget, ps as pluck, qa as isRemoteUrl, qo as loadTypeScriptDiagnostic, qs as STATS, ro as normalizeFsPath, rs as isBoolean, so as resolve, ss as isIterable, to as join, ts as flatOne, uo as getComponentsDtsSrcFilePath, us as isString, vo as isOutputTargetDistCustomElements, vs as unique, wo as isOutputTargetDocsCustom, ws as COPY, xo as isOutputTargetDistLazyLoader, xs as stringifyRuntimeData, yo as isOutputTargetDistGlobalStyles, ys as formatComponentRuntimeMeta, za as isDtsFile, zo as catchError, zs as DOCS_VSCODE } from "../../index-tUR6pD3J.mjs";
|
|
2
|
+
export { CMP_FLAGS, COLLECTION_MANIFEST_FILE_NAME, COPY, CUSTOM, DEFAULT_STYLE_MODE, DIST, DIST_COLLECTION, DIST_CUSTOM_ELEMENTS, DIST_GLOBAL_STYLES, DIST_HYDRATE_SCRIPT, DIST_LAZY, DIST_LAZY_LOADER, DIST_TYPES, DOCS_CUSTOM, DOCS_CUSTOM_ELEMENTS_MANIFEST, DOCS_JSON, DOCS_README, DOCS_VSCODE, EVENT_FLAGS, FilterComponentsResult, GENERATED_DTS, HOST_FLAGS, HTML_NS, LISTENER_FLAGS, MEMBER_FLAGS, NODE_TYPES, ParsePackageJsonResult, STATS, SVG_NS, TASK_CANCELED_MSG, VALID_CONFIG_OUTPUT_TARGETS, WATCH_FLAGS, WWW, XLINK_NS, addDocBlock, augmentDiagnosticWithNode, buildError, buildJsonFileError, buildWarn, byteSize, catchError, createJsVarName, createOnWarnFn, dashToPascalCase, escapeHtml, escapeRegExpSpecialCharacters, escapeWithPattern, filterExcludedComponents, flatOne, formatComponentRuntimeMeta, formatLazyBundleRuntimeMeta, fromEntries, generatePreamble, getComponentsDtsSrcFilePath, getComponentsDtsTypesFilePath, getComponentsFromModules, getInlineSourceMappingUrlLinker, getSourceMappingUrlForEndOfFile, getSourceMappingUrlLinker, getTextDocs, hasDependency, hasError, hasWarning, isBoolean, isComplexType, isDef, isDtsFile, isEligiblePrimaryPackageOutputTarget, isFunction, isGlob, isIterable, isJsFile, isJsxFile, isNumber, isObject, isOutputTargetCopy, isOutputTargetCustom, isOutputTargetDist, isOutputTargetDistCollection, isOutputTargetDistCustomElements, isOutputTargetDistGlobalStyles, isOutputTargetDistLazy, isOutputTargetDistLazyLoader, isOutputTargetDistTypes, isOutputTargetDocs, isOutputTargetDocsCustom, isOutputTargetDocsCustomElementsManifest, isOutputTargetDocsJson, isOutputTargetDocsReadme, isOutputTargetDocsVscode, isOutputTargetHydrate, isOutputTargetStats, isOutputTargetWww, isRemoteUrl, isRootPath, isString, isTsFile, isTsxFile, isValidConfigOutputTarget, join, loadRolldownDiagnostics, loadTypeScriptDiagnostic, loadTypeScriptDiagnostics, mergeIntoWith, noop, normalize, normalizeDiagnostics, normalizeFsPath, normalizeFsPathQuery, normalizePath, parsePackageJson, pluck, queryNonceMetaTagContent, readOnlyArrayHasStringMember, readPackageJson, relative, relativeImport, resolve, result_d_exports as result, rolldownToStencilSourceMap, shouldExcludeComponent, shouldIgnoreError, sortBy, splitLineBreaks, stringifyRuntimeData, toCamelCase, toDashCase, toTitleCase, unique, validateComponentTag };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $ as join, A as isOutputTargetCustom, B as isOutputTargetDocsCustomElementsManifest, C as result_exports, Ct as stringifyRuntimeData, D as getComponentsFromModules, E as getComponentsDtsTypesFilePath, F as isOutputTargetDistLazy, G as isOutputTargetStats, H as isOutputTargetDocsReadme, I as isOutputTargetDistLazyLoader, J as relativeImport, K as isOutputTargetWww, L as isOutputTargetDistTypes, M as isOutputTargetDistCollection, N as isOutputTargetDistCustomElements, O as isEligiblePrimaryPackageOutputTarget, P as isOutputTargetDistGlobalStyles, Q as loadTypeScriptDiagnostics, R as isOutputTargetDocs, St as formatLazyBundleRuntimeMeta, T as getComponentsDtsSrcFilePath, U as isOutputTargetDocsVscode, V as isOutputTargetDocsJson, W as isOutputTargetHydrate, X as augmentDiagnosticWithNode, Y as shouldExcludeComponent, Z as loadTypeScriptDiagnostic, _ as getSourceMappingUrlForEndOfFile, _t as hasWarning, a as getTextDocs, at as resolve, bt as isGlob, c as isJsFile, ct as escapeHtml, d as isTsxFile, dt as TASK_CANCELED_MSG, et as normalize, f as parsePackageJson, ft as buildError, g as getInlineSourceMappingUrlLinker, gt as hasError, h as isRemoteUrl, ht as catchError, i as generatePreamble, it as relative, j as isOutputTargetDist, k as isOutputTargetCopy, l as isJsxFile, lt as normalizeDiagnostics, m as readPackageJson, mt as buildWarn, n as addDocBlock, nt as normalizeFsPathQuery, o as hasDependency, ot as createOnWarnFn, p as readOnlyArrayHasStringMember, pt as buildJsonFileError, q as isValidConfigOutputTarget, r as createJsVarName, rt as normalizePath, s as isDtsFile, st as
|
|
3
|
-
export { CMP_FLAGS, COLLECTION_MANIFEST_FILE_NAME, COPY, CUSTOM, DEFAULT_STYLE_MODE, DIST, DIST_COLLECTION, DIST_CUSTOM_ELEMENTS, DIST_GLOBAL_STYLES, DIST_HYDRATE_SCRIPT, DIST_LAZY, DIST_LAZY_LOADER, DIST_TYPES, DOCS_CUSTOM, DOCS_CUSTOM_ELEMENTS_MANIFEST, DOCS_JSON, DOCS_README, DOCS_VSCODE, EVENT_FLAGS, GENERATED_DTS, HOST_FLAGS, HTML_NS, LISTENER_FLAGS,
|
|
1
|
+
import { $ as XLINK_NS, A as DIST_CUSTOM_ELEMENTS, B as DOCS_VSCODE, C as CMP_FLAGS, D as DEFAULT_STYLE_MODE, E as CUSTOM, F as DIST_TYPES, G as LISTENER_FLAGS, H as GENERATED_DTS, I as DOCS_CUSTOM, J as STATS, K as MEMBER_FLAGS, L as DOCS_CUSTOM_ELEMENTS_MANIFEST, M as DIST_HYDRATE_SCRIPT, N as DIST_LAZY, O as DIST, P as DIST_LAZY_LOADER, Q as WWW, R as DOCS_JSON, S as queryNonceMetaTagContent, T as COPY, U as HOST_FLAGS, V as EVENT_FLAGS, W as HTML_NS, X as VALID_CONFIG_OUTPUT_TARGETS, Y as SVG_NS, Z as WATCH_FLAGS, _ as sortBy, a as fromEntries, b as toTitleCase, c as isDef, d as isNumber, f as isObject, g as pluck, h as noop, i as flatOne, j as DIST_GLOBAL_STYLES, k as DIST_COLLECTION, l as isFunction, m as mergeIntoWith, n as dashToPascalCase, o as isBoolean, p as isString, q as NODE_TYPES, r as escapeWithPattern, s as isComplexType, t as escapeRegExpSpecialCharacters, u as isIterable, v as toCamelCase, w as COLLECTION_MANIFEST_FILE_NAME, x as unique, y as toDashCase, z as DOCS_README } from "../../regular-expression-D5pGVpCu.mjs";
|
|
2
|
+
import { $ as join, A as isOutputTargetCustom, B as isOutputTargetDocsCustomElementsManifest, C as result_exports, Ct as stringifyRuntimeData, D as getComponentsFromModules, E as getComponentsDtsTypesFilePath, F as isOutputTargetDistLazy, G as isOutputTargetStats, H as isOutputTargetDocsReadme, I as isOutputTargetDistLazyLoader, J as relativeImport, K as isOutputTargetWww, L as isOutputTargetDistTypes, M as isOutputTargetDistCollection, N as isOutputTargetDistCustomElements, O as isEligiblePrimaryPackageOutputTarget, P as isOutputTargetDistGlobalStyles, Q as loadTypeScriptDiagnostics, R as isOutputTargetDocs, St as formatLazyBundleRuntimeMeta, T as getComponentsDtsSrcFilePath, U as isOutputTargetDocsVscode, V as isOutputTargetDocsJson, W as isOutputTargetHydrate, X as augmentDiagnosticWithNode, Y as shouldExcludeComponent, Z as loadTypeScriptDiagnostic, _ as getSourceMappingUrlForEndOfFile, _t as hasWarning, a as getTextDocs, at as resolve, bt as isGlob, c as isJsFile, ct as escapeHtml, d as isTsxFile, dt as TASK_CANCELED_MSG, et as normalize, f as parsePackageJson, ft as buildError, g as getInlineSourceMappingUrlLinker, gt as hasError, h as isRemoteUrl, ht as catchError, i as generatePreamble, it as relative, j as isOutputTargetDist, k as isOutputTargetCopy, l as isJsxFile, lt as normalizeDiagnostics, m as readPackageJson, mt as buildWarn, n as addDocBlock, nt as normalizeFsPathQuery, o as hasDependency, ot as createOnWarnFn, p as readOnlyArrayHasStringMember, pt as buildJsonFileError, q as isValidConfigOutputTarget, r as createJsVarName, rt as normalizePath, s as isDtsFile, st as loadRolldownDiagnostics, t as validateComponentTag, tt as normalizeFsPath, u as isTsFile, ut as splitLineBreaks, v as getSourceMappingUrlLinker, vt as shouldIgnoreError, w as filterExcludedComponents, wt as byteSize, xt as formatComponentRuntimeMeta, y as rolldownToStencilSourceMap, yt as isRootPath, z as isOutputTargetDocsCustom } from "../../validation-Byxie0Uk.mjs";
|
|
3
|
+
export { CMP_FLAGS, COLLECTION_MANIFEST_FILE_NAME, COPY, CUSTOM, DEFAULT_STYLE_MODE, DIST, DIST_COLLECTION, DIST_CUSTOM_ELEMENTS, DIST_GLOBAL_STYLES, DIST_HYDRATE_SCRIPT, DIST_LAZY, DIST_LAZY_LOADER, DIST_TYPES, DOCS_CUSTOM, DOCS_CUSTOM_ELEMENTS_MANIFEST, DOCS_JSON, DOCS_README, DOCS_VSCODE, EVENT_FLAGS, GENERATED_DTS, HOST_FLAGS, HTML_NS, LISTENER_FLAGS, MEMBER_FLAGS, NODE_TYPES, STATS, SVG_NS, TASK_CANCELED_MSG, VALID_CONFIG_OUTPUT_TARGETS, WATCH_FLAGS, WWW, XLINK_NS, addDocBlock, augmentDiagnosticWithNode, buildError, buildJsonFileError, buildWarn, byteSize, catchError, createJsVarName, createOnWarnFn, dashToPascalCase, escapeHtml, escapeRegExpSpecialCharacters, escapeWithPattern, filterExcludedComponents, flatOne, formatComponentRuntimeMeta, formatLazyBundleRuntimeMeta, fromEntries, generatePreamble, getComponentsDtsSrcFilePath, getComponentsDtsTypesFilePath, getComponentsFromModules, getInlineSourceMappingUrlLinker, getSourceMappingUrlForEndOfFile, getSourceMappingUrlLinker, getTextDocs, hasDependency, hasError, hasWarning, isBoolean, isComplexType, isDef, isDtsFile, isEligiblePrimaryPackageOutputTarget, isFunction, isGlob, isIterable, isJsFile, isJsxFile, isNumber, isObject, isOutputTargetCopy, isOutputTargetCustom, isOutputTargetDist, isOutputTargetDistCollection, isOutputTargetDistCustomElements, isOutputTargetDistGlobalStyles, isOutputTargetDistLazy, isOutputTargetDistLazyLoader, isOutputTargetDistTypes, isOutputTargetDocs, isOutputTargetDocsCustom, isOutputTargetDocsCustomElementsManifest, isOutputTargetDocsJson, isOutputTargetDocsReadme, isOutputTargetDocsVscode, isOutputTargetHydrate, isOutputTargetStats, isOutputTargetWww, isRemoteUrl, isRootPath, isString, isTsFile, isTsxFile, isValidConfigOutputTarget, join, loadRolldownDiagnostics, loadTypeScriptDiagnostic, loadTypeScriptDiagnostics, mergeIntoWith, noop, normalize, normalizeDiagnostics, normalizeFsPath, normalizeFsPathQuery, normalizePath, parsePackageJson, pluck, queryNonceMetaTagContent, readOnlyArrayHasStringMember, readPackageJson, relative, relativeImport, resolve, result_exports as result, rolldownToStencilSourceMap, shouldExcludeComponent, shouldIgnoreError, sortBy, splitLineBreaks, stringifyRuntimeData, toCamelCase, toDashCase, toTitleCase, unique, validateComponentTag };
|