@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.
Files changed (189) hide show
  1. package/dist/annotations/converter.d.ts +1 -3
  2. package/dist/annotations/converter.d.ts.map +1 -1
  3. package/dist/annotations/types.d.ts +5 -6
  4. package/dist/annotations/types.d.ts.map +1 -1
  5. package/dist/bconfig/lambdas.d.ts +10 -10
  6. package/dist/bconfig/lambdas.d.ts.map +1 -1
  7. package/dist/bconfig/normalization.d.ts +3 -5
  8. package/dist/bconfig/normalization.d.ts.map +1 -1
  9. package/dist/bconfig/types.d.ts +4 -5
  10. package/dist/bconfig/types.d.ts.map +1 -1
  11. package/dist/bconfig/util.d.ts +1 -3
  12. package/dist/bconfig/util.d.ts.map +1 -1
  13. package/dist/bconfig/v3.d.ts +3 -5
  14. package/dist/bconfig/v3.d.ts.map +1 -1
  15. package/dist/block_api_v1.d.ts +2 -4
  16. package/dist/block_api_v1.d.ts.map +1 -1
  17. package/dist/block_api_v2.d.ts +1 -3
  18. package/dist/block_api_v2.d.ts.map +1 -1
  19. package/dist/block_api_v3.d.ts +1 -3
  20. package/dist/block_api_v3.d.ts.map +1 -1
  21. package/dist/block_migrations.d.ts +20 -36
  22. package/dist/block_migrations.d.ts.map +1 -1
  23. package/dist/block_model.d.ts +10 -10
  24. package/dist/block_model.d.ts.map +1 -1
  25. package/dist/block_state_patch.d.ts +6 -6
  26. package/dist/block_state_patch.d.ts.map +1 -1
  27. package/dist/block_state_util.d.ts +4 -6
  28. package/dist/block_state_util.d.ts.map +1 -1
  29. package/dist/block_storage.d.ts +24 -23
  30. package/dist/block_storage.d.ts.map +1 -1
  31. package/dist/block_storage_facade.d.ts +11 -12
  32. package/dist/block_storage_facade.d.ts.map +1 -1
  33. package/dist/columns/column.d.ts +5 -6
  34. package/dist/columns/column.d.ts.map +1 -1
  35. package/dist/columns/column_providers/index.d.ts +5 -6
  36. package/dist/columns/column_providers/index.d.ts.map +1 -1
  37. package/dist/columns/column_providers/providers.d.ts +10 -11
  38. package/dist/columns/column_providers/providers.d.ts.map +1 -1
  39. package/dist/columns/column_providers/types.d.ts +2 -3
  40. package/dist/columns/column_providers/types.d.ts.map +1 -1
  41. package/dist/columns/column_recipes/column_discovered_recipe.d.ts +1 -3
  42. package/dist/columns/column_recipes/column_discovered_recipe.d.ts.map +1 -1
  43. package/dist/columns/column_recipes/column_filtered_recipe.d.ts +1 -3
  44. package/dist/columns/column_recipes/column_filtered_recipe.d.ts.map +1 -1
  45. package/dist/columns/column_recipes/column_overrided_recipe.d.ts +2 -3
  46. package/dist/columns/column_recipes/column_overrided_recipe.d.ts.map +1 -1
  47. package/dist/columns/column_recipes/index.d.ts +3 -4
  48. package/dist/columns/column_recipes/index.d.ts.map +1 -1
  49. package/dist/columns/column_recipes/types.d.ts +5 -6
  50. package/dist/columns/column_recipes/types.d.ts.map +1 -1
  51. package/dist/columns/columns_collection.d.ts +7 -8
  52. package/dist/columns/columns_collection.d.ts.map +1 -1
  53. package/dist/columns/data_column.d.ts +12 -16
  54. package/dist/columns/data_column.d.ts.map +1 -1
  55. package/dist/columns/derive_axis_values_labels.d.ts +2 -3
  56. package/dist/columns/derive_axis_values_labels.d.ts.map +1 -1
  57. package/dist/columns/split_by_axes.d.ts +3 -5
  58. package/dist/columns/split_by_axes.d.ts.map +1 -1
  59. package/dist/columns/utils.d.ts +10 -12
  60. package/dist/columns/utils.d.ts.map +1 -1
  61. package/dist/components/PFrameForGraphs.d.ts +5 -5
  62. package/dist/components/PFrameForGraphs.d.ts.map +1 -1
  63. package/dist/components/PlAnnotations/filter.d.ts +59 -40
  64. package/dist/components/PlAnnotations/filter.d.ts.map +1 -1
  65. package/dist/components/PlAnnotations/filters_ui.d.ts +18 -18
  66. package/dist/components/PlAnnotations/filters_ui.d.ts.map +1 -1
  67. package/dist/components/PlDataTable/columnResolver.cjs +2 -4
  68. package/dist/components/PlDataTable/columnResolver.cjs.map +1 -1
  69. package/dist/components/PlDataTable/columnResolver.js +2 -4
  70. package/dist/components/PlDataTable/columnResolver.js.map +1 -1
  71. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.cjs +1 -1
  72. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.cjs.map +1 -1
  73. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.d.ts +3 -4
  74. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.d.ts.map +1 -1
  75. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.js +1 -1
  76. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV2.js.map +1 -1
  77. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.cjs +1 -1
  78. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.cjs.map +1 -1
  79. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.d.ts +13 -10
  80. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.d.ts.map +1 -1
  81. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.js +1 -1
  82. package/dist/components/PlDataTable/createPlDataTable/createPlDataTableV3.js.map +1 -1
  83. package/dist/components/PlDataTable/createPlDataTable/discoverColumns.d.ts +5 -5
  84. package/dist/components/PlDataTable/createPlDataTable/discoverColumns.d.ts.map +1 -1
  85. package/dist/components/PlDataTable/createPlDataTable/index.d.ts +4 -4
  86. package/dist/components/PlDataTable/createPlDataTable/index.d.ts.map +1 -1
  87. package/dist/components/PlDataTable/createPlDataTable/utils.d.ts +8 -7
  88. package/dist/components/PlDataTable/createPlDataTable/utils.d.ts.map +1 -1
  89. package/dist/components/PlDataTable/createPlDataTableSheet.d.ts +2 -3
  90. package/dist/components/PlDataTable/createPlDataTableSheet.d.ts.map +1 -1
  91. package/dist/components/PlDataTable/state-migration.d.ts +6 -7
  92. package/dist/components/PlDataTable/state-migration.d.ts.map +1 -1
  93. package/dist/components/PlDataTable/typesV4.d.ts +73 -42
  94. package/dist/components/PlDataTable/typesV4.d.ts.map +1 -1
  95. package/dist/components/PlDataTable/typesV5.d.ts +3 -5
  96. package/dist/components/PlDataTable/typesV5.d.ts.map +1 -1
  97. package/dist/components/PlDataTable/typesV6.d.ts +4 -6
  98. package/dist/components/PlDataTable/typesV6.d.ts.map +1 -1
  99. package/dist/components/PlDataTable/typesV7.d.ts +45 -27
  100. package/dist/components/PlDataTable/typesV7.d.ts.map +1 -1
  101. package/dist/components/PlDataTable/typesV8.d.ts +80 -45
  102. package/dist/components/PlDataTable/typesV8.d.ts.map +1 -1
  103. package/dist/components/PlDatasetSelector/build_dataset_options.d.ts +7 -6
  104. package/dist/components/PlDatasetSelector/build_dataset_options.d.ts.map +1 -1
  105. package/dist/components/PlDatasetSelector/dataset_selection.d.ts +4 -6
  106. package/dist/components/PlDatasetSelector/dataset_selection.d.ts.map +1 -1
  107. package/dist/components/PlDatasetSelector/filter_discovery.d.ts +9 -8
  108. package/dist/components/PlDatasetSelector/filter_discovery.d.ts.map +1 -1
  109. package/dist/components/PlMultiSequenceAlignment.d.ts +6 -13
  110. package/dist/components/PlMultiSequenceAlignment.d.ts.map +1 -1
  111. package/dist/components/PlSelectionModel.d.ts +6 -6
  112. package/dist/components/PlSelectionModel.d.ts.map +1 -1
  113. package/dist/components/index.d.ts +3 -0
  114. package/dist/config/model.d.ts +28 -30
  115. package/dist/config/model.d.ts.map +1 -1
  116. package/dist/config/type_engine.d.ts +3 -5
  117. package/dist/config/type_engine.d.ts.map +1 -1
  118. package/dist/env_value.d.ts +1 -2
  119. package/dist/env_value.d.ts.map +1 -1
  120. package/dist/filters/converters/filterToQuery.d.ts +6 -7
  121. package/dist/filters/converters/filterToQuery.d.ts.map +1 -1
  122. package/dist/filters/converters/filterUiToExpressionImpl.d.ts +2 -4
  123. package/dist/filters/converters/filterUiToExpressionImpl.d.ts.map +1 -1
  124. package/dist/filters/distill.d.ts +1 -3
  125. package/dist/filters/distill.d.ts.map +1 -1
  126. package/dist/filters/index.d.ts +1 -0
  127. package/dist/filters/types.d.ts +3 -4
  128. package/dist/filters/types.d.ts.map +1 -1
  129. package/dist/index.d.ts +9 -0
  130. package/dist/labels/derive_distinct_labels.d.ts +28 -17
  131. package/dist/labels/derive_distinct_labels.d.ts.map +1 -1
  132. package/dist/labels/derive_distinct_tooltips.d.ts +11 -8
  133. package/dist/labels/derive_distinct_tooltips.d.ts.map +1 -1
  134. package/dist/labels/linked_column_postfix.d.ts +3 -5
  135. package/dist/labels/linked_column_postfix.d.ts.map +1 -1
  136. package/dist/package.cjs +1 -1
  137. package/dist/package.js +1 -1
  138. package/dist/pframe.d.ts +1 -3
  139. package/dist/pframe.d.ts.map +1 -1
  140. package/dist/pframe_utils/axes.d.ts +4 -5
  141. package/dist/pframe_utils/axes.d.ts.map +1 -1
  142. package/dist/pframe_utils/columns.d.ts +3 -7
  143. package/dist/pframe_utils/columns.d.ts.map +1 -1
  144. package/dist/pframe_utils/index.d.ts +9 -10
  145. package/dist/pframe_utils/index.d.ts.map +1 -1
  146. package/dist/platforma.d.ts +19 -21
  147. package/dist/platforma.d.ts.map +1 -1
  148. package/dist/plugin_handle.d.ts +11 -13
  149. package/dist/plugin_handle.d.ts.map +1 -1
  150. package/dist/plugin_model.d.ts +21 -22
  151. package/dist/plugin_model.d.ts.map +1 -1
  152. package/dist/raw_globals.d.ts +3 -4
  153. package/dist/raw_globals.d.ts.map +1 -1
  154. package/dist/render/accessor.d.ts +2 -4
  155. package/dist/render/accessor.d.ts.map +1 -1
  156. package/dist/render/api.d.ts +13 -13
  157. package/dist/render/api.d.ts.map +1 -1
  158. package/dist/render/future.d.ts +2 -4
  159. package/dist/render/future.d.ts.map +1 -1
  160. package/dist/render/index.d.ts +1 -0
  161. package/dist/render/internal.d.ts +11 -13
  162. package/dist/render/internal.d.ts.map +1 -1
  163. package/dist/render/traversal_ops.d.ts +14 -11
  164. package/dist/render/traversal_ops.d.ts.map +1 -1
  165. package/dist/render/util/axis_filtering.d.ts +5 -7
  166. package/dist/render/util/axis_filtering.d.ts.map +1 -1
  167. package/dist/render/util/column_collection.d.ts +14 -12
  168. package/dist/render/util/column_collection.d.ts.map +1 -1
  169. package/dist/render/util/label.d.ts +2 -3
  170. package/dist/render/util/label.d.ts.map +1 -1
  171. package/dist/render/util/pcolumn_data.d.ts +24 -25
  172. package/dist/render/util/pcolumn_data.d.ts.map +1 -1
  173. package/dist/render/util/split_selectors.d.ts +4 -6
  174. package/dist/render/util/split_selectors.d.ts.map +1 -1
  175. package/dist/services/block_services.d.ts +3 -4
  176. package/dist/services/block_services.d.ts.map +1 -1
  177. package/dist/services/get_services.d.ts +1 -3
  178. package/dist/services/get_services.d.ts.map +1 -1
  179. package/dist/services/service_bridge.d.ts +3 -5
  180. package/dist/services/service_bridge.d.ts.map +1 -1
  181. package/dist/services/service_resolve.d.ts +6 -7
  182. package/dist/services/service_resolve.d.ts.map +1 -1
  183. package/dist/version.d.ts +3 -4
  184. package/dist/version.d.ts.map +1 -1
  185. package/package.json +10 -10
  186. package/src/components/PlDataTable/columnResolver.test.ts +3 -5
  187. package/src/components/PlDataTable/columnResolver.ts +2 -12
  188. package/src/components/PlDataTable/createPlDataTable/createPlDataTableV2.ts +1 -4
  189. package/src/components/PlDataTable/createPlDataTable/createPlDataTableV3.ts +5 -4
