@platforma-open/milaboratories.repertoire-mutation-heatmap.block 1.1.2 → 1.1.3
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/block-pack/description.md +1 -1
- package/block-pack/main.plj.gz +0 -0
- package/block-pack/manifest.json +1 -1
- package/block-pack/model.json +1 -1
- package/block-pack/published.json +1 -1
- package/block-pack/ui.tgz +0 -0
- package/dist/AGENTS.d.ts +57 -1
- package/dist/AGENTS.d.ts.map +1 -1
- package/dist/index.d.ts +57 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46 -9
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/block-pack/ui.tgz
CHANGED
|
Binary file
|
package/dist/AGENTS.d.ts
CHANGED
|
@@ -6584,7 +6584,6 @@ type Frame = 'full' | 'empty' | 'left' | 'bottom' | 'left-bottom';
|
|
|
6584
6584
|
type HeatmapFrame = 'full' | 'none';
|
|
6585
6585
|
//#endregion
|
|
6586
6586
|
//#region ../model/dist/index.d.ts
|
|
6587
|
-
//#region src/index.d.ts
|
|
6588
6587
|
/** Workflow-facing args, derived from `BlockData`. */
|
|
6589
6588
|
type BlockArgs = {
|
|
6590
6589
|
/** Profiler state matrix `[variantKey, parentId, position] -> state`. */stateMatrixRef: PlRef;
|
|
@@ -6612,8 +6611,24 @@ type BlockArgs = {
|
|
|
6612
6611
|
/** UI view state kept out of the workflow args. */
|
|
6613
6612
|
type BlockUiState = {
|
|
6614
6613
|
compositionHeatmapState: GraphMakerState;
|
|
6614
|
+
/**
|
|
6615
|
+
* Placeholder landscape chart, shown while no score column has produced data. Carries the
|
|
6616
|
+
* page's empty state and its Settings drawer — on a fresh block, the only way into Settings.
|
|
6617
|
+
*/
|
|
6615
6618
|
singleMutantHeatmapState: GraphMakerState;
|
|
6619
|
+
/**
|
|
6620
|
+
* One landscape chart per score, keyed by the score column's id (not its position, so settings
|
|
6621
|
+
* survive a reorder). The UI creates entries as runs produce new score columns; a dropped
|
|
6622
|
+
* score's entry is left behind, and comes back into use if the score is picked again.
|
|
6623
|
+
*/
|
|
6624
|
+
singleMutantHeatmapStates: Record<string, GraphMakerState>;
|
|
6625
|
+
/**
|
|
6626
|
+
* Which score's chart is on screen, as a key into `singleMutantHeatmapStates`. Undefined, or
|
|
6627
|
+
* naming a score no longer selected, means the first chart.
|
|
6628
|
+
*/
|
|
6629
|
+
selectedLandscapeScore?: string;
|
|
6616
6630
|
};
|
|
6631
|
+
/** Data version `v1`: one faceted landscape chart, so one chart state. */
|
|
6617
6632
|
/** Unified persisted data: workflow-relevant selections + UI view state. */
|
|
6618
6633
|
type BlockData$1 = {
|
|
6619
6634
|
customBlockLabel?: string;
|
|
@@ -6624,6 +6639,12 @@ type BlockData$1 = {
|
|
|
6624
6639
|
compositionEpsilon: number; /** Ordered per-variant score columns for the mutation landscape. Empty = no map rendered. */
|
|
6625
6640
|
scoreRefs: SUniversalPColumnId[];
|
|
6626
6641
|
} & BlockUiState;
|
|
6642
|
+
/**
|
|
6643
|
+
* Default state for a mutation-landscape chart. Used by `init` for the placeholder and by the UI
|
|
6644
|
+
* for each score a run produces, so the two look alike.
|
|
6645
|
+
*
|
|
6646
|
+
* @param currentTab `"settings"` opens the Settings drawer, `null` leaves it closed
|
|
6647
|
+
*/
|
|
6627
6648
|
declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, InferOutputsFromLambdas<{
|
|
6628
6649
|
stateMatrixOptions: ConfigRenderLambda<{
|
|
6629
6650
|
readonly ref: {
|
|
@@ -6733,6 +6754,41 @@ declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, I
|
|
|
6733
6754
|
mapFields: {};
|
|
6734
6755
|
};
|
|
6735
6756
|
}[] | undefined>;
|
|
6757
|
+
} & {
|
|
6758
|
+
landscapePanels: ConfigRenderLambda<{
|
|
6759
|
+
key: string;
|
|
6760
|
+
label: string;
|
|
6761
|
+
index: number;
|
|
6762
|
+
spec: {
|
|
6763
|
+
readonly kind: "PColumn";
|
|
6764
|
+
readonly name: string;
|
|
6765
|
+
readonly domain?: {
|
|
6766
|
+
[x: string]: string;
|
|
6767
|
+
} | undefined;
|
|
6768
|
+
readonly contextDomain?: {
|
|
6769
|
+
[x: string]: string;
|
|
6770
|
+
} | undefined;
|
|
6771
|
+
readonly annotations?: {
|
|
6772
|
+
[x: string]: string;
|
|
6773
|
+
} | undefined;
|
|
6774
|
+
readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
|
|
6775
|
+
readonly parentAxes?: number[] | undefined;
|
|
6776
|
+
readonly axesSpec: {
|
|
6777
|
+
readonly type: AxisValueType;
|
|
6778
|
+
readonly name: string;
|
|
6779
|
+
readonly domain?: {
|
|
6780
|
+
[x: string]: string;
|
|
6781
|
+
} | undefined;
|
|
6782
|
+
readonly contextDomain?: {
|
|
6783
|
+
[x: string]: string;
|
|
6784
|
+
} | undefined;
|
|
6785
|
+
readonly annotations?: {
|
|
6786
|
+
[x: string]: string;
|
|
6787
|
+
} | undefined;
|
|
6788
|
+
readonly parentAxes?: number[] | undefined;
|
|
6789
|
+
}[];
|
|
6790
|
+
};
|
|
6791
|
+
}[] | undefined>;
|
|
6736
6792
|
} & {
|
|
6737
6793
|
compositionHeatmapPf: ConfigRenderLambda<PFrameHandle | undefined> & {
|
|
6738
6794
|
withStatus: true;
|