@almadar/ui 2.48.7 → 2.48.9
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 +1 -2
- package/dist/avl/index.js +2 -3
- package/dist/runtime/index.cjs +1 -2
- package/dist/runtime/index.js +2 -3
- package/package.json +3 -3
package/dist/avl/index.cjs
CHANGED
|
@@ -47102,8 +47102,6 @@ function ServerBridgeProvider({
|
|
|
47102
47102
|
}, [schema, registerSchema, unregisterSchema]);
|
|
47103
47103
|
return /* @__PURE__ */ jsxRuntime.jsx(ServerBridgeContext.Provider, { value: { connected, sendEvent }, children });
|
|
47104
47104
|
}
|
|
47105
|
-
|
|
47106
|
-
// runtime/prepareSchemaForPreview.ts
|
|
47107
47105
|
function generateEntityRow(entity, idx) {
|
|
47108
47106
|
const row = { id: String(idx) };
|
|
47109
47107
|
for (const f3 of entity.fields) {
|
|
@@ -47132,6 +47130,7 @@ function buildMockData(schema) {
|
|
|
47132
47130
|
for (const orbital of schema.orbitals) {
|
|
47133
47131
|
const entity = orbital.entity;
|
|
47134
47132
|
if (!entity || typeof entity === "string") continue;
|
|
47133
|
+
if (core.isEntityCall(entity)) continue;
|
|
47135
47134
|
const entityName = entity.name;
|
|
47136
47135
|
if (!entityName) continue;
|
|
47137
47136
|
if (entity.instances && entity.instances.length > 0) {
|
package/dist/avl/index.js
CHANGED
|
@@ -41,7 +41,7 @@ import langDiff from 'react-syntax-highlighter/dist/esm/languages/prism/diff';
|
|
|
41
41
|
import langToml from 'react-syntax-highlighter/dist/esm/languages/prism/toml';
|
|
42
42
|
import langGo from 'react-syntax-highlighter/dist/esm/languages/prism/go';
|
|
43
43
|
import langGraphql from 'react-syntax-highlighter/dist/esm/languages/prism/graphql';
|
|
44
|
-
import { FieldTypeSchema, schemaToIR, getPage, isCircuitEvent } from '@almadar/core';
|
|
44
|
+
import { FieldTypeSchema, isEntityCall, schemaToIR, getPage, isCircuitEvent } from '@almadar/core';
|
|
45
45
|
import '@tanstack/react-query';
|
|
46
46
|
import { StateMachineManager, createContextFromBindings, interpolateValue, EffectExecutor } from '@almadar/runtime';
|
|
47
47
|
|
|
@@ -47056,8 +47056,6 @@ function ServerBridgeProvider({
|
|
|
47056
47056
|
}, [schema, registerSchema, unregisterSchema]);
|
|
47057
47057
|
return /* @__PURE__ */ jsx(ServerBridgeContext.Provider, { value: { connected, sendEvent }, children });
|
|
47058
47058
|
}
|
|
47059
|
-
|
|
47060
|
-
// runtime/prepareSchemaForPreview.ts
|
|
47061
47059
|
function generateEntityRow(entity, idx) {
|
|
47062
47060
|
const row = { id: String(idx) };
|
|
47063
47061
|
for (const f3 of entity.fields) {
|
|
@@ -47086,6 +47084,7 @@ function buildMockData(schema) {
|
|
|
47086
47084
|
for (const orbital of schema.orbitals) {
|
|
47087
47085
|
const entity = orbital.entity;
|
|
47088
47086
|
if (!entity || typeof entity === "string") continue;
|
|
47087
|
+
if (isEntityCall(entity)) continue;
|
|
47089
47088
|
const entityName = entity.name;
|
|
47090
47089
|
if (!entityName) continue;
|
|
47091
47090
|
if (entity.instances && entity.instances.length > 0) {
|
package/dist/runtime/index.cjs
CHANGED
|
@@ -33741,8 +33741,6 @@ function ServerBridgeProvider({
|
|
|
33741
33741
|
}, [schema, registerSchema, unregisterSchema]);
|
|
33742
33742
|
return /* @__PURE__ */ jsxRuntime.jsx(ServerBridgeContext.Provider, { value: { connected, sendEvent }, children });
|
|
33743
33743
|
}
|
|
33744
|
-
|
|
33745
|
-
// runtime/prepareSchemaForPreview.ts
|
|
33746
33744
|
function generateEntityRow(entity, idx) {
|
|
33747
33745
|
const row = { id: String(idx) };
|
|
33748
33746
|
for (const f3 of entity.fields) {
|
|
@@ -33771,6 +33769,7 @@ function buildMockData(schema) {
|
|
|
33771
33769
|
for (const orbital of schema.orbitals) {
|
|
33772
33770
|
const entity = orbital.entity;
|
|
33773
33771
|
if (!entity || typeof entity === "string") continue;
|
|
33772
|
+
if (core.isEntityCall(entity)) continue;
|
|
33774
33773
|
const entityName = entity.name;
|
|
33775
33774
|
if (!entityName) continue;
|
|
33776
33775
|
if (entity.instances && entity.instances.length > 0) {
|
package/dist/runtime/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { clsx } from 'clsx';
|
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
import '@tanstack/react-query';
|
|
8
|
-
import { isCircuitEvent, schemaToIR, getPage, clearSchemaCache as clearSchemaCache$1 } from '@almadar/core';
|
|
8
|
+
import { isCircuitEvent, schemaToIR, getPage, clearSchemaCache as clearSchemaCache$1, isEntityCall } from '@almadar/core';
|
|
9
9
|
import { StateMachineManager, createContextFromBindings, interpolateValue, EffectExecutor } from '@almadar/runtime';
|
|
10
10
|
import { UISlotProvider, useUISlots } from '@almadar/ui/context';
|
|
11
11
|
import { createPortal } from 'react-dom';
|
|
@@ -33696,8 +33696,6 @@ function ServerBridgeProvider({
|
|
|
33696
33696
|
}, [schema, registerSchema, unregisterSchema]);
|
|
33697
33697
|
return /* @__PURE__ */ jsx(ServerBridgeContext.Provider, { value: { connected, sendEvent }, children });
|
|
33698
33698
|
}
|
|
33699
|
-
|
|
33700
|
-
// runtime/prepareSchemaForPreview.ts
|
|
33701
33699
|
function generateEntityRow(entity, idx) {
|
|
33702
33700
|
const row = { id: String(idx) };
|
|
33703
33701
|
for (const f3 of entity.fields) {
|
|
@@ -33726,6 +33724,7 @@ function buildMockData(schema) {
|
|
|
33726
33724
|
for (const orbital of schema.orbitals) {
|
|
33727
33725
|
const entity = orbital.entity;
|
|
33728
33726
|
if (!entity || typeof entity === "string") continue;
|
|
33727
|
+
if (isEntityCall(entity)) continue;
|
|
33729
33728
|
const entityName = entity.name;
|
|
33730
33729
|
if (!entityName) continue;
|
|
33731
33730
|
if (entity.instances && entity.instances.length > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@almadar/ui",
|
|
3
|
-
"version": "2.48.
|
|
3
|
+
"version": "2.48.9",
|
|
4
4
|
"description": "React UI components, hooks, and providers for Almadar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/components/index.js",
|
|
@@ -118,10 +118,10 @@
|
|
|
118
118
|
"access": "public"
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
|
-
"@almadar/core": ">=2.
|
|
121
|
+
"@almadar/core": ">=4.2.0",
|
|
122
122
|
"@almadar/evaluator": ">=2.5.4",
|
|
123
123
|
"@almadar/patterns": ">=2.10.0",
|
|
124
|
-
"@almadar/std": ">=
|
|
124
|
+
"@almadar/std": ">=5.2.0",
|
|
125
125
|
"@almadar/syntax": ">=1.1.0",
|
|
126
126
|
"@almadar/runtime": ">=2.0.0",
|
|
127
127
|
"@xyflow/react": "12.10.1",
|