@sankhyalabs/sankhyablocks 1.1.23 → 1.1.24
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/{index-20a7d705.js → index-4720dab8.js} +5 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/sankhyablocks.cjs.js +2 -2
- package/dist/cjs/snk-application.cjs.entry.js +305 -1233
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/snk-application/snk-application.js +6 -3
- package/dist/collection/temp/ApplicationUtils.js +6 -1
- package/dist/components/snk-application.js +299 -1227
- package/dist/esm/{index-8d3572c4.js → index-72d4e2e0.js} +5 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/sankhyablocks.js +2 -2
- package/dist/esm/snk-application.entry.js +300 -1228
- package/dist/sankhyablocks/p-45635e4f.entry.js +57 -0
- package/dist/sankhyablocks/p-a33afc3b.js +2 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-application/snk-application.d.ts +1 -1
- package/dist/types/components.d.ts +7 -3
- package/dist/types/temp/ApplicationUtils.d.ts +5 -1
- package/package.json +12 -7
- package/dist/sankhyablocks/p-5fa264b9.js +0 -1
- package/dist/sankhyablocks/p-f3bdd8c3.entry.js +0 -57
|
@@ -52,7 +52,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
52
52
|
};
|
|
53
53
|
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
54
54
|
let scopeId = getScopeId(cmpMeta);
|
|
55
|
-
|
|
55
|
+
const style = styles.get(scopeId);
|
|
56
56
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
57
57
|
// so the fallback is to always use the document for the root node in those cases
|
|
58
58
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
@@ -127,7 +127,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
127
127
|
let child = null;
|
|
128
128
|
let simple = false;
|
|
129
129
|
let lastSimple = false;
|
|
130
|
-
|
|
130
|
+
const vNodeChildren = [];
|
|
131
131
|
const walk = (c) => {
|
|
132
132
|
for (let i = 0; i < c.length; i++) {
|
|
133
133
|
child = c[i];
|
|
@@ -172,7 +172,7 @@ const Host = {};
|
|
|
172
172
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
173
173
|
const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
174
174
|
// tslint:disable-next-line: prefer-const
|
|
175
|
-
|
|
175
|
+
const newVNode = newParentVNode.$children$[childIndex];
|
|
176
176
|
let i = 0;
|
|
177
177
|
let elm;
|
|
178
178
|
let childNode;
|
|
@@ -649,7 +649,9 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
649
649
|
if (module) {
|
|
650
650
|
return module[exportName];
|
|
651
651
|
}
|
|
652
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
652
653
|
return import(
|
|
654
|
+
/* @vite-ignore */
|
|
653
655
|
/* webpackInclude: /\.entry\.js$/ */
|
|
654
656
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
655
657
|
/* webpackMode: "lazy" */
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-72d4e2e0.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Esm v2.
|
|
4
|
+
Stencil Client Patch Esm v2.16.1 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchEsm = () => {
|
|
7
7
|
return promiseResolve();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-72d4e2e0.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Browser v2.
|
|
4
|
+
Stencil Client Patch Browser v2.16.1 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchBrowser = () => {
|
|
7
7
|
const importMeta = import.meta.url;
|