coralite 0.31.4 → 0.31.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coralite.d.ts","sourceRoot":"","sources":["../../lib/coralite.js"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AAEH;;;;;;;;;;;;GAYG;AACH,2IAXW,cAAc,QAmMxB;;IA3ND;;;;;;;;;;;;;;;;OAgBG;IAEH;;OAEG;IAEH;;;;;;;;;;;;OAYG;IACH,8HAXW,cAAc,EAmMxB;IA1JC,6DAA+B;IAG/B;;;;;;;;;;;;;;MAWC;IAED,oDAAoD;IACpD,eADW,GAAG,CAAC,MAAM,EAAE,sBAAsB,EAAE,CAAC,CAClB;IAG9B;;;;;;;;;;;;;;MAcC;IAGD,8BAAqD;IAGrD;;;;;;;;
|
|
1
|
+
{"version":3,"file":"coralite.d.ts","sourceRoot":"","sources":["../../lib/coralite.js"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AAEH;;;;;;;;;;;;GAYG;AACH,2IAXW,cAAc,QAmMxB;;IA3ND;;;;;;;;;;;;;;;;OAgBG;IAEH;;OAEG;IAEH;;;;;;;;;;;;OAYG;IACH,8HAXW,cAAc,EAmMxB;IA1JC,6DAA+B;IAG/B;;;;;;;;;;;;;;MAWC;IAED,oDAAoD;IACpD,eADW,GAAG,CAAC,MAAM,EAAE,sBAAsB,EAAE,CAAC,CAClB;IAG9B;;;;;;;;;;;;;;MAcC;IAGD,8BAAqD;IAGrD;;;;;;;;8BAy2CS,qBAAqB,GAAG,eAAe,GAAG,eAAe,EAAE,YAC3D,oBAAoB,KAClB,MAAM;;;;;;;;;;;;MAp1ChB;IA6FH;;;OAGG;IACH,cAFa,OAAO,CAAC,IAAI,CAAC,CA0PzB;IAvPC,+BA2CE;IAWF;;OAEG;IACH;;MAA6C;IA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,2HAnBG;IAAwB,IAAI,EAApB,MAAM;IACwB,IAAI,EAAlC,MAAM,GAAG,WAAW;IACF,SAAS,GAA3B,OAAO;IACY,OAAO,GAA1B,MAAM,EAAE;IAC6B,SAAS,GAA9C,0BAA0B;IACc,YAAY,GAApD,6BAA6B;IACW,YAAY,GAApD,6BAA6B;IACA,UAAU,GAAvC,kBAAkB;IACwB,KAAK,GAA/C,OAAO,SAAS,EAAE,aAAa;CACvC,GAAU,OAAO,CAAC,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../lib/html.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,2HAnBG;IAAwB,IAAI,EAApB,MAAM;IACwB,IAAI,EAAlC,MAAM,GAAG,WAAW;IACF,SAAS,GAA3B,OAAO;IACY,OAAO,GAA1B,MAAM,EAAE;IAC6B,SAAS,GAA9C,0BAA0B;IACc,YAAY,GAApD,6BAA6B;IACW,YAAY,GAApD,6BAA6B;IACA,UAAU,GAAvC,kBAAkB;IACwB,KAAK,GAA/C,OAAO,SAAS,EAAE,aAAa;CACvC,GAAU,OAAO,CAAC,kBAAkB,CAAC,CAoGvC;AAED;;;;GAIG;AACH,0CAHW,MAAM,UAehB;AAED;;;;GAIG;AACH,sCAHW,MAAM,mBAehB;gDAzJwC,mBAAmB;mDAAnB,mBAAmB;mDAAnB,mBAAmB;+BAN7B,iBAAiB"}
|
package/dist/lib/index.js
CHANGED
|
@@ -6447,25 +6447,39 @@ function cleanKeys(object) {
|
|
|
6447
6447
|
}
|
|
6448
6448
|
return result;
|
|
6449
6449
|
}
|
|
6450
|
-
function normalizeObjectFunctions(target) {
|
|
6450
|
+
function normalizeObjectFunctions(target, seen = /* @__PURE__ */ new WeakMap()) {
|
|
6451
|
+
if (typeof target !== "object" || target === null) {
|
|
6452
|
+
return target;
|
|
6453
|
+
}
|
|
6454
|
+
if (seen.has(target)) {
|
|
6455
|
+
return seen.get(target);
|
|
6456
|
+
}
|
|
6451
6457
|
if (Array.isArray(target)) {
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
for (
|
|
6458
|
+
const arr = [];
|
|
6459
|
+
seen.set(target, arr);
|
|
6460
|
+
for (let i = 0; i < target.length; i++) {
|
|
6461
|
+
arr.push(normalizeObjectFunctions(target[i], seen));
|
|
6462
|
+
}
|
|
6463
|
+
return arr;
|
|
6464
|
+
}
|
|
6465
|
+
const obj = {};
|
|
6466
|
+
seen.set(target, obj);
|
|
6467
|
+
for (const key in target) {
|
|
6468
|
+
if (Object.hasOwn(target, key)) {
|
|
6455
6469
|
if (typeof target[key] === "function") {
|
|
6456
|
-
if (target[key].__normalized) continue;
|
|
6457
6470
|
const normalizedString = normalizeFunction(target[key]);
|
|
6458
6471
|
const originalFunction = target[key];
|
|
6459
|
-
|
|
6472
|
+
const wrapper = function() {
|
|
6460
6473
|
return originalFunction.apply(this, arguments);
|
|
6461
6474
|
};
|
|
6462
|
-
|
|
6463
|
-
|
|
6475
|
+
wrapper.toString = () => normalizedString;
|
|
6476
|
+
obj[key] = wrapper;
|
|
6464
6477
|
} else {
|
|
6465
|
-
normalizeObjectFunctions(target[key]);
|
|
6478
|
+
obj[key] = normalizeObjectFunctions(target[key], seen);
|
|
6466
6479
|
}
|
|
6467
6480
|
}
|
|
6468
6481
|
}
|
|
6482
|
+
return obj;
|
|
6469
6483
|
}
|
|
6470
6484
|
function hasObjectKeys(obj) {
|
|
6471
6485
|
return obj && typeof obj === "object" && Object.keys(obj).length > 0;
|
|
@@ -6497,10 +6511,10 @@ function normalizeFunction(func) {
|
|
|
6497
6511
|
if (header.startsWith("async get ") || header.startsWith("async set ")) {
|
|
6498
6512
|
return original;
|
|
6499
6513
|
}
|
|
6500
|
-
return original.replace(/^async\s+([$\w]+)\s*\(/, "async function
|
|
6514
|
+
return original.replace(/^async\s+([$\w]+)\s*\(/, "async function(");
|
|
6501
6515
|
} else {
|
|
6502
6516
|
if (header.startsWith("get ") || header.startsWith("set ")) return original;
|
|
6503
|
-
return original.replace(/^([$\w]+)\s*\(/, "function
|
|
6517
|
+
return original.replace(/^([$\w]+)\s*\(/, "function(");
|
|
6504
6518
|
}
|
|
6505
6519
|
}
|
|
6506
6520
|
function cloneNode(nodeMap, node, parent) {
|
|
@@ -7034,18 +7048,16 @@ async function getHtmlFiles({
|
|
|
7034
7048
|
continue;
|
|
7035
7049
|
}
|
|
7036
7050
|
if (entry.isDirectory() && recursive) {
|
|
7037
|
-
tasks.push(
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
limit
|
|
7048
|
-
});
|
|
7051
|
+
tasks.push(getHtmlFiles({
|
|
7052
|
+
path: pathname,
|
|
7053
|
+
type,
|
|
7054
|
+
recursive,
|
|
7055
|
+
exclude,
|
|
7056
|
+
onFileSet,
|
|
7057
|
+
onFileUpdate,
|
|
7058
|
+
onFileDelete,
|
|
7059
|
+
collection,
|
|
7060
|
+
limit
|
|
7049
7061
|
}));
|
|
7050
7062
|
} else if (entry.isFile() && extname(entry.name).toLowerCase() === ".html") {
|
|
7051
7063
|
tasks.push(limit(async () => {
|
|
@@ -9691,10 +9703,10 @@ ScriptManager.prototype.compileAllInstances = async function(instances, mode) {
|
|
|
9691
9703
|
entryCodeParts.push("const coraliteComponentDefaults = {\n");
|
|
9692
9704
|
for (const key of processedComponentKeys) {
|
|
9693
9705
|
if (this.sharedFunctions[key] && this.sharedFunctions[key].defaultValues) {
|
|
9694
|
-
normalizeObjectFunctions(this.sharedFunctions[key].defaultValues);
|
|
9706
|
+
const normalizedDefaults = normalizeObjectFunctions(this.sharedFunctions[key].defaultValues);
|
|
9695
9707
|
entryCodeParts.push(` "${key}": (() => {
|
|
9696
9708
|
`);
|
|
9697
|
-
entryCodeParts.push(` const defaults = ${serialize(
|
|
9709
|
+
entryCodeParts.push(` const defaults = ${serialize(normalizedDefaults)};
|
|
9698
9710
|
`);
|
|
9699
9711
|
entryCodeParts.push(` return defaults;
|
|
9700
9712
|
`);
|
|
@@ -9792,12 +9804,17 @@ ScriptManager.prototype.compileAllInstances = async function(instances, mode) {
|
|
|
9792
9804
|
refs: []
|
|
9793
9805
|
});
|
|
9794
9806
|
const styles = JSON.stringify(this.sharedFunctions[componentId].styles || "");
|
|
9807
|
+
let normalizedDefaults = this.sharedFunctions[componentId].defaultValues || {};
|
|
9795
9808
|
if (this.sharedFunctions[componentId].defaultValues) {
|
|
9796
|
-
normalizeObjectFunctions(this.sharedFunctions[componentId].defaultValues);
|
|
9809
|
+
normalizedDefaults = normalizeObjectFunctions(this.sharedFunctions[componentId].defaultValues);
|
|
9797
9810
|
}
|
|
9798
|
-
const defaults = serialize(
|
|
9811
|
+
const defaults = serialize(normalizedDefaults);
|
|
9799
9812
|
const dependencies = JSON.stringify(this.sharedFunctions[componentId].components || []);
|
|
9800
|
-
|
|
9813
|
+
let normalizedSlots = this.sharedFunctions[componentId].slots || {};
|
|
9814
|
+
if (this.sharedFunctions[componentId].slots) {
|
|
9815
|
+
normalizedSlots = normalizeObjectFunctions(this.sharedFunctions[componentId].slots);
|
|
9816
|
+
}
|
|
9817
|
+
const slots = serialize(normalizedSlots);
|
|
9801
9818
|
componentEntryCode += `
|
|
9802
9819
|
export default {
|
|
9803
9820
|
componentId: "${componentId}",
|
|
@@ -11271,16 +11288,26 @@ const globalSetupValuesPromise = getSetups(globalContext);
|
|
|
11271
11288
|
|
|
11272
11289
|
// Capture light DOM children
|
|
11273
11290
|
const childNodes = Array.from(this.childNodes);
|
|
11291
|
+
|
|
11274
11292
|
for (let i = 0; i < childNodes.length; i++) {
|
|
11275
11293
|
const child = childNodes[i];
|
|
11276
11294
|
const slotName = (child.getAttribute && child.getAttribute('slot')) || 'default';
|
|
11295
|
+
|
|
11277
11296
|
if (!this._lightDomSlots[slotName]) {
|
|
11278
11297
|
this._lightDomSlots[slotName] = [];
|
|
11279
11298
|
}
|
|
11299
|
+
|
|
11280
11300
|
this._lightDomSlots[slotName].push(child);
|
|
11301
|
+
|
|
11302
|
+
// Hide the nodes so they don't cause FOUC
|
|
11303
|
+
if (child.nodeType === 1) {
|
|
11304
|
+
child.__coralite_orig_display = child.style.display;
|
|
11305
|
+
child.style.display = 'none';
|
|
11306
|
+
} else if (child.nodeType === 3) { // TEXT_NODE
|
|
11307
|
+
child.__coralite_orig_text = child.textContent;
|
|
11308
|
+
child.textContent = '';
|
|
11309
|
+
}
|
|
11281
11310
|
}
|
|
11282
|
-
// Clear the innerHTML to detach the captured nodes so they aren't destroyed
|
|
11283
|
-
this.innerHTML = '';
|
|
11284
11311
|
}
|
|
11285
11312
|
|
|
11286
11313
|
// Extract attributes to values
|
|
@@ -11469,9 +11496,17 @@ const globalSetupValuesPromise = getSetups(globalContext);
|
|
|
11469
11496
|
|
|
11470
11497
|
if (projectedNodes && projectedNodes.length > 0) {
|
|
11471
11498
|
// We have content to project, clear the fallback content
|
|
11472
|
-
slot.
|
|
11499
|
+
slot.replaceChildren();
|
|
11473
11500
|
// Append original nodes
|
|
11474
11501
|
for (let j = 0; j < projectedNodes.length; j++) {
|
|
11502
|
+
// Restore original visibility before re-inserting
|
|
11503
|
+
if (projectedNodes[j].nodeType === 1 && projectedNodes[j].hasOwnProperty('__coralite_orig_display')) {
|
|
11504
|
+
projectedNodes[j].style.display = projectedNodes[j].__coralite_orig_display;
|
|
11505
|
+
delete projectedNodes[j].__coralite_orig_display;
|
|
11506
|
+
} else if (projectedNodes[j].nodeType === 3 && projectedNodes[j].hasOwnProperty('__coralite_orig_text')) {
|
|
11507
|
+
projectedNodes[j].textContent = projectedNodes[j].__coralite_orig_text;
|
|
11508
|
+
delete projectedNodes[j].__coralite_orig_text;
|
|
11509
|
+
}
|
|
11475
11510
|
// Re-insert original nodes to preserve their state and event listeners across re-renders
|
|
11476
11511
|
slot.parentNode.insertBefore(projectedNodes[j], slot);
|
|
11477
11512
|
}
|
|
@@ -11556,12 +11591,13 @@ const globalSetupValuesPromise = getSetups(globalContext);
|
|
|
11556
11591
|
};
|
|
11557
11592
|
context.root = window.document;
|
|
11558
11593
|
const setupValues = await globalSetupValuesPromise;
|
|
11559
|
-
context.values = { ...context.values, ...setupValues };
|
|
11560
11594
|
const helpers = await getHelpers(context);
|
|
11561
11595
|
context.helpers = helpers;
|
|
11562
11596
|
|
|
11563
11597
|
const module = await import('${base2}assets/js/${scriptResult.manifest[instance.componentId]}');
|
|
11564
11598
|
|
|
11599
|
+
context.values = { ...module.default.defaultValues, ...context.values, ...setupValues };
|
|
11600
|
+
|
|
11565
11601
|
// Explicitly load declarative script dependencies if any
|
|
11566
11602
|
const deps = module.default.dependencies || [];
|
|
11567
11603
|
if (deps.length > 0) {
|
|
@@ -11836,7 +11872,6 @@ Coralite.prototype._processDependentComponents = async function(componentIds, re
|
|
|
11836
11872
|
};
|
|
11837
11873
|
let nestedComponents = [];
|
|
11838
11874
|
let defaultValues = {};
|
|
11839
|
-
let slots = {};
|
|
11840
11875
|
if (scriptResult.__script__) {
|
|
11841
11876
|
const extractedScript = findAndExtractScript(module.script);
|
|
11842
11877
|
if (extractedScript) {
|
|
@@ -11849,7 +11884,9 @@ Coralite.prototype._processDependentComponents = async function(componentIds, re
|
|
|
11849
11884
|
nestedComponents = Array.from(/* @__PURE__ */ new Set([...scriptComponents, ...declarativeComponents]));
|
|
11850
11885
|
scriptObj.components = nestedComponents;
|
|
11851
11886
|
defaultValues = scriptResult.__script__.defaultValues || {};
|
|
11852
|
-
|
|
11887
|
+
if (scriptResult.__script__.slots) {
|
|
11888
|
+
scriptObj.slots = scriptResult.__script__.slots;
|
|
11889
|
+
}
|
|
11853
11890
|
delete scriptResult.__script__;
|
|
11854
11891
|
} else {
|
|
11855
11892
|
const declarativeComponents = (module.customElements || []).map((el) => el.name);
|
|
@@ -11898,7 +11935,7 @@ Coralite.prototype._processDependentComponents = async function(componentIds, re
|
|
|
11898
11935
|
templateValues,
|
|
11899
11936
|
defaultValues,
|
|
11900
11937
|
styles: stylesHTML,
|
|
11901
|
-
slots
|
|
11938
|
+
slots: scriptObj.slots || {}
|
|
11902
11939
|
});
|
|
11903
11940
|
if (nestedComponents.length > 0) {
|
|
11904
11941
|
await this._processDependentComponents(nestedComponents, renderContext, parentComponent);
|