@syntrologie/runtime-sdk 2.8.0-canary.152 → 2.8.0-canary.153
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/actions/schema.js +3 -3
- package/dist/adaptives/adaptive-viz/index.js +2 -2
- package/dist/adaptives/adaptive-viz/index.js.map +2 -2
- package/dist/{chunk-F4KOCMOU.js → chunk-IZZQFSJ5.js} +2 -2
- package/dist/{chunk-3WJ66MOS.js → chunk-OGJKQFQZ.js} +9 -1
- package/dist/chunk-OGJKQFQZ.js.map +7 -0
- package/dist/{chunk-DRPJPBQS.js → chunk-RD3TLE4K.js} +3 -3
- package/dist/config/schema.js +2 -2
- package/dist/decisions/schema.js +1 -1
- package/dist/index.js +17 -6
- package/dist/index.js.map +2 -2
- package/dist/smart-canvas.esm.js +57 -57
- package/dist/smart-canvas.esm.js.map +3 -3
- package/dist/smart-canvas.js +23 -4
- package/dist/smart-canvas.js.map +2 -2
- package/dist/smart-canvas.min.js +57 -57
- package/dist/smart-canvas.min.js.map +3 -3
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-3WJ66MOS.js.map +0 -7
- /package/dist/{chunk-F4KOCMOU.js.map → chunk-IZZQFSJ5.js.map} +0 -0
- /package/dist/{chunk-DRPJPBQS.js.map → chunk-RD3TLE4K.js.map} +0 -0
package/dist/smart-canvas.js
CHANGED
|
@@ -8040,6 +8040,14 @@ Please report this to https://github.com/markedjs/marked.`, e9) {
|
|
|
8040
8040
|
'<path d="m3.3 7 8.7 5 8.7-5"/>',
|
|
8041
8041
|
'<path d="m7.5 4.27 9 5.15"/>'
|
|
8042
8042
|
],
|
|
8043
|
+
"\u{1F69A}": [
|
|
8044
|
+
// Lucide truck
|
|
8045
|
+
'<path d="M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2"/>',
|
|
8046
|
+
'<path d="M15 18H9"/>',
|
|
8047
|
+
'<path d="M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14"/>',
|
|
8048
|
+
'<circle cx="17" cy="18" r="2"/>',
|
|
8049
|
+
'<circle cx="7" cy="18" r="2"/>'
|
|
8050
|
+
],
|
|
8043
8051
|
"\u{1F331}": [
|
|
8044
8052
|
'<path d="M7 20h10"/>',
|
|
8045
8053
|
'<path d="M10 20c5.5-2.5.8-6.4 3-10"/>',
|
|
@@ -14696,7 +14704,7 @@ Please report this to https://github.com/markedjs/marked.`, e9) {
|
|
|
14696
14704
|
}
|
|
14697
14705
|
|
|
14698
14706
|
// src/version.ts
|
|
14699
|
-
var SDK_VERSION = "2.8.0-canary.
|
|
14707
|
+
var SDK_VERSION = "2.8.0-canary.153";
|
|
14700
14708
|
|
|
14701
14709
|
// src/types.ts
|
|
14702
14710
|
var SDK_SCHEMA_VERSION = "2.0";
|
|
@@ -15455,7 +15463,7 @@ ${cssRules}
|
|
|
15455
15463
|
tracker.trackTriggered(tile.id, tile.widget ?? "unknown");
|
|
15456
15464
|
}
|
|
15457
15465
|
}
|
|
15458
|
-
var _controller, _controllerUnsub, _overlayContainer, _portalRoot, _batchHandle, _adoptedInitial, _runVersion, _rawConfig, _prevActionsJson, _derivedFetcher, _experimentUnsub, _accumulatorUnsub, _contextUnsub, _eventBusUnsub, _onUrlChange, _themeCtrl, _runtimeProvider, _SmartCanvasElementLit_instances, rebuildFetcher_fn, buildFetcherOptions_fn, _loadConfigVersion, refilterTiles_fn, runActionLifecycle_fn, startUrlTracking_fn, stopUrlTracking_fn, subscribeRuntimeReactivity_fn, unsubscribeRuntimeReactivity_fn, subscribeCanvasRequestOpen_fn, _onCanvasToggle;
|
|
15466
|
+
var _controller, _controllerUnsub, _overlayContainer, _portalRoot, _batchHandle, _adoptedInitial, _runVersion, _rawConfig, _prevActionsJson, _prevTilesJson, _derivedFetcher, _experimentUnsub, _accumulatorUnsub, _contextUnsub, _eventBusUnsub, _onUrlChange, _themeCtrl, _runtimeProvider, _SmartCanvasElementLit_instances, rebuildFetcher_fn, buildFetcherOptions_fn, _loadConfigVersion, refilterTiles_fn, runActionLifecycle_fn, startUrlTracking_fn, stopUrlTracking_fn, subscribeRuntimeReactivity_fn, unsubscribeRuntimeReactivity_fn, subscribeCanvasRequestOpen_fn, _onCanvasToggle;
|
|
15459
15467
|
var SmartCanvasElementLit = class extends i4 {
|
|
15460
15468
|
// ---------- Constructor --------------------------------------------------
|
|
15461
15469
|
constructor() {
|
|
@@ -15507,6 +15515,11 @@ ${cssRules}
|
|
|
15507
15515
|
// Config fetch state
|
|
15508
15516
|
__privateAdd(this, _rawConfig, null);
|
|
15509
15517
|
__privateAdd(this, _prevActionsJson, "[]");
|
|
15518
|
+
// Stable JSON snapshot of the rendered tile array. Skips reactive state
|
|
15519
|
+
// updates when a config refresh produces an identical tile set — otherwise
|
|
15520
|
+
// Lit re-mounts every tile on each poll, blowing away widget state like
|
|
15521
|
+
// open FAQ accordion items.
|
|
15522
|
+
__privateAdd(this, _prevTilesJson, "[]");
|
|
15510
15523
|
__privateAdd(this, _derivedFetcher, null);
|
|
15511
15524
|
// Subscriptions
|
|
15512
15525
|
__privateAdd(this, _experimentUnsub, null);
|
|
@@ -15760,7 +15773,12 @@ ${cssRules}
|
|
|
15760
15773
|
if (actionsChanged) {
|
|
15761
15774
|
__privateSet(this, _prevActionsJson, newActionsJson);
|
|
15762
15775
|
}
|
|
15763
|
-
|
|
15776
|
+
const sortedTiles = sortTiles(tiles);
|
|
15777
|
+
const newTilesJson = JSON.stringify(sortedTiles);
|
|
15778
|
+
if (newTilesJson !== __privateGet(this, _prevTilesJson)) {
|
|
15779
|
+
__privateSet(this, _prevTilesJson, newTilesJson);
|
|
15780
|
+
this._tiles = sortedTiles;
|
|
15781
|
+
}
|
|
15764
15782
|
if (actionsChanged) {
|
|
15765
15783
|
this._configActions = newActions;
|
|
15766
15784
|
}
|
|
@@ -15786,6 +15804,7 @@ ${cssRules}
|
|
|
15786
15804
|
_runVersion = new WeakMap();
|
|
15787
15805
|
_rawConfig = new WeakMap();
|
|
15788
15806
|
_prevActionsJson = new WeakMap();
|
|
15807
|
+
_prevTilesJson = new WeakMap();
|
|
15789
15808
|
_derivedFetcher = new WeakMap();
|
|
15790
15809
|
_experimentUnsub = new WeakMap();
|
|
15791
15810
|
_accumulatorUnsub = new WeakMap();
|
|
@@ -31303,7 +31322,7 @@ ${cssRules}
|
|
|
31303
31322
|
}
|
|
31304
31323
|
|
|
31305
31324
|
// src/index.ts
|
|
31306
|
-
var RUNTIME_SDK_BUILD = true ? `${"2026-04-
|
|
31325
|
+
var RUNTIME_SDK_BUILD = true ? `${"2026-04-27T22:03:11.754Z"} (${"d1af7bea56c"})` : "dev";
|
|
31307
31326
|
if (typeof window !== "undefined") {
|
|
31308
31327
|
console.log(`[Syntro Runtime] Build: ${RUNTIME_SDK_BUILD} (Lit)`);
|
|
31309
31328
|
const existing = window.SynOS;
|