@platforma-sdk/model 1.82.0 → 1.83.9
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/annotations/converter.d.ts +1 -3
- package/dist/annotations/converter.d.ts.map +1 -1
- package/dist/annotations/types.d.ts +5 -6
- package/dist/annotations/types.d.ts.map +1 -1
- package/dist/bconfig/index.d.ts +2 -2
- package/dist/bconfig/lambdas.d.ts +11 -21
- package/dist/bconfig/lambdas.d.ts.map +1 -1
- package/dist/bconfig/normalization.d.ts +3 -5
- package/dist/bconfig/normalization.d.ts.map +1 -1
- package/dist/bconfig/types.d.ts +4 -5
- package/dist/bconfig/types.d.ts.map +1 -1
- package/dist/bconfig/util.d.ts +1 -3
- package/dist/bconfig/util.d.ts.map +1 -1
- package/dist/bconfig/v3.d.ts +4 -6
- package/dist/bconfig/v3.d.ts.map +1 -1
- package/dist/block_api_v1.d.ts +2 -4
- package/dist/block_api_v1.d.ts.map +1 -1
- package/dist/block_api_v2.d.ts +1 -3
- package/dist/block_api_v2.d.ts.map +1 -1
- package/dist/block_api_v3.d.ts +1 -3
- package/dist/block_api_v3.d.ts.map +1 -1
- package/dist/block_migrations.d.ts +20 -36
- package/dist/block_migrations.d.ts.map +1 -1
- package/dist/block_model.cjs +2 -2
- package/dist/block_model.d.ts +10 -10
- package/dist/block_model.d.ts.map +1 -1
- package/dist/block_model.js +2 -2
- package/dist/block_state_patch.d.ts +6 -6
- package/dist/block_state_patch.d.ts.map +1 -1
- package/dist/block_state_util.d.ts +4 -6
- package/dist/block_state_util.d.ts.map +1 -1
- package/dist/block_storage.d.ts +24 -23
- package/dist/block_storage.d.ts.map +1 -1
- package/dist/block_storage_facade.d.ts +11 -12
- package/dist/block_storage_facade.d.ts.map +1 -1
- package/dist/columns/column.d.ts +5 -6
- package/dist/columns/column.d.ts.map +1 -1
- package/dist/columns/column_providers/index.d.ts +5 -6
- package/dist/columns/column_providers/index.d.ts.map +1 -1
- package/dist/columns/column_providers/providers.d.ts +10 -11
- package/dist/columns/column_providers/providers.d.ts.map +1 -1
- package/dist/columns/column_providers/types.d.ts +2 -3
- package/dist/columns/column_providers/types.d.ts.map +1 -1
- package/dist/columns/column_recipes/column_discovered_recipe.d.ts +1 -3
- package/dist/columns/column_recipes/column_discovered_recipe.d.ts.map +1 -1
- package/dist/columns/column_recipes/column_filtered_recipe.d.ts +1 -3
- package/dist/columns/column_recipes/column_filtered_recipe.d.ts.map +1 -1
- package/dist/columns/column_recipes/column_overrided_recipe.d.ts +2 -3
- package/dist/columns/column_recipes/column_overrided_recipe.d.ts.map +1 -1
- package/dist/columns/column_recipes/index.d.ts +3 -4
- package/dist/columns/column_recipes/index.d.ts.map +1 -1
- package/dist/columns/column_recipes/types.d.ts +5 -6
- package/dist/columns/column_recipes/types.d.ts.map +1 -1
- package/dist/columns/columns_collection.d.ts +7 -8
- package/dist/columns/columns_collection.d.ts.map +1 -1
- package/dist/columns/data_column.d.ts +12 -16
- package/dist/columns/data_column.d.ts.map +1 -1
- package/dist/columns/derive_axis_values_labels.d.ts +2 -3
- package/dist/columns/derive_axis_values_labels.d.ts.map +1 -1
- package/dist/columns/split_by_axes.d.ts +3 -5
- package/dist/columns/split_by_axes.d.ts.map +1 -1
- package/dist/columns/utils.d.ts +10 -12
- package/dist/columns/utils.d.ts.map +1 -1
- package/dist/components/PFrameForGraphs.d.ts +5 -5
- package/dist/components/PFrameForGraphs.d.ts.map +1 -1
- package/dist/components/PlAnnotations/filter.d.ts +59 -40
- package/dist/components/PlAnnotations/filter.d.ts.map +1 -1
- package/dist/components/PlAnnotations/filters_ui.d.ts +18 -18
- package/dist/components/PlAnnotations/filters_ui.d.ts.map +1 -1
- package/dist/components/PlDataTable/columnResolver.cjs +2 -4
- package/dist/components/PlDataTable/columnResolver.cjs.map +1 -1
- package/dist/components/PlDataTable/columnResolver.js +2 -4
- package/dist/components/PlDataTable/columnResolver.js.map +1 -1
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.cjs +1 -1
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.cjs.map +1 -1
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.d.ts +3 -4
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.d.ts.map +1 -1
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.js +1 -1
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.js.map +1 -1
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.cjs +1 -1
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.cjs.map +1 -1
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.d.ts +13 -10
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.d.ts.map +1 -1
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.js +1 -1
- package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.js.map +1 -1
- package/dist/components/PlDataTable/createPlDataTable/discoverColumns.d.ts +5 -5
- package/dist/components/PlDataTable/createPlDataTable/discoverColumns.d.ts.map +1 -1
- package/dist/components/PlDataTable/createPlDataTable/index.d.ts +4 -4
- package/dist/components/PlDataTable/createPlDataTable/index.d.ts.map +1 -1
- package/dist/components/PlDataTable/createPlDataTable/utils.d.ts +8 -7
- package/dist/components/PlDataTable/createPlDataTable/utils.d.ts.map +1 -1
- package/dist/components/PlDataTable/createPlDataTableSheet.d.ts +2 -3
- package/dist/components/PlDataTable/createPlDataTableSheet.d.ts.map +1 -1
- package/dist/components/PlDataTable/state-migration.d.ts +6 -7
- package/dist/components/PlDataTable/state-migration.d.ts.map +1 -1
- package/dist/components/PlDataTable/typesV4.d.ts +73 -42
- package/dist/components/PlDataTable/typesV4.d.ts.map +1 -1
- package/dist/components/PlDataTable/typesV5.d.ts +3 -5
- package/dist/components/PlDataTable/typesV5.d.ts.map +1 -1
- package/dist/components/PlDataTable/typesV6.d.ts +4 -6
- package/dist/components/PlDataTable/typesV6.d.ts.map +1 -1
- package/dist/components/PlDataTable/typesV7.d.ts +45 -27
- package/dist/components/PlDataTable/typesV7.d.ts.map +1 -1
- package/dist/components/PlDataTable/typesV8.d.ts +80 -45
- package/dist/components/PlDataTable/typesV8.d.ts.map +1 -1
- package/dist/components/PlDatasetSelector/build_dataset_options.d.ts +7 -6
- package/dist/components/PlDatasetSelector/build_dataset_options.d.ts.map +1 -1
- package/dist/components/PlDatasetSelector/dataset_selection.d.ts +4 -6
- package/dist/components/PlDatasetSelector/dataset_selection.d.ts.map +1 -1
- package/dist/components/PlDatasetSelector/filter_discovery.d.ts +9 -8
- package/dist/components/PlDatasetSelector/filter_discovery.d.ts.map +1 -1
- package/dist/components/PlMultiSequenceAlignment.d.ts +6 -13
- package/dist/components/PlMultiSequenceAlignment.d.ts.map +1 -1
- package/dist/components/PlSelectionModel.d.ts +6 -6
- package/dist/components/PlSelectionModel.d.ts.map +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/config/index.d.ts +2 -6
- package/dist/config/model.d.ts +28 -30
- package/dist/config/model.d.ts.map +1 -1
- package/dist/config/type_engine.d.ts +8 -31
- package/dist/config/type_engine.d.ts.map +1 -1
- package/dist/env_value.d.ts +1 -2
- package/dist/env_value.d.ts.map +1 -1
- package/dist/filters/converters/filterToQuery.d.ts +6 -7
- package/dist/filters/converters/filterToQuery.d.ts.map +1 -1
- package/dist/filters/converters/filterUiToExpressionImpl.d.ts +2 -4
- package/dist/filters/converters/filterUiToExpressionImpl.d.ts.map +1 -1
- package/dist/filters/distill.d.ts +1 -3
- package/dist/filters/distill.d.ts.map +1 -1
- package/dist/filters/index.d.ts +1 -0
- package/dist/filters/types.d.ts +3 -4
- package/dist/filters/types.d.ts.map +1 -1
- package/dist/index.cjs +20 -60
- package/dist/index.d.ts +14 -11
- package/dist/index.js +4 -8
- package/dist/labels/derive_distinct_labels.d.ts +28 -17
- package/dist/labels/derive_distinct_labels.d.ts.map +1 -1
- package/dist/labels/derive_distinct_tooltips.d.ts +11 -8
- package/dist/labels/derive_distinct_tooltips.d.ts.map +1 -1
- package/dist/labels/linked_column_postfix.d.ts +3 -5
- package/dist/labels/linked_column_postfix.d.ts.map +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.js +1 -1
- package/dist/pframe.d.ts +1 -3
- package/dist/pframe.d.ts.map +1 -1
- package/dist/pframe_utils/axes.d.ts +4 -5
- package/dist/pframe_utils/axes.d.ts.map +1 -1
- package/dist/pframe_utils/columns.d.ts +3 -7
- package/dist/pframe_utils/columns.d.ts.map +1 -1
- package/dist/pframe_utils/index.d.ts +9 -10
- package/dist/pframe_utils/index.d.ts.map +1 -1
- package/dist/platforma.d.ts +19 -21
- package/dist/platforma.d.ts.map +1 -1
- package/dist/plugin_handle.d.ts +11 -13
- package/dist/plugin_handle.d.ts.map +1 -1
- package/dist/plugin_model.d.ts +21 -22
- package/dist/plugin_model.d.ts.map +1 -1
- package/dist/raw_globals.d.ts +3 -4
- package/dist/raw_globals.d.ts.map +1 -1
- package/dist/render/accessor.d.ts +2 -4
- package/dist/render/accessor.d.ts.map +1 -1
- package/dist/render/api.cjs +0 -22
- package/dist/render/api.cjs.map +1 -1
- package/dist/render/api.d.ts +13 -21
- package/dist/render/api.d.ts.map +1 -1
- package/dist/render/api.js +1 -22
- package/dist/render/api.js.map +1 -1
- package/dist/render/future.d.ts +2 -4
- package/dist/render/future.d.ts.map +1 -1
- package/dist/render/index.cjs +0 -1
- package/dist/render/index.d.ts +3 -2
- package/dist/render/index.js +2 -2
- package/dist/render/internal.d.ts +11 -13
- package/dist/render/internal.d.ts.map +1 -1
- package/dist/render/traversal_ops.d.ts +14 -11
- package/dist/render/traversal_ops.d.ts.map +1 -1
- package/dist/render/util/axis_filtering.d.ts +5 -7
- package/dist/render/util/axis_filtering.d.ts.map +1 -1
- package/dist/render/util/column_collection.d.ts +14 -12
- package/dist/render/util/column_collection.d.ts.map +1 -1
- package/dist/render/util/label.d.ts +2 -3
- package/dist/render/util/label.d.ts.map +1 -1
- package/dist/render/util/pcolumn_data.d.ts +24 -25
- package/dist/render/util/pcolumn_data.d.ts.map +1 -1
- package/dist/render/util/split_selectors.d.ts +4 -6
- package/dist/render/util/split_selectors.d.ts.map +1 -1
- package/dist/services/block_services.d.ts +3 -4
- package/dist/services/block_services.d.ts.map +1 -1
- package/dist/services/get_services.d.ts +1 -3
- package/dist/services/get_services.d.ts.map +1 -1
- package/dist/services/service_bridge.d.ts +3 -5
- package/dist/services/service_bridge.d.ts.map +1 -1
- package/dist/services/service_resolve.d.ts +6 -7
- package/dist/services/service_resolve.d.ts.map +1 -1
- package/dist/version.d.ts +3 -4
- package/dist/version.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/bconfig/lambdas.ts +1 -25
- package/src/components/PlDataTable/columnResolver.test.ts +3 -5
- package/src/components/PlDataTable/columnResolver.ts +2 -12
- package/src/components/PlDataTable/createPlDataTable/createPlDataTableV2.ts +1 -4
- package/src/components/PlDataTable/createPlDataTable/createPlDataTableV3.ts +5 -4
- package/src/config/index.ts +0 -4
- package/src/config/type_engine.ts +6 -49
- package/src/index.ts +0 -2
- package/src/render/api.ts +0 -32
- package/src/typing.test.ts +4 -143
- package/dist/block_model_legacy.cjs +0 -240
- package/dist/block_model_legacy.cjs.map +0 -1
- package/dist/block_model_legacy.d.ts +0 -115
- package/dist/block_model_legacy.d.ts.map +0 -1
- package/dist/block_model_legacy.js +0 -240
- package/dist/block_model_legacy.js.map +0 -1
- package/dist/config/actions.cjs +0 -232
- package/dist/config/actions.cjs.map +0 -1
- package/dist/config/actions.d.ts +0 -48
- package/dist/config/actions.d.ts.map +0 -1
- package/dist/config/actions.js +0 -201
- package/dist/config/actions.js.map +0 -1
- package/dist/config/actions_kinds.d.ts +0 -116
- package/dist/config/actions_kinds.d.ts.map +0 -1
- package/dist/config/index.cjs +0 -33
- package/dist/config/index.js +0 -2
- package/dist/config/model_meta.d.ts +0 -9
- package/dist/config/model_meta.d.ts.map +0 -1
- package/dist/config/type_util.d.ts +0 -14
- package/dist/config/type_util.d.ts.map +0 -1
- package/dist/ref_util.cjs +0 -21
- package/dist/ref_util.cjs.map +0 -1
- package/dist/ref_util.d.ts +0 -19
- package/dist/ref_util.d.ts.map +0 -1
- package/dist/ref_util.js +0 -20
- package/dist/ref_util.js.map +0 -1
- package/src/block_model_legacy.ts +0 -465
- package/src/config/actions.ts +0 -468
- package/src/config/actions_kinds.ts +0 -264
- package/src/config/model_meta.ts +0 -5
- package/src/config/type_util.ts +0 -25
- package/src/ref_util.ts +0 -17
|
@@ -5,9 +5,8 @@ import { ColumnDiscoveredRecipe } from "./column_discovered_recipe.js";
|
|
|
5
5
|
import { ColumnFilteredRecipe } from "./column_filtered_recipe.js";
|
|
6
6
|
import { ColumnOverriddenRecipe } from "./column_overrided_recipe.js";
|
|
7
7
|
import { ColumnUniversalId } from "@milaboratories/pl-model-common";
|
|
8
|
-
|
|
9
8
|
//#region src/columns/column_recipes/index.d.ts
|
|
10
|
-
interface ColumnRecipe<ID extends ColumnRecipeId = ColumnRecipeId> extends ColumnRecipe$1<ID> {}
|
|
9
|
+
export interface ColumnRecipe<ID extends ColumnRecipeId = ColumnRecipeId> extends ColumnRecipe$1<ID> {}
|
|
11
10
|
/**
|
|
12
11
|
* Build a `ColumnRecipe` from a stringified id. Dispatches to the matching
|
|
13
12
|
* concrete recipe variant based on the id's encoding and recurses on
|
|
@@ -37,9 +36,9 @@ declare function ColumnRecipeBuild(id: ColumnUniversalId, opts?: {
|
|
|
37
36
|
declare function ColumnRecipeGetStatus(id: ColumnUniversalId, opts?: {
|
|
38
37
|
ctx?: GlobalCfgRenderCtx;
|
|
39
38
|
}): ColumnResolutionStatus;
|
|
40
|
-
declare const ColumnRecipe: typeof ColumnRecipeBuild & {
|
|
39
|
+
export declare const ColumnRecipe: typeof ColumnRecipeBuild & {
|
|
41
40
|
readonly getStatus: typeof ColumnRecipeGetStatus;
|
|
42
41
|
};
|
|
43
42
|
//#endregion
|
|
44
|
-
export { ColumnDiscoveredRecipe, ColumnFilteredRecipe, ColumnOverriddenRecipe,
|
|
43
|
+
export { ColumnDiscoveredRecipe, ColumnFilteredRecipe, ColumnOverriddenRecipe, type ColumnRecipeId, type SpecQuery$1 as SpecQuery };
|
|
45
44
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/columns/column_recipes/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/columns/column_recipes/index.ts"],"mappings":";;;;;;;;iBA+BiB,aACf,WAAW,iBAAiB,wBACpB,eAAiB;;;;;;;;;;;;;;;;;iBAkBlB,kBACP,IAAI,mBACJ;EAAQ,MAAM;gBACD;;;;;;;;iBAyCN,sBACP,IAAI,mBACJ;EAAQ,MAAM;IACb;qBASU,qBAAqB;WACvB,kBAAkB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ColumnUniversalId, PColumnSpec, PObjectId, SpecOverrides, SpecQuery as SpecQuery$1 } from "@milaboratories/pl-model-common";
|
|
2
|
-
|
|
3
2
|
//#region src/columns/column_recipes/types.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Stable identifier of a recipe: either the canonical {@link PObjectId} of a
|
|
@@ -9,7 +8,7 @@ import { ColumnUniversalId, PColumnSpec, PObjectId, SpecOverrides, SpecQuery as
|
|
|
9
8
|
* Recipes are equivalent as value-objects iff their `id`s match (structurally,
|
|
10
9
|
* after canonicalization).
|
|
11
10
|
*/
|
|
12
|
-
type ColumnRecipeId = ColumnUniversalId;
|
|
11
|
+
export type ColumnRecipeId = ColumnUniversalId;
|
|
13
12
|
/**
|
|
14
13
|
* Aggregate data status of a recipe: the "worst" status across every
|
|
15
14
|
* PObjectId the recipe references (the leaf itself plus any refs inside
|
|
@@ -18,7 +17,7 @@ type ColumnRecipeId = ColumnUniversalId;
|
|
|
18
17
|
* "All or nothing" semantics: spec/query built from a recipe are meaningful
|
|
19
18
|
* only when every referenced column is `present`.
|
|
20
19
|
*/
|
|
21
|
-
type ColumnFieldStatus = "resolving" | "absent" | "present";
|
|
20
|
+
export type ColumnFieldStatus = "resolving" | "absent" | "present";
|
|
22
21
|
/**
|
|
23
22
|
* Resolution status of a recipe — whether the recipe is meaningful in the
|
|
24
23
|
* active render ctx. Aggregates spec readiness (the recipe can be
|
|
@@ -34,7 +33,7 @@ type ColumnFieldStatus = "resolving" | "absent" | "present";
|
|
|
34
33
|
* status only. {@link ColumnResolutionStatus} also folds in spec/registry
|
|
35
34
|
* readiness, so the recipe interface exposes both.
|
|
36
35
|
*/
|
|
37
|
-
type ColumnResolutionStatus = "present" | "resolving" | "absent";
|
|
36
|
+
export type ColumnResolutionStatus = "present" | "resolving" | "absent";
|
|
38
37
|
/**
|
|
39
38
|
* Base contract of a column recipe — an immutable description of HOW to
|
|
40
39
|
* obtain a column, not the column itself.
|
|
@@ -55,7 +54,7 @@ type ColumnResolutionStatus = "present" | "resolving" | "absent";
|
|
|
55
54
|
* Consumers that need to decompose call utilities from `pl-model-common`
|
|
56
55
|
* over `recipe.id`.
|
|
57
56
|
*/
|
|
58
|
-
interface ColumnRecipe<ID extends ColumnRecipeId = ColumnRecipeId> {
|
|
57
|
+
export interface ColumnRecipe<ID extends ColumnRecipeId = ColumnRecipeId> {
|
|
59
58
|
/** Canonical recipe identifier. */
|
|
60
59
|
readonly id: ID;
|
|
61
60
|
/** PObjectIds referenced by this recipe (leaf + any nested refs). */
|
|
@@ -97,5 +96,5 @@ interface ColumnRecipe<ID extends ColumnRecipeId = ColumnRecipeId> {
|
|
|
97
96
|
withSpecs(overrides: SpecOverrides): ColumnRecipe;
|
|
98
97
|
}
|
|
99
98
|
//#endregion
|
|
100
|
-
export {
|
|
99
|
+
export type { SpecQuery$1 as SpecQuery };
|
|
101
100
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/columns/column_recipes/types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/columns/column_recipes/types.ts"],"mappings":";;;;;;;;;;YAkBY,iBAAiB;;;;;;;;;YAUjB;;;;;;;;;;;;;;;;YAiBA;;;;;;;;;;;;;;;;;;;;;iBAsBK,aAAa,WAAW,iBAAiB;;WAE/C,IAAI;;EAGb,oBAAoB;;;;;;;;;;EAWpB,WAAW;;;;;;;;;;EAWX,YAAY;;;;;;;EAQZ,iBAAiB;;;;;;;;EASjB,UAAU,WAAW,gBAAgB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GlobalCfgRenderCtx } from "../render/internal.js";
|
|
2
2
|
import { ColumnRecipe } from "./column_recipes/index.js";
|
|
3
3
|
import { ColumnsSource } from "./column_providers/types.js";
|
|
4
|
+
import "./column_providers/index.js";
|
|
4
5
|
import { CollectionHandle, ColumnUniversalId, ColumnsCollectionDriverModel, ColumnsDiscoverOptions, ColumnsFilterOptions } from "@milaboratories/pl-model-common";
|
|
5
|
-
|
|
6
6
|
//#region src/columns/columns_collection.d.ts
|
|
7
|
-
interface ColumnsCollectionDeps {
|
|
7
|
+
export interface ColumnsCollectionDeps {
|
|
8
8
|
/** Render ctx used both for service resolution and for default ctx sources. */
|
|
9
9
|
readonly ctx?: GlobalCfgRenderCtx;
|
|
10
10
|
/** Override the resolved `columnsCollection` service — primarily for tests. */
|
|
@@ -18,7 +18,7 @@ interface ColumnsCollectionDeps {
|
|
|
18
18
|
* - `"current_block"` – main outputs + prerun (staging) accessors of the
|
|
19
19
|
* current block, when present.
|
|
20
20
|
*/
|
|
21
|
-
type ColumnsSourceShorthand = "result_pool" | "current_block";
|
|
21
|
+
export type ColumnsSourceShorthand = "result_pool" | "current_block";
|
|
22
22
|
/**
|
|
23
23
|
* Build a {@link ColumnsCollection} from sandbox-side source descriptors.
|
|
24
24
|
* Resolves the `columnsCollection` driver (either from `deps.driver` or via
|
|
@@ -29,8 +29,8 @@ type ColumnsSourceShorthand = "result_pool" | "current_block";
|
|
|
29
29
|
* `sources` accepts {@link ColumnsSourceShorthand} string literals
|
|
30
30
|
* (`"result_pool"`, `"current_block"`) for the common ctx-derived sources.
|
|
31
31
|
*/
|
|
32
|
-
declare function ColumnsCollection(sources?: (ColumnsCollection | ColumnsSource | ColumnsSourceShorthand)[], deps?: ColumnsCollectionDeps): ColumnsCollection;
|
|
33
|
-
declare function isColumnsCollection(value: unknown): value is ColumnsCollection;
|
|
32
|
+
export declare function ColumnsCollection(sources?: (ColumnsCollection | ColumnsSource | ColumnsSourceShorthand)[], deps?: ColumnsCollectionDeps): ColumnsCollection;
|
|
33
|
+
export declare function isColumnsCollection(value: unknown): value is ColumnsCollection;
|
|
34
34
|
/**
|
|
35
35
|
* Sandbox proxy over the host-side `ColumnsCollection` driver. The driver
|
|
36
36
|
* owns all column-set state; this object only carries an opaque
|
|
@@ -45,7 +45,7 @@ declare function isColumnsCollection(value: unknown): value is ColumnsCollection
|
|
|
45
45
|
* host — the host VM bridge pins it to the active render ctx, so the sandbox
|
|
46
46
|
* never has to manage refcounts.
|
|
47
47
|
*/
|
|
48
|
-
declare class ColumnsCollectionImpl {
|
|
48
|
+
export declare class ColumnsCollectionImpl {
|
|
49
49
|
readonly handle: CollectionHandle;
|
|
50
50
|
private readonly driver;
|
|
51
51
|
constructor(handle: CollectionHandle, driver: ColumnsCollectionDriverModel);
|
|
@@ -58,7 +58,6 @@ declare class ColumnsCollectionImpl {
|
|
|
58
58
|
filter(options: ColumnsFilterOptions): ColumnsCollection;
|
|
59
59
|
}
|
|
60
60
|
/** Public type alias — value of the same name is the factory function above. */
|
|
61
|
-
type ColumnsCollection = ColumnsCollectionImpl;
|
|
61
|
+
export type ColumnsCollection = ColumnsCollectionImpl;
|
|
62
62
|
//#endregion
|
|
63
|
-
export { ColumnsCollection, ColumnsCollectionDeps, ColumnsCollectionImpl, ColumnsSourceShorthand, isColumnsCollection };
|
|
64
63
|
//# sourceMappingURL=columns_collection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"columns_collection.d.ts","names":[],"sources":["../../src/columns/columns_collection.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"columns_collection.d.ts","names":[],"sources":["../../src/columns/columns_collection.ts"],"mappings":";;;;;;iBAkBiB;;WAEN,MAAM;;WAEN,SAAS;;;;;;;;;;YAWR;;;;;;;;;;;wBAYI,kBACd,WAAW,oBAAoB,gBAAgB,2BAC/C,OAAO,wBACN;wBAQa,oBAAoB,iBAAiB,SAAS;;;;;;;;;;;;;;;qBAkBjD;WAEO,QAAQ;mBACP;EAFnB,YACkB,QAAQ,kBACP,QAAQ;EAG3B;EAIA;EAIA,gBAAgB;EAIhB,cAAc;EAMd,UAAU,QAAQ,gBAAgB,oBAAoB;EAOtD,SAAS,SAAS,yBAAyB;EAI3C,OAAO,SAAS,uBAAuB;;;YAM7B,oBAAoB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { GlobalCfgRenderCtx, PColumnDataUniversal } from "../render/internal.js";
|
|
2
2
|
import { TreeNodeAccessor } from "../render/accessor.js";
|
|
3
|
+
import "../render/index.js";
|
|
3
4
|
import { ColumnFieldStatus, ColumnRecipe, ColumnRecipeId, ColumnResolutionStatus } from "./column_recipes/types.js";
|
|
4
5
|
import { ColumnUniversalId, LeafEntry, PColumn, PColumnSpec, PObjectId, PlRef, SpecOverrides, SpecQuery } from "@milaboratories/pl-model-common";
|
|
5
|
-
|
|
6
6
|
//#region src/columns/data_column.d.ts
|
|
7
|
-
type DataColumnId = PObjectId;
|
|
8
|
-
type ColumnData = undefined | PColumnDataUniversal;
|
|
7
|
+
export type DataColumnId = PObjectId;
|
|
8
|
+
export type ColumnData = undefined | PColumnDataUniversal;
|
|
9
9
|
/**
|
|
10
10
|
* A {@link ColumnRecipe} that can be read directly in the sandbox: its
|
|
11
11
|
* {@link getData} is guaranteed to be consistent with {@link getSpec}.
|
|
@@ -21,7 +21,7 @@ type ColumnData = undefined | PColumnDataUniversal;
|
|
|
21
21
|
* class — which recipe classes exist is an implementation detail behind
|
|
22
22
|
* `recipe.id`.
|
|
23
23
|
*/
|
|
24
|
-
interface DataColumnRecipe<ID extends ColumnRecipeId = ColumnRecipeId> extends ColumnRecipe<ID> {
|
|
24
|
+
export interface DataColumnRecipe<ID extends ColumnRecipeId = ColumnRecipeId> extends ColumnRecipe<ID> {
|
|
25
25
|
/** Column data, consistent with {@link ColumnRecipe.getSpec}. */
|
|
26
26
|
getData(): ColumnData;
|
|
27
27
|
}
|
|
@@ -36,7 +36,7 @@ interface DataColumnRecipe<ID extends ColumnRecipeId = ColumnRecipeId> extends C
|
|
|
36
36
|
* when partial absence should be surfaced to the user rather than silently
|
|
37
37
|
* producing an empty result.
|
|
38
38
|
*/
|
|
39
|
-
declare class ColumnAbsentError extends Error {
|
|
39
|
+
export declare class ColumnAbsentError extends Error {
|
|
40
40
|
readonly id: ColumnUniversalId;
|
|
41
41
|
constructor(id: ColumnUniversalId);
|
|
42
42
|
}
|
|
@@ -49,7 +49,7 @@ declare class ColumnAbsentError extends Error {
|
|
|
49
49
|
* Internal — consumers hold the {@link DataColumnRecipe} interface and construct
|
|
50
50
|
* through the {@link DataColumnRecipe} dispatcher.
|
|
51
51
|
*/
|
|
52
|
-
declare class DataColumnImpl implements DataColumnRecipe<PObjectId> {
|
|
52
|
+
export declare class DataColumnImpl implements DataColumnRecipe<PObjectId> {
|
|
53
53
|
readonly id: PObjectId;
|
|
54
54
|
private readonly options;
|
|
55
55
|
private specCache?;
|
|
@@ -76,9 +76,7 @@ declare class DataColumnImpl implements DataColumnRecipe<PObjectId> {
|
|
|
76
76
|
* and the column did not appear — the column will not exist in this ctx.
|
|
77
77
|
* Data and dataStatus stay lazy.
|
|
78
78
|
*/
|
|
79
|
-
static fromId(id: PObjectId, {
|
|
80
|
-
ctx
|
|
81
|
-
}?: {
|
|
79
|
+
static fromId(id: PObjectId, { ctx }?: {
|
|
82
80
|
ctx?: GlobalCfgRenderCtx;
|
|
83
81
|
}): undefined | DataColumnRecipe<PObjectId>;
|
|
84
82
|
/** {@link PlRef} wrapper over {@link fromId}. */
|
|
@@ -100,9 +98,7 @@ declare class DataColumnImpl implements DataColumnRecipe<PObjectId> {
|
|
|
100
98
|
* when the id has no entry — only then we can say `absent` instead of
|
|
101
99
|
* `resolving`.
|
|
102
100
|
*/
|
|
103
|
-
static getStatusById(id: PObjectId, {
|
|
104
|
-
ctx
|
|
105
|
-
}?: {
|
|
101
|
+
static getStatusById(id: PObjectId, { ctx }?: {
|
|
106
102
|
ctx?: GlobalCfgRenderCtx;
|
|
107
103
|
}): ColumnResolutionStatus;
|
|
108
104
|
/** {@link PlRef} wrapper over {@link getStatusById}. */
|
|
@@ -113,7 +109,7 @@ declare class DataColumnImpl implements DataColumnRecipe<PObjectId> {
|
|
|
113
109
|
static getStatusByAccessor(entry: LeafEntry<TreeNodeAccessor>): ColumnResolutionStatus;
|
|
114
110
|
}
|
|
115
111
|
/** Anything the {@link DataColumnRecipe} dispatcher can build a leaf from. */
|
|
116
|
-
type DataColumnSource = PObjectId | PlRef | LeafEntry<TreeNodeAccessor> | PColumn<ColumnData> | DataColumnRecipe<PObjectId>;
|
|
112
|
+
export type DataColumnSource = PObjectId | PlRef | LeafEntry<TreeNodeAccessor> | PColumn<ColumnData> | DataColumnRecipe<PObjectId>;
|
|
117
113
|
/**
|
|
118
114
|
* Unified dispatcher — picks the right `DataColumnImpl.fromX` by source
|
|
119
115
|
* shape. For ambiguous inputs callers can still use the explicit factories
|
|
@@ -132,7 +128,7 @@ declare function DataColumnDispatch(source: DataColumnSource, opts?: {
|
|
|
132
128
|
declare function DataColumnGetStatus(source: DataColumnSource, opts?: {
|
|
133
129
|
ctx?: GlobalCfgRenderCtx;
|
|
134
130
|
}): ColumnResolutionStatus;
|
|
135
|
-
declare const DataColumn: typeof DataColumnDispatch & {
|
|
131
|
+
export declare const DataColumn: typeof DataColumnDispatch & {
|
|
136
132
|
fromId: typeof DataColumnImpl.fromId;
|
|
137
133
|
fromPlRef: typeof DataColumnImpl.fromPlRef;
|
|
138
134
|
fromAccessor: typeof DataColumnImpl.fromAccessor;
|
|
@@ -146,7 +142,7 @@ declare const DataColumn: typeof DataColumnDispatch & {
|
|
|
146
142
|
* Type-guard narrowing to a bare leaf — a {@link DataColumnRecipe} whose `id` is a
|
|
147
143
|
* plain {@link PObjectId}.
|
|
148
144
|
*/
|
|
149
|
-
declare function isDataColumn(value: unknown): value is DataColumnRecipe<PObjectId>;
|
|
145
|
+
export declare function isDataColumn(value: unknown): value is DataColumnRecipe<PObjectId>;
|
|
150
146
|
//#endregion
|
|
151
|
-
export {
|
|
147
|
+
export type { ColumnFieldStatus, ColumnResolutionStatus };
|
|
152
148
|
//# sourceMappingURL=data_column.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data_column.d.ts","names":[],"sources":["../../src/columns/data_column.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"data_column.d.ts","names":[],"sources":["../../src/columns/data_column.ts"],"mappings":";;;;;;YA2BY,eAAe;YACf,yBAAyB;;;;;;;;;;;;;;;;iBAkBpB,iBACf,WAAW,iBAAiB,wBACpB,aAAa;;EAErB,WAAW;;;;;;;;;;;;;qBAcA,0BAA0B;WACT,IAAI;EAAhC,YAA4B,IAAI;;;;;;;;;;;qBAerB,0BAA0B,iBAAiB;WAMpC,IAAI;mBACH;UANX;UACA;UACA;UAED;;EAUP,oBAAoB;EAIpB,WAAW;;EAQX,YAAY;EAIZ,WAAW;EAKX,iBAAiB;;;;;;EAYjB,UAAU,WAAW,gBAAgB;;;;;;;;SAW9B,OACL,IAAI,aACF;IAAS,MAAM;kBACJ,iBAAiB;;SAqBzB,UAAU,KAAK,oBAAoB,iBAAiB;;;;;;SASpD,aAAa,OAAO,UAAU,gCAAgC,iBAAiB;;;;;SAkB/E,WACL,QAAQ,QAAQ,cAAc,iBAAiB,aAC9C,iBAAiB;;;;;;;SAoBb,cACL,IAAI,aACF;IAAS,MAAM;MAChB;;SAQI,iBACL,KAAK,OACL;IAAQ,MAAM;MACb;;SAKI,oBAAoB,OAAO,UAAU,oBAAoB;;;YAMtD,mBACR,YACA,QACA,UAAU,oBACV,QAAQ,cACR,iBAAiB;;;;;;;iBAQZ,mBACP,QAAQ,kBACR;EAAQ,MAAM;gBACD,iBAAiB;;;;;;;iBAkBvB,oBACP,QAAQ,kBACR;EAAQ,MAAM;IACb;qBAUU,mBAAU;;;;;;;;;;;;;;wBAeP,aAAa,iBAAiB,SAAS,iBAAiB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { GlobalCfgRenderCtx } from "../render/internal.js";
|
|
2
2
|
import { ColumnsSource } from "./column_providers/types.js";
|
|
3
|
+
import "./column_providers/index.js";
|
|
3
4
|
import { ColumnsCollection } from "./columns_collection.js";
|
|
4
5
|
import { AxisId } from "@milaboratories/pl-model-common";
|
|
5
|
-
|
|
6
6
|
//#region src/columns/derive_axis_values_labels.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Build an `axisValuesLabels` callback by discovering `pl7.app/label` columns
|
|
@@ -22,9 +22,8 @@ import { AxisId } from "@milaboratories/pl-model-common";
|
|
|
22
22
|
* - label columns whose data resource type isn't `PColumnData/Json` /
|
|
23
23
|
* `PColumnData/JsonPartitioned`.
|
|
24
24
|
*/
|
|
25
|
-
declare function deriveAxisValuesLabels(source?: ColumnsCollection | (ColumnsCollection | ColumnsSource)[], opts?: {
|
|
25
|
+
export declare function deriveAxisValuesLabels(source?: ColumnsCollection | (ColumnsCollection | ColumnsSource)[], opts?: {
|
|
26
26
|
ctx?: GlobalCfgRenderCtx;
|
|
27
27
|
}): (axisId: AxisId) => Record<string | number, string> | undefined;
|
|
28
28
|
//#endregion
|
|
29
|
-
export { deriveAxisValuesLabels };
|
|
30
29
|
//# sourceMappingURL=derive_axis_values_labels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derive_axis_values_labels.d.ts","names":[],"sources":["../../src/columns/derive_axis_values_labels.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"derive_axis_values_labels.d.ts","names":[],"sources":["../../src/columns/derive_axis_values_labels.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;wBA6BgB,uBACd,SAAS,qBAAqB,oBAAoB,kBAClD;EAAS,MAAM;KACb,QAAQ,WAAW"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Column } from "./column.js";
|
|
2
2
|
import { ColumnRecipe } from "./column_recipes/index.js";
|
|
3
3
|
import { AxisId } from "@milaboratories/pl-model-common";
|
|
4
|
-
|
|
5
4
|
//#region src/columns/split_by_axes.d.ts
|
|
6
|
-
interface SplitAxis {
|
|
5
|
+
export interface SplitAxis {
|
|
7
6
|
/** Index of the axis in the column's axesSpec to split by. */
|
|
8
7
|
readonly idx: number;
|
|
9
8
|
}
|
|
10
|
-
interface SplitByAxesOpts {
|
|
9
|
+
export interface SplitByAxesOpts {
|
|
11
10
|
/**
|
|
12
11
|
* Resolve axis values to human-readable labels.
|
|
13
12
|
*
|
|
@@ -41,7 +40,6 @@ interface SplitByAxesOpts {
|
|
|
41
40
|
* Returns `undefined` when any input's `getData()` is not a
|
|
42
41
|
* {@link TreeNodeAccessor} — partition inspection is not yet possible.
|
|
43
42
|
*/
|
|
44
|
-
declare function splitByAxes(inputs: Column[], splitAxes: SplitAxis[], opts?: SplitByAxesOpts): ColumnRecipe[] | undefined;
|
|
43
|
+
export declare function splitByAxes(inputs: Column[], splitAxes: SplitAxis[], opts?: SplitByAxesOpts): ColumnRecipe[] | undefined;
|
|
45
44
|
//#endregion
|
|
46
|
-
export { SplitAxis, SplitByAxesOpts, splitByAxes };
|
|
47
45
|
//# sourceMappingURL=split_by_axes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split_by_axes.d.ts","names":[],"sources":["../../src/columns/split_by_axes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"split_by_axes.d.ts","names":[],"sources":["../../src/columns/split_by_axes.ts"],"mappings":";;;;iBAwBiB;;WAEN;;iBAGM;;;;;;;;;EASf,oBAAoB,QAAQ,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;wBA8BrC,YACd,QAAQ,UACR,WAAW,aACX,OAAO,kBACN"}
|
package/dist/columns/utils.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { DataColumnRecipe } from "./data_column.js";
|
|
|
5
5
|
import { ColumnsSource } from "./column_providers/types.js";
|
|
6
6
|
import { ColumnsCollection } from "./columns_collection.js";
|
|
7
7
|
import { AxisQualification, ColumnUniversalId, PObjectId } from "@milaboratories/pl-model-common";
|
|
8
|
-
|
|
9
8
|
//#region src/columns/utils.d.ts
|
|
10
9
|
/**
|
|
11
10
|
* PObjectIds of every non-hit column referenced by `recipe.getQuery()`,
|
|
@@ -16,13 +15,13 @@ import { AxisQualification, ColumnUniversalId, PObjectId } from "@milaboratories
|
|
|
16
15
|
* Pure query walk — no registry access. Use {@link collectLinkerColumns} for
|
|
17
16
|
* the resolved {@link DataColumnRecipe} variant.
|
|
18
17
|
*/
|
|
19
|
-
declare function collectLinkerIds(recipe: ColumnRecipe): PObjectId[];
|
|
18
|
+
export declare function collectLinkerIds(recipe: ColumnRecipe): PObjectId[];
|
|
20
19
|
/**
|
|
21
20
|
* {@link collectLinkerIds} resolved against the ambient context as
|
|
22
21
|
* {@link DataColumnRecipe} leaves. Throws if any id fails to resolve —
|
|
23
22
|
* matches the contract of the legacy `resolveLinkers` it replaces.
|
|
24
23
|
*/
|
|
25
|
-
declare function collectLinkerColumns(recipe: ColumnRecipe, opts?: {
|
|
24
|
+
export declare function collectLinkerColumns(recipe: ColumnRecipe, opts?: {
|
|
26
25
|
ctx?: GlobalCfgRenderCtx;
|
|
27
26
|
}): DataColumnRecipe<PObjectId>[];
|
|
28
27
|
/**
|
|
@@ -33,7 +32,7 @@ declare function collectLinkerColumns(recipe: ColumnRecipe, opts?: {
|
|
|
33
32
|
* `getInner()` until it finds a {@link ColumnDiscoveredRecipe}; otherwise
|
|
34
33
|
* returns `[]`. Pure recipe walk — no query-tree introspection.
|
|
35
34
|
*/
|
|
36
|
-
declare function hitQualifications(recipe: ColumnRecipe): readonly AxisQualification[];
|
|
35
|
+
export declare function hitQualifications(recipe: ColumnRecipe): readonly AxisQualification[];
|
|
37
36
|
/**
|
|
38
37
|
* Per-primary-column axis qualifications for the recipe — applied to the
|
|
39
38
|
* outer primary anchors on this recipe's group side. Keyed by the external
|
|
@@ -41,7 +40,7 @@ declare function hitQualifications(recipe: ColumnRecipe): readonly AxisQualifica
|
|
|
41
40
|
*
|
|
42
41
|
* Same walk strategy as {@link hitQualifications}.
|
|
43
42
|
*/
|
|
44
|
-
declare function queriesQualifications(recipe: ColumnRecipe): Readonly<Record<PObjectId, AxisQualification[]>>;
|
|
43
|
+
export declare function queriesQualifications(recipe: ColumnRecipe): Readonly<Record<PObjectId, AxisQualification[]>>;
|
|
45
44
|
/**
|
|
46
45
|
* Whether the recipe's underlying data resources actually carry bytes —
|
|
47
46
|
* strictly stronger than `getDataStatus() === "present"`, which only tells
|
|
@@ -56,7 +55,7 @@ declare function queriesQualifications(recipe: ColumnRecipe): Readonly<Record<PO
|
|
|
56
55
|
* "not yet ready") rather than throwing — this is a UI-facing predicate, not
|
|
57
56
|
* a contract assertion.
|
|
58
57
|
*/
|
|
59
|
-
declare function hasColumnData(recipe: ColumnRecipe, opts?: {
|
|
58
|
+
export declare function hasColumnData(recipe: ColumnRecipe, opts?: {
|
|
60
59
|
ctx?: GlobalCfgRenderCtx;
|
|
61
60
|
}): boolean;
|
|
62
61
|
/**
|
|
@@ -78,13 +77,13 @@ declare function hasColumnData(recipe: ColumnRecipe, opts?: {
|
|
|
78
77
|
* through the whole wrapper chain, so no class walk is involved and foreign
|
|
79
78
|
* `ColumnRecipe` implementations are handled too.
|
|
80
79
|
*/
|
|
81
|
-
declare function hasSingleDataColumn(recipe: ColumnRecipe): boolean;
|
|
80
|
+
export declare function hasSingleDataColumn(recipe: ColumnRecipe): boolean;
|
|
82
81
|
/**
|
|
83
82
|
* @deprecated Renamed to {@link hasSingleDataColumn} — "leaf" read as "you can
|
|
84
83
|
* get data out of it", which is a different question (see
|
|
85
84
|
* {@link hasReachableData}). Same semantics.
|
|
86
85
|
*/
|
|
87
|
-
declare const isLeafColumn: typeof hasSingleDataColumn;
|
|
86
|
+
export declare const isLeafColumn: typeof hasSingleDataColumn;
|
|
88
87
|
/**
|
|
89
88
|
* Whether the column's data can be read here and now, consistent with its
|
|
90
89
|
* spec — narrows to {@link DataColumnRecipe}, which exposes `getData()`.
|
|
@@ -101,9 +100,9 @@ declare const isLeafColumn: typeof hasSingleDataColumn;
|
|
|
101
100
|
* result narrows to a value that really has the method, and there is no
|
|
102
101
|
* throwing path behind the guard.
|
|
103
102
|
*/
|
|
104
|
-
declare function hasReachableData(recipe: ColumnRecipe): recipe is DataColumnRecipe;
|
|
103
|
+
export declare function hasReachableData(recipe: ColumnRecipe): recipe is DataColumnRecipe;
|
|
105
104
|
/** Drop-down option built over a {@link ColumnsCollection} — universal-id valued. */
|
|
106
|
-
type ColumnOption = {
|
|
105
|
+
export type ColumnOption = {
|
|
107
106
|
readonly id: ColumnUniversalId;
|
|
108
107
|
readonly label: string;
|
|
109
108
|
};
|
|
@@ -115,7 +114,6 @@ type ColumnOption = {
|
|
|
115
114
|
* accessor, column array, or `"result_pool"` / `"current_block"` shorthand)
|
|
116
115
|
* to be wrapped on the fly.
|
|
117
116
|
*/
|
|
118
|
-
declare function deriveColumnOptions(source: ColumnsCollection | ColumnsSource[], labelOptions?: DeriveLabelsOptions): ColumnOption[];
|
|
117
|
+
export declare function deriveColumnOptions(source: ColumnsCollection | ColumnsSource[], labelOptions?: DeriveLabelsOptions): ColumnOption[];
|
|
119
118
|
//#endregion
|
|
120
|
-
export { ColumnOption, collectLinkerColumns, collectLinkerIds, deriveColumnOptions, hasColumnData, hasReachableData, hasSingleDataColumn, hitQualifications, isLeafColumn, queriesQualifications };
|
|
121
119
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","names":[],"sources":["../../src/columns/utils.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","names":[],"sources":["../../src/columns/utils.ts"],"mappings":";;;;;;;;;;;;;;;;;wBAiCgB,iBAAiB,QAAQ,eAAe;;;;;;wBAsBxC,qBACd,QAAQ,cACR;EAAQ,MAAM;IACb,iBAAiB;;;;;;;;;wBAgBJ,kBAAkB,QAAQ,wBAAwB;;;;;;;;wBAYlD,sBACd,QAAQ,eACP,SAAS,OAAO,WAAW;;;;;;;;;;;;;;;wBAmBd,cACd,QAAQ,cACR;EAAQ,MAAM;;;;;;;;;;;;;;;;;;;;;wBAiEA,oBAAoB,QAAQ;;;;;;qBAS/B,qBAAY;;;;;;;;;;;;;;;;;wBAkBT,iBAAiB,QAAQ,eAAe,UAAU;;YAKtD;WACD,IAAI;WACJ;;;;;;;;;;wBAWK,oBACd,QAAQ,oBAAoB,iBAC5B,eAAc,sBACb"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PColumnDataUniversal } from "../render/internal.js";
|
|
2
2
|
import { RenderCtxBase } from "../render/api.js";
|
|
3
|
+
import "../render/index.js";
|
|
3
4
|
import { AxesVault, enrichCompatible, getAvailableWithLinkersAxes } from "../pframe_utils/axes.js";
|
|
4
5
|
import { PColumn, PColumnSpec, PFrameHandle } from "@milaboratories/pl-model-common";
|
|
5
|
-
|
|
6
6
|
//#region src/components/PFrameForGraphs.d.ts
|
|
7
|
-
declare function isHiddenFromGraphColumn(column: PColumnSpec): boolean;
|
|
8
|
-
declare function isHiddenFromUIColumn(column: PColumnSpec): boolean;
|
|
7
|
+
export declare function isHiddenFromGraphColumn(column: PColumnSpec): boolean;
|
|
8
|
+
export declare function isHiddenFromUIColumn(column: PColumnSpec): boolean;
|
|
9
9
|
/**
|
|
10
10
|
The aim of createPFrameForGraphs: to create pframe with block’s columns and all compatible columns from result pool
|
|
11
11
|
(including linker columns and all label columns).
|
|
@@ -18,7 +18,7 @@ declare function isHiddenFromUIColumn(column: PColumnSpec): boolean;
|
|
|
18
18
|
of partially matched axis we add to pframe a copy of this column with modified axis (with filled missed domains)
|
|
19
19
|
and modified label (with added domain values in case if more than one copy with different domains exist).
|
|
20
20
|
*/
|
|
21
|
-
declare function createPFrameForGraphs<A, U>(ctx: RenderCtxBase<A, U>, blockColumns?: PColumn<undefined | PColumnDataUniversal>[]): PFrameHandle | undefined;
|
|
21
|
+
export declare function createPFrameForGraphs<A, U>(ctx: RenderCtxBase<A, U>, blockColumns?: PColumn<undefined | PColumnDataUniversal>[]): PFrameHandle | undefined;
|
|
22
22
|
//#endregion
|
|
23
|
-
export { type AxesVault,
|
|
23
|
+
export { type AxesVault, enrichCompatible, getAvailableWithLinkersAxes };
|
|
24
24
|
//# sourceMappingURL=PFrameForGraphs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PFrameForGraphs.d.ts","names":[],"sources":["../../src/components/PFrameForGraphs.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"PFrameForGraphs.d.ts","names":[],"sources":["../../src/components/PFrameForGraphs.ts"],"mappings":";;;;;;wBAOgB,wBAAwB,QAAQ;wBAIhC,qBAAqB,QAAQ;;;;;;;;;;;;;wBAgB7B,sBAAsB,GAAG,GACvC,KAAK,cAAc,GAAG,IACtB,eAAe,oBAAoB,0BAClC"}
|