@@ -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":";;;KAEY,GAAA,GACR,aAAA,GACA,UAAA,GACA,YAAA,GACA,aAAA,GACA,YAAA,GACA,eAAA,GACA,kBAAA,GACA,iBAAA,GACA,UAAA,GACA,UAAA,GACA,MAAA,GACA,MAAA,GACA,KAAA,GACA,oBAAA,GACA,mBAAA,GACA,sBAAA,GACA,cAAA,GACA,sBAAA,GACA,oBAAA,GACA,wBAAA,GACA,sBAAA,GACA,0BAAA,GACA,iBAAA,GACA,WAAA,GACA,cAAA,GACA,sBAAA,GACA,YAAA;;AA3BJ;KAmCY,UAAA;EACV,IAAA;EACA,GAAA,EAAK,GAAG;AAAA;AAAA,KAOE,aAAA;EACV,IAAA;EACA,QAAQ;AAAA;AAAA,KAOE,YAAA;EACV,IAAA;EAGA,KAAK;AAAA;AAAA,KAGK,eAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAA;EACR,KAAA,EAAO,GAAG;AAAA;AAAA,KAGA,aAAA;EACV,IAAA;EACA,QAAA,EAAU,MAAM,SAAS,GAAA;AAAA;AAAA,KAGf,YAAA;EACV,IAAA;EACA,QAAA,EAAU,GAAG;AAAA;AAAA,KAGH,kBAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAA;EACR,KAAA;EACA,OAAA,EAAS,GAAG;AAAA;AAAA,KAGF,iBAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAA;EACR,KAAA;EACA,OAAA,EAAS,GAAG;AAAA;AAAA,KAGF,UAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAG;AAAA;AAAA,KAOD,UAAA;EACV,IAAA;EACA,GAAA,EAAK,GAAG;AAAA;AAAA,KAGE,MAAA;EACV,IAAA;EACA,OAAA,EAAS,GAAG;AAAA;AAAA,KAGF,MAAA;EACV,IAAA;EACA,QAAA,EAAU,GAAA;EACV,QAAA,EAAU,GAAG;AAAA;AAAA,KAGH,KAAA;EACV,IAAA;EACA,QAAA,EAAU,GAAA;EACV,QAAA,EAAU,GAAG;AAAA;AAAA,KAOH,oBAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAA;EACR,KAAA;EACA,OAAA,EAAS,GAAG;AAAA;AAAA,KAGF,mBAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAA;EACR,KAAA,EAAO,GAAG;AAAA;AAAA,KAGA,sBAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAG;AAAA;AAAA,KAOD,cAAA;EACV,IAAA;EACA,KAAA,EAAO,UAAA;EACP,MAAA,EAAQ,GAAG;AAAA;AAAA,KAGD,sBAAA;EACV,IAAA;EACA,KAAA,EAAO,UAAA;EACP,MAAA,EAAQ,GAAG;AAAA;AAAA,KAGD,oBAAA;EACV,IAAA;EACA,KAAA,EAAO,UAAA;EACP,MAAA,EAAQ,GAAG;AAAA;AAAA,KAGD,wBAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAG;AAAA;AAAA,KAGD,sBAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAG;AAAA;AAAA,KAOD,0BAAA;EACV,IAAA;EACA,MAAA,EAAQ,aAAA;EACR,MAAA,EAAQ,GAAG;AAAA;AAAA,KAOD,iBAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAG;AAAA;AAAA,KAOD,WAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAG;EACX,KAAA;AAAA;AAAA,KAGU,cAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAG;EACX,eAAA;AAAA;AAAA,KAGU,sBAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAG;EACX,eAAA;AAAA;AAAA,KAGU,YAAA;EACV,IAAA;EACA,MAAA,EAAQ,GAAG;AAAA"}
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":";;;;;AAOA;;;KAAY,WAAA,GAAc,GAAG;AAAA,cAGf,eAAA;AAHgB;AAAA,KAMlB,eAAA,UAAyB,eAAe;AAAA,KAExC,uBAAA,GAA0B,eAAe"}
1
+ {"version":3,"file":"type_engine.d.ts","names":[],"sources":["../../src/config/type_engine.ts"],"mappings":";;;;;;;YAOY,cAAc;cAGZ;;YAGF,yBAAyB;YAEzB,0BAA0B"}
@@ -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
@@ -1 +1 @@
1
- {"version":3,"file":"env_value.d.ts","names":[],"sources":["../src/env_value.ts"],"mappings":";iBAAgB,mBAAA,CAAoB,IAAY"}
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"; /** May be a rich {@link ColumnUniversalId} (Discovered / Overridden / Filtered) or bare PObjectId. */
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":";;;KAWY,iBAAA;EACV,IAAA;EACA,EAAA,EAAI,MAAM;AAAA;AAAA,KAGA,mBAAA;EACV,IAAA,YALA;EAOA,EAAA,EAAI,iBAAiB;AAAA;AAAA,KAGX,aAAA,GAAgB,iBAAA,GAAoB,mBAAmB;AATvD;AAAA,iBAmBI,yBAAA,cAAuC,cAAA,CAAe,aAAA,GACpE,MAAA,EAAQ,UAAA,CAAW,IAAA,IAClB,mBAAA"}
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":";;;;iBAcgB,+BAAA,CAAgC,KAAA,EAAO,UAAA,GAAa,cAAc;AAAA,iBAoFlE,4BAAA,CAA6B,KAAA,EAAO,UAAA,GAAa,UAAU"}
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 (FS extends RootFilterSpec<FilterSpecLeaf<unknown>, unknown, unknown> ? RootFilterSpec<InferFilterSpecLeaf<FS>> : FilterSpec<InferFilterSpecLeaf<FS>>)>(filter: null | undefined | FS): null | R;
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":";;;;AAcA;;;iBAAgB,iBAAA,YACH,UAAA,CAAW,cAAA,yCACZ,EAAA,SAAW,cAAA,CAAe,cAAA,+BAChC,cAAA,CAAe,mBAAA,CAAoB,EAAA,KACnC,UAAA,CAAW,mBAAA,CAAoB,EAAA,KACnC,MAAA,qBAA2B,EAAA,UAAY,CAAA"}
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"}
@@ -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 };
@@ -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 { type FilterSpec$1 as FilterSpec, type FilterSpecLeaf$1 as FilterSpecLeaf, type FilterSpecNode, type FilterSpecOfType, type FilterSpecType, SimplifiedPColumnSpec, SimplifiedUniversalPColumnEntry };
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":";;;KAEY,qBAAA,GAAwB,IAAI,CAAC,WAAA;AAAA,KAE7B,+BAAA;EACV,EAAA,EAAI,mBAAA;EACJ,KAAA;EACA,GAAA,EAAK,qBAAqB;AAAA"}
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. */spec: PColumnSpec; /** Axis qualifications applied on this hop. Not yet consumed by the postfix (deferred). */
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; /** Extra trace entries merged with the base trace from annotations. */
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[]; /** Axis qualifications applied to the hit column / already-bound anchors; rendered as "[…]" suffixes. */
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). */native?: (label: string, spec: PObjectSpec, index: number) => string | undefined;
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; /** Hit-axis qualifications block. Default: `[${formatQualifications(qs)}]`. */
31
- hitQualification?: (qualifications: AxisQualification[], spec: PObjectSpec, index: number) => string | undefined; /** Per-anchor qualifications block. Default: `[${anchorId}: ${formatQualifications(qs)}]`. */
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). */separator?: string; /** If true, native label is appended at the end of the trace zone. By default it is prepended (label is the most important name). */
36
- addLabelAsSuffix?: boolean; /** Force inclusion of native column label even when not needed for uniqueness. */
37
- includeNativeLabel?: boolean; /** Trace types that must be included in the label. */
38
- forceTraceElements?: string[]; /** Per-zone custom formatters. Returning `undefined` from any formatter suppresses the corresponding zone. */
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 { DeriveLabelsFormatters, DeriveLabelsOptions, Entry, LinkerStep, type Trace$1 as Trace, type TraceEntry, deriveDistinctLabels };
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":";;;;;KAiCK,kBAAA,GAAqB,KAAK;EAC7B,UAAA;EACA,QAAA;AAAA;AAAA,KAGU,UAAA;EAJV,2GAMA,IAAA,EAAM,WAAA,EALE;EAOR,cAAA,GAAiB,iBAAiB;AAAA;AAAA,KAGxB,KAAA,GACR,WAAA;EAEE,IAAA,EAAM,WAAA,EANwB;EAQ9B,UAAA,GAAa,kBAAA;EAVX;;EAaF,UAAA,GAAa,UAAA,IAXiB;EAa9B,cAAA,GAAiB,mBAAA;AAAA;;;;;KAOX,sBAAA;EATO,qHAWjB,MAAA,IAAU,KAAA,UAAe,IAAA,EAAM,WAAA,EAAa,KAAA;EATJ;;EAYxC,MAAA,GAAS,eAAA,EAnBL;EAqBJ,gBAAA,IACE,cAAA,EAAgB,iBAAA,IAChB,IAAA,EAAM,WAAA,EACN,KAAA,iCAtBE;EAyBJ,mBAAA,IACE,QAAA,EAAU,SAAA,EACV,cAAA,EAAgB,iBAAA,IAChB,IAAA,EAAM,WAAA,EACN,KAAA;AAAA;AAAA,KAIQ,mBAAA;EA5BN,+DA8BJ,SAAA,WA9BwC;EAgCxC,gBAAA,YAzBU;EA2BV,kBAAA;EAEA,kBAAA,aAxBS;EA0BT,UAAA,GAAa,sBAAsB;AAAA;;;;;;;;iBAUrB,oBAAA,CAAqB,MAAA,EAAQ,KAAA,IAAS,OAAA,GAAS,mBAAwB"}
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. */spec: PColumnSpec; /** Qualifications carried by this variant. */
6
- qualifications?: MatchQualifications; /** Linker steps traversed to reach the hit column. */
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
- }>; /** Position of this variant within the same physical column (1-based). */
12
- variantIndex?: number; /** Total variants for the same physical column. */
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":";;;KAUY,YAAA;wEAEV,IAAA,EAAM,WAAA,EAFgB;EAItB,cAAA,GAAiB,mBAAA,EAFX;EAIN,UAAA,GAAa,aAAA;IAAA,SAAyB,MAAA;MAAA,SAAmB,IAAA,EAAM,WAAA;IAAA;EAAA,IAJ/D;EAMA,YAAA,WAJA;EAMA,YAAA;AAAA;;iBAIc,sBAAA,CAAuB,OAAuB,EAAd,YAAY"}
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":";;;;;AA2CiC;AASjC;;KAdY,UAAA;EAAqB,IAAA,EAAM,IAAI;EAAE,IAAA;AAAA;;KAGjC,WAAA;EACV,IAAA,GAAO,UAAA,CAAW,QAAA;EAClB,OAAA,EAAS,UAAA,CAAW,WAAA;AAAA;;;;;;;KASV,eAAA,IACV,KAAA,EAAO,WAAA,EACP,GAAA,EAAK,WAAW,cAChB,KAAA"}
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
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "1.83.0";
2
+ var version = "1.83.9";
3
3
  //#endregion
