@almadar/ui 5.127.0 → 5.129.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/{UserContext-BKckAUv7.d.cts → UserContext-g_LcDiGN.d.cts} +6 -22
- package/dist/{UserContext-BKckAUv7.d.ts → UserContext-g_LcDiGN.d.ts} +6 -22
- package/dist/avl/index.cjs +297 -6
- package/dist/avl/index.js +297 -6
- package/dist/components/index.cjs +300 -6
- package/dist/components/index.d.cts +119 -1
- package/dist/components/index.d.ts +119 -1
- package/dist/components/index.js +301 -7
- package/dist/context/index.d.cts +2 -2
- package/dist/context/index.d.ts +2 -2
- package/dist/providers/index.cjs +394 -107
- package/dist/providers/index.d.cts +15 -4
- package/dist/providers/index.d.ts +15 -4
- package/dist/providers/index.js +393 -108
- package/dist/runtime/index.cjs +297 -6
- package/dist/runtime/index.js +297 -6
- package/package.json +7 -6
- package/scripts/audit-tailwind-safelist.ts +237 -0
- package/scripts/export-static.js +61 -0
- package/scripts/generate-design-system.ts +344 -0
- package/scripts/generate-theme-from-schema.ts +480 -0
- package/scripts/generate.ts +835 -0
- package/scripts/strip-base-tokens-from-themes.mjs +179 -0
- package/scripts/suggest-components.ts +508 -0
- package/scripts/theme-contrast-audit.mjs +132 -0
- package/scripts/types.ts +282 -0
- package/themes/_contract.md +1 -1
|
@@ -19648,7 +19648,7 @@ var init_DashboardLayout = __esm({
|
|
|
19648
19648
|
]
|
|
19649
19649
|
}
|
|
19650
19650
|
),
|
|
19651
|
-
user && /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "relative", children: [
|
|
19651
|
+
user?.name && /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "relative", children: [
|
|
19652
19652
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
19653
19653
|
exports.Button,
|
|
19654
19654
|
{
|
|
@@ -28622,12 +28622,12 @@ var init_MapView = __esm({
|
|
|
28622
28622
|
shadowSize: [41, 41]
|
|
28623
28623
|
});
|
|
28624
28624
|
L.Marker.prototype.options.icon = defaultIcon;
|
|
28625
|
-
const { useEffect: useEffect65, useRef:
|
|
28625
|
+
const { useEffect: useEffect65, useRef: useRef63, useCallback: useCallback105, useState: useState102 } = React74__namespace.default;
|
|
28626
28626
|
const { Typography: Typography2 } = await Promise.resolve().then(() => (init_Typography(), Typography_exports));
|
|
28627
28627
|
const { useEventBus: useEventBus2 } = await Promise.resolve().then(() => (init_useEventBus(), useEventBus_exports));
|
|
28628
28628
|
function MapUpdater({ centerLat, centerLng, zoom }) {
|
|
28629
28629
|
const map = useMap();
|
|
28630
|
-
const prevRef =
|
|
28630
|
+
const prevRef = useRef63({ centerLat, centerLng, zoom });
|
|
28631
28631
|
useEffect65(() => {
|
|
28632
28632
|
const prev = prevRef.current;
|
|
28633
28633
|
if (prev.centerLat !== centerLat || prev.centerLng !== centerLng || prev.zoom !== zoom) {
|
|
@@ -37817,6 +37817,293 @@ var init_GraphCanvas = __esm({
|
|
|
37817
37817
|
exports.GraphCanvas.displayName = "GraphCanvas";
|
|
37818
37818
|
}
|
|
37819
37819
|
});
|
|
37820
|
+
exports.ImportSourcePicker = void 0;
|
|
37821
|
+
var init_ImportSourcePicker = __esm({
|
|
37822
|
+
"components/core/molecules/import/ImportSourcePicker.tsx"() {
|
|
37823
|
+
"use client";
|
|
37824
|
+
init_Box();
|
|
37825
|
+
init_Icon();
|
|
37826
|
+
init_Typography();
|
|
37827
|
+
init_cn();
|
|
37828
|
+
exports.ImportSourcePicker = ({
|
|
37829
|
+
sources,
|
|
37830
|
+
onSelect,
|
|
37831
|
+
onFilesSelected,
|
|
37832
|
+
title,
|
|
37833
|
+
moreSources,
|
|
37834
|
+
className
|
|
37835
|
+
}) => {
|
|
37836
|
+
const fileInputRef = React74.useRef(null);
|
|
37837
|
+
const handlePick = (source) => {
|
|
37838
|
+
if (source.disabled) return;
|
|
37839
|
+
if (source.kind === "file") {
|
|
37840
|
+
const input = fileInputRef.current;
|
|
37841
|
+
if (!input) return;
|
|
37842
|
+
input.accept = source.accept ?? "";
|
|
37843
|
+
input.multiple = source.multiple ?? false;
|
|
37844
|
+
input.click();
|
|
37845
|
+
return;
|
|
37846
|
+
}
|
|
37847
|
+
onSelect?.(source.id);
|
|
37848
|
+
};
|
|
37849
|
+
const handleFiles = (event) => {
|
|
37850
|
+
const files = event.target.files ? Array.from(event.target.files) : [];
|
|
37851
|
+
event.target.value = "";
|
|
37852
|
+
if (files.length > 0) onFilesSelected?.(files);
|
|
37853
|
+
};
|
|
37854
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: cn("flex flex-col gap-2", className), children: [
|
|
37855
|
+
title ? /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "h4", children: title }) : null,
|
|
37856
|
+
sources.map((source) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
37857
|
+
exports.Box,
|
|
37858
|
+
{
|
|
37859
|
+
role: "button",
|
|
37860
|
+
tabIndex: source.disabled ? -1 : 0,
|
|
37861
|
+
"aria-disabled": source.disabled,
|
|
37862
|
+
onClick: () => handlePick(source),
|
|
37863
|
+
onKeyDown: (event) => {
|
|
37864
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
37865
|
+
event.preventDefault();
|
|
37866
|
+
handlePick(source);
|
|
37867
|
+
}
|
|
37868
|
+
},
|
|
37869
|
+
className: cn(
|
|
37870
|
+
"flex items-center gap-3 rounded-md border border-border bg-card px-4 py-3 text-left",
|
|
37871
|
+
source.disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer hover:bg-accent hover:text-accent-foreground"
|
|
37872
|
+
),
|
|
37873
|
+
children: [
|
|
37874
|
+
source.icon ? /* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { icon: source.icon, size: "md" }) : null,
|
|
37875
|
+
/* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "flex flex-col", children: [
|
|
37876
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "label", children: source.label }),
|
|
37877
|
+
source.description ? /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "caption", className: "text-muted-foreground", children: source.description }) : null
|
|
37878
|
+
] })
|
|
37879
|
+
]
|
|
37880
|
+
},
|
|
37881
|
+
source.id
|
|
37882
|
+
)),
|
|
37883
|
+
moreSources,
|
|
37884
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37885
|
+
"input",
|
|
37886
|
+
{
|
|
37887
|
+
ref: fileInputRef,
|
|
37888
|
+
type: "file",
|
|
37889
|
+
className: "hidden",
|
|
37890
|
+
onChange: handleFiles,
|
|
37891
|
+
"data-testid": "import-source-file-input"
|
|
37892
|
+
}
|
|
37893
|
+
)
|
|
37894
|
+
] });
|
|
37895
|
+
};
|
|
37896
|
+
}
|
|
37897
|
+
});
|
|
37898
|
+
function formatFieldValue(value) {
|
|
37899
|
+
if (value === null) return "\u2014";
|
|
37900
|
+
if (value instanceof Date) return value.toISOString();
|
|
37901
|
+
if (Array.isArray(value)) return value.map(formatFieldValue).join(", ");
|
|
37902
|
+
if (typeof value === "object") return JSON.stringify(value);
|
|
37903
|
+
return String(value);
|
|
37904
|
+
}
|
|
37905
|
+
function unitTitle(unit) {
|
|
37906
|
+
for (const key of TITLE_KEYS) {
|
|
37907
|
+
const value = unit.fields[key];
|
|
37908
|
+
if (typeof value === "string" && value.length > 0) return value;
|
|
37909
|
+
}
|
|
37910
|
+
return unit.ref;
|
|
37911
|
+
}
|
|
37912
|
+
function fieldSummary(unit) {
|
|
37913
|
+
return Object.entries(unit.fields).filter(([key]) => !TITLE_KEYS.includes(key)).map(([key, value]) => `${key}: ${formatFieldValue(value)}`).join(" \xB7 ");
|
|
37914
|
+
}
|
|
37915
|
+
var TITLE_KEYS; exports.ImportPreviewTree = void 0;
|
|
37916
|
+
var init_ImportPreviewTree = __esm({
|
|
37917
|
+
"components/core/molecules/import/ImportPreviewTree.tsx"() {
|
|
37918
|
+
"use client";
|
|
37919
|
+
init_Box();
|
|
37920
|
+
init_Badge();
|
|
37921
|
+
init_Button();
|
|
37922
|
+
init_Icon();
|
|
37923
|
+
init_Typography();
|
|
37924
|
+
init_cn();
|
|
37925
|
+
TITLE_KEYS = ["title", "name", "label"];
|
|
37926
|
+
exports.ImportPreviewTree = ({
|
|
37927
|
+
units,
|
|
37928
|
+
skipped = [],
|
|
37929
|
+
entityDisplay,
|
|
37930
|
+
onConfirm,
|
|
37931
|
+
onCancel,
|
|
37932
|
+
confirmLabel = "Confirm import",
|
|
37933
|
+
cancelLabel = "Cancel",
|
|
37934
|
+
indent = 16,
|
|
37935
|
+
className
|
|
37936
|
+
}) => {
|
|
37937
|
+
const groups = /* @__PURE__ */ new Map();
|
|
37938
|
+
for (const unit of units) {
|
|
37939
|
+
const group = groups.get(unit.targetEntity);
|
|
37940
|
+
if (group) group.push(unit);
|
|
37941
|
+
else groups.set(unit.targetEntity, [unit]);
|
|
37942
|
+
}
|
|
37943
|
+
const renderUnit = (unit, childrenByParent, depth) => {
|
|
37944
|
+
const summary = fieldSummary(unit);
|
|
37945
|
+
const children = childrenByParent.get(unit.ref) ?? [];
|
|
37946
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(React74__namespace.default.Fragment, { children: [
|
|
37947
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
37948
|
+
exports.Box,
|
|
37949
|
+
{
|
|
37950
|
+
className: "flex flex-col py-1",
|
|
37951
|
+
style: { paddingLeft: depth * indent },
|
|
37952
|
+
"data-testid": `import-preview-unit-${unit.ref}`,
|
|
37953
|
+
children: [
|
|
37954
|
+
/* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "flex items-center gap-2", children: [
|
|
37955
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Icon, { icon: "file-text", size: "xs", className: "text-muted-foreground" }),
|
|
37956
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "body2", children: unitTitle(unit) })
|
|
37957
|
+
] }),
|
|
37958
|
+
summary ? /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "caption", className: "text-muted-foreground", children: summary }) : null
|
|
37959
|
+
]
|
|
37960
|
+
}
|
|
37961
|
+
),
|
|
37962
|
+
children.map((child) => renderUnit(child, childrenByParent, depth + 1))
|
|
37963
|
+
] }, unit.ref);
|
|
37964
|
+
};
|
|
37965
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: cn("flex flex-col gap-4", className), children: [
|
|
37966
|
+
units.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "body2", className: "text-muted-foreground", children: "No units staged." }) : null,
|
|
37967
|
+
Array.from(groups.entries()).map(([entity, groupUnits]) => {
|
|
37968
|
+
const refs = new Set(groupUnits.map((unit) => unit.ref));
|
|
37969
|
+
const childrenByParent = /* @__PURE__ */ new Map();
|
|
37970
|
+
const roots = [];
|
|
37971
|
+
for (const unit of groupUnits) {
|
|
37972
|
+
if (unit.parentRef && refs.has(unit.parentRef)) {
|
|
37973
|
+
const siblings = childrenByParent.get(unit.parentRef);
|
|
37974
|
+
if (siblings) siblings.push(unit);
|
|
37975
|
+
else childrenByParent.set(unit.parentRef, [unit]);
|
|
37976
|
+
} else {
|
|
37977
|
+
roots.push(unit);
|
|
37978
|
+
}
|
|
37979
|
+
}
|
|
37980
|
+
const label = entityDisplay[entity]?.plural ?? entity;
|
|
37981
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { border: true, className: "rounded-md border-border bg-card p-3", children: [
|
|
37982
|
+
/* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "flex items-center gap-2 pb-2", children: [
|
|
37983
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "label", children: label }),
|
|
37984
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { amount: groupUnits.length })
|
|
37985
|
+
] }),
|
|
37986
|
+
roots.map((unit) => renderUnit(unit, childrenByParent, 0))
|
|
37987
|
+
] }, entity);
|
|
37988
|
+
}),
|
|
37989
|
+
skipped.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { border: true, className: "rounded-md border-border bg-card p-3", children: [
|
|
37990
|
+
/* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "flex items-center gap-2 pb-2", children: [
|
|
37991
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "label", children: "Skipped" }),
|
|
37992
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { amount: skipped.length })
|
|
37993
|
+
] }),
|
|
37994
|
+
skipped.map((element) => /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "flex items-baseline gap-2 py-1", children: [
|
|
37995
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "body2", children: element.ref }),
|
|
37996
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Typography, { variant: "caption", className: "text-muted-foreground", children: element.reason })
|
|
37997
|
+
] }, element.ref))
|
|
37998
|
+
] }) : null,
|
|
37999
|
+
onConfirm || onCancel ? /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "flex items-center justify-end gap-2", children: [
|
|
38000
|
+
onCancel ? /* @__PURE__ */ jsxRuntime.jsx(exports.Button, { variant: "default", label: cancelLabel, onClick: onCancel }) : null,
|
|
38001
|
+
onConfirm ? /* @__PURE__ */ jsxRuntime.jsx(exports.Button, { variant: "primary", label: confirmLabel, onClick: onConfirm }) : null
|
|
38002
|
+
] }) : null
|
|
38003
|
+
] });
|
|
38004
|
+
};
|
|
38005
|
+
}
|
|
38006
|
+
});
|
|
38007
|
+
var PIPELINE, DEFAULT_LABELS; exports.ImportProgress = void 0;
|
|
38008
|
+
var init_ImportProgress = __esm({
|
|
38009
|
+
"components/core/molecules/import/ImportProgress.tsx"() {
|
|
38010
|
+
"use client";
|
|
38011
|
+
init_Box();
|
|
38012
|
+
init_Badge();
|
|
38013
|
+
init_Icon();
|
|
38014
|
+
init_Typography();
|
|
38015
|
+
init_cn();
|
|
38016
|
+
PIPELINE = [
|
|
38017
|
+
"fetching",
|
|
38018
|
+
"mapping",
|
|
38019
|
+
"reviewing",
|
|
38020
|
+
"committing"
|
|
38021
|
+
];
|
|
38022
|
+
DEFAULT_LABELS = {
|
|
38023
|
+
fetching: "Fetching",
|
|
38024
|
+
mapping: "Mapping",
|
|
38025
|
+
reviewing: "Reviewing",
|
|
38026
|
+
committing: "Committing",
|
|
38027
|
+
done: "Done",
|
|
38028
|
+
failed: "Failed"
|
|
38029
|
+
};
|
|
38030
|
+
exports.ImportProgress = ({
|
|
38031
|
+
step,
|
|
38032
|
+
counts,
|
|
38033
|
+
labels,
|
|
38034
|
+
className
|
|
38035
|
+
}) => {
|
|
38036
|
+
const label = (key) => labels?.[key] ?? DEFAULT_LABELS[key];
|
|
38037
|
+
const currentIndex = step === "done" || step === "failed" ? PIPELINE.length : PIPELINE.indexOf(step);
|
|
38038
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: cn("flex flex-col gap-3", className), children: [
|
|
38039
|
+
/* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "flex items-center gap-2", children: [
|
|
38040
|
+
PIPELINE.map((key, index) => {
|
|
38041
|
+
const isComplete = index < currentIndex;
|
|
38042
|
+
const isActive = index === currentIndex;
|
|
38043
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(React74__namespace.default.Fragment, { children: [
|
|
38044
|
+
index > 0 ? /* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "h-px w-4 bg-border" }) : null,
|
|
38045
|
+
/* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "flex items-center gap-1", "data-testid": `import-progress-step-${key}`, children: [
|
|
38046
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38047
|
+
exports.Icon,
|
|
38048
|
+
{
|
|
38049
|
+
icon: isComplete ? "check" : isActive ? "loader" : "circle",
|
|
38050
|
+
size: "sm",
|
|
38051
|
+
className: cn(
|
|
38052
|
+
isComplete ? "text-success" : isActive ? "text-primary" : "text-muted-foreground"
|
|
38053
|
+
)
|
|
38054
|
+
}
|
|
38055
|
+
),
|
|
38056
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38057
|
+
exports.Typography,
|
|
38058
|
+
{
|
|
38059
|
+
variant: "caption",
|
|
38060
|
+
className: cn(isActive ? "text-foreground" : "text-muted-foreground"),
|
|
38061
|
+
children: label(key)
|
|
38062
|
+
}
|
|
38063
|
+
)
|
|
38064
|
+
] })
|
|
38065
|
+
] }, key);
|
|
38066
|
+
}),
|
|
38067
|
+
step === "done" || step === "failed" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38068
|
+
/* @__PURE__ */ jsxRuntime.jsx(exports.Box, { className: "h-px w-4 bg-border" }),
|
|
38069
|
+
/* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "flex items-center gap-1", "data-testid": `import-progress-step-${step}`, children: [
|
|
38070
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38071
|
+
exports.Icon,
|
|
38072
|
+
{
|
|
38073
|
+
icon: step === "done" ? "check" : "x",
|
|
38074
|
+
size: "sm",
|
|
38075
|
+
className: step === "done" ? "text-success" : "text-error"
|
|
38076
|
+
}
|
|
38077
|
+
),
|
|
38078
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38079
|
+
exports.Typography,
|
|
38080
|
+
{
|
|
38081
|
+
variant: "caption",
|
|
38082
|
+
className: step === "done" ? "text-success" : "text-error",
|
|
38083
|
+
children: label(step)
|
|
38084
|
+
}
|
|
38085
|
+
)
|
|
38086
|
+
] })
|
|
38087
|
+
] }) : null
|
|
38088
|
+
] }),
|
|
38089
|
+
counts ? /* @__PURE__ */ jsxRuntime.jsxs(exports.Box, { className: "flex items-center gap-2", children: [
|
|
38090
|
+
counts.staged !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { label: `Staged ${counts.staged}` }) : null,
|
|
38091
|
+
counts.committed !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: "success", label: `Committed ${counts.committed}` }) : null,
|
|
38092
|
+
counts.failed !== void 0 ? /* @__PURE__ */ jsxRuntime.jsx(exports.Badge, { variant: "danger", label: `Failed ${counts.failed}` }) : null
|
|
38093
|
+
] }) : null
|
|
38094
|
+
] });
|
|
38095
|
+
};
|
|
38096
|
+
}
|
|
38097
|
+
});
|
|
38098
|
+
|
|
38099
|
+
// components/core/molecules/import/index.ts
|
|
38100
|
+
var init_import = __esm({
|
|
38101
|
+
"components/core/molecules/import/index.ts"() {
|
|
38102
|
+
init_ImportSourcePicker();
|
|
38103
|
+
init_ImportPreviewTree();
|
|
38104
|
+
init_ImportProgress();
|
|
38105
|
+
}
|
|
38106
|
+
});
|
|
37820
38107
|
exports.ReflectionBlock = void 0;
|
|
37821
38108
|
var init_ReflectionBlock = __esm({
|
|
37822
38109
|
"components/core/molecules/ReflectionBlock.tsx"() {
|
|
@@ -38103,6 +38390,7 @@ var init_molecules2 = __esm({
|
|
|
38103
38390
|
init_SignaturePad();
|
|
38104
38391
|
init_DocumentViewer();
|
|
38105
38392
|
init_GraphCanvas();
|
|
38393
|
+
init_import();
|
|
38106
38394
|
init_ActivationBlock();
|
|
38107
38395
|
init_ReflectionBlock();
|
|
38108
38396
|
init_ConnectionBlock();
|
|
@@ -38589,7 +38877,7 @@ function getBadgeVariant(fieldName, value) {
|
|
|
38589
38877
|
function formatFieldLabel(fieldName) {
|
|
38590
38878
|
return fieldName.replace(/([A-Z])/g, " $1").replace(/^./, (str2) => str2.toUpperCase());
|
|
38591
38879
|
}
|
|
38592
|
-
function
|
|
38880
|
+
function formatFieldValue2(value, fieldName) {
|
|
38593
38881
|
if (typeof value === "number") {
|
|
38594
38882
|
if (fieldName.toLowerCase().includes("progress") || fieldName.toLowerCase().includes("percent")) {
|
|
38595
38883
|
return `${value}%`;
|
|
@@ -38684,7 +38972,7 @@ function renderRichFieldValue(value, fieldName, fieldType) {
|
|
|
38684
38972
|
return str2;
|
|
38685
38973
|
}
|
|
38686
38974
|
default:
|
|
38687
|
-
return
|
|
38975
|
+
return formatFieldValue2(value, fieldName);
|
|
38688
38976
|
}
|
|
38689
38977
|
}
|
|
38690
38978
|
function normalizeFieldDefs(fields) {
|
|
@@ -38795,7 +39083,7 @@ var init_DetailPanel = __esm({
|
|
|
38795
39083
|
const value = getNestedValue(normalizedData, field);
|
|
38796
39084
|
return {
|
|
38797
39085
|
label: labelFor(field),
|
|
38798
|
-
value:
|
|
39086
|
+
value: formatFieldValue2(value, field),
|
|
38799
39087
|
icon: getFieldIcon(field)
|
|
38800
39088
|
};
|
|
38801
39089
|
}
|
|
@@ -44807,6 +45095,9 @@ var init_component_registry_generated = __esm({
|
|
|
44807
45095
|
init_HeroOrganism();
|
|
44808
45096
|
init_HeroSection();
|
|
44809
45097
|
init_Icon();
|
|
45098
|
+
init_ImportPreviewTree();
|
|
45099
|
+
init_ImportProgress();
|
|
45100
|
+
init_ImportSourcePicker();
|
|
44810
45101
|
init_InfiniteScrollSentinel();
|
|
44811
45102
|
init_Input();
|
|
44812
45103
|
init_InputGroup();
|
|
@@ -45070,6 +45361,9 @@ var init_component_registry_generated = __esm({
|
|
|
45070
45361
|
"HeroOrganism": exports.HeroOrganism,
|
|
45071
45362
|
"HeroSection": exports.HeroSection,
|
|
45072
45363
|
"Icon": exports.Icon,
|
|
45364
|
+
"ImportPreviewTree": exports.ImportPreviewTree,
|
|
45365
|
+
"ImportProgress": exports.ImportProgress,
|
|
45366
|
+
"ImportSourcePicker": exports.ImportSourcePicker,
|
|
45073
45367
|
"InfiniteScrollSentinel": exports.InfiniteScrollSentinel,
|
|
45074
45368
|
"Input": exports.Input,
|
|
45075
45369
|
"InputGroup": exports.InputGroup,
|
|
@@ -9131,6 +9131,124 @@ interface GraphCanvasProps {
|
|
|
9131
9131
|
}
|
|
9132
9132
|
declare const GraphCanvas: React__default.FC<GraphCanvasProps>;
|
|
9133
9133
|
|
|
9134
|
+
/**
|
|
9135
|
+
* ImportSourcePicker Molecule
|
|
9136
|
+
*
|
|
9137
|
+
* Source-selection menu for importing external data: paste text, markdown
|
|
9138
|
+
* file upload, and a generic "more sources" slot. Pure render — props in,
|
|
9139
|
+
* events out. Follows atomic design: composes Box, Icon, Typography atoms.
|
|
9140
|
+
*/
|
|
9141
|
+
|
|
9142
|
+
interface ImportSourceOption {
|
|
9143
|
+
/** Source identifier passed to onSelect */
|
|
9144
|
+
id: string;
|
|
9145
|
+
/** Option label */
|
|
9146
|
+
label: string;
|
|
9147
|
+
/** Description below the label */
|
|
9148
|
+
description?: string;
|
|
9149
|
+
/** Lucide icon name or component */
|
|
9150
|
+
icon?: IconInput;
|
|
9151
|
+
/** 'action' calls onSelect; 'file' opens a file picker and calls onFilesSelected */
|
|
9152
|
+
kind?: 'action' | 'file';
|
|
9153
|
+
/** Accepted file types for kind='file' (e.g. ".md,text/markdown") */
|
|
9154
|
+
accept?: string;
|
|
9155
|
+
/** Allow multiple files for kind='file' */
|
|
9156
|
+
multiple?: boolean;
|
|
9157
|
+
/** Disable the option */
|
|
9158
|
+
disabled?: boolean;
|
|
9159
|
+
}
|
|
9160
|
+
interface ImportSourcePickerProps {
|
|
9161
|
+
/** Source options to render */
|
|
9162
|
+
sources: ImportSourceOption[];
|
|
9163
|
+
/** Called with the source id when an 'action' option is picked */
|
|
9164
|
+
onSelect?: (sourceId: string) => void;
|
|
9165
|
+
/** Called with the chosen files when a 'file' option resolves */
|
|
9166
|
+
onFilesSelected?: (files: File[]) => void;
|
|
9167
|
+
/** Optional heading above the options */
|
|
9168
|
+
title?: string;
|
|
9169
|
+
/** Generic slot for additional sources rendered below the options */
|
|
9170
|
+
moreSources?: React__default.ReactNode;
|
|
9171
|
+
/** Additional CSS classes */
|
|
9172
|
+
className?: string;
|
|
9173
|
+
}
|
|
9174
|
+
declare const ImportSourcePicker: React__default.FC<ImportSourcePickerProps>;
|
|
9175
|
+
|
|
9176
|
+
/**
|
|
9177
|
+
* ImportPreviewTree Molecule
|
|
9178
|
+
*
|
|
9179
|
+
* Staged import preview: generic units grouped by targetEntity, nested by
|
|
9180
|
+
* parentRef, with per-unit field summaries, a skipped-elements section, and
|
|
9181
|
+
* confirm/cancel actions. Pure render — props in, events out.
|
|
9182
|
+
* Follows atomic design: composes Box, Badge, Button, Icon, Typography atoms.
|
|
9183
|
+
*/
|
|
9184
|
+
|
|
9185
|
+
interface ImportPreviewUnit {
|
|
9186
|
+
/** Staging ref, provenance-linked to a source span */
|
|
9187
|
+
ref: string;
|
|
9188
|
+
/** Target entity name */
|
|
9189
|
+
targetEntity: string;
|
|
9190
|
+
/** Mapped field values */
|
|
9191
|
+
fields: Record<string, FieldValue>;
|
|
9192
|
+
/** Staging ref of the unit this nests under */
|
|
9193
|
+
parentRef?: string;
|
|
9194
|
+
}
|
|
9195
|
+
interface ImportSkippedElement {
|
|
9196
|
+
ref: string;
|
|
9197
|
+
reason: string;
|
|
9198
|
+
}
|
|
9199
|
+
interface ImportEntityDisplay {
|
|
9200
|
+
singular: string;
|
|
9201
|
+
plural: string;
|
|
9202
|
+
}
|
|
9203
|
+
interface ImportPreviewTreeProps {
|
|
9204
|
+
/** Staged units to preview */
|
|
9205
|
+
units: ImportPreviewUnit[];
|
|
9206
|
+
/** Elements skipped during extraction, with reasons */
|
|
9207
|
+
skipped?: ImportSkippedElement[];
|
|
9208
|
+
/** Entity name → display labels; falls back to the entity name */
|
|
9209
|
+
entityDisplay: Record<string, ImportEntityDisplay>;
|
|
9210
|
+
/** Called when the user confirms the staged import */
|
|
9211
|
+
onConfirm?: () => void;
|
|
9212
|
+
/** Called when the user cancels the staged import */
|
|
9213
|
+
onCancel?: () => void;
|
|
9214
|
+
/** Confirm button label */
|
|
9215
|
+
confirmLabel?: string;
|
|
9216
|
+
/** Cancel button label */
|
|
9217
|
+
cancelLabel?: string;
|
|
9218
|
+
/** Indent per tree depth in px (default: 16) */
|
|
9219
|
+
indent?: number;
|
|
9220
|
+
/** Additional CSS classes */
|
|
9221
|
+
className?: string;
|
|
9222
|
+
}
|
|
9223
|
+
declare const ImportPreviewTree: React__default.FC<ImportPreviewTreeProps>;
|
|
9224
|
+
|
|
9225
|
+
/**
|
|
9226
|
+
* ImportProgress Molecule
|
|
9227
|
+
*
|
|
9228
|
+
* Step indicator for the import job lifecycle
|
|
9229
|
+
* (fetching → mapping → reviewing → committing → done | failed) with
|
|
9230
|
+
* staged/committed/failed counts. Pure render — props in, events out.
|
|
9231
|
+
* Follows atomic design: composes Box, Badge, Icon, Typography atoms.
|
|
9232
|
+
*/
|
|
9233
|
+
|
|
9234
|
+
type ImportProgressStep = 'fetching' | 'mapping' | 'reviewing' | 'committing' | 'done' | 'failed';
|
|
9235
|
+
interface ImportProgressCounts {
|
|
9236
|
+
staged?: number;
|
|
9237
|
+
committed?: number;
|
|
9238
|
+
failed?: number;
|
|
9239
|
+
}
|
|
9240
|
+
interface ImportProgressProps {
|
|
9241
|
+
/** Current lifecycle step */
|
|
9242
|
+
step: ImportProgressStep;
|
|
9243
|
+
/** Unit counts */
|
|
9244
|
+
counts?: ImportProgressCounts;
|
|
9245
|
+
/** Step label overrides */
|
|
9246
|
+
labels?: Partial<Record<ImportProgressStep, string>>;
|
|
9247
|
+
/** Additional CSS classes */
|
|
9248
|
+
className?: string;
|
|
9249
|
+
}
|
|
9250
|
+
declare const ImportProgress: React__default.FC<ImportProgressProps>;
|
|
9251
|
+
|
|
9134
9252
|
/**
|
|
9135
9253
|
* ActivationBlock Molecule Component
|
|
9136
9254
|
*
|
|
@@ -11473,4 +11591,4 @@ interface AboutPageTemplateProps extends TemplateProps<AboutPageEntity> {
|
|
|
11473
11591
|
}
|
|
11474
11592
|
declare const AboutPageTemplate: React__default.FC<AboutPageTemplateProps>;
|
|
11475
11593
|
|
|
11476
|
-
export { ALL_PRESETS, AR_BOOK_FIELDS, type AboutPageEntity, AboutPageTemplate, type AboutPageTemplateProps, Accordion, type AccordionItem, type AccordionProps, Card as ActionCard, type CardProps as ActionCardProps, ActionPalette, type ActionPaletteProps, ActionTile, type ActionTileProps, ActivationBlock, type ActivationBlockProps, Alert, type AlertProps, type AlertVariant, type AlgorithmBar, AlgorithmCanvas, type AlgorithmCanvasProps, type AlgorithmCell, type AlgorithmPointer, AnimatedCounter, type AnimatedCounterProps, AnimatedGraphic, type AnimatedGraphicProps, AnimatedReveal, type AnimatedRevealProps, ArticleSection, type ArticleSectionProps, Aside, type AsideProps, AssetPicker, type AssetPickerProps, AtlasImage, type AtlasImageAsset, type AtlasImageProps, AtlasPanel, type AtlasPanelProps, AuthLayout, type AuthLayoutProps, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, BehaviorView, type BehaviorViewProps, BiologyCanvas, type BiologyCanvasProps, type BiologyEdge, type BiologyNode, type BlockType, type BloomLevel, BloomQuizBlock, type BloomQuizBlockProps, BookChapterView, type BookChapterViewProps, BookCoverPage, type BookCoverPageProps, type BookFieldMap, BookNavBar, type BookNavBarProps, BookTableOfContents, type BookTableOfContentsProps, BookViewer, type BookViewerProps, Box, type BoxBg, type BoxMargin, type BoxPadding, type BoxProps, type BoxRounded, type BoxShadow, BranchingLogicBuilder, type BranchingLogicBuilderProps, type BranchingQuestion, type BranchingRule, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, CTABanner, type CTABannerBackground, type CTABannerProps, CalendarGrid, type CalendarGridProps, type CameraMode, CameraState, Canvas, Canvas2D, type Canvas2DProps, type CanvasItemShape, type CanvasItemStatus, type CanvasMode, type CanvasProps, Card$1 as Card, type CardAction, CardBody, CardContent, CardFooter, CardGrid, type CardGridGap, type CardGridProps, CardHeader, type CardProps$1 as CardProps, CardTitle, Carousel, type CarouselProps, CaseStudyCard, type CaseStudyCardProps, CaseStudyOrganism, type CaseStudyOrganismProps, Center, type CenterProps, Chart, type ChartDataPoint, ChartLegend, type ChartLegendItem, type ChartLegendProps, type ChartProps, type ChartSeries, type ChartType, ChatBar, type ChatBarProps, type ChatBarStatus, Checkbox, type CheckboxProps, type ChemistryArrow, type ChemistryAtom, type ChemistryBond, ChemistryCanvas, type ChemistryCanvasProps, ChoiceButton, type ChoiceButtonProps, Coachmark, type CoachmarkAnchor, type CoachmarkPlacement, type CoachmarkProps, CodeBlock, type CodeBlockProps, type CodeLanguage, type CodeLanguageLoader, CodeRunnerPanel, type CodeRunnerPanelProps, type CodeSimulationOutput, type CodeViewerAction, type CodeViewerFile, type CodeViewerMode, CollapsibleSection, type CollapsibleSectionProps, type Column, CommunityLinks, type CommunityLinksProps, type ConditionalContext, ConditionalWrapper, type ConditionalWrapperProps, ConfettiEffect, type ConfettiEffectProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, ConnectionBlock, type ConnectionBlockProps, Container, type ContainerProps, ContentRenderer, type ContentRendererProps, ContentSection, type ContentSectionBackground, type ContentSectionPadding, type ContentSectionProps, ControlButton, type ControlButtonProps, ControlGrid, type ControlGridButton, type ControlGridKind, type ControlGridProps, type CounterSize, CounterTemplate, type CounterTemplateProps, type CounterVariant, DEFAULT_LIKERT_OPTIONS, DEFAULT_MATRIX_COLUMNS, DIAMOND_TOP_Y, type DPadDirection, DashboardGrid, type DashboardGridCell, type DashboardGridProps, DashboardLayout, type DashboardLayoutProps, DataGrid, type DataGridField, type DataGridItemAction, type DataGridProps, DataList, type DataListField, type DataListItemAction, type DataListProps, DataTable, type DataTableProps, DateRangePicker, type DateRangePickerPreset, type DateRangePickerProps, DateRangeSelector, type DateRangeSelectorOption, type DateRangeSelectorProps, DayCell, type DayCellProps, type DetailField, DetailPanel, type DetailPanelProps, type DetailSection, Dialog, type DialogProps, DialogueBubble, type DialogueBubbleProps, type DiffLine$1 as DiffLine, type DiffLineType, type DiffRevision, type DisplayStateProps, Divider, type DividerOrientation, type DividerProps, DocBreadcrumb, type DocBreadcrumbItem, type DocBreadcrumbProps, DocPagination, type DocPaginationLink, type DocPaginationProps, DocSearch, type DocSearchProps, type DocSearchResult, DocSidebar, type DocSidebarItem, type DocSidebarProps, DocTOC, type DocTOCItem, type DocTOCProps, type DocumentType, DocumentViewer, type DocumentViewerProps, StateMachineView as DomStateMachineVisualizer, type DotSize, type DotState, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, DrawerSlot, type DrawerSlotProps, ELEMENT_SELECTED_EVENT, EdgeDecoration, type EdgeDecorationProps, type EdgeSide, type EdgeVariant, EditorCheckbox, type EditorCheckboxProps, type EditorMode, EditorSelect, type EditorSelectProps, EditorSlider, type EditorSliderProps, EditorTextInput, type EditorTextInputProps, EditorToolbar, type EditorToolbarProps, EmptyState, type EmptyStateProps, EntityDisplayEvents, ErrorBoundary, type ErrorBoundaryProps, ErrorState, type ErrorStateProps, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, FacingDirection, FeatureCard, type FeatureCardProps, type FeatureDetailPageEntity, FeatureDetailPageTemplate, type FeatureDetailPageTemplateProps, type FeatureDetailSection, FeatureGrid, FeatureGridOrganism, type FeatureGridOrganismProps, type FeatureGridProps, FileTree, type FileTreeNode, type FileTreeProps, type FilterDefinition, FilterGroup, type FilterGroupProps, type FilterPayload, FilterPill, type FilterPillProps, type FilterPillSize, type FilterPillVariant, Flex, type FlexProps, FlipCard, type FlipCardProps, FlipContainer, type FlipContainerProps, type FloatingAction, FloatingActionButton, type FloatingActionButtonProps, type FooterLinkColumn, type FooterLinkItem, Form, FormActions, type FormActionsProps, FormField, type FormFieldProps, FormLayout, type FormLayoutProps, type FormProps, FormSection$1 as FormSection, FormSectionHeader, type FormSectionHeaderProps, type FormSectionProps, GameAudioToggle, type GameAudioToggleProps, GameHud, type GameHudElement, type GameHudProps, type GameHudStat, GameIcon, type GameIconProps, GameMenu, type GameMenuProps, GameShell, type GameShellProps, GenericAppTemplate, type GenericAppTemplateProps, GeometricPattern, type GeometricPatternProps, GradientDivider, type GradientDividerProps, GraphCanvas, type GraphCanvasProps, type GraphEdge, type GraphNode, type GraphSimilarity, GraphView, type GraphViewEdge, type GraphViewNode, type GraphViewProps, type GraphicAnimation, Grid, GridPicker, type GridPickerCellSize, type GridPickerProps, type GridProps, HStack, type HStackProps, Header, type HeaderProps, HealthBar, type HealthBarProps, HeroOrganism, type HeroOrganismProps, HeroSection, type HeroSectionProps, type HighlightType, IDENTITY_BOOK_FIELDS, Icon, type IconAnimation, type IconInput, IconPicker, type IconPickerProps, type IconProps, type IconSize, ImageSource, InfiniteScrollSentinel, type InfiniteScrollSentinelProps, Input, InputGroup, type InputGroupProps, type InputProps, InstallBox, type InstallBoxProps, IsometricUnit, JazariStateMachine, type JazariStateMachineProps, JsonTreeEditor, type JsonTreeEditorProps, Label, type LabelProps, type LandingPageEntity, LandingPageTemplate, type LandingPageTemplateProps, type LawReference, LawReferenceTooltip, type LawReferenceTooltipProps, LearningCanvas, type LearningCanvasProps, type LearningPhysicsBody, type LearningPhysicsConstraint, type LearningPoint, type LearningShape, type LearningShapeType, type LessonSegment, type LessonUserProgress, Lightbox, type LightboxImage, type LightboxProps, type LikertOption, LikertScale, type LikertScaleProps, LineChart, type LineChartProps, LinkAction, List, type ListItem, type ListProps, LoadingState, type LoadingStateProps, type MapMarkerData, type MapRouteData, type MapRouteWaypoint, MapView, type MapViewProps, MarkdownContent, type MarkdownContentProps, MarketingFooter, type MarketingFooterProps, MarketingStatCard, type MarketingStatCardProps, MasterDetail, MasterDetailLayout, type MasterDetailLayoutProps, type MasterDetailProps, MathCanvas, type MathCanvasProps, type MathCurve, type MathPoint, type MathVector, type MatrixColumn, MatrixQuestion, type MatrixQuestionProps, type MatrixRow, MediaGallery, type MediaGalleryProps, type MediaItem, Menu, type MenuItem, type MenuOption, type MenuProps, Meter, type MeterAction, type MeterProps, type MeterThreshold, type MeterVariant, type MixedSegment, Modal, type ModalProps, type ModalSize, ModalSlot, type ModalSlotProps, ModuleCard, type ModuleCardProps, type NavItem, Navigation, type NavigationItem, type NavigationProps, NodeSlotEditor, type NodeSlotEditorProps, NotifyListener, NumberStepper, type NumberStepperProps, type NumberStepperSize, OnboardingSpotlight, type OnboardingSpotlightProps, type OptionConstraint, OptionConstraintGroup, type OptionConstraintGroupProps, type OptionConstraintOption, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, type OrbitalVisualizationProps, Overlay, type OverlayProps, type PageBreadcrumb, PageHeader, type PageHeaderProps, PageTransition, type PageTransitionProps, type PaginatePayload, Pagination, type PaginationProps, PatternTile, type PatternTileProps, type PatternVariant, PhysicsCanvas, type PhysicsCanvasProps, type PickerItem, type Platform, Point, Popover, type PopoverProps, PositionedCanvas, type PositionedCanvasProps, Presence, type PresenceAnimation, type PresenceProps, type PresenceResult, PricingCard, type PricingCardProps, PricingGrid, type PricingGridProps, PricingOrganism, type PricingOrganismProps, type PricingPageEntity, PricingPageTemplate, type PricingPageTemplateProps, type PrismLanguageGrammar, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarVariant, ProgressDots, type ProgressDotsProps, type Projection, PropertyInspector, type PropertyInspectorProps, PullQuote, type PullQuoteProps, PullToRefresh, type PullToRefreshProps, type QrScanResult, QrScanner, type QrScannerProps, QuizBlock, type QuizBlockProps, Radio, type RadioProps, RangeSlider, type RangeSliderProps, type RangeSliderSize, ReflectionBlock, type ReflectionBlockProps, type RelationOption, RelationSelect, type RelationSelectProps, RepeatableFormSection, type RepeatableFormSectionProps, type RepeatableItem, ReplyTree, type ReplyTreeProps, ResolvedFrame, type RevealAnimation, type RevealTrigger, type RichBlock, RichBlockEditor, type RichBlockEditorProps, type RowAction, type RuleDefinition, type RuleOption, RuntimeDebugger, type RuntimeDebuggerProps, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, type ScaledDiagramProps, ScoreDisplay, type ScoreDisplayProps, SearchInput, type SearchInputProps, type SearchPayload, Section, SectionHeader, type SectionHeaderProps, type SectionProps, SegmentRenderer, type SegmentRendererProps, Select, type SelectOption, type SelectOptionGroup, type SelectPayload, type SelectProps, SequenceBar, type SequenceBarProps, ServiceCatalog, type ServiceCatalogItem, type ServiceCatalogProps, ShowcaseCard, type ShowcaseCardProps, ShowcaseOrganism, type ShowcaseOrganismProps, SidePanel, type SidePanelProps, type SidePlayer, Sidebar, type SidebarItem, type SidebarProps, SignaturePad, type SignaturePadProps, SimpleGrid, type SimpleGridProps, Skeleton, type SkeletonProps, type SkeletonVariant, SlotContent, SlotContentRenderer, type SlotItemData, SocialProof, type SocialProofItem, type SocialProofProps, type SortPayload, SortableList, type SortableListProps, Spacer, type SpacerProps, type SpacerSize, Sparkline, type SparklineColor, type SparklineProps, Spinner, type SpinnerProps, Split, SplitPane, type SplitPaneProps, type SplitProps, SplitSection, type SplitSectionProps, type SpotlightStep, SpriteFrameDims, SpriteSheetUrls, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, StarRating, type StarRatingPrecision, type StarRatingProps, type StarRatingSize, StatBadge, type StatBadgeProps, StatCard, type StatCardProps, type StatCardSize, StatDisplay, type StatDisplayProps, StateGraph, type StateGraphProps, type StateGraphTransition, StateJsonView, type StateJsonViewProps, StateMachineView, type StateMachineViewProps, StateNode, type StateNodeProps, StatsGrid, type StatsGridProps, StatsOrganism, type StatsOrganismProps, StatusBar, type StatusBarProps, StatusDot, type StatusDotProps, type StatusDotSize, type StatusDotStatus, StepFlow, StepFlowOrganism, type StepFlowOrganismProps, type StepFlowProps, type StepItemProps, SubagentTracePanel, type SubagentTracePanelProps, SvgBranch, type SvgBranchProps, SvgConnection, type SvgConnectionProps, SvgFlow, type SvgFlowProps, SvgGrid, type SvgGridProps, SvgLobe, type SvgLobeProps, SvgMesh, type SvgMeshProps, SvgMorph, type SvgMorphProps, SvgNode, type SvgNodeProps, SvgPulse, type SvgPulseProps, SvgRing, type SvgRingProps, SvgShield, type SvgShieldProps, SvgStack, type SvgStackProps, type SwipeAction, SwipeableRow, type SwipeableRowProps, Switch, type SwitchProps, TERRAIN_COLORS, TILE_HEIGHT, TILE_WIDTH, type TabDefinition, type TabItem, TabbedContainer, type TabbedContainerProps, TableView, type TableViewColumn, type TableViewProps, Tabs, type TabsProps, TagCloud, type TagCloudItem, type TagCloudProps, TagInput, type TagInputProps, TeamCard, type TeamCardProps, TeamOrganism, type TeamOrganismProps, type TeamUnitTraits, type TemplateProps, TerrainPalette, type TerrainPaletteProps, TextHighlight, type TextHighlightProps, Textarea, type TextareaProps, ThemeToggle, type ThemeToggleProps, type TileCoord, type TileLayout, TimeSlotCell, type TimeSlotCellProps, Timeline, type TimelineItem, type TimelineItemStatus, type TimelineProps, TimerDisplay, type TimerDisplayProps, Toast, type ToastProps, ToastSlot, type ToastSlotProps, type ToastVariant, Tooltip, type TooltipProps, type TraceDisclosureLevel, TraitFrame, type TraitFrameProps, TraitSlot, type TraitSlotProps, type TraitStateMachineDefinition, TraitStateViewer, type TraitStateViewerProps, type TraitTransition, TransitionArrow, type TransitionArrowProps, type TransitionBundle, type TrendDirection, TrendIndicator, type TrendIndicatorProps, type TrendIndicatorSize, TypewriterText, type TypewriterTextProps, Typography, type TypographyProps, type TypographyVariant, UISlotComponent, UISlotRenderer, type UISlotRendererProps, UiError, UnitAnimationState, UploadDropZone, type UploadDropZoneProps, type UsePresenceOptions, VStack, type VStackProps, type Vec2, VersionDiff, type DiffLine as VersionDiffLine, type VersionDiffProps, ViolationAlert, type ViolationAlertProps, type ViolationRecord, VoteStack, type VoteStackProps, WizardContainer, type WizardContainerProps, WizardNavigation, type WizardNavigationProps, WizardProgress, type WizardProgressProps, type WizardProgressStep, type WizardStep, boardEntity, bool, createUnitAnimationState, getCurrentFrame, getTileDimensions, inferDirection, isoToScreen, makeAsset, makeAssetMap, mapBookData, num, objAvailableActions, objAvailableEvents, objCurrentState, objIcon, objId, objMaxRules, objName, objRules, objStates, parseEditFocus, parseLessonSegments, parseMarkdownWithCodeBlocks, pendulum, projectileMotion, registerCodeLanguageLoader, resolveFieldMap, resolveFrame, resolveSheetDirection, rows, screenToIso, springOscillator, str, tickAnimationState, toCodeLanguage, transitionAnimation, unitHealth, unitPosition, unitTeam, useAnchorRect, useAtlasSliceDataUrl, useCamera, useImageCache, usePresence, useUnitSpriteAtlas, vec2 };
|
|
11594
|
+
export { ALL_PRESETS, AR_BOOK_FIELDS, type AboutPageEntity, AboutPageTemplate, type AboutPageTemplateProps, Accordion, type AccordionItem, type AccordionProps, Card as ActionCard, type CardProps as ActionCardProps, ActionPalette, type ActionPaletteProps, ActionTile, type ActionTileProps, ActivationBlock, type ActivationBlockProps, Alert, type AlertProps, type AlertVariant, type AlgorithmBar, AlgorithmCanvas, type AlgorithmCanvasProps, type AlgorithmCell, type AlgorithmPointer, AnimatedCounter, type AnimatedCounterProps, AnimatedGraphic, type AnimatedGraphicProps, AnimatedReveal, type AnimatedRevealProps, ArticleSection, type ArticleSectionProps, Aside, type AsideProps, AssetPicker, type AssetPickerProps, AtlasImage, type AtlasImageAsset, type AtlasImageProps, AtlasPanel, type AtlasPanelProps, AuthLayout, type AuthLayoutProps, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, BehaviorView, type BehaviorViewProps, BiologyCanvas, type BiologyCanvasProps, type BiologyEdge, type BiologyNode, type BlockType, type BloomLevel, BloomQuizBlock, type BloomQuizBlockProps, BookChapterView, type BookChapterViewProps, BookCoverPage, type BookCoverPageProps, type BookFieldMap, BookNavBar, type BookNavBarProps, BookTableOfContents, type BookTableOfContentsProps, BookViewer, type BookViewerProps, Box, type BoxBg, type BoxMargin, type BoxPadding, type BoxProps, type BoxRounded, type BoxShadow, BranchingLogicBuilder, type BranchingLogicBuilderProps, type BranchingQuestion, type BranchingRule, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, CTABanner, type CTABannerBackground, type CTABannerProps, CalendarGrid, type CalendarGridProps, type CameraMode, CameraState, Canvas, Canvas2D, type Canvas2DProps, type CanvasItemShape, type CanvasItemStatus, type CanvasMode, type CanvasProps, Card$1 as Card, type CardAction, CardBody, CardContent, CardFooter, CardGrid, type CardGridGap, type CardGridProps, CardHeader, type CardProps$1 as CardProps, CardTitle, Carousel, type CarouselProps, CaseStudyCard, type CaseStudyCardProps, CaseStudyOrganism, type CaseStudyOrganismProps, Center, type CenterProps, Chart, type ChartDataPoint, ChartLegend, type ChartLegendItem, type ChartLegendProps, type ChartProps, type ChartSeries, type ChartType, ChatBar, type ChatBarProps, type ChatBarStatus, Checkbox, type CheckboxProps, type ChemistryArrow, type ChemistryAtom, type ChemistryBond, ChemistryCanvas, type ChemistryCanvasProps, ChoiceButton, type ChoiceButtonProps, Coachmark, type CoachmarkAnchor, type CoachmarkPlacement, type CoachmarkProps, CodeBlock, type CodeBlockProps, type CodeLanguage, type CodeLanguageLoader, CodeRunnerPanel, type CodeRunnerPanelProps, type CodeSimulationOutput, type CodeViewerAction, type CodeViewerFile, type CodeViewerMode, CollapsibleSection, type CollapsibleSectionProps, type Column, CommunityLinks, type CommunityLinksProps, type ConditionalContext, ConditionalWrapper, type ConditionalWrapperProps, ConfettiEffect, type ConfettiEffectProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, ConnectionBlock, type ConnectionBlockProps, Container, type ContainerProps, ContentRenderer, type ContentRendererProps, ContentSection, type ContentSectionBackground, type ContentSectionPadding, type ContentSectionProps, ControlButton, type ControlButtonProps, ControlGrid, type ControlGridButton, type ControlGridKind, type ControlGridProps, type CounterSize, CounterTemplate, type CounterTemplateProps, type CounterVariant, DEFAULT_LIKERT_OPTIONS, DEFAULT_MATRIX_COLUMNS, DIAMOND_TOP_Y, type DPadDirection, DashboardGrid, type DashboardGridCell, type DashboardGridProps, DashboardLayout, type DashboardLayoutProps, DataGrid, type DataGridField, type DataGridItemAction, type DataGridProps, DataList, type DataListField, type DataListItemAction, type DataListProps, DataTable, type DataTableProps, DateRangePicker, type DateRangePickerPreset, type DateRangePickerProps, DateRangeSelector, type DateRangeSelectorOption, type DateRangeSelectorProps, DayCell, type DayCellProps, type DetailField, DetailPanel, type DetailPanelProps, type DetailSection, Dialog, type DialogProps, DialogueBubble, type DialogueBubbleProps, type DiffLine$1 as DiffLine, type DiffLineType, type DiffRevision, type DisplayStateProps, Divider, type DividerOrientation, type DividerProps, DocBreadcrumb, type DocBreadcrumbItem, type DocBreadcrumbProps, DocPagination, type DocPaginationLink, type DocPaginationProps, DocSearch, type DocSearchProps, type DocSearchResult, DocSidebar, type DocSidebarItem, type DocSidebarProps, DocTOC, type DocTOCItem, type DocTOCProps, type DocumentType, DocumentViewer, type DocumentViewerProps, StateMachineView as DomStateMachineVisualizer, type DotSize, type DotState, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, DrawerSlot, type DrawerSlotProps, ELEMENT_SELECTED_EVENT, EdgeDecoration, type EdgeDecorationProps, type EdgeSide, type EdgeVariant, EditorCheckbox, type EditorCheckboxProps, type EditorMode, EditorSelect, type EditorSelectProps, EditorSlider, type EditorSliderProps, EditorTextInput, type EditorTextInputProps, EditorToolbar, type EditorToolbarProps, EmptyState, type EmptyStateProps, EntityDisplayEvents, ErrorBoundary, type ErrorBoundaryProps, ErrorState, type ErrorStateProps, FEATURE_COLORS, FEATURE_TYPES, FLOOR_HEIGHT, FacingDirection, FeatureCard, type FeatureCardProps, type FeatureDetailPageEntity, FeatureDetailPageTemplate, type FeatureDetailPageTemplateProps, type FeatureDetailSection, FeatureGrid, FeatureGridOrganism, type FeatureGridOrganismProps, type FeatureGridProps, FileTree, type FileTreeNode, type FileTreeProps, type FilterDefinition, FilterGroup, type FilterGroupProps, type FilterPayload, FilterPill, type FilterPillProps, type FilterPillSize, type FilterPillVariant, Flex, type FlexProps, FlipCard, type FlipCardProps, FlipContainer, type FlipContainerProps, type FloatingAction, FloatingActionButton, type FloatingActionButtonProps, type FooterLinkColumn, type FooterLinkItem, Form, FormActions, type FormActionsProps, FormField, type FormFieldProps, FormLayout, type FormLayoutProps, type FormProps, FormSection$1 as FormSection, FormSectionHeader, type FormSectionHeaderProps, type FormSectionProps, GameAudioToggle, type GameAudioToggleProps, GameHud, type GameHudElement, type GameHudProps, type GameHudStat, GameIcon, type GameIconProps, GameMenu, type GameMenuProps, GameShell, type GameShellProps, GenericAppTemplate, type GenericAppTemplateProps, GeometricPattern, type GeometricPatternProps, GradientDivider, type GradientDividerProps, GraphCanvas, type GraphCanvasProps, type GraphEdge, type GraphNode, type GraphSimilarity, GraphView, type GraphViewEdge, type GraphViewNode, type GraphViewProps, type GraphicAnimation, Grid, GridPicker, type GridPickerCellSize, type GridPickerProps, type GridProps, HStack, type HStackProps, Header, type HeaderProps, HealthBar, type HealthBarProps, HeroOrganism, type HeroOrganismProps, HeroSection, type HeroSectionProps, type HighlightType, IDENTITY_BOOK_FIELDS, Icon, type IconAnimation, type IconInput, IconPicker, type IconPickerProps, type IconProps, type IconSize, ImageSource, type ImportEntityDisplay, ImportPreviewTree, type ImportPreviewTreeProps, type ImportPreviewUnit, ImportProgress, type ImportProgressCounts, type ImportProgressProps, type ImportProgressStep, type ImportSkippedElement, type ImportSourceOption, ImportSourcePicker, type ImportSourcePickerProps, InfiniteScrollSentinel, type InfiniteScrollSentinelProps, Input, InputGroup, type InputGroupProps, type InputProps, InstallBox, type InstallBoxProps, IsometricUnit, JazariStateMachine, type JazariStateMachineProps, JsonTreeEditor, type JsonTreeEditorProps, Label, type LabelProps, type LandingPageEntity, LandingPageTemplate, type LandingPageTemplateProps, type LawReference, LawReferenceTooltip, type LawReferenceTooltipProps, LearningCanvas, type LearningCanvasProps, type LearningPhysicsBody, type LearningPhysicsConstraint, type LearningPoint, type LearningShape, type LearningShapeType, type LessonSegment, type LessonUserProgress, Lightbox, type LightboxImage, type LightboxProps, type LikertOption, LikertScale, type LikertScaleProps, LineChart, type LineChartProps, LinkAction, List, type ListItem, type ListProps, LoadingState, type LoadingStateProps, type MapMarkerData, type MapRouteData, type MapRouteWaypoint, MapView, type MapViewProps, MarkdownContent, type MarkdownContentProps, MarketingFooter, type MarketingFooterProps, MarketingStatCard, type MarketingStatCardProps, MasterDetail, MasterDetailLayout, type MasterDetailLayoutProps, type MasterDetailProps, MathCanvas, type MathCanvasProps, type MathCurve, type MathPoint, type MathVector, type MatrixColumn, MatrixQuestion, type MatrixQuestionProps, type MatrixRow, MediaGallery, type MediaGalleryProps, type MediaItem, Menu, type MenuItem, type MenuOption, type MenuProps, Meter, type MeterAction, type MeterProps, type MeterThreshold, type MeterVariant, type MixedSegment, Modal, type ModalProps, type ModalSize, ModalSlot, type ModalSlotProps, ModuleCard, type ModuleCardProps, type NavItem, Navigation, type NavigationItem, type NavigationProps, NodeSlotEditor, type NodeSlotEditorProps, NotifyListener, NumberStepper, type NumberStepperProps, type NumberStepperSize, OnboardingSpotlight, type OnboardingSpotlightProps, type OptionConstraint, OptionConstraintGroup, type OptionConstraintGroupProps, type OptionConstraintOption, StateMachineView as OrbitalStateMachineView, OrbitalVisualization, type OrbitalVisualizationProps, Overlay, type OverlayProps, type PageBreadcrumb, PageHeader, type PageHeaderProps, PageTransition, type PageTransitionProps, type PaginatePayload, Pagination, type PaginationProps, PatternTile, type PatternTileProps, type PatternVariant, PhysicsCanvas, type PhysicsCanvasProps, type PickerItem, type Platform, Point, Popover, type PopoverProps, PositionedCanvas, type PositionedCanvasProps, Presence, type PresenceAnimation, type PresenceProps, type PresenceResult, PricingCard, type PricingCardProps, PricingGrid, type PricingGridProps, PricingOrganism, type PricingOrganismProps, type PricingPageEntity, PricingPageTemplate, type PricingPageTemplateProps, type PrismLanguageGrammar, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarVariant, ProgressDots, type ProgressDotsProps, type Projection, PropertyInspector, type PropertyInspectorProps, PullQuote, type PullQuoteProps, PullToRefresh, type PullToRefreshProps, type QrScanResult, QrScanner, type QrScannerProps, QuizBlock, type QuizBlockProps, Radio, type RadioProps, RangeSlider, type RangeSliderProps, type RangeSliderSize, ReflectionBlock, type ReflectionBlockProps, type RelationOption, RelationSelect, type RelationSelectProps, RepeatableFormSection, type RepeatableFormSectionProps, type RepeatableItem, ReplyTree, type ReplyTreeProps, ResolvedFrame, type RevealAnimation, type RevealTrigger, type RichBlock, RichBlockEditor, type RichBlockEditorProps, type RowAction, type RuleDefinition, type RuleOption, RuntimeDebugger, type RuntimeDebuggerProps, SHEET_COLUMNS, SPRITE_SHEET_LAYOUT, ScaledDiagram, type ScaledDiagramProps, ScoreDisplay, type ScoreDisplayProps, SearchInput, type SearchInputProps, type SearchPayload, Section, SectionHeader, type SectionHeaderProps, type SectionProps, SegmentRenderer, type SegmentRendererProps, Select, type SelectOption, type SelectOptionGroup, type SelectPayload, type SelectProps, SequenceBar, type SequenceBarProps, ServiceCatalog, type ServiceCatalogItem, type ServiceCatalogProps, ShowcaseCard, type ShowcaseCardProps, ShowcaseOrganism, type ShowcaseOrganismProps, SidePanel, type SidePanelProps, type SidePlayer, Sidebar, type SidebarItem, type SidebarProps, SignaturePad, type SignaturePadProps, SimpleGrid, type SimpleGridProps, Skeleton, type SkeletonProps, type SkeletonVariant, SlotContent, SlotContentRenderer, type SlotItemData, SocialProof, type SocialProofItem, type SocialProofProps, type SortPayload, SortableList, type SortableListProps, Spacer, type SpacerProps, type SpacerSize, Sparkline, type SparklineColor, type SparklineProps, Spinner, type SpinnerProps, Split, SplitPane, type SplitPaneProps, type SplitProps, SplitSection, type SplitSectionProps, type SpotlightStep, SpriteFrameDims, SpriteSheetUrls, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, StarRating, type StarRatingPrecision, type StarRatingProps, type StarRatingSize, StatBadge, type StatBadgeProps, StatCard, type StatCardProps, type StatCardSize, StatDisplay, type StatDisplayProps, StateGraph, type StateGraphProps, type StateGraphTransition, StateJsonView, type StateJsonViewProps, StateMachineView, type StateMachineViewProps, StateNode, type StateNodeProps, StatsGrid, type StatsGridProps, StatsOrganism, type StatsOrganismProps, StatusBar, type StatusBarProps, StatusDot, type StatusDotProps, type StatusDotSize, type StatusDotStatus, StepFlow, StepFlowOrganism, type StepFlowOrganismProps, type StepFlowProps, type StepItemProps, SubagentTracePanel, type SubagentTracePanelProps, SvgBranch, type SvgBranchProps, SvgConnection, type SvgConnectionProps, SvgFlow, type SvgFlowProps, SvgGrid, type SvgGridProps, SvgLobe, type SvgLobeProps, SvgMesh, type SvgMeshProps, SvgMorph, type SvgMorphProps, SvgNode, type SvgNodeProps, SvgPulse, type SvgPulseProps, SvgRing, type SvgRingProps, SvgShield, type SvgShieldProps, SvgStack, type SvgStackProps, type SwipeAction, SwipeableRow, type SwipeableRowProps, Switch, type SwitchProps, TERRAIN_COLORS, TILE_HEIGHT, TILE_WIDTH, type TabDefinition, type TabItem, TabbedContainer, type TabbedContainerProps, TableView, type TableViewColumn, type TableViewProps, Tabs, type TabsProps, TagCloud, type TagCloudItem, type TagCloudProps, TagInput, type TagInputProps, TeamCard, type TeamCardProps, TeamOrganism, type TeamOrganismProps, type TeamUnitTraits, type TemplateProps, TerrainPalette, type TerrainPaletteProps, TextHighlight, type TextHighlightProps, Textarea, type TextareaProps, ThemeToggle, type ThemeToggleProps, type TileCoord, type TileLayout, TimeSlotCell, type TimeSlotCellProps, Timeline, type TimelineItem, type TimelineItemStatus, type TimelineProps, TimerDisplay, type TimerDisplayProps, Toast, type ToastProps, ToastSlot, type ToastSlotProps, type ToastVariant, Tooltip, type TooltipProps, type TraceDisclosureLevel, TraitFrame, type TraitFrameProps, TraitSlot, type TraitSlotProps, type TraitStateMachineDefinition, TraitStateViewer, type TraitStateViewerProps, type TraitTransition, TransitionArrow, type TransitionArrowProps, type TransitionBundle, type TrendDirection, TrendIndicator, type TrendIndicatorProps, type TrendIndicatorSize, TypewriterText, type TypewriterTextProps, Typography, type TypographyProps, type TypographyVariant, UISlotComponent, UISlotRenderer, type UISlotRendererProps, UiError, UnitAnimationState, UploadDropZone, type UploadDropZoneProps, type UsePresenceOptions, VStack, type VStackProps, type Vec2, VersionDiff, type DiffLine as VersionDiffLine, type VersionDiffProps, ViolationAlert, type ViolationAlertProps, type ViolationRecord, VoteStack, type VoteStackProps, WizardContainer, type WizardContainerProps, WizardNavigation, type WizardNavigationProps, WizardProgress, type WizardProgressProps, type WizardProgressStep, type WizardStep, boardEntity, bool, createUnitAnimationState, getCurrentFrame, getTileDimensions, inferDirection, isoToScreen, makeAsset, makeAssetMap, mapBookData, num, objAvailableActions, objAvailableEvents, objCurrentState, objIcon, objId, objMaxRules, objName, objRules, objStates, parseEditFocus, parseLessonSegments, parseMarkdownWithCodeBlocks, pendulum, projectileMotion, registerCodeLanguageLoader, resolveFieldMap, resolveFrame, resolveSheetDirection, rows, screenToIso, springOscillator, str, tickAnimationState, toCodeLanguage, transitionAnimation, unitHealth, unitPosition, unitTeam, useAnchorRect, useAtlasSliceDataUrl, useCamera, useImageCache, usePresence, useUnitSpriteAtlas, vec2 };
|