@almadar/ui 4.38.0 → 4.38.1
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/avl/index.cjs +8 -8
- package/dist/avl/index.js +8 -8
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -50555,7 +50555,7 @@ function entityNameOf(ref) {
|
|
|
50555
50555
|
if (typeof ref === "string") return ref;
|
|
50556
50556
|
return "name" in ref ? ref.name : void 0;
|
|
50557
50557
|
}
|
|
50558
|
-
var eventHandleLog = createLogger("almadar:ui:
|
|
50558
|
+
var eventHandleLog = createLogger("almadar:ui:nan-coord");
|
|
50559
50559
|
var ScreenSizeContext = React119.createContext("tablet");
|
|
50560
50560
|
var PatternSelectionContext = React119.createContext({ selected: null, select: () => {
|
|
50561
50561
|
} });
|
|
@@ -50584,7 +50584,7 @@ var TARGET_HANDLE_STYLE = {
|
|
|
50584
50584
|
function eventHandleStyle(source) {
|
|
50585
50585
|
const hint = Number.isFinite(source.positionHint) ? source.positionHint : 0.5;
|
|
50586
50586
|
if (hint !== source.positionHint) {
|
|
50587
|
-
eventHandleLog.warn("non-finite positionHint on PatternEventSource", {
|
|
50587
|
+
eventHandleLog.warn("orb-preview-handle: non-finite positionHint on PatternEventSource", {
|
|
50588
50588
|
event: source.event,
|
|
50589
50589
|
patternType: source.patternType,
|
|
50590
50590
|
label: source.label,
|
|
@@ -51015,7 +51015,7 @@ OrbPreviewNode.displayName = "OrbPreviewNode";
|
|
|
51015
51015
|
|
|
51016
51016
|
// components/molecules/avl/EventFlowEdge.tsx
|
|
51017
51017
|
init_logger();
|
|
51018
|
-
var edgeLog = createLogger("almadar:ui:
|
|
51018
|
+
var edgeLog = createLogger("almadar:ui:nan-coord");
|
|
51019
51019
|
var EventFlowEdgeInner = (props) => {
|
|
51020
51020
|
const {
|
|
51021
51021
|
id,
|
|
@@ -51035,7 +51035,7 @@ var EventFlowEdgeInner = (props) => {
|
|
|
51035
51035
|
const isBackward = data?.isBackward ?? false;
|
|
51036
51036
|
const isCrossOrbital = data?.isCrossOrbital ?? false;
|
|
51037
51037
|
if (!Number.isFinite(sourceX) || !Number.isFinite(sourceY) || !Number.isFinite(targetX) || !Number.isFinite(targetY)) {
|
|
51038
|
-
edgeLog.warn("non-finite edge coordinates", {
|
|
51038
|
+
edgeLog.warn("event-flow-edge: non-finite edge coordinates", {
|
|
51039
51039
|
edgeId: id,
|
|
51040
51040
|
source,
|
|
51041
51041
|
target,
|
|
@@ -51121,7 +51121,7 @@ init_Box();
|
|
|
51121
51121
|
init_Typography();
|
|
51122
51122
|
init_Badge();
|
|
51123
51123
|
init_logger();
|
|
51124
|
-
var behaviorHandleLog = createLogger("almadar:ui:
|
|
51124
|
+
var behaviorHandleLog = createLogger("almadar:ui:nan-coord");
|
|
51125
51125
|
var LAYER_COLORS2 = {
|
|
51126
51126
|
Infrastructure: "#3B82F6",
|
|
51127
51127
|
Services: "#F59E0B",
|
|
@@ -51141,7 +51141,7 @@ var TARGET_HANDLE_STYLE2 = {
|
|
|
51141
51141
|
function eventHandleStyle2(source) {
|
|
51142
51142
|
const hint = Number.isFinite(source.positionHint) ? source.positionHint : 0.5;
|
|
51143
51143
|
if (hint !== source.positionHint) {
|
|
51144
|
-
behaviorHandleLog.warn("non-finite positionHint on ConnectableEvent", {
|
|
51144
|
+
behaviorHandleLog.warn("behavior-compose-handle: non-finite positionHint on ConnectableEvent", {
|
|
51145
51145
|
event: source.event,
|
|
51146
51146
|
positionHint: source.positionHint
|
|
51147
51147
|
});
|
|
@@ -52645,7 +52645,7 @@ function layoutOrbitals(count, containerW, containerH) {
|
|
|
52645
52645
|
}));
|
|
52646
52646
|
}
|
|
52647
52647
|
var avlOczWireId = 0;
|
|
52648
|
-
var cosmicWireLog = createLogger("almadar:ui:
|
|
52648
|
+
var cosmicWireLog = createLogger("almadar:ui:nan-coord");
|
|
52649
52649
|
var EventWireOverlay = ({
|
|
52650
52650
|
orbitalViews,
|
|
52651
52651
|
crossLinks,
|
|
@@ -52725,7 +52725,7 @@ var EventWireOverlay = ({
|
|
|
52725
52725
|
const { cpx, cpy } = curveControlPoint(x1, y1, x2, y2, offset);
|
|
52726
52726
|
const pathD = `M${x1},${y1} Q${cpx},${cpy} ${x2},${y2}`;
|
|
52727
52727
|
if (!Number.isFinite(x1) || !Number.isFinite(y1) || !Number.isFinite(x2) || !Number.isFinite(y2) || !Number.isFinite(cpx) || !Number.isFinite(cpy)) {
|
|
52728
|
-
cosmicWireLog.warn("non-finite
|
|
52728
|
+
cosmicWireLog.warn("cosmic-zoom-wire: non-finite wire coordinates", {
|
|
52729
52729
|
eventName: link.eventName,
|
|
52730
52730
|
emitterOrbital: link.emitterOrbital,
|
|
52731
52731
|
listenerOrbital: link.listenerOrbital,
|
package/dist/avl/index.js
CHANGED
|
@@ -50509,7 +50509,7 @@ function entityNameOf(ref) {
|
|
|
50509
50509
|
if (typeof ref === "string") return ref;
|
|
50510
50510
|
return "name" in ref ? ref.name : void 0;
|
|
50511
50511
|
}
|
|
50512
|
-
var eventHandleLog = createLogger("almadar:ui:
|
|
50512
|
+
var eventHandleLog = createLogger("almadar:ui:nan-coord");
|
|
50513
50513
|
var ScreenSizeContext = createContext("tablet");
|
|
50514
50514
|
var PatternSelectionContext = createContext({ selected: null, select: () => {
|
|
50515
50515
|
} });
|
|
@@ -50538,7 +50538,7 @@ var TARGET_HANDLE_STYLE = {
|
|
|
50538
50538
|
function eventHandleStyle(source) {
|
|
50539
50539
|
const hint = Number.isFinite(source.positionHint) ? source.positionHint : 0.5;
|
|
50540
50540
|
if (hint !== source.positionHint) {
|
|
50541
|
-
eventHandleLog.warn("non-finite positionHint on PatternEventSource", {
|
|
50541
|
+
eventHandleLog.warn("orb-preview-handle: non-finite positionHint on PatternEventSource", {
|
|
50542
50542
|
event: source.event,
|
|
50543
50543
|
patternType: source.patternType,
|
|
50544
50544
|
label: source.label,
|
|
@@ -50969,7 +50969,7 @@ OrbPreviewNode.displayName = "OrbPreviewNode";
|
|
|
50969
50969
|
|
|
50970
50970
|
// components/molecules/avl/EventFlowEdge.tsx
|
|
50971
50971
|
init_logger();
|
|
50972
|
-
var edgeLog = createLogger("almadar:ui:
|
|
50972
|
+
var edgeLog = createLogger("almadar:ui:nan-coord");
|
|
50973
50973
|
var EventFlowEdgeInner = (props) => {
|
|
50974
50974
|
const {
|
|
50975
50975
|
id,
|
|
@@ -50989,7 +50989,7 @@ var EventFlowEdgeInner = (props) => {
|
|
|
50989
50989
|
const isBackward = data?.isBackward ?? false;
|
|
50990
50990
|
const isCrossOrbital = data?.isCrossOrbital ?? false;
|
|
50991
50991
|
if (!Number.isFinite(sourceX) || !Number.isFinite(sourceY) || !Number.isFinite(targetX) || !Number.isFinite(targetY)) {
|
|
50992
|
-
edgeLog.warn("non-finite edge coordinates", {
|
|
50992
|
+
edgeLog.warn("event-flow-edge: non-finite edge coordinates", {
|
|
50993
50993
|
edgeId: id,
|
|
50994
50994
|
source,
|
|
50995
50995
|
target,
|
|
@@ -51075,7 +51075,7 @@ init_Box();
|
|
|
51075
51075
|
init_Typography();
|
|
51076
51076
|
init_Badge();
|
|
51077
51077
|
init_logger();
|
|
51078
|
-
var behaviorHandleLog = createLogger("almadar:ui:
|
|
51078
|
+
var behaviorHandleLog = createLogger("almadar:ui:nan-coord");
|
|
51079
51079
|
var LAYER_COLORS2 = {
|
|
51080
51080
|
Infrastructure: "#3B82F6",
|
|
51081
51081
|
Services: "#F59E0B",
|
|
@@ -51095,7 +51095,7 @@ var TARGET_HANDLE_STYLE2 = {
|
|
|
51095
51095
|
function eventHandleStyle2(source) {
|
|
51096
51096
|
const hint = Number.isFinite(source.positionHint) ? source.positionHint : 0.5;
|
|
51097
51097
|
if (hint !== source.positionHint) {
|
|
51098
|
-
behaviorHandleLog.warn("non-finite positionHint on ConnectableEvent", {
|
|
51098
|
+
behaviorHandleLog.warn("behavior-compose-handle: non-finite positionHint on ConnectableEvent", {
|
|
51099
51099
|
event: source.event,
|
|
51100
51100
|
positionHint: source.positionHint
|
|
51101
51101
|
});
|
|
@@ -52599,7 +52599,7 @@ function layoutOrbitals(count, containerW, containerH) {
|
|
|
52599
52599
|
}));
|
|
52600
52600
|
}
|
|
52601
52601
|
var avlOczWireId = 0;
|
|
52602
|
-
var cosmicWireLog = createLogger("almadar:ui:
|
|
52602
|
+
var cosmicWireLog = createLogger("almadar:ui:nan-coord");
|
|
52603
52603
|
var EventWireOverlay = ({
|
|
52604
52604
|
orbitalViews,
|
|
52605
52605
|
crossLinks,
|
|
@@ -52679,7 +52679,7 @@ var EventWireOverlay = ({
|
|
|
52679
52679
|
const { cpx, cpy } = curveControlPoint(x1, y1, x2, y2, offset);
|
|
52680
52680
|
const pathD = `M${x1},${y1} Q${cpx},${cpy} ${x2},${y2}`;
|
|
52681
52681
|
if (!Number.isFinite(x1) || !Number.isFinite(y1) || !Number.isFinite(x2) || !Number.isFinite(y2) || !Number.isFinite(cpx) || !Number.isFinite(cpy)) {
|
|
52682
|
-
cosmicWireLog.warn("non-finite
|
|
52682
|
+
cosmicWireLog.warn("cosmic-zoom-wire: non-finite wire coordinates", {
|
|
52683
52683
|
eventName: link.eventName,
|
|
52684
52684
|
emitterOrbital: link.emitterOrbital,
|
|
52685
52685
|
listenerOrbital: link.listenerOrbital,
|