@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
|
@@ -17,6 +17,7 @@ var ui = require('@almadar/runtime/ui');
|
|
|
17
17
|
var SyntaxHighlighter = require('react-syntax-highlighter/dist/esm/prism-light.js');
|
|
18
18
|
var createHighlightElement = require('react-syntax-highlighter/dist/esm/create-element.js');
|
|
19
19
|
var dark = require('react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus.js');
|
|
20
|
+
var light = require('react-syntax-highlighter/dist/esm/styles/prism/vs.js');
|
|
20
21
|
var syntax = require('@almadar/syntax');
|
|
21
22
|
var i18n = require('@almadar/core/i18n');
|
|
22
23
|
var langJson = require('react-syntax-highlighter/dist/esm/languages/prism/json.js');
|
|
@@ -104,6 +105,7 @@ var LucideIcons2__namespace = /*#__PURE__*/_interopNamespace(LucideIcons2);
|
|
|
104
105
|
var SyntaxHighlighter__default = /*#__PURE__*/_interopDefault(SyntaxHighlighter);
|
|
105
106
|
var createHighlightElement__default = /*#__PURE__*/_interopDefault(createHighlightElement);
|
|
106
107
|
var dark__default = /*#__PURE__*/_interopDefault(dark);
|
|
108
|
+
var light__default = /*#__PURE__*/_interopDefault(light);
|
|
107
109
|
var langJson__default = /*#__PURE__*/_interopDefault(langJson);
|
|
108
110
|
var langJavascript__default = /*#__PURE__*/_interopDefault(langJavascript);
|
|
109
111
|
var langTypescript__default = /*#__PURE__*/_interopDefault(langTypescript);
|
|
@@ -2201,7 +2203,7 @@ var init_Button = __esm({
|
|
|
2201
2203
|
const testId = dataTestId ?? (action ? `action-${action}` : void 0);
|
|
2202
2204
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2203
2205
|
busy && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "almadar-busy-indicator absolute inset-0 flex items-center justify-center", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons2.Loader2, { className: "h-icon-default w-icon-default animate-spin" }) }),
|
|
2204
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: cn("inline-flex items-center justify-
|
|
2206
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: cn("inline-flex flex-1 min-w-0 items-center [justify-content:inherit] gap-2", busy && "almadar-busy-content"), children: [
|
|
2205
2207
|
resolvedLeftIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-shrink-0", children: resolvedLeftIcon }),
|
|
2206
2208
|
(Array.isArray(children) ? children.length > 0 : Boolean(children)) ? children : label ? /* @__PURE__ */ jsxRuntime.jsx("span", { ...{ [INLINE_TEXT_ATTR]: "label" }, children: label }) : label,
|
|
2207
2209
|
resolvedRightIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-shrink-0", children: resolvedRightIcon })
|
|
@@ -2562,6 +2564,7 @@ var init_en = __esm({
|
|
|
2562
2564
|
"status.draft": "Draft",
|
|
2563
2565
|
"status.archived": "Archived",
|
|
2564
2566
|
"error.generic": "Something went wrong",
|
|
2567
|
+
"error.traitMountFailed": "{{trait}} failed to start",
|
|
2565
2568
|
"error.retry": "Try again",
|
|
2566
2569
|
"error.notFound": "Not found",
|
|
2567
2570
|
"error.loadFailed": "Failed to load: {{message}}",
|
|
@@ -8727,12 +8730,13 @@ var init_Skeleton = __esm({
|
|
|
8727
8730
|
Skeleton.displayName = "Skeleton";
|
|
8728
8731
|
}
|
|
8729
8732
|
});
|
|
8730
|
-
function resolveMarkerExpression(expression, entity, config, state) {
|
|
8733
|
+
function resolveMarkerExpression(expression, entity, config, state, i18n) {
|
|
8731
8734
|
const ctx = runtime.createContextFromBindings({
|
|
8732
8735
|
entity,
|
|
8733
8736
|
payload: {},
|
|
8734
8737
|
state,
|
|
8735
|
-
...config !== void 0 ? { config } : {}
|
|
8738
|
+
...config !== void 0 ? { config } : {},
|
|
8739
|
+
...i18n !== void 0 ? { locale: i18n.locale, messages: i18n.messages } : {}
|
|
8736
8740
|
});
|
|
8737
8741
|
return runtime.interpolateValue(expression, ctx);
|
|
8738
8742
|
}
|
|
@@ -8744,9 +8748,9 @@ function isPlainObject(value) {
|
|
|
8744
8748
|
if (typeof value === "function") return false;
|
|
8745
8749
|
return true;
|
|
8746
8750
|
}
|
|
8747
|
-
function cachedContainer(value, scopeTrait, entity, config, state) {
|
|
8751
|
+
function cachedContainer(value, scopeTrait, entity, config, state, i18n) {
|
|
8748
8752
|
const hit = containerResolutionCache.get(value);
|
|
8749
|
-
return hit !== void 0 && hit.entity === entity && hit.config === config && hit.state === state && hit.scopeTrait === scopeTrait ? hit.resolved : void 0;
|
|
8753
|
+
return hit !== void 0 && hit.entity === entity && hit.config === config && hit.state === state && hit.i18n === i18n && hit.scopeTrait === scopeTrait ? hit.resolved : void 0;
|
|
8750
8754
|
}
|
|
8751
8755
|
function isEvaluatorResolvedData(value) {
|
|
8752
8756
|
return evaluatorResolvedData.has(value);
|
|
@@ -8777,14 +8781,14 @@ function subtreeHasMarker(value) {
|
|
|
8777
8781
|
markerPresenceCache.set(value, found);
|
|
8778
8782
|
return found;
|
|
8779
8783
|
}
|
|
8780
|
-
function walkValue(value, scopeTrait, entity, config, state) {
|
|
8784
|
+
function walkValue(value, scopeTrait, entity, config, state, i18n) {
|
|
8781
8785
|
if (core.isRenderBindingMarker(value)) {
|
|
8782
8786
|
const cached = markerResolutionCache.get(value);
|
|
8783
|
-
if (cached !== void 0 && cached.entity === entity && cached.config === config && cached.state === state) {
|
|
8787
|
+
if (cached !== void 0 && cached.entity === entity && cached.config === config && cached.state === state && cached.i18n === i18n) {
|
|
8784
8788
|
return { resolved: cached.resolved, changed: true };
|
|
8785
8789
|
}
|
|
8786
|
-
const resolved = resolveMarkerExpression(value.expression, entity, config, state);
|
|
8787
|
-
markerResolutionCache.set(value, { entity, config, state, resolved });
|
|
8790
|
+
const resolved = resolveMarkerExpression(value.expression, entity, config, state, i18n);
|
|
8791
|
+
markerResolutionCache.set(value, { entity, config, state, i18n, resolved });
|
|
8788
8792
|
if (resolved !== null && typeof resolved === "object" && !React82__namespace.default.isValidElement(resolved) && !(resolved instanceof Date)) {
|
|
8789
8793
|
resolvedMarkerFree.add(resolved);
|
|
8790
8794
|
evaluatorResolvedData.add(resolved);
|
|
@@ -8796,14 +8800,14 @@ function walkValue(value, scopeTrait, entity, config, state) {
|
|
|
8796
8800
|
brandResolved(value);
|
|
8797
8801
|
return { resolved: value, changed: false };
|
|
8798
8802
|
}
|
|
8799
|
-
const cachedArray = cachedContainer(value, scopeTrait, entity, config, state);
|
|
8803
|
+
const cachedArray = cachedContainer(value, scopeTrait, entity, config, state, i18n);
|
|
8800
8804
|
if (cachedArray !== void 0) return { resolved: cachedArray, changed: true };
|
|
8801
8805
|
const out = [];
|
|
8802
8806
|
let changed = false;
|
|
8803
8807
|
for (const item of value) {
|
|
8804
8808
|
const element = item;
|
|
8805
8809
|
const wasMarker = core.isRenderBindingMarker(element);
|
|
8806
|
-
const { resolved, changed: itemChanged } = walkValue(element, scopeTrait, entity, config, state);
|
|
8810
|
+
const { resolved, changed: itemChanged } = walkValue(element, scopeTrait, entity, config, state, i18n);
|
|
8807
8811
|
if (wasMarker && Array.isArray(resolved)) {
|
|
8808
8812
|
out.push(...resolved);
|
|
8809
8813
|
changed = true;
|
|
@@ -8814,7 +8818,7 @@ function walkValue(value, scopeTrait, entity, config, state) {
|
|
|
8814
8818
|
}
|
|
8815
8819
|
brandResolved(out);
|
|
8816
8820
|
if (!changed) return { resolved: value, changed: false };
|
|
8817
|
-
containerResolutionCache.set(value, { entity, config, state, scopeTrait, resolved: out });
|
|
8821
|
+
containerResolutionCache.set(value, { entity, config, state, i18n, scopeTrait, resolved: out });
|
|
8818
8822
|
return { resolved: out, changed: true };
|
|
8819
8823
|
}
|
|
8820
8824
|
if (isPlainObject(value)) {
|
|
@@ -8826,37 +8830,37 @@ function walkValue(value, scopeTrait, entity, config, state) {
|
|
|
8826
8830
|
if (typeof sourceTrait === "string" && sourceTrait !== scopeTrait) {
|
|
8827
8831
|
return { resolved: value, changed: false };
|
|
8828
8832
|
}
|
|
8829
|
-
const cachedObject = cachedContainer(value, scopeTrait, entity, config, state);
|
|
8833
|
+
const cachedObject = cachedContainer(value, scopeTrait, entity, config, state, i18n);
|
|
8830
8834
|
if (cachedObject !== void 0) return { resolved: cachedObject, changed: true };
|
|
8831
8835
|
const out = {};
|
|
8832
8836
|
let changed = false;
|
|
8833
8837
|
for (const [key, item] of Object.entries(value)) {
|
|
8834
|
-
const { resolved, changed: itemChanged } = walkValue(item, scopeTrait, entity, config, state);
|
|
8838
|
+
const { resolved, changed: itemChanged } = walkValue(item, scopeTrait, entity, config, state, i18n);
|
|
8835
8839
|
out[key] = resolved;
|
|
8836
8840
|
if (itemChanged) changed = true;
|
|
8837
8841
|
}
|
|
8838
8842
|
brandResolved(out);
|
|
8839
8843
|
if (!changed) return { resolved: value, changed: false };
|
|
8840
|
-
containerResolutionCache.set(value, { entity, config, state, scopeTrait, resolved: out });
|
|
8844
|
+
containerResolutionCache.set(value, { entity, config, state, i18n, scopeTrait, resolved: out });
|
|
8841
8845
|
return { resolved: out, changed: true };
|
|
8842
8846
|
}
|
|
8843
8847
|
return { resolved: value, changed: false };
|
|
8844
8848
|
}
|
|
8845
|
-
function resolveRenderBindingMarkers(props, scopeTrait, entity, config, state) {
|
|
8849
|
+
function resolveRenderBindingMarkers(props, scopeTrait, entity, config, state, i18n) {
|
|
8846
8850
|
if (props === null || typeof props !== "object") return props;
|
|
8847
8851
|
if (resolvedMarkerFree.has(props)) return props;
|
|
8848
|
-
const cached = cachedContainer(props, scopeTrait, entity, config, state);
|
|
8852
|
+
const cached = cachedContainer(props, scopeTrait, entity, config, state, i18n);
|
|
8849
8853
|
if (cached !== void 0) return cached;
|
|
8850
8854
|
const out = {};
|
|
8851
8855
|
let changed = false;
|
|
8852
8856
|
for (const [key, value] of Object.entries(props)) {
|
|
8853
|
-
const { resolved, changed: propChanged } = walkValue(value, scopeTrait, entity, config, state);
|
|
8857
|
+
const { resolved, changed: propChanged } = walkValue(value, scopeTrait, entity, config, state, i18n);
|
|
8854
8858
|
out[key] = resolved;
|
|
8855
8859
|
if (propChanged) changed = true;
|
|
8856
8860
|
}
|
|
8857
8861
|
brandResolved(out);
|
|
8858
8862
|
if (!changed) return props;
|
|
8859
|
-
containerResolutionCache.set(props, { entity, config, state, scopeTrait, resolved: out });
|
|
8863
|
+
containerResolutionCache.set(props, { entity, config, state, i18n, scopeTrait, resolved: out });
|
|
8860
8864
|
return out;
|
|
8861
8865
|
}
|
|
8862
8866
|
var markerPresenceCache, markerResolutionCache, containerResolutionCache, resolvedMarkerFree, evaluatorResolvedData;
|
|
@@ -12221,6 +12225,35 @@ function withTokenTypes(node) {
|
|
|
12221
12225
|
function renderWithTokenTypes({ rows: rows2, stylesheet, useInlineStyles }) {
|
|
12222
12226
|
return rows2.map((node, i) => createHighlightElement__default.default({ node: withTokenTypes(node), stylesheet, useInlineStyles, key: `code-segment-${i}` }));
|
|
12223
12227
|
}
|
|
12228
|
+
function island(value, style) {
|
|
12229
|
+
return { type: "element", tagName: "span", properties: { className: [], "data-bidi-island": "", style }, children: [{ type: "text", value }] };
|
|
12230
|
+
}
|
|
12231
|
+
function splitLtrWords(value) {
|
|
12232
|
+
const out = [];
|
|
12233
|
+
let last = 0;
|
|
12234
|
+
for (const match of value.matchAll(LTR_WORD)) {
|
|
12235
|
+
const start = match.index ?? 0;
|
|
12236
|
+
if (start > last) out.push({ type: "text", value: value.slice(last, start) });
|
|
12237
|
+
out.push(island(match[0], LTR_ISLAND_STYLE));
|
|
12238
|
+
last = start + match[0].length;
|
|
12239
|
+
}
|
|
12240
|
+
if (last < value.length) out.push({ type: "text", value: value.slice(last) });
|
|
12241
|
+
return out;
|
|
12242
|
+
}
|
|
12243
|
+
function withBidiIslands(node) {
|
|
12244
|
+
if (node.type === "text") return splitLtrWords(String(node.value ?? ""));
|
|
12245
|
+
if (node.type !== "element") return [node];
|
|
12246
|
+
const classes = node.properties?.className;
|
|
12247
|
+
if (Array.isArray(classes) && classes.includes("string")) {
|
|
12248
|
+
return [{ ...node, properties: { ...node.properties, className: classes, "data-bidi-island": "", style: STRING_ISLAND_STYLE } }];
|
|
12249
|
+
}
|
|
12250
|
+
return [{ ...node, ...node.children ? { children: node.children.flatMap(withBidiIslands) } : {} }];
|
|
12251
|
+
}
|
|
12252
|
+
function renderRtlCode({ rows: rows2, stylesheet, useInlineStyles }) {
|
|
12253
|
+
return rows2.map(
|
|
12254
|
+
(node, i) => withBidiIslands(node).map((n, j) => createHighlightElement__default.default({ node: n, stylesheet, useInlineStyles, key: `code-rtl-${i}-${j}` }))
|
|
12255
|
+
);
|
|
12256
|
+
}
|
|
12224
12257
|
function tokenClassAt(layer, offset) {
|
|
12225
12258
|
const walker = document.createTreeWalker(layer, NodeFilter.SHOW_TEXT);
|
|
12226
12259
|
let pos = 0;
|
|
@@ -12277,10 +12310,9 @@ function useLanguageReady(language) {
|
|
|
12277
12310
|
}, [language]);
|
|
12278
12311
|
return ready;
|
|
12279
12312
|
}
|
|
12280
|
-
function resolveHighlightStyle(lang) {
|
|
12281
|
-
if (lang === "orb") return
|
|
12282
|
-
|
|
12283
|
-
return dark__default.default;
|
|
12313
|
+
function resolveHighlightStyle(lang, scheme) {
|
|
12314
|
+
if (lang === "orb" || lang === "lolo") return HIGHLIGHT_STYLES[scheme][lang];
|
|
12315
|
+
return SCHEME_BASE[scheme];
|
|
12284
12316
|
}
|
|
12285
12317
|
function plainCodeColorOf(style) {
|
|
12286
12318
|
return style['code[class*="language-"]']?.color ?? "#d4d4d4";
|
|
@@ -12315,7 +12347,7 @@ function translateProgram(source, language, lang) {
|
|
|
12315
12347
|
}
|
|
12316
12348
|
return source;
|
|
12317
12349
|
}
|
|
12318
|
-
var dynamicallyLoaded, codeLanguageLoader, orbStyleOverrides,
|
|
12350
|
+
var dynamicallyLoaded, codeLanguageLoader, orbStyleOverrides, loloStyleOverrides, SCHEME_BASE, HIGHLIGHT_STYLES, MONO_EDITOR_FONT, GHOST_COLOR, GUTTER_COLOR, caretOf, LTR_WORD, LTR_ISLAND_STYLE, STRING_ISLAND_STYLE, DIAGNOSTIC_ERROR_COLOR, DIAGNOSTIC_WARNING_COLOR, EDITOR_LINE_PX, log3, CODE_LANGUAGES, CODE_LANGUAGE_SET, DIFF_STYLES, DIFF_STYLE_FALLBACK, LINE_PROPS_FN, HIDDEN_LINE_NUMBERS, HIGHLIGHT_CAPACITY_BYTES, MONO_FONT_FAMILY, VIEWER_LINE_NUMBER_STYLE, VIEWER_LINE_NUMBER_STYLE_RTL; exports.CodeBlock = void 0;
|
|
12319
12351
|
var init_CodeBlock = __esm({
|
|
12320
12352
|
"components/core/molecules/markdown/CodeBlock.tsx"() {
|
|
12321
12353
|
init_cn();
|
|
@@ -12420,52 +12452,64 @@ var init_CodeBlock = __esm({
|
|
|
12420
12452
|
SyntaxHighlighter__default.default.registerLanguage("lolo", syntax.loloLanguage);
|
|
12421
12453
|
dynamicallyLoaded = /* @__PURE__ */ new Set();
|
|
12422
12454
|
codeLanguageLoader = null;
|
|
12423
|
-
orbStyleOverrides = {
|
|
12424
|
-
"orb-binding": { color:
|
|
12425
|
-
"orb-effect": { color:
|
|
12426
|
-
"orb-event": { color:
|
|
12427
|
-
"orb-slot": { color:
|
|
12428
|
-
"orb-structural": { color:
|
|
12429
|
-
"orb-field-type": { color:
|
|
12430
|
-
"orb-persistence": { color:
|
|
12431
|
-
"orb-pattern": { color:
|
|
12432
|
-
"orb-behavior": { color:
|
|
12433
|
-
"orb-unknown-op": { color:
|
|
12434
|
-
"orb-op-arithmetic": { color:
|
|
12435
|
-
"orb-op-comparison": { color:
|
|
12436
|
-
"orb-op-logic": { color:
|
|
12437
|
-
"orb-op-string": { color:
|
|
12438
|
-
"orb-op-collection": { color:
|
|
12439
|
-
"orb-op-time": { color:
|
|
12440
|
-
"orb-op-control": { color:
|
|
12441
|
-
"orb-op-async": { color:
|
|
12442
|
-
};
|
|
12443
|
-
|
|
12444
|
-
|
|
12445
|
-
"lolo-
|
|
12446
|
-
"lolo-
|
|
12447
|
-
"
|
|
12448
|
-
"
|
|
12449
|
-
"lolo-
|
|
12450
|
-
"lolo-
|
|
12451
|
-
"lolo-
|
|
12452
|
-
"lolo-
|
|
12453
|
-
"lolo-
|
|
12454
|
-
"lolo-
|
|
12455
|
-
"lolo-op-
|
|
12456
|
-
"lolo-op-
|
|
12457
|
-
"lolo-op-
|
|
12458
|
-
"lolo-op-
|
|
12459
|
-
"lolo-op-
|
|
12460
|
-
"lolo-op-
|
|
12461
|
-
"lolo-op-
|
|
12462
|
-
|
|
12463
|
-
};
|
|
12464
|
-
|
|
12455
|
+
orbStyleOverrides = (c) => ({
|
|
12456
|
+
"orb-binding": { color: c.binding, fontWeight: "bold" },
|
|
12457
|
+
"orb-effect": { color: c.effect, fontWeight: "bold" },
|
|
12458
|
+
"orb-event": { color: c.event },
|
|
12459
|
+
"orb-slot": { color: c.uiSlot },
|
|
12460
|
+
"orb-structural": { color: c.structural },
|
|
12461
|
+
"orb-field-type": { color: c.fieldType },
|
|
12462
|
+
"orb-persistence": { color: c.persistence },
|
|
12463
|
+
"orb-pattern": { color: c.pattern },
|
|
12464
|
+
"orb-behavior": { color: c.behavior },
|
|
12465
|
+
"orb-unknown-op": { color: c.error, textDecoration: "wavy underline" },
|
|
12466
|
+
"orb-op-arithmetic": { color: c.arithmetic, fontWeight: "bold" },
|
|
12467
|
+
"orb-op-comparison": { color: c.comparison },
|
|
12468
|
+
"orb-op-logic": { color: c.logic },
|
|
12469
|
+
"orb-op-string": { color: c.string },
|
|
12470
|
+
"orb-op-collection": { color: c.collection },
|
|
12471
|
+
"orb-op-time": { color: c.time },
|
|
12472
|
+
"orb-op-control": { color: c.control },
|
|
12473
|
+
"orb-op-async": { color: c.async }
|
|
12474
|
+
});
|
|
12475
|
+
loloStyleOverrides = (c) => ({
|
|
12476
|
+
"lolo-binding": { color: c.binding, fontWeight: "bold" },
|
|
12477
|
+
"lolo-event": { color: c.event },
|
|
12478
|
+
"lolo-effect": { color: c.effect, fontWeight: "bold" },
|
|
12479
|
+
"keyword": { color: c.loloKeyword },
|
|
12480
|
+
"lolo-constructor": { color: c.loloConstructor },
|
|
12481
|
+
"lolo-arrow": { color: c.loloArrow },
|
|
12482
|
+
"lolo-reference": { color: c.loloReference },
|
|
12483
|
+
"lolo-type": { color: c.fieldType },
|
|
12484
|
+
"lolo-persistence": { color: c.persistence },
|
|
12485
|
+
"lolo-unknown-op": { color: c.error },
|
|
12486
|
+
"lolo-op-arithmetic": { color: c.arithmetic, fontWeight: "bold" },
|
|
12487
|
+
"lolo-op-comparison": { color: c.comparison },
|
|
12488
|
+
"lolo-op-logic": { color: c.logic },
|
|
12489
|
+
"lolo-op-string": { color: c.string },
|
|
12490
|
+
"lolo-op-collection": { color: c.collection },
|
|
12491
|
+
"lolo-op-time": { color: c.time },
|
|
12492
|
+
"lolo-op-control": { color: c.control },
|
|
12493
|
+
"lolo-op-async": { color: c.async }
|
|
12494
|
+
});
|
|
12495
|
+
SCHEME_BASE = { dark: dark__default.default, light: light__default.default };
|
|
12496
|
+
HIGHLIGHT_STYLES = {
|
|
12497
|
+
dark: {
|
|
12498
|
+
orb: { ...dark__default.default, ...orbStyleOverrides(syntax.ORB_COLORS.dark) },
|
|
12499
|
+
lolo: { ...dark__default.default, ...loloStyleOverrides(syntax.ORB_COLORS.dark) }
|
|
12500
|
+
},
|
|
12501
|
+
light: {
|
|
12502
|
+
orb: { ...light__default.default, ...orbStyleOverrides(syntax.ORB_COLORS.light) },
|
|
12503
|
+
lolo: { ...light__default.default, ...loloStyleOverrides(syntax.ORB_COLORS.light) }
|
|
12504
|
+
}
|
|
12505
|
+
};
|
|
12465
12506
|
MONO_EDITOR_FONT = 'ui-monospace, SFMono-Regular, Menlo, Monaco, "Cascadia Mono", "Courier New", monospace';
|
|
12466
12507
|
GHOST_COLOR = "#7f848e";
|
|
12467
12508
|
GUTTER_COLOR = "#858585";
|
|
12468
12509
|
caretOf = (ta) => ta.selectionDirection === "backward" ? ta.selectionStart : ta.selectionEnd;
|
|
12510
|
+
LTR_WORD = /[A-Za-z0-9_$@?][A-Za-z0-9_$@?.!-]*/g;
|
|
12511
|
+
LTR_ISLAND_STYLE = { unicodeBidi: "isolate", direction: "ltr" };
|
|
12512
|
+
STRING_ISLAND_STYLE = { unicodeBidi: "plaintext" };
|
|
12469
12513
|
DIAGNOSTIC_ERROR_COLOR = "#f14c4c";
|
|
12470
12514
|
DIAGNOSTIC_WARNING_COLOR = "#cca700";
|
|
12471
12515
|
EDITOR_LINE_PX = 19.5;
|
|
@@ -12565,7 +12609,7 @@ var init_CodeBlock = __esm({
|
|
|
12565
12609
|
LINE_PROPS_FN = (n) => ({ "data-line": String(n - 1) });
|
|
12566
12610
|
HIDDEN_LINE_NUMBERS = { display: "none" };
|
|
12567
12611
|
HIGHLIGHT_CAPACITY_BYTES = 512 * 1024;
|
|
12568
|
-
MONO_FONT_FAMILY = 'ui-monospace, SFMono-Regular, Menlo, Monaco, "Cascadia Mono", "Courier New", monospace';
|
|
12612
|
+
MONO_FONT_FAMILY = 'ui-monospace, SFMono-Regular, Menlo, Monaco, "Cascadia Mono", "Courier New", "IBM Plex Sans Arabic", "Noto Sans Arabic", monospace';
|
|
12569
12613
|
VIEWER_LINE_NUMBER_STYLE = {
|
|
12570
12614
|
minWidth: "2.5em",
|
|
12571
12615
|
paddingRight: "1rem",
|
|
@@ -12574,6 +12618,15 @@ var init_CodeBlock = __esm({
|
|
|
12574
12618
|
opacity: 0.5,
|
|
12575
12619
|
fontVariantNumeric: "tabular-nums"
|
|
12576
12620
|
};
|
|
12621
|
+
VIEWER_LINE_NUMBER_STYLE_RTL = {
|
|
12622
|
+
minWidth: "2.5em",
|
|
12623
|
+
paddingRight: 0,
|
|
12624
|
+
paddingLeft: "1rem",
|
|
12625
|
+
textAlign: "left",
|
|
12626
|
+
userSelect: "none",
|
|
12627
|
+
opacity: 0.5,
|
|
12628
|
+
fontVariantNumeric: "tabular-nums"
|
|
12629
|
+
};
|
|
12577
12630
|
exports.CodeBlock = React82__namespace.default.memo(
|
|
12578
12631
|
({
|
|
12579
12632
|
code: rawCode,
|
|
@@ -12653,8 +12706,12 @@ var init_CodeBlock = __esm({
|
|
|
12653
12706
|
}) => {
|
|
12654
12707
|
const englishCode = typeof rawCode === "string" ? rawCode : String(rawCode ?? "");
|
|
12655
12708
|
const naturalTabs = !editable && naturalLanguages && naturalLanguages.length > 1 ? naturalLanguages : void 0;
|
|
12656
|
-
const
|
|
12709
|
+
const { locale: pageLocale } = hooks.useTranslate();
|
|
12710
|
+
const [naturalLanguage, setNaturalLanguage] = React82.useState(
|
|
12711
|
+
() => naturalTabs?.find((lang) => lang === pageLocale) ?? naturalTabs?.[0] ?? "en"
|
|
12712
|
+
);
|
|
12657
12713
|
const activeNaturalLanguage = naturalTabs?.includes(naturalLanguage) === true ? naturalLanguage : naturalTabs?.[0] ?? "en";
|
|
12714
|
+
const codeDir = naturalTabs && i18n.coreTables[activeNaturalLanguage].meta.rtl ? "rtl" : "ltr";
|
|
12658
12715
|
const translationCache = React82.useMemo(() => /* @__PURE__ */ new Map(), [englishCode, files]);
|
|
12659
12716
|
const translateFor = React82.useCallback(
|
|
12660
12717
|
(source, sourceLanguage, cacheKey) => {
|
|
@@ -12693,11 +12750,12 @@ var init_CodeBlock = __esm({
|
|
|
12693
12750
|
)
|
|
12694
12751
|
}
|
|
12695
12752
|
) : null;
|
|
12696
|
-
const activeStyle = resolveHighlightStyle(language);
|
|
12753
|
+
const activeStyle = resolveHighlightStyle(language, "dark");
|
|
12697
12754
|
const overCapacity = code.length > HIGHLIGHT_CAPACITY_BYTES;
|
|
12698
12755
|
const plainCodeColor = plainCodeColorOf(activeStyle);
|
|
12699
12756
|
const eventBus = useEventBus();
|
|
12700
12757
|
const { t } = hooks.useTranslate();
|
|
12758
|
+
const { resolvedMode } = context.useTheme();
|
|
12701
12759
|
const scrollRef = React82.useRef(null);
|
|
12702
12760
|
const codeRef = React82.useRef(null);
|
|
12703
12761
|
const savedScrollLeftRef = React82.useRef(0);
|
|
@@ -12708,7 +12766,7 @@ var init_CodeBlock = __esm({
|
|
|
12708
12766
|
const activeLanguage = activeFile?.language ?? language;
|
|
12709
12767
|
const activeCode = activeFile ? translateFor(activeFile.code, activeLanguage, `file-${activeFileIndex}`) : code;
|
|
12710
12768
|
const languageReady = useLanguageReady(activeLanguage);
|
|
12711
|
-
const viewerStyle = resolveHighlightStyle(activeLanguage);
|
|
12769
|
+
const viewerStyle = resolveHighlightStyle(activeLanguage, resolvedMode);
|
|
12712
12770
|
const viewerPlainCodeColor = plainCodeColorOf(viewerStyle);
|
|
12713
12771
|
const diffLines = React82.useMemo(() => {
|
|
12714
12772
|
if (propDiff && propDiff.length > 0) return propDiff;
|
|
@@ -13046,8 +13104,9 @@ var init_CodeBlock = __esm({
|
|
|
13046
13104
|
wrapLines: true,
|
|
13047
13105
|
wrapLongLines: wrap,
|
|
13048
13106
|
showLineNumbers,
|
|
13049
|
-
lineNumberStyle: VIEWER_LINE_NUMBER_STYLE,
|
|
13107
|
+
lineNumberStyle: codeDir === "rtl" ? VIEWER_LINE_NUMBER_STYLE_RTL : VIEWER_LINE_NUMBER_STYLE,
|
|
13050
13108
|
lineProps: viewerLineProps,
|
|
13109
|
+
renderer: codeDir === "rtl" ? renderRtlCode : void 0,
|
|
13051
13110
|
customStyle: {
|
|
13052
13111
|
backgroundColor: "transparent",
|
|
13053
13112
|
borderRadius: 0,
|
|
@@ -13057,13 +13116,15 @@ var init_CodeBlock = __esm({
|
|
|
13057
13116
|
wordBreak: wrap ? "break-all" : "normal",
|
|
13058
13117
|
fontFamily: MONO_FONT_FAMILY,
|
|
13059
13118
|
fontSize: "12px",
|
|
13060
|
-
lineHeight: "1.6"
|
|
13119
|
+
lineHeight: "1.6",
|
|
13120
|
+
direction: codeDir,
|
|
13121
|
+
textAlign: "start"
|
|
13061
13122
|
},
|
|
13062
|
-
codeTagProps: { style: { fontFamily: MONO_FONT_FAMILY, fontSize: "12px", lineHeight: "1.6" } },
|
|
13123
|
+
codeTagProps: { style: { fontFamily: MONO_FONT_FAMILY, fontSize: "12px", lineHeight: "1.6", direction: codeDir, textAlign: "start" } },
|
|
13063
13124
|
children: activeCode
|
|
13064
13125
|
}
|
|
13065
13126
|
),
|
|
13066
|
-
[activeCode, viewerOverCapacity, viewerPlainCodeColor, activeLanguage, viewerStyle, wrap, showLineNumbers, viewerLineProps, languageReady]
|
|
13127
|
+
[activeCode, viewerOverCapacity, viewerPlainCodeColor, activeLanguage, viewerStyle, wrap, showLineNumbers, viewerLineProps, languageReady, codeDir]
|
|
13067
13128
|
);
|
|
13068
13129
|
const diffOverCapacity = React82.useMemo(
|
|
13069
13130
|
() => !!diffLines && diffLines.reduce((n, l) => n + l.content.length + 1, 0) > HIGHLIGHT_CAPACITY_BYTES,
|
|
@@ -13333,33 +13394,35 @@ var init_CodeBlock = __esm({
|
|
|
13333
13394
|
]
|
|
13334
13395
|
}
|
|
13335
13396
|
),
|
|
13336
|
-
/* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "overflow-auto bg-muted/20", style: { maxHeight }, dir:
|
|
13397
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "overflow-auto bg-muted/20", style: { maxHeight }, dir: codeDir, children: diffLines ? /* @__PURE__ */ jsxRuntime.jsx("div", { style: { display: "flex", flexDirection: "column" }, className: "font-mono text-xs", children: diffRowElements }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-mono text-xs", children: viewerHighlightedElement }) })
|
|
13337
13398
|
] }) });
|
|
13338
13399
|
}
|
|
13339
|
-
const hasHeader = showLanguageBadge
|
|
13400
|
+
const hasHeader = showLanguageBadge;
|
|
13401
|
+
const copyButton = effectiveCopy ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
13402
|
+
exports.Button,
|
|
13403
|
+
{
|
|
13404
|
+
variant: "ghost",
|
|
13405
|
+
size: "sm",
|
|
13406
|
+
onClick: handleCopy,
|
|
13407
|
+
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"}`,
|
|
13408
|
+
"aria-label": t("common.copy"),
|
|
13409
|
+
children: copied ? /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: "check", className: "w-4 h-4 text-success" }) : /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: "copy", className: "w-4 h-4" })
|
|
13410
|
+
}
|
|
13411
|
+
) : null;
|
|
13340
13412
|
return /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { ...domPassthrough(a11yRest), className: `relative group not-prose ${className || ""}`, style: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
13341
|
-
hasHeader
|
|
13413
|
+
hasHeader ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13342
13414
|
exports.HStack,
|
|
13343
13415
|
{
|
|
13344
13416
|
justify: "between",
|
|
13345
13417
|
align: "center",
|
|
13346
13418
|
className: "px-3 py-2 bg-[var(--color-card)] rounded-t-container border-b border-border",
|
|
13419
|
+
"data-testid": "code-block-header",
|
|
13347
13420
|
children: [
|
|
13348
|
-
|
|
13349
|
-
|
|
13350
|
-
exports.Button,
|
|
13351
|
-
{
|
|
13352
|
-
variant: "ghost",
|
|
13353
|
-
size: "sm",
|
|
13354
|
-
onClick: handleCopy,
|
|
13355
|
-
className: "opacity-0 group-hover:opacity-100 focus:opacity-100 transition-opacity text-muted-foreground hover:text-foreground",
|
|
13356
|
-
"aria-label": t("common.copy"),
|
|
13357
|
-
children: copied ? /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: "check", className: "w-4 h-4 text-success" }) : /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { name: "copy", className: "w-4 h-4" })
|
|
13358
|
-
}
|
|
13359
|
-
)
|
|
13421
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: "default", size: "sm", children: language }),
|
|
13422
|
+
copyButton
|
|
13360
13423
|
]
|
|
13361
13424
|
}
|
|
13362
|
-
),
|
|
13425
|
+
) : copyButton,
|
|
13363
13426
|
naturalTabStrip,
|
|
13364
13427
|
editable ? (
|
|
13365
13428
|
/* GAP-77 / GAP-82 / GAP-83: editable mode = transparent textarea on
|
|
@@ -28825,7 +28888,7 @@ function DataList({
|
|
|
28825
28888
|
return f3.variant === "badge" ? (
|
|
28826
28889
|
// `format` applies here too — a boolean field badged
|
|
28827
28890
|
// without it renders the raw "false" instead of "No".
|
|
28828
|
-
/* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: badgeVariantFor(String(v), f3.colorMap), children: formatValue2(v, f3.format, fmt, relationsData?.[f3.name]) }, f3.name)
|
|
28891
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: badgeVariantFor(String(v), f3.colorMap), children: valueLabelFor(formatValue2(v, f3.format, fmt, relationsData?.[f3.name]), f3.labels) }, f3.name)
|
|
28829
28892
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
28830
28893
|
exports.Typography,
|
|
28831
28894
|
{
|
|
@@ -28988,7 +29051,7 @@ function DataList({
|
|
|
28988
29051
|
if (val === void 0 || val === null || val === "") return null;
|
|
28989
29052
|
return /* @__PURE__ */ jsxRuntime.jsxs(exports.HStack, { gap: "xs", className: "items-center flex-shrink-0", children: [
|
|
28990
29053
|
field.icon && renderIconInput2(field.icon, { size: "xs" }),
|
|
28991
|
-
/* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: badgeVariantFor(String(val), field.colorMap), children: formatValue2(val, field.format, fmt, relationsData?.[field.name]) })
|
|
29054
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: badgeVariantFor(String(val), field.colorMap), children: valueLabelFor(formatValue2(val, field.format, fmt, relationsData?.[field.name]), field.labels) })
|
|
28992
29055
|
] }, field.name);
|
|
28993
29056
|
})
|
|
28994
29057
|
] }),
|
|
@@ -32227,7 +32290,7 @@ var init_DocSidebar = __esm({
|
|
|
32227
32290
|
className: cn(
|
|
32228
32291
|
"h-auto w-full justify-start rounded-interactive px-3 py-1.5 text-sm font-normal",
|
|
32229
32292
|
depth > 0 && "ml-2",
|
|
32230
|
-
item.active ? "bg-primary/
|
|
32293
|
+
item.active ? "bg-primary/[0.08] text-foreground font-semibold" : "text-muted-foreground"
|
|
32231
32294
|
),
|
|
32232
32295
|
children: label
|
|
32233
32296
|
}
|
|
@@ -40815,11 +40878,23 @@ var init_Header = __esm({
|
|
|
40815
40878
|
variant = "mobile",
|
|
40816
40879
|
look = "compact-bar",
|
|
40817
40880
|
onLogoClick,
|
|
40881
|
+
brandHref,
|
|
40818
40882
|
className,
|
|
40819
40883
|
...rest
|
|
40820
40884
|
}) => {
|
|
40821
40885
|
const { t } = hooks.useTranslate();
|
|
40822
40886
|
const resolvedSearchPlaceholder = searchPlaceholder ?? t("common.search");
|
|
40887
|
+
const brandContent = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
40888
|
+
logo ? typeof logo === "string" ? /* @__PURE__ */ jsxRuntime.jsx(exports.Avatar, { src: logo, alt: brandName, size: "sm" }) : logo : logoSrc ? /* @__PURE__ */ jsxRuntime.jsx(exports.Avatar, { src: logoSrc, alt: brandName, size: "sm" }) : null,
|
|
40889
|
+
brandName && /* @__PURE__ */ jsxRuntime.jsx(
|
|
40890
|
+
exports.Typography,
|
|
40891
|
+
{
|
|
40892
|
+
variant: "h5",
|
|
40893
|
+
className: "text-lg text-foreground",
|
|
40894
|
+
children: brandName
|
|
40895
|
+
}
|
|
40896
|
+
)
|
|
40897
|
+
] });
|
|
40823
40898
|
const userInitials = userAvatar?.initials || userName?.[0]?.toUpperCase() || "U";
|
|
40824
40899
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40825
40900
|
exports.Box,
|
|
@@ -40846,7 +40921,16 @@ var init_Header = __esm({
|
|
|
40846
40921
|
children: isMenuOpen ? /* @__PURE__ */ jsxRuntime.jsx(LucideIcons2.X, { size: 24 }) : /* @__PURE__ */ jsxRuntime.jsx(LucideIcons2.Menu, { size: 24 })
|
|
40847
40922
|
}
|
|
40848
40923
|
),
|
|
40849
|
-
/* @__PURE__ */ jsxRuntime.
|
|
40924
|
+
brandHref ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
40925
|
+
exports.Button,
|
|
40926
|
+
{
|
|
40927
|
+
variant: "ghost",
|
|
40928
|
+
href: brandHref,
|
|
40929
|
+
"aria-label": brandName,
|
|
40930
|
+
className: "gap-2 px-0 hover:bg-transparent",
|
|
40931
|
+
children: brandContent
|
|
40932
|
+
}
|
|
40933
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
40850
40934
|
exports.HStack,
|
|
40851
40935
|
{
|
|
40852
40936
|
gap: "none",
|
|
@@ -40857,17 +40941,7 @@ var init_Header = __esm({
|
|
|
40857
40941
|
),
|
|
40858
40942
|
...pressableProps(onLogoClick),
|
|
40859
40943
|
"aria-label": onLogoClick ? brandName : void 0,
|
|
40860
|
-
children:
|
|
40861
|
-
logo ? typeof logo === "string" ? /* @__PURE__ */ jsxRuntime.jsx(exports.Avatar, { src: logo, alt: brandName, size: "sm" }) : logo : logoSrc ? /* @__PURE__ */ jsxRuntime.jsx(exports.Avatar, { src: logoSrc, alt: brandName, size: "sm" }) : null,
|
|
40862
|
-
brandName && /* @__PURE__ */ jsxRuntime.jsx(
|
|
40863
|
-
exports.Typography,
|
|
40864
|
-
{
|
|
40865
|
-
variant: "h5",
|
|
40866
|
-
className: "text-lg text-foreground",
|
|
40867
|
-
children: brandName
|
|
40868
|
-
}
|
|
40869
|
-
)
|
|
40870
|
-
]
|
|
40944
|
+
children: brandContent
|
|
40871
40945
|
}
|
|
40872
40946
|
)
|
|
40873
40947
|
] }),
|
|
@@ -51527,8 +51601,8 @@ var init_VersionDiff = __esm({
|
|
|
51527
51601
|
}
|
|
51528
51602
|
),
|
|
51529
51603
|
/* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "overflow-auto bg-muted/20", style: { maxHeight: 600 }, children: isEmpty ? /* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "py-8", "data-testid": "version-diff-empty", children: /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "body2", color: "muted", align: "center", children: t("versionDiff.noChanges") }) }) : activeView === "side-by-side" ? /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "grid grid-cols-1 md:grid-cols-2", children: [
|
|
51530
|
-
/* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "border-b md:border-b-0 md:border-r border-border", "data-testid": "version-diff-before", children: renderColumn("before") }),
|
|
51531
|
-
/* @__PURE__ */ jsxRuntime.jsx(exports.Box, { "data-testid": "version-diff-after", children: renderColumn("after") })
|
|
51604
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.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") }),
|
|
51605
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "min-w-0 overflow-x-auto", "data-testid": "version-diff-after", children: renderColumn("after") })
|
|
51532
51606
|
] }) : /* @__PURE__ */ jsxRuntime.jsx(exports.VStack, { gap: "none", className: "font-mono text-xs", children: shown.map((row, idx) => {
|
|
51533
51607
|
if (row.kind === "header") return renderHeader(row.header, `i-h-${idx}`);
|
|
51534
51608
|
if (row.kind === "gap") return renderGap(row, `i-g-${row.id}`);
|
|
@@ -52136,775 +52210,263 @@ var init_component_registry_generated = __esm({
|
|
|
52136
52210
|
init_WizardNavigation();
|
|
52137
52211
|
init_WizardProgress();
|
|
52138
52212
|
COMPONENT_REGISTRY = {
|
|
52139
|
-
|
|
52140
|
-
|
|
52141
|
-
|
|
52142
|
-
|
|
52143
|
-
|
|
52144
|
-
|
|
52145
|
-
|
|
52146
|
-
|
|
52147
|
-
|
|
52148
|
-
|
|
52149
|
-
|
|
52150
|
-
|
|
52151
|
-
|
|
52152
|
-
|
|
52153
|
-
|
|
52154
|
-
|
|
52155
|
-
|
|
52156
|
-
|
|
52157
|
-
|
|
52158
|
-
|
|
52159
|
-
|
|
52160
|
-
|
|
52161
|
-
|
|
52162
|
-
|
|
52163
|
-
|
|
52164
|
-
|
|
52165
|
-
|
|
52166
|
-
|
|
52167
|
-
|
|
52168
|
-
|
|
52169
|
-
|
|
52170
|
-
|
|
52171
|
-
|
|
52172
|
-
|
|
52173
|
-
|
|
52174
|
-
|
|
52175
|
-
|
|
52176
|
-
|
|
52177
|
-
|
|
52178
|
-
|
|
52179
|
-
|
|
52180
|
-
|
|
52181
|
-
|
|
52182
|
-
|
|
52183
|
-
|
|
52184
|
-
|
|
52185
|
-
|
|
52186
|
-
|
|
52187
|
-
|
|
52188
|
-
|
|
52189
|
-
|
|
52190
|
-
|
|
52191
|
-
|
|
52192
|
-
|
|
52193
|
-
|
|
52194
|
-
|
|
52195
|
-
|
|
52196
|
-
|
|
52197
|
-
|
|
52198
|
-
|
|
52199
|
-
|
|
52200
|
-
|
|
52201
|
-
|
|
52202
|
-
|
|
52203
|
-
|
|
52204
|
-
|
|
52205
|
-
|
|
52206
|
-
|
|
52207
|
-
|
|
52208
|
-
|
|
52209
|
-
|
|
52210
|
-
|
|
52211
|
-
|
|
52212
|
-
|
|
52213
|
-
|
|
52214
|
-
|
|
52215
|
-
|
|
52216
|
-
|
|
52217
|
-
|
|
52218
|
-
|
|
52219
|
-
|
|
52220
|
-
|
|
52221
|
-
|
|
52222
|
-
|
|
52223
|
-
|
|
52224
|
-
|
|
52225
|
-
|
|
52226
|
-
|
|
52227
|
-
|
|
52228
|
-
|
|
52229
|
-
|
|
52230
|
-
|
|
52231
|
-
|
|
52232
|
-
|
|
52233
|
-
|
|
52234
|
-
|
|
52235
|
-
|
|
52236
|
-
|
|
52237
|
-
|
|
52238
|
-
|
|
52239
|
-
|
|
52240
|
-
|
|
52241
|
-
|
|
52242
|
-
|
|
52243
|
-
|
|
52244
|
-
|
|
52245
|
-
|
|
52246
|
-
|
|
52247
|
-
|
|
52248
|
-
|
|
52249
|
-
|
|
52250
|
-
|
|
52251
|
-
|
|
52252
|
-
|
|
52253
|
-
|
|
52254
|
-
|
|
52255
|
-
|
|
52256
|
-
|
|
52257
|
-
|
|
52258
|
-
|
|
52259
|
-
|
|
52260
|
-
|
|
52261
|
-
|
|
52262
|
-
|
|
52263
|
-
|
|
52264
|
-
|
|
52265
|
-
|
|
52266
|
-
|
|
52267
|
-
|
|
52268
|
-
|
|
52269
|
-
|
|
52270
|
-
|
|
52271
|
-
|
|
52272
|
-
|
|
52273
|
-
|
|
52274
|
-
|
|
52275
|
-
|
|
52276
|
-
|
|
52277
|
-
|
|
52278
|
-
|
|
52279
|
-
|
|
52280
|
-
|
|
52281
|
-
|
|
52282
|
-
|
|
52283
|
-
|
|
52284
|
-
|
|
52285
|
-
|
|
52286
|
-
|
|
52287
|
-
|
|
52288
|
-
|
|
52289
|
-
|
|
52290
|
-
|
|
52291
|
-
|
|
52292
|
-
|
|
52293
|
-
|
|
52294
|
-
|
|
52295
|
-
|
|
52296
|
-
|
|
52297
|
-
|
|
52298
|
-
|
|
52299
|
-
|
|
52300
|
-
|
|
52301
|
-
|
|
52302
|
-
|
|
52303
|
-
|
|
52304
|
-
|
|
52305
|
-
|
|
52306
|
-
|
|
52307
|
-
|
|
52308
|
-
|
|
52309
|
-
|
|
52310
|
-
|
|
52311
|
-
|
|
52312
|
-
|
|
52313
|
-
|
|
52314
|
-
|
|
52315
|
-
|
|
52316
|
-
|
|
52317
|
-
|
|
52318
|
-
|
|
52319
|
-
|
|
52320
|
-
|
|
52321
|
-
|
|
52322
|
-
|
|
52323
|
-
|
|
52324
|
-
|
|
52325
|
-
|
|
52326
|
-
|
|
52327
|
-
|
|
52328
|
-
|
|
52329
|
-
|
|
52330
|
-
|
|
52331
|
-
|
|
52332
|
-
|
|
52333
|
-
|
|
52334
|
-
|
|
52335
|
-
|
|
52336
|
-
|
|
52337
|
-
|
|
52338
|
-
|
|
52339
|
-
|
|
52340
|
-
|
|
52341
|
-
|
|
52342
|
-
|
|
52343
|
-
|
|
52344
|
-
|
|
52345
|
-
|
|
52346
|
-
|
|
52347
|
-
|
|
52348
|
-
|
|
52349
|
-
|
|
52350
|
-
|
|
52351
|
-
|
|
52352
|
-
|
|
52353
|
-
|
|
52354
|
-
|
|
52355
|
-
|
|
52356
|
-
|
|
52357
|
-
|
|
52358
|
-
|
|
52359
|
-
|
|
52360
|
-
|
|
52361
|
-
|
|
52362
|
-
|
|
52363
|
-
|
|
52364
|
-
|
|
52365
|
-
|
|
52366
|
-
|
|
52367
|
-
|
|
52368
|
-
|
|
52369
|
-
|
|
52370
|
-
|
|
52371
|
-
|
|
52372
|
-
|
|
52373
|
-
|
|
52374
|
-
|
|
52375
|
-
|
|
52376
|
-
|
|
52377
|
-
|
|
52378
|
-
|
|
52379
|
-
|
|
52380
|
-
|
|
52381
|
-
|
|
52382
|
-
|
|
52383
|
-
|
|
52384
|
-
|
|
52385
|
-
|
|
52386
|
-
|
|
52387
|
-
|
|
52388
|
-
|
|
52389
|
-
|
|
52390
|
-
|
|
52391
|
-
|
|
52392
|
-
|
|
52393
|
-
|
|
52394
|
-
get "DrawText"() {
|
|
52395
|
-
return DrawText;
|
|
52396
|
-
},
|
|
52397
|
-
get "DrawTextLayer"() {
|
|
52398
|
-
return DrawTextLayer;
|
|
52399
|
-
},
|
|
52400
|
-
get "Drawer"() {
|
|
52401
|
-
return exports.Drawer;
|
|
52402
|
-
},
|
|
52403
|
-
get "DrawerSlot"() {
|
|
52404
|
-
return exports.DrawerSlot;
|
|
52405
|
-
},
|
|
52406
|
-
get "EdgeDecoration"() {
|
|
52407
|
-
return exports.EdgeDecoration;
|
|
52408
|
-
},
|
|
52409
|
-
get "EmojiPicker"() {
|
|
52410
|
-
return exports.EmojiPicker;
|
|
52411
|
-
},
|
|
52412
|
-
get "EmptyState"() {
|
|
52413
|
-
return exports.EmptyState;
|
|
52414
|
-
},
|
|
52415
|
-
get "ErrorBoundary"() {
|
|
52416
|
-
return exports.ErrorBoundary;
|
|
52417
|
-
},
|
|
52418
|
-
get "ErrorState"() {
|
|
52419
|
-
return exports.ErrorState;
|
|
52420
|
-
},
|
|
52421
|
-
get "FeatureCard"() {
|
|
52422
|
-
return exports.FeatureCard;
|
|
52423
|
-
},
|
|
52424
|
-
get "FeatureGrid"() {
|
|
52425
|
-
return exports.FeatureGrid;
|
|
52426
|
-
},
|
|
52427
|
-
get "FileTree"() {
|
|
52428
|
-
return exports.FileTree;
|
|
52429
|
-
},
|
|
52430
|
-
get "FilterGroup"() {
|
|
52431
|
-
return exports.FilterGroup;
|
|
52432
|
-
},
|
|
52433
|
-
get "FilterPill"() {
|
|
52434
|
-
return exports.FilterPill;
|
|
52435
|
-
},
|
|
52436
|
-
get "Flex"() {
|
|
52437
|
-
return exports.Flex;
|
|
52438
|
-
},
|
|
52439
|
-
get "FlipCard"() {
|
|
52440
|
-
return exports.FlipCard;
|
|
52441
|
-
},
|
|
52442
|
-
get "FlipContainer"() {
|
|
52443
|
-
return exports.FlipContainer;
|
|
52444
|
-
},
|
|
52445
|
-
get "FloatingActionButton"() {
|
|
52446
|
-
return exports.FloatingActionButton;
|
|
52447
|
-
},
|
|
52448
|
-
get "FloatingToolbar"() {
|
|
52449
|
-
return exports.FloatingToolbar;
|
|
52450
|
-
},
|
|
52451
|
-
get "Form"() {
|
|
52452
|
-
return exports.Form;
|
|
52453
|
-
},
|
|
52454
|
-
get "FormField"() {
|
|
52455
|
-
return exports.FormField;
|
|
52456
|
-
},
|
|
52457
|
-
get "FormLayout"() {
|
|
52458
|
-
return exports.FormLayout;
|
|
52459
|
-
},
|
|
52460
|
-
get "FormSectionHeader"() {
|
|
52461
|
-
return exports.FormSectionHeader;
|
|
52462
|
-
},
|
|
52463
|
-
get "FxOverlay"() {
|
|
52464
|
-
return exports.FxOverlay;
|
|
52465
|
-
},
|
|
52466
|
-
get "GameAudioCue"() {
|
|
52467
|
-
return GameAudioCue;
|
|
52468
|
-
},
|
|
52469
|
-
get "GameAudioToggle"() {
|
|
52470
|
-
return GameAudioToggle;
|
|
52471
|
-
},
|
|
52472
|
-
get "GameHud"() {
|
|
52473
|
-
return GameHud;
|
|
52474
|
-
},
|
|
52475
|
-
get "GameIcon"() {
|
|
52476
|
-
return GameIcon;
|
|
52477
|
-
},
|
|
52478
|
-
get "GameMenu"() {
|
|
52479
|
-
return GameMenu;
|
|
52480
|
-
},
|
|
52481
|
-
get "GameShell"() {
|
|
52482
|
-
return exports.GameShell;
|
|
52483
|
-
},
|
|
52484
|
-
get "Gantt"() {
|
|
52485
|
-
return Gantt;
|
|
52486
|
-
},
|
|
52487
|
-
get "GenericAppTemplate"() {
|
|
52488
|
-
return exports.GenericAppTemplate;
|
|
52489
|
-
},
|
|
52490
|
-
get "GeometricPattern"() {
|
|
52491
|
-
return exports.GeometricPattern;
|
|
52492
|
-
},
|
|
52493
|
-
get "GradientDivider"() {
|
|
52494
|
-
return exports.GradientDivider;
|
|
52495
|
-
},
|
|
52496
|
-
get "GraphCanvas"() {
|
|
52497
|
-
return exports.GraphCanvas;
|
|
52498
|
-
},
|
|
52499
|
-
get "GraphView"() {
|
|
52500
|
-
return exports.GraphView;
|
|
52501
|
-
},
|
|
52502
|
-
get "Grid"() {
|
|
52503
|
-
return exports.Grid;
|
|
52504
|
-
},
|
|
52505
|
-
get "HStack"() {
|
|
52506
|
-
return exports.HStack;
|
|
52507
|
-
},
|
|
52508
|
-
get "Header"() {
|
|
52509
|
-
return exports.Header;
|
|
52510
|
-
},
|
|
52511
|
-
get "HealthBar"() {
|
|
52512
|
-
return HealthBar;
|
|
52513
|
-
},
|
|
52514
|
-
get "Icon"() {
|
|
52515
|
-
return exports.Icon;
|
|
52516
|
-
},
|
|
52517
|
-
get "IconButton"() {
|
|
52518
|
-
return IconButtonPattern;
|
|
52519
|
-
},
|
|
52520
|
-
get "IconButtonPattern"() {
|
|
52521
|
-
return IconButtonPattern;
|
|
52522
|
-
},
|
|
52523
|
-
get "Image"() {
|
|
52524
|
-
return exports.Image;
|
|
52525
|
-
},
|
|
52526
|
-
get "ImportPreviewTree"() {
|
|
52527
|
-
return exports.ImportPreviewTree;
|
|
52528
|
-
},
|
|
52529
|
-
get "ImportProgress"() {
|
|
52530
|
-
return exports.ImportProgress;
|
|
52531
|
-
},
|
|
52532
|
-
get "ImportSourcePicker"() {
|
|
52533
|
-
return exports.ImportSourcePicker;
|
|
52534
|
-
},
|
|
52535
|
-
get "InfiniteScrollSentinel"() {
|
|
52536
|
-
return exports.InfiniteScrollSentinel;
|
|
52537
|
-
},
|
|
52538
|
-
get "Input"() {
|
|
52539
|
-
return exports.Input;
|
|
52540
|
-
},
|
|
52541
|
-
get "InputGroup"() {
|
|
52542
|
-
return exports.InputGroup;
|
|
52543
|
-
},
|
|
52544
|
-
get "JazariStateMachine"() {
|
|
52545
|
-
return exports.JazariStateMachine;
|
|
52546
|
-
},
|
|
52547
|
-
get "Label"() {
|
|
52548
|
-
return LabelPattern;
|
|
52549
|
-
},
|
|
52550
|
-
get "LabelPattern"() {
|
|
52551
|
-
return LabelPattern;
|
|
52552
|
-
},
|
|
52553
|
-
get "LawReferenceTooltip"() {
|
|
52554
|
-
return exports.LawReferenceTooltip;
|
|
52555
|
-
},
|
|
52556
|
-
get "LearningCanvas"() {
|
|
52557
|
-
return exports.LearningCanvas;
|
|
52558
|
-
},
|
|
52559
|
-
get "Lightbox"() {
|
|
52560
|
-
return exports.Lightbox;
|
|
52561
|
-
},
|
|
52562
|
-
get "LikertScale"() {
|
|
52563
|
-
return exports.LikertScale;
|
|
52564
|
-
},
|
|
52565
|
-
get "LineChart"() {
|
|
52566
|
-
return exports.LineChart;
|
|
52567
|
-
},
|
|
52568
|
-
get "LoadingState"() {
|
|
52569
|
-
return exports.LoadingState;
|
|
52570
|
-
},
|
|
52571
|
-
get "MapView"() {
|
|
52572
|
-
return MapView;
|
|
52573
|
-
},
|
|
52574
|
-
get "MarkdownContent"() {
|
|
52575
|
-
return exports.MarkdownContent;
|
|
52576
|
-
},
|
|
52577
|
-
get "MasterDetailLayout"() {
|
|
52578
|
-
return exports.MasterDetailLayout;
|
|
52579
|
-
},
|
|
52580
|
-
get "MathCanvas"() {
|
|
52581
|
-
return exports.MathCanvas;
|
|
52582
|
-
},
|
|
52583
|
-
get "MatrixQuestion"() {
|
|
52584
|
-
return exports.MatrixQuestion;
|
|
52585
|
-
},
|
|
52586
|
-
get "MediaGallery"() {
|
|
52587
|
-
return exports.MediaGallery;
|
|
52588
|
-
},
|
|
52589
|
-
get "Menu"() {
|
|
52590
|
-
return exports.Menu;
|
|
52591
|
-
},
|
|
52592
|
-
get "Meter"() {
|
|
52593
|
-
return exports.Meter;
|
|
52594
|
-
},
|
|
52595
|
-
get "Modal"() {
|
|
52596
|
-
return exports.Modal;
|
|
52597
|
-
},
|
|
52598
|
-
get "ModalSlot"() {
|
|
52599
|
-
return exports.ModalSlot;
|
|
52600
|
-
},
|
|
52601
|
-
get "ModuleCard"() {
|
|
52602
|
-
return exports.ModuleCard;
|
|
52603
|
-
},
|
|
52604
|
-
get "Navigation"() {
|
|
52605
|
-
return exports.Navigation;
|
|
52606
|
-
},
|
|
52607
|
-
get "NumberStepper"() {
|
|
52608
|
-
return exports.NumberStepper;
|
|
52609
|
-
},
|
|
52610
|
-
get "OptionConstraintGroup"() {
|
|
52611
|
-
return exports.OptionConstraintGroup;
|
|
52612
|
-
},
|
|
52613
|
-
get "OrbitalVisualization"() {
|
|
52614
|
-
return exports.OrbitalVisualization;
|
|
52615
|
-
},
|
|
52616
|
-
get "Overlay"() {
|
|
52617
|
-
return exports.Overlay;
|
|
52618
|
-
},
|
|
52619
|
-
get "PageHeader"() {
|
|
52620
|
-
return exports.PageHeader;
|
|
52621
|
-
},
|
|
52622
|
-
get "PageTransition"() {
|
|
52623
|
-
return exports.PageTransition;
|
|
52624
|
-
},
|
|
52625
|
-
get "Pagination"() {
|
|
52626
|
-
return exports.Pagination;
|
|
52627
|
-
},
|
|
52628
|
-
get "PatternTile"() {
|
|
52629
|
-
return exports.PatternTile;
|
|
52630
|
-
},
|
|
52631
|
-
get "PhysicsCanvas"() {
|
|
52632
|
-
return exports.PhysicsCanvas;
|
|
52633
|
-
},
|
|
52634
|
-
get "Popover"() {
|
|
52635
|
-
return exports.Popover;
|
|
52636
|
-
},
|
|
52637
|
-
get "PositionedCanvas"() {
|
|
52638
|
-
return exports.PositionedCanvas;
|
|
52639
|
-
},
|
|
52640
|
-
get "Presence"() {
|
|
52641
|
-
return exports.Presence;
|
|
52642
|
-
},
|
|
52643
|
-
get "ProgressBar"() {
|
|
52644
|
-
return exports.ProgressBar;
|
|
52645
|
-
},
|
|
52646
|
-
get "ProgressDots"() {
|
|
52647
|
-
return exports.ProgressDots;
|
|
52648
|
-
},
|
|
52649
|
-
get "PullToRefresh"() {
|
|
52650
|
-
return exports.PullToRefresh;
|
|
52651
|
-
},
|
|
52652
|
-
get "QrScanner"() {
|
|
52653
|
-
return exports.QrScanner;
|
|
52654
|
-
},
|
|
52655
|
-
get "QuizBlock"() {
|
|
52656
|
-
return exports.QuizBlock;
|
|
52657
|
-
},
|
|
52658
|
-
get "Radio"() {
|
|
52659
|
-
return exports.Radio;
|
|
52660
|
-
},
|
|
52661
|
-
get "RangeSlider"() {
|
|
52662
|
-
return exports.RangeSlider;
|
|
52663
|
-
},
|
|
52664
|
-
get "ReflectionBlock"() {
|
|
52665
|
-
return exports.ReflectionBlock;
|
|
52666
|
-
},
|
|
52667
|
-
get "RelationSelect"() {
|
|
52668
|
-
return exports.RelationSelect;
|
|
52669
|
-
},
|
|
52670
|
-
get "RepeatableFormSection"() {
|
|
52671
|
-
return exports.RepeatableFormSection;
|
|
52672
|
-
},
|
|
52673
|
-
get "ReplyTree"() {
|
|
52674
|
-
return exports.ReplyTree;
|
|
52675
|
-
},
|
|
52676
|
-
get "RichTextEditor"() {
|
|
52677
|
-
return exports.RichTextEditor;
|
|
52678
|
-
},
|
|
52679
|
-
get "RuntimeDebugger"() {
|
|
52680
|
-
return RuntimeDebugger;
|
|
52681
|
-
},
|
|
52682
|
-
get "ScaledDiagram"() {
|
|
52683
|
-
return exports.ScaledDiagram;
|
|
52684
|
-
},
|
|
52685
|
-
get "ScoreDisplay"() {
|
|
52686
|
-
return ScoreDisplay;
|
|
52687
|
-
},
|
|
52688
|
-
get "SearchInput"() {
|
|
52689
|
-
return exports.SearchInput;
|
|
52690
|
-
},
|
|
52691
|
-
get "Section"() {
|
|
52692
|
-
return exports.Section;
|
|
52693
|
-
},
|
|
52694
|
-
get "SectionHeader"() {
|
|
52695
|
-
return exports.SectionHeader;
|
|
52696
|
-
},
|
|
52697
|
-
get "SegmentRenderer"() {
|
|
52698
|
-
return exports.SegmentRenderer;
|
|
52699
|
-
},
|
|
52700
|
-
get "Select"() {
|
|
52701
|
-
return exports.Select;
|
|
52702
|
-
},
|
|
52703
|
-
get "SequenceBar"() {
|
|
52704
|
-
return SequenceBar;
|
|
52705
|
-
},
|
|
52706
|
-
get "SidePanel"() {
|
|
52707
|
-
return exports.SidePanel;
|
|
52708
|
-
},
|
|
52709
|
-
get "Sidebar"() {
|
|
52710
|
-
return exports.Sidebar;
|
|
52711
|
-
},
|
|
52712
|
-
get "SignaturePad"() {
|
|
52713
|
-
return exports.SignaturePad;
|
|
52714
|
-
},
|
|
52715
|
-
get "SimpleGrid"() {
|
|
52716
|
-
return exports.SimpleGrid;
|
|
52717
|
-
},
|
|
52718
|
-
get "Skeleton"() {
|
|
52719
|
-
return Skeleton;
|
|
52720
|
-
},
|
|
52721
|
-
get "SocialProof"() {
|
|
52722
|
-
return exports.SocialProof;
|
|
52723
|
-
},
|
|
52724
|
-
get "SortableList"() {
|
|
52725
|
-
return exports.SortableList;
|
|
52726
|
-
},
|
|
52727
|
-
get "Spacer"() {
|
|
52728
|
-
return SpacerPattern;
|
|
52729
|
-
},
|
|
52730
|
-
get "SpacerPattern"() {
|
|
52731
|
-
return SpacerPattern;
|
|
52732
|
-
},
|
|
52733
|
-
get "Sparkline"() {
|
|
52734
|
-
return exports.Sparkline;
|
|
52735
|
-
},
|
|
52736
|
-
get "Spinner"() {
|
|
52737
|
-
return exports.Spinner;
|
|
52738
|
-
},
|
|
52739
|
-
get "Split"() {
|
|
52740
|
-
return exports.Split;
|
|
52741
|
-
},
|
|
52742
|
-
get "SplitPane"() {
|
|
52743
|
-
return exports.SplitPane;
|
|
52744
|
-
},
|
|
52745
|
-
get "Stack"() {
|
|
52746
|
-
return exports.Stack;
|
|
52747
|
-
},
|
|
52748
|
-
get "StarRating"() {
|
|
52749
|
-
return exports.StarRating;
|
|
52750
|
-
},
|
|
52751
|
-
get "StatBadge"() {
|
|
52752
|
-
return StatBadge;
|
|
52753
|
-
},
|
|
52754
|
-
get "StatCard"() {
|
|
52755
|
-
return exports.StatCard;
|
|
52756
|
-
},
|
|
52757
|
-
get "StatDisplay"() {
|
|
52758
|
-
return exports.StatDisplay;
|
|
52759
|
-
},
|
|
52760
|
-
get "StateGraph"() {
|
|
52761
|
-
return StateGraph;
|
|
52762
|
-
},
|
|
52763
|
-
get "StateJsonView"() {
|
|
52764
|
-
return StateJsonView;
|
|
52765
|
-
},
|
|
52766
|
-
get "StateMachineView"() {
|
|
52767
|
-
return exports.StateMachineView;
|
|
52768
|
-
},
|
|
52769
|
-
get "StatusDot"() {
|
|
52770
|
-
return exports.StatusDot;
|
|
52771
|
-
},
|
|
52772
|
-
get "SubagentTracePanel"() {
|
|
52773
|
-
return exports.SubagentTracePanel;
|
|
52774
|
-
},
|
|
52775
|
-
get "SvgBranch"() {
|
|
52776
|
-
return exports.SvgBranch;
|
|
52777
|
-
},
|
|
52778
|
-
get "SvgConnection"() {
|
|
52779
|
-
return exports.SvgConnection;
|
|
52780
|
-
},
|
|
52781
|
-
get "SvgFlow"() {
|
|
52782
|
-
return exports.SvgFlow;
|
|
52783
|
-
},
|
|
52784
|
-
get "SvgGrid"() {
|
|
52785
|
-
return exports.SvgGrid;
|
|
52786
|
-
},
|
|
52787
|
-
get "SvgLobe"() {
|
|
52788
|
-
return exports.SvgLobe;
|
|
52789
|
-
},
|
|
52790
|
-
get "SvgMesh"() {
|
|
52791
|
-
return exports.SvgMesh;
|
|
52792
|
-
},
|
|
52793
|
-
get "SvgMorph"() {
|
|
52794
|
-
return exports.SvgMorph;
|
|
52795
|
-
},
|
|
52796
|
-
get "SvgNode"() {
|
|
52797
|
-
return exports.SvgNode;
|
|
52798
|
-
},
|
|
52799
|
-
get "SvgPulse"() {
|
|
52800
|
-
return exports.SvgPulse;
|
|
52801
|
-
},
|
|
52802
|
-
get "SvgRing"() {
|
|
52803
|
-
return exports.SvgRing;
|
|
52804
|
-
},
|
|
52805
|
-
get "SvgShield"() {
|
|
52806
|
-
return exports.SvgShield;
|
|
52807
|
-
},
|
|
52808
|
-
get "SvgStack"() {
|
|
52809
|
-
return exports.SvgStack;
|
|
52810
|
-
},
|
|
52811
|
-
get "SwipeableRow"() {
|
|
52812
|
-
return exports.SwipeableRow;
|
|
52813
|
-
},
|
|
52814
|
-
get "Switch"() {
|
|
52815
|
-
return exports.Switch;
|
|
52816
|
-
},
|
|
52817
|
-
get "TabbedContainer"() {
|
|
52818
|
-
return exports.TabbedContainer;
|
|
52819
|
-
},
|
|
52820
|
-
get "TableView"() {
|
|
52821
|
-
return TableView;
|
|
52822
|
-
},
|
|
52823
|
-
get "Tabs"() {
|
|
52824
|
-
return exports.Tabs;
|
|
52825
|
-
},
|
|
52826
|
-
get "TagInput"() {
|
|
52827
|
-
return exports.TagInput;
|
|
52828
|
-
},
|
|
52829
|
-
get "TextHighlight"() {
|
|
52830
|
-
return exports.TextHighlight;
|
|
52831
|
-
},
|
|
52832
|
-
get "Textarea"() {
|
|
52833
|
-
return exports.Textarea;
|
|
52834
|
-
},
|
|
52835
|
-
get "ThemeToggle"() {
|
|
52836
|
-
return exports.ThemeToggle;
|
|
52837
|
-
},
|
|
52838
|
-
get "TimeSlotCell"() {
|
|
52839
|
-
return TimeSlotCell;
|
|
52840
|
-
},
|
|
52841
|
-
get "Timeline"() {
|
|
52842
|
-
return exports.Timeline;
|
|
52843
|
-
},
|
|
52844
|
-
get "TimerDisplay"() {
|
|
52845
|
-
return TimerDisplay;
|
|
52846
|
-
},
|
|
52847
|
-
get "Toast"() {
|
|
52848
|
-
return exports.Toast;
|
|
52849
|
-
},
|
|
52850
|
-
get "ToastSlot"() {
|
|
52851
|
-
return exports.ToastSlot;
|
|
52852
|
-
},
|
|
52853
|
-
get "Tooltip"() {
|
|
52854
|
-
return exports.Tooltip;
|
|
52855
|
-
},
|
|
52856
|
-
get "TopNavItem"() {
|
|
52857
|
-
return TopNavItem;
|
|
52858
|
-
},
|
|
52859
|
-
get "TraitFrame"() {
|
|
52860
|
-
return TraitFrame;
|
|
52861
|
-
},
|
|
52862
|
-
get "TraitSlot"() {
|
|
52863
|
-
return TraitSlot;
|
|
52864
|
-
},
|
|
52865
|
-
get "TrendIndicator"() {
|
|
52866
|
-
return exports.TrendIndicator;
|
|
52867
|
-
},
|
|
52868
|
-
get "TypewriterText"() {
|
|
52869
|
-
return exports.TypewriterText;
|
|
52870
|
-
},
|
|
52871
|
-
get "Typography"() {
|
|
52872
|
-
return exports.Typography;
|
|
52873
|
-
},
|
|
52874
|
-
get "UISlotComponent"() {
|
|
52875
|
-
return UISlotComponent;
|
|
52876
|
-
},
|
|
52877
|
-
get "UISlotRenderer"() {
|
|
52878
|
-
return UISlotRenderer;
|
|
52879
|
-
},
|
|
52880
|
-
get "UploadDropZone"() {
|
|
52881
|
-
return exports.UploadDropZone;
|
|
52882
|
-
},
|
|
52883
|
-
get "VStack"() {
|
|
52884
|
-
return exports.VStack;
|
|
52885
|
-
},
|
|
52886
|
-
get "VersionDiff"() {
|
|
52887
|
-
return exports.VersionDiff;
|
|
52888
|
-
},
|
|
52889
|
-
get "ViolationAlert"() {
|
|
52890
|
-
return exports.ViolationAlert;
|
|
52891
|
-
},
|
|
52892
|
-
get "VoteStack"() {
|
|
52893
|
-
return exports.VoteStack;
|
|
52894
|
-
},
|
|
52895
|
-
get "WizardContainer"() {
|
|
52896
|
-
return exports.WizardContainer;
|
|
52897
|
-
},
|
|
52898
|
-
get "WizardNavigation"() {
|
|
52899
|
-
return exports.WizardNavigation;
|
|
52900
|
-
},
|
|
52901
|
-
get "WizardProgress"() {
|
|
52902
|
-
return exports.WizardProgress;
|
|
52903
|
-
},
|
|
52213
|
+
"Accordion": exports.Accordion,
|
|
52214
|
+
"ActionPalette": ActionPalette,
|
|
52215
|
+
"ActionTile": ActionTile,
|
|
52216
|
+
"ActivationBlock": exports.ActivationBlock,
|
|
52217
|
+
"AgentActivityFeed": AgentActivityFeed,
|
|
52218
|
+
"AgentActivityRow": AgentActivityRow,
|
|
52219
|
+
"AgentChatFeed": AgentChatFeed,
|
|
52220
|
+
"Alert": AlertPattern,
|
|
52221
|
+
"AlertPattern": AlertPattern,
|
|
52222
|
+
"AlgoGraphCanvas": exports.AlgoGraphCanvas,
|
|
52223
|
+
"AlgorithmCanvas": exports.AlgorithmCanvas,
|
|
52224
|
+
"AnimatedCounter": exports.AnimatedCounter,
|
|
52225
|
+
"AnimatedGraphic": exports.AnimatedGraphic,
|
|
52226
|
+
"AnimatedReveal": exports.AnimatedReveal,
|
|
52227
|
+
"Aside": exports.Aside,
|
|
52228
|
+
"AtlasImage": AtlasImage,
|
|
52229
|
+
"AtlasPanel": AtlasPanel,
|
|
52230
|
+
"AuthLayout": exports.AuthLayout,
|
|
52231
|
+
"Avatar": exports.Avatar,
|
|
52232
|
+
"Badge": exports.Badge,
|
|
52233
|
+
"BehaviorView": exports.BehaviorView,
|
|
52234
|
+
"BiologyCanvas": exports.BiologyCanvas,
|
|
52235
|
+
"BloomQuizBlock": exports.BloomQuizBlock,
|
|
52236
|
+
"Box": BoxPattern,
|
|
52237
|
+
"BoxPattern": BoxPattern,
|
|
52238
|
+
"BranchingLogicBuilder": exports.BranchingLogicBuilder,
|
|
52239
|
+
"Breadcrumb": exports.Breadcrumb,
|
|
52240
|
+
"Button": ButtonPattern,
|
|
52241
|
+
"ButtonGroup": exports.ButtonGroup,
|
|
52242
|
+
"ButtonPattern": ButtonPattern,
|
|
52243
|
+
"CalendarGrid": CalendarGrid,
|
|
52244
|
+
"Canvas": Canvas,
|
|
52245
|
+
"Canvas2D": Canvas2D,
|
|
52246
|
+
"Card": exports.Card,
|
|
52247
|
+
"Carousel": exports.Carousel,
|
|
52248
|
+
"Center": exports.Center,
|
|
52249
|
+
"ChangeList": exports.ChangeList,
|
|
52250
|
+
"Chart": exports.Chart,
|
|
52251
|
+
"ChartLegend": exports.ChartLegend,
|
|
52252
|
+
"ChatBar": ChatBar,
|
|
52253
|
+
"Checkbox": exports.Checkbox,
|
|
52254
|
+
"ChemistryCanvas": exports.ChemistryCanvas,
|
|
52255
|
+
"ChoiceButton": ChoiceButton,
|
|
52256
|
+
"CodeBlock": exports.CodeBlock,
|
|
52257
|
+
"CodeRunnerPanel": exports.CodeRunnerPanel,
|
|
52258
|
+
"CommandPalette": exports.CommandPalette,
|
|
52259
|
+
"CommitRow": exports.CommitRow,
|
|
52260
|
+
"ConditionalWrapper": exports.ConditionalWrapper,
|
|
52261
|
+
"ConfettiEffect": exports.ConfettiEffect,
|
|
52262
|
+
"ConfirmDialog": exports.ConfirmDialog,
|
|
52263
|
+
"ConnectionBlock": exports.ConnectionBlock,
|
|
52264
|
+
"Container": exports.Container,
|
|
52265
|
+
"ContentRenderer": exports.ContentRenderer,
|
|
52266
|
+
"ControlButton": ControlButton,
|
|
52267
|
+
"ControlGrid": ControlGrid,
|
|
52268
|
+
"CounterTemplate": exports.CounterTemplate,
|
|
52269
|
+
"DashboardGrid": exports.DashboardGrid,
|
|
52270
|
+
"DashboardLayout": exports.DashboardLayout,
|
|
52271
|
+
"DataGrid": DataGrid,
|
|
52272
|
+
"DataList": DataList,
|
|
52273
|
+
"DateRangePicker": exports.DateRangePicker,
|
|
52274
|
+
"DateRangeSelector": exports.DateRangeSelector,
|
|
52275
|
+
"DayCell": DayCell,
|
|
52276
|
+
"DetailPanel": exports.DetailPanel,
|
|
52277
|
+
"Dialog": exports.Dialog,
|
|
52278
|
+
"DialogueBubble": DialogueBubble,
|
|
52279
|
+
"Divider": DividerPattern,
|
|
52280
|
+
"DividerPattern": DividerPattern,
|
|
52281
|
+
"DocBreadcrumb": exports.DocBreadcrumb,
|
|
52282
|
+
"DocPagination": DocPagination,
|
|
52283
|
+
"DocSearch": DocSearch,
|
|
52284
|
+
"DocSidebar": exports.DocSidebar,
|
|
52285
|
+
"DocTOC": exports.DocTOC,
|
|
52286
|
+
"DockLayout": exports.DockLayout,
|
|
52287
|
+
"DocumentDetails": DocumentDetails,
|
|
52288
|
+
"DocumentPanel": DocumentPanel,
|
|
52289
|
+
"DocumentViewer": exports.DocumentViewer,
|
|
52290
|
+
"DrawFxLayer": DrawFxLayer,
|
|
52291
|
+
"DrawGroup": DrawGroup,
|
|
52292
|
+
"DrawMesh": DrawMesh,
|
|
52293
|
+
"DrawShape": DrawShape,
|
|
52294
|
+
"DrawShapeLayer": DrawShapeLayer,
|
|
52295
|
+
"DrawSkinnedMesh": DrawSkinnedMesh,
|
|
52296
|
+
"DrawSprite": DrawSprite,
|
|
52297
|
+
"DrawSpriteLayer": DrawSpriteLayer,
|
|
52298
|
+
"DrawText": DrawText,
|
|
52299
|
+
"DrawTextLayer": DrawTextLayer,
|
|
52300
|
+
"Drawer": exports.Drawer,
|
|
52301
|
+
"DrawerSlot": exports.DrawerSlot,
|
|
52302
|
+
"EdgeDecoration": exports.EdgeDecoration,
|
|
52303
|
+
"EmojiPicker": exports.EmojiPicker,
|
|
52304
|
+
"EmptyState": exports.EmptyState,
|
|
52305
|
+
"ErrorBoundary": exports.ErrorBoundary,
|
|
52306
|
+
"ErrorState": exports.ErrorState,
|
|
52307
|
+
"FeatureCard": exports.FeatureCard,
|
|
52308
|
+
"FeatureGrid": exports.FeatureGrid,
|
|
52309
|
+
"FileTree": exports.FileTree,
|
|
52310
|
+
"FilterGroup": exports.FilterGroup,
|
|
52311
|
+
"FilterPill": exports.FilterPill,
|
|
52312
|
+
"Flex": exports.Flex,
|
|
52313
|
+
"FlipCard": exports.FlipCard,
|
|
52314
|
+
"FlipContainer": exports.FlipContainer,
|
|
52315
|
+
"FloatingActionButton": exports.FloatingActionButton,
|
|
52316
|
+
"FloatingToolbar": exports.FloatingToolbar,
|
|
52317
|
+
"Form": exports.Form,
|
|
52318
|
+
"FormField": exports.FormField,
|
|
52319
|
+
"FormLayout": exports.FormLayout,
|
|
52320
|
+
"FormSectionHeader": exports.FormSectionHeader,
|
|
52321
|
+
"FxOverlay": exports.FxOverlay,
|
|
52322
|
+
"GameAudioCue": GameAudioCue,
|
|
52323
|
+
"GameAudioToggle": GameAudioToggle,
|
|
52324
|
+
"GameHud": GameHud,
|
|
52325
|
+
"GameIcon": GameIcon,
|
|
52326
|
+
"GameMenu": GameMenu,
|
|
52327
|
+
"GameShell": exports.GameShell,
|
|
52328
|
+
"Gantt": Gantt,
|
|
52329
|
+
"GenericAppTemplate": exports.GenericAppTemplate,
|
|
52330
|
+
"GeometricPattern": exports.GeometricPattern,
|
|
52331
|
+
"GradientDivider": exports.GradientDivider,
|
|
52332
|
+
"GraphCanvas": exports.GraphCanvas,
|
|
52333
|
+
"GraphView": exports.GraphView,
|
|
52334
|
+
"Grid": exports.Grid,
|
|
52335
|
+
"HStack": exports.HStack,
|
|
52336
|
+
"Header": exports.Header,
|
|
52337
|
+
"HealthBar": HealthBar,
|
|
52338
|
+
"Icon": exports.Icon,
|
|
52339
|
+
"IconButton": IconButtonPattern,
|
|
52340
|
+
"IconButtonPattern": IconButtonPattern,
|
|
52341
|
+
"Image": exports.Image,
|
|
52342
|
+
"ImportPreviewTree": exports.ImportPreviewTree,
|
|
52343
|
+
"ImportProgress": exports.ImportProgress,
|
|
52344
|
+
"ImportSourcePicker": exports.ImportSourcePicker,
|
|
52345
|
+
"InfiniteScrollSentinel": exports.InfiniteScrollSentinel,
|
|
52346
|
+
"Input": exports.Input,
|
|
52347
|
+
"InputGroup": exports.InputGroup,
|
|
52348
|
+
"JazariStateMachine": exports.JazariStateMachine,
|
|
52349
|
+
"Label": LabelPattern,
|
|
52350
|
+
"LabelPattern": LabelPattern,
|
|
52351
|
+
"LawReferenceTooltip": exports.LawReferenceTooltip,
|
|
52352
|
+
"LearningCanvas": exports.LearningCanvas,
|
|
52353
|
+
"Lightbox": exports.Lightbox,
|
|
52354
|
+
"LikertScale": exports.LikertScale,
|
|
52355
|
+
"LineChart": exports.LineChart,
|
|
52356
|
+
"LoadingState": exports.LoadingState,
|
|
52357
|
+
"MapView": MapView,
|
|
52358
|
+
"MarkdownContent": exports.MarkdownContent,
|
|
52359
|
+
"MasterDetailLayout": exports.MasterDetailLayout,
|
|
52360
|
+
"MathCanvas": exports.MathCanvas,
|
|
52361
|
+
"MatrixQuestion": exports.MatrixQuestion,
|
|
52362
|
+
"MediaGallery": exports.MediaGallery,
|
|
52363
|
+
"Menu": exports.Menu,
|
|
52364
|
+
"Meter": exports.Meter,
|
|
52365
|
+
"Modal": exports.Modal,
|
|
52366
|
+
"ModalSlot": exports.ModalSlot,
|
|
52367
|
+
"ModuleCard": exports.ModuleCard,
|
|
52368
|
+
"Navigation": exports.Navigation,
|
|
52369
|
+
"NumberStepper": exports.NumberStepper,
|
|
52370
|
+
"OptionConstraintGroup": exports.OptionConstraintGroup,
|
|
52371
|
+
"OrbitalVisualization": exports.OrbitalVisualization,
|
|
52372
|
+
"Overlay": exports.Overlay,
|
|
52373
|
+
"PageHeader": exports.PageHeader,
|
|
52374
|
+
"PageTransition": exports.PageTransition,
|
|
52375
|
+
"Pagination": exports.Pagination,
|
|
52376
|
+
"PatternTile": exports.PatternTile,
|
|
52377
|
+
"PhysicsCanvas": exports.PhysicsCanvas,
|
|
52378
|
+
"Popover": exports.Popover,
|
|
52379
|
+
"PositionedCanvas": exports.PositionedCanvas,
|
|
52380
|
+
"Presence": exports.Presence,
|
|
52381
|
+
"ProgressBar": exports.ProgressBar,
|
|
52382
|
+
"ProgressDots": exports.ProgressDots,
|
|
52383
|
+
"PullToRefresh": exports.PullToRefresh,
|
|
52384
|
+
"QrScanner": exports.QrScanner,
|
|
52385
|
+
"QuizBlock": exports.QuizBlock,
|
|
52386
|
+
"Radio": exports.Radio,
|
|
52387
|
+
"RangeSlider": exports.RangeSlider,
|
|
52388
|
+
"ReflectionBlock": exports.ReflectionBlock,
|
|
52389
|
+
"RelationSelect": exports.RelationSelect,
|
|
52390
|
+
"RepeatableFormSection": exports.RepeatableFormSection,
|
|
52391
|
+
"ReplyTree": exports.ReplyTree,
|
|
52392
|
+
"RichTextEditor": exports.RichTextEditor,
|
|
52393
|
+
"RuntimeDebugger": RuntimeDebugger,
|
|
52394
|
+
"ScaledDiagram": exports.ScaledDiagram,
|
|
52395
|
+
"ScoreDisplay": ScoreDisplay,
|
|
52396
|
+
"SearchInput": exports.SearchInput,
|
|
52397
|
+
"Section": exports.Section,
|
|
52398
|
+
"SectionHeader": exports.SectionHeader,
|
|
52399
|
+
"SegmentRenderer": exports.SegmentRenderer,
|
|
52400
|
+
"Select": exports.Select,
|
|
52401
|
+
"SequenceBar": SequenceBar,
|
|
52402
|
+
"SidePanel": exports.SidePanel,
|
|
52403
|
+
"Sidebar": exports.Sidebar,
|
|
52404
|
+
"SignaturePad": exports.SignaturePad,
|
|
52405
|
+
"SimpleGrid": exports.SimpleGrid,
|
|
52406
|
+
"Skeleton": Skeleton,
|
|
52407
|
+
"SocialProof": exports.SocialProof,
|
|
52408
|
+
"SortableList": exports.SortableList,
|
|
52409
|
+
"Spacer": SpacerPattern,
|
|
52410
|
+
"SpacerPattern": SpacerPattern,
|
|
52411
|
+
"Sparkline": exports.Sparkline,
|
|
52412
|
+
"Spinner": exports.Spinner,
|
|
52413
|
+
"Split": exports.Split,
|
|
52414
|
+
"SplitPane": exports.SplitPane,
|
|
52415
|
+
"Stack": exports.Stack,
|
|
52416
|
+
"StarRating": exports.StarRating,
|
|
52417
|
+
"StatBadge": StatBadge,
|
|
52418
|
+
"StatCard": exports.StatCard,
|
|
52419
|
+
"StatDisplay": exports.StatDisplay,
|
|
52420
|
+
"StateGraph": StateGraph,
|
|
52421
|
+
"StateJsonView": StateJsonView,
|
|
52422
|
+
"StateMachineView": exports.StateMachineView,
|
|
52423
|
+
"StatusDot": exports.StatusDot,
|
|
52424
|
+
"SubagentTracePanel": exports.SubagentTracePanel,
|
|
52425
|
+
"SvgBranch": exports.SvgBranch,
|
|
52426
|
+
"SvgConnection": exports.SvgConnection,
|
|
52427
|
+
"SvgFlow": exports.SvgFlow,
|
|
52428
|
+
"SvgGrid": exports.SvgGrid,
|
|
52429
|
+
"SvgLobe": exports.SvgLobe,
|
|
52430
|
+
"SvgMesh": exports.SvgMesh,
|
|
52431
|
+
"SvgMorph": exports.SvgMorph,
|
|
52432
|
+
"SvgNode": exports.SvgNode,
|
|
52433
|
+
"SvgPulse": exports.SvgPulse,
|
|
52434
|
+
"SvgRing": exports.SvgRing,
|
|
52435
|
+
"SvgShield": exports.SvgShield,
|
|
52436
|
+
"SvgStack": exports.SvgStack,
|
|
52437
|
+
"SwipeableRow": exports.SwipeableRow,
|
|
52438
|
+
"Switch": exports.Switch,
|
|
52439
|
+
"TabbedContainer": exports.TabbedContainer,
|
|
52440
|
+
"TableView": TableView,
|
|
52441
|
+
"Tabs": exports.Tabs,
|
|
52442
|
+
"TagInput": exports.TagInput,
|
|
52443
|
+
"TextHighlight": exports.TextHighlight,
|
|
52444
|
+
"Textarea": exports.Textarea,
|
|
52445
|
+
"ThemeToggle": exports.ThemeToggle,
|
|
52446
|
+
"TimeSlotCell": TimeSlotCell,
|
|
52447
|
+
"Timeline": exports.Timeline,
|
|
52448
|
+
"TimerDisplay": TimerDisplay,
|
|
52449
|
+
"Toast": exports.Toast,
|
|
52450
|
+
"ToastSlot": exports.ToastSlot,
|
|
52451
|
+
"Tooltip": exports.Tooltip,
|
|
52452
|
+
"TopNavItem": TopNavItem,
|
|
52453
|
+
"TraitFrame": TraitFrame,
|
|
52454
|
+
"TraitSlot": TraitSlot,
|
|
52455
|
+
"TrendIndicator": exports.TrendIndicator,
|
|
52456
|
+
"TypewriterText": exports.TypewriterText,
|
|
52457
|
+
"Typography": exports.Typography,
|
|
52458
|
+
"UISlotComponent": UISlotComponent,
|
|
52459
|
+
"UISlotRenderer": UISlotRenderer,
|
|
52460
|
+
"UploadDropZone": exports.UploadDropZone,
|
|
52461
|
+
"VStack": exports.VStack,
|
|
52462
|
+
"VersionDiff": exports.VersionDiff,
|
|
52463
|
+
"ViolationAlert": exports.ViolationAlert,
|
|
52464
|
+
"VoteStack": exports.VoteStack,
|
|
52465
|
+
"WizardContainer": exports.WizardContainer,
|
|
52466
|
+
"WizardNavigation": exports.WizardNavigation,
|
|
52467
|
+
"WizardProgress": exports.WizardProgress,
|
|
52904
52468
|
// Semantic aliases
|
|
52905
|
-
|
|
52906
|
-
return TextPattern;
|
|
52907
|
-
}
|
|
52469
|
+
"Text": TextPattern
|
|
52908
52470
|
};
|
|
52909
52471
|
}
|
|
52910
52472
|
});
|
|
@@ -53191,6 +52753,7 @@ function UISlotComponentInner({
|
|
|
53191
52753
|
const awaiting = isPortalSlot(slot) ? void 0 : awaitingSkeleton ?? runtimeAwaiting;
|
|
53192
52754
|
const regionClassName = fallback !== void 0 ? cn("contents", className) : className;
|
|
53193
52755
|
const binding = providers.useEntityBindingSnapshot(rawContent?.sourceTrait);
|
|
52756
|
+
const i18n = hooks.useRenderI18n();
|
|
53194
52757
|
const content = React82.useMemo(() => {
|
|
53195
52758
|
if (!rawContent) return rawContent;
|
|
53196
52759
|
const resolvedProps = resolveRenderBindingMarkers(
|
|
@@ -53198,10 +52761,11 @@ function UISlotComponentInner({
|
|
|
53198
52761
|
rawContent.sourceTrait,
|
|
53199
52762
|
binding.entity,
|
|
53200
52763
|
binding.config,
|
|
53201
|
-
binding.state
|
|
52764
|
+
binding.state,
|
|
52765
|
+
i18n
|
|
53202
52766
|
);
|
|
53203
52767
|
return resolvedProps === rawContent.props ? rawContent : { ...rawContent, props: resolvedProps };
|
|
53204
|
-
}, [rawContent, binding.entity, binding.config, binding.state]);
|
|
52768
|
+
}, [rawContent, binding.entity, binding.config, binding.state, i18n]);
|
|
53205
52769
|
const animatedPortal = isAnimatedPortalSlot(slot);
|
|
53206
52770
|
const holdForPending = useScopeHasPending(React82.useContext(PendingScopeContext));
|
|
53207
52771
|
const runtimePresence = useSlotPresence(portal && animatedPortal ? content ?? null : null, holdForPending);
|
|
@@ -53839,9 +53403,10 @@ function SlotContentRenderer({
|
|
|
53839
53403
|
const ambientScope = providers.useTraitScope();
|
|
53840
53404
|
const bindingTrait = content.sourceTrait ?? ambientScope?.trait;
|
|
53841
53405
|
const binding = providers.useEntityBindingSnapshot(bindingTrait);
|
|
53406
|
+
const i18n = hooks.useRenderI18n();
|
|
53842
53407
|
const liveProps = React82.useMemo(
|
|
53843
|
-
() => resolveRenderBindingMarkers(content.props, bindingTrait, binding.entity, binding.config, binding.state),
|
|
53844
|
-
[content.props, bindingTrait, binding.entity, binding.config, binding.state]
|
|
53408
|
+
() => resolveRenderBindingMarkers(content.props, bindingTrait, binding.entity, binding.config, binding.state, i18n),
|
|
53409
|
+
[content.props, bindingTrait, binding.entity, binding.config, binding.state, i18n]
|
|
53845
53410
|
);
|
|
53846
53411
|
const propsObj = typeof liveProps === "string" ? {} : liveProps;
|
|
53847
53412
|
const entityProp = propsObj.entity;
|
|
@@ -57506,6 +57071,10 @@ function I18nProvider({ value, children, documentRoot }) {
|
|
|
57506
57071
|
function useTranslate156() {
|
|
57507
57072
|
return React82.useContext(I18nContext);
|
|
57508
57073
|
}
|
|
57074
|
+
function useRenderI18n2() {
|
|
57075
|
+
const { locale, messages } = React82.useContext(I18nContext);
|
|
57076
|
+
return React82.useMemo(() => messages !== void 0 ? { locale, messages } : void 0, [locale, messages]);
|
|
57077
|
+
}
|
|
57509
57078
|
function useFormatContext12() {
|
|
57510
57079
|
const { t, locale, currency } = React82.useContext(I18nContext);
|
|
57511
57080
|
return React82.useMemo(
|
|
@@ -57877,6 +57446,7 @@ exports.usePresence = usePresence;
|
|
|
57877
57446
|
exports.usePreview = usePreview;
|
|
57878
57447
|
exports.usePullToRefresh = usePullToRefresh;
|
|
57879
57448
|
exports.useQuerySingleton = useQuerySingleton;
|
|
57449
|
+
exports.useRenderI18n = useRenderI18n2;
|
|
57880
57450
|
exports.useRenderInterpolation = useRenderInterpolation;
|
|
57881
57451
|
exports.useSharedEntitySnapshot = useSharedEntitySnapshot;
|
|
57882
57452
|
exports.useSharedEntityStore = useSharedEntityStore;
|