@platforma-sdk/model 1.83.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/lambdas.d.ts +10 -10
- 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 +3 -5
- 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.d.ts +10 -10
- package/dist/block_model.d.ts.map +1 -1
- 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/model.d.ts +28 -30
- package/dist/config/model.d.ts.map +1 -1
- package/dist/config/type_engine.d.ts +3 -5
- 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.d.ts +9 -0
- 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.d.ts +13 -13
- package/dist/render/api.d.ts.map +1 -1
- package/dist/render/future.d.ts +2 -4
- package/dist/render/future.d.ts.map +1 -1
- package/dist/render/index.d.ts +1 -0
- 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 +10 -10
- 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/dist/config/model.d.ts
CHANGED
|
@@ -1,134 +1,132 @@
|
|
|
1
1
|
import { ArchiveFormat, RangeBytes } from "@milaboratories/pl-model-common";
|
|
2
|
-
|
|
3
2
|
//#region src/config/model.d.ts
|
|
4
|
-
type Cfg = CfgGetFromCtx | CfgIsolate | CfgImmediate | CfgMakeObject | CfgMakeArray | CfgGetJsonField | CfgMapRecordValues | CfgMapArrayValues | CfgFlatten | CfgIsEmpty | CfgNot | CfgAnd | CfgOr | CfgMapResourceFields | CfgGetResourceField | CfgResourceValueAsJson | CfgBlobContent | CfgBlobContentAsString | CfgBlobContentAsJson | CfgDownloadedBlobContent | CfgOnDemandBlobContent | CfgExtractArchiveAndGetURL | CfgImportProgress | CfgLastLogs | CfgProgressLog | CfgProgressLogWithInfo | CfgLogHandle;
|
|
3
|
+
export type Cfg = CfgGetFromCtx | CfgIsolate | CfgImmediate | CfgMakeObject | CfgMakeArray | CfgGetJsonField | CfgMapRecordValues | CfgMapArrayValues | CfgFlatten | CfgIsEmpty | CfgNot | CfgAnd | CfgOr | CfgMapResourceFields | CfgGetResourceField | CfgResourceValueAsJson | CfgBlobContent | CfgBlobContentAsString | CfgBlobContentAsJson | CfgDownloadedBlobContent | CfgOnDemandBlobContent | CfgExtractArchiveAndGetURL | CfgImportProgress | CfgLastLogs | CfgProgressLog | CfgProgressLogWithInfo | CfgLogHandle;
|
|
5
4
|
/** Forces wrapped config to be rendered asynchronously, using its own
|
|
6
5
|
* rendering cell */
|
|
7
|
-
type CfgIsolate = {
|
|
6
|
+
export type CfgIsolate = {
|
|
8
7
|
type: "Isolate";
|
|
9
8
|
cfg: Cfg;
|
|
10
9
|
};
|
|
11
|
-
type CfgGetFromCtx = {
|
|
10
|
+
export type CfgGetFromCtx = {
|
|
12
11
|
type: "GetFromCtx";
|
|
13
12
|
variable: string;
|
|
14
13
|
};
|
|
15
|
-
type CfgImmediate = {
|
|
14
|
+
export type CfgImmediate = {
|
|
16
15
|
type: "Immediate";
|
|
17
16
|
value: any;
|
|
18
17
|
};
|
|
19
|
-
type CfgGetJsonField = {
|
|
18
|
+
export type CfgGetJsonField = {
|
|
20
19
|
type: "GetJsonField";
|
|
21
20
|
source: Cfg;
|
|
22
21
|
field: Cfg;
|
|
23
22
|
};
|
|
24
|
-
type CfgMakeObject = {
|
|
23
|
+
export type CfgMakeObject = {
|
|
25
24
|
type: "MakeObject";
|
|
26
25
|
template: Record<string, Cfg>;
|
|
27
26
|
};
|
|
28
|
-
type CfgMakeArray = {
|
|
27
|
+
export type CfgMakeArray = {
|
|
29
28
|
type: "MakeArray";
|
|
30
29
|
template: Cfg[];
|
|
31
30
|
};
|
|
32
|
-
type CfgMapRecordValues = {
|
|
31
|
+
export type CfgMapRecordValues = {
|
|
33
32
|
type: "MapRecordValues";
|
|
34
33
|
source: Cfg;
|
|
35
34
|
itVar: string;
|
|
36
35
|
mapping: Cfg;
|
|
37
36
|
};
|
|
38
|
-
type CfgMapArrayValues = {
|
|
37
|
+
export type CfgMapArrayValues = {
|
|
39
38
|
type: "MapArrayValues";
|
|
40
39
|
source: Cfg;
|
|
41
40
|
itVar: string;
|
|
42
41
|
mapping: Cfg;
|
|
43
42
|
};
|
|
44
|
-
type CfgFlatten = {
|
|
43
|
+
export type CfgFlatten = {
|
|
45
44
|
type: "Flatten";
|
|
46
45
|
source: Cfg;
|
|
47
46
|
};
|
|
48
|
-
type CfgIsEmpty = {
|
|
47
|
+
export type CfgIsEmpty = {
|
|
49
48
|
type: "IsEmpty";
|
|
50
49
|
arg: Cfg;
|
|
51
50
|
};
|
|
52
|
-
type CfgNot = {
|
|
51
|
+
export type CfgNot = {
|
|
53
52
|
type: "Not";
|
|
54
53
|
operand: Cfg;
|
|
55
54
|
};
|
|
56
|
-
type CfgAnd = {
|
|
55
|
+
export type CfgAnd = {
|
|
57
56
|
type: "And";
|
|
58
57
|
operand1: Cfg;
|
|
59
58
|
operand2: Cfg;
|
|
60
59
|
};
|
|
61
|
-
type CfgOr = {
|
|
60
|
+
export type CfgOr = {
|
|
62
61
|
type: "Or";
|
|
63
62
|
operand1: Cfg;
|
|
64
63
|
operand2: Cfg;
|
|
65
64
|
};
|
|
66
|
-
type CfgMapResourceFields = {
|
|
65
|
+
export type CfgMapResourceFields = {
|
|
67
66
|
type: "MapResourceFields";
|
|
68
67
|
source: Cfg;
|
|
69
68
|
itVar: string;
|
|
70
69
|
mapping: Cfg;
|
|
71
70
|
};
|
|
72
|
-
type CfgGetResourceField = {
|
|
71
|
+
export type CfgGetResourceField = {
|
|
73
72
|
type: "GetResourceField";
|
|
74
73
|
source: Cfg;
|
|
75
74
|
field: Cfg;
|
|
76
75
|
};
|
|
77
|
-
type CfgResourceValueAsJson = {
|
|
76
|
+
export type CfgResourceValueAsJson = {
|
|
78
77
|
type: "GetResourceValueAsJson";
|
|
79
78
|
source: Cfg;
|
|
80
79
|
};
|
|
81
|
-
type CfgBlobContent = {
|
|
80
|
+
export type CfgBlobContent = {
|
|
82
81
|
type: "GetBlobContent";
|
|
83
82
|
range: RangeBytes | undefined;
|
|
84
83
|
source: Cfg;
|
|
85
84
|
};
|
|
86
|
-
type CfgBlobContentAsString = {
|
|
85
|
+
export type CfgBlobContentAsString = {
|
|
87
86
|
type: "GetBlobContentAsString";
|
|
88
87
|
range: RangeBytes | undefined;
|
|
89
88
|
source: Cfg;
|
|
90
89
|
};
|
|
91
|
-
type CfgBlobContentAsJson = {
|
|
90
|
+
export type CfgBlobContentAsJson = {
|
|
92
91
|
type: "GetBlobContentAsJson";
|
|
93
92
|
range: RangeBytes | undefined;
|
|
94
93
|
source: Cfg;
|
|
95
94
|
};
|
|
96
|
-
type CfgDownloadedBlobContent = {
|
|
95
|
+
export type CfgDownloadedBlobContent = {
|
|
97
96
|
type: "GetDownloadedBlobContent";
|
|
98
97
|
source: Cfg;
|
|
99
98
|
};
|
|
100
|
-
type CfgOnDemandBlobContent = {
|
|
99
|
+
export type CfgOnDemandBlobContent = {
|
|
101
100
|
type: "GetOnDemandBlobContent";
|
|
102
101
|
source: Cfg;
|
|
103
102
|
};
|
|
104
|
-
type CfgExtractArchiveAndGetURL = {
|
|
103
|
+
export type CfgExtractArchiveAndGetURL = {
|
|
105
104
|
type: "ExtractArchiveAndGetURL";
|
|
106
105
|
format: ArchiveFormat;
|
|
107
106
|
source: Cfg;
|
|
108
107
|
};
|
|
109
|
-
type CfgImportProgress = {
|
|
108
|
+
export type CfgImportProgress = {
|
|
110
109
|
type: "GetImportProgress";
|
|
111
110
|
source: Cfg;
|
|
112
111
|
};
|
|
113
|
-
type CfgLastLogs = {
|
|
112
|
+
export type CfgLastLogs = {
|
|
114
113
|
type: "GetLastLogs";
|
|
115
114
|
source: Cfg;
|
|
116
115
|
lines: number;
|
|
117
116
|
};
|
|
118
|
-
type CfgProgressLog = {
|
|
117
|
+
export type CfgProgressLog = {
|
|
119
118
|
type: "GetProgressLog";
|
|
120
119
|
source: Cfg;
|
|
121
120
|
patternToSearch: string;
|
|
122
121
|
};
|
|
123
|
-
type CfgProgressLogWithInfo = {
|
|
122
|
+
export type CfgProgressLogWithInfo = {
|
|
124
123
|
type: "GetProgressLogWithInfo";
|
|
125
124
|
source: Cfg;
|
|
126
125
|
patternToSearch: string;
|
|
127
126
|
};
|
|
128
|
-
type CfgLogHandle = {
|
|
127
|
+
export type CfgLogHandle = {
|
|
129
128
|
type: "GetLogHandle";
|
|
130
129
|
source: Cfg;
|
|
131
130
|
};
|
|
132
131
|
//#endregion
|
|
133
|
-
export { Cfg, CfgAnd, CfgBlobContent, CfgBlobContentAsJson, CfgBlobContentAsString, CfgDownloadedBlobContent, CfgExtractArchiveAndGetURL, CfgFlatten, CfgGetFromCtx, CfgGetJsonField, CfgGetResourceField, CfgImmediate, CfgImportProgress, CfgIsEmpty, CfgIsolate, CfgLastLogs, CfgLogHandle, CfgMakeArray, CfgMakeObject, CfgMapArrayValues, CfgMapRecordValues, CfgMapResourceFields, CfgNot, CfgOnDemandBlobContent, CfgOr, CfgProgressLog, CfgProgressLogWithInfo, CfgResourceValueAsJson };
|
|
134
132
|
//# sourceMappingURL=model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","names":[],"sources":["../../src/config/model.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"model.d.ts","names":[],"sources":["../../src/config/model.ts"],"mappings":";;YAEY,MACR,gBACA,aACA,eACA,gBACA,eACA,kBACA,qBACA,oBACA,aACA,aACA,SACA,SACA,QACA,uBACA,sBACA,yBACA,iBACA,yBACA,uBACA,2BACA,yBACA,6BACA,oBACA,cACA,iBACA,yBACA;;;YAQQ;EACV;EACA,KAAK;;YAOK;EACV;EACA;;YAOU;EACV;EAGA;;YAGU;EACV;EACA,QAAQ;EACR,OAAO;;YAGG;EACV;EACA,UAAU,eAAe;;YAGf;EACV;EACA,UAAU;;YAGA;EACV;EACA,QAAQ;EACR;EACA,SAAS;;YAGC;EACV;EACA,QAAQ;EACR;EACA,SAAS;;YAGC;EACV;EACA,QAAQ;;YAOE;EACV;EACA,KAAK;;YAGK;EACV;EACA,SAAS;;YAGC;EACV;EACA,UAAU;EACV,UAAU;;YAGA;EACV;EACA,UAAU;EACV,UAAU;;YAOA;EACV;EACA,QAAQ;EACR;EACA,SAAS;;YAGC;EACV;EACA,QAAQ;EACR,OAAO;;YAGG;EACV;EACA,QAAQ;;YAOE;EACV;EACA,OAAO;EACP,QAAQ;;YAGE;EACV;EACA,OAAO;EACP,QAAQ;;YAGE;EACV;EACA,OAAO;EACP,QAAQ;;YAGE;EACV;EACA,QAAQ;;YAGE;EACV;EACA,QAAQ;;YAOE;EACV;EACA,QAAQ;EACR,QAAQ;;YAOE;EACV;EACA,QAAQ;;YAOE;EACV;EACA,QAAQ;EACR;;YAGU;EACV;EACA,QAAQ;EACR;;YAGU;EACV;EACA,QAAQ;EACR;;YAGU;EACV;EACA,QAAQ"}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { Cfg } from "./model.js";
|
|
2
|
-
|
|
3
2
|
//#region src/config/type_engine.d.ts
|
|
4
3
|
/** Config tree of an already published block, as stored in its compiled model.
|
|
5
4
|
*
|
|
6
5
|
* Nothing in the SDK builds these any more — the builder DSL that produced them
|
|
7
6
|
* went away with the v1/v2 block model. The type is kept because the middle
|
|
8
7
|
* layer still has to read and render configs of blocks published before that. */
|
|
9
|
-
type TypedConfig = Cfg;
|
|
8
|
+
export type TypedConfig = Cfg;
|
|
10
9
|
declare const plResourceEntry: unique symbol;
|
|
11
10
|
/** Marks that a certain variable in context is a resource entry */
|
|
12
|
-
type PlResourceEntry = typeof plResourceEntry;
|
|
13
|
-
type OptionalPlResourceEntry = PlResourceEntry | undefined;
|
|
11
|
+
export type PlResourceEntry = typeof plResourceEntry;
|
|
12
|
+
export type OptionalPlResourceEntry = PlResourceEntry | undefined;
|
|
14
13
|
//#endregion
|
|
15
|
-
export { OptionalPlResourceEntry, PlResourceEntry, TypedConfig };
|
|
16
14
|
//# sourceMappingURL=type_engine.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type_engine.d.ts","names":[],"sources":["../../src/config/type_engine.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"type_engine.d.ts","names":[],"sources":["../../src/config/type_engine.ts"],"mappings":";;;;;;;YAOY,cAAc;cAGZ;;YAGF,yBAAyB;YAEzB,0BAA0B"}
|
package/dist/env_value.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/env_value.d.ts
|
|
2
|
-
declare function getEnvironmentValue(name: string): string | undefined;
|
|
2
|
+
export declare function getEnvironmentValue(name: string): string | undefined;
|
|
3
3
|
//#endregion
|
|
4
|
-
export { getEnvironmentValue };
|
|
5
4
|
//# sourceMappingURL=env_value.d.ts.map
|
package/dist/env_value.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env_value.d.ts","names":[],"sources":["../src/env_value.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"env_value.d.ts","names":[],"sources":["../src/env_value.ts"],"mappings":";wBAAgB,oBAAoB"}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { AxisId, ColumnUniversalId, FilterSpec, FilterSpecLeaf, SpecQueryExpression } from "@milaboratories/pl-model-common";
|
|
2
|
-
|
|
3
2
|
//#region src/filters/converters/filterToQuery.d.ts
|
|
4
|
-
type QueryColumnIdAxis = {
|
|
3
|
+
export type QueryColumnIdAxis = {
|
|
5
4
|
type: "axis";
|
|
6
5
|
id: AxisId;
|
|
7
6
|
};
|
|
8
|
-
type QueryColumnIdColumn = {
|
|
9
|
-
type: "column";
|
|
7
|
+
export type QueryColumnIdColumn = {
|
|
8
|
+
type: "column";
|
|
9
|
+
/** May be a rich {@link ColumnUniversalId} (Discovered / Overridden / Filtered) or bare PObjectId. */
|
|
10
10
|
id: ColumnUniversalId;
|
|
11
11
|
};
|
|
12
|
-
type QueryColumnId = QueryColumnIdAxis | QueryColumnIdColumn;
|
|
12
|
+
export type QueryColumnId = QueryColumnIdAxis | QueryColumnIdColumn;
|
|
13
13
|
/** Converts a FilterSpec tree into a SpecQueryExpression. */
|
|
14
|
-
declare function filterSpecToSpecQueryExpr<Leaf extends FilterSpecLeaf<QueryColumnId>>(filter: FilterSpec<Leaf>): SpecQueryExpression;
|
|
14
|
+
export declare function filterSpecToSpecQueryExpr<Leaf extends FilterSpecLeaf<QueryColumnId>>(filter: FilterSpec<Leaf>): SpecQueryExpression;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { QueryColumnId, QueryColumnIdAxis, QueryColumnIdColumn, filterSpecToSpecQueryExpr };
|
|
17
16
|
//# sourceMappingURL=filterToQuery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterToQuery.d.ts","names":[],"sources":["../../../src/filters/converters/filterToQuery.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"filterToQuery.d.ts","names":[],"sources":["../../../src/filters/converters/filterToQuery.ts"],"mappings":";;YAWY;EACV;EACA,IAAI;;YAGM;EACV;;EAEA,IAAI;;YAGM,gBAAgB,oBAAoB;;wBAUhC,0BAA0B,aAAa,eAAe,gBACpE,QAAQ,WAAW,QAClB"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { FilterSpec } from "../types.js";
|
|
2
2
|
import { Expression, ExpressionImpl } from "@milaboratories/ptabler-expression-js";
|
|
3
|
-
|
|
4
3
|
//#region src/filters/converters/filterUiToExpressionImpl.d.ts
|
|
5
|
-
declare function convertFilterUiToExpressionImpl(value: FilterSpec): ExpressionImpl;
|
|
6
|
-
declare function convertFilterUiToExpressions(value: FilterSpec): Expression;
|
|
4
|
+
export declare function convertFilterUiToExpressionImpl(value: FilterSpec): ExpressionImpl;
|
|
5
|
+
export declare function convertFilterUiToExpressions(value: FilterSpec): Expression;
|
|
7
6
|
//#endregion
|
|
8
|
-
export { convertFilterUiToExpressionImpl, convertFilterUiToExpressions };
|
|
9
7
|
//# sourceMappingURL=filterUiToExpressionImpl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterUiToExpressionImpl.d.ts","names":[],"sources":["../../../src/filters/converters/filterUiToExpressionImpl.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"filterUiToExpressionImpl.d.ts","names":[],"sources":["../../../src/filters/converters/filterUiToExpressionImpl.ts"],"mappings":";;;wBAcgB,gCAAgC,OAAO,aAAa;wBAoFpD,6BAA6B,OAAO,aAAa"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { FilterSpec, FilterSpecLeaf, InferFilterSpecLeaf, RootFilterSpec } from "@milaboratories/pl-model-common";
|
|
2
|
-
|
|
3
2
|
//#region src/filters/distill.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Strips non-FilterSpec metadata (whitelist approach) and removes
|
|
6
5
|
* unfilled leaves (type is undefined or any required field is undefined).
|
|
7
6
|
*/
|
|
8
|
-
declare function distillFilterSpec<FS extends FilterSpec<FilterSpecLeaf<unknown>, unknown, unknown>, R extends
|
|
7
|
+
export declare function distillFilterSpec<FS extends FilterSpec<FilterSpecLeaf<unknown>, unknown, unknown>, R extends FS extends RootFilterSpec<FilterSpecLeaf<unknown>, unknown, unknown> ? RootFilterSpec<InferFilterSpecLeaf<FS>> : FilterSpec<InferFilterSpecLeaf<FS>>>(filter: null | undefined | FS): null | R;
|
|
9
8
|
//#endregion
|
|
10
|
-
export { distillFilterSpec };
|
|
11
9
|
//# sourceMappingURL=distill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distill.d.ts","names":[],"sources":["../../src/filters/distill.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"distill.d.ts","names":[],"sources":["../../src/filters/distill.ts"],"mappings":";;;;;;wBAcgB,kBACd,WAAW,WAAW,4CACtB,UAAU,WAAW,eAAe,6CAChC,eAAe,oBAAoB,OACnC,WAAW,oBAAoB,MACnC,2BAA2B,YAAY"}
|
package/dist/filters/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { QueryColumnId, QueryColumnIdAxis, QueryColumnIdColumn, filterSpecToSpecQueryExpr } from "./converters/filterToQuery.js";
|
|
2
2
|
import { FilterSpec, FilterSpecLeaf, FilterSpecNode, FilterSpecOfType, FilterSpecType, SimplifiedPColumnSpec, SimplifiedUniversalPColumnEntry } from "./types.js";
|
|
3
3
|
import { convertFilterUiToExpressionImpl, convertFilterUiToExpressions } from "./converters/filterUiToExpressionImpl.js";
|
|
4
|
+
import "./converters/index.js";
|
|
4
5
|
import { distillFilterSpec } from "./distill.js";
|
|
5
6
|
export { type FilterSpec, type FilterSpecLeaf, type FilterSpecNode, type FilterSpecOfType, type FilterSpecType, QueryColumnId, QueryColumnIdAxis, QueryColumnIdColumn, SimplifiedPColumnSpec, SimplifiedUniversalPColumnEntry, convertFilterUiToExpressionImpl, convertFilterUiToExpressions, distillFilterSpec, filterSpecToSpecQueryExpr };
|
package/dist/filters/types.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { FilterSpec as FilterSpec$1, FilterSpecLeaf as FilterSpecLeaf$1, FilterSpecNode, FilterSpecOfType, FilterSpecType, PColumnSpec, SUniversalPColumnId } from "@milaboratories/pl-model-common";
|
|
2
|
-
|
|
3
2
|
//#region src/filters/types.d.ts
|
|
4
|
-
type SimplifiedPColumnSpec = Pick<PColumnSpec, "valueType" | "annotations">;
|
|
5
|
-
type SimplifiedUniversalPColumnEntry = {
|
|
3
|
+
export type SimplifiedPColumnSpec = Pick<PColumnSpec, "valueType" | "annotations">;
|
|
4
|
+
export type SimplifiedUniversalPColumnEntry = {
|
|
6
5
|
id: SUniversalPColumnId;
|
|
7
6
|
label: string;
|
|
8
7
|
obj: SimplifiedPColumnSpec;
|
|
9
8
|
};
|
|
10
9
|
//#endregion
|
|
11
|
-
export {
|
|
10
|
+
export type { FilterSpec$1 as FilterSpec, FilterSpecLeaf$1 as FilterSpecLeaf, FilterSpecNode, FilterSpecOfType, FilterSpecType };
|
|
12
11
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../src/filters/types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../src/filters/types.ts"],"mappings":";;YAEY,wBAAwB,KAAK;YAE7B;EACV,IAAI;EACJ;EACA,KAAK"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,11 +5,13 @@ import { DataModel, DataModelBuilder } from "./block_migrations.js";
|
|
|
5
5
|
import { BlockStorage, BlockStorageSchemaVersion, MigrateBlockStorageConfig, MigrationFailure, MigrationResult, MigrationSuccess, MutateStoragePayload, PluginName, PluginRegistry, VersionedData, createBlockStorage, deriveDataFromStorage, getPluginData, getStorageData, isBlockStorage, migrateBlockStorage, normalizeBlockStorage, updateStorageData } from "./block_storage.js";
|
|
6
6
|
import { Cfg, CfgAnd, CfgBlobContent, CfgBlobContentAsJson, CfgBlobContentAsString, CfgDownloadedBlobContent, CfgExtractArchiveAndGetURL, CfgFlatten, CfgGetFromCtx, CfgGetJsonField, CfgGetResourceField, CfgImmediate, CfgImportProgress, CfgIsEmpty, CfgIsolate, CfgLastLogs, CfgLogHandle, CfgMakeArray, CfgMakeObject, CfgMapArrayValues, CfgMapRecordValues, CfgMapResourceFields, CfgNot, CfgOnDemandBlobContent, CfgOr, CfgProgressLog, CfgProgressLogWithInfo, CfgResourceValueAsJson } from "./config/model.js";
|
|
7
7
|
import { OptionalPlResourceEntry, PlResourceEntry, TypedConfig } from "./config/type_engine.js";
|
|
8
|
+
import "./config/index.js";
|
|
8
9
|
import { ConfigRenderLambda, ConfigRenderLambdaFlags, ExtractFunctionHandleReturn, InferOutputsFromLambdas, StdCtx, StdCtxArgsOnly } from "./bconfig/lambdas.js";
|
|
9
10
|
import { TypedConfigOrConfigLambda, TypedConfigOrString, isConfigLambda } from "./bconfig/types.js";
|
|
10
11
|
import { BlockConfig, BlockConfigV3, BlockConfigV4 } from "./bconfig/v3.js";
|
|
11
12
|
import { downgradeCfgOrLambda, extractConfig } from "./bconfig/normalization.js";
|
|
12
13
|
import { DeriveHref } from "./bconfig/util.js";
|
|
14
|
+
import "./bconfig/index.js";
|
|
13
15
|
import { BLOCK_STORAGE_FACADE_VERSION, BlockStorageFacade, BlockStorageFacadeCallbacks, BlockStorageFacadeHandles, registerFacadeCallbacks } from "./block_storage_facade.js";
|
|
14
16
|
import { BlockApiV1, CancelSubscription } from "./block_api_v1.js";
|
|
15
17
|
import { BlockApiV2 } from "./block_api_v2.js";
|
|
@@ -26,6 +28,7 @@ import { AxisLabelProvider, ColumnProvider, PColumnCollection, PColumnEntryUnive
|
|
|
26
28
|
import { BlockRenderCtx, InferRenderFunctionReturn, PluginRenderCtx, RenderCtx, RenderCtxBase, RenderFunction, ResultPool, UniversalColumnOption, UnwrapFutureRef, finalizePColumnData } from "./render/api.js";
|
|
27
29
|
import { PColumnKeyList, PColumnResourceMapData, PColumnResourceMapEntry, RT_BINARY_PARTITIONED, RT_BINARY_SUPER_PARTITIONED, RT_JSON_PARTITIONED, RT_JSON_SUPER_PARTITIONED, RT_PARQUET_PARTITIONED, RT_PARQUET_SUPER_PARTITIONED, RT_RESOURCE_MAP, RT_RESOURCE_MAP_PARTITIONED, allPColumnsReady, convertOrParsePColumnData, getNumberOfRows, getPartitionKeysList, getUniquePartitionKeys, isPColumnReady, parsePColumnData, parseResourceMap } from "./render/util/pcolumn_data.js";
|
|
28
30
|
import { filterDataInfoEntries } from "./render/util/axis_filtering.js";
|
|
31
|
+
import "./render/index.js";
|
|
29
32
|
import { PluginConfig, PluginData, PluginDataModel, PluginDataModelBuilder, PluginDataModelVersions, PluginFactory, PluginInstance, PluginModel, PluginOutputs, PluginParams, PluginPublicOutputs, PublicOutputFieldDef } from "./plugin_model.js";
|
|
30
33
|
import { BlockModelInfo, InferArgsType, InferBlockState, InferBlockStatePatch, InferDataType, InferHrefType, InferOutputsType, InferPluginData, InferPluginNames, InferPluginUiEntries, InferUiState, Platforma, PlatformaApiVersion, PlatformaExtended, PlatformaFactory, PlatformaV1, PlatformaV2, PlatformaV3 } from "./platforma.js";
|
|
31
34
|
import { BlockModelV3, ParamsInput, PluginRecord } from "./block_model.js";
|
|
@@ -36,8 +39,10 @@ import { QueryColumnId, QueryColumnIdAxis, QueryColumnIdColumn, filterSpecToSpec
|
|
|
36
39
|
import { FilterSpec, FilterSpecLeaf, FilterSpecNode, FilterSpecOfType, FilterSpecType, SimplifiedPColumnSpec, SimplifiedUniversalPColumnEntry } from "./filters/types.js";
|
|
37
40
|
import { convertFilterUiToExpressionImpl, convertFilterUiToExpressions } from "./filters/converters/filterUiToExpressionImpl.js";
|
|
38
41
|
import { distillFilterSpec } from "./filters/distill.js";
|
|
42
|
+
import "./filters/index.js";
|
|
39
43
|
import { AnnotationSpec, AnnotationSpecUi, ExpressionSpec, FilterSpecUi } from "./annotations/types.js";
|
|
40
44
|
import { convertFilterSpecsToExpressionSpecs } from "./annotations/converter.js";
|
|
45
|
+
import "./annotations/index.js";
|
|
41
46
|
import { AnnotationScriptUi, AnnotationStepUi, AnyForm, FilterUi, FilterUiOfType, FilterUiType, FormField, TypeField, TypeFieldRecord, TypeForm, TypeToLiteral, compileAnnotationScript, compileFilter, compileFilters, unreachable } from "./components/PlAnnotations/filters_ui.js";
|
|
42
47
|
import { DatasetOption, DatasetSelection, createDatasetSelection, isDatasetSelection } from "./components/PlDatasetSelector/dataset_selection.js";
|
|
43
48
|
import { ColumnFieldStatus, ColumnRecipeId, ColumnResolutionStatus, SpecQuery } from "./columns/column_recipes/types.js";
|
|
@@ -54,6 +59,7 @@ import { SplitAxis, SplitByAxesOpts, splitByAxes } from "./columns/split_by_axes
|
|
|
54
59
|
import { ColumnsCollection, ColumnsCollectionDeps, ColumnsCollectionImpl, ColumnsSourceShorthand, isColumnsCollection } from "./columns/columns_collection.js";
|
|
55
60
|
import { deriveAxisValuesLabels } from "./columns/derive_axis_values_labels.js";
|
|
56
61
|
import { ColumnOption, collectLinkerColumns, collectLinkerIds, deriveColumnOptions, hasColumnData, hasReachableData, hasSingleDataColumn, hitQualifications, isLeafColumn, queriesQualifications } from "./columns/utils.js";
|
|
62
|
+
import "./columns/index.js";
|
|
57
63
|
import { FilterMatchOptions, FindFilterColumnsOptions, buildRefMap, filterMatchesToOptions, findFilterColumns } from "./components/PlDatasetSelector/filter_discovery.js";
|
|
58
64
|
import { BuildDatasetOptions, buildDatasetOptions } from "./components/PlDatasetSelector/build_dataset_options.js";
|
|
59
65
|
import { PTableParamsV2, PlDataTableAxisMeta, PlDataTableColumnMeta, PlDataTableColumnsMeta, PlDataTableFilterMeta, PlDataTableFilterSpecLeaf, PlDataTableFilters, PlDataTableFiltersWithMeta, PlDataTableGridStateCore, PlDataTableModel, PlDataTableSheet, PlDataTableSheetState, PlDataTableStateV2CacheEntry, PlDataTableStateV2Normalized, PlTableColumnIdJson } from "./components/PlDataTable/typesV8.js";
|
|
@@ -66,13 +72,16 @@ import { createPlDataTable } from "./components/PlDataTable/createPlDataTable/in
|
|
|
66
72
|
import { getEffectiveVisibility, getOrderPriority, isColumnHidden, isColumnOptional } from "./components/PlDataTable/createPlDataTable/utils.js";
|
|
67
73
|
import { PTableKey, PlSelectionModel, createPlSelectionModel } from "./components/PlSelectionModel.js";
|
|
68
74
|
import { PColumnPredicate, PlMultiSequenceAlignmentColorSchemeOption, PlMultiSequenceAlignmentModel, PlMultiSequenceAlignmentSettings, PlMultiSequenceAlignmentWidget, createRowSelectionColumn } from "./components/PlMultiSequenceAlignment.js";
|
|
75
|
+
import "./components/index.js";
|
|
69
76
|
import { PFrameImpl } from "./pframe.js";
|
|
70
77
|
import { TooltipEntry, deriveDistinctTooltips } from "./labels/derive_distinct_tooltips.js";
|
|
78
|
+
import "./labels/index.js";
|
|
71
79
|
import { getPlatformaApiVersion, getRawPlatformaInstance } from "./raw_globals.js";
|
|
72
80
|
import { getAllRelatedColumns, getRelatedColumns } from "./pframe_utils/columns.js";
|
|
73
81
|
import { getAxisUniqueValues, getColumnOrAxisValueLabelsId, getColumnSpecById, getColumnUniqueValues, getColumnsFull, getRequestColumnsFromSelectedSources, getSingleColumnData, getUniqueSourceValuesWithLabels } from "./pframe_utils/index.js";
|
|
74
82
|
import { ServiceProxy, buildServices, createServiceProxy } from "./services/service_bridge.js";
|
|
75
83
|
import { getService } from "./services/get_services.js";
|
|
84
|
+
import "./services/index.js";
|
|
76
85
|
import { getEnvironmentValue } from "./env_value.js";
|
|
77
86
|
export * from "@milaboratories/pl-model-common";
|
|
78
87
|
export * from "@milaboratories/pl-error-like";
|
|
@@ -1,41 +1,52 @@
|
|
|
1
1
|
import { LinkerFormatter } from "./linked_column_postfix.js";
|
|
2
2
|
import { AxisQualification, MatchQualifications, PColumnSpec, PObjectId, PObjectSpec, Trace, Trace as Trace$1, TraceEntry } from "@milaboratories/pl-model-common";
|
|
3
|
-
|
|
4
3
|
//#region src/labels/derive_distinct_labels.d.ts
|
|
5
4
|
/** SDK-internal trace shape — adds fields used by this algorithm only, not part of the on-disk contract. */
|
|
6
5
|
type ExtendedTraceEntry = Trace[number] & {
|
|
7
6
|
importance?: number;
|
|
8
7
|
position?: "prefix" | "suffix";
|
|
9
8
|
};
|
|
10
|
-
type LinkerStep = {
|
|
11
|
-
/** Linker column spec — its `axesSpec` yields the source axis (root); its `LinkLabel`/`Label` names it. */
|
|
9
|
+
export type LinkerStep = {
|
|
10
|
+
/** Linker column spec — its `axesSpec` yields the source axis (root); its `LinkLabel`/`Label` names it. */
|
|
11
|
+
spec: PColumnSpec;
|
|
12
|
+
/** Axis qualifications applied on this hop. Not yet consumed by the postfix (deferred). */
|
|
12
13
|
qualifications?: AxisQualification[];
|
|
13
14
|
};
|
|
14
|
-
type Entry = PObjectSpec | {
|
|
15
|
-
spec: PObjectSpec;
|
|
15
|
+
export type Entry = PObjectSpec | {
|
|
16
|
+
spec: PObjectSpec;
|
|
17
|
+
/** Extra trace entries merged with the base trace from annotations. */
|
|
16
18
|
extraTrace?: ExtendedTraceEntry[];
|
|
17
19
|
/** Linker steps (`[0]` source-most) traversed to reach this column; rendered as a "via …"
|
|
18
20
|
* postfix only when needed for uniqueness — see {@link derivePostfixes}. */
|
|
19
|
-
linkerPath?: LinkerStep[];
|
|
21
|
+
linkerPath?: LinkerStep[];
|
|
22
|
+
/** Axis qualifications applied to the hit column / already-bound anchors; rendered as "[…]" suffixes. */
|
|
20
23
|
qualifications?: MatchQualifications;
|
|
21
24
|
};
|
|
22
25
|
/**
|
|
23
26
|
* Per-zone formatters. Each one receives raw inputs and returns the rendered text for that zone,
|
|
24
27
|
* or `undefined` to suppress the zone entirely (no synthetic injection → no minimization, no render).
|
|
25
28
|
*/
|
|
26
|
-
type DeriveLabelsFormatters = {
|
|
27
|
-
/** Native column label. Default: identity. `undefined` → label entry not added (treated as if spec had no label). */
|
|
29
|
+
export type DeriveLabelsFormatters = {
|
|
30
|
+
/** Native column label. Default: identity. `undefined` → label entry not added (treated as if spec had no label). */
|
|
31
|
+
native?: (label: string, spec: PObjectSpec, index: number) => string | undefined;
|
|
28
32
|
/** Linker/source postfix zone (phase 2). Receives the distinguishing tokens (`{ root, linkers }`)
|
|
29
33
|
* and returns the "via …" text, or `undefined` to suppress. */
|
|
30
|
-
linker?: LinkerFormatter;
|
|
31
|
-
|
|
34
|
+
linker?: LinkerFormatter;
|
|
35
|
+
/** Hit-axis qualifications block. Default: `[${formatQualifications(qs)}]`. */
|
|
36
|
+
hitQualification?: (qualifications: AxisQualification[], spec: PObjectSpec, index: number) => string | undefined;
|
|
37
|
+
/** Per-anchor qualifications block. Default: `[${anchorId}: ${formatQualifications(qs)}]`. */
|
|
32
38
|
anchorQualification?: (anchorId: PObjectId, qualifications: AxisQualification[], spec: PObjectSpec, index: number) => string | undefined;
|
|
33
39
|
};
|
|
34
|
-
type DeriveLabelsOptions = {
|
|
35
|
-
/** Separator to use between label parts (" / " by default). */
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
40
|
+
export type DeriveLabelsOptions = {
|
|
41
|
+
/** Separator to use between label parts (" / " by default). */
|
|
42
|
+
separator?: string;
|
|
43
|
+
/** If true, native label is appended at the end of the trace zone. By default it is prepended (label is the most important name). */
|
|
44
|
+
addLabelAsSuffix?: boolean;
|
|
45
|
+
/** Force inclusion of native column label even when not needed for uniqueness. */
|
|
46
|
+
includeNativeLabel?: boolean;
|
|
47
|
+
/** Trace types that must be included in the label. */
|
|
48
|
+
forceTraceElements?: string[];
|
|
49
|
+
/** Per-zone custom formatters. Returning `undefined` from any formatter suppresses the corresponding zone. */
|
|
39
50
|
formatters?: DeriveLabelsFormatters;
|
|
40
51
|
};
|
|
41
52
|
/**
|
|
@@ -45,7 +56,7 @@ type DeriveLabelsOptions = {
|
|
|
45
56
|
* 2. {@link derivePostfixes} — for columns still colliding on their stem, appends a "via …" postfix
|
|
46
57
|
* describing the difference between their linker sources (root axis, then linker chain).
|
|
47
58
|
*/
|
|
48
|
-
declare function deriveDistinctLabels(values: Entry[], options?: DeriveLabelsOptions): string[];
|
|
59
|
+
export declare function deriveDistinctLabels(values: Entry[], options?: DeriveLabelsOptions): string[];
|
|
49
60
|
//#endregion
|
|
50
|
-
export {
|
|
61
|
+
export type { Trace$1 as Trace, TraceEntry };
|
|
51
62
|
//# sourceMappingURL=derive_distinct_labels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derive_distinct_labels.d.ts","names":[],"sources":["../../src/labels/derive_distinct_labels.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"derive_distinct_labels.d.ts","names":[],"sources":["../../src/labels/derive_distinct_labels.ts"],"mappings":";;;;KAiCK,qBAAqB;EACxB;EACA;;YAGU;;EAEV,MAAM;;EAEN,iBAAiB;;YAGP,QACR;EAEE,MAAM;;EAEN,aAAa;;;EAGb,aAAa;;EAEb,iBAAiB;;;;;;YAOX;;EAEV,UAAU,eAAe,MAAM,aAAa;;;EAG5C,SAAS;;EAET,oBACE,gBAAgB,qBAChB,MAAM,aACN;;EAGF,uBACE,UAAU,WACV,gBAAgB,qBAChB,MAAM,aACN;;YAIQ;;EAEV;;EAEA;;EAEA;;EAEA;;EAEA,aAAa;;;;;;;;;wBAUC,qBAAqB,QAAQ,SAAS,UAAS"}
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { MatchQualifications, PColumnSpec } from "@milaboratories/pl-model-common";
|
|
2
|
-
|
|
3
2
|
//#region src/labels/derive_distinct_tooltips.d.ts
|
|
4
|
-
type TooltipEntry = {
|
|
5
|
-
/** Main column spec — used for column-name fallback when no label. */
|
|
6
|
-
|
|
3
|
+
export type TooltipEntry = {
|
|
4
|
+
/** Main column spec — used for column-name fallback when no label. */
|
|
5
|
+
spec: PColumnSpec;
|
|
6
|
+
/** Qualifications carried by this variant. */
|
|
7
|
+
qualifications?: MatchQualifications;
|
|
8
|
+
/** Linker steps traversed to reach the hit column. */
|
|
7
9
|
linkerPath?: ReadonlyArray<{
|
|
8
10
|
readonly linker: {
|
|
9
11
|
readonly spec: PColumnSpec;
|
|
10
12
|
};
|
|
11
|
-
}>;
|
|
12
|
-
|
|
13
|
+
}>;
|
|
14
|
+
/** Position of this variant within the same physical column (1-based). */
|
|
15
|
+
variantIndex?: number;
|
|
16
|
+
/** Total variants for the same physical column. */
|
|
13
17
|
variantCount?: number;
|
|
14
18
|
};
|
|
15
19
|
/** Format tooltip strings for each entry. Returns `undefined` when nothing useful. */
|
|
16
|
-
declare function deriveDistinctTooltips(entries: TooltipEntry[]): (undefined | string)[];
|
|
20
|
+
export declare function deriveDistinctTooltips(entries: TooltipEntry[]): (undefined | string)[];
|
|
17
21
|
//#endregion
|
|
18
|
-
export { TooltipEntry, deriveDistinctTooltips };
|
|
19
22
|
//# sourceMappingURL=derive_distinct_tooltips.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derive_distinct_tooltips.d.ts","names":[],"sources":["../../src/labels/derive_distinct_tooltips.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"derive_distinct_tooltips.d.ts","names":[],"sources":["../../src/labels/derive_distinct_tooltips.ts"],"mappings":";;YAUY;;EAEV,MAAM;;EAEN,iBAAiB;;EAEjB,aAAa;aAAyB;eAAmB,MAAM;;;;EAE/D;;EAEA;;;wBAIc,uBAAuB,SAAS"}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { AxisSpec, PColumnSpec } from "@milaboratories/pl-model-common";
|
|
2
|
-
|
|
3
2
|
//#region src/labels/linked_column_postfix.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* One distinguishing piece of the postfix: the full source spec (axis or linker column — no info
|
|
6
5
|
* lost) plus `text`, the minimal text that sets it apart from the siblings (a label, or only the
|
|
7
6
|
* differing domain keys). Custom formatters may use `spec` freely; `text` is the default rendering.
|
|
8
7
|
*/
|
|
9
|
-
type LinkerPart<Spec> = {
|
|
8
|
+
export type LinkerPart<Spec> = {
|
|
10
9
|
spec: Spec;
|
|
11
10
|
text: string;
|
|
12
11
|
};
|
|
13
12
|
/** The distinguishing source of one column: its root axis (when it differs) + the linker chain. */
|
|
14
|
-
type LinkerParts = {
|
|
13
|
+
export type LinkerParts = {
|
|
15
14
|
root?: LinkerPart<AxisSpec>;
|
|
16
15
|
linkers: LinkerPart<PColumnSpec>[];
|
|
17
16
|
};
|
|
@@ -21,7 +20,6 @@ type LinkerParts = {
|
|
|
21
20
|
* Returning `undefined` — or the empty string `""` — suppresses the postfix entirely (the column
|
|
22
21
|
* keeps just its stem); the two are treated identically.
|
|
23
22
|
*/
|
|
24
|
-
type LinkerFormatter = (parts: LinkerParts, hit: PColumnSpec | undefined, index: number) => string | undefined;
|
|
23
|
+
export type LinkerFormatter = (parts: LinkerParts, hit: PColumnSpec | undefined, index: number) => string | undefined;
|
|
25
24
|
//#endregion
|
|
26
|
-
export { LinkerFormatter, LinkerPart, LinkerParts };
|
|
27
25
|
//# sourceMappingURL=linked_column_postfix.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linked_column_postfix.d.ts","names":[],"sources":["../../src/labels/linked_column_postfix.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"linked_column_postfix.d.ts","names":[],"sources":["../../src/labels/linked_column_postfix.ts"],"mappings":";;;;;;;YAsCY,WAAW;EAAU,MAAM;EAAM;;;YAGjC;EACV,OAAO,WAAW;EAClB,SAAS,WAAW;;;;;;;;YASV,mBACV,OAAO,aACP,KAAK,yBACL"}
|
package/dist/package.cjs
CHANGED
package/dist/package.js
CHANGED
package/dist/pframe.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CalculateTableDataRequest, CalculateTableDataResponse, FindColumnsRequest, FindColumnsResponse, PColumnIdAndSpec, PColumnSpec, PFrame, PFrameHandle, PObjectId, TableRange, UniqueValuesRequest, UniqueValuesResponse } from "@milaboratories/pl-model-common";
|
|
2
|
-
|
|
3
2
|
//#region src/pframe.d.ts
|
|
4
|
-
declare class PFrameImpl implements PFrame {
|
|
3
|
+
export declare class PFrameImpl implements PFrame {
|
|
5
4
|
private readonly handle;
|
|
6
5
|
constructor(handle: PFrameHandle);
|
|
7
6
|
findColumns(request: FindColumnsRequest): Promise<FindColumnsResponse>;
|
|
@@ -12,5 +11,4 @@ declare class PFrameImpl implements PFrame {
|
|
|
12
11
|
private getPlatforma;
|
|
13
12
|
}
|
|
14
13
|
//#endregion
|
|
15
|
-
export { PFrameImpl };
|
|
16
14
|
//# sourceMappingURL=pframe.d.ts.map
|
package/dist/pframe.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pframe.d.ts","names":[],"sources":["../src/pframe.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"pframe.d.ts","names":[],"sources":["../src/pframe.ts"],"mappings":";;qBAgBa,sBAAsB;mBACJ;EAA7B,YAA6B,QAAQ;EAExB,YAAY,SAAS,qBAAqB,QAAQ;EAIlD,cAAc,UAAU,YAAY,QAAQ;EAI5C,eAAe,QAAQ;EAIvB,mBACX,SAAS,0BAA0B,YACnC,QAAQ,aACP,QAAQ;EAUE,gBAAgB,SAAS,sBAAsB,QAAQ;UAI5D"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { PColumnDataUniversal } from "../render/internal.js";
|
|
2
|
+
import "../render/index.js";
|
|
2
3
|
import { AxisId, AxisSpecNormalized, CanonicalizedJson, PColumn } from "@milaboratories/pl-model-common";
|
|
3
|
-
|
|
4
4
|
//#region src/pframe_utils/axes.d.ts
|
|
5
|
-
type AxesVault = Map<CanonicalizedJson<AxisId>, AxisSpecNormalized>;
|
|
6
|
-
declare function getAvailableWithLinkersAxes(linkerColumns: PColumn<undefined | PColumnDataUniversal>[], blockAxes: AxesVault): AxesVault;
|
|
5
|
+
export type AxesVault = Map<CanonicalizedJson<AxisId>, AxisSpecNormalized>;
|
|
6
|
+
export declare function getAvailableWithLinkersAxes(linkerColumns: PColumn<undefined | PColumnDataUniversal>[], blockAxes: AxesVault): AxesVault;
|
|
7
7
|
/** Add columns with fully compatible axes created from partial compatible ones */
|
|
8
|
-
declare function enrichCompatible<T extends Omit<PColumn<undefined | PColumnDataUniversal>, "data">>(blockAxes: AxesVault, columns: T[]): T[];
|
|
8
|
+
export declare function enrichCompatible<T extends Omit<PColumn<undefined | PColumnDataUniversal>, "data">>(blockAxes: AxesVault, columns: T[]): T[];
|
|
9
9
|
//#endregion
|
|
10
|
-
export { AxesVault, enrichCompatible, getAvailableWithLinkersAxes };
|
|
11
10
|
//# sourceMappingURL=axes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axes.d.ts","names":[],"sources":["../../src/pframe_utils/axes.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"axes.d.ts","names":[],"sources":["../../src/pframe_utils/axes.ts"],"mappings":";;;;YA4BY,YAAY,IAAI,kBAAkB,SAAS;wBA4CvC,4BACd,eAAe,oBAAoB,yBACnC,WAAW,YACV;;wBAgBa,iBAAiB,UAAU,KAAK,oBAAoB,gCAClE,WAAW,WACX,SAAS,MACR"}
|