proto-ikons-wc 0.0.132 → 0.0.134
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/cjs/acura-ikon_119.cjs.entry.js +1 -1
- package/dist/cjs/{index-9959af7f.js → index-8d6b7e45.js} +11 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-ikons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/acura-ikon_119.entry.js +1 -1
- package/dist/esm/{index-73ec75bb.js → index-5d0bd19b.js} +11 -10
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +3 -3
- package/dist/proto-ikons-wc/{p-7c7e0b63.entry.js → p-1aa028bd.entry.js} +1 -1
- package/dist/proto-ikons-wc/{p-5d547966.js → p-98b07f12.js} +2 -2
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/package.json +2 -2
|
@@ -1290,7 +1290,8 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1290
1290
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1291
1291
|
// Let the runtime know that the component has been initialized
|
|
1292
1292
|
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1293
|
-
|
|
1293
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1294
|
+
if (bundleId) {
|
|
1294
1295
|
// lazy loaded components
|
|
1295
1296
|
// request the component's implementation to be
|
|
1296
1297
|
// wired up with the host element
|
|
@@ -1327,6 +1328,14 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1327
1328
|
}
|
|
1328
1329
|
endNewInstance();
|
|
1329
1330
|
}
|
|
1331
|
+
else {
|
|
1332
|
+
// sync constructor component
|
|
1333
|
+
Cstr = elm.constructor;
|
|
1334
|
+
// wait for the CustomElementRegistry to mark the component as ready before setting `isWatchReady`. Otherwise,
|
|
1335
|
+
// watchers may fire prematurely if `customElements.get()`/`customElements.whenDefined()` resolves _before_
|
|
1336
|
+
// Stencil has completed instantiating the component.
|
|
1337
|
+
customElements.whenDefined(cmpMeta.$tagName$).then(() => (hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */));
|
|
1338
|
+
}
|
|
1330
1339
|
if (Cstr.style) {
|
|
1331
1340
|
// this component has styles but we haven't registered them yet
|
|
1332
1341
|
let style = Cstr.style;
|
|
@@ -1584,14 +1593,6 @@ const registerHost = (hostElement, cmpMeta) => {
|
|
|
1584
1593
|
const isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1585
1594
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
1586
1595
|
const cmpModules = /*@__PURE__*/ new Map();
|
|
1587
|
-
/**
|
|
1588
|
-
* We need to separate out this prefix so that Esbuild doesn't try to resolve
|
|
1589
|
-
* the below, but instead retains a dynamic `import()` statement in the
|
|
1590
|
-
* emitted code.
|
|
1591
|
-
*
|
|
1592
|
-
* See here for details https://esbuild.github.io/api/#glob
|
|
1593
|
-
*/
|
|
1594
|
-
const MODULE_IMPORT_PREFIX = './';
|
|
1595
1596
|
const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
1596
1597
|
// loadModuleImport
|
|
1597
1598
|
const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
|
|
@@ -1606,7 +1607,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1606
1607
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1607
1608
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1608
1609
|
/* webpackMode: "lazy" */
|
|
1609
|
-
|
|
1610
|
+
`./${bundleId}.entry.js${''}`)); }).then((importedModule) => {
|
|
1610
1611
|
{
|
|
1611
1612
|
cmpModules.set(bundleId, importedModule);
|
|
1612
1613
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8d6b7e45.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8d6b7e45.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.12.
|
|
9
|
+
Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
const patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-ikons-wc.cjs.js', document.baseURI).href));
|
|
@@ -1268,7 +1268,8 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1268
1268
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1269
1269
|
// Let the runtime know that the component has been initialized
|
|
1270
1270
|
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1271
|
-
|
|
1271
|
+
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1272
|
+
if (bundleId) {
|
|
1272
1273
|
// lazy loaded components
|
|
1273
1274
|
// request the component's implementation to be
|
|
1274
1275
|
// wired up with the host element
|
|
@@ -1305,6 +1306,14 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1305
1306
|
}
|
|
1306
1307
|
endNewInstance();
|
|
1307
1308
|
}
|
|
1309
|
+
else {
|
|
1310
|
+
// sync constructor component
|
|
1311
|
+
Cstr = elm.constructor;
|
|
1312
|
+
// wait for the CustomElementRegistry to mark the component as ready before setting `isWatchReady`. Otherwise,
|
|
1313
|
+
// watchers may fire prematurely if `customElements.get()`/`customElements.whenDefined()` resolves _before_
|
|
1314
|
+
// Stencil has completed instantiating the component.
|
|
1315
|
+
customElements.whenDefined(cmpMeta.$tagName$).then(() => (hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */));
|
|
1316
|
+
}
|
|
1308
1317
|
if (Cstr.style) {
|
|
1309
1318
|
// this component has styles but we haven't registered them yet
|
|
1310
1319
|
let style = Cstr.style;
|
|
@@ -1562,14 +1571,6 @@ const registerHost = (hostElement, cmpMeta) => {
|
|
|
1562
1571
|
const isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1563
1572
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
1564
1573
|
const cmpModules = /*@__PURE__*/ new Map();
|
|
1565
|
-
/**
|
|
1566
|
-
* We need to separate out this prefix so that Esbuild doesn't try to resolve
|
|
1567
|
-
* the below, but instead retains a dynamic `import()` statement in the
|
|
1568
|
-
* emitted code.
|
|
1569
|
-
*
|
|
1570
|
-
* See here for details https://esbuild.github.io/api/#glob
|
|
1571
|
-
*/
|
|
1572
|
-
const MODULE_IMPORT_PREFIX = './';
|
|
1573
1574
|
const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
1574
1575
|
// loadModuleImport
|
|
1575
1576
|
const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
|
|
@@ -1584,7 +1585,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1584
1585
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1585
1586
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1586
1587
|
/* webpackMode: "lazy" */
|
|
1587
|
-
|
|
1588
|
+
`./${bundleId}.entry.js${''}`).then((importedModule) => {
|
|
1588
1589
|
{
|
|
1589
1590
|
cmpModules.set(bundleId, importedModule);
|
|
1590
1591
|
}
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-5d0bd19b.js';
|
|
2
|
+
export { s as setNonce } from './index-5d0bd19b.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-5d0bd19b.js';
|
|
2
|
+
export { s as setNonce } from './index-5d0bd19b.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.12.
|
|
6
|
+
Stencil Client Patch Browser v4.12.5 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|