@sankhyalabs/sankhyablocks 1.1.21 → 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 +321 -1237
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/snk-application/snk-application.js +6 -3
- package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +16 -4
- package/dist/collection/temp/ApplicationUtils.js +6 -1
- package/dist/components/snk-application.js +315 -1231
- 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 +316 -1232
- 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/lib/http/data-fetcher/fetchers/dataunit-fetcher.d.ts +1 -0
- package/dist/types/temp/ApplicationUtils.d.ts +5 -1
- package/package.json +12 -7
- package/dist/sankhyablocks/p-1f8989f1.entry.js +0 -57
- package/dist/sankhyablocks/p-5fa264b9.js +0 -1
|
@@ -74,7 +74,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
74
74
|
};
|
|
75
75
|
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
76
76
|
let scopeId = getScopeId(cmpMeta);
|
|
77
|
-
|
|
77
|
+
const style = styles.get(scopeId);
|
|
78
78
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
79
79
|
// so the fallback is to always use the document for the root node in those cases
|
|
80
80
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
@@ -149,7 +149,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
149
149
|
let child = null;
|
|
150
150
|
let simple = false;
|
|
151
151
|
let lastSimple = false;
|
|
152
|
-
|
|
152
|
+
const vNodeChildren = [];
|
|
153
153
|
const walk = (c) => {
|
|
154
154
|
for (let i = 0; i < c.length; i++) {
|
|
155
155
|
child = c[i];
|
|
@@ -194,7 +194,7 @@ const Host = {};
|
|
|
194
194
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
195
195
|
const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
196
196
|
// tslint:disable-next-line: prefer-const
|
|
197
|
-
|
|
197
|
+
const newVNode = newParentVNode.$children$[childIndex];
|
|
198
198
|
let i = 0;
|
|
199
199
|
let elm;
|
|
200
200
|
let childNode;
|
|
@@ -671,7 +671,9 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
671
671
|
if (module) {
|
|
672
672
|
return module[exportName];
|
|
673
673
|
}
|
|
674
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
674
675
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
676
|
+
/* @vite-ignore */
|
|
675
677
|
/* webpackInclude: /\.entry\.js$/ */
|
|
676
678
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
677
679
|
/* webpackMode: "lazy" */
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4720dab8.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.
|
|
8
|
+
Stencil Client Patch Esm v2.16.1 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-4720dab8.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v2.
|
|
6
|
+
Stencil Client Patch Browser v2.16.1 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('sankhyablocks.cjs.js', document.baseURI).href));
|