@almadar/ui 6.53.1 → 6.54.0
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/Typography-CFI7JUVE.js +5 -0
- package/dist/{UISlotRenderer-P7A4SZSK.js → UISlotRenderer-QUEG6WFM.js} +7 -7
- package/dist/avl/index.cjs +709 -970
- package/dist/avl/index.js +24 -20
- package/dist/{avl-3d-context-MAt_NuU9.d.ts → avl-3d-context-BpBKZIbc.d.ts} +1 -0
- package/dist/{chunk-DQTV6QVS.js → chunk-4HC5HRHB.js} +53 -2
- package/dist/{chunk-HB4C27KU.js → chunk-4UP6BZ4R.js} +1 -1
- package/dist/{chunk-UOTYAPV5.js → chunk-FJDS4SVD.js} +3 -3
- package/dist/{chunk-QVXLKFUQ.js → chunk-MCKFWPT2.js} +1 -1
- package/dist/{chunk-7KSLPY56.js → chunk-N2V4LHFQ.js} +1 -0
- package/dist/{chunk-HUG25TT3.js → chunk-U2FGMHQP.js} +448 -885
- package/dist/{chunk-53VTY5CC.js → chunk-U3CGKPOK.js} +253 -92
- package/dist/{chunk-7LM6I3NA.js → chunk-Z5IYJU44.js} +1 -0
- package/dist/{chunk-FUQASYEW.js → chunk-Z7JWXIRE.js} +2 -2
- package/dist/components/index.cjs +449 -879
- package/dist/components/index.d.ts +5 -1
- package/dist/components/index.js +15 -16
- package/dist/context/index.cjs +2 -0
- package/dist/context/index.js +3 -1
- package/dist/hooks/index.cjs +6 -0
- package/dist/hooks/index.d.ts +10 -1
- package/dist/hooks/index.js +3 -4
- package/dist/lib/drawable/three/index.cjs +2 -0
- package/dist/lib/drawable/three/index.d.ts +2 -2
- package/dist/lib/drawable/three/index.js +6 -6
- package/dist/lib/index.cjs +1 -0
- package/dist/lib/index.js +3 -3
- package/dist/locales/index.cjs +3 -0
- package/dist/locales/index.js +3 -1
- package/dist/providers/index.cjs +444 -879
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +8 -8
- package/dist/runtime/index.cjs +3992 -4237
- package/dist/runtime/index.d.ts +22 -4
- package/dist/runtime/index.js +15 -12
- package/dist/ssr/index.cjs +2 -1
- package/dist/ssr/index.js +2 -1
- package/locales/ar.json +1 -0
- package/locales/en.json +1 -0
- package/locales/sl.json +1 -0
- package/package.json +7 -6
- package/scripts/audit-tailwind-safelist.ts +21 -1
- package/tailwind-preset.cjs +5 -6
- package/themes/_fonts.css +6 -4
- package/themes/_presets.css +2 -0
- package/themes/almadar-heritage.css +373 -0
- package/themes/orb.css +373 -0
- package/dist/Typography-7QEWUTW3.js +0 -5
- package/dist/chunk-E37BYSXY.js +0 -51
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { pressableProps, Box, HStack, isAtlasAsset, getAtlas, subRectFor, VStack, createConfettiParticles, CONFETTI_BURST_KEYFRAMES, getStateRole, AVL_INK, AVL_FONT, AVL_STROKE, avlTint, collectDrawnItems, buildHitIndex, resolveAssetSource, blit, withPreviewPosition, hitTestSprites, Stack, DrawableRegistryContext, traitLevelFromTrait, rowOpenControlProps, STRETCHED_ABOVE, STRETCHED_CONTROL, resolveThemeColor, THEME_SERIES, STATE_COLORS, effectCategoryOf, EFFECT_CATEGORY_COLORS, expandFxLayer, paintSkinnedMesh, isValidScenePos, isAnimatedGroup, applyMeshAnimation, paintShape, spriteRect, getOrLoadImage, asEffectOperator, CONNECTION_COLORS,
|
|
2
|
-
import { INLINE_TEXT_ATTR, Typography } from './chunk-
|
|
1
|
+
import { pressableProps, Box, HStack, isAtlasAsset, getAtlas, subRectFor, VStack, createConfettiParticles, CONFETTI_BURST_KEYFRAMES, getStateRole, AVL_INK, AVL_FONT, AVL_STROKE, avlTint, collectDrawnItems, buildHitIndex, resolveAssetSource, blit, withPreviewPosition, hitTestSprites, Stack, DrawableRegistryContext, traitLevelFromTrait, rowOpenControlProps, STRETCHED_ABOVE, STRETCHED_CONTROL, resolveThemeColor, THEME_SERIES, STATE_COLORS, effectCategoryOf, EFFECT_CATEGORY_COLORS, expandFxLayer, paintSkinnedMesh, isValidScenePos, isAnimatedGroup, applyMeshAnimation, paintShape, spriteRect, getOrLoadImage, asEffectOperator, CONNECTION_COLORS, DrawSkinnedMesh, DrawShape, DrawMesh, DrawGroup, DrawFxLayer, isAnimatedShape, spriteAssetState, getImageStatus, atlasUrlOf, atlasFailed, isSpriteSheetAtlas, fxHash01, SPRITE_FALLBACK_FILL, SPRITE_FALLBACK_STROKE } from './chunk-Z5IYJU44.js';
|
|
2
|
+
import { INLINE_TEXT_ATTR, Typography } from './chunk-4UP6BZ4R.js';
|
|
3
3
|
import { usePendingAction, useMediaQuery, useInfiniteScroll, usePrefersReducedMotion, useCanvasGestures, useSwipeGesture, useLongPress, useAuthContext, useQuerySingleton, usePullToRefresh, useDragReorder, usePendingScopeValue, PendingScopeContext, useScopeHasPending, usePendingRows, useDraggable, useDropZone } from './chunk-JRW33U35.js';
|
|
4
4
|
import { useTapReveal } from './chunk-XJTHMW4G.js';
|
|
5
5
|
import { useEventBus, useEventListener } from './chunk-6EV3OEBQ.js';
|
|
6
|
-
import { isPortalSlot } from './chunk-PEST66PN.js';
|
|
7
6
|
import { computeLineDiff, isEditorMotion, applyMotion, isEditorOperator, motionRange, applyOperator, usePresence, isMotionEnabled, gearTeethPath, perfStart, perfEnd, parseMarkdownWithCodeBlocks, getNestedValue, parseContentSegments, resolveImageUrl, debugGroup, debug, debugGroupEnd, isDebugEnabled, isDebugEnabled2, onDebugToggle, Presence, asEnterAnimation, slotPlaysDefaultEnter, useSlotEnterRestart, ENTER_SLOT_CLASS, enterClassName, subscribeToTraitChanges, subscribeToTickChanges, subscribeToGuardChanges, subscribeToDebugEvents, getEntitySnapshot, getDebugEvents, getGuardHistory, getAllTicks, getAllTraits } from './chunk-KQXXO42S.js';
|
|
8
7
|
import { updateAssetStatus, bindCanvasCapture, bindLastDrawables, resolveKeyMapEvent, subscribeToVerification, getSummary, getBridgeHealth, getTransitions, getAllChecks } from './chunk-O7OLVVBR.js';
|
|
9
8
|
import { cn, domPassthrough } from './chunk-64WACXM7.js';
|
|
10
|
-
import { formatValue, sortRows, formatDate, toDateTimeInputValue, toDateInputValue } from './chunk-
|
|
9
|
+
import { formatValue, sortRows, formatDate, toDateTimeInputValue, toDateInputValue } from './chunk-MCKFWPT2.js';
|
|
10
|
+
import { isPortalSlot } from './chunk-PEST66PN.js';
|
|
11
11
|
import { __publicField } from './chunk-QPXIAUJD.js';
|
|
12
12
|
import * as React86 from 'react';
|
|
13
13
|
import React86__default, { createContext, useCallback, useState, useRef, useEffect, lazy, useMemo, useLayoutEffect, useId, useSyncExternalStore, useContext, Suspense, useReducer } from 'react';
|
|
@@ -20,7 +20,7 @@ import { useTheme, useThemeScope, useUISlots } from '@almadar/ui/context';
|
|
|
20
20
|
import * as LucideIcons2 from 'lucide-react';
|
|
21
21
|
import { Loader2, X, Code, FileText, WrapText, Check, Copy, ChevronDown, ChevronRight, Lightbulb, CheckCircle, GitBranch, Pencil, Eye, Plus, ChevronLeft, RotateCcw, Play, Terminal, XCircle, AlertTriangle, Trash2, Link2, HelpCircle, AlertCircle, Circle, Clock, CheckCircle2, ArrowLeft, Bold, Italic, Underline, Strikethrough, Heading1, Heading2, Heading3, List, ListOrdered, Quote, Link as Link$1, Image as Image$1, Minus, ZoomOut, ZoomIn, Download, Printer, Search, DollarSign, Menu as Menu$1, Upload, PauseCircle, Eraser, TrendingUp, TrendingDown, ArrowRight, Trash } from 'lucide-react';
|
|
22
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
23
|
-
import { useTranslate, useFormatContext } from '@almadar/ui/hooks';
|
|
23
|
+
import { useTranslate, useFormatContext, useRenderI18n } from '@almadar/ui/hooks';
|
|
24
24
|
import { createPortal } from 'react-dom';
|
|
25
25
|
import { createLogger } from '@almadar/logger';
|
|
26
26
|
import { evaluate, createMinimalContext, createChildContext } from '@almadar/evaluator';
|
|
@@ -33,6 +33,7 @@ import rehypeKatex from 'rehype-katex';
|
|
|
33
33
|
import SyntaxHighlighter from 'react-syntax-highlighter/dist/esm/prism-light.js';
|
|
34
34
|
import createHighlightElement from 'react-syntax-highlighter/dist/esm/create-element.js';
|
|
35
35
|
import dark from 'react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus.js';
|
|
36
|
+
import light from 'react-syntax-highlighter/dist/esm/styles/prism/vs.js';
|
|
36
37
|
import { orbLanguage, loloLanguage, ORB_COLORS, translateLolo, translateOrb } from '@almadar/syntax';
|
|
37
38
|
import { coreTables } from '@almadar/core/i18n';
|
|
38
39
|
import langJson from 'react-syntax-highlighter/dist/esm/languages/prism/json.js';
|
|
@@ -89,12 +90,13 @@ import emojilib from 'emojilib';
|
|
|
89
90
|
import { forceSimulation, forceLink, forceManyBody, forceCollide, forceX, forceY } from 'd3-force';
|
|
90
91
|
import { useNodeId, ReactFlowProvider, Handle, Position } from '@xyflow/react';
|
|
91
92
|
|
|
92
|
-
function resolveMarkerExpression(expression, entity, config, state) {
|
|
93
|
+
function resolveMarkerExpression(expression, entity, config, state, i18n) {
|
|
93
94
|
const ctx = createContextFromBindings({
|
|
94
95
|
entity,
|
|
95
96
|
payload: {},
|
|
96
97
|
state,
|
|
97
|
-
...config !== void 0 ? { config } : {}
|
|
98
|
+
...config !== void 0 ? { config } : {},
|
|
99
|
+
...i18n !== void 0 ? { locale: i18n.locale, messages: i18n.messages } : {}
|
|
98
100
|
});
|
|
99
101
|
return interpolateValue(expression, ctx);
|
|
100
102
|
}
|
|
@@ -109,9 +111,9 @@ function isPlainObject(value) {
|
|
|
109
111
|
var markerPresenceCache = /* @__PURE__ */ new WeakMap();
|
|
110
112
|
var markerResolutionCache = /* @__PURE__ */ new WeakMap();
|
|
111
113
|
var containerResolutionCache = /* @__PURE__ */ new WeakMap();
|
|
112
|
-
function cachedContainer(value, scopeTrait, entity, config, state) {
|
|
114
|
+
function cachedContainer(value, scopeTrait, entity, config, state, i18n) {
|
|
113
115
|
const hit = containerResolutionCache.get(value);
|
|
114
|
-
return hit !== void 0 && hit.entity === entity && hit.config === config && hit.state === state && hit.scopeTrait === scopeTrait ? hit.resolved : void 0;
|
|
116
|
+
return hit !== void 0 && hit.entity === entity && hit.config === config && hit.state === state && hit.i18n === i18n && hit.scopeTrait === scopeTrait ? hit.resolved : void 0;
|
|
115
117
|
}
|
|
116
118
|
var resolvedMarkerFree = /* @__PURE__ */ new WeakSet();
|
|
117
119
|
var evaluatorResolvedData = /* @__PURE__ */ new WeakSet();
|
|
@@ -144,14 +146,14 @@ function subtreeHasMarker(value) {
|
|
|
144
146
|
markerPresenceCache.set(value, found);
|
|
145
147
|
return found;
|
|
146
148
|
}
|
|
147
|
-
function walkValue(value, scopeTrait, entity, config, state) {
|
|
149
|
+
function walkValue(value, scopeTrait, entity, config, state, i18n) {
|
|
148
150
|
if (isRenderBindingMarker(value)) {
|
|
149
151
|
const cached = markerResolutionCache.get(value);
|
|
150
|
-
if (cached !== void 0 && cached.entity === entity && cached.config === config && cached.state === state) {
|
|
152
|
+
if (cached !== void 0 && cached.entity === entity && cached.config === config && cached.state === state && cached.i18n === i18n) {
|
|
151
153
|
return { resolved: cached.resolved, changed: true };
|
|
152
154
|
}
|
|
153
|
-
const resolved = resolveMarkerExpression(value.expression, entity, config, state);
|
|
154
|
-
markerResolutionCache.set(value, { entity, config, state, resolved });
|
|
155
|
+
const resolved = resolveMarkerExpression(value.expression, entity, config, state, i18n);
|
|
156
|
+
markerResolutionCache.set(value, { entity, config, state, i18n, resolved });
|
|
155
157
|
if (resolved !== null && typeof resolved === "object" && !React86__default.isValidElement(resolved) && !(resolved instanceof Date)) {
|
|
156
158
|
resolvedMarkerFree.add(resolved);
|
|
157
159
|
evaluatorResolvedData.add(resolved);
|
|
@@ -163,14 +165,14 @@ function walkValue(value, scopeTrait, entity, config, state) {
|
|
|
163
165
|
brandResolved(value);
|
|
164
166
|
return { resolved: value, changed: false };
|
|
165
167
|
}
|
|
166
|
-
const cachedArray = cachedContainer(value, scopeTrait, entity, config, state);
|
|
168
|
+
const cachedArray = cachedContainer(value, scopeTrait, entity, config, state, i18n);
|
|
167
169
|
if (cachedArray !== void 0) return { resolved: cachedArray, changed: true };
|
|
168
170
|
const out = [];
|
|
169
171
|
let changed = false;
|
|
170
172
|
for (const item of value) {
|
|
171
173
|
const element = item;
|
|
172
174
|
const wasMarker = isRenderBindingMarker(element);
|
|
173
|
-
const { resolved, changed: itemChanged } = walkValue(element, scopeTrait, entity, config, state);
|
|
175
|
+
const { resolved, changed: itemChanged } = walkValue(element, scopeTrait, entity, config, state, i18n);
|
|
174
176
|
if (wasMarker && Array.isArray(resolved)) {
|
|
175
177
|
out.push(...resolved);
|
|
176
178
|
changed = true;
|
|
@@ -181,7 +183,7 @@ function walkValue(value, scopeTrait, entity, config, state) {
|
|
|
181
183
|
}
|
|
182
184
|
brandResolved(out);
|
|
183
185
|
if (!changed) return { resolved: value, changed: false };
|
|
184
|
-
containerResolutionCache.set(value, { entity, config, state, scopeTrait, resolved: out });
|
|
186
|
+
containerResolutionCache.set(value, { entity, config, state, i18n, scopeTrait, resolved: out });
|
|
185
187
|
return { resolved: out, changed: true };
|
|
186
188
|
}
|
|
187
189
|
if (isPlainObject(value)) {
|
|
@@ -193,37 +195,37 @@ function walkValue(value, scopeTrait, entity, config, state) {
|
|
|
193
195
|
if (typeof sourceTrait === "string" && sourceTrait !== scopeTrait) {
|
|
194
196
|
return { resolved: value, changed: false };
|
|
195
197
|
}
|
|
196
|
-
const cachedObject = cachedContainer(value, scopeTrait, entity, config, state);
|
|
198
|
+
const cachedObject = cachedContainer(value, scopeTrait, entity, config, state, i18n);
|
|
197
199
|
if (cachedObject !== void 0) return { resolved: cachedObject, changed: true };
|
|
198
200
|
const out = {};
|
|
199
201
|
let changed = false;
|
|
200
202
|
for (const [key, item] of Object.entries(value)) {
|
|
201
|
-
const { resolved, changed: itemChanged } = walkValue(item, scopeTrait, entity, config, state);
|
|
203
|
+
const { resolved, changed: itemChanged } = walkValue(item, scopeTrait, entity, config, state, i18n);
|
|
202
204
|
out[key] = resolved;
|
|
203
205
|
if (itemChanged) changed = true;
|
|
204
206
|
}
|
|
205
207
|
brandResolved(out);
|
|
206
208
|
if (!changed) return { resolved: value, changed: false };
|
|
207
|
-
containerResolutionCache.set(value, { entity, config, state, scopeTrait, resolved: out });
|
|
209
|
+
containerResolutionCache.set(value, { entity, config, state, i18n, scopeTrait, resolved: out });
|
|
208
210
|
return { resolved: out, changed: true };
|
|
209
211
|
}
|
|
210
212
|
return { resolved: value, changed: false };
|
|
211
213
|
}
|
|
212
|
-
function resolveRenderBindingMarkers(props, scopeTrait, entity, config, state) {
|
|
214
|
+
function resolveRenderBindingMarkers(props, scopeTrait, entity, config, state, i18n) {
|
|
213
215
|
if (props === null || typeof props !== "object") return props;
|
|
214
216
|
if (resolvedMarkerFree.has(props)) return props;
|
|
215
|
-
const cached = cachedContainer(props, scopeTrait, entity, config, state);
|
|
217
|
+
const cached = cachedContainer(props, scopeTrait, entity, config, state, i18n);
|
|
216
218
|
if (cached !== void 0) return cached;
|
|
217
219
|
const out = {};
|
|
218
220
|
let changed = false;
|
|
219
221
|
for (const [key, value] of Object.entries(props)) {
|
|
220
|
-
const { resolved, changed: propChanged } = walkValue(value, scopeTrait, entity, config, state);
|
|
222
|
+
const { resolved, changed: propChanged } = walkValue(value, scopeTrait, entity, config, state, i18n);
|
|
221
223
|
out[key] = resolved;
|
|
222
224
|
if (propChanged) changed = true;
|
|
223
225
|
}
|
|
224
226
|
brandResolved(out);
|
|
225
227
|
if (!changed) return props;
|
|
226
|
-
containerResolutionCache.set(props, { entity, config, state, scopeTrait, resolved: out });
|
|
228
|
+
containerResolutionCache.set(props, { entity, config, state, i18n, scopeTrait, resolved: out });
|
|
227
229
|
return out;
|
|
228
230
|
}
|
|
229
231
|
var DEFAULT_FAMILY = "lucide";
|
|
@@ -800,7 +802,7 @@ var Button = React86__default.forwardRef(
|
|
|
800
802
|
const testId = dataTestId ?? (action ? `action-${action}` : void 0);
|
|
801
803
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
802
804
|
busy && /* @__PURE__ */ jsx("span", { className: "almadar-busy-indicator absolute inset-0 flex items-center justify-center", "aria-hidden": "true", children: /* @__PURE__ */ jsx(Loader2, { className: "h-icon-default w-icon-default animate-spin" }) }),
|
|
803
|
-
/* @__PURE__ */ jsxs("span", { className: cn("inline-flex items-center justify-
|
|
805
|
+
/* @__PURE__ */ jsxs("span", { className: cn("inline-flex flex-1 min-w-0 items-center [justify-content:inherit] gap-2", busy && "almadar-busy-content"), children: [
|
|
804
806
|
resolvedLeftIcon && /* @__PURE__ */ jsx("span", { className: "flex-shrink-0", children: resolvedLeftIcon }),
|
|
805
807
|
(Array.isArray(children) ? children.length > 0 : Boolean(children)) ? children : label ? /* @__PURE__ */ jsx("span", { ...{ [INLINE_TEXT_ATTR]: "label" }, children: label }) : label,
|
|
806
808
|
resolvedRightIcon && /* @__PURE__ */ jsx("span", { className: "flex-shrink-0", children: resolvedRightIcon })
|
|
@@ -6840,7 +6842,7 @@ function renderVariant(variant, rows2, columns, fields, className) {
|
|
|
6840
6842
|
}
|
|
6841
6843
|
Skeleton.displayName = "Skeleton";
|
|
6842
6844
|
var LazySlotContentRenderer = lazy(
|
|
6843
|
-
() => import('./UISlotRenderer-
|
|
6845
|
+
() => import('./UISlotRenderer-QUEG6WFM.js').then((m) => ({
|
|
6844
6846
|
default: m.SlotContentRenderer
|
|
6845
6847
|
}))
|
|
6846
6848
|
);
|
|
@@ -13456,48 +13458,57 @@ async function loadPrismLanguage(lang) {
|
|
|
13456
13458
|
dynamicallyLoaded.add(lang);
|
|
13457
13459
|
}
|
|
13458
13460
|
}
|
|
13459
|
-
var orbStyleOverrides = {
|
|
13460
|
-
"orb-binding": { color:
|
|
13461
|
-
"orb-effect": { color:
|
|
13462
|
-
"orb-event": { color:
|
|
13463
|
-
"orb-slot": { color:
|
|
13464
|
-
"orb-structural": { color:
|
|
13465
|
-
"orb-field-type": { color:
|
|
13466
|
-
"orb-persistence": { color:
|
|
13467
|
-
"orb-pattern": { color:
|
|
13468
|
-
"orb-behavior": { color:
|
|
13469
|
-
"orb-unknown-op": { color:
|
|
13470
|
-
"orb-op-arithmetic": { color:
|
|
13471
|
-
"orb-op-comparison": { color:
|
|
13472
|
-
"orb-op-logic": { color:
|
|
13473
|
-
"orb-op-string": { color:
|
|
13474
|
-
"orb-op-collection": { color:
|
|
13475
|
-
"orb-op-time": { color:
|
|
13476
|
-
"orb-op-control": { color:
|
|
13477
|
-
"orb-op-async": { color:
|
|
13478
|
-
};
|
|
13479
|
-
var
|
|
13480
|
-
|
|
13481
|
-
"lolo-
|
|
13482
|
-
"lolo-
|
|
13483
|
-
"
|
|
13484
|
-
"
|
|
13485
|
-
"lolo-
|
|
13486
|
-
"lolo-
|
|
13487
|
-
"lolo-
|
|
13488
|
-
"lolo-
|
|
13489
|
-
"lolo-
|
|
13490
|
-
"lolo-
|
|
13491
|
-
"lolo-op-
|
|
13492
|
-
"lolo-op-
|
|
13493
|
-
"lolo-op-
|
|
13494
|
-
"lolo-op-
|
|
13495
|
-
"lolo-op-
|
|
13496
|
-
"lolo-op-
|
|
13497
|
-
"lolo-op-
|
|
13498
|
-
|
|
13499
|
-
};
|
|
13500
|
-
var
|
|
13461
|
+
var orbStyleOverrides = (c) => ({
|
|
13462
|
+
"orb-binding": { color: c.binding, fontWeight: "bold" },
|
|
13463
|
+
"orb-effect": { color: c.effect, fontWeight: "bold" },
|
|
13464
|
+
"orb-event": { color: c.event },
|
|
13465
|
+
"orb-slot": { color: c.uiSlot },
|
|
13466
|
+
"orb-structural": { color: c.structural },
|
|
13467
|
+
"orb-field-type": { color: c.fieldType },
|
|
13468
|
+
"orb-persistence": { color: c.persistence },
|
|
13469
|
+
"orb-pattern": { color: c.pattern },
|
|
13470
|
+
"orb-behavior": { color: c.behavior },
|
|
13471
|
+
"orb-unknown-op": { color: c.error, textDecoration: "wavy underline" },
|
|
13472
|
+
"orb-op-arithmetic": { color: c.arithmetic, fontWeight: "bold" },
|
|
13473
|
+
"orb-op-comparison": { color: c.comparison },
|
|
13474
|
+
"orb-op-logic": { color: c.logic },
|
|
13475
|
+
"orb-op-string": { color: c.string },
|
|
13476
|
+
"orb-op-collection": { color: c.collection },
|
|
13477
|
+
"orb-op-time": { color: c.time },
|
|
13478
|
+
"orb-op-control": { color: c.control },
|
|
13479
|
+
"orb-op-async": { color: c.async }
|
|
13480
|
+
});
|
|
13481
|
+
var loloStyleOverrides = (c) => ({
|
|
13482
|
+
"lolo-binding": { color: c.binding, fontWeight: "bold" },
|
|
13483
|
+
"lolo-event": { color: c.event },
|
|
13484
|
+
"lolo-effect": { color: c.effect, fontWeight: "bold" },
|
|
13485
|
+
"keyword": { color: c.loloKeyword },
|
|
13486
|
+
"lolo-constructor": { color: c.loloConstructor },
|
|
13487
|
+
"lolo-arrow": { color: c.loloArrow },
|
|
13488
|
+
"lolo-reference": { color: c.loloReference },
|
|
13489
|
+
"lolo-type": { color: c.fieldType },
|
|
13490
|
+
"lolo-persistence": { color: c.persistence },
|
|
13491
|
+
"lolo-unknown-op": { color: c.error },
|
|
13492
|
+
"lolo-op-arithmetic": { color: c.arithmetic, fontWeight: "bold" },
|
|
13493
|
+
"lolo-op-comparison": { color: c.comparison },
|
|
13494
|
+
"lolo-op-logic": { color: c.logic },
|
|
13495
|
+
"lolo-op-string": { color: c.string },
|
|
13496
|
+
"lolo-op-collection": { color: c.collection },
|
|
13497
|
+
"lolo-op-time": { color: c.time },
|
|
13498
|
+
"lolo-op-control": { color: c.control },
|
|
13499
|
+
"lolo-op-async": { color: c.async }
|
|
13500
|
+
});
|
|
13501
|
+
var SCHEME_BASE = { dark, light };
|
|
13502
|
+
var HIGHLIGHT_STYLES = {
|
|
13503
|
+
dark: {
|
|
13504
|
+
orb: { ...dark, ...orbStyleOverrides(ORB_COLORS.dark) },
|
|
13505
|
+
lolo: { ...dark, ...loloStyleOverrides(ORB_COLORS.dark) }
|
|
13506
|
+
},
|
|
13507
|
+
light: {
|
|
13508
|
+
orb: { ...light, ...orbStyleOverrides(ORB_COLORS.light) },
|
|
13509
|
+
lolo: { ...light, ...loloStyleOverrides(ORB_COLORS.light) }
|
|
13510
|
+
}
|
|
13511
|
+
};
|
|
13501
13512
|
function computeFoldRegions(code) {
|
|
13502
13513
|
const lines = code.split("\n");
|
|
13503
13514
|
const regions = [];
|
|
@@ -13548,6 +13559,38 @@ function withTokenTypes(node) {
|
|
|
13548
13559
|
function renderWithTokenTypes({ rows: rows2, stylesheet, useInlineStyles }) {
|
|
13549
13560
|
return rows2.map((node, i) => createHighlightElement({ node: withTokenTypes(node), stylesheet, useInlineStyles, key: `code-segment-${i}` }));
|
|
13550
13561
|
}
|
|
13562
|
+
var LTR_WORD = /[A-Za-z0-9_$@?][A-Za-z0-9_$@?.!-]*/g;
|
|
13563
|
+
var LTR_ISLAND_STYLE = { unicodeBidi: "isolate", direction: "ltr" };
|
|
13564
|
+
var STRING_ISLAND_STYLE = { unicodeBidi: "plaintext" };
|
|
13565
|
+
function island(value, style) {
|
|
13566
|
+
return { type: "element", tagName: "span", properties: { className: [], "data-bidi-island": "", style }, children: [{ type: "text", value }] };
|
|
13567
|
+
}
|
|
13568
|
+
function splitLtrWords(value) {
|
|
13569
|
+
const out = [];
|
|
13570
|
+
let last = 0;
|
|
13571
|
+
for (const match of value.matchAll(LTR_WORD)) {
|
|
13572
|
+
const start = match.index ?? 0;
|
|
13573
|
+
if (start > last) out.push({ type: "text", value: value.slice(last, start) });
|
|
13574
|
+
out.push(island(match[0], LTR_ISLAND_STYLE));
|
|
13575
|
+
last = start + match[0].length;
|
|
13576
|
+
}
|
|
13577
|
+
if (last < value.length) out.push({ type: "text", value: value.slice(last) });
|
|
13578
|
+
return out;
|
|
13579
|
+
}
|
|
13580
|
+
function withBidiIslands(node) {
|
|
13581
|
+
if (node.type === "text") return splitLtrWords(String(node.value ?? ""));
|
|
13582
|
+
if (node.type !== "element") return [node];
|
|
13583
|
+
const classes = node.properties?.className;
|
|
13584
|
+
if (Array.isArray(classes) && classes.includes("string")) {
|
|
13585
|
+
return [{ ...node, properties: { ...node.properties, className: classes, "data-bidi-island": "", style: STRING_ISLAND_STYLE } }];
|
|
13586
|
+
}
|
|
13587
|
+
return [{ ...node, ...node.children ? { children: node.children.flatMap(withBidiIslands) } : {} }];
|
|
13588
|
+
}
|
|
13589
|
+
function renderRtlCode({ rows: rows2, stylesheet, useInlineStyles }) {
|
|
13590
|
+
return rows2.map(
|
|
13591
|
+
(node, i) => withBidiIslands(node).map((n, j) => createHighlightElement({ node: n, stylesheet, useInlineStyles, key: `code-rtl-${i}-${j}` }))
|
|
13592
|
+
);
|
|
13593
|
+
}
|
|
13551
13594
|
function tokenClassAt(layer, offset) {
|
|
13552
13595
|
const walker = document.createTreeWalker(layer, NodeFilter.SHOW_TEXT);
|
|
13553
13596
|
let pos = 0;
|
|
@@ -13703,11 +13746,10 @@ function useLanguageReady(language) {
|
|
|
13703
13746
|
}, [language]);
|
|
13704
13747
|
return ready;
|
|
13705
13748
|
}
|
|
13706
|
-
var MONO_FONT_FAMILY = 'ui-monospace, SFMono-Regular, Menlo, Monaco, "Cascadia Mono", "Courier New", monospace';
|
|
13707
|
-
function resolveHighlightStyle(lang) {
|
|
13708
|
-
if (lang === "orb") return
|
|
13709
|
-
|
|
13710
|
-
return dark;
|
|
13749
|
+
var MONO_FONT_FAMILY = 'ui-monospace, SFMono-Regular, Menlo, Monaco, "Cascadia Mono", "Courier New", "IBM Plex Sans Arabic", "Noto Sans Arabic", monospace';
|
|
13750
|
+
function resolveHighlightStyle(lang, scheme) {
|
|
13751
|
+
if (lang === "orb" || lang === "lolo") return HIGHLIGHT_STYLES[scheme][lang];
|
|
13752
|
+
return SCHEME_BASE[scheme];
|
|
13711
13753
|
}
|
|
13712
13754
|
function plainCodeColorOf(style) {
|
|
13713
13755
|
return style['code[class*="language-"]']?.color ?? "#d4d4d4";
|
|
@@ -13741,6 +13783,15 @@ var VIEWER_LINE_NUMBER_STYLE = {
|
|
|
13741
13783
|
opacity: 0.5,
|
|
13742
13784
|
fontVariantNumeric: "tabular-nums"
|
|
13743
13785
|
};
|
|
13786
|
+
var VIEWER_LINE_NUMBER_STYLE_RTL = {
|
|
13787
|
+
minWidth: "2.5em",
|
|
13788
|
+
paddingRight: 0,
|
|
13789
|
+
paddingLeft: "1rem",
|
|
13790
|
+
textAlign: "left",
|
|
13791
|
+
userSelect: "none",
|
|
13792
|
+
opacity: 0.5,
|
|
13793
|
+
fontVariantNumeric: "tabular-nums"
|
|
13794
|
+
};
|
|
13744
13795
|
function translateProgram(source, language, lang) {
|
|
13745
13796
|
if (lang === "en") return source;
|
|
13746
13797
|
if (language === "lolo") return translateLolo(source, lang);
|
|
@@ -13829,8 +13880,12 @@ var CodeBlock = React86__default.memo(
|
|
|
13829
13880
|
}) => {
|
|
13830
13881
|
const englishCode = typeof rawCode === "string" ? rawCode : String(rawCode ?? "");
|
|
13831
13882
|
const naturalTabs = !editable && naturalLanguages && naturalLanguages.length > 1 ? naturalLanguages : void 0;
|
|
13832
|
-
const
|
|
13883
|
+
const { locale: pageLocale } = useTranslate();
|
|
13884
|
+
const [naturalLanguage, setNaturalLanguage] = useState(
|
|
13885
|
+
() => naturalTabs?.find((lang) => lang === pageLocale) ?? naturalTabs?.[0] ?? "en"
|
|
13886
|
+
);
|
|
13833
13887
|
const activeNaturalLanguage = naturalTabs?.includes(naturalLanguage) === true ? naturalLanguage : naturalTabs?.[0] ?? "en";
|
|
13888
|
+
const codeDir = naturalTabs && coreTables[activeNaturalLanguage].meta.rtl ? "rtl" : "ltr";
|
|
13834
13889
|
const translationCache = useMemo(() => /* @__PURE__ */ new Map(), [englishCode, files]);
|
|
13835
13890
|
const translateFor = useCallback(
|
|
13836
13891
|
(source, sourceLanguage, cacheKey) => {
|
|
@@ -13869,11 +13924,12 @@ var CodeBlock = React86__default.memo(
|
|
|
13869
13924
|
)
|
|
13870
13925
|
}
|
|
13871
13926
|
) : null;
|
|
13872
|
-
const activeStyle = resolveHighlightStyle(language);
|
|
13927
|
+
const activeStyle = resolveHighlightStyle(language, "dark");
|
|
13873
13928
|
const overCapacity = code.length > HIGHLIGHT_CAPACITY_BYTES;
|
|
13874
13929
|
const plainCodeColor = plainCodeColorOf(activeStyle);
|
|
13875
13930
|
const eventBus = useEventBus();
|
|
13876
13931
|
const { t } = useTranslate();
|
|
13932
|
+
const { resolvedMode } = useTheme();
|
|
13877
13933
|
const scrollRef = useRef(null);
|
|
13878
13934
|
const codeRef = useRef(null);
|
|
13879
13935
|
const savedScrollLeftRef = useRef(0);
|
|
@@ -13884,7 +13940,7 @@ var CodeBlock = React86__default.memo(
|
|
|
13884
13940
|
const activeLanguage = activeFile?.language ?? language;
|
|
13885
13941
|
const activeCode = activeFile ? translateFor(activeFile.code, activeLanguage, `file-${activeFileIndex}`) : code;
|
|
13886
13942
|
const languageReady = useLanguageReady(activeLanguage);
|
|
13887
|
-
const viewerStyle = resolveHighlightStyle(activeLanguage);
|
|
13943
|
+
const viewerStyle = resolveHighlightStyle(activeLanguage, resolvedMode);
|
|
13888
13944
|
const viewerPlainCodeColor = plainCodeColorOf(viewerStyle);
|
|
13889
13945
|
const diffLines = useMemo(() => {
|
|
13890
13946
|
if (propDiff && propDiff.length > 0) return propDiff;
|
|
@@ -14222,8 +14278,9 @@ var CodeBlock = React86__default.memo(
|
|
|
14222
14278
|
wrapLines: true,
|
|
14223
14279
|
wrapLongLines: wrap,
|
|
14224
14280
|
showLineNumbers,
|
|
14225
|
-
lineNumberStyle: VIEWER_LINE_NUMBER_STYLE,
|
|
14281
|
+
lineNumberStyle: codeDir === "rtl" ? VIEWER_LINE_NUMBER_STYLE_RTL : VIEWER_LINE_NUMBER_STYLE,
|
|
14226
14282
|
lineProps: viewerLineProps,
|
|
14283
|
+
renderer: codeDir === "rtl" ? renderRtlCode : void 0,
|
|
14227
14284
|
customStyle: {
|
|
14228
14285
|
backgroundColor: "transparent",
|
|
14229
14286
|
borderRadius: 0,
|
|
@@ -14233,13 +14290,15 @@ var CodeBlock = React86__default.memo(
|
|
|
14233
14290
|
wordBreak: wrap ? "break-all" : "normal",
|
|
14234
14291
|
fontFamily: MONO_FONT_FAMILY,
|
|
14235
14292
|
fontSize: "12px",
|
|
14236
|
-
lineHeight: "1.6"
|
|
14293
|
+
lineHeight: "1.6",
|
|
14294
|
+
direction: codeDir,
|
|
14295
|
+
textAlign: "start"
|
|
14237
14296
|
},
|
|
14238
|
-
codeTagProps: { style: { fontFamily: MONO_FONT_FAMILY, fontSize: "12px", lineHeight: "1.6" } },
|
|
14297
|
+
codeTagProps: { style: { fontFamily: MONO_FONT_FAMILY, fontSize: "12px", lineHeight: "1.6", direction: codeDir, textAlign: "start" } },
|
|
14239
14298
|
children: activeCode
|
|
14240
14299
|
}
|
|
14241
14300
|
),
|
|
14242
|
-
[activeCode, viewerOverCapacity, viewerPlainCodeColor, activeLanguage, viewerStyle, wrap, showLineNumbers, viewerLineProps, languageReady]
|
|
14301
|
+
[activeCode, viewerOverCapacity, viewerPlainCodeColor, activeLanguage, viewerStyle, wrap, showLineNumbers, viewerLineProps, languageReady, codeDir]
|
|
14243
14302
|
);
|
|
14244
14303
|
const diffOverCapacity = useMemo(
|
|
14245
14304
|
() => !!diffLines && diffLines.reduce((n, l) => n + l.content.length + 1, 0) > HIGHLIGHT_CAPACITY_BYTES,
|
|
@@ -14509,33 +14568,35 @@ var CodeBlock = React86__default.memo(
|
|
|
14509
14568
|
]
|
|
14510
14569
|
}
|
|
14511
14570
|
),
|
|
14512
|
-
/* @__PURE__ */ jsx(Box, { className: "overflow-auto bg-muted/20", style: { maxHeight }, dir:
|
|
14571
|
+
/* @__PURE__ */ jsx(Box, { className: "overflow-auto bg-muted/20", style: { maxHeight }, dir: codeDir, children: diffLines ? /* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column" }, className: "font-mono text-xs", children: diffRowElements }) : /* @__PURE__ */ jsx("div", { className: "font-mono text-xs", children: viewerHighlightedElement }) })
|
|
14513
14572
|
] }) });
|
|
14514
14573
|
}
|
|
14515
|
-
const hasHeader = showLanguageBadge
|
|
14574
|
+
const hasHeader = showLanguageBadge;
|
|
14575
|
+
const copyButton = effectiveCopy ? /* @__PURE__ */ jsx(
|
|
14576
|
+
Button,
|
|
14577
|
+
{
|
|
14578
|
+
variant: "ghost",
|
|
14579
|
+
size: "sm",
|
|
14580
|
+
onClick: handleCopy,
|
|
14581
|
+
className: `opacity-0 group-hover:opacity-100 focus:opacity-100 transition-opacity text-muted-foreground hover:text-foreground${hasHeader ? "" : " absolute top-2 end-2 z-10"}`,
|
|
14582
|
+
"aria-label": t("common.copy"),
|
|
14583
|
+
children: copied ? /* @__PURE__ */ jsx(Icon, { name: "check", className: "w-4 h-4 text-success" }) : /* @__PURE__ */ jsx(Icon, { name: "copy", className: "w-4 h-4" })
|
|
14584
|
+
}
|
|
14585
|
+
) : null;
|
|
14516
14586
|
return /* @__PURE__ */ jsxs(Box, { ...domPassthrough(a11yRest), className: `relative group not-prose ${className || ""}`, style: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
14517
|
-
hasHeader
|
|
14587
|
+
hasHeader ? /* @__PURE__ */ jsxs(
|
|
14518
14588
|
HStack,
|
|
14519
14589
|
{
|
|
14520
14590
|
justify: "between",
|
|
14521
14591
|
align: "center",
|
|
14522
14592
|
className: "px-3 py-2 bg-[var(--color-card)] rounded-t-container border-b border-border",
|
|
14593
|
+
"data-testid": "code-block-header",
|
|
14523
14594
|
children: [
|
|
14524
|
-
|
|
14525
|
-
|
|
14526
|
-
Button,
|
|
14527
|
-
{
|
|
14528
|
-
variant: "ghost",
|
|
14529
|
-
size: "sm",
|
|
14530
|
-
onClick: handleCopy,
|
|
14531
|
-
className: "opacity-0 group-hover:opacity-100 focus:opacity-100 transition-opacity text-muted-foreground hover:text-foreground",
|
|
14532
|
-
"aria-label": t("common.copy"),
|
|
14533
|
-
children: copied ? /* @__PURE__ */ jsx(Icon, { name: "check", className: "w-4 h-4 text-success" }) : /* @__PURE__ */ jsx(Icon, { name: "copy", className: "w-4 h-4" })
|
|
14534
|
-
}
|
|
14535
|
-
)
|
|
14595
|
+
/* @__PURE__ */ jsx(Badge, { variant: "default", size: "sm", children: language }),
|
|
14596
|
+
copyButton
|
|
14536
14597
|
]
|
|
14537
14598
|
}
|
|
14538
|
-
),
|
|
14599
|
+
) : copyButton,
|
|
14539
14600
|
naturalTabStrip,
|
|
14540
14601
|
editable ? (
|
|
14541
14602
|
/* GAP-77 / GAP-82 / GAP-83: editable mode = transparent textarea on
|
|
@@ -24381,7 +24442,7 @@ function DataList({
|
|
|
24381
24442
|
return f3.variant === "badge" ? (
|
|
24382
24443
|
// `format` applies here too — a boolean field badged
|
|
24383
24444
|
// without it renders the raw "false" instead of "No".
|
|
24384
|
-
/* @__PURE__ */ jsx(Badge, { variant: badgeVariantFor(String(v), f3.colorMap), children: formatValue2(v, f3.format, fmt, relationsData?.[f3.name]) }, f3.name)
|
|
24445
|
+
/* @__PURE__ */ jsx(Badge, { variant: badgeVariantFor(String(v), f3.colorMap), children: valueLabelFor(formatValue2(v, f3.format, fmt, relationsData?.[f3.name]), f3.labels) }, f3.name)
|
|
24385
24446
|
) : /* @__PURE__ */ jsx(
|
|
24386
24447
|
Typography,
|
|
24387
24448
|
{
|
|
@@ -24544,7 +24605,7 @@ function DataList({
|
|
|
24544
24605
|
if (val === void 0 || val === null || val === "") return null;
|
|
24545
24606
|
return /* @__PURE__ */ jsxs(HStack, { gap: "xs", className: "items-center flex-shrink-0", children: [
|
|
24546
24607
|
field.icon && renderIconInput2(field.icon, { size: "xs" }),
|
|
24547
|
-
/* @__PURE__ */ jsx(Badge, { variant: badgeVariantFor(String(val), field.colorMap), children: formatValue2(val, field.format, fmt, relationsData?.[field.name]) })
|
|
24608
|
+
/* @__PURE__ */ jsx(Badge, { variant: badgeVariantFor(String(val), field.colorMap), children: valueLabelFor(formatValue2(val, field.format, fmt, relationsData?.[field.name]), field.labels) })
|
|
24548
24609
|
] }, field.name);
|
|
24549
24610
|
})
|
|
24550
24611
|
] }),
|
|
@@ -24993,7 +25054,7 @@ var MapViewImpl = lazy(async () => {
|
|
|
24993
25054
|
});
|
|
24994
25055
|
L.Marker.prototype.options.icon = defaultIcon;
|
|
24995
25056
|
const { useEffect: useEffect64, useRef: useRef65, useCallback: useCallback79, useState: useState94 } = React86__default;
|
|
24996
|
-
const { Typography: Typography2 } = await import('./Typography-
|
|
25057
|
+
const { Typography: Typography2 } = await import('./Typography-CFI7JUVE.js');
|
|
24997
25058
|
const { useEventBus: useEventBus2 } = await import('./useEventBus-JUAH3EFW.js');
|
|
24998
25059
|
function MapUpdater({ centerLat, centerLng, zoom }) {
|
|
24999
25060
|
const map = useMap();
|
|
@@ -27459,7 +27520,7 @@ var DocSidebarCategory = ({ item, depth }) => {
|
|
|
27459
27520
|
className: cn(
|
|
27460
27521
|
"h-auto w-full justify-start rounded-interactive px-3 py-1.5 text-sm font-normal",
|
|
27461
27522
|
depth > 0 && "ml-2",
|
|
27462
|
-
item.active ? "bg-primary/
|
|
27523
|
+
item.active ? "bg-primary/[0.08] text-foreground font-semibold" : "text-muted-foreground"
|
|
27463
27524
|
),
|
|
27464
27525
|
children: label
|
|
27465
27526
|
}
|
|
@@ -34353,11 +34414,23 @@ var Header = ({
|
|
|
34353
34414
|
variant = "mobile",
|
|
34354
34415
|
look = "compact-bar",
|
|
34355
34416
|
onLogoClick,
|
|
34417
|
+
brandHref,
|
|
34356
34418
|
className,
|
|
34357
34419
|
...rest
|
|
34358
34420
|
}) => {
|
|
34359
34421
|
const { t } = useTranslate();
|
|
34360
34422
|
const resolvedSearchPlaceholder = searchPlaceholder ?? t("common.search");
|
|
34423
|
+
const brandContent = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
34424
|
+
logo ? typeof logo === "string" ? /* @__PURE__ */ jsx(Avatar, { src: logo, alt: brandName, size: "sm" }) : logo : logoSrc ? /* @__PURE__ */ jsx(Avatar, { src: logoSrc, alt: brandName, size: "sm" }) : null,
|
|
34425
|
+
brandName && /* @__PURE__ */ jsx(
|
|
34426
|
+
Typography,
|
|
34427
|
+
{
|
|
34428
|
+
variant: "h5",
|
|
34429
|
+
className: "text-lg text-foreground",
|
|
34430
|
+
children: brandName
|
|
34431
|
+
}
|
|
34432
|
+
)
|
|
34433
|
+
] });
|
|
34361
34434
|
const userInitials = userAvatar?.initials || userName?.[0]?.toUpperCase() || "U";
|
|
34362
34435
|
return /* @__PURE__ */ jsxs(
|
|
34363
34436
|
Box,
|
|
@@ -34384,7 +34457,16 @@ var Header = ({
|
|
|
34384
34457
|
children: isMenuOpen ? /* @__PURE__ */ jsx(X, { size: 24 }) : /* @__PURE__ */ jsx(Menu$1, { size: 24 })
|
|
34385
34458
|
}
|
|
34386
34459
|
),
|
|
34387
|
-
/* @__PURE__ */
|
|
34460
|
+
brandHref ? /* @__PURE__ */ jsx(
|
|
34461
|
+
Button,
|
|
34462
|
+
{
|
|
34463
|
+
variant: "ghost",
|
|
34464
|
+
href: brandHref,
|
|
34465
|
+
"aria-label": brandName,
|
|
34466
|
+
className: "gap-2 px-0 hover:bg-transparent",
|
|
34467
|
+
children: brandContent
|
|
34468
|
+
}
|
|
34469
|
+
) : /* @__PURE__ */ jsx(
|
|
34388
34470
|
HStack,
|
|
34389
34471
|
{
|
|
34390
34472
|
gap: "none",
|
|
@@ -34395,17 +34477,7 @@ var Header = ({
|
|
|
34395
34477
|
),
|
|
34396
34478
|
...pressableProps(onLogoClick),
|
|
34397
34479
|
"aria-label": onLogoClick ? brandName : void 0,
|
|
34398
|
-
children:
|
|
34399
|
-
logo ? typeof logo === "string" ? /* @__PURE__ */ jsx(Avatar, { src: logo, alt: brandName, size: "sm" }) : logo : logoSrc ? /* @__PURE__ */ jsx(Avatar, { src: logoSrc, alt: brandName, size: "sm" }) : null,
|
|
34400
|
-
brandName && /* @__PURE__ */ jsx(
|
|
34401
|
-
Typography,
|
|
34402
|
-
{
|
|
34403
|
-
variant: "h5",
|
|
34404
|
-
className: "text-lg text-foreground",
|
|
34405
|
-
children: brandName
|
|
34406
|
-
}
|
|
34407
|
-
)
|
|
34408
|
-
]
|
|
34480
|
+
children: brandContent
|
|
34409
34481
|
}
|
|
34410
34482
|
)
|
|
34411
34483
|
] }),
|
|
@@ -43350,8 +43422,8 @@ var VersionDiffInner = ({
|
|
|
43350
43422
|
}
|
|
43351
43423
|
),
|
|
43352
43424
|
/* @__PURE__ */ jsx(Box, { className: "overflow-auto bg-muted/20", style: { maxHeight: 600 }, children: isEmpty ? /* @__PURE__ */ jsx(Box, { className: "py-8", "data-testid": "version-diff-empty", children: /* @__PURE__ */ jsx(Typography, { variant: "body2", color: "muted", align: "center", children: t("versionDiff.noChanges") }) }) : activeView === "side-by-side" ? /* @__PURE__ */ jsxs(Box, { className: "grid grid-cols-1 md:grid-cols-2", children: [
|
|
43353
|
-
/* @__PURE__ */ jsx(Box, { className: "border-b md:border-b-0 md:border-r border-border", "data-testid": "version-diff-before", children: renderColumn("before") }),
|
|
43354
|
-
/* @__PURE__ */ jsx(Box, { "data-testid": "version-diff-after", children: renderColumn("after") })
|
|
43425
|
+
/* @__PURE__ */ jsx(Box, { className: "min-w-0 overflow-x-auto border-b md:border-b-0 md:border-r border-border", "data-testid": "version-diff-before", children: renderColumn("before") }),
|
|
43426
|
+
/* @__PURE__ */ jsx(Box, { className: "min-w-0 overflow-x-auto", "data-testid": "version-diff-after", children: renderColumn("after") })
|
|
43355
43427
|
] }) : /* @__PURE__ */ jsx(VStack, { gap: "none", className: "font-mono text-xs", children: shown.map((row, idx) => {
|
|
43356
43428
|
if (row.kind === "header") return renderHeader(row.header, `i-h-${idx}`);
|
|
43357
43429
|
if (row.kind === "gap") return renderGap(row, `i-g-${row.id}`);
|
|
@@ -43676,775 +43748,263 @@ WizardNavigation.displayName = "WizardNavigation";
|
|
|
43676
43748
|
|
|
43677
43749
|
// components/core/organisms/component-registry.generated.ts
|
|
43678
43750
|
var COMPONENT_REGISTRY = {
|
|
43679
|
-
|
|
43680
|
-
|
|
43681
|
-
|
|
43682
|
-
|
|
43683
|
-
|
|
43684
|
-
|
|
43685
|
-
|
|
43686
|
-
|
|
43687
|
-
|
|
43688
|
-
|
|
43689
|
-
|
|
43690
|
-
|
|
43691
|
-
|
|
43692
|
-
|
|
43693
|
-
|
|
43694
|
-
|
|
43695
|
-
|
|
43696
|
-
|
|
43697
|
-
|
|
43698
|
-
|
|
43699
|
-
|
|
43700
|
-
|
|
43701
|
-
|
|
43702
|
-
|
|
43703
|
-
|
|
43704
|
-
|
|
43705
|
-
|
|
43706
|
-
|
|
43707
|
-
|
|
43708
|
-
|
|
43709
|
-
|
|
43710
|
-
|
|
43711
|
-
|
|
43712
|
-
|
|
43713
|
-
|
|
43714
|
-
|
|
43715
|
-
|
|
43716
|
-
|
|
43717
|
-
|
|
43718
|
-
|
|
43719
|
-
|
|
43720
|
-
|
|
43721
|
-
|
|
43722
|
-
|
|
43723
|
-
|
|
43724
|
-
|
|
43725
|
-
|
|
43726
|
-
|
|
43727
|
-
|
|
43728
|
-
|
|
43729
|
-
|
|
43730
|
-
|
|
43731
|
-
|
|
43732
|
-
|
|
43733
|
-
|
|
43734
|
-
|
|
43735
|
-
|
|
43736
|
-
|
|
43737
|
-
|
|
43738
|
-
|
|
43739
|
-
|
|
43740
|
-
|
|
43741
|
-
|
|
43742
|
-
|
|
43743
|
-
|
|
43744
|
-
|
|
43745
|
-
|
|
43746
|
-
|
|
43747
|
-
|
|
43748
|
-
|
|
43749
|
-
|
|
43750
|
-
|
|
43751
|
-
|
|
43752
|
-
|
|
43753
|
-
|
|
43754
|
-
|
|
43755
|
-
|
|
43756
|
-
|
|
43757
|
-
|
|
43758
|
-
|
|
43759
|
-
|
|
43760
|
-
|
|
43761
|
-
|
|
43762
|
-
|
|
43763
|
-
|
|
43764
|
-
|
|
43765
|
-
|
|
43766
|
-
|
|
43767
|
-
|
|
43768
|
-
|
|
43769
|
-
|
|
43770
|
-
|
|
43771
|
-
|
|
43772
|
-
|
|
43773
|
-
|
|
43774
|
-
|
|
43775
|
-
|
|
43776
|
-
|
|
43777
|
-
|
|
43778
|
-
|
|
43779
|
-
|
|
43780
|
-
|
|
43781
|
-
|
|
43782
|
-
|
|
43783
|
-
|
|
43784
|
-
|
|
43785
|
-
|
|
43786
|
-
|
|
43787
|
-
|
|
43788
|
-
|
|
43789
|
-
|
|
43790
|
-
|
|
43791
|
-
|
|
43792
|
-
|
|
43793
|
-
|
|
43794
|
-
|
|
43795
|
-
|
|
43796
|
-
|
|
43797
|
-
|
|
43798
|
-
|
|
43799
|
-
|
|
43800
|
-
|
|
43801
|
-
|
|
43802
|
-
|
|
43803
|
-
|
|
43804
|
-
|
|
43805
|
-
|
|
43806
|
-
|
|
43807
|
-
|
|
43808
|
-
|
|
43809
|
-
|
|
43810
|
-
|
|
43811
|
-
|
|
43812
|
-
|
|
43813
|
-
|
|
43814
|
-
|
|
43815
|
-
|
|
43816
|
-
|
|
43817
|
-
|
|
43818
|
-
|
|
43819
|
-
|
|
43820
|
-
|
|
43821
|
-
|
|
43822
|
-
|
|
43823
|
-
|
|
43824
|
-
|
|
43825
|
-
|
|
43826
|
-
|
|
43827
|
-
|
|
43828
|
-
|
|
43829
|
-
|
|
43830
|
-
|
|
43831
|
-
|
|
43832
|
-
|
|
43833
|
-
|
|
43834
|
-
|
|
43835
|
-
|
|
43836
|
-
|
|
43837
|
-
|
|
43838
|
-
|
|
43839
|
-
|
|
43840
|
-
|
|
43841
|
-
|
|
43842
|
-
|
|
43843
|
-
|
|
43844
|
-
|
|
43845
|
-
|
|
43846
|
-
|
|
43847
|
-
|
|
43848
|
-
|
|
43849
|
-
|
|
43850
|
-
|
|
43851
|
-
|
|
43852
|
-
|
|
43853
|
-
|
|
43854
|
-
|
|
43855
|
-
|
|
43856
|
-
|
|
43857
|
-
|
|
43858
|
-
|
|
43859
|
-
|
|
43860
|
-
|
|
43861
|
-
|
|
43862
|
-
|
|
43863
|
-
|
|
43864
|
-
|
|
43865
|
-
|
|
43866
|
-
|
|
43867
|
-
|
|
43868
|
-
|
|
43869
|
-
|
|
43870
|
-
|
|
43871
|
-
|
|
43872
|
-
|
|
43873
|
-
|
|
43874
|
-
|
|
43875
|
-
|
|
43876
|
-
|
|
43877
|
-
|
|
43878
|
-
|
|
43879
|
-
|
|
43880
|
-
|
|
43881
|
-
|
|
43882
|
-
|
|
43883
|
-
|
|
43884
|
-
|
|
43885
|
-
|
|
43886
|
-
|
|
43887
|
-
|
|
43888
|
-
|
|
43889
|
-
|
|
43890
|
-
|
|
43891
|
-
|
|
43892
|
-
|
|
43893
|
-
|
|
43894
|
-
|
|
43895
|
-
|
|
43896
|
-
|
|
43897
|
-
|
|
43898
|
-
|
|
43899
|
-
|
|
43900
|
-
|
|
43901
|
-
|
|
43902
|
-
|
|
43903
|
-
|
|
43904
|
-
|
|
43905
|
-
|
|
43906
|
-
|
|
43907
|
-
|
|
43908
|
-
|
|
43909
|
-
|
|
43910
|
-
|
|
43911
|
-
|
|
43912
|
-
|
|
43913
|
-
|
|
43914
|
-
|
|
43915
|
-
|
|
43916
|
-
|
|
43917
|
-
|
|
43918
|
-
|
|
43919
|
-
|
|
43920
|
-
|
|
43921
|
-
|
|
43922
|
-
|
|
43923
|
-
|
|
43924
|
-
|
|
43925
|
-
|
|
43926
|
-
|
|
43927
|
-
|
|
43928
|
-
|
|
43929
|
-
|
|
43930
|
-
|
|
43931
|
-
|
|
43932
|
-
|
|
43933
|
-
|
|
43934
|
-
get "DrawText"() {
|
|
43935
|
-
return DrawText;
|
|
43936
|
-
},
|
|
43937
|
-
get "DrawTextLayer"() {
|
|
43938
|
-
return DrawTextLayer;
|
|
43939
|
-
},
|
|
43940
|
-
get "Drawer"() {
|
|
43941
|
-
return Drawer;
|
|
43942
|
-
},
|
|
43943
|
-
get "DrawerSlot"() {
|
|
43944
|
-
return DrawerSlot;
|
|
43945
|
-
},
|
|
43946
|
-
get "EdgeDecoration"() {
|
|
43947
|
-
return EdgeDecoration;
|
|
43948
|
-
},
|
|
43949
|
-
get "EmojiPicker"() {
|
|
43950
|
-
return EmojiPicker;
|
|
43951
|
-
},
|
|
43952
|
-
get "EmptyState"() {
|
|
43953
|
-
return EmptyState;
|
|
43954
|
-
},
|
|
43955
|
-
get "ErrorBoundary"() {
|
|
43956
|
-
return ErrorBoundary;
|
|
43957
|
-
},
|
|
43958
|
-
get "ErrorState"() {
|
|
43959
|
-
return ErrorState;
|
|
43960
|
-
},
|
|
43961
|
-
get "FeatureCard"() {
|
|
43962
|
-
return FeatureCard;
|
|
43963
|
-
},
|
|
43964
|
-
get "FeatureGrid"() {
|
|
43965
|
-
return FeatureGrid;
|
|
43966
|
-
},
|
|
43967
|
-
get "FileTree"() {
|
|
43968
|
-
return FileTree;
|
|
43969
|
-
},
|
|
43970
|
-
get "FilterGroup"() {
|
|
43971
|
-
return FilterGroup;
|
|
43972
|
-
},
|
|
43973
|
-
get "FilterPill"() {
|
|
43974
|
-
return FilterPill;
|
|
43975
|
-
},
|
|
43976
|
-
get "Flex"() {
|
|
43977
|
-
return Flex;
|
|
43978
|
-
},
|
|
43979
|
-
get "FlipCard"() {
|
|
43980
|
-
return FlipCard;
|
|
43981
|
-
},
|
|
43982
|
-
get "FlipContainer"() {
|
|
43983
|
-
return FlipContainer;
|
|
43984
|
-
},
|
|
43985
|
-
get "FloatingActionButton"() {
|
|
43986
|
-
return FloatingActionButton;
|
|
43987
|
-
},
|
|
43988
|
-
get "FloatingToolbar"() {
|
|
43989
|
-
return FloatingToolbar;
|
|
43990
|
-
},
|
|
43991
|
-
get "Form"() {
|
|
43992
|
-
return Form;
|
|
43993
|
-
},
|
|
43994
|
-
get "FormField"() {
|
|
43995
|
-
return FormField;
|
|
43996
|
-
},
|
|
43997
|
-
get "FormLayout"() {
|
|
43998
|
-
return FormLayout;
|
|
43999
|
-
},
|
|
44000
|
-
get "FormSectionHeader"() {
|
|
44001
|
-
return FormSectionHeader;
|
|
44002
|
-
},
|
|
44003
|
-
get "FxOverlay"() {
|
|
44004
|
-
return FxOverlay;
|
|
44005
|
-
},
|
|
44006
|
-
get "GameAudioCue"() {
|
|
44007
|
-
return GameAudioCue;
|
|
44008
|
-
},
|
|
44009
|
-
get "GameAudioToggle"() {
|
|
44010
|
-
return GameAudioToggle;
|
|
44011
|
-
},
|
|
44012
|
-
get "GameHud"() {
|
|
44013
|
-
return GameHud;
|
|
44014
|
-
},
|
|
44015
|
-
get "GameIcon"() {
|
|
44016
|
-
return GameIcon;
|
|
44017
|
-
},
|
|
44018
|
-
get "GameMenu"() {
|
|
44019
|
-
return GameMenu;
|
|
44020
|
-
},
|
|
44021
|
-
get "GameShell"() {
|
|
44022
|
-
return GameShell;
|
|
44023
|
-
},
|
|
44024
|
-
get "Gantt"() {
|
|
44025
|
-
return Gantt;
|
|
44026
|
-
},
|
|
44027
|
-
get "GenericAppTemplate"() {
|
|
44028
|
-
return GenericAppTemplate;
|
|
44029
|
-
},
|
|
44030
|
-
get "GeometricPattern"() {
|
|
44031
|
-
return GeometricPattern;
|
|
44032
|
-
},
|
|
44033
|
-
get "GradientDivider"() {
|
|
44034
|
-
return GradientDivider;
|
|
44035
|
-
},
|
|
44036
|
-
get "GraphCanvas"() {
|
|
44037
|
-
return GraphCanvas;
|
|
44038
|
-
},
|
|
44039
|
-
get "GraphView"() {
|
|
44040
|
-
return GraphView;
|
|
44041
|
-
},
|
|
44042
|
-
get "Grid"() {
|
|
44043
|
-
return Grid;
|
|
44044
|
-
},
|
|
44045
|
-
get "HStack"() {
|
|
44046
|
-
return HStack;
|
|
44047
|
-
},
|
|
44048
|
-
get "Header"() {
|
|
44049
|
-
return Header;
|
|
44050
|
-
},
|
|
44051
|
-
get "HealthBar"() {
|
|
44052
|
-
return HealthBar;
|
|
44053
|
-
},
|
|
44054
|
-
get "Icon"() {
|
|
44055
|
-
return Icon;
|
|
44056
|
-
},
|
|
44057
|
-
get "IconButton"() {
|
|
44058
|
-
return IconButtonPattern;
|
|
44059
|
-
},
|
|
44060
|
-
get "IconButtonPattern"() {
|
|
44061
|
-
return IconButtonPattern;
|
|
44062
|
-
},
|
|
44063
|
-
get "Image"() {
|
|
44064
|
-
return Image2;
|
|
44065
|
-
},
|
|
44066
|
-
get "ImportPreviewTree"() {
|
|
44067
|
-
return ImportPreviewTree;
|
|
44068
|
-
},
|
|
44069
|
-
get "ImportProgress"() {
|
|
44070
|
-
return ImportProgress;
|
|
44071
|
-
},
|
|
44072
|
-
get "ImportSourcePicker"() {
|
|
44073
|
-
return ImportSourcePicker;
|
|
44074
|
-
},
|
|
44075
|
-
get "InfiniteScrollSentinel"() {
|
|
44076
|
-
return InfiniteScrollSentinel;
|
|
44077
|
-
},
|
|
44078
|
-
get "Input"() {
|
|
44079
|
-
return Input;
|
|
44080
|
-
},
|
|
44081
|
-
get "InputGroup"() {
|
|
44082
|
-
return InputGroup;
|
|
44083
|
-
},
|
|
44084
|
-
get "JazariStateMachine"() {
|
|
44085
|
-
return JazariStateMachine;
|
|
44086
|
-
},
|
|
44087
|
-
get "Label"() {
|
|
44088
|
-
return LabelPattern;
|
|
44089
|
-
},
|
|
44090
|
-
get "LabelPattern"() {
|
|
44091
|
-
return LabelPattern;
|
|
44092
|
-
},
|
|
44093
|
-
get "LawReferenceTooltip"() {
|
|
44094
|
-
return LawReferenceTooltip;
|
|
44095
|
-
},
|
|
44096
|
-
get "LearningCanvas"() {
|
|
44097
|
-
return LearningCanvas;
|
|
44098
|
-
},
|
|
44099
|
-
get "Lightbox"() {
|
|
44100
|
-
return Lightbox;
|
|
44101
|
-
},
|
|
44102
|
-
get "LikertScale"() {
|
|
44103
|
-
return LikertScale;
|
|
44104
|
-
},
|
|
44105
|
-
get "LineChart"() {
|
|
44106
|
-
return LineChart2;
|
|
44107
|
-
},
|
|
44108
|
-
get "LoadingState"() {
|
|
44109
|
-
return LoadingState;
|
|
44110
|
-
},
|
|
44111
|
-
get "MapView"() {
|
|
44112
|
-
return MapView;
|
|
44113
|
-
},
|
|
44114
|
-
get "MarkdownContent"() {
|
|
44115
|
-
return MarkdownContent;
|
|
44116
|
-
},
|
|
44117
|
-
get "MasterDetailLayout"() {
|
|
44118
|
-
return MasterDetailLayout;
|
|
44119
|
-
},
|
|
44120
|
-
get "MathCanvas"() {
|
|
44121
|
-
return MathCanvas;
|
|
44122
|
-
},
|
|
44123
|
-
get "MatrixQuestion"() {
|
|
44124
|
-
return MatrixQuestion;
|
|
44125
|
-
},
|
|
44126
|
-
get "MediaGallery"() {
|
|
44127
|
-
return MediaGallery;
|
|
44128
|
-
},
|
|
44129
|
-
get "Menu"() {
|
|
44130
|
-
return Menu;
|
|
44131
|
-
},
|
|
44132
|
-
get "Meter"() {
|
|
44133
|
-
return Meter;
|
|
44134
|
-
},
|
|
44135
|
-
get "Modal"() {
|
|
44136
|
-
return Modal;
|
|
44137
|
-
},
|
|
44138
|
-
get "ModalSlot"() {
|
|
44139
|
-
return ModalSlot;
|
|
44140
|
-
},
|
|
44141
|
-
get "ModuleCard"() {
|
|
44142
|
-
return ModuleCard;
|
|
44143
|
-
},
|
|
44144
|
-
get "Navigation"() {
|
|
44145
|
-
return Navigation;
|
|
44146
|
-
},
|
|
44147
|
-
get "NumberStepper"() {
|
|
44148
|
-
return NumberStepper;
|
|
44149
|
-
},
|
|
44150
|
-
get "OptionConstraintGroup"() {
|
|
44151
|
-
return OptionConstraintGroup;
|
|
44152
|
-
},
|
|
44153
|
-
get "OrbitalVisualization"() {
|
|
44154
|
-
return OrbitalVisualization;
|
|
44155
|
-
},
|
|
44156
|
-
get "Overlay"() {
|
|
44157
|
-
return Overlay;
|
|
44158
|
-
},
|
|
44159
|
-
get "PageHeader"() {
|
|
44160
|
-
return PageHeader;
|
|
44161
|
-
},
|
|
44162
|
-
get "PageTransition"() {
|
|
44163
|
-
return PageTransition;
|
|
44164
|
-
},
|
|
44165
|
-
get "Pagination"() {
|
|
44166
|
-
return Pagination;
|
|
44167
|
-
},
|
|
44168
|
-
get "PatternTile"() {
|
|
44169
|
-
return PatternTile;
|
|
44170
|
-
},
|
|
44171
|
-
get "PhysicsCanvas"() {
|
|
44172
|
-
return PhysicsCanvas;
|
|
44173
|
-
},
|
|
44174
|
-
get "Popover"() {
|
|
44175
|
-
return Popover;
|
|
44176
|
-
},
|
|
44177
|
-
get "PositionedCanvas"() {
|
|
44178
|
-
return PositionedCanvas;
|
|
44179
|
-
},
|
|
44180
|
-
get "Presence"() {
|
|
44181
|
-
return Presence;
|
|
44182
|
-
},
|
|
44183
|
-
get "ProgressBar"() {
|
|
44184
|
-
return ProgressBar;
|
|
44185
|
-
},
|
|
44186
|
-
get "ProgressDots"() {
|
|
44187
|
-
return ProgressDots;
|
|
44188
|
-
},
|
|
44189
|
-
get "PullToRefresh"() {
|
|
44190
|
-
return PullToRefresh;
|
|
44191
|
-
},
|
|
44192
|
-
get "QrScanner"() {
|
|
44193
|
-
return QrScanner;
|
|
44194
|
-
},
|
|
44195
|
-
get "QuizBlock"() {
|
|
44196
|
-
return QuizBlock;
|
|
44197
|
-
},
|
|
44198
|
-
get "Radio"() {
|
|
44199
|
-
return Radio;
|
|
44200
|
-
},
|
|
44201
|
-
get "RangeSlider"() {
|
|
44202
|
-
return RangeSlider;
|
|
44203
|
-
},
|
|
44204
|
-
get "ReflectionBlock"() {
|
|
44205
|
-
return ReflectionBlock;
|
|
44206
|
-
},
|
|
44207
|
-
get "RelationSelect"() {
|
|
44208
|
-
return RelationSelect;
|
|
44209
|
-
},
|
|
44210
|
-
get "RepeatableFormSection"() {
|
|
44211
|
-
return RepeatableFormSection;
|
|
44212
|
-
},
|
|
44213
|
-
get "ReplyTree"() {
|
|
44214
|
-
return ReplyTree;
|
|
44215
|
-
},
|
|
44216
|
-
get "RichTextEditor"() {
|
|
44217
|
-
return RichTextEditor;
|
|
44218
|
-
},
|
|
44219
|
-
get "RuntimeDebugger"() {
|
|
44220
|
-
return RuntimeDebugger;
|
|
44221
|
-
},
|
|
44222
|
-
get "ScaledDiagram"() {
|
|
44223
|
-
return ScaledDiagram;
|
|
44224
|
-
},
|
|
44225
|
-
get "ScoreDisplay"() {
|
|
44226
|
-
return ScoreDisplay;
|
|
44227
|
-
},
|
|
44228
|
-
get "SearchInput"() {
|
|
44229
|
-
return SearchInput;
|
|
44230
|
-
},
|
|
44231
|
-
get "Section"() {
|
|
44232
|
-
return Section;
|
|
44233
|
-
},
|
|
44234
|
-
get "SectionHeader"() {
|
|
44235
|
-
return SectionHeader;
|
|
44236
|
-
},
|
|
44237
|
-
get "SegmentRenderer"() {
|
|
44238
|
-
return SegmentRenderer;
|
|
44239
|
-
},
|
|
44240
|
-
get "Select"() {
|
|
44241
|
-
return Select;
|
|
44242
|
-
},
|
|
44243
|
-
get "SequenceBar"() {
|
|
44244
|
-
return SequenceBar;
|
|
44245
|
-
},
|
|
44246
|
-
get "SidePanel"() {
|
|
44247
|
-
return SidePanel;
|
|
44248
|
-
},
|
|
44249
|
-
get "Sidebar"() {
|
|
44250
|
-
return Sidebar;
|
|
44251
|
-
},
|
|
44252
|
-
get "SignaturePad"() {
|
|
44253
|
-
return SignaturePad;
|
|
44254
|
-
},
|
|
44255
|
-
get "SimpleGrid"() {
|
|
44256
|
-
return SimpleGrid;
|
|
44257
|
-
},
|
|
44258
|
-
get "Skeleton"() {
|
|
44259
|
-
return Skeleton;
|
|
44260
|
-
},
|
|
44261
|
-
get "SocialProof"() {
|
|
44262
|
-
return SocialProof;
|
|
44263
|
-
},
|
|
44264
|
-
get "SortableList"() {
|
|
44265
|
-
return SortableList;
|
|
44266
|
-
},
|
|
44267
|
-
get "Spacer"() {
|
|
44268
|
-
return SpacerPattern;
|
|
44269
|
-
},
|
|
44270
|
-
get "SpacerPattern"() {
|
|
44271
|
-
return SpacerPattern;
|
|
44272
|
-
},
|
|
44273
|
-
get "Sparkline"() {
|
|
44274
|
-
return Sparkline;
|
|
44275
|
-
},
|
|
44276
|
-
get "Spinner"() {
|
|
44277
|
-
return Spinner;
|
|
44278
|
-
},
|
|
44279
|
-
get "Split"() {
|
|
44280
|
-
return Split;
|
|
44281
|
-
},
|
|
44282
|
-
get "SplitPane"() {
|
|
44283
|
-
return SplitPane;
|
|
44284
|
-
},
|
|
44285
|
-
get "Stack"() {
|
|
44286
|
-
return Stack;
|
|
44287
|
-
},
|
|
44288
|
-
get "StarRating"() {
|
|
44289
|
-
return StarRating;
|
|
44290
|
-
},
|
|
44291
|
-
get "StatBadge"() {
|
|
44292
|
-
return StatBadge;
|
|
44293
|
-
},
|
|
44294
|
-
get "StatCard"() {
|
|
44295
|
-
return StatCard;
|
|
44296
|
-
},
|
|
44297
|
-
get "StatDisplay"() {
|
|
44298
|
-
return StatDisplay;
|
|
44299
|
-
},
|
|
44300
|
-
get "StateGraph"() {
|
|
44301
|
-
return StateGraph;
|
|
44302
|
-
},
|
|
44303
|
-
get "StateJsonView"() {
|
|
44304
|
-
return StateJsonView;
|
|
44305
|
-
},
|
|
44306
|
-
get "StateMachineView"() {
|
|
44307
|
-
return StateMachineView;
|
|
44308
|
-
},
|
|
44309
|
-
get "StatusDot"() {
|
|
44310
|
-
return StatusDot;
|
|
44311
|
-
},
|
|
44312
|
-
get "SubagentTracePanel"() {
|
|
44313
|
-
return SubagentTracePanel;
|
|
44314
|
-
},
|
|
44315
|
-
get "SvgBranch"() {
|
|
44316
|
-
return SvgBranch;
|
|
44317
|
-
},
|
|
44318
|
-
get "SvgConnection"() {
|
|
44319
|
-
return SvgConnection;
|
|
44320
|
-
},
|
|
44321
|
-
get "SvgFlow"() {
|
|
44322
|
-
return SvgFlow;
|
|
44323
|
-
},
|
|
44324
|
-
get "SvgGrid"() {
|
|
44325
|
-
return SvgGrid;
|
|
44326
|
-
},
|
|
44327
|
-
get "SvgLobe"() {
|
|
44328
|
-
return SvgLobe;
|
|
44329
|
-
},
|
|
44330
|
-
get "SvgMesh"() {
|
|
44331
|
-
return SvgMesh;
|
|
44332
|
-
},
|
|
44333
|
-
get "SvgMorph"() {
|
|
44334
|
-
return SvgMorph;
|
|
44335
|
-
},
|
|
44336
|
-
get "SvgNode"() {
|
|
44337
|
-
return SvgNode;
|
|
44338
|
-
},
|
|
44339
|
-
get "SvgPulse"() {
|
|
44340
|
-
return SvgPulse;
|
|
44341
|
-
},
|
|
44342
|
-
get "SvgRing"() {
|
|
44343
|
-
return SvgRing;
|
|
44344
|
-
},
|
|
44345
|
-
get "SvgShield"() {
|
|
44346
|
-
return SvgShield;
|
|
44347
|
-
},
|
|
44348
|
-
get "SvgStack"() {
|
|
44349
|
-
return SvgStack;
|
|
44350
|
-
},
|
|
44351
|
-
get "SwipeableRow"() {
|
|
44352
|
-
return SwipeableRow;
|
|
44353
|
-
},
|
|
44354
|
-
get "Switch"() {
|
|
44355
|
-
return Switch;
|
|
44356
|
-
},
|
|
44357
|
-
get "TabbedContainer"() {
|
|
44358
|
-
return TabbedContainer;
|
|
44359
|
-
},
|
|
44360
|
-
get "TableView"() {
|
|
44361
|
-
return TableView;
|
|
44362
|
-
},
|
|
44363
|
-
get "Tabs"() {
|
|
44364
|
-
return Tabs;
|
|
44365
|
-
},
|
|
44366
|
-
get "TagInput"() {
|
|
44367
|
-
return TagInput;
|
|
44368
|
-
},
|
|
44369
|
-
get "TextHighlight"() {
|
|
44370
|
-
return TextHighlight;
|
|
44371
|
-
},
|
|
44372
|
-
get "Textarea"() {
|
|
44373
|
-
return Textarea;
|
|
44374
|
-
},
|
|
44375
|
-
get "ThemeToggle"() {
|
|
44376
|
-
return ThemeToggle;
|
|
44377
|
-
},
|
|
44378
|
-
get "TimeSlotCell"() {
|
|
44379
|
-
return TimeSlotCell;
|
|
44380
|
-
},
|
|
44381
|
-
get "Timeline"() {
|
|
44382
|
-
return Timeline;
|
|
44383
|
-
},
|
|
44384
|
-
get "TimerDisplay"() {
|
|
44385
|
-
return TimerDisplay;
|
|
44386
|
-
},
|
|
44387
|
-
get "Toast"() {
|
|
44388
|
-
return Toast;
|
|
44389
|
-
},
|
|
44390
|
-
get "ToastSlot"() {
|
|
44391
|
-
return ToastSlot;
|
|
44392
|
-
},
|
|
44393
|
-
get "Tooltip"() {
|
|
44394
|
-
return Tooltip;
|
|
44395
|
-
},
|
|
44396
|
-
get "TopNavItem"() {
|
|
44397
|
-
return TopNavItem;
|
|
44398
|
-
},
|
|
44399
|
-
get "TraitFrame"() {
|
|
44400
|
-
return TraitFrame;
|
|
44401
|
-
},
|
|
44402
|
-
get "TraitSlot"() {
|
|
44403
|
-
return TraitSlot;
|
|
44404
|
-
},
|
|
44405
|
-
get "TrendIndicator"() {
|
|
44406
|
-
return TrendIndicator;
|
|
44407
|
-
},
|
|
44408
|
-
get "TypewriterText"() {
|
|
44409
|
-
return TypewriterText;
|
|
44410
|
-
},
|
|
44411
|
-
get "Typography"() {
|
|
44412
|
-
return Typography;
|
|
44413
|
-
},
|
|
44414
|
-
get "UISlotComponent"() {
|
|
44415
|
-
return UISlotComponent;
|
|
44416
|
-
},
|
|
44417
|
-
get "UISlotRenderer"() {
|
|
44418
|
-
return UISlotRenderer;
|
|
44419
|
-
},
|
|
44420
|
-
get "UploadDropZone"() {
|
|
44421
|
-
return UploadDropZone;
|
|
44422
|
-
},
|
|
44423
|
-
get "VStack"() {
|
|
44424
|
-
return VStack;
|
|
44425
|
-
},
|
|
44426
|
-
get "VersionDiff"() {
|
|
44427
|
-
return VersionDiff;
|
|
44428
|
-
},
|
|
44429
|
-
get "ViolationAlert"() {
|
|
44430
|
-
return ViolationAlert;
|
|
44431
|
-
},
|
|
44432
|
-
get "VoteStack"() {
|
|
44433
|
-
return VoteStack;
|
|
44434
|
-
},
|
|
44435
|
-
get "WizardContainer"() {
|
|
44436
|
-
return WizardContainer;
|
|
44437
|
-
},
|
|
44438
|
-
get "WizardNavigation"() {
|
|
44439
|
-
return WizardNavigation;
|
|
44440
|
-
},
|
|
44441
|
-
get "WizardProgress"() {
|
|
44442
|
-
return WizardProgress;
|
|
44443
|
-
},
|
|
43751
|
+
"Accordion": Accordion,
|
|
43752
|
+
"ActionPalette": ActionPalette,
|
|
43753
|
+
"ActionTile": ActionTile,
|
|
43754
|
+
"ActivationBlock": ActivationBlock,
|
|
43755
|
+
"AgentActivityFeed": AgentActivityFeed,
|
|
43756
|
+
"AgentActivityRow": AgentActivityRow,
|
|
43757
|
+
"AgentChatFeed": AgentChatFeed,
|
|
43758
|
+
"Alert": AlertPattern,
|
|
43759
|
+
"AlertPattern": AlertPattern,
|
|
43760
|
+
"AlgoGraphCanvas": AlgoGraphCanvas,
|
|
43761
|
+
"AlgorithmCanvas": AlgorithmCanvas,
|
|
43762
|
+
"AnimatedCounter": AnimatedCounter,
|
|
43763
|
+
"AnimatedGraphic": AnimatedGraphic,
|
|
43764
|
+
"AnimatedReveal": AnimatedReveal,
|
|
43765
|
+
"Aside": Aside,
|
|
43766
|
+
"AtlasImage": AtlasImage,
|
|
43767
|
+
"AtlasPanel": AtlasPanel,
|
|
43768
|
+
"AuthLayout": AuthLayout,
|
|
43769
|
+
"Avatar": Avatar,
|
|
43770
|
+
"Badge": Badge,
|
|
43771
|
+
"BehaviorView": BehaviorView,
|
|
43772
|
+
"BiologyCanvas": BiologyCanvas,
|
|
43773
|
+
"BloomQuizBlock": BloomQuizBlock,
|
|
43774
|
+
"Box": BoxPattern,
|
|
43775
|
+
"BoxPattern": BoxPattern,
|
|
43776
|
+
"BranchingLogicBuilder": BranchingLogicBuilder,
|
|
43777
|
+
"Breadcrumb": Breadcrumb,
|
|
43778
|
+
"Button": ButtonPattern,
|
|
43779
|
+
"ButtonGroup": ButtonGroup,
|
|
43780
|
+
"ButtonPattern": ButtonPattern,
|
|
43781
|
+
"CalendarGrid": CalendarGrid,
|
|
43782
|
+
"Canvas": Canvas,
|
|
43783
|
+
"Canvas2D": Canvas2D,
|
|
43784
|
+
"Card": Card,
|
|
43785
|
+
"Carousel": Carousel,
|
|
43786
|
+
"Center": Center,
|
|
43787
|
+
"ChangeList": ChangeList,
|
|
43788
|
+
"Chart": Chart,
|
|
43789
|
+
"ChartLegend": ChartLegend,
|
|
43790
|
+
"ChatBar": ChatBar,
|
|
43791
|
+
"Checkbox": Checkbox,
|
|
43792
|
+
"ChemistryCanvas": ChemistryCanvas,
|
|
43793
|
+
"ChoiceButton": ChoiceButton,
|
|
43794
|
+
"CodeBlock": CodeBlock,
|
|
43795
|
+
"CodeRunnerPanel": CodeRunnerPanel,
|
|
43796
|
+
"CommandPalette": CommandPalette,
|
|
43797
|
+
"CommitRow": CommitRow,
|
|
43798
|
+
"ConditionalWrapper": ConditionalWrapper,
|
|
43799
|
+
"ConfettiEffect": ConfettiEffect,
|
|
43800
|
+
"ConfirmDialog": ConfirmDialog,
|
|
43801
|
+
"ConnectionBlock": ConnectionBlock,
|
|
43802
|
+
"Container": Container,
|
|
43803
|
+
"ContentRenderer": ContentRenderer,
|
|
43804
|
+
"ControlButton": ControlButton,
|
|
43805
|
+
"ControlGrid": ControlGrid,
|
|
43806
|
+
"CounterTemplate": CounterTemplate,
|
|
43807
|
+
"DashboardGrid": DashboardGrid,
|
|
43808
|
+
"DashboardLayout": DashboardLayout,
|
|
43809
|
+
"DataGrid": DataGrid,
|
|
43810
|
+
"DataList": DataList,
|
|
43811
|
+
"DateRangePicker": DateRangePicker,
|
|
43812
|
+
"DateRangeSelector": DateRangeSelector,
|
|
43813
|
+
"DayCell": DayCell,
|
|
43814
|
+
"DetailPanel": DetailPanel,
|
|
43815
|
+
"Dialog": Dialog,
|
|
43816
|
+
"DialogueBubble": DialogueBubble,
|
|
43817
|
+
"Divider": DividerPattern,
|
|
43818
|
+
"DividerPattern": DividerPattern,
|
|
43819
|
+
"DocBreadcrumb": DocBreadcrumb,
|
|
43820
|
+
"DocPagination": DocPagination,
|
|
43821
|
+
"DocSearch": DocSearch,
|
|
43822
|
+
"DocSidebar": DocSidebar,
|
|
43823
|
+
"DocTOC": DocTOC,
|
|
43824
|
+
"DockLayout": DockLayout,
|
|
43825
|
+
"DocumentDetails": DocumentDetails,
|
|
43826
|
+
"DocumentPanel": DocumentPanel,
|
|
43827
|
+
"DocumentViewer": DocumentViewer,
|
|
43828
|
+
"DrawFxLayer": DrawFxLayer,
|
|
43829
|
+
"DrawGroup": DrawGroup,
|
|
43830
|
+
"DrawMesh": DrawMesh,
|
|
43831
|
+
"DrawShape": DrawShape,
|
|
43832
|
+
"DrawShapeLayer": DrawShapeLayer,
|
|
43833
|
+
"DrawSkinnedMesh": DrawSkinnedMesh,
|
|
43834
|
+
"DrawSprite": DrawSprite,
|
|
43835
|
+
"DrawSpriteLayer": DrawSpriteLayer,
|
|
43836
|
+
"DrawText": DrawText,
|
|
43837
|
+
"DrawTextLayer": DrawTextLayer,
|
|
43838
|
+
"Drawer": Drawer,
|
|
43839
|
+
"DrawerSlot": DrawerSlot,
|
|
43840
|
+
"EdgeDecoration": EdgeDecoration,
|
|
43841
|
+
"EmojiPicker": EmojiPicker,
|
|
43842
|
+
"EmptyState": EmptyState,
|
|
43843
|
+
"ErrorBoundary": ErrorBoundary,
|
|
43844
|
+
"ErrorState": ErrorState,
|
|
43845
|
+
"FeatureCard": FeatureCard,
|
|
43846
|
+
"FeatureGrid": FeatureGrid,
|
|
43847
|
+
"FileTree": FileTree,
|
|
43848
|
+
"FilterGroup": FilterGroup,
|
|
43849
|
+
"FilterPill": FilterPill,
|
|
43850
|
+
"Flex": Flex,
|
|
43851
|
+
"FlipCard": FlipCard,
|
|
43852
|
+
"FlipContainer": FlipContainer,
|
|
43853
|
+
"FloatingActionButton": FloatingActionButton,
|
|
43854
|
+
"FloatingToolbar": FloatingToolbar,
|
|
43855
|
+
"Form": Form,
|
|
43856
|
+
"FormField": FormField,
|
|
43857
|
+
"FormLayout": FormLayout,
|
|
43858
|
+
"FormSectionHeader": FormSectionHeader,
|
|
43859
|
+
"FxOverlay": FxOverlay,
|
|
43860
|
+
"GameAudioCue": GameAudioCue,
|
|
43861
|
+
"GameAudioToggle": GameAudioToggle,
|
|
43862
|
+
"GameHud": GameHud,
|
|
43863
|
+
"GameIcon": GameIcon,
|
|
43864
|
+
"GameMenu": GameMenu,
|
|
43865
|
+
"GameShell": GameShell,
|
|
43866
|
+
"Gantt": Gantt,
|
|
43867
|
+
"GenericAppTemplate": GenericAppTemplate,
|
|
43868
|
+
"GeometricPattern": GeometricPattern,
|
|
43869
|
+
"GradientDivider": GradientDivider,
|
|
43870
|
+
"GraphCanvas": GraphCanvas,
|
|
43871
|
+
"GraphView": GraphView,
|
|
43872
|
+
"Grid": Grid,
|
|
43873
|
+
"HStack": HStack,
|
|
43874
|
+
"Header": Header,
|
|
43875
|
+
"HealthBar": HealthBar,
|
|
43876
|
+
"Icon": Icon,
|
|
43877
|
+
"IconButton": IconButtonPattern,
|
|
43878
|
+
"IconButtonPattern": IconButtonPattern,
|
|
43879
|
+
"Image": Image2,
|
|
43880
|
+
"ImportPreviewTree": ImportPreviewTree,
|
|
43881
|
+
"ImportProgress": ImportProgress,
|
|
43882
|
+
"ImportSourcePicker": ImportSourcePicker,
|
|
43883
|
+
"InfiniteScrollSentinel": InfiniteScrollSentinel,
|
|
43884
|
+
"Input": Input,
|
|
43885
|
+
"InputGroup": InputGroup,
|
|
43886
|
+
"JazariStateMachine": JazariStateMachine,
|
|
43887
|
+
"Label": LabelPattern,
|
|
43888
|
+
"LabelPattern": LabelPattern,
|
|
43889
|
+
"LawReferenceTooltip": LawReferenceTooltip,
|
|
43890
|
+
"LearningCanvas": LearningCanvas,
|
|
43891
|
+
"Lightbox": Lightbox,
|
|
43892
|
+
"LikertScale": LikertScale,
|
|
43893
|
+
"LineChart": LineChart2,
|
|
43894
|
+
"LoadingState": LoadingState,
|
|
43895
|
+
"MapView": MapView,
|
|
43896
|
+
"MarkdownContent": MarkdownContent,
|
|
43897
|
+
"MasterDetailLayout": MasterDetailLayout,
|
|
43898
|
+
"MathCanvas": MathCanvas,
|
|
43899
|
+
"MatrixQuestion": MatrixQuestion,
|
|
43900
|
+
"MediaGallery": MediaGallery,
|
|
43901
|
+
"Menu": Menu,
|
|
43902
|
+
"Meter": Meter,
|
|
43903
|
+
"Modal": Modal,
|
|
43904
|
+
"ModalSlot": ModalSlot,
|
|
43905
|
+
"ModuleCard": ModuleCard,
|
|
43906
|
+
"Navigation": Navigation,
|
|
43907
|
+
"NumberStepper": NumberStepper,
|
|
43908
|
+
"OptionConstraintGroup": OptionConstraintGroup,
|
|
43909
|
+
"OrbitalVisualization": OrbitalVisualization,
|
|
43910
|
+
"Overlay": Overlay,
|
|
43911
|
+
"PageHeader": PageHeader,
|
|
43912
|
+
"PageTransition": PageTransition,
|
|
43913
|
+
"Pagination": Pagination,
|
|
43914
|
+
"PatternTile": PatternTile,
|
|
43915
|
+
"PhysicsCanvas": PhysicsCanvas,
|
|
43916
|
+
"Popover": Popover,
|
|
43917
|
+
"PositionedCanvas": PositionedCanvas,
|
|
43918
|
+
"Presence": Presence,
|
|
43919
|
+
"ProgressBar": ProgressBar,
|
|
43920
|
+
"ProgressDots": ProgressDots,
|
|
43921
|
+
"PullToRefresh": PullToRefresh,
|
|
43922
|
+
"QrScanner": QrScanner,
|
|
43923
|
+
"QuizBlock": QuizBlock,
|
|
43924
|
+
"Radio": Radio,
|
|
43925
|
+
"RangeSlider": RangeSlider,
|
|
43926
|
+
"ReflectionBlock": ReflectionBlock,
|
|
43927
|
+
"RelationSelect": RelationSelect,
|
|
43928
|
+
"RepeatableFormSection": RepeatableFormSection,
|
|
43929
|
+
"ReplyTree": ReplyTree,
|
|
43930
|
+
"RichTextEditor": RichTextEditor,
|
|
43931
|
+
"RuntimeDebugger": RuntimeDebugger,
|
|
43932
|
+
"ScaledDiagram": ScaledDiagram,
|
|
43933
|
+
"ScoreDisplay": ScoreDisplay,
|
|
43934
|
+
"SearchInput": SearchInput,
|
|
43935
|
+
"Section": Section,
|
|
43936
|
+
"SectionHeader": SectionHeader,
|
|
43937
|
+
"SegmentRenderer": SegmentRenderer,
|
|
43938
|
+
"Select": Select,
|
|
43939
|
+
"SequenceBar": SequenceBar,
|
|
43940
|
+
"SidePanel": SidePanel,
|
|
43941
|
+
"Sidebar": Sidebar,
|
|
43942
|
+
"SignaturePad": SignaturePad,
|
|
43943
|
+
"SimpleGrid": SimpleGrid,
|
|
43944
|
+
"Skeleton": Skeleton,
|
|
43945
|
+
"SocialProof": SocialProof,
|
|
43946
|
+
"SortableList": SortableList,
|
|
43947
|
+
"Spacer": SpacerPattern,
|
|
43948
|
+
"SpacerPattern": SpacerPattern,
|
|
43949
|
+
"Sparkline": Sparkline,
|
|
43950
|
+
"Spinner": Spinner,
|
|
43951
|
+
"Split": Split,
|
|
43952
|
+
"SplitPane": SplitPane,
|
|
43953
|
+
"Stack": Stack,
|
|
43954
|
+
"StarRating": StarRating,
|
|
43955
|
+
"StatBadge": StatBadge,
|
|
43956
|
+
"StatCard": StatCard,
|
|
43957
|
+
"StatDisplay": StatDisplay,
|
|
43958
|
+
"StateGraph": StateGraph,
|
|
43959
|
+
"StateJsonView": StateJsonView,
|
|
43960
|
+
"StateMachineView": StateMachineView,
|
|
43961
|
+
"StatusDot": StatusDot,
|
|
43962
|
+
"SubagentTracePanel": SubagentTracePanel,
|
|
43963
|
+
"SvgBranch": SvgBranch,
|
|
43964
|
+
"SvgConnection": SvgConnection,
|
|
43965
|
+
"SvgFlow": SvgFlow,
|
|
43966
|
+
"SvgGrid": SvgGrid,
|
|
43967
|
+
"SvgLobe": SvgLobe,
|
|
43968
|
+
"SvgMesh": SvgMesh,
|
|
43969
|
+
"SvgMorph": SvgMorph,
|
|
43970
|
+
"SvgNode": SvgNode,
|
|
43971
|
+
"SvgPulse": SvgPulse,
|
|
43972
|
+
"SvgRing": SvgRing,
|
|
43973
|
+
"SvgShield": SvgShield,
|
|
43974
|
+
"SvgStack": SvgStack,
|
|
43975
|
+
"SwipeableRow": SwipeableRow,
|
|
43976
|
+
"Switch": Switch,
|
|
43977
|
+
"TabbedContainer": TabbedContainer,
|
|
43978
|
+
"TableView": TableView,
|
|
43979
|
+
"Tabs": Tabs,
|
|
43980
|
+
"TagInput": TagInput,
|
|
43981
|
+
"TextHighlight": TextHighlight,
|
|
43982
|
+
"Textarea": Textarea,
|
|
43983
|
+
"ThemeToggle": ThemeToggle,
|
|
43984
|
+
"TimeSlotCell": TimeSlotCell,
|
|
43985
|
+
"Timeline": Timeline,
|
|
43986
|
+
"TimerDisplay": TimerDisplay,
|
|
43987
|
+
"Toast": Toast,
|
|
43988
|
+
"ToastSlot": ToastSlot,
|
|
43989
|
+
"Tooltip": Tooltip,
|
|
43990
|
+
"TopNavItem": TopNavItem,
|
|
43991
|
+
"TraitFrame": TraitFrame,
|
|
43992
|
+
"TraitSlot": TraitSlot,
|
|
43993
|
+
"TrendIndicator": TrendIndicator,
|
|
43994
|
+
"TypewriterText": TypewriterText,
|
|
43995
|
+
"Typography": Typography,
|
|
43996
|
+
"UISlotComponent": UISlotComponent,
|
|
43997
|
+
"UISlotRenderer": UISlotRenderer,
|
|
43998
|
+
"UploadDropZone": UploadDropZone,
|
|
43999
|
+
"VStack": VStack,
|
|
44000
|
+
"VersionDiff": VersionDiff,
|
|
44001
|
+
"ViolationAlert": ViolationAlert,
|
|
44002
|
+
"VoteStack": VoteStack,
|
|
44003
|
+
"WizardContainer": WizardContainer,
|
|
44004
|
+
"WizardNavigation": WizardNavigation,
|
|
44005
|
+
"WizardProgress": WizardProgress,
|
|
44444
44006
|
// Semantic aliases
|
|
44445
|
-
|
|
44446
|
-
return TextPattern;
|
|
44447
|
-
}
|
|
44007
|
+
"Text": TextPattern
|
|
44448
44008
|
};
|
|
44449
44009
|
var scopeWrapLog = createLogger("almadar:ui:scope-wrap");
|
|
44450
44010
|
var TRAIT_BINDING_RE = /^@trait\.([A-Z][A-Za-z0-9]*)$/;
|
|
@@ -44770,6 +44330,7 @@ function UISlotComponentInner({
|
|
|
44770
44330
|
const awaiting = isPortalSlot(slot) ? void 0 : awaitingSkeleton ?? runtimeAwaiting;
|
|
44771
44331
|
const regionClassName = fallback !== void 0 ? cn("contents", className) : className;
|
|
44772
44332
|
const binding = useEntityBindingSnapshot(rawContent?.sourceTrait);
|
|
44333
|
+
const i18n = useRenderI18n();
|
|
44773
44334
|
const content = useMemo(() => {
|
|
44774
44335
|
if (!rawContent) return rawContent;
|
|
44775
44336
|
const resolvedProps = resolveRenderBindingMarkers(
|
|
@@ -44777,10 +44338,11 @@ function UISlotComponentInner({
|
|
|
44777
44338
|
rawContent.sourceTrait,
|
|
44778
44339
|
binding.entity,
|
|
44779
44340
|
binding.config,
|
|
44780
|
-
binding.state
|
|
44341
|
+
binding.state,
|
|
44342
|
+
i18n
|
|
44781
44343
|
);
|
|
44782
44344
|
return resolvedProps === rawContent.props ? rawContent : { ...rawContent, props: resolvedProps };
|
|
44783
|
-
}, [rawContent, binding.entity, binding.config, binding.state]);
|
|
44345
|
+
}, [rawContent, binding.entity, binding.config, binding.state, i18n]);
|
|
44784
44346
|
const animatedPortal = isAnimatedPortalSlot(slot);
|
|
44785
44347
|
const holdForPending = useScopeHasPending(useContext(PendingScopeContext));
|
|
44786
44348
|
const runtimePresence = useSlotPresence(portal && animatedPortal ? content ?? null : null, holdForPending);
|
|
@@ -45420,9 +44982,10 @@ function SlotContentRenderer({
|
|
|
45420
44982
|
const ambientScope = useTraitScope();
|
|
45421
44983
|
const bindingTrait = content.sourceTrait ?? ambientScope?.trait;
|
|
45422
44984
|
const binding = useEntityBindingSnapshot(bindingTrait);
|
|
44985
|
+
const i18n = useRenderI18n();
|
|
45423
44986
|
const liveProps = useMemo(
|
|
45424
|
-
() => resolveRenderBindingMarkers(content.props, bindingTrait, binding.entity, binding.config, binding.state),
|
|
45425
|
-
[content.props, bindingTrait, binding.entity, binding.config, binding.state]
|
|
44987
|
+
() => resolveRenderBindingMarkers(content.props, bindingTrait, binding.entity, binding.config, binding.state, i18n),
|
|
44988
|
+
[content.props, bindingTrait, binding.entity, binding.config, binding.state, i18n]
|
|
45426
44989
|
);
|
|
45427
44990
|
const propsObj = typeof liveProps === "string" ? {} : liveProps;
|
|
45428
44991
|
const entityProp = propsObj.entity;
|