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