@camstack/ui-library 1.2.232 → 1.2.234
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.
|
@@ -87,6 +87,13 @@ export type CellState = {
|
|
|
87
87
|
* coincidence rather than as the same single row.
|
|
88
88
|
*/
|
|
89
89
|
readonly clusterWide?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* The root model that already fills this step here (D715) — the step is
|
|
92
|
+
* skipped for every subject the detector names for it. Renders a
|
|
93
|
+
* "filled by <model>" chip: an enabled cell that will mostly NOT run must
|
|
94
|
+
* say so, or the operator reads its model as the one answering.
|
|
95
|
+
*/
|
|
96
|
+
readonly filledBy?: string;
|
|
90
97
|
} | {
|
|
91
98
|
readonly kind: 'disabled';
|
|
92
99
|
readonly overridden?: boolean;
|
package/dist/index.cjs
CHANGED
|
@@ -28880,7 +28880,7 @@ function ModelPicker({ models, value, onChange, disabled, defaultModelId }) {
|
|
|
28880
28880
|
className: "font-mono",
|
|
28881
28881
|
children: value
|
|
28882
28882
|
}),
|
|
28883
|
-
") is
|
|
28883
|
+
") is not offered for this device. The runtime tries it as a custom model and refuses it if it cannot serve it. Pick a replacement and Save."
|
|
28884
28884
|
] }), fallbackId !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
28885
28885
|
type: "button",
|
|
28886
28886
|
disabled,
|
|
@@ -28892,7 +28892,7 @@ function ModelPicker({ models, value, onChange, disabled, defaultModelId }) {
|
|
|
28892
28892
|
className: "font-mono",
|
|
28893
28893
|
children: fallbackId
|
|
28894
28894
|
}),
|
|
28895
|
-
")"
|
|
28895
|
+
") — then Save"
|
|
28896
28896
|
]
|
|
28897
28897
|
})]
|
|
28898
28898
|
});
|
|
@@ -53136,6 +53136,11 @@ function renderCellContent(state) {
|
|
|
53136
53136
|
className: "font-mono text-foreground truncate",
|
|
53137
53137
|
children: state.modelId
|
|
53138
53138
|
}),
|
|
53139
|
+
state.filledBy !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
53140
|
+
className: "ml-auto shrink-0 truncate rounded bg-primary/10 px-1 text-[8px] font-semibold text-primary",
|
|
53141
|
+
title: `The root model ${state.filledBy} already names this step's classes — the step is skipped for those subjects`,
|
|
53142
|
+
children: ["filled by ", state.filledBy]
|
|
53143
|
+
}),
|
|
53139
53144
|
state.clusterWide === true && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
53140
53145
|
className: "ml-auto shrink-0 text-[8px] font-semibold uppercase text-primary",
|
|
53141
53146
|
title: "One value for the whole cluster — this step writes into a shared vector index",
|
package/dist/index.js
CHANGED
|
@@ -28856,7 +28856,7 @@ function ModelPicker({ models, value, onChange, disabled, defaultModelId }) {
|
|
|
28856
28856
|
className: "font-mono",
|
|
28857
28857
|
children: value
|
|
28858
28858
|
}),
|
|
28859
|
-
") is
|
|
28859
|
+
") is not offered for this device. The runtime tries it as a custom model and refuses it if it cannot serve it. Pick a replacement and Save."
|
|
28860
28860
|
] }), fallbackId !== void 0 && /* @__PURE__ */ jsxs("button", {
|
|
28861
28861
|
type: "button",
|
|
28862
28862
|
disabled,
|
|
@@ -28868,7 +28868,7 @@ function ModelPicker({ models, value, onChange, disabled, defaultModelId }) {
|
|
|
28868
28868
|
className: "font-mono",
|
|
28869
28869
|
children: fallbackId
|
|
28870
28870
|
}),
|
|
28871
|
-
")"
|
|
28871
|
+
") — then Save"
|
|
28872
28872
|
]
|
|
28873
28873
|
})]
|
|
28874
28874
|
});
|
|
@@ -53112,6 +53112,11 @@ function renderCellContent(state) {
|
|
|
53112
53112
|
className: "font-mono text-foreground truncate",
|
|
53113
53113
|
children: state.modelId
|
|
53114
53114
|
}),
|
|
53115
|
+
state.filledBy !== void 0 && /* @__PURE__ */ jsxs("span", {
|
|
53116
|
+
className: "ml-auto shrink-0 truncate rounded bg-primary/10 px-1 text-[8px] font-semibold text-primary",
|
|
53117
|
+
title: `The root model ${state.filledBy} already names this step's classes — the step is skipped for those subjects`,
|
|
53118
|
+
children: ["filled by ", state.filledBy]
|
|
53119
|
+
}),
|
|
53115
53120
|
state.clusterWide === true && /* @__PURE__ */ jsx("span", {
|
|
53116
53121
|
className: "ml-auto shrink-0 text-[8px] font-semibold uppercase text-primary",
|
|
53117
53122
|
title: "One value for the whole cluster — this step writes into a shared vector index",
|