@platforma-open/milaboratories.antibody-sequence-liabilities 5.2.2 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/block-pack/main.plj.gz +0 -0
- package/block-pack/manifest.json +1 -1
- package/block-pack/model.json +1 -1
- package/block-pack/published.json +1 -1
- package/block-pack/ui.tgz +0 -0
- package/dist/AGENTS.d.ts +159 -69
- package/dist/AGENTS.d.ts.map +1 -1
- package/dist/index.d.ts +159 -69
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +54 -52
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -4661,11 +4661,13 @@ interface ValueWithUTagAndAuthor<V> extends ValueWithUTag<V> {
|
|
|
4661
4661
|
readonly author?: AuthorMarker;
|
|
4662
4662
|
}
|
|
4663
4663
|
//#endregion
|
|
4664
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
4664
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_state_patch.d.ts
|
|
4665
4665
|
//#region src/block_state_patch.d.ts
|
|
4666
4666
|
/** Patch for the structural object */
|
|
4667
4667
|
type Patch<K, V> = {
|
|
4668
|
-
/** Field name to patch */
|
|
4668
|
+
/** Field name to patch */
|
|
4669
|
+
readonly key: K;
|
|
4670
|
+
/** New value for the field */
|
|
4669
4671
|
readonly value: V;
|
|
4670
4672
|
};
|
|
4671
4673
|
/** Creates union type of all possible shallow patches for the given structure */
|
|
@@ -4673,7 +4675,8 @@ type Unionize<T extends Record<string, unknown>> = { [K in keyof T]: Patch<K, T[
|
|
|
4673
4675
|
/** Patch for the BlockState, pushed by onStateUpdates method in SDK. */
|
|
4674
4676
|
type BlockStatePatch<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> = Unionize<BlockState<Args, Outputs, UiState, Href>>;
|
|
4675
4677
|
//#endregion
|
|
4676
|
-
//#
|
|
4678
|
+
//#endregion
|
|
4679
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/plugin_handle.d.ts
|
|
4677
4680
|
//#region src/plugin_handle.d.ts
|
|
4678
4681
|
/**
|
|
4679
4682
|
* Phantom-only base type for constraining PluginHandle's type parameter.
|
|
@@ -4700,7 +4703,7 @@ interface PluginFactoryLike<Data extends Record<string, unknown> = Record<string
|
|
|
4700
4703
|
*/
|
|
4701
4704
|
type PluginHandle<F extends PluginFactoryLike = PluginFactoryLike> = Branded<string, F>;
|
|
4702
4705
|
//#endregion
|
|
4703
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
4706
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_storage.d.ts
|
|
4704
4707
|
/** Payload for storage mutation operations. SDK defines specific operations. */
|
|
4705
4708
|
type MutateStoragePayload<T = unknown> = {
|
|
4706
4709
|
operation: "update-block-data";
|
|
@@ -4711,7 +4714,7 @@ type MutateStoragePayload<T = unknown> = {
|
|
|
4711
4714
|
value: unknown;
|
|
4712
4715
|
};
|
|
4713
4716
|
//#endregion
|
|
4714
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
4717
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/bconfig/lambdas.d.ts
|
|
4715
4718
|
/** Additional information that may alter lambda rendering procedure. */
|
|
4716
4719
|
type ConfigRenderLambdaFlags = {
|
|
4717
4720
|
/**
|
|
@@ -4747,7 +4750,8 @@ type InferOutputsFromLambdas<OutputsCfg extends Record<string, ConfigRenderLambd
|
|
|
4747
4750
|
} ? false : true;
|
|
4748
4751
|
}; };
|
|
4749
4752
|
//#endregion
|
|
4750
|
-
//#
|
|
4753
|
+
//#endregion
|
|
4754
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_api_v1.d.ts
|
|
4751
4755
|
//#region src/block_api_v1.d.ts
|
|
4752
4756
|
/** Returned by state subscription methods to be able to cancel the subscription. */
|
|
4753
4757
|
type CancelSubscription = () => void;
|
|
@@ -4809,6 +4813,7 @@ interface BlockApiV1<Args = unknown, Outputs extends BlockOutputsBase = BlockOut
|
|
|
4809
4813
|
setNavigationState(state: NavigationState<Href>): Promise<void>;
|
|
4810
4814
|
}
|
|
4811
4815
|
//#endregion
|
|
4816
|
+
//#endregion
|
|
4812
4817
|
//#region ../node_modules/.pnpm/fast-json-patch@3.1.1/node_modules/fast-json-patch/module/core.d.ts
|
|
4813
4818
|
declare type Operation = AddOperation<any> | RemoveOperation | ReplaceOperation<any> | MoveOperation | CopyOperation | TestOperation<any> | GetOperation<any>;
|
|
4814
4819
|
interface BaseOperation {
|
|
@@ -4842,7 +4847,7 @@ interface GetOperation<T> extends BaseOperation {
|
|
|
4842
4847
|
value: T;
|
|
4843
4848
|
}
|
|
4844
4849
|
//#endregion
|
|
4845
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
4850
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_api_v2.d.ts
|
|
4846
4851
|
//#region src/block_api_v2.d.ts
|
|
4847
4852
|
/** Defines methods to read and write current block data. */
|
|
4848
4853
|
interface BlockApiV2<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> {
|
|
@@ -4892,12 +4897,13 @@ interface BlockApiV2<Args = unknown, Outputs extends BlockOutputsBase = BlockOut
|
|
|
4892
4897
|
dispose(): Promise<ResultOrError<void>>;
|
|
4893
4898
|
}
|
|
4894
4899
|
//#endregion
|
|
4895
|
-
//#
|
|
4900
|
+
//#endregion
|
|
4901
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/version.d.ts
|
|
4896
4902
|
type SdkInfo = {
|
|
4897
4903
|
readonly sdkVersion: string;
|
|
4898
4904
|
};
|
|
4899
4905
|
//#endregion
|
|
4900
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
4906
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/block_services.d.ts
|
|
4901
4907
|
//#region src/services/block_services.d.ts
|
|
4902
4908
|
/**
|
|
4903
4909
|
* Services required by all V3 blocks by default.
|
|
@@ -4914,14 +4920,14 @@ declare const BLOCK_SERVICE_FLAGS: {
|
|
|
4914
4920
|
};
|
|
4915
4921
|
type BlockServiceFlags = typeof BLOCK_SERVICE_FLAGS;
|
|
4916
4922
|
//#endregion
|
|
4917
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
4923
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/service_resolve.d.ts
|
|
4918
4924
|
//#region src/services/service_resolve.d.ts
|
|
4919
4925
|
type FlagToName<Flag extends string> = Flag extends `requires${infer K}` ? K extends keyof ServiceNameLiterals ? ServiceNameLiterals[K] : never : never;
|
|
4920
4926
|
type RequiredServiceNames<Flags> = { [K in keyof Flags & `requires${string}`]: Flags[K] extends true ? FlagToName<K & string> : never; }[keyof Flags & `requires${string}`];
|
|
4921
4927
|
type ResolveUiServices<Flags> = Pick<UiServices$1, RequiredServiceNames<Flags> & keyof UiServices$1>;
|
|
4922
4928
|
type BlockDefaultUiServices = ResolveUiServices<BlockServiceFlags>;
|
|
4923
4929
|
//#endregion
|
|
4924
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
4930
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/plugin_model.d.ts
|
|
4925
4931
|
/**
|
|
4926
4932
|
* Runtime definition for a single public output field.
|
|
4927
4933
|
* Stored in PluginModel and passed through BlockModelInfo to the UI layer.
|
|
@@ -4930,7 +4936,7 @@ type PublicOutputFieldDef = {
|
|
|
4930
4936
|
readonly getter: (data: unknown) => unknown;
|
|
4931
4937
|
};
|
|
4932
4938
|
//#endregion
|
|
4933
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
4939
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_api_v3.d.ts
|
|
4934
4940
|
//#region src/block_api_v3.d.ts
|
|
4935
4941
|
/** Defines methods to read and write current block data. */
|
|
4936
4942
|
interface BlockApiV3<_Data = unknown, _Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, Href extends `/${string}` = `/${string}`> {
|
|
@@ -4961,7 +4967,8 @@ interface BlockApiV3<_Data = unknown, _Args = unknown, Outputs extends BlockOutp
|
|
|
4961
4967
|
dispose(): Promise<ResultOrError<void>>;
|
|
4962
4968
|
}
|
|
4963
4969
|
//#endregion
|
|
4964
|
-
//#
|
|
4970
|
+
//#endregion
|
|
4971
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/platforma.d.ts
|
|
4965
4972
|
//#region src/platforma.d.ts
|
|
4966
4973
|
/** Defines all methods to interact with the platform environment from within a block UI. @deprecated */
|
|
4967
4974
|
interface PlatformaV1<Args = unknown, Outputs extends Record<string, OutputWithStatus<unknown>> = Record<string, OutputWithStatus<unknown>>, UiState = unknown, Href extends `/${string}` = `/${string}`> extends BlockApiV1<Args, Outputs, UiState, Href>, DriverKit {
|
|
@@ -5002,25 +5009,35 @@ type InferOutputsType<Pl extends Platforma> = Pl extends Platforma<unknown, infe
|
|
|
5002
5009
|
type InferDataType<Pl extends Platforma> = Pl extends Platforma<unknown, Record<string, OutputWithStatus<unknown>>, infer Data> ? Data : never;
|
|
5003
5010
|
type InferHrefType<Pl extends Platforma> = Pl extends Platforma<unknown, BlockOutputsBase, unknown, infer Href> ? Href : never;
|
|
5004
5011
|
//#endregion
|
|
5005
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
5012
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV8.d.ts
|
|
5006
5013
|
//#region src/components/PlDataTable/typesV8.d.ts
|
|
5007
5014
|
type PlTableColumnIdJson$1 = CanonicalizedJson<PTableColumnId>;
|
|
5008
5015
|
type PlDataTableGridStateCore$1 = {
|
|
5009
|
-
/** Includes column ordering */
|
|
5010
|
-
|
|
5011
|
-
|
|
5016
|
+
/** Includes column ordering */
|
|
5017
|
+
columnOrder?: {
|
|
5018
|
+
/** All colIds in order */
|
|
5019
|
+
orderedColIds: PlTableColumnIdJson$1[];
|
|
5020
|
+
};
|
|
5021
|
+
/** Includes current sort columns and direction */
|
|
5012
5022
|
sort?: {
|
|
5013
|
-
/** Sorted columns and directions in order */
|
|
5014
|
-
|
|
5023
|
+
/** Sorted columns and directions in order */
|
|
5024
|
+
sortModel: {
|
|
5025
|
+
/** Column Id to apply the sort to. */
|
|
5026
|
+
colId: PlTableColumnIdJson$1;
|
|
5027
|
+
/** Sort direction */
|
|
5015
5028
|
sort: "asc" | "desc";
|
|
5016
5029
|
}[];
|
|
5017
|
-
};
|
|
5030
|
+
};
|
|
5031
|
+
/** Includes column visibility */
|
|
5018
5032
|
columnVisibility?: {
|
|
5019
|
-
/** All colIds which were hidden */
|
|
5033
|
+
/** All colIds which were hidden */
|
|
5034
|
+
hiddenColIds: PlTableColumnIdJson$1[];
|
|
5020
5035
|
};
|
|
5021
5036
|
};
|
|
5022
5037
|
type PlDataTableSheetState$1 = {
|
|
5023
|
-
/** id of the axis */
|
|
5038
|
+
/** id of the axis */
|
|
5039
|
+
axisId: AxisId;
|
|
5040
|
+
/** selected value */
|
|
5024
5041
|
value: string | number;
|
|
5025
5042
|
};
|
|
5026
5043
|
/** Tree-based filter state compatible with PlAdvancedFilter's RootFilter */
|
|
@@ -5034,11 +5051,17 @@ type PlDataTableFilterSpecLeaf$1 = FilterSpecLeaf<PTableColumnId>;
|
|
|
5034
5051
|
type PlDataTableFilters$1 = RootFilterSpec<PlDataTableFilterSpecLeaf$1>;
|
|
5035
5052
|
type PlDataTableFiltersWithMeta$1 = RootFilterSpec<PlDataTableFilterSpecLeaf$1, PlDataTableFilterMeta$1>;
|
|
5036
5053
|
type PlDataTableStateV2CacheEntry$1 = {
|
|
5037
|
-
/** DataSource identifier for state management */
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5054
|
+
/** DataSource identifier for state management */
|
|
5055
|
+
sourceId: string;
|
|
5056
|
+
/** Internal ag-grid state */
|
|
5057
|
+
gridState: PlDataTableGridStateCore$1;
|
|
5058
|
+
/** Sheets state */
|
|
5059
|
+
sheetsState: PlDataTableSheetState$1[];
|
|
5060
|
+
/** User filters state (tree-based, compatible with PlAdvancedFilter) */
|
|
5061
|
+
filtersState: null | PlDataTableFiltersWithMeta$1;
|
|
5062
|
+
/** Default filters state from model (snapshot of defaults) */
|
|
5063
|
+
defaultFiltersState: null | PlDataTableFiltersWithMeta$1;
|
|
5064
|
+
/** Fast search string */
|
|
5042
5065
|
searchString?: string;
|
|
5043
5066
|
};
|
|
5044
5067
|
type PTableParamsV2$1 = {
|
|
@@ -5055,12 +5078,15 @@ type PTableParamsV2$1 = {
|
|
|
5055
5078
|
defaultFilters: null | PlDataTableFilters$1;
|
|
5056
5079
|
};
|
|
5057
5080
|
type PlDataTableStateV2Normalized$1 = {
|
|
5058
|
-
/** Version for upgrades */
|
|
5059
|
-
|
|
5081
|
+
/** Version for upgrades */
|
|
5082
|
+
version: 8;
|
|
5083
|
+
/** Internal states, LRU cache for 5 sourceId-s */
|
|
5084
|
+
stateCache: PlDataTableStateV2CacheEntry$1[];
|
|
5085
|
+
/** PTable params derived from the cache state for the current sourceId */
|
|
5060
5086
|
pTableParams: PTableParamsV2$1;
|
|
5061
5087
|
};
|
|
5062
5088
|
//#endregion
|
|
5063
|
-
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.
|
|
5089
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV4.d.ts
|
|
5064
5090
|
//#region src/components/PlDataTable/typesV4.d.ts
|
|
5065
5091
|
type PlDataTableFilterState = {
|
|
5066
5092
|
id: PTableColumnId;
|
|
@@ -5072,87 +5098,120 @@ type PlDataTableFilterState = {
|
|
|
5072
5098
|
};
|
|
5073
5099
|
/** PlTableFilters filter entry */
|
|
5074
5100
|
type PlTableFilterIsNotNA = {
|
|
5075
|
-
/** Predicate type */
|
|
5101
|
+
/** Predicate type */
|
|
5102
|
+
type: "isNotNA";
|
|
5076
5103
|
};
|
|
5077
5104
|
/** PlTableFilters filter entry */
|
|
5078
5105
|
type PlTableFilterIsNA = {
|
|
5079
|
-
/** Predicate type */
|
|
5106
|
+
/** Predicate type */
|
|
5107
|
+
type: "isNA";
|
|
5080
5108
|
};
|
|
5081
5109
|
/** PlTableFilters filter entries applicable to both string and number values */
|
|
5082
5110
|
type PlTableFilterCommon = PlTableFilterIsNotNA | PlTableFilterIsNA;
|
|
5083
5111
|
/** PlTableFilters numeric filter entry */
|
|
5084
5112
|
type PlTableFilterNumberEquals = {
|
|
5085
|
-
/** Predicate type */
|
|
5113
|
+
/** Predicate type */
|
|
5114
|
+
type: "number_equals";
|
|
5115
|
+
/** Reference value */
|
|
5086
5116
|
reference: number;
|
|
5087
5117
|
};
|
|
5088
5118
|
/** PlTableFilters numeric filter entry */
|
|
5089
5119
|
type PlTableFilterNumberNotEquals = {
|
|
5090
|
-
/** Predicate type */
|
|
5120
|
+
/** Predicate type */
|
|
5121
|
+
type: "number_notEquals";
|
|
5122
|
+
/** Reference value */
|
|
5091
5123
|
reference: number;
|
|
5092
5124
|
};
|
|
5093
5125
|
/** PlTableFilters numeric filter entry */
|
|
5094
5126
|
type PlTableFilterNumberGreaterThan = {
|
|
5095
|
-
/** Predicate type */
|
|
5127
|
+
/** Predicate type */
|
|
5128
|
+
type: "number_greaterThan";
|
|
5129
|
+
/** Reference value */
|
|
5096
5130
|
reference: number;
|
|
5097
5131
|
};
|
|
5098
5132
|
/** PlTableFilters numeric filter entry */
|
|
5099
5133
|
type PlTableFilterNumberGreaterThanOrEqualTo = {
|
|
5100
|
-
/** Predicate type */
|
|
5134
|
+
/** Predicate type */
|
|
5135
|
+
type: "number_greaterThanOrEqualTo";
|
|
5136
|
+
/** Reference value */
|
|
5101
5137
|
reference: number;
|
|
5102
5138
|
};
|
|
5103
5139
|
/** PlTableFilters numeric filter entry */
|
|
5104
5140
|
type PlTableFilterNumberLessThan = {
|
|
5105
|
-
/** Predicate type */
|
|
5141
|
+
/** Predicate type */
|
|
5142
|
+
type: "number_lessThan";
|
|
5143
|
+
/** Reference value */
|
|
5106
5144
|
reference: number;
|
|
5107
5145
|
};
|
|
5108
5146
|
/** PlTableFilters numeric filter entry */
|
|
5109
5147
|
type PlTableFilterNumberLessThanOrEqualTo = {
|
|
5110
|
-
/** Predicate type */
|
|
5148
|
+
/** Predicate type */
|
|
5149
|
+
type: "number_lessThanOrEqualTo";
|
|
5150
|
+
/** Reference value */
|
|
5111
5151
|
reference: number;
|
|
5112
5152
|
};
|
|
5113
5153
|
/** PlTableFilters numeric filter entry */
|
|
5114
5154
|
type PlTableFilterNumberBetween = {
|
|
5115
|
-
/** Predicate type */
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5155
|
+
/** Predicate type */
|
|
5156
|
+
type: "number_between";
|
|
5157
|
+
/** Reference value for the lower bound */
|
|
5158
|
+
lowerBound: number;
|
|
5159
|
+
/** Defines whether values equal to lower bound reference value should be matched */
|
|
5160
|
+
includeLowerBound: boolean;
|
|
5161
|
+
/** Reference value for the upper bound */
|
|
5162
|
+
upperBound: number;
|
|
5163
|
+
/** Defines whether values equal to upper bound reference value should be matched */
|
|
5119
5164
|
includeUpperBound: boolean;
|
|
5120
5165
|
};
|
|
5121
5166
|
/** All PlTableFilters numeric filter entries */
|
|
5122
5167
|
type PlTableFilterNumber = PlTableFilterCommon | PlTableFilterNumberEquals | PlTableFilterNumberNotEquals | PlTableFilterNumberGreaterThan | PlTableFilterNumberGreaterThanOrEqualTo | PlTableFilterNumberLessThan | PlTableFilterNumberLessThanOrEqualTo | PlTableFilterNumberBetween;
|
|
5123
5168
|
/** PlTableFilters string filter entry */
|
|
5124
5169
|
type PlTableFilterStringEquals = {
|
|
5125
|
-
/** Predicate type */
|
|
5170
|
+
/** Predicate type */
|
|
5171
|
+
type: "string_equals";
|
|
5172
|
+
/** Reference value */
|
|
5126
5173
|
reference: string;
|
|
5127
5174
|
};
|
|
5128
5175
|
/** PlTableFilters string filter entry */
|
|
5129
5176
|
type PlTableFilterStringNotEquals = {
|
|
5130
|
-
/** Predicate type */
|
|
5177
|
+
/** Predicate type */
|
|
5178
|
+
type: "string_notEquals";
|
|
5179
|
+
/** Reference value */
|
|
5131
5180
|
reference: string;
|
|
5132
5181
|
};
|
|
5133
5182
|
/** PlTableFilters string filter entry */
|
|
5134
5183
|
type PlTableFilterStringContains = {
|
|
5135
|
-
/** Predicate type */
|
|
5184
|
+
/** Predicate type */
|
|
5185
|
+
type: "string_contains";
|
|
5186
|
+
/** Reference value */
|
|
5136
5187
|
reference: string;
|
|
5137
5188
|
};
|
|
5138
5189
|
/** PlTableFilters string filter entry */
|
|
5139
5190
|
type PlTableFilterStringDoesNotContain = {
|
|
5140
|
-
/** Predicate type */
|
|
5191
|
+
/** Predicate type */
|
|
5192
|
+
type: "string_doesNotContain";
|
|
5193
|
+
/** Reference value */
|
|
5141
5194
|
reference: string;
|
|
5142
5195
|
};
|
|
5143
5196
|
/** PlTableFilters string filter entry */
|
|
5144
5197
|
type PlTableFilterStringMatches = {
|
|
5145
|
-
/** Predicate type */
|
|
5198
|
+
/** Predicate type */
|
|
5199
|
+
type: "string_matches";
|
|
5200
|
+
/** Reference value */
|
|
5146
5201
|
reference: string;
|
|
5147
5202
|
};
|
|
5148
5203
|
/** PlTableFilters string filter entry */
|
|
5149
5204
|
type PlTableFilterStringDoesNotMatch = {
|
|
5150
|
-
/** Predicate type */
|
|
5205
|
+
/** Predicate type */
|
|
5206
|
+
type: "string_doesNotMatch";
|
|
5207
|
+
/** Reference value */
|
|
5151
5208
|
reference: string;
|
|
5152
5209
|
};
|
|
5153
5210
|
/** PlTableFilters string filter entry */
|
|
5154
5211
|
type PlTableFilterStringContainsFuzzyMatch = {
|
|
5155
|
-
/** Predicate type */
|
|
5212
|
+
/** Predicate type */
|
|
5213
|
+
type: "string_containsFuzzyMatch";
|
|
5214
|
+
/** Reference value */
|
|
5156
5215
|
reference: string;
|
|
5157
5216
|
/**
|
|
5158
5217
|
* Maximum acceptable edit distance between reference value and matched substring
|
|
@@ -5179,25 +5238,36 @@ type PlTableFilterString = PlTableFilterCommon | PlTableFilterStringEquals | PlT
|
|
|
5179
5238
|
/** All PlTableFilters filter entries */
|
|
5180
5239
|
type PlTableFilter = PlTableFilterNumber | PlTableFilterString;
|
|
5181
5240
|
//#endregion
|
|
5182
|
-
//#
|
|
5241
|
+
//#endregion
|
|
5242
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV7.d.ts
|
|
5183
5243
|
//#region src/components/PlDataTable/typesV7.d.ts
|
|
5184
5244
|
type PlTableColumnIdJson = CanonicalizedJson<PTableColumnId>;
|
|
5185
5245
|
type PlDataTableGridStateCore = {
|
|
5186
|
-
/** Includes column ordering */
|
|
5187
|
-
|
|
5188
|
-
|
|
5246
|
+
/** Includes column ordering */
|
|
5247
|
+
columnOrder?: {
|
|
5248
|
+
/** All colIds in order */
|
|
5249
|
+
orderedColIds: PlTableColumnIdJson[];
|
|
5250
|
+
};
|
|
5251
|
+
/** Includes current sort columns and direction */
|
|
5189
5252
|
sort?: {
|
|
5190
|
-
/** Sorted columns and directions in order */
|
|
5191
|
-
|
|
5253
|
+
/** Sorted columns and directions in order */
|
|
5254
|
+
sortModel: {
|
|
5255
|
+
/** Column Id to apply the sort to. */
|
|
5256
|
+
colId: PlTableColumnIdJson;
|
|
5257
|
+
/** Sort direction */
|
|
5192
5258
|
sort: "asc" | "desc";
|
|
5193
5259
|
}[];
|
|
5194
|
-
};
|
|
5260
|
+
};
|
|
5261
|
+
/** Includes column visibility */
|
|
5195
5262
|
columnVisibility?: {
|
|
5196
|
-
/** All colIds which were hidden */
|
|
5263
|
+
/** All colIds which were hidden */
|
|
5264
|
+
hiddenColIds: PlTableColumnIdJson[];
|
|
5197
5265
|
};
|
|
5198
5266
|
};
|
|
5199
5267
|
type PlDataTableSheetState = {
|
|
5200
|
-
/** id of the axis */
|
|
5268
|
+
/** id of the axis */
|
|
5269
|
+
axisId: AxisId;
|
|
5270
|
+
/** selected value */
|
|
5201
5271
|
value: string | number;
|
|
5202
5272
|
};
|
|
5203
5273
|
/** Tree-based filter state compatible with PlAdvancedFilter's RootFilter */
|
|
@@ -5211,11 +5281,17 @@ type PlDataTableFilterSpecLeaf = FilterSpecLeaf<CanonicalizedJson<PTableColumnId
|
|
|
5211
5281
|
type PlDataTableFilters = RootFilterSpec<PlDataTableFilterSpecLeaf>;
|
|
5212
5282
|
type PlDataTableFiltersWithMeta = RootFilterSpec<PlDataTableFilterSpecLeaf, PlDataTableFilterMeta>;
|
|
5213
5283
|
type PlDataTableStateV2CacheEntry = {
|
|
5214
|
-
/** DataSource identifier for state management */
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5284
|
+
/** DataSource identifier for state management */
|
|
5285
|
+
sourceId: string;
|
|
5286
|
+
/** Internal ag-grid state */
|
|
5287
|
+
gridState: PlDataTableGridStateCore;
|
|
5288
|
+
/** Sheets state */
|
|
5289
|
+
sheetsState: PlDataTableSheetState[];
|
|
5290
|
+
/** User filters state (tree-based, compatible with PlAdvancedFilter) */
|
|
5291
|
+
filtersState: null | PlDataTableFiltersWithMeta;
|
|
5292
|
+
/** Default filters state from model (snapshot of defaults) */
|
|
5293
|
+
defaultFiltersState: null | PlDataTableFiltersWithMeta;
|
|
5294
|
+
/** Fast search string */
|
|
5219
5295
|
searchString?: string;
|
|
5220
5296
|
};
|
|
5221
5297
|
type PTableParamsV2 = {
|
|
@@ -5232,12 +5308,16 @@ type PTableParamsV2 = {
|
|
|
5232
5308
|
defaultFilters: null | PlDataTableFilters;
|
|
5233
5309
|
};
|
|
5234
5310
|
type PlDataTableStateV2Normalized = {
|
|
5235
|
-
/** Version for upgrades */
|
|
5236
|
-
|
|
5311
|
+
/** Version for upgrades */
|
|
5312
|
+
version: 7;
|
|
5313
|
+
/** Internal states, LRU cache for 5 sourceId-s */
|
|
5314
|
+
stateCache: PlDataTableStateV2CacheEntry[];
|
|
5315
|
+
/** PTable params derived from the cache state for the current sourceId */
|
|
5237
5316
|
pTableParams: PTableParamsV2;
|
|
5238
5317
|
};
|
|
5239
5318
|
//#endregion
|
|
5240
|
-
//#
|
|
5319
|
+
//#endregion
|
|
5320
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV6.d.ts
|
|
5241
5321
|
//#region src/components/PlDataTable/typesV6.d.ts
|
|
5242
5322
|
/**
|
|
5243
5323
|
* v6 colId scheme: bare canonicalized `PTableColumnSpec` (full spec including
|
|
@@ -5273,7 +5353,8 @@ type PlDataTableStateV2V6 = {
|
|
|
5273
5353
|
pTableParams: PTableParamsV2;
|
|
5274
5354
|
};
|
|
5275
5355
|
//#endregion
|
|
5276
|
-
//#
|
|
5356
|
+
//#endregion
|
|
5357
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/typesV5.d.ts
|
|
5277
5358
|
//#region src/components/PlDataTable/typesV5.d.ts
|
|
5278
5359
|
/**
|
|
5279
5360
|
* v5 colId wrapper. v5 stored every grid colId as `{ source, labeled }` —
|
|
@@ -5301,7 +5382,8 @@ type PlDataTableGridStateV5 = {
|
|
|
5301
5382
|
};
|
|
5302
5383
|
};
|
|
5303
5384
|
//#endregion
|
|
5304
|
-
//#
|
|
5385
|
+
//#endregion
|
|
5386
|
+
//#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/components/PlDataTable/state-migration.d.ts
|
|
5305
5387
|
//#region src/components/PlDataTable/state-migration.d.ts
|
|
5306
5388
|
/**
|
|
5307
5389
|
* PlDataTableV2 persisted state
|
|
@@ -5381,7 +5463,8 @@ type PlDataTableStateV2 = {
|
|
|
5381
5463
|
gridState: PlDataTableGridStateV6;
|
|
5382
5464
|
sheetsState: PlDataTableSheetState$1[];
|
|
5383
5465
|
filtersState: PlDataTableFilterState[];
|
|
5384
|
-
}[];
|
|
5466
|
+
}[];
|
|
5467
|
+
/** Old format; only fields used in migration are typed */
|
|
5385
5468
|
pTableParams: {
|
|
5386
5469
|
sourceId: string | null;
|
|
5387
5470
|
hiddenColIds: PObjectId[] | null;
|
|
@@ -5469,6 +5552,13 @@ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, {
|
|
|
5469
5552
|
modality: ConfigRenderLambda<Modality | undefined>;
|
|
5470
5553
|
} & {
|
|
5471
5554
|
availableRegions: ConfigRenderLambda<("CDR1" | "CDR2" | "CDR3" | "FR1" | "FR2" | "FR3" | "FR4")[] | undefined>;
|
|
5555
|
+
} & {
|
|
5556
|
+
nonCanonicalRegions: ConfigRenderLambda<{
|
|
5557
|
+
regions: {
|
|
5558
|
+
[x: string]: string[];
|
|
5559
|
+
};
|
|
5560
|
+
skippedLiabilities: string[];
|
|
5561
|
+
} | undefined>;
|
|
5472
5562
|
} & {
|
|
5473
5563
|
pt: ConfigRenderLambda<{
|
|
5474
5564
|
sourceId: null | string;
|