proto-tinker-wc 0.1.14 → 0.1.15
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/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +2 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/{index-613064fc.js → index-B_32VWMZ.js} +11 -32
- package/dist/cjs/index-B_32VWMZ.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/proto-tinker-wc.cjs.js +8 -6
- package/dist/cjs/proto-tinker-wc.cjs.js.map +1 -0
- package/dist/cjs/proto-tinker.cjs.entry.js +1839 -1761
- package/dist/cjs/proto-tinker.cjs.entry.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/styles/shadow.css +1 -1
- package/dist/collection/tokens.css +1 -1
- package/dist/collection/utils/tw-version.js +1 -1
- package/dist/components/proto-tinker.js +1836 -1758
- package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +2 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/{index-0073c860.js → index-BLmY_kFa.js} +9 -10
- package/dist/esm/index-BLmY_kFa.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +5 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/proto-tinker-wc.js +7 -4
- package/dist/esm/proto-tinker-wc.js.map +1 -0
- package/dist/esm/proto-tinker.entry.js +1839 -1759
- package/dist/esm/proto-tinker.entry.js.map +1 -0
- package/dist/proto-tinker-wc/index.esm.js +2 -0
- package/dist/proto-tinker-wc/index.esm.js.map +1 -0
- package/dist/proto-tinker-wc/{p-74a1838d.js → p-BLmY_kFa.js} +3 -2
- package/dist/proto-tinker-wc/p-BLmY_kFa.js.map +1 -0
- package/dist/proto-tinker-wc/p-DQuL1Twl.js +2 -0
- package/dist/proto-tinker-wc/p-DQuL1Twl.js.map +1 -0
- package/dist/proto-tinker-wc/p-b98f4d15.entry.js +2 -0
- package/dist/proto-tinker-wc/p-b98f4d15.entry.js.map +1 -0
- package/dist/proto-tinker-wc/proto-tinker-wc.esm.js +2 -1
- package/dist/proto-tinker-wc/proto-tinker-wc.esm.js.map +1 -0
- package/dist/proto-tinker-wc/tokens.css +1 -1
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/utils/tw-version.d.ts +1 -1
- package/package.json +6 -6
- package/dist/loader/package.json +0 -11
- package/dist/proto-tinker-wc/p-5aa4d74d.entry.js +0 -1
- package/dist/proto-tinker-wc/p-e1255160.js +0 -1
- package/loader/package.json +0 -11
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -1,30 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
function _interopNamespace(e) {
|
|
4
|
-
if (e && e.__esModule) return e;
|
|
5
|
-
var n = Object.create(null);
|
|
6
|
-
if (e) {
|
|
7
|
-
Object.keys(e).forEach(function (k) {
|
|
8
|
-
if (k !== 'default') {
|
|
9
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
10
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return e[k];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
n['default'] = e;
|
|
20
|
-
return Object.freeze(n);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
3
|
const NAMESPACE = 'proto-tinker-wc';
|
|
24
|
-
const BUILD = /* proto-tinker-wc */ {
|
|
4
|
+
const BUILD = /* proto-tinker-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
|
|
25
5
|
|
|
26
6
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
7
|
+
Stencil Client Platform v4.28.2 | MIT Licensed | https://stenciljs.com
|
|
28
8
|
*/
|
|
29
9
|
var __defProp = Object.defineProperty;
|
|
30
10
|
var __export = (target, all) => {
|
|
@@ -79,13 +59,13 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
79
59
|
return module[exportName];
|
|
80
60
|
}
|
|
81
61
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
82
|
-
return
|
|
62
|
+
return import(
|
|
83
63
|
/* @vite-ignore */
|
|
84
64
|
/* webpackInclude: /\.entry\.js$/ */
|
|
85
65
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
86
66
|
/* webpackMode: "lazy" */
|
|
87
67
|
`./${bundleId}.entry.js${""}`
|
|
88
|
-
)
|
|
68
|
+
).then(
|
|
89
69
|
(importedModule) => {
|
|
90
70
|
{
|
|
91
71
|
cmpModules.set(bundleId, importedModule);
|
|
@@ -559,7 +539,6 @@ function sortedAttrNames(attrNames) {
|
|
|
559
539
|
);
|
|
560
540
|
}
|
|
561
541
|
var hostTagName;
|
|
562
|
-
var useNativeShadowDom = false;
|
|
563
542
|
var isSvgMode = false;
|
|
564
543
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
565
544
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
@@ -579,7 +558,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
579
558
|
}
|
|
580
559
|
elm = newVNode2.$elm$ = win.document.createElementNS(
|
|
581
560
|
isSvgMode ? SVG_NS : HTML_NS,
|
|
582
|
-
|
|
561
|
+
newVNode2.$tag$
|
|
583
562
|
) ;
|
|
584
563
|
if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
|
|
585
564
|
isSvgMode = false;
|
|
@@ -769,7 +748,6 @@ var insertBefore = (parent, newNode, reference) => {
|
|
|
769
748
|
};
|
|
770
749
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
771
750
|
const hostElm = hostRef.$hostElement$;
|
|
772
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
773
751
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
774
752
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
775
753
|
hostTagName = hostElm.tagName;
|
|
@@ -784,7 +762,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
784
762
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
785
763
|
hostRef.$vnode$ = rootVnode;
|
|
786
764
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
787
|
-
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
788
765
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
789
766
|
};
|
|
790
767
|
|
|
@@ -873,7 +850,7 @@ var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
|
873
850
|
renderingRef = instance;
|
|
874
851
|
instance = instance.render() ;
|
|
875
852
|
{
|
|
876
|
-
hostRef.$flags$ &=
|
|
853
|
+
hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
|
|
877
854
|
}
|
|
878
855
|
{
|
|
879
856
|
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
@@ -924,7 +901,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
924
901
|
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
925
902
|
nextTick(() => scheduleUpdate(hostRef, false));
|
|
926
903
|
}
|
|
927
|
-
hostRef.$flags$ &=
|
|
904
|
+
hostRef.$flags$ &= -517;
|
|
928
905
|
}
|
|
929
906
|
};
|
|
930
907
|
var forceUpdate = (ref) => {
|
|
@@ -989,7 +966,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
989
966
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
990
967
|
var _a, _b;
|
|
991
968
|
const prototype = Cstr.prototype;
|
|
992
|
-
if (cmpMeta.$members$ || BUILD.watchCallback
|
|
969
|
+
if (cmpMeta.$members$ || BUILD.watchCallback) {
|
|
993
970
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
994
971
|
members.map(([memberName, [memberFlags]]) => {
|
|
995
972
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
@@ -1138,7 +1115,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1138
1115
|
consoleError(e, elm);
|
|
1139
1116
|
}
|
|
1140
1117
|
{
|
|
1141
|
-
hostRef.$flags$ &=
|
|
1118
|
+
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
1142
1119
|
}
|
|
1143
1120
|
endNewInstance();
|
|
1144
1121
|
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
@@ -1373,3 +1350,5 @@ exports.h = h;
|
|
|
1373
1350
|
exports.promiseResolve = promiseResolve;
|
|
1374
1351
|
exports.registerInstance = registerInstance;
|
|
1375
1352
|
exports.setNonce = setNonce;
|
|
1353
|
+
|
|
1354
|
+
//# sourceMappingURL=index-B_32VWMZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-613064fc.js');
|
|
6
|
-
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
3
|
+
var index = require('./index-B_32VWMZ.js');
|
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
7
5
|
|
|
8
6
|
const defineCustomElements = async (win, options) => {
|
|
9
7
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -13,3 +11,5 @@ const defineCustomElements = async (win, options) => {
|
|
|
13
11
|
|
|
14
12
|
exports.setNonce = index.setNonce;
|
|
15
13
|
exports.defineCustomElements = defineCustomElements;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=loader.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const index = require('./index-613064fc.js');
|
|
6
|
-
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
3
|
+
var index = require('./index-B_32VWMZ.js');
|
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
7
5
|
|
|
6
|
+
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
8
7
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.28.2 | MIT Licensed | https://stenciljs.com
|
|
10
9
|
*/
|
|
10
|
+
|
|
11
11
|
var patchBrowser = () => {
|
|
12
|
-
const importMeta = (typeof document === 'undefined' ?
|
|
12
|
+
const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('proto-tinker-wc.cjs.js', document.baseURI).href));
|
|
13
13
|
const opts = {};
|
|
14
14
|
if (importMeta !== "") {
|
|
15
15
|
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
@@ -23,3 +23,5 @@ patchBrowser().then(async (options) => {
|
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=proto-tinker-wc.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sourcesContent":[]}
|