@adaas/are-html 0.0.17 → 0.0.19
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/browser/index.mjs +14 -12
- package/dist/browser/index.mjs.map +1 -1
- package/dist/node/lib/AreRoot/AreRoot.component.js +14 -12
- package/dist/node/lib/AreRoot/AreRoot.component.js.map +1 -1
- package/dist/node/lib/AreRoot/AreRoot.component.mjs +14 -12
- package/dist/node/lib/AreRoot/AreRoot.component.mjs.map +1 -1
- package/examples/dashboard/dist/index.html +1 -1
- package/examples/dashboard/dist/{mppzjw80-9gwa4h.js → mq19zxz4-mnlgmd.js} +4053 -3265
- package/examples/jumpstart/concept.ts +3 -2
- package/examples/jumpstart/dist/index.html +1 -1
- package/examples/jumpstart/dist/{mppwx932-xbmb0x.js → mq1a0fv0-ccgtz6.js} +4112 -3232
- package/examples/jumpstart/src/concept.ts +1 -1
- package/examples/signal-routing/dist/index.html +1 -1
- package/examples/signal-routing/dist/{mpq6u1wz-2pkqe2.js → mq1bzrik-4lec86.js} +3949 -3221
- package/jest.config.ts +0 -22
- package/package.json +9 -9
- package/src/lib/AreRoot/AreRoot.component.ts +28 -17
package/dist/browser/index.mjs
CHANGED
|
@@ -2200,12 +2200,13 @@ var AreRoot = class extends Are {
|
|
|
2200
2200
|
let renderTarget = signalsContext?.findComponentByVector(rootId, initialVector);
|
|
2201
2201
|
if (!renderTarget) {
|
|
2202
2202
|
const signalsMeta = A_Context.meta(AreSignals);
|
|
2203
|
-
const
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2203
|
+
const pool = signalsContext?.getComponentById(rootId);
|
|
2204
|
+
const metaTarget = signalsMeta?.findComponentByVector(
|
|
2205
|
+
initialVector,
|
|
2206
|
+
pool?.length ? pool : void 0
|
|
2207
|
+
);
|
|
2208
|
+
if (metaTarget && (!pool?.length || pool.includes(metaTarget))) {
|
|
2209
|
+
renderTarget = metaTarget;
|
|
2209
2210
|
}
|
|
2210
2211
|
}
|
|
2211
2212
|
if (renderTarget?.name) {
|
|
@@ -2241,12 +2242,13 @@ var AreRoot = class extends Are {
|
|
|
2241
2242
|
let renderTarget = signalsContext?.findComponentByVector(rootId, vector);
|
|
2242
2243
|
if (!renderTarget) {
|
|
2243
2244
|
const signalsMeta = A_Context.meta(AreSignals);
|
|
2244
|
-
const
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2245
|
+
const pool = signalsContext?.getComponentById(rootId);
|
|
2246
|
+
const metaTarget = signalsMeta?.findComponentByVector(
|
|
2247
|
+
vector,
|
|
2248
|
+
pool?.length ? pool : void 0
|
|
2249
|
+
);
|
|
2250
|
+
if (metaTarget && (!pool?.length || pool.includes(metaTarget))) {
|
|
2251
|
+
renderTarget = metaTarget;
|
|
2250
2252
|
}
|
|
2251
2253
|
}
|
|
2252
2254
|
const def = signalsContext?.getDefault(rootId);
|