@almadar/ui 4.54.0 → 4.54.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 +3 -2
- package/dist/avl/index.js +3 -2
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -60450,12 +60450,13 @@ var OrbPreviewNodeInner = (props) => {
|
|
|
60450
60450
|
const eventSources = data.eventSources ?? [];
|
|
60451
60451
|
const layerColor = data.layer ? LAYER_COLORS[data.layer] : void 0;
|
|
60452
60452
|
const isExpanded = Boolean(data.traitName);
|
|
60453
|
+
const isImportedGroup = Boolean(data.behaviorAlias);
|
|
60453
60454
|
const status = data.status ?? "idle";
|
|
60454
60455
|
const isRunning = status === "running";
|
|
60455
60456
|
const isSuccess = status === "success";
|
|
60456
60457
|
const isError = status === "error";
|
|
60457
|
-
const label = isExpanded ? `${data.transitionEvent ?? ""}` : data.orbitalName;
|
|
60458
|
-
const sublabel = isExpanded ? `${data.fromState ?? ""} \u2192 ${data.toState ?? ""}` : data.entityName ?? "";
|
|
60458
|
+
const label = isImportedGroup ? data.behaviorAlias ?? "" : isExpanded ? `${data.transitionEvent ?? ""}` : data.orbitalName;
|
|
60459
|
+
const sublabel = isImportedGroup ? `${data.behaviorName ?? ""}${typeof data.transitionCount === "number" && data.transitionCount > 1 ? ` \xB7 ${data.transitionCount} screens` : ""}` : isExpanded ? `${data.fromState ?? ""} \u2192 ${data.toState ?? ""}` : data.entityName ?? "";
|
|
60459
60460
|
const orbitalSchema = React96.useMemo(() => {
|
|
60460
60461
|
const fullSchema = data._fullSchema;
|
|
60461
60462
|
if (!fullSchema) return void 0;
|
package/dist/avl/index.js
CHANGED
|
@@ -60404,12 +60404,13 @@ var OrbPreviewNodeInner = (props) => {
|
|
|
60404
60404
|
const eventSources = data.eventSources ?? [];
|
|
60405
60405
|
const layerColor = data.layer ? LAYER_COLORS[data.layer] : void 0;
|
|
60406
60406
|
const isExpanded = Boolean(data.traitName);
|
|
60407
|
+
const isImportedGroup = Boolean(data.behaviorAlias);
|
|
60407
60408
|
const status = data.status ?? "idle";
|
|
60408
60409
|
const isRunning = status === "running";
|
|
60409
60410
|
const isSuccess = status === "success";
|
|
60410
60411
|
const isError = status === "error";
|
|
60411
|
-
const label = isExpanded ? `${data.transitionEvent ?? ""}` : data.orbitalName;
|
|
60412
|
-
const sublabel = isExpanded ? `${data.fromState ?? ""} \u2192 ${data.toState ?? ""}` : data.entityName ?? "";
|
|
60412
|
+
const label = isImportedGroup ? data.behaviorAlias ?? "" : isExpanded ? `${data.transitionEvent ?? ""}` : data.orbitalName;
|
|
60413
|
+
const sublabel = isImportedGroup ? `${data.behaviorName ?? ""}${typeof data.transitionCount === "number" && data.transitionCount > 1 ? ` \xB7 ${data.transitionCount} screens` : ""}` : isExpanded ? `${data.fromState ?? ""} \u2192 ${data.toState ?? ""}` : data.entityName ?? "";
|
|
60413
60414
|
const orbitalSchema = useMemo(() => {
|
|
60414
60415
|
const fullSchema = data._fullSchema;
|
|
60415
60416
|
if (!fullSchema) return void 0;
|