4
4
  Object.defineProperty(exports, "version", {
5
5
  enumerable: true,
package/dist/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "1.83.0";
2
+ var version = "1.83.9";
3
3
  //#endregion
4
4
  export { version };
5
5
 
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
@@ -1 +1 @@
1
- {"version":3,"file":"pframe.d.ts","names":[],"sources":["../src/pframe.ts"],"mappings":";;;cAgBa,UAAA,YAAsB,MAAA;EAAA,iBACJ,MAAA;cAAA,MAAA,EAAQ,YAAA;EAExB,WAAA,CAAY,OAAA,EAAS,kBAAA,GAAqB,OAAA,CAAQ,mBAAA;EAIlD,aAAA,CAAc,QAAA,EAAU,SAAA,GAAY,OAAA,CAAQ,WAAA;EAI5C,WAAA,IAAe,OAAA,CAAQ,gBAAA;EAIvB,kBAAA,CACX,OAAA,EAAS,yBAAA,CAA0B,SAAA,GACnC,KAAA,GAAQ,UAAA,GACP,OAAA,CAAQ,0BAAA;EAUE,eAAA,CAAgB,OAAA,EAAS,mBAAA,GAAsB,OAAA,CAAQ,oBAAA;EAAA,QAI5D,YAAA;AAAA"}
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":";;;;KA4BY,SAAA,GAAY,GAAA,CAAI,iBAAA,CAAkB,MAAA,GAAS,kBAAA;AAAA,iBA4CvC,2BAAA,CACd,aAAA,EAAe,OAAA,aAAoB,oBAAA,KACnC,SAAA,EAAW,SAAA,GACV,SAAA;;iBAgBa,gBAAA,WAA2B,IAAA,CAAK,OAAA,aAAoB,oBAAA,YAClE,SAAA,EAAW,SAAA,EACX,OAAA,EAAS,CAAA,KACR,CAAA"}
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"}