@platforma-open/milaboratories.repertoire-mutation-heatmap.block 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -8,10 +8,11 @@ interface AuthorMarker {
8
8
  authorId: string;
9
9
  /** Sequential version of the state local to the author */
10
10
  localVersion: number;
11
- } //#endregion
11
+ }
12
12
  //#endregion
13
13
  //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.d.cts
14
14
  type Primitive$1 = string | number | symbol | bigint | boolean | null | undefined;
15
+ type Scalars = Primitive$1 | Primitive$1[];
15
16
  //#endregion
16
17
  //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.d.cts
17
18
  declare namespace util {
@@ -24,8 +25,8 @@ declare namespace util {
24
25
  export type OmitKeys<T, K extends string> = Pick<T, Exclude<keyof T, K>>;
25
26
  export type MakePartial<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
26
27
  export type Exactly<T, X> = T & Record<Exclude<keyof X, keyof T>, never>;
27
- export type InexactPartial<T> = { [k in keyof T]?: T[k] | undefined };
28
- export const arrayToEnum: <T extends string, U extends [T, ...T[]]>(items: U) => { [k in U[number]]: k };
28
+ export type InexactPartial<T> = { [k in keyof T]?: T[k] | undefined; };
29
+ export const arrayToEnum: <T extends string, U extends [T, ...T[]]>(items: U) => { [k in U[number]]: k; };
29
30
  export const getValidEnumValues: (obj: any) => any[];
30
31
  export const objectValues: (obj: any) => any[];
31
32
  export const objectKeys: ObjectConstructor["keys"];
@@ -39,16 +40,16 @@ declare namespace util {
39
40
  export {};
40
41
  }
41
42
  declare namespace objectUtil {
42
- export type MergeShapes<U, V> = keyof U & keyof V extends never ? U & V : { [k in Exclude<keyof U, keyof V>]: U[k] } & V;
43
- type optionalKeys<T extends object> = { [k in keyof T]: undefined extends T[k] ? k : never }[keyof T];
44
- type requiredKeys<T extends object> = { [k in keyof T]: undefined extends T[k] ? never : k }[keyof T];
45
- export type addQuestionMarks<T extends object, _O = any> = { [K in requiredKeys<T>]: T[K] } & { [K in optionalKeys<T>]?: T[K] } & { [k in keyof T]?: unknown };
43
+ export type MergeShapes<U, V> = keyof U & keyof V extends never ? U & V : { [k in Exclude<keyof U, keyof V>]: U[k]; } & V;
44
+ type optionalKeys<T extends object> = { [k in keyof T]: undefined extends T[k] ? k : never; }[keyof T];
45
+ type requiredKeys<T extends object> = { [k in keyof T]: undefined extends T[k] ? never : k; }[keyof T];
46
+ export type addQuestionMarks<T extends object, _O = any> = { [K in requiredKeys<T>]: T[K]; } & { [K in optionalKeys<T>]?: T[K]; } & { [k in keyof T]?: unknown; };
46
47
  export type identity<T> = T;
47
- export type flatten<T> = identity<{ [k in keyof T]: T[k] }>;
48
- export type noNeverKeys<T> = { [k in keyof T]: [T[k]] extends [never] ? never : k }[keyof T];
49
- export type noNever<T> = identity<{ [k in noNeverKeys<T>]: k extends keyof T ? T[k] : never }>;
48
+ export type flatten<T> = identity<{ [k in keyof T]: T[k]; }>;
49
+ export type noNeverKeys<T> = { [k in keyof T]: [T[k]] extends [never] ? never : k; }[keyof T];
50
+ export type noNever<T> = identity<{ [k in noNeverKeys<T>]: k extends keyof T ? T[k] : never; }>;
50
51
  export const mergeShapes: <U, T>(first: U, second: T) => T & U;
51
- export type extendShape<A extends object, B extends object> = keyof A & keyof B extends never ? A & B : { [K in keyof A as K extends keyof B ? never : K]: A[K] } & { [K in keyof B]: B[K] };
52
+ export type extendShape<A extends object, B extends object> = keyof A & keyof B extends never ? A & B : { [K in keyof A as K extends keyof B ? never : K]: A[K]; } & { [K in keyof B]: B[K]; };
52
53
  export {};
53
54
  }
54
55
  declare const ZodParsedType: {
@@ -74,12 +75,14 @@ declare const ZodParsedType: {
74
75
  set: "set";
75
76
  };
76
77
  type ZodParsedType = keyof typeof ZodParsedType;
78
+ declare const getParsedType: (data: any) => ZodParsedType;
77
79
  //#endregion
78
80
  //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.d.cts
79
81
  type allKeys<T> = T extends any ? keyof T : never;
82
+ type inferFlattenedErrors<T extends ZodType<any, any, any>, U = string> = typeToFlattenedError<TypeOf<T>, U>;
80
83
  type typeToFlattenedError<T, U = string> = {
81
84
  formErrors: U[];
82
- fieldErrors: { [P in allKeys<T>]?: U[] };
85
+ fieldErrors: { [P in allKeys<T>]?: U[]; };
83
86
  };
84
87
  declare const ZodIssueCode: {
85
88
  invalid_type: "invalid_type";
@@ -184,17 +187,22 @@ interface ZodCustomIssue extends ZodIssueBase {
184
187
  [k: string]: any;
185
188
  };
186
189
  }
190
+ type DenormalizedError = {
191
+ [k: string]: DenormalizedError | string[];
192
+ };
187
193
  type ZodIssueOptionalMessage = ZodInvalidTypeIssue | ZodInvalidLiteralIssue | ZodUnrecognizedKeysIssue | ZodInvalidUnionIssue | ZodInvalidUnionDiscriminatorIssue | ZodInvalidEnumValueIssue | ZodInvalidArgumentsIssue | ZodInvalidReturnTypeIssue | ZodInvalidDateIssue | ZodInvalidStringIssue | ZodTooSmallIssue | ZodTooBigIssue | ZodInvalidIntersectionTypesIssue | ZodNotMultipleOfIssue | ZodNotFiniteIssue | ZodCustomIssue;
188
194
  type ZodIssue = ZodIssueOptionalMessage & {
189
195
  fatal?: boolean | undefined;
190
196
  message: string;
191
197
  };
192
- type recursiveZodFormattedError<T> = T extends [any, ...any[]] ? { [K in keyof T]?: ZodFormattedError<T[K]> } : T extends any[] ? {
198
+ declare const quotelessJson: (obj: any) => string;
199
+ type recursiveZodFormattedError<T> = T extends [any, ...any[]] ? { [K in keyof T]?: ZodFormattedError<T[K]>; } : T extends any[] ? {
193
200
  [k: number]: ZodFormattedError<T[number]>;
194
- } : T extends object ? { [K in keyof T]?: ZodFormattedError<T[K]> } : unknown;
201
+ } : T extends object ? { [K in keyof T]?: ZodFormattedError<T[K]>; } : unknown;
195
202
  type ZodFormattedError<T, U = string> = {
196
203
  _errors: U[];
197
204
  } & recursiveZodFormattedError<NonNullable<T>>;
205
+ type inferFormattedError<T extends ZodType<any, any, any>, U = string> = ZodFormattedError<TypeOf<T>, U>;
198
206
  declare class ZodError<T = any> extends Error {
199
207
  issues: ZodIssue[];
200
208
  get errors(): ZodIssue[];
@@ -225,7 +233,20 @@ type ZodErrorMap = (issue: ZodIssueOptionalMessage, _ctx: ErrorMapCtx) => {
225
233
  message: string;
226
234
  };
227
235
  //#endregion
236
+ //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.d.cts
237
+ declare const errorMap: ZodErrorMap;
238
+ //#endregion
239
+ //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.d.cts
240
+ declare function setErrorMap(map: ZodErrorMap): void;
241
+ declare function getErrorMap(): ZodErrorMap;
242
+ //#endregion
228
243
  //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.d.cts
244
+ declare const makeIssue: (params: {
245
+ data: any;
246
+ path: (string | number)[];
247
+ errorMaps: ZodErrorMap[];
248
+ issueData: IssueData;
249
+ }) => ZodIssue;
229
250
  type ParseParams = {
230
251
  path: (string | number)[];
231
252
  errorMap: ZodErrorMap;
@@ -233,6 +254,7 @@ type ParseParams = {
233
254
  };
234
255
  type ParsePathComponent = string | number;
235
256
  type ParsePath = ParsePathComponent[];
257
+ declare const EMPTY_PATH: ParsePath;
236
258
  interface ParseContext {
237
259
  readonly common: {
238
260
  readonly issues: ZodIssue[];
@@ -250,6 +272,11 @@ type ParseInput = {
250
272
  path: (string | number)[];
251
273
  parent: ParseContext;
252
274
  };
275
+ declare function addIssueToContext(ctx: ParseContext, issueData: IssueData): void;
276
+ type ObjectPair = {
277
+ key: SyncParseReturnType<any>;
278
+ value: SyncParseReturnType<any>;
279
+ };
253
280
  declare class ParseStatus {
254
281
  value: "aborted" | "dirty" | "valid";
255
282
  dirty(): void;
@@ -265,6 +292,10 @@ declare class ParseStatus {
265
292
  alwaysSet?: boolean;
266
293
  }[]): SyncParseReturnType;
267
294
  }
295
+ interface ParseResult {
296
+ status: "aborted" | "dirty" | "valid";
297
+ data: any;
298
+ }
268
299
  type INVALID = {
269
300
  status: "aborted";
270
301
  };
@@ -282,6 +313,10 @@ declare const OK: <T>(value: T) => OK<T>;
282
313
  type SyncParseReturnType<T = any> = OK<T> | DIRTY<T> | INVALID;
283
314
  type AsyncParseReturnType<T> = Promise<SyncParseReturnType<T>>;
284
315
  type ParseReturnType<T> = SyncParseReturnType<T> | AsyncParseReturnType<T>;
316
+ declare const isAborted: (x: ParseReturnType<any>) => x is INVALID;
317
+ declare const isDirty: <T>(x: ParseReturnType<T>) => x is OK<T> | DIRTY<T>;
318
+ declare const isValid: <T>(x: ParseReturnType<T>) => x is OK<T>;
319
+ declare const isAsync: <T>(x: ParseReturnType<T>) => x is AsyncParseReturnType<T>;
285
320
  //#endregion
286
321
  //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/enumUtil.d.cts
287
322
  declare namespace enumUtil {
@@ -306,7 +341,7 @@ declare namespace errorUtil {
306
341
  //#endregion
307
342
  //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/partialUtil.d.cts
308
343
  declare namespace partialUtil {
309
- type DeepPartial<T extends ZodTypeAny> = T extends ZodObject<ZodRawShape> ? ZodObject<{ [k in keyof T["shape"]]: ZodOptional<DeepPartial<T["shape"][k]>> }, T["_def"]["unknownKeys"], T["_def"]["catchall"]> : T extends ZodArray<infer Type, infer Card> ? ZodArray<DeepPartial<Type>, Card> : T extends ZodOptional<infer Type> ? ZodOptional<DeepPartial<Type>> : T extends ZodNullable<infer Type> ? ZodNullable<DeepPartial<Type>> : T extends ZodTuple<infer Items> ? { [k in keyof Items]: Items[k] extends ZodTypeAny ? DeepPartial<Items[k]> : never } extends infer PI ? PI extends ZodTupleItems ? ZodTuple<PI> : never : never : T;
344
+ type DeepPartial<T extends ZodTypeAny> = T extends ZodObject<ZodRawShape> ? ZodObject<{ [k in keyof T["shape"]]: ZodOptional<DeepPartial<T["shape"][k]>>; }, T["_def"]["unknownKeys"], T["_def"]["catchall"]> : T extends ZodArray<infer Type, infer Card> ? ZodArray<DeepPartial<Type>, Card> : T extends ZodOptional<infer Type> ? ZodOptional<DeepPartial<Type>> : T extends ZodNullable<infer Type> ? ZodNullable<DeepPartial<Type>> : T extends ZodTuple<infer Items> ? { [k in keyof Items]: Items[k] extends ZodTypeAny ? DeepPartial<Items[k]> : never; } extends (infer PI) ? PI extends ZodTupleItems ? ZodTuple<PI> : never : never : T;
310
345
  }
311
346
  //#endregion
312
347
  //#region ../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/standard-schema.d.cts
@@ -437,6 +472,10 @@ type RawCreateParams = {
437
472
  message?: string | undefined;
438
473
  description?: string | undefined;
439
474
  } | undefined;
475
+ type ProcessedCreateParams = {
476
+ errorMap?: ZodErrorMap | undefined;
477
+ description?: string | undefined;
478
+ };
440
479
  type SafeParseSuccess<Output> = {
441
480
  success: true;
442
481
  data: Output;
@@ -605,6 +644,11 @@ interface ZodStringDef extends ZodTypeDef {
605
644
  typeName: ZodFirstPartyTypeKind.ZodString;
606
645
  coerce: boolean;
607
646
  }
647
+ declare function datetimeRegex(args: {
648
+ precision?: number | null;
649
+ offset?: boolean;
650
+ local?: boolean;
651
+ }): RegExp;
608
652
  declare class ZodString extends ZodType<string, ZodStringDef, string> {
609
653
  _parse(input: ParseInput): ParseReturnType<string>;
610
654
  protected _regex(regex: RegExp, validation: StringValidation, message?: errorUtil.ErrMessage): ZodEffects<this, string, string>;
@@ -735,6 +779,135 @@ declare class ZodNumber extends ZodType<number, ZodNumberDef, number> {
735
779
  get isInt(): boolean;
736
780
  get isFinite(): boolean;
737
781
  }
782
+ type ZodBigIntCheck = {
783
+ kind: "min";
784
+ value: bigint;
785
+ inclusive: boolean;
786
+ message?: string | undefined;
787
+ } | {
788
+ kind: "max";
789
+ value: bigint;
790
+ inclusive: boolean;
791
+ message?: string | undefined;
792
+ } | {
793
+ kind: "multipleOf";
794
+ value: bigint;
795
+ message?: string | undefined;
796
+ };
797
+ interface ZodBigIntDef extends ZodTypeDef {
798
+ checks: ZodBigIntCheck[];
799
+ typeName: ZodFirstPartyTypeKind.ZodBigInt;
800
+ coerce: boolean;
801
+ }
802
+ declare class ZodBigInt extends ZodType<bigint, ZodBigIntDef, bigint> {
803
+ _parse(input: ParseInput): ParseReturnType<bigint>;
804
+ _getInvalidInput(input: ParseInput): INVALID;
805
+ static create: (params?: RawCreateParams & {
806
+ coerce?: boolean;
807
+ }) => ZodBigInt;
808
+ gte(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;
809
+ min: (value: bigint, message?: errorUtil.ErrMessage) => ZodBigInt;
810
+ gt(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;
811
+ lte(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;
812
+ max: (value: bigint, message?: errorUtil.ErrMessage) => ZodBigInt;
813
+ lt(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;
814
+ protected setLimit(kind: "min" | "max", value: bigint, inclusive: boolean, message?: string): ZodBigInt;
815
+ _addCheck(check: ZodBigIntCheck): ZodBigInt;
816
+ positive(message?: errorUtil.ErrMessage): ZodBigInt;
817
+ negative(message?: errorUtil.ErrMessage): ZodBigInt;
818
+ nonpositive(message?: errorUtil.ErrMessage): ZodBigInt;
819
+ nonnegative(message?: errorUtil.ErrMessage): ZodBigInt;
820
+ multipleOf(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;
821
+ get minValue(): bigint | null;
822
+ get maxValue(): bigint | null;
823
+ }
824
+ interface ZodBooleanDef extends ZodTypeDef {
825
+ typeName: ZodFirstPartyTypeKind.ZodBoolean;
826
+ coerce: boolean;
827
+ }
828
+ declare class ZodBoolean extends ZodType<boolean, ZodBooleanDef, boolean> {
829
+ _parse(input: ParseInput): ParseReturnType<boolean>;
830
+ static create: (params?: RawCreateParams & {
831
+ coerce?: boolean;
832
+ }) => ZodBoolean;
833
+ }
834
+ type ZodDateCheck = {
835
+ kind: "min";
836
+ value: number;
837
+ message?: string | undefined;
838
+ } | {
839
+ kind: "max";
840
+ value: number;
841
+ message?: string | undefined;
842
+ };
843
+ interface ZodDateDef extends ZodTypeDef {
844
+ checks: ZodDateCheck[];
845
+ coerce: boolean;
846
+ typeName: ZodFirstPartyTypeKind.ZodDate;
847
+ }
848
+ declare class ZodDate extends ZodType<Date, ZodDateDef, Date> {
849
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
850
+ _addCheck(check: ZodDateCheck): ZodDate;
851
+ min(minDate: Date, message?: errorUtil.ErrMessage): ZodDate;
852
+ max(maxDate: Date, message?: errorUtil.ErrMessage): ZodDate;
853
+ get minDate(): Date | null;
854
+ get maxDate(): Date | null;
855
+ static create: (params?: RawCreateParams & {
856
+ coerce?: boolean;
857
+ }) => ZodDate;
858
+ }
859
+ interface ZodSymbolDef extends ZodTypeDef {
860
+ typeName: ZodFirstPartyTypeKind.ZodSymbol;
861
+ }
862
+ declare class ZodSymbol extends ZodType<symbol, ZodSymbolDef, symbol> {
863
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
864
+ static create: (params?: RawCreateParams) => ZodSymbol;
865
+ }
866
+ interface ZodUndefinedDef extends ZodTypeDef {
867
+ typeName: ZodFirstPartyTypeKind.ZodUndefined;
868
+ }
869
+ declare class ZodUndefined extends ZodType<undefined, ZodUndefinedDef, undefined> {
870
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
871
+ params?: RawCreateParams;
872
+ static create: (params?: RawCreateParams) => ZodUndefined;
873
+ }
874
+ interface ZodNullDef extends ZodTypeDef {
875
+ typeName: ZodFirstPartyTypeKind.ZodNull;
876
+ }
877
+ declare class ZodNull extends ZodType<null, ZodNullDef, null> {
878
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
879
+ static create: (params?: RawCreateParams) => ZodNull;
880
+ }
881
+ interface ZodAnyDef extends ZodTypeDef {
882
+ typeName: ZodFirstPartyTypeKind.ZodAny;
883
+ }
884
+ declare class ZodAny extends ZodType<any, ZodAnyDef, any> {
885
+ _any: true;
886
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
887
+ static create: (params?: RawCreateParams) => ZodAny;
888
+ }
889
+ interface ZodUnknownDef extends ZodTypeDef {
890
+ typeName: ZodFirstPartyTypeKind.ZodUnknown;
891
+ }
892
+ declare class ZodUnknown extends ZodType<unknown, ZodUnknownDef, unknown> {
893
+ _unknown: true;
894
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
895
+ static create: (params?: RawCreateParams) => ZodUnknown;
896
+ }
897
+ interface ZodNeverDef extends ZodTypeDef {
898
+ typeName: ZodFirstPartyTypeKind.ZodNever;
899
+ }
900
+ declare class ZodNever extends ZodType<never, ZodNeverDef, never> {
901
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
902
+ static create: (params?: RawCreateParams) => ZodNever;
903
+ }
904
+ interface ZodVoidDef extends ZodTypeDef {
905
+ typeName: ZodFirstPartyTypeKind.ZodVoid;
906
+ }
907
+ declare class ZodVoid extends ZodType<void, ZodVoidDef, void> {
908
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
909
+ static create: (params?: RawCreateParams) => ZodVoid;
910
+ }
738
911
  interface ZodArrayDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
739
912
  type: T;
740
913
  typeName: ZodFirstPartyTypeKind.ZodArray;
@@ -762,6 +935,7 @@ declare class ZodArray<T extends ZodTypeAny, Cardinality extends ArrayCardinalit
762
935
  nonempty(message?: errorUtil.ErrMessage): ZodArray<T, "atleastone">;
763
936
  static create: <El extends ZodTypeAny>(schema: El, params?: RawCreateParams) => ZodArray<El>;
764
937
  }
938
+ type ZodNonEmptyArray<T extends ZodTypeAny> = ZodArray<T, "atleastone">;
765
939
  type UnknownKeysParam = "passthrough" | "strict" | "strip";
766
940
  interface ZodObjectDef<T extends ZodRawShape = ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
767
941
  typeName: ZodFirstPartyTypeKind.ZodObject;
@@ -769,10 +943,11 @@ interface ZodObjectDef<T extends ZodRawShape = ZodRawShape, UnknownKeys extends
769
943
  catchall: Catchall;
770
944
  unknownKeys: UnknownKeys;
771
945
  }
946
+ type mergeTypes<A, B> = { [k in keyof A | keyof B]: k extends keyof B ? B[k] : k extends keyof A ? A[k] : never; };
772
947
  type objectOutputType<Shape extends ZodRawShape, Catchall extends ZodTypeAny, UnknownKeys extends UnknownKeysParam = UnknownKeysParam> = objectUtil.flatten<objectUtil.addQuestionMarks<baseObjectOutputType<Shape>>> & CatchallOutput<Catchall> & PassthroughType<UnknownKeys>;
773
- type baseObjectOutputType<Shape extends ZodRawShape> = { [k in keyof Shape]: Shape[k]["_output"] };
948
+ type baseObjectOutputType<Shape extends ZodRawShape> = { [k in keyof Shape]: Shape[k]["_output"]; };
774
949
  type objectInputType<Shape extends ZodRawShape, Catchall extends ZodTypeAny, UnknownKeys extends UnknownKeysParam = UnknownKeysParam> = objectUtil.flatten<baseObjectInputType<Shape>> & CatchallInput<Catchall> & PassthroughType<UnknownKeys>;
775
- type baseObjectInputType<Shape extends ZodRawShape> = objectUtil.addQuestionMarks<{ [k in keyof Shape]: Shape[k]["_input"] }>;
950
+ type baseObjectInputType<Shape extends ZodRawShape> = objectUtil.addQuestionMarks<{ [k in keyof Shape]: Shape[k]["_input"]; }>;
776
951
  type CatchallOutput<T extends ZodType> = ZodType extends T ? unknown : {
777
952
  [k: string]: T["_output"];
778
953
  };
@@ -783,6 +958,8 @@ type PassthroughType<T extends UnknownKeysParam> = T extends "passthrough" ? {
783
958
  [k: string]: unknown;
784
959
  } : unknown;
785
960
  type deoptional<T extends ZodTypeAny> = T extends ZodOptional<infer U> ? deoptional<U> : T extends ZodNullable<infer U> ? ZodNullable<deoptional<U>> : T;
961
+ type SomeZodObject = ZodObject<ZodRawShape, UnknownKeysParam, ZodTypeAny>;
962
+ type noUnrecognized<Obj extends object, Shape extends object> = { [k in keyof Obj]: k extends keyof Shape ? Obj[k] : never; };
786
963
  declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = ZodTypeAny, Output = objectOutputType<T, Catchall, UnknownKeys>, Input = objectInputType<T, Catchall, UnknownKeys>> extends ZodType<Output, ZodObjectDef<T, UnknownKeys, Catchall>, Input> {
787
964
  private _cached;
788
965
  _getCached(): {
@@ -810,18 +987,18 @@ declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysPa
810
987
  * upgrade if you are experiencing issues.
811
988
  */
812
989
  merge<Incoming extends AnyZodObject, Augmentation extends Incoming["shape"]>(merging: Incoming): ZodObject<objectUtil.extendShape<T, Augmentation>, Incoming["_def"]["unknownKeys"], Incoming["_def"]["catchall"]>;
813
- setKey<Key extends string, Schema extends ZodTypeAny>(key: Key, schema: Schema): ZodObject<T & { [k in Key]: Schema }, UnknownKeys, Catchall>;
990
+ setKey<Key extends string, Schema extends ZodTypeAny>(key: Key, schema: Schema): ZodObject<T & { [k in Key]: Schema; }, UnknownKeys, Catchall>;
814
991
  catchall<Index extends ZodTypeAny>(index: Index): ZodObject<T, UnknownKeys, Index>;
815
- pick<Mask extends util.Exactly<{ [k in keyof T]?: true }, Mask>>(mask: Mask): ZodObject<Pick<T, Extract<keyof T, keyof Mask>>, UnknownKeys, Catchall>;
816
- omit<Mask extends util.Exactly<{ [k in keyof T]?: true }, Mask>>(mask: Mask): ZodObject<Omit<T, keyof Mask>, UnknownKeys, Catchall>;
992
+ pick<Mask extends util.Exactly<{ [k in keyof T]?: true; }, Mask>>(mask: Mask): ZodObject<Pick<T, Extract<keyof T, keyof Mask>>, UnknownKeys, Catchall>;
993
+ omit<Mask extends util.Exactly<{ [k in keyof T]?: true; }, Mask>>(mask: Mask): ZodObject<Omit<T, keyof Mask>, UnknownKeys, Catchall>;
817
994
  /**
818
995
  * @deprecated
819
996
  */
820
997
  deepPartial(): partialUtil.DeepPartial<this>;
821
- partial(): ZodObject<{ [k in keyof T]: ZodOptional<T[k]> }, UnknownKeys, Catchall>;
822
- partial<Mask extends util.Exactly<{ [k in keyof T]?: true }, Mask>>(mask: Mask): ZodObject<objectUtil.noNever<{ [k in keyof T]: k extends keyof Mask ? ZodOptional<T[k]> : T[k] }>, UnknownKeys, Catchall>;
823
- required(): ZodObject<{ [k in keyof T]: deoptional<T[k]> }, UnknownKeys, Catchall>;
824
- required<Mask extends util.Exactly<{ [k in keyof T]?: true }, Mask>>(mask: Mask): ZodObject<objectUtil.noNever<{ [k in keyof T]: k extends keyof Mask ? deoptional<T[k]> : T[k] }>, UnknownKeys, Catchall>;
998
+ partial(): ZodObject<{ [k in keyof T]: ZodOptional<T[k]>; }, UnknownKeys, Catchall>;
999
+ partial<Mask extends util.Exactly<{ [k in keyof T]?: true; }, Mask>>(mask: Mask): ZodObject<objectUtil.noNever<{ [k in keyof T]: k extends keyof Mask ? ZodOptional<T[k]> : T[k]; }>, UnknownKeys, Catchall>;
1000
+ required(): ZodObject<{ [k in keyof T]: deoptional<T[k]>; }, UnknownKeys, Catchall>;
1001
+ required<Mask extends util.Exactly<{ [k in keyof T]?: true; }, Mask>>(mask: Mask): ZodObject<objectUtil.noNever<{ [k in keyof T]: k extends keyof Mask ? deoptional<T[k]> : T[k]; }>, UnknownKeys, Catchall>;
825
1002
  keyof(): ZodEnum<enumUtil.UnionToTupleString<keyof T>>;
826
1003
  static create: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, "strip", ZodTypeAny, objectOutputType<Shape, ZodTypeAny, "strip">, objectInputType<Shape, ZodTypeAny, "strip">>;
827
1004
  static strictCreate: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, "strict">;
@@ -838,6 +1015,28 @@ declare class ZodUnion<T extends ZodUnionOptions> extends ZodType<T[number]["_ou
838
1015
  get options(): T;
839
1016
  static create: <Options extends Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>>(types: Options, params?: RawCreateParams) => ZodUnion<Options>;
840
1017
  }
1018
+ type ZodDiscriminatedUnionOption<Discriminator extends string> = ZodObject<{ [key in Discriminator]: ZodTypeAny; } & ZodRawShape, UnknownKeysParam, ZodTypeAny>;
1019
+ interface ZodDiscriminatedUnionDef<Discriminator extends string, Options extends readonly ZodDiscriminatedUnionOption<string>[] = ZodDiscriminatedUnionOption<string>[]> extends ZodTypeDef {
1020
+ discriminator: Discriminator;
1021
+ options: Options;
1022
+ optionsMap: Map<Primitive$1, ZodDiscriminatedUnionOption<any>>;
1023
+ typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion;
1024
+ }
1025
+ declare class ZodDiscriminatedUnion<Discriminator extends string, Options extends readonly ZodDiscriminatedUnionOption<Discriminator>[]> extends ZodType<output<Options[number]>, ZodDiscriminatedUnionDef<Discriminator, Options>, input<Options[number]>> {
1026
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
1027
+ get discriminator(): Discriminator;
1028
+ get options(): Options;
1029
+ get optionsMap(): Map<Primitive$1, ZodDiscriminatedUnionOption<any>>;
1030
+ /**
1031
+ * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.
1032
+ * However, it only allows a union of objects, all of which need to share a discriminator property. This property must
1033
+ * have a different value for each object in the union.
1034
+ * @param discriminator the name of the discriminator property
1035
+ * @param types an array of object schemas
1036
+ * @param params
1037
+ */
1038
+ static create<Discriminator extends string, Types extends readonly [ZodDiscriminatedUnionOption<Discriminator>, ...ZodDiscriminatedUnionOption<Discriminator>[]]>(discriminator: Discriminator, options: Types, params?: RawCreateParams): ZodDiscriminatedUnion<Discriminator, Types>;
1039
+ }
841
1040
  interface ZodIntersectionDef<T extends ZodTypeAny = ZodTypeAny, U extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
842
1041
  left: T;
843
1042
  right: U;
@@ -849,21 +1048,98 @@ declare class ZodIntersection<T extends ZodTypeAny, U extends ZodTypeAny> extend
849
1048
  }
850
1049
  type ZodTupleItems = [ZodTypeAny, ...ZodTypeAny[]];
851
1050
  type AssertArray<T> = T extends any[] ? T : never;
852
- type OutputTypeOfTuple<T extends ZodTupleItems | []> = AssertArray<{ [k in keyof T]: T[k] extends ZodType<any, any, any> ? T[k]["_output"] : never }>;
1051
+ type OutputTypeOfTuple<T extends ZodTupleItems | []> = AssertArray<{ [k in keyof T]: T[k] extends ZodType<any, any, any> ? T[k]["_output"] : never; }>;
853
1052
  type OutputTypeOfTupleWithRest<T extends ZodTupleItems | [], Rest extends ZodTypeAny | null = null> = Rest extends ZodTypeAny ? [...OutputTypeOfTuple<T>, ...Rest["_output"][]] : OutputTypeOfTuple<T>;
854
- type InputTypeOfTuple<T extends ZodTupleItems | []> = AssertArray<{ [k in keyof T]: T[k] extends ZodType<any, any, any> ? T[k]["_input"] : never }>;
1053
+ type InputTypeOfTuple<T extends ZodTupleItems | []> = AssertArray<{ [k in keyof T]: T[k] extends ZodType<any, any, any> ? T[k]["_input"] : never; }>;
855
1054
  type InputTypeOfTupleWithRest<T extends ZodTupleItems | [], Rest extends ZodTypeAny | null = null> = Rest extends ZodTypeAny ? [...InputTypeOfTuple<T>, ...Rest["_input"][]] : InputTypeOfTuple<T>;
856
1055
  interface ZodTupleDef<T extends ZodTupleItems | [] = ZodTupleItems, Rest extends ZodTypeAny | null = null> extends ZodTypeDef {
857
1056
  items: T;
858
1057
  rest: Rest;
859
1058
  typeName: ZodFirstPartyTypeKind.ZodTuple;
860
1059
  }
1060
+ type AnyZodTuple = ZodTuple<[ZodTypeAny, ...ZodTypeAny[]] | [], ZodTypeAny | null>;
861
1061
  declare class ZodTuple<T extends ZodTupleItems | [] = ZodTupleItems, Rest extends ZodTypeAny | null = null> extends ZodType<OutputTypeOfTupleWithRest<T, Rest>, ZodTupleDef<T, Rest>, InputTypeOfTupleWithRest<T, Rest>> {
862
1062
  _parse(input: ParseInput): ParseReturnType<this["_output"]>;
863
1063
  get items(): T;
864
1064
  rest<RestSchema extends ZodTypeAny>(rest: RestSchema): ZodTuple<T, RestSchema>;
865
1065
  static create: <Items extends [ZodTypeAny, ...ZodTypeAny[]] | []>(schemas: Items, params?: RawCreateParams) => ZodTuple<Items, null>;
866
1066
  }
1067
+ interface ZodRecordDef<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
1068
+ valueType: Value;
1069
+ keyType: Key;
1070
+ typeName: ZodFirstPartyTypeKind.ZodRecord;
1071
+ }
1072
+ type KeySchema = ZodType<string | number | symbol, any, any>;
1073
+ type RecordType<K extends string | number | symbol, V> = [string] extends [K] ? Record<K, V> : [number] extends [K] ? Record<K, V> : [symbol] extends [K] ? Record<K, V> : [BRAND<string | number | symbol>] extends [K] ? Record<K, V> : Partial<Record<K, V>>;
1074
+ declare class ZodRecord<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> extends ZodType<RecordType<Key["_output"], Value["_output"]>, ZodRecordDef<Key, Value>, RecordType<Key["_input"], Value["_input"]>> {
1075
+ get keySchema(): Key;
1076
+ get valueSchema(): Value;
1077
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
1078
+ get element(): Value;
1079
+ static create<Value extends ZodTypeAny>(valueType: Value, params?: RawCreateParams): ZodRecord<ZodString, Value>;
1080
+ static create<Keys extends KeySchema, Value extends ZodTypeAny>(keySchema: Keys, valueType: Value, params?: RawCreateParams): ZodRecord<Keys, Value>;
1081
+ }
1082
+ interface ZodMapDef<Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
1083
+ valueType: Value;
1084
+ keyType: Key;
1085
+ typeName: ZodFirstPartyTypeKind.ZodMap;
1086
+ }
1087
+ declare class ZodMap<Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny> extends ZodType<Map<Key["_output"], Value["_output"]>, ZodMapDef<Key, Value>, Map<Key["_input"], Value["_input"]>> {
1088
+ get keySchema(): Key;
1089
+ get valueSchema(): Value;
1090
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
1091
+ static create: <KeySchema extends ZodTypeAny = ZodTypeAny, ValueSchema extends ZodTypeAny = ZodTypeAny>(keyType: KeySchema, valueType: ValueSchema, params?: RawCreateParams) => ZodMap<KeySchema, ValueSchema>;
1092
+ }
1093
+ interface ZodSetDef<Value extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
1094
+ valueType: Value;
1095
+ typeName: ZodFirstPartyTypeKind.ZodSet;
1096
+ minSize: {
1097
+ value: number;
1098
+ message?: string | undefined;
1099
+ } | null;
1100
+ maxSize: {
1101
+ value: number;
1102
+ message?: string | undefined;
1103
+ } | null;
1104
+ }
1105
+ declare class ZodSet<Value extends ZodTypeAny = ZodTypeAny> extends ZodType<Set<Value["_output"]>, ZodSetDef<Value>, Set<Value["_input"]>> {
1106
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
1107
+ min(minSize: number, message?: errorUtil.ErrMessage): this;
1108
+ max(maxSize: number, message?: errorUtil.ErrMessage): this;
1109
+ size(size: number, message?: errorUtil.ErrMessage): this;
1110
+ nonempty(message?: errorUtil.ErrMessage): ZodSet<Value>;
1111
+ static create: <ValueSchema extends ZodTypeAny = ZodTypeAny>(valueType: ValueSchema, params?: RawCreateParams) => ZodSet<ValueSchema>;
1112
+ }
1113
+ interface ZodFunctionDef<Args extends ZodTuple<any, any> = ZodTuple<any, any>, Returns extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
1114
+ args: Args;
1115
+ returns: Returns;
1116
+ typeName: ZodFirstPartyTypeKind.ZodFunction;
1117
+ }
1118
+ type OuterTypeOfFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = Args["_input"] extends Array<any> ? (...args: Args["_input"]) => Returns["_output"] : never;
1119
+ type InnerTypeOfFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = Args["_output"] extends Array<any> ? (...args: Args["_output"]) => Returns["_input"] : never;
1120
+ declare class ZodFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> extends ZodType<OuterTypeOfFunction<Args, Returns>, ZodFunctionDef<Args, Returns>, InnerTypeOfFunction<Args, Returns>> {
1121
+ _parse(input: ParseInput): ParseReturnType<any>;
1122
+ parameters(): Args;
1123
+ returnType(): Returns;
1124
+ args<Items extends Parameters<(typeof ZodTuple)["create"]>[0]>(...items: Items): ZodFunction<ZodTuple<Items, ZodUnknown>, Returns>;
1125
+ returns<NewReturnType extends ZodType<any, any, any>>(returnType: NewReturnType): ZodFunction<Args, NewReturnType>;
1126
+ implement<F extends InnerTypeOfFunction<Args, Returns>>(func: F): ReturnType<F> extends Returns["_output"] ? (...args: Args["_input"]) => ReturnType<F> : OuterTypeOfFunction<Args, Returns>;
1127
+ strictImplement(func: InnerTypeOfFunction<Args, Returns>): InnerTypeOfFunction<Args, Returns>;
1128
+ validate: <F extends InnerTypeOfFunction<Args, Returns>>(func: F) => ReturnType<F> extends Returns["_output"] ? (...args: Args["_input"]) => ReturnType<F> : OuterTypeOfFunction<Args, Returns>;
1129
+ static create(): ZodFunction<ZodTuple<[], ZodUnknown>, ZodUnknown>;
1130
+ static create<T extends AnyZodTuple = ZodTuple<[], ZodUnknown>>(args: T): ZodFunction<T, ZodUnknown>;
1131
+ static create<T extends AnyZodTuple, U extends ZodTypeAny>(args: T, returns: U): ZodFunction<T, U>;
1132
+ static create<T extends AnyZodTuple = ZodTuple<[], ZodUnknown>, U extends ZodTypeAny = ZodUnknown>(args: T, returns: U, params?: RawCreateParams): ZodFunction<T, U>;
1133
+ }
1134
+ interface ZodLazyDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
1135
+ getter: () => T;
1136
+ typeName: ZodFirstPartyTypeKind.ZodLazy;
1137
+ }
1138
+ declare class ZodLazy<T extends ZodTypeAny> extends ZodType<output<T>, ZodLazyDef<T>, input<T>> {
1139
+ get schema(): T;
1140
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
1141
+ static create: <Inner extends ZodTypeAny>(getter: () => Inner, params?: RawCreateParams) => ZodLazy<Inner>;
1142
+ }
867
1143
  interface ZodLiteralDef<T = any> extends ZodTypeDef {
868
1144
  value: T;
869
1145
  typeName: ZodFirstPartyTypeKind.ZodLiteral;
@@ -873,13 +1149,15 @@ declare class ZodLiteral<T> extends ZodType<T, ZodLiteralDef<T>, T> {
873
1149
  get value(): T;
874
1150
  static create: <Value extends Primitive$1>(value: Value, params?: RawCreateParams) => ZodLiteral<Value>;
875
1151
  }
1152
+ type ArrayKeys = keyof any[];
1153
+ type Indices<T> = Exclude<keyof T, ArrayKeys>;
876
1154
  type EnumValues<T extends string = string> = readonly [T, ...T[]];
877
- type Values<T extends EnumValues> = { [k in T[number]]: k };
1155
+ type Values<T extends EnumValues> = { [k in T[number]]: k; };
878
1156
  interface ZodEnumDef<T extends EnumValues = EnumValues> extends ZodTypeDef {
879
1157
  values: T;
880
1158
  typeName: ZodFirstPartyTypeKind.ZodEnum;
881
1159
  }
882
- type Writeable<T> = { -readonly [P in keyof T]: T[P] };
1160
+ type Writeable<T> = { -readonly [P in keyof T]: T[P]; };
883
1161
  type FilterEnum<Values, ToExclude> = Values extends [] ? [] : Values extends [infer Head, ...infer Rest] ? Head extends ToExclude ? FilterEnum<Rest, ToExclude> : [Head, ...FilterEnum<Rest, ToExclude>] : never;
884
1162
  type typecast<A, T> = A extends T ? A : never;
885
1163
  declare function createZodEnum<U extends string, T extends Readonly<[U, ...U[]]>>(values: T, params?: RawCreateParams): ZodEnum<Writeable<T>>;
@@ -895,6 +1173,20 @@ declare class ZodEnum<T extends [string, ...string[]]> extends ZodType<T[number]
895
1173
  exclude<ToExclude extends readonly [T[number], ...T[number][]]>(values: ToExclude, newDef?: RawCreateParams): ZodEnum<typecast<Writeable<FilterEnum<T, ToExclude[number]>>, [string, ...string[]]>>;
896
1174
  static create: typeof createZodEnum;
897
1175
  }
1176
+ interface ZodNativeEnumDef<T extends EnumLike = EnumLike> extends ZodTypeDef {
1177
+ values: T;
1178
+ typeName: ZodFirstPartyTypeKind.ZodNativeEnum;
1179
+ }
1180
+ type EnumLike = {
1181
+ [k: string]: string | number;
1182
+ [nu: number]: string;
1183
+ };
1184
+ declare class ZodNativeEnum<T extends EnumLike> extends ZodType<T[keyof T], ZodNativeEnumDef<T>, T[keyof T]> {
1185
+ _cache: Set<T[keyof T]> | undefined;
1186
+ _parse(input: ParseInput): ParseReturnType<T[keyof T]>;
1187
+ get enum(): T;
1188
+ static create: <Elements extends EnumLike>(values: Elements, params?: RawCreateParams) => ZodNativeEnum<Elements>;
1189
+ }
898
1190
  interface ZodPromiseDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
899
1191
  type: T;
900
1192
  typeName: ZodFirstPartyTypeKind.ZodPromise;
@@ -904,6 +1196,8 @@ declare class ZodPromise<T extends ZodTypeAny> extends ZodType<Promise<T["_outpu
904
1196
  _parse(input: ParseInput): ParseReturnType<this["_output"]>;
905
1197
  static create: <Inner extends ZodTypeAny>(schema: Inner, params?: RawCreateParams) => ZodPromise<Inner>;
906
1198
  }
1199
+ type Refinement<T> = (arg: T, ctx: RefinementCtx) => any;
1200
+ type SuperRefinement<T> = (arg: T, ctx: RefinementCtx) => void | Promise<void>;
907
1201
  type RefinementEffect<T> = {
908
1202
  type: "refinement";
909
1203
  refinement: (arg: T, ctx: RefinementCtx) => any;
@@ -933,6 +1227,7 @@ interface ZodOptionalDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
933
1227
  innerType: T;
934
1228
  typeName: ZodFirstPartyTypeKind.ZodOptional;
935
1229
  }
1230
+ type ZodOptionalType<T extends ZodTypeAny> = ZodOptional<T>;
936
1231
  declare class ZodOptional<T extends ZodTypeAny> extends ZodType<T["_output"] | undefined, ZodOptionalDef<T>, T["_input"] | undefined> {
937
1232
  _parse(input: ParseInput): ParseReturnType<this["_output"]>;
938
1233
  unwrap(): T;
@@ -942,6 +1237,7 @@ interface ZodNullableDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
942
1237
  innerType: T;
943
1238
  typeName: ZodFirstPartyTypeKind.ZodNullable;
944
1239
  }
1240
+ type ZodNullableType<T extends ZodTypeAny> = ZodNullable<T>;
945
1241
  declare class ZodNullable<T extends ZodTypeAny> extends ZodType<T["_output"] | null, ZodNullableDef<T>, T["_input"] | null> {
946
1242
  _parse(input: ParseInput): ParseReturnType<this["_output"]>;
947
1243
  unwrap(): T;
@@ -974,13 +1270,20 @@ declare class ZodCatch<T extends ZodTypeAny> extends ZodType<T["_output"], ZodCa
974
1270
  catch: Inner["_output"] | (() => Inner["_output"]);
975
1271
  }) => ZodCatch<Inner>;
976
1272
  }
1273
+ interface ZodNaNDef extends ZodTypeDef {
1274
+ typeName: ZodFirstPartyTypeKind.ZodNaN;
1275
+ }
1276
+ declare class ZodNaN extends ZodType<number, ZodNaNDef, number> {
1277
+ _parse(input: ParseInput): ParseReturnType<any>;
1278
+ static create: (params?: RawCreateParams) => ZodNaN;
1279
+ }
977
1280
  interface ZodBrandedDef<T extends ZodTypeAny> extends ZodTypeDef {
978
1281
  type: T;
979
1282
  typeName: ZodFirstPartyTypeKind.ZodBranded;
980
1283
  }
981
1284
  declare const BRAND: unique symbol;
982
1285
  type BRAND<T extends string | number | symbol> = {
983
- [BRAND]: { [k in T]: true };
1286
+ [BRAND]: { [k in T]: true; };
984
1287
  };
985
1288
  declare class ZodBranded<T extends ZodTypeAny, B extends string | number | symbol> extends ZodType<T["_output"] & BRAND<B>, ZodBrandedDef<T>, T["_input"]> {
986
1289
  _parse(input: ParseInput): ParseReturnType<any>;
@@ -1008,6 +1311,24 @@ declare class ZodReadonly<T extends ZodTypeAny> extends ZodType<MakeReadonly<T["
1008
1311
  static create: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodReadonly<Inner>;
1009
1312
  unwrap(): T;
1010
1313
  }
1314
+ type CustomParams = CustomErrorParams & {
1315
+ fatal?: boolean;
1316
+ };
1317
+ declare function custom<T>(check?: (data: any) => any, _params?: string | CustomParams | ((input: any) => CustomParams),
1318
+ /**
1319
+ * @deprecated
1320
+ *
1321
+ * Pass `fatal` into the params object instead:
1322
+ *
1323
+ * ```ts
1324
+ * z.string().custom((val) => val.length > 5, { fatal: false })
1325
+ * ```
1326
+ *
1327
+ */
1328
+ fatal?: boolean): ZodType<T, ZodTypeDef, T>;
1329
+ declare const late: {
1330
+ object: <Shape extends ZodRawShape>(shape: () => Shape, params?: RawCreateParams) => ZodObject<Shape, "strip">;
1331
+ };
1011
1332
  declare enum ZodFirstPartyTypeKind {
1012
1333
  ZodString = "ZodString",
1013
1334
  ZodNumber = "ZodNumber",
@@ -1046,6 +1367,69 @@ declare enum ZodFirstPartyTypeKind {
1046
1367
  ZodPipeline = "ZodPipeline",
1047
1368
  ZodReadonly = "ZodReadonly"
1048
1369
  }
1370
+ type ZodFirstPartySchemaTypes = ZodString | ZodNumber | ZodNaN | ZodBigInt | ZodBoolean | ZodDate | ZodUndefined | ZodNull | ZodAny | ZodUnknown | ZodNever | ZodVoid | ZodArray<any, any> | ZodObject<any, any, any> | ZodUnion<any> | ZodDiscriminatedUnion<any, any> | ZodIntersection<any, any> | ZodTuple<any, any> | ZodRecord<any, any> | ZodMap<any> | ZodSet<any> | ZodFunction<any, any> | ZodLazy<any> | ZodLiteral<any> | ZodEnum<any> | ZodEffects<any, any, any> | ZodNativeEnum<any> | ZodOptional<any> | ZodNullable<any> | ZodDefault<any> | ZodCatch<any> | ZodPromise<any> | ZodBranded<any, any> | ZodPipeline<any, any> | ZodReadonly<any> | ZodSymbol;
1371
+ declare abstract class Class {
1372
+ constructor(..._: any[]);
1373
+ }
1374
+ declare const instanceOfType: <T extends typeof Class>(cls: T, params?: CustomParams) => ZodType<InstanceType<T>, ZodTypeDef, InstanceType<T>>;
1375
+ declare const stringType: (params?: RawCreateParams & {
1376
+ coerce?: true;
1377
+ }) => ZodString;
1378
+ declare const numberType: (params?: RawCreateParams & {
1379
+ coerce?: boolean;
1380
+ }) => ZodNumber;
1381
+ declare const nanType: (params?: RawCreateParams) => ZodNaN;
1382
+ declare const bigIntType: (params?: RawCreateParams & {
1383
+ coerce?: boolean;
1384
+ }) => ZodBigInt;
1385
+ declare const booleanType: (params?: RawCreateParams & {
1386
+ coerce?: boolean;
1387
+ }) => ZodBoolean;
1388
+ declare const dateType: (params?: RawCreateParams & {
1389
+ coerce?: boolean;
1390
+ }) => ZodDate;
1391
+ declare const symbolType: (params?: RawCreateParams) => ZodSymbol;
1392
+ declare const undefinedType: (params?: RawCreateParams) => ZodUndefined;
1393
+ declare const nullType: (params?: RawCreateParams) => ZodNull;
1394
+ declare const anyType: (params?: RawCreateParams) => ZodAny;
1395
+ declare const unknownType: (params?: RawCreateParams) => ZodUnknown;
1396
+ declare const neverType: (params?: RawCreateParams) => ZodNever;
1397
+ declare const voidType: (params?: RawCreateParams) => ZodVoid;
1398
+ declare const arrayType: <El extends ZodTypeAny>(schema: El, params?: RawCreateParams) => ZodArray<El>;
1399
+ declare const objectType: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, "strip", ZodTypeAny, objectOutputType<Shape, ZodTypeAny, "strip">, objectInputType<Shape, ZodTypeAny, "strip">>;
1400
+ declare const strictObjectType: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, "strict">;
1401
+ declare const unionType: <Options extends Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>>(types: Options, params?: RawCreateParams) => ZodUnion<Options>;
1402
+ declare const discriminatedUnionType: typeof ZodDiscriminatedUnion.create;
1403
+ declare const intersectionType: <TSchema extends ZodTypeAny, USchema extends ZodTypeAny>(left: TSchema, right: USchema, params?: RawCreateParams) => ZodIntersection<TSchema, USchema>;
1404
+ declare const tupleType: <Items extends [ZodTypeAny, ...ZodTypeAny[]] | []>(schemas: Items, params?: RawCreateParams) => ZodTuple<Items, null>;
1405
+ declare const recordType: typeof ZodRecord.create;
1406
+ declare const mapType: <KeySchema extends ZodTypeAny = ZodTypeAny, ValueSchema extends ZodTypeAny = ZodTypeAny>(keyType: KeySchema, valueType: ValueSchema, params?: RawCreateParams) => ZodMap<KeySchema, ValueSchema>;
1407
+ declare const setType: <ValueSchema extends ZodTypeAny = ZodTypeAny>(valueType: ValueSchema, params?: RawCreateParams) => ZodSet<ValueSchema>;
1408
+ declare const functionType: typeof ZodFunction.create;
1409
+ declare const lazyType: <Inner extends ZodTypeAny>(getter: () => Inner, params?: RawCreateParams) => ZodLazy<Inner>;
1410
+ declare const literalType: <Value extends Primitive$1>(value: Value, params?: RawCreateParams) => ZodLiteral<Value>;
1411
+ declare const enumType: typeof createZodEnum;
1412
+ declare const nativeEnumType: <Elements extends EnumLike>(values: Elements, params?: RawCreateParams) => ZodNativeEnum<Elements>;
1413
+ declare const promiseType: <Inner extends ZodTypeAny>(schema: Inner, params?: RawCreateParams) => ZodPromise<Inner>;
1414
+ declare const effectsType: <I extends ZodTypeAny>(schema: I, effect: Effect<I["_output"]>, params?: RawCreateParams) => ZodEffects<I, I["_output"]>;
1415
+ declare const optionalType: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodOptional<Inner>;
1416
+ declare const nullableType: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodNullable<Inner>;
1417
+ declare const preprocessType: <I extends ZodTypeAny>(preprocess: (arg: unknown, ctx: RefinementCtx) => unknown, schema: I, params?: RawCreateParams) => ZodEffects<I, I["_output"], unknown>;
1418
+ declare const pipelineType: typeof ZodPipeline.create;
1419
+ declare const ostring: () => ZodOptional<ZodString>;
1420
+ declare const onumber: () => ZodOptional<ZodNumber>;
1421
+ declare const oboolean: () => ZodOptional<ZodBoolean>;
1422
+ declare const coerce: {
1423
+ string: (typeof ZodString)["create"];
1424
+ number: (typeof ZodNumber)["create"];
1425
+ boolean: (typeof ZodBoolean)["create"];
1426
+ bigint: (typeof ZodBigInt)["create"];
1427
+ date: (typeof ZodDate)["create"];
1428
+ };
1429
+ declare const NEVER: never;
1430
+ declare namespace external_d_exports {
1431
+ export { AnyZodObject, AnyZodTuple, ArrayCardinality, ArrayKeys, AssertArray, AsyncParseReturnType, BRAND, CatchallInput, CatchallOutput, CustomErrorParams, DIRTY, DenormalizedError, EMPTY_PATH, Effect, EnumLike, EnumValues, ErrorMapCtx, FilterEnum, INVALID, Indices, InnerTypeOfFunction, InputTypeOfTuple, InputTypeOfTupleWithRest, IpVersion, IssueData, KeySchema, NEVER, OK, ObjectPair, OuterTypeOfFunction, OutputTypeOfTuple, OutputTypeOfTupleWithRest, ParseContext, ParseInput, ParseParams, ParsePath, ParsePathComponent, ParseResult, ParseReturnType, ParseStatus, PassthroughType, PreprocessEffect, Primitive$1 as Primitive, ProcessedCreateParams, RawCreateParams, RecordType, Refinement, RefinementCtx, RefinementEffect, SafeParseError, SafeParseReturnType, SafeParseSuccess, Scalars, ZodType as Schema, SomeZodObject, StringValidation, SuperRefinement, SyncParseReturnType, TransformEffect, TypeOf, UnknownKeysParam, Values, Writeable, ZodAny, ZodAnyDef, ZodArray, ZodArrayDef, ZodBigInt, ZodBigIntCheck, ZodBigIntDef, ZodBoolean, ZodBooleanDef, ZodBranded, ZodBrandedDef, ZodCatch, ZodCatchDef, ZodCustomIssue, ZodDate, ZodDateCheck, ZodDateDef, ZodDefault, ZodDefaultDef, ZodDiscriminatedUnion, ZodDiscriminatedUnionDef, ZodDiscriminatedUnionOption, ZodEffects, ZodEffectsDef, ZodEnum, ZodEnumDef, ZodError, ZodErrorMap, ZodFirstPartySchemaTypes, ZodFirstPartyTypeKind, ZodFormattedError, ZodFunction, ZodFunctionDef, ZodIntersection, ZodIntersectionDef, ZodInvalidArgumentsIssue, ZodInvalidDateIssue, ZodInvalidEnumValueIssue, ZodInvalidIntersectionTypesIssue, ZodInvalidLiteralIssue, ZodInvalidReturnTypeIssue, ZodInvalidStringIssue, ZodInvalidTypeIssue, ZodInvalidUnionDiscriminatorIssue, ZodInvalidUnionIssue, ZodIssue, ZodIssueBase, ZodIssueCode, ZodIssueOptionalMessage, ZodLazy, ZodLazyDef, ZodLiteral, ZodLiteralDef, ZodMap, ZodMapDef, ZodNaN, ZodNaNDef, ZodNativeEnum, ZodNativeEnumDef, ZodNever, ZodNeverDef, ZodNonEmptyArray, ZodNotFiniteIssue, ZodNotMultipleOfIssue, ZodNull, ZodNullDef, ZodNullable, ZodNullableDef, ZodNullableType, ZodNumber, ZodNumberCheck, ZodNumberDef, ZodObject, ZodObjectDef, ZodOptional, ZodOptionalDef, ZodOptionalType, ZodParsedType, ZodPipeline, ZodPipelineDef, ZodPromise, ZodPromiseDef, ZodRawShape, ZodReadonly, ZodReadonlyDef, ZodRecord, ZodRecordDef, ZodType as ZodSchema, ZodSet, ZodSetDef, ZodString, ZodStringCheck, ZodStringDef, ZodSymbol, ZodSymbolDef, ZodTooBigIssue, ZodTooSmallIssue, ZodEffects as ZodTransformer, ZodTuple, ZodTupleDef, ZodTupleItems, ZodType, ZodTypeAny, ZodTypeDef, ZodUndefined, ZodUndefinedDef, ZodUnion, ZodUnionDef, ZodUnionOptions, ZodUnknown, ZodUnknownDef, ZodUnrecognizedKeysIssue, ZodVoid, ZodVoidDef, addIssueToContext, anyType as any, arrayType as array, arrayOutputType, baseObjectInputType, baseObjectOutputType, bigIntType as bigint, booleanType as boolean, coerce, custom, dateType as date, datetimeRegex, errorMap as defaultErrorMap, deoptional, discriminatedUnionType as discriminatedUnion, effectsType as effect, enumType as enum, functionType as function, getErrorMap, getParsedType, TypeOf as infer, inferFlattenedErrors, inferFormattedError, input, instanceOfType as instanceof, intersectionType as intersection, isAborted, isAsync, isDirty, isValid, late, lazyType as lazy, literalType as literal, makeIssue, mapType as map, mergeTypes, nanType as nan, nativeEnumType as nativeEnum, neverType as never, noUnrecognized, nullType as null, nullableType as nullable, numberType as number, objectType as object, objectInputType, objectOutputType, objectUtil, oboolean, onumber, optionalType as optional, ostring, output, pipelineType as pipeline, preprocessType as preprocess, promiseType as promise, quotelessJson, recordType as record, setType as set, setErrorMap, strictObjectType as strictObject, stringType as string, symbolType as symbol, effectsType as transformer, tupleType as tuple, typeToFlattenedError, typecast, undefinedType as undefined, unionType as union, unknownType as unknown, util, voidType as void };
1432
+ }
1049
1433
  //#endregion
1050
1434
  //#region ../node_modules/.pnpm/@milaboratories+pl-error-like@1.12.10/node_modules/@milaboratories/pl-error-like/dist/error_like_shape.d.ts
1051
1435
  //#region src/error_like_shape.d.ts
@@ -1098,7 +1482,6 @@ type StandardErrorLike = TypeOf<typeof BaseStandardErrorLike> & {
1098
1482
  declare const StandardErrorLike: ZodType<StandardErrorLike>;
1099
1483
  declare const ErrorLike: ZodUnion<[ZodType<StandardErrorLike, ZodTypeDef, StandardErrorLike>, ZodType<PlErrorLike, ZodTypeDef, PlErrorLike>]>;
1100
1484
  type ErrorLike = TypeOf<typeof ErrorLike>;
1101
- /** Converts everything into ErrorLike. */
1102
1485
  //#endregion
1103
1486
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/common_types.d.ts
1104
1487
  type OutputWithStatus<T> = {
@@ -1129,7 +1512,7 @@ type JsonValue = JsonPrimitive | JsonValue[] | {
1129
1512
  [key: string]: JsonValue;
1130
1513
  };
1131
1514
  type NotAssignableToJson = bigint | symbol | Function;
1132
- type JsonCompatible<T> = unknown extends T ? unknown : [T] extends [JsonValue] ? T : [T] extends [NotAssignableToJson] ? never : { [P in keyof T]: [Exclude<T[P], undefined>] extends [JsonValue] ? T[P] : [Exclude<T[P], undefined>] extends [NotAssignableToJson] ? never : JsonCompatible<T[P]> };
1515
+ type JsonCompatible<T> = unknown extends T ? unknown : [T] extends [JsonValue] ? T : [T] extends [NotAssignableToJson] ? never : { [P in keyof T]: [Exclude<T[P], undefined>] extends [JsonValue] ? T[P] : [Exclude<T[P], undefined>] extends [NotAssignableToJson] ? never : JsonCompatible<T[P]>; };
1133
1516
  type StringifiedJson<T = unknown> = JsonCompatible<T> extends never ? never : string & {
1134
1517
  __json_stringified: T;
1135
1518
  };
@@ -1148,7 +1531,7 @@ type CanonicalizedJson<T = unknown> = JsonCompatible<T> extends never ? never :
1148
1531
  * @template Href typed href to represent navigation state
1149
1532
  */
1150
1533
  type BlockState<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> = {
1151
- /** Block arguments passed to the workflow */args: Args;
1534
+ /** Block arguments passed to the workflow */ args: Args;
1152
1535
  /** UI State persisted in the block state but not passed to the backend
1153
1536
  * template */
1154
1537
  ui: UiState; /** Outputs rendered with block config */
@@ -1157,16 +1540,16 @@ type BlockState<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsB
1157
1540
  readonly author: AuthorMarker | undefined;
1158
1541
  };
1159
1542
  type BlockStateV3<_Data = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, Href extends `/${string}` = `/${string}`> = {
1160
- /** Block storage persisted in the block state */blockStorage: StringifiedJson; /** Outputs rendered with block config */
1543
+ /** Block storage persisted in the block state */ blockStorage: StringifiedJson; /** Outputs rendered with block config */
1161
1544
  outputs: Outputs; /** Current navigation state */
1162
1545
  navigationState: NavigationState<Href>;
1163
1546
  readonly author: AuthorMarker | undefined;
1164
- }; //#endregion
1547
+ };
1165
1548
  //#endregion
1166
1549
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/branding.d.ts
1167
1550
  //#region src/branding.d.ts
1168
- type Brand<B, K extends string = "__pl_model_brand__"> = { [key in K]: B };
1169
- type Branded$1<T, B, K extends string = "__pl_model_brand__"> = T & Brand<B, K>; //#endregion
1551
+ type Brand<B, K extends string = "__pl_model_brand__"> = { [key in K]: B; };
1552
+ type Branded$1<T, B, K extends string = "__pl_model_brand__"> = T & Brand<B, K>;
1170
1553
  //#endregion
1171
1554
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/dialog/index.d.ts
1172
1555
  //#region src/dialog/index.d.ts
@@ -1199,7 +1582,7 @@ interface ShowSaveDialogResult {
1199
1582
  */
1200
1583
  interface DialogService {
1201
1584
  showSaveDialog(options: ShowSaveDialogOptions): Promise<ShowSaveDialogResult>;
1202
- } //#endregion
1585
+ }
1203
1586
  //#endregion
1204
1587
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/pool_entry.d.ts
1205
1588
  //#region src/pool_entry.d.ts
@@ -1215,10 +1598,6 @@ interface PoolEntry<K extends string = string, R extends {} = {}> extends Dispos
1215
1598
  */
1216
1599
  readonly unref: () => void;
1217
1600
  }
1218
- /**
1219
- * Wraps a PoolEntry for use with `using`. Auto-calls `unref()` at end of scope
1220
- * unless `keep()` is called to transfer ownership to the caller.
1221
- */
1222
1601
  //#endregion
1223
1602
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/table_common.d.ts
1224
1603
  //#region src/drivers/pframe/table_common.d.ts
@@ -1261,7 +1640,7 @@ type PVectorDataString = (null | string)[];
1261
1640
  type PVectorDataBytes = (null | Uint8Array)[];
1262
1641
  type PVectorDataTyped<DataType extends ValueType> = DataType extends typeof ValueType.Int ? PVectorDataInt : DataType extends typeof ValueType.Long ? PVectorDataLong : DataType extends typeof ValueType.Float ? PVectorDataFloat : DataType extends typeof ValueType.Double ? PVectorDataDouble : DataType extends typeof ValueType.String ? PVectorDataString : DataType extends typeof ValueType.Bytes ? PVectorDataBytes : never;
1263
1642
  type PTableVectorTyped<DataType extends ValueType> = {
1264
- /** Stored data type */readonly type: DataType; /** Values for present positions */
1643
+ /** Stored data type */ readonly type: DataType; /** Values for present positions */
1265
1644
  readonly data: PVectorDataTyped<DataType>;
1266
1645
  /**
1267
1646
  * Encoded bit array marking some elements of this vector as NA,
@@ -1275,17 +1654,16 @@ type PTableVectorTyped<DataType extends ValueType> = {
1275
1654
  type PTableVector = PTableVectorTyped<ValueType>;
1276
1655
  /** Used in requests to partially retrieve table's data */
1277
1656
  type TableRange = {
1278
- /** Index of the first record to retrieve */readonly offset: number; /** Block length */
1657
+ /** Index of the first record to retrieve */ readonly offset: number; /** Block length */
1279
1658
  readonly length: number;
1280
1659
  };
1281
1660
  /** Unified information about table shape */
1282
1661
  type PTableShape = {
1283
- /** Number of unified table columns, including all axes and PColumn values */columns: number; /** Number of rows */
1662
+ /** Number of unified table columns, including all axes and PColumn values */ columns: number; /** Number of rows */
1284
1663
  rows: number;
1285
1664
  };
1286
1665
  /** Supported formats for PTable file download. */
1287
1666
  type PTableDownloadFormat = "csv" | "tsv";
1288
- /** Compression applied to the written file. */
1289
1667
  /** Options for downloading PTable data to a file. */
1290
1668
  interface WritePTableToFsOptions {
1291
1669
  path: string;
@@ -1319,11 +1697,6 @@ interface WritePTableToFsResult {
1319
1697
  rowsWritten: number;
1320
1698
  bytesWritten: number;
1321
1699
  }
1322
- /**
1323
- * Maximum number of data rows allowed per sheet in an `xlsx` export, kept below
1324
- * Excel's hard limit of 1,048,576. The driver rejects oversized `xlsx` exports
1325
- * (see {@link PFrameDriver.exportPTable}); UIs use it to gate the `xlsx` option.
1326
- */
1327
1700
  /** Options for {@link PFrameDriver.exportPTable}. */
1328
1701
  interface ExportPTableOptions {
1329
1702
  /** Destination file path; its extension selects the output format
@@ -1344,7 +1717,7 @@ interface ExportPTableOptions {
1344
1717
  * read. Older runtimes ignore this field and use {@link columnIndices} alone.
1345
1718
  */
1346
1719
  headerNames?: string[];
1347
- } //#endregion
1720
+ }
1348
1721
  //#endregion
1349
1722
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/data_info.d.ts
1350
1723
  //#region src/drivers/pframe/data_info.d.ts
@@ -1361,16 +1734,12 @@ type PColumnValue = null | number | string;
1361
1734
  * Can be an array of strings or numbers.
1362
1735
  */
1363
1736
  type PColumnKey = (number | string)[];
1364
- /**
1365
- * Represents a single entry in a PColumn's data structure.
1366
- * Contains a key and a value.
1367
- */
1368
1737
  /**
1369
1738
  * Represents column data stored as a simple JSON structure.
1370
1739
  * Used for small datasets that can be efficiently stored directly in memory.
1371
1740
  */
1372
1741
  type JsonDataInfo = {
1373
- /** Identifier for this data format ('Json') */type: "Json"; /** Number of axes that make up the complete key (tuple length) */
1742
+ /** Identifier for this data format ('Json') */ type: "Json"; /** Number of axes that make up the complete key (tuple length) */
1374
1743
  keyLength: number;
1375
1744
  /**
1376
1745
  * Key-value pairs where keys are stringified tuples of axis values
@@ -1383,7 +1752,7 @@ type JsonDataInfo = {
1383
1752
  * Used for larger datasets that need to be split into manageable chunks.
1384
1753
  */
1385
1754
  type JsonPartitionedDataInfo<Blob> = {
1386
- /** Identifier for this data format ('JsonPartitioned') */type: "JsonPartitioned"; /** Number of leading axes used for partitioning */
1755
+ /** Identifier for this data format ('JsonPartitioned') */ type: "JsonPartitioned"; /** Number of leading axes used for partitioning */
1387
1756
  partitionKeyLength: number; /** Map of stringified partition keys to blob references */
1388
1757
  parts: Record<string, Blob>;
1389
1758
  };
@@ -1392,7 +1761,7 @@ type JsonPartitionedDataInfo<Blob> = {
1392
1761
  * Used for efficient storage and retrieval of column data in binary format.
1393
1762
  */
1394
1763
  type BinaryChunk<Blob> = {
1395
- /** Binary blob containing structured index information */index: Blob; /** Binary blob containing the actual values */
1764
+ /** Binary blob containing structured index information */ index: Blob; /** Binary blob containing the actual values */
1396
1765
  values: Blob;
1397
1766
  };
1398
1767
  /**
@@ -1400,12 +1769,12 @@ type BinaryChunk<Blob> = {
1400
1769
  * Optimized for efficient storage and retrieval of large datasets.
1401
1770
  */
1402
1771
  type BinaryPartitionedDataInfo<Blob> = {
1403
- /** Identifier for this data format ('BinaryPartitioned') */type: "BinaryPartitioned"; /** Number of leading axes used for partitioning */
1772
+ /** Identifier for this data format ('BinaryPartitioned') */ type: "BinaryPartitioned"; /** Number of leading axes used for partitioning */
1404
1773
  partitionKeyLength: number; /** Map of stringified partition keys to binary chunks */
1405
1774
  parts: Record<string, BinaryChunk<Blob>>;
1406
1775
  };
1407
1776
  type ParquetPartitionedDataInfo<Blob> = {
1408
- /** Identifier for this data format ('ParquetPartitioned') */type: "ParquetPartitioned"; /** Number of leading axes used for partitioning */
1777
+ /** Identifier for this data format ('ParquetPartitioned') */ type: "ParquetPartitioned"; /** Number of leading axes used for partitioning */
1409
1778
  partitionKeyLength: number; /** Map of stringified partition keys to parquet files */
1410
1779
  parts: Record<string, Blob>;
1411
1780
  };
@@ -1416,12 +1785,6 @@ type ParquetPartitionedDataInfo<Blob> = {
1416
1785
  * @template Blob - Type parameter representing the storage reference type (could be ResourceInfo, PFrameBlobId, etc.)
1417
1786
  */
1418
1787
  type DataInfo<Blob> = JsonDataInfo | JsonPartitionedDataInfo<Blob> | BinaryPartitionedDataInfo<Blob> | ParquetPartitionedDataInfo<Blob>;
1419
- /**
1420
- * Type guard function that checks if the given value is a valid DataInfo.
1421
- *
1422
- * @param value - The value to check
1423
- * @returns True if the value is a valid DataInfo, false otherwise
1424
- */
1425
1788
  /**
1426
1789
  * Represents a single key-value entry in a column's explicit data structure.
1427
1790
  * Used when directly instantiating PColumns with explicit data.
@@ -1435,9 +1798,6 @@ type PColumnValuesEntry = {
1435
1798
  * Used for lightweight explicit instantiation of PColumns.
1436
1799
  */
1437
1800
  type PColumnValues = PColumnValuesEntry[];
1438
- /**
1439
- * Entry-based representation of JsonDataInfo
1440
- */
1441
1801
  //#endregion
1442
1802
  //#region ../node_modules/.pnpm/@milaboratories+helpers@1.14.5/node_modules/@milaboratories/helpers/dist/types/brand.d.ts
1443
1803
  //#region src/types/brand.d.ts
@@ -1486,7 +1846,7 @@ type ColumnOverriddenId = Branded<CanonicalizedJson<ColumnOverriddenKey>, "Colum
1486
1846
  * `typeSpec` shape carried by the data layer (`{ axes, column }`).
1487
1847
  */
1488
1848
  type ColumnTypeSpec = {
1489
- /** List of axis value types defining the dimensions of the data */axes: AxisValueType[]; /** The single column value type */
1849
+ /** List of axis value types defining the dimensions of the data */ axes: AxisValueType[]; /** The single column value type */
1490
1850
  column: ColumnValueType;
1491
1851
  };
1492
1852
  /**
@@ -2173,7 +2533,7 @@ interface QuerySliceAxes<Q, A> {
2173
2533
  input: Q;
2174
2534
  /** List of axis filters to apply (at least one required) */
2175
2535
  axisFilters: {
2176
- /** Axis to filter. `SingleAxisSelector` at the spec layer; axis index at the data layer. */axisSelector: A; /** The constant value to filter the axis to */
2536
+ /** Axis to filter. `SingleAxisSelector` at the spec layer; axis index at the data layer. */ axisSelector: A; /** The constant value to filter the axis to */
2177
2537
  constant: string | number;
2178
2538
  }[];
2179
2539
  }
@@ -2523,7 +2883,7 @@ interface QuerySpecOverride<Q, SO> {
2523
2883
  input: Q;
2524
2884
  /** Spec override patch to overlay on the inner spec. */
2525
2885
  override: SO;
2526
- } //#endregion
2886
+ }
2527
2887
  //#endregion
2528
2888
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/query/query_data.d.ts
2529
2889
  //#region src/drivers/pframe/query/query_data.d.ts
@@ -2534,7 +2894,7 @@ interface QuerySpecOverride<Q, SO> {
2534
2894
  * Used in data layer to carry type information alongside column references.
2535
2895
  */
2536
2896
  type ColumnIdAndTypeSpec = {
2537
- /** Unique identifier of the column */id: PObjectId; /** Type specification defining the axes and the single column value type */
2897
+ /** Unique identifier of the column */ id: PObjectId; /** Type specification defining the axes and the single column value type */
2538
2898
  spec: ColumnTypeSpec;
2539
2899
  };
2540
2900
  /**
@@ -2572,7 +2932,7 @@ type DataQueryOuterJoin = QueryOuterJoin<DataQueryJoinEntry>;
2572
2932
  * - `oneSideAxesIndices` — which axis indices in the joined result to project out
2573
2933
  */
2574
2934
  type DataQueryLinkerJoinLinker = {
2575
- /** Linker column reference. */column: PObjectId; /** Linker's axes mapped into the joined result. */
2935
+ /** Linker column reference. */ column: PObjectId; /** Linker's axes mapped into the joined result. */
2576
2936
  axesMapping: number[]; /** Axis indices (in the joined result) to project out — the linker's one-side axes. */
2577
2937
  oneSideAxesIndices: number[];
2578
2938
  };
@@ -2603,7 +2963,7 @@ type DataExprAxisRef = ExprAxisRef<number>;
2603
2963
  /** @see ExprColumnRef */
2604
2964
  type DataExprColumnRef = ExprColumnRef<number>;
2605
2965
  type DataQueryExpression = DataExprColumnRef | DataExprAxisRef | ExprConstant | ExprNumericBinary<DataQueryExpression> | ExprNumericComparison<DataQueryExpression> | ExprNumericUnary<DataQueryExpression> | ExprStringEquals<DataQueryExpression> | ExprStringContains<DataQueryExpression> | ExprStringRegex<DataQueryExpression> | ExprStringContainsFuzzy<DataQueryExpression> | ExprIsNull<DataQueryExpression> | ExprFillNull<DataQueryExpression> | ExprLogicalUnary<DataQueryExpression> | ExprLogicalVariadic<DataQueryExpression> | ExprIsIn<DataQueryExpression, string> | ExprIsIn<DataQueryExpression, number> | ExprCast<DataQueryExpression> | ExprConditional<DataQueryExpression> | ExprRanking<DataQueryExpression, number, number>;
2606
- type DataQueryBooleanExpression = InferBooleanExpressionUnion<DataQueryExpression>; //#endregion
2966
+ type DataQueryBooleanExpression = InferBooleanExpressionUnion<DataQueryExpression>;
2607
2967
  //#endregion
2608
2968
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec_driver.d.ts
2609
2969
  //#region src/drivers/pframe/spec_driver.d.ts
@@ -2716,7 +3076,7 @@ type DiscoverColumnsStepInfo = DiscoverColumnsLinkerStep | DiscoverColumnsFilter
2716
3076
  * propagate into the inner query.
2717
3077
  */
2718
3078
  type BuildQueryInput = {
2719
- /** Shape version marker — bumped only on breaking structural changes. */readonly version: "v1"; /** Terminal column id — the column actually returning data. */
3079
+ /** Shape version marker — bumped only on breaking structural changes. */ readonly version: "v1"; /** Terminal column id — the column actually returning data. */
2720
3080
  readonly column: PObjectId; /** Ordered path from source integration to `column`. Outermost first. */
2721
3081
  readonly path?: DiscoverColumnsStepInfo[]; /** Axis qualifications attached to the resulting join entry. */
2722
3082
  readonly qualifications?: AxisQualification[];
@@ -2818,7 +3178,7 @@ interface PFrameSpecDriver {
2818
3178
  tableSpec: PTableColumnSpec[];
2819
3179
  filters: PTableRecordFilter[];
2820
3180
  }): DataQueryBooleanExpression[];
2821
- } //#endregion
3181
+ }
2822
3182
  //#endregion
2823
3183
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/selectors.d.ts
2824
3184
  /** Single axis selector */
@@ -2841,10 +3201,6 @@ interface AxisQualification {
2841
3201
  /** Additional context domain entries applied to the axis. */
2842
3202
  readonly contextDomain: Record<string, string>;
2843
3203
  }
2844
- /**
2845
- * Reference to an axis by its numerical index within the anchor column's axes array
2846
- * Format: [anchorId, axisIndex]
2847
- */
2848
3204
  //#endregion
2849
3205
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/query/query_spec.d.ts
2850
3206
  //#region src/drivers/pframe/query/query_spec.d.ts
@@ -2860,7 +3216,7 @@ interface AxisQualification {
2860
3216
  */
2861
3217
  type SpecQueryJoinEntry<C = ColumnUniversalId> = QueryJoinEntry<SpecQuery<C>> & {
2862
3218
  qualifications?: readonly {
2863
- /** Axis to qualify. */axis: SingleAxisSelector; /** Additional domain constraints for this axis. */
3219
+ /** Axis to qualify. */ axis: SingleAxisSelector; /** Additional domain constraints for this axis. */
2864
3220
  contextDomain: Domain;
2865
3221
  }[];
2866
3222
  };
@@ -2913,7 +3269,7 @@ type SpecExprAxisRef = ExprAxisRef<SingleAxisSelector>;
2913
3269
  /** @see ExprColumnRef */
2914
3270
  type SpecExprColumnRef = ExprColumnRef<ColumnUniversalId>;
2915
3271
  type SpecQueryExpression = SpecExprColumnRef | SpecExprAxisRef | ExprConstant | ExprNumericBinary<SpecQueryExpression> | ExprNumericComparison<SpecQueryExpression> | ExprNumericUnary<SpecQueryExpression> | ExprStringEquals<SpecQueryExpression> | ExprStringContains<SpecQueryExpression> | ExprStringRegex<SpecQueryExpression> | ExprStringContainsFuzzy<SpecQueryExpression> | ExprIsNull<SpecQueryExpression> | ExprFillNull<SpecQueryExpression> | ExprLogicalUnary<SpecQueryExpression> | ExprLogicalVariadic<SpecQueryExpression> | ExprIsIn<SpecQueryExpression, string> | ExprIsIn<SpecQueryExpression, number> | ExprCast<SpecQueryExpression> | ExprConditional<SpecQueryExpression> | ExprRanking<SpecQueryExpression, SingleAxisSelector, PObjectId>;
2916
- type SpecQueryBooleanExpression = InferBooleanExpressionUnion<SpecQueryExpression>; //#endregion
3272
+ type SpecQueryBooleanExpression = InferBooleanExpressionUnion<SpecQueryExpression>;
2917
3273
  //#endregion
2918
3274
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/table_calculate.d.ts
2919
3275
  //#region src/drivers/pframe/table_calculate.d.ts
@@ -3169,7 +3525,7 @@ interface PTableRecordSingleValueFilterV2 {
3169
3525
  type PTableRecordFilter = PTableRecordSingleValueFilterV2;
3170
3526
  /** Sorting parameters for a PTable. */
3171
3527
  type PTableSorting = {
3172
- /** Unified column identifier */readonly column: PTableColumnId; /** Sorting order */
3528
+ /** Unified column identifier */ readonly column: PTableColumnId; /** Sorting order */
3173
3529
  readonly ascending: boolean; /** Sorting in respect to NA and absent values */
3174
3530
  readonly naAndAbsentAreLeastValues: boolean;
3175
3531
  };
@@ -3191,7 +3547,7 @@ interface PTableDefV2<Col> {
3191
3547
  }
3192
3548
  /** Request to create and retrieve entirety of data of PTable. */
3193
3549
  type CalculateTableDataRequest<Col> = {
3194
- /** Join tree to populate the PTable */readonly src: JoinEntry<Col>; /** Record filters */
3550
+ /** Join tree to populate the PTable */ readonly src: JoinEntry<Col>; /** Record filters */
3195
3551
  readonly filters: PTableRecordFilter[]; /** Table sorting */
3196
3552
  readonly sorting: PTableSorting[];
3197
3553
  };
@@ -3217,13 +3573,12 @@ declare const PlRef: ZodReadonly<ZodObject<{
3217
3573
  requireEnrichments?: true | undefined;
3218
3574
  }>>;
3219
3575
  type PlRef = TypeOf<typeof PlRef>;
3220
- /** @deprecated use {@link PlRef} */
3221
3576
  //#endregion
3222
3577
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/pool/spec.d.ts
3223
3578
  //#region src/pool/spec.d.ts
3224
3579
  /** Any object exported into the result pool by the block always have spec attached to it */
3225
3580
  type PObjectSpec = {
3226
- /** PObject kind discriminator */readonly kind: string; /** Name is common part of PObject identity */
3581
+ /** PObject kind discriminator */ readonly kind: string; /** Name is common part of PObject identity */
3227
3582
  readonly name: string; /** Domain is a set of key-value pairs that can be used to identify the object */
3228
3583
  readonly domain?: Record<string, string>;
3229
3584
  /** Context domain provides additional axis/column identity that is matched
@@ -3295,7 +3650,7 @@ type Domain = Metadata & Partial<{
3295
3650
  * all the axes specified in the column spec.
3296
3651
  */
3297
3652
  type AxisSpec = {
3298
- /** Type of the axis value. Should not use non-key types like float or double. */readonly type: AxisValueType; /** Name of the axis */
3653
+ /** Type of the axis value. Should not use non-key types like float or double. */ readonly type: AxisValueType; /** Name of the axis */
3299
3654
  readonly name: string;
3300
3655
  /** Adds auxiliary information to the axis name, type and parents to form a
3301
3656
  * unique identifier */
@@ -3326,7 +3681,6 @@ type AxisSpec = {
3326
3681
  */
3327
3682
  readonly parentAxes?: number[];
3328
3683
  };
3329
- /** Parents are specs, not indexes; normalized axis can be used considering its parents independently from column */
3330
3684
  /** Common type representing spec for all the axes in a column */
3331
3685
  type AxesSpec = AxisSpec[];
3332
3686
  /**
@@ -3367,10 +3721,9 @@ type PUniversalColumnSpec = PObjectSpec & {
3367
3721
  * basic tabular data.
3368
3722
  */
3369
3723
  type PDataColumnSpec = PUniversalColumnSpec & {
3370
- /** Type of column values */readonly valueType: ValueType;
3724
+ /** Type of column values */ readonly valueType: ValueType;
3371
3725
  };
3372
3726
  type PColumnSpec = PDataColumnSpec;
3373
- /** Unique PColumnSpec identifier */
3374
3727
  interface PColumn<Data> extends PObject<Data> {
3375
3728
  /** PColumn spec, allowing it to be found among other PObjects */
3376
3729
  readonly spec: PColumnSpec;
@@ -3383,7 +3736,6 @@ interface PColumnIdAndSpec {
3383
3736
  /** Column spec */
3384
3737
  readonly spec: PColumnSpec;
3385
3738
  }
3386
- /** Get column id and spec from a column */
3387
3739
  interface AxisId {
3388
3740
  /** Type of the axis or column value. For an axis should not use non-key
3389
3741
  * types like float or double. */
@@ -3399,7 +3751,6 @@ interface AxisId {
3399
3751
  }
3400
3752
  /** Array of axis ids */
3401
3753
  type AxesId = AxisId[];
3402
- /** Extracts axis ids from axis spec */
3403
3754
  //#endregion
3404
3755
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/filtered_column.d.ts
3405
3756
  //#region src/drivers/pframe/spec/filtered_column.d.ts
@@ -3407,7 +3758,6 @@ type AxesId = AxisId[];
3407
3758
  type AxisFilterValue = number | string;
3408
3759
  /** Axis filter by index */
3409
3760
  type AxisFilterByIdx = [number, AxisFilterValue];
3410
- /** Axis filter by name */
3411
3761
  /**
3412
3762
  * `source` is either a leaf {@link PObjectId} or a {@link ColumnDiscoveredId}.
3413
3763
  * Filtered never nests inside Filtered (flat-merge invariant), and Filtered is
@@ -3432,21 +3782,12 @@ type ColumnFilteredId = Branded<CanonicalizedJson<ColumnFilteredKey>, "ColumnFil
3432
3782
  * A patch at index `>= base.axesSpec.length` appends a new axis at that slot.
3433
3783
  */
3434
3784
  type AxisPatches = Record<number, Partial<AxisSpec>>;
3435
- /**
3436
- * Universal column identifier optionally anchored and optionally filtered.
3437
- * @deprecated use {@link ColumnUniversalKey}
3438
- */
3439
3785
  /**
3440
3786
  * Canonically serialized {@link UniversalPColumnId}.
3441
3787
  * @deprecated use {@link ColumnUniversalId}
3442
3788
  */
3443
3789
  type SUniversalPColumnId = ColumnUniversalId;
3444
3790
  type ColumnUniversalId = LocalPObjectId | GlobalPObjectId | ColumnFilteredId | ColumnDiscoveredId | ColumnOverriddenId;
3445
- /**
3446
- * Canonically serializes a column key to a branded string id. Accepts both
3447
- * the new {@link ColumnUniversalKey} and the deprecated {@link UniversalPColumnId}
3448
- * (anchored / old filtered object form).
3449
- */
3450
3791
  //#endregion
3451
3792
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/spec/discovered_column.d.ts
3452
3793
  //#region src/drivers/pframe/spec/discovered_column.d.ts
@@ -3486,7 +3827,7 @@ interface FileLike extends BlobLike {
3486
3827
  readonly lastModified: number;
3487
3828
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name) */
3488
3829
  readonly name: string;
3489
- } //#endregion
3830
+ }
3490
3831
  //#endregion
3491
3832
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/blob.d.ts
3492
3833
  //#region src/drivers/blob.d.ts
@@ -3496,11 +3837,9 @@ type LocalBlobHandle = Branded$1<string, "LocalBlobHandle">;
3496
3837
  /** Handle of remote blob. This handle is issued as soon as the data becomes
3497
3838
  * available on the remote server. */
3498
3839
  type RemoteBlobHandle = Branded$1<string, "RemoteBlobHandle">;
3499
- /** Being configured inside the output structure provides information about
3500
- * blob's content and means to retrieve it when needed. */
3501
3840
  /** Range in bytes, from should be less than to. */
3502
3841
  declare const RangeBytes: ZodObject<{
3503
- /** Included left border. */from: ZodNumber; /** Excluded right border. */
3842
+ /** Included left border. */ from: ZodNumber; /** Excluded right border. */
3504
3843
  to: ZodNumber;
3505
3844
  }, "strip", ZodTypeAny, {
3506
3845
  from: number;
@@ -3519,9 +3858,6 @@ interface BlobDriver {
3519
3858
  */
3520
3859
  getContent(handle: LocalBlobHandle | RemoteBlobHandle, range?: RangeBytes): Promise<Uint8Array>;
3521
3860
  }
3522
- /**
3523
- * Operational metrics of the blob download driver.
3524
- */
3525
3861
  //#endregion
3526
3862
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/log.d.ts
3527
3863
  //#region src/drivers/log.d.ts
@@ -3537,38 +3873,29 @@ type ReadyLogHandle = Branded$1<`${typeof READY_LOG_PREFIX}${string}`, "ReadyLog
3537
3873
  /** Handle of logs. This handle should be passed
3538
3874
  * to the driver for retrieving logs. */
3539
3875
  type AnyLogHandle = LiveLogHandle | ReadyLogHandle;
3540
- /** Type guard to check if a value is any kind of log handle. */
3541
3876
  /** Driver to retrieve logs given log handle */
3542
3877
  interface LogsDriver {
3543
- lastLines(/** A handle that was issued previously. */
3544
-
3545
- handle: AnyLogHandle, /** Allows client to limit total data sent from server. */
3546
-
3547
- lineCount: number,
3878
+ lastLines(
3879
+ /** A handle that was issued previously. */
3880
+ handle: AnyLogHandle /** Allows client to limit total data sent from server. */, lineCount: number,
3548
3881
  /** Makes streamer to perform seek operation to given offset before sending the contents.
3549
3882
  * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
3550
3883
  * If undefined, then starts from the end. */
3551
-
3552
3884
  offsetBytes?: number,
3553
3885
  /** Is substring for line search pattern.
3554
3886
  * This option makes controller to send to the client only lines, that
3555
3887
  * have given substring. */
3556
-
3557
3888
  searchStr?: string): Promise<StreamingApiResponse>;
3558
- readText(/** A handle that was issued previously. */
3559
-
3560
- handle: AnyLogHandle, /** Allows client to limit total data sent from server. */
3561
-
3562
- lineCount: number,
3889
+ readText(
3890
+ /** A handle that was issued previously. */
3891
+ handle: AnyLogHandle /** Allows client to limit total data sent from server. */, lineCount: number,
3563
3892
  /** Makes streamer to perform seek operation to given offset before sending the contents.
3564
3893
  * Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
3565
3894
  * If undefined of 0, then starts from the beginning. */
3566
-
3567
3895
  offsetBytes?: number,
3568
3896
  /** Is substring for line search pattern.
3569
3897
  * This option makes controller to send to the client only lines, that
3570
3898
  * have given substring. */
3571
-
3572
3899
  searchStr?: string): Promise<StreamingApiResponse>;
3573
3900
  }
3574
3901
  /** Response of the driver.
@@ -3607,7 +3934,7 @@ interface ColumnFilter {
3607
3934
  /** Match requires all the annotations listed here to match corresponding regex
3608
3935
  * pattern. */
3609
3936
  readonly annotationPattern?: Record<string, string>;
3610
- } //#endregion
3937
+ }
3611
3938
  //#endregion
3612
3939
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/find_columns.d.ts
3613
3940
  //#region src/drivers/pframe/find_columns.d.ts
@@ -3634,7 +3961,7 @@ interface FindColumnsRequest {
3634
3961
  interface FindColumnsResponse {
3635
3962
  /** Array of column ids found using request criteria. */
3636
3963
  readonly hits: PColumnIdAndSpec[];
3637
- } //#endregion
3964
+ }
3638
3965
  //#endregion
3639
3966
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/unique_values.d.ts
3640
3967
  //#region src/drivers/pframe/unique_values.d.ts
@@ -3654,11 +3981,11 @@ interface UniqueValuesResponse {
3654
3981
  readonly values: PTableVector;
3655
3982
  /** True if limit was reached and response contain non-exhaustive list of values. */
3656
3983
  readonly overflow: boolean;
3657
- } //#endregion
3984
+ }
3658
3985
  //#endregion
3659
3986
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/pframe.d.ts
3660
3987
  /** Information required to instantiate a PFrame. */
3661
- type PFrameDef<Col> = Col[]; //#endregion
3988
+ type PFrameDef<Col> = Col[];
3662
3989
  //#endregion
3663
3990
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/pframe/driver.d.ts
3664
3991
  //#region src/drivers/pframe/driver.d.ts
@@ -3726,7 +4053,7 @@ interface PFrameDriver {
3726
4053
  * 1,000,000-row per-sheet limit (below Excel's hard cap of 1,048,576).
3727
4054
  */
3728
4055
  exportPTable(handle: PTableHandle, options: ExportPTableOptions): Promise<void>;
3729
- } //#endregion
4056
+ }
3730
4057
  //#endregion
3731
4058
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/ls.d.ts
3732
4059
  //#region src/drivers/ls.d.ts
@@ -3740,7 +4067,7 @@ type StorageHandleLocal = `local://${string}`;
3740
4067
  type StorageHandleRemote = `remote://${string}`;
3741
4068
  type StorageHandle = StorageHandleLocal | StorageHandleRemote;
3742
4069
  type StorageEntry = {
3743
- /** Stable machine identifier (e.g. "library", "root", "local"). Used for filtering. */id: string; /** Human-readable display name. */
4070
+ /** Stable machine identifier (e.g. "library", "root", "local"). Used for filtering. */ id: string; /** Human-readable display name. */
3744
4071
  name: string;
3745
4072
  handle: StorageHandle;
3746
4073
  initialFullPath: string;
@@ -3760,11 +4087,11 @@ type LsEntry = {
3760
4087
  handle: ImportFileHandle;
3761
4088
  };
3762
4089
  type OpenDialogFilter = {
3763
- /** Human-readable file type name */readonly name: string; /** File extensions */
4090
+ /** Human-readable file type name */ readonly name: string; /** File extensions */
3764
4091
  readonly extensions: string[];
3765
4092
  };
3766
4093
  type OpenDialogOps = {
3767
- /** Open dialog window title */readonly title?: string; /** Custom label for the confirmation button, when left empty the default label will be used. */
4094
+ /** Open dialog window title */ readonly title?: string; /** Custom label for the confirmation button, when left empty the default label will be used. */
3768
4095
  readonly buttonLabel?: string; /** Limits of file types user can select */
3769
4096
  readonly filters?: OpenDialogFilter[];
3770
4097
  };
@@ -3778,7 +4105,6 @@ type OpenMultipleFilesResponse = {
3778
4105
  * the dialog, field will be undefined. */
3779
4106
  readonly files?: LocalImportFileHandle[];
3780
4107
  };
3781
- /** Can be used to limit request for local file content to a certain bytes range */
3782
4108
  interface LsDriver {
3783
4109
  /** remote and local storages */
3784
4110
  getStorageList(): Promise<StorageEntry[]>;
@@ -3801,7 +4127,6 @@ interface LsDriver {
3801
4127
  /** Saves currently opened block webview as a PDF. */
3802
4128
  exportToPdf?(): Promise<void>;
3803
4129
  }
3804
- /** Gets a file path from an import handle. */
3805
4130
  //#endregion
3806
4131
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/columns/column_selector.d.ts
3807
4132
  //#region src/columns/column_selector.d.ts
@@ -3847,7 +4172,6 @@ type MatchingMode = "enrichment" | "related" | "exact";
3847
4172
  * sandbox/host VM bridge unchanged.
3848
4173
  */
3849
4174
  type AnchorEntry = PlRef | PObjectId | PColumnSpec | RelaxedColumnSelector;
3850
- /** Qualifications needed for both already-integrated anchor columns and the hit column. */
3851
4175
  /**
3852
4176
  * Options object accepted by sandbox `discoverColumns()` and by the host
3853
4177
  * `ColumnsCollectionDriver.discover` / `.filter` methods. Pure JSON shape —
@@ -3878,7 +4202,6 @@ type ColumnsDiscoverOptions = DiscoverColumnsOptions;
3878
4202
  * of the filter surface — only `include` / `exclude` / `anchors`.
3879
4203
  */
3880
4204
  type ColumnsFilterOptions = Omit<DiscoverColumnsOptions, "mode" | "maxHops">;
3881
- /** Translate a {@link MatchingMode} into the boolean-flag form the spec driver consumes. */
3882
4205
  //#endregion
3883
4206
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/columns/types.d.ts
3884
4207
  //#region src/columns/types.d.ts
@@ -3960,13 +4283,6 @@ interface AccessorLike<Self extends AccessorLike<Self>> {
3960
4283
  /** Decode the data payload as JSON. Returns `undefined` if no data. */
3961
4284
  getDataAsJson<T = unknown>(): T | undefined;
3962
4285
  }
3963
- /**
3964
- * One indexed column — the canonical record produced by every traversal.
3965
- * Carries everything needed to read spec/data/status under a stable id.
3966
- *
3967
- * Generic over the accessor flavour so the same record shape works for both
3968
- * the sandbox `TreeNodeAccessor` and the host `PlTreeNodeAccessor`.
3969
- */
3970
4286
  //#endregion
3971
4287
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/drivers/columns/columns_collection_driver.d.ts
3972
4288
  //#region src/drivers/columns/columns_collection_driver.d.ts
@@ -4080,7 +4396,7 @@ interface ColumnsCollectionDriver {
4080
4396
  addSource(handle: CollectionHandle, sources: ReadonlyArray<SerializedColumnsSource>, host: ColumnsCollectionDriverHost): PoolEntry<CollectionHandle>;
4081
4397
  discover(handle: CollectionHandle, options: ColumnsDiscoverOptions, host: ColumnsCollectionDriverHost): PoolEntry<CollectionHandle>;
4082
4398
  filter(handle: CollectionHandle, options: ColumnsFilterOptions, host: ColumnsCollectionDriverHost): PoolEntry<CollectionHandle>;
4083
- } //#endregion
4399
+ }
4084
4400
  //#endregion
4085
4401
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/services/service_types.d.ts
4086
4402
  //#region src/services/service_types.d.ts
@@ -4105,13 +4421,12 @@ interface ServiceDispatch {
4105
4421
  }
4106
4422
  type TServices = typeof Services;
4107
4423
  type ExtractServiceName<T> = T extends Branded$1<infer N extends string, any> ? N : never;
4108
- /** Model-side service interfaces keyed by service name literal. */
4109
4424
  /** UI-side service interfaces keyed by service name literal. */
4110
- type UiServices$1 = { [K in keyof TServices as ExtractServiceName<TServices[K]>]: InferServiceUi<ServiceBrand<TServices[K]>> };
4425
+ type UiServices$1 = { [K in keyof TServices as ExtractServiceName<TServices[K]>]: InferServiceUi<ServiceBrand<TServices[K]>>; };
4111
4426
  /** Map from Services keys to their unbranded string name literals. */
4112
- type ServiceNameLiterals = { [K in keyof TServices]: ExtractServiceName<TServices[K]> };
4427
+ type ServiceNameLiterals = { [K in keyof TServices]: ExtractServiceName<TServices[K]>; };
4113
4428
  /** Auto-derived requires* feature flags from Services keys. */
4114
- type ServiceRequireFlags = { [K in keyof TServices as `requires${K & string}`]?: boolean };
4429
+ type ServiceRequireFlags = { [K in keyof TServices as `requires${K & string}`]?: boolean; };
4115
4430
  //#endregion
4116
4431
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/services/service_declarations.d.ts
4117
4432
  //#region src/services/service_declarations.d.ts
@@ -4120,7 +4435,7 @@ declare const Services: {
4120
4435
  PFrame: Branded$1<"pframe", ServiceTypesLike<PFrameModelDriver<PColumn<string | PColumnValues | DataInfo<string>>>, PFrameDriver, "node", PFrameModelDriver<PColumn<string | PColumnValues | DataInfo<string>>>, PFrameDriver>>;
4121
4436
  Dialog: Branded$1<"dialog", ServiceTypesLike<Record<string, never>, DialogService, "main", Record<string, never>, DialogService>>;
4122
4437
  ColumnsCollection: Branded$1<"columnsCollection", ServiceTypesLike<ColumnsCollectionDriverModel, ColumnsCollectionDriverModel, "wasm", ColumnsCollectionDriver, ColumnsCollectionDriver>>;
4123
- }; //#endregion
4438
+ };
4124
4439
  //#endregion
4125
4440
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/flags/block_flags.d.ts
4126
4441
  /**
@@ -4134,11 +4449,6 @@ type BlockCodeKnownFeatureFlags = {
4134
4449
  readonly requiresCreatePTable?: number;
4135
4450
  readonly requiresPFramesVersion?: number;
4136
4451
  } & ServiceRequireFlags;
4137
- /**
4138
- * Required PFrames version. Bump this in lockstep with the `@milaboratories/pframes-rs-*`
4139
- * version in `pnpm-workspace.yaml` so blocks built against the new SDK refuse to load on
4140
- * older desktop apps.
4141
- */
4142
4452
  //#endregion
4143
4453
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/driver_kit.d.ts
4144
4454
  //#region src/driver_kit.d.ts
@@ -4159,7 +4469,7 @@ interface DriverKit {
4159
4469
  readonly lsDriver: LsDriver;
4160
4470
  /** Driver allowing to interact with PFrames and PTables */
4161
4471
  readonly pFrameDriver: PFrameDriver;
4162
- } //#endregion
4472
+ }
4163
4473
  //#endregion
4164
4474
  //#region ../node_modules/.pnpm/@milaboratories+pl-model-common@1.48.0/node_modules/@milaboratories/pl-model-common/dist/errors.d.ts
4165
4475
  type ResultOrError<S, F = Error> = {
@@ -4186,21 +4496,24 @@ interface ValueWithUTag<V> {
4186
4496
  }
4187
4497
  interface ValueWithUTagAndAuthor<V> extends ValueWithUTag<V> {
4188
4498
  readonly author?: AuthorMarker;
4189
- } //#endregion
4499
+ }
4190
4500
  //#endregion
4191
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/block_state_patch.d.ts
4501
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_state_patch.d.ts
4192
4502
  //#region src/block_state_patch.d.ts
4193
4503
  /** Patch for the structural object */
4194
4504
  type Patch<K, V> = {
4195
- /** Field name to patch */readonly key: K; /** New value for the field */
4505
+ /** Field name to patch */
4506
+ readonly key: K;
4507
+ /** New value for the field */
4196
4508
  readonly value: V;
4197
4509
  };
4198
4510
  /** Creates union type of all possible shallow patches for the given structure */
4199
- type Unionize<T extends Record<string, unknown>> = { [K in keyof T]: Patch<K, T[K]> }[keyof T];
4511
+ type Unionize<T extends Record<string, unknown>> = { [K in keyof T]: Patch<K, T[K]>; }[keyof T];
4200
4512
  /** Patch for the BlockState, pushed by onStateUpdates method in SDK. */
4201
- type BlockStatePatch<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> = Unionize<BlockState<Args, Outputs, UiState, Href>>; //#endregion
4513
+ type BlockStatePatch<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> = Unionize<BlockState<Args, Outputs, UiState, Href>>;
4202
4514
  //#endregion
4203
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/plugin_handle.d.ts
4515
+ //#endregion
4516
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/plugin_handle.d.ts
4204
4517
  //#region src/plugin_handle.d.ts
4205
4518
  /**
4206
4519
  * Phantom-only base type for constraining PluginHandle's type parameter.
@@ -4220,16 +4533,14 @@ interface PluginFactoryLike<Data extends Record<string, unknown> = Record<string
4220
4533
  uiServices: UiServices;
4221
4534
  };
4222
4535
  }
4223
- /** Extract the Data type from a PluginFactoryLike phantom. */
4224
4536
  /**
4225
4537
  * Opaque handle for a plugin instance. Runtime value is the plugin instance ID string.
4226
4538
  * Branded with factory phantom `F` for type-safe data/outputs extraction.
4227
4539
  * Constrained with PluginFactoryLike (not PluginFactory) to avoid variance issues.
4228
4540
  */
4229
4541
  type PluginHandle<F extends PluginFactoryLike = PluginFactoryLike> = Branded<string, F>;
4230
- /** Construct the output key for a plugin output in the block outputs map. */
4231
4542
  //#endregion
4232
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/block_storage.d.ts
4543
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_storage.d.ts
4233
4544
  /** Payload for storage mutation operations. SDK defines specific operations. */
4234
4545
  type MutateStoragePayload<T = unknown> = {
4235
4546
  operation: "update-block-data";
@@ -4239,15 +4550,8 @@ type MutateStoragePayload<T = unknown> = {
4239
4550
  pluginId: PluginHandle;
4240
4551
  value: unknown;
4241
4552
  };
4242
- /**
4243
- * Updates the data in BlockStorage (immutable)
4244
- *
4245
- * @param storage - The current BlockStorage
4246
- * @param payload - The update payload with operation and value
4247
- * @returns A new BlockStorage with updated data
4248
- */
4249
4553
  //#endregion
4250
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/bconfig/lambdas.d.ts
4554
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/bconfig/lambdas.d.ts
4251
4555
  /** Additional information that may alter lambda rendering procedure. */
4252
4556
  type ConfigRenderLambdaFlags = {
4253
4557
  /**
@@ -4276,15 +4580,15 @@ interface ConfigRenderLambda<Return = unknown> extends ConfigRenderLambdaFlags {
4276
4580
  handle: string;
4277
4581
  }
4278
4582
  type ExtractFunctionHandleReturn<Func extends ConfigRenderLambda> = Func extends ConfigRenderLambda<infer Return> ? Return : never;
4279
- /** Infers the output type from a TypedConfig or ConfigRenderLambda */
4280
4583
  /** Maps lambda-only outputs configuration to inferred output types (for V3 blocks) */
4281
4584
  type InferOutputsFromLambdas<OutputsCfg extends Record<string, ConfigRenderLambda>> = { [Key in keyof OutputsCfg]: OutputWithStatus<ExtractFunctionHandleReturn<OutputsCfg[Key]>> & {
4282
4585
  __unwrap: OutputsCfg[Key] extends {
4283
4586
  withStatus: true;
4284
4587
  } ? false : true;
4285
- } }; //#endregion
4588
+ }; };
4286
4589
  //#endregion
4287
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/block_api_v1.d.ts
4590
+ //#endregion
4591
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_api_v1.d.ts
4288
4592
  //#region src/block_api_v1.d.ts
4289
4593
  /** Returned by state subscription methods to be able to cancel the subscription. */
4290
4594
  type CancelSubscription = () => void;
@@ -4344,7 +4648,8 @@ interface BlockApiV1<Args = unknown, Outputs extends BlockOutputsBase = BlockOut
4344
4648
  * Sets block navigation state.
4345
4649
  * */
4346
4650
  setNavigationState(state: NavigationState<Href>): Promise<void>;
4347
- } //#endregion
4651
+ }
4652
+ //#endregion
4348
4653
  //#endregion
4349
4654
  //#region ../node_modules/.pnpm/fast-json-patch@3.1.1/node_modules/fast-json-patch/module/core.d.ts
4350
4655
  declare type Operation = AddOperation<any> | RemoveOperation | ReplaceOperation<any> | MoveOperation | CopyOperation | TestOperation<any> | GetOperation<any>;
@@ -4379,7 +4684,7 @@ interface GetOperation<T> extends BaseOperation {
4379
4684
  value: T;
4380
4685
  }
4381
4686
  //#endregion
4382
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/block_api_v2.d.ts
4687
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_api_v2.d.ts
4383
4688
  //#region src/block_api_v2.d.ts
4384
4689
  /** Defines methods to read and write current block data. */
4385
4690
  interface BlockApiV2<Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, UiState = unknown, Href extends `/${string}` = `/${string}`> {
@@ -4427,14 +4732,15 @@ interface BlockApiV2<Args = unknown, Outputs extends BlockOutputsBase = BlockOut
4427
4732
  * Disposes the block API.
4428
4733
  * */
4429
4734
  dispose(): Promise<ResultOrError<void>>;
4430
- } //#endregion
4735
+ }
4736
+ //#endregion
4431
4737
  //#endregion
4432
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/version.d.ts
4738
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/version.d.ts
4433
4739
  type SdkInfo = {
4434
4740
  readonly sdkVersion: string;
4435
4741
  };
4436
4742
  //#endregion
4437
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/services/block_services.d.ts
4743
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/block_services.d.ts
4438
4744
  //#region src/services/block_services.d.ts
4439
4745
  /**
4440
4746
  * Services required by all V3 blocks by default.
@@ -4451,14 +4757,14 @@ declare const BLOCK_SERVICE_FLAGS: {
4451
4757
  };
4452
4758
  type BlockServiceFlags = typeof BLOCK_SERVICE_FLAGS;
4453
4759
  //#endregion
4454
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/services/service_resolve.d.ts
4760
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/services/service_resolve.d.ts
4455
4761
  //#region src/services/service_resolve.d.ts
4456
4762
  type FlagToName<Flag extends string> = Flag extends `requires${infer K}` ? K extends keyof ServiceNameLiterals ? ServiceNameLiterals[K] : never : never;
4457
- type RequiredServiceNames<Flags> = { [K in keyof Flags & `requires${string}`]: Flags[K] extends true ? FlagToName<K & string> : never }[keyof Flags & `requires${string}`];
4763
+ type RequiredServiceNames<Flags> = { [K in keyof Flags & `requires${string}`]: Flags[K] extends true ? FlagToName<K & string> : never; }[keyof Flags & `requires${string}`];
4458
4764
  type ResolveUiServices<Flags> = Pick<UiServices$1, RequiredServiceNames<Flags> & keyof UiServices$1>;
4459
- type BlockDefaultUiServices = ResolveUiServices<BlockServiceFlags>; //#endregion
4765
+ type BlockDefaultUiServices = ResolveUiServices<BlockServiceFlags>;
4460
4766
  //#endregion
4461
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/plugin_model.d.ts
4767
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/plugin_model.d.ts
4462
4768
  /**
4463
4769
  * Runtime definition for a single public output field.
4464
4770
  * Stored in PluginModel and passed through BlockModelInfo to the UI layer.
@@ -4467,7 +4773,7 @@ type PublicOutputFieldDef = {
4467
4773
  readonly getter: (data: unknown) => unknown;
4468
4774
  };
4469
4775
  //#endregion
4470
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/block_api_v3.d.ts
4776
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/block_api_v3.d.ts
4471
4777
  //#region src/block_api_v3.d.ts
4472
4778
  /** Defines methods to read and write current block data. */
4473
4779
  interface BlockApiV3<_Data = unknown, _Args = unknown, Outputs extends BlockOutputsBase = BlockOutputsBase, Href extends `/${string}` = `/${string}`> {
@@ -4496,9 +4802,10 @@ interface BlockApiV3<_Data = unknown, _Args = unknown, Outputs extends BlockOutp
4496
4802
  * Disposes the block API.
4497
4803
  * */
4498
4804
  dispose(): Promise<ResultOrError<void>>;
4499
- } //#endregion
4805
+ }
4806
+ //#endregion
4500
4807
  //#endregion
4501
- //#region ../node_modules/.pnpm/@platforma-sdk+model@1.82.0/node_modules/@platforma-sdk/model/dist/platforma.d.ts
4808
+ //#region ../node_modules/.pnpm/@platforma-sdk+model@1.83.9/node_modules/@platforma-sdk/model/dist/platforma.d.ts
4502
4809
  //#region src/platforma.d.ts
4503
4810
  /** Defines all methods to interact with the platform environment from within a block UI. @deprecated */
4504
4811
  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 {
@@ -4539,10 +4846,10 @@ type InferOutputsType<Pl extends Platforma> = Pl extends Platforma<unknown, infe
4539
4846
  type InferDataType<Pl extends Platforma> = Pl extends Platforma<unknown, Record<string, OutputWithStatus<unknown>>, infer Data> ? Data : never;
4540
4847
  type InferHrefType<Pl extends Platforma> = Pl extends Platforma<unknown, BlockOutputsBase, unknown, infer Href> ? Href : never;
4541
4848
  //#endregion
4542
- //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.82.0/node_modules/@milaboratories/pf-plots/dist/spec.d.ts
4849
+ //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.83.9/node_modules/@milaboratories/pf-plots/dist/spec.d.ts
4543
4850
  type ColumnOrAxisIdString = string;
4544
4851
  //#endregion
4545
- //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.82.0/node_modules/@milaboratories/pf-plots/dist/common.d.ts
4852
+ //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.83.9/node_modules/@milaboratories/pf-plots/dist/common.d.ts
4546
4853
  type InputStateMap = Record<string, ComponentStateSimple | ComponentStateFilter>;
4547
4854
  type ChartType = 'discrete' | 'scatterplot' | 'scatterplot-umap' | 'heatmap' | 'dendro' | 'histogram' | 'bubble' | 'selection';
4548
4855
  interface InputStateParent<Type extends ChartType> {
@@ -4572,7 +4879,7 @@ interface ComponentStateFilter {
4572
4879
  selectorStates: SelectorStateFilter[];
4573
4880
  }
4574
4881
  //#endregion
4575
- //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.82.0/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/bubble.d.ts
4882
+ //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.83.9/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/bubble.d.ts
4576
4883
  interface BubbleUIState extends InputStateParent<'bubble'> {
4577
4884
  type: 'bubble';
4578
4885
  components: {
@@ -4591,7 +4898,7 @@ interface BubbleUIState extends InputStateParent<'bubble'> {
4591
4898
  };
4592
4899
  }
4593
4900
  //#endregion
4594
- //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.82.0/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/dendro.d.ts
4901
+ //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.83.9/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/dendro.d.ts
4595
4902
  interface DendroUIState extends InputStateParent<'dendro'> {
4596
4903
  components: {
4597
4904
  value: ComponentStateSimple;
@@ -4612,7 +4919,7 @@ interface DendroUIState extends InputStateParent<'dendro'> {
4612
4919
  };
4613
4920
  }
4614
4921
  //#endregion
4615
- //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.82.0/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/discrete.d.ts
4922
+ //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.83.9/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/discrete.d.ts
4616
4923
  interface DiscreteUIState extends InputStateParent<'discrete'> {
4617
4924
  type: 'discrete';
4618
4925
  components: {
@@ -4625,7 +4932,7 @@ interface DiscreteUIState extends InputStateParent<'discrete'> {
4625
4932
  };
4626
4933
  }
4627
4934
  //#endregion
4628
- //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.82.0/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/heatmap.d.ts
4935
+ //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.83.9/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/heatmap.d.ts
4629
4936
  interface HeatmapUIState extends InputStateParent<'heatmap'> {
4630
4937
  type: 'heatmap';
4631
4938
  components: {
@@ -4645,7 +4952,7 @@ interface HeatmapUIState extends InputStateParent<'heatmap'> {
4645
4952
  };
4646
4953
  }
4647
4954
  //#endregion
4648
- //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.82.0/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/histogram.d.ts
4955
+ //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.83.9/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/histogram.d.ts
4649
4956
  interface HistogramUIState extends InputStateParent<'histogram'> {
4650
4957
  type: 'histogram';
4651
4958
  components: {
@@ -4657,7 +4964,7 @@ interface HistogramUIState extends InputStateParent<'histogram'> {
4657
4964
  };
4658
4965
  }
4659
4966
  //#endregion
4660
- //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.82.0/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot.d.ts
4967
+ //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.83.9/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot.d.ts
4661
4968
  interface ScatterplotUIState extends InputStateParent<'scatterplot'> {
4662
4969
  type: 'scatterplot';
4663
4970
  components: {
@@ -4676,7 +4983,7 @@ interface ScatterplotUIState extends InputStateParent<'scatterplot'> {
4676
4983
  };
4677
4984
  }
4678
4985
  //#endregion
4679
- //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.82.0/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot-umap.d.ts
4986
+ //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.83.9/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/scatterplot-umap.d.ts
4680
4987
  interface ScatterplotUmapUIState extends InputStateParent<'scatterplot-umap'> {
4681
4988
  type: 'scatterplot-umap';
4682
4989
  components: {
@@ -4694,7 +5001,7 @@ interface ScatterplotUmapUIState extends InputStateParent<'scatterplot-umap'> {
4694
5001
  };
4695
5002
  }
4696
5003
  //#endregion
4697
- //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.82.0/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/selection.d.ts
5004
+ //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.83.9/node_modules/@milaboratories/pf-plots/dist/controllers/controllersByChartType/selection.d.ts
4698
5005
  interface SelectionUIState extends InputStateParent<'selection'> {
4699
5006
  type: 'selection';
4700
5007
  components: {
@@ -4707,13 +5014,13 @@ interface SelectionUIState extends InputStateParent<'selection'> {
4707
5014
  };
4708
5015
  }
4709
5016
  //#endregion
4710
- //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.82.0/node_modules/@milaboratories/pf-plots/dist/index.d.ts
4711
- type InputNamesByChartType = { [K in ChartType]: K extends 'discrete' ? keyof DiscreteUIState['components'] : K extends 'heatmap' ? keyof HeatmapUIState['components'] : K extends 'dendro' ? keyof DendroUIState['components'] : K extends 'scatterplot' ? keyof ScatterplotUIState['components'] : K extends 'scatterplot-umap' ? keyof ScatterplotUmapUIState['components'] : K extends 'histogram' ? keyof HistogramUIState['components'] : K extends 'bubble' ? keyof BubbleUIState['components'] : K extends 'selection' ? keyof SelectionUIState['components'] : never };
5017
+ //#region ../node_modules/.pnpm/@milaboratories+pf-plots@1.5.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model@1.83.9/node_modules/@milaboratories/pf-plots/dist/index.d.ts
5018
+ type InputNamesByChartType = { [K in ChartType]: K extends 'discrete' ? keyof DiscreteUIState['components'] : K extends 'heatmap' ? keyof HeatmapUIState['components'] : K extends 'dendro' ? keyof DendroUIState['components'] : K extends 'scatterplot' ? keyof ScatterplotUIState['components'] : K extends 'scatterplot-umap' ? keyof ScatterplotUmapUIState['components'] : K extends 'histogram' ? keyof HistogramUIState['components'] : K extends 'bubble' ? keyof BubbleUIState['components'] : K extends 'selection' ? keyof SelectionUIState['components'] : never; };
4712
5019
  //#endregion
4713
5020
  //#region ../node_modules/.pnpm/@vue+shared@3.5.24/node_modules/@vue/shared/dist/shared.d.ts
4714
- type Prettify<T> = { [K in keyof T]: T[K] } & {};
5021
+ type Prettify<T> = { [K in keyof T]: T[K]; } & {};
4715
5022
  type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
4716
- type LooseRequired<T> = { [P in keyof (T & Required<T>)]: T[P] };
5023
+ type LooseRequired<T> = { [P in keyof (T & Required<T>)]: T[P]; };
4717
5024
  type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
4718
5025
  //#endregion
4719
5026
  //#region ../node_modules/.pnpm/@vue+reactivity@3.5.24/node_modules/@vue/reactivity/dist/reactivity.d.ts
@@ -4807,14 +5114,14 @@ type ShallowRef<T = any, S = T> = Ref<T, S> & {
4807
5114
  * ```
4808
5115
  */
4809
5116
  interface RefUnwrapBailTypes {}
4810
- type ShallowUnwrapRef<T> = { [K in keyof T]: DistributeRef<T[K]> };
5117
+ type ShallowUnwrapRef<T> = { [K in keyof T]: DistributeRef<T[K]>; };
4811
5118
  type DistributeRef<T> = T extends Ref<infer V, unknown> ? V : T;
4812
5119
  type UnwrapRef<T> = T extends ShallowRef<infer V, unknown> ? V : T extends Ref<infer V, unknown> ? UnwrapRefSimple<V> : UnwrapRefSimple<T>;
4813
5120
  type UnwrapRefSimple<T> = T extends Builtin | Ref | RefUnwrapBailTypes[keyof RefUnwrapBailTypes] | {
4814
5121
  [RawSymbol]?: true;
4815
- } ? T : T extends Map<infer K, infer V> ? Map<K, UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof Map<any, any>>> : T extends WeakMap<infer K, infer V> ? WeakMap<K, UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof WeakMap<any, any>>> : T extends Set<infer V> ? Set<UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof Set<any>>> : T extends WeakSet<infer V> ? WeakSet<UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof WeakSet<any>>> : T extends ReadonlyArray<any> ? { [K in keyof T]: UnwrapRefSimple<T[K]> } : T extends object & {
5122
+ } ? T : T extends Map<infer K, infer V> ? Map<K, UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof Map<any, any>>> : T extends WeakMap<infer K, infer V> ? WeakMap<K, UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof WeakMap<any, any>>> : T extends Set<infer V> ? Set<UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof Set<any>>> : T extends WeakSet<infer V> ? WeakSet<UnwrapRefSimple<V>> & UnwrapRef<Omit<T, keyof WeakSet<any>>> : T extends ReadonlyArray<any> ? { [K in keyof T]: UnwrapRefSimple<T[K]>; } : T extends object & {
4816
5123
  [ShallowReactiveMarker]?: never;
4817
- } ? { [P in keyof T]: P extends symbol ? T[P] : UnwrapRef<T[P]> } : T;
5124
+ } ? { [P in keyof T]: P extends symbol ? T[P] : UnwrapRef<T[P]>; } : T;
4818
5125
  type WatchCallback<V = any, OV = any> = (value: V, oldValue: OV, onCleanup: OnCleanup) => any;
4819
5126
  type OnCleanup = (cleanupFn: () => void) => void;
4820
5127
  type WatchStopHandle = () => void;
@@ -4830,7 +5137,7 @@ type SlotsType<T extends Record<string, any> = Record<string, any>> = {
4830
5137
  [SlotSymbol]?: T;
4831
5138
  };
4832
5139
  type StrictUnwrapSlotsType<S extends SlotsType, T = NonNullable<S[typeof SlotSymbol]>> = [keyof S] extends [never] ? Slots : Readonly<T> & T;
4833
- type UnwrapSlotsType<S extends SlotsType, T = NonNullable<S[typeof SlotSymbol]>> = [keyof S] extends [never] ? Slots : Readonly<Prettify<{ [K in keyof T]: NonNullable<T[K]> extends ((...args: any[]) => any) ? T[K] : Slot<T[K]> }>>;
5140
+ type UnwrapSlotsType<S extends SlotsType, T = NonNullable<S[typeof SlotSymbol]>> = [keyof S] extends [never] ? Slots : Readonly<Prettify<{ [K in keyof T]: NonNullable<T[K]> extends ((...args: any[]) => any) ? T[K] : Slot<T[K]>; }>>;
4834
5141
  type RawSlots = {
4835
5142
  [name: string]: unknown;
4836
5143
  $stable?: boolean;
@@ -4872,7 +5179,7 @@ interface SchedulerJob extends Function {
4872
5179
  declare function nextTick(): Promise<void>;
4873
5180
  declare function nextTick<T, R>(this: T, fn: (this: T) => R | Promise<R>): Promise<R>;
4874
5181
  type ComponentPropsOptions<P = Data$1> = ComponentObjectPropsOptions<P> | string[];
4875
- type ComponentObjectPropsOptions<P = Data$1> = { [K in keyof P]: Prop<P[K]> | null };
5182
+ type ComponentObjectPropsOptions<P = Data$1> = { [K in keyof P]: Prop<P[K]> | null; };
4876
5183
  type Prop<T, D = T> = PropOptions<T, D> | PropType<T>;
4877
5184
  type DefaultFactory<T> = (props: Data$1) => T | null | undefined;
4878
5185
  interface PropOptions<T = any, D = T> {
@@ -4900,7 +5207,7 @@ type RequiredKeys<T> = { [K in keyof T]: T[K] extends {
4900
5207
  type: BooleanConstructor;
4901
5208
  } ? T[K] extends {
4902
5209
  default: undefined | (() => undefined);
4903
- } ? never : K : never }[keyof T];
5210
+ } ? never : K : never; }[keyof T];
4904
5211
  type OptionalKeys<T> = Exclude<keyof T, RequiredKeys<T>>;
4905
5212
  type DefaultKeys<T> = { [K in keyof T]: T[K] extends {
4906
5213
  default: any;
@@ -4909,7 +5216,7 @@ type DefaultKeys<T> = { [K in keyof T]: T[K] extends {
4909
5216
  } ? T[K] extends {
4910
5217
  type: BooleanConstructor;
4911
5218
  required: true;
4912
- } ? never : K : never }[keyof T];
5219
+ } ? never : K : never; }[keyof T];
4913
5220
  type InferPropType<T, NullAsAny = true> = [T] extends [null] ? NullAsAny extends true ? any : null : [T] extends [{
4914
5221
  type: null | true;
4915
5222
  }] ? any : [T] extends [ObjectConstructor | {
@@ -4932,8 +5239,8 @@ type InferPropType<T, NullAsAny = true> = [T] extends [null] ? NullAsAny extends
4932
5239
  */
4933
5240
  type ExtractPropTypes<O> = { [K in keyof Pick<O, RequiredKeys<O>>]: O[K] extends {
4934
5241
  default: any;
4935
- } ? Exclude<InferPropType<O[K]>, undefined> : InferPropType<O[K]> } & { [K in keyof Pick<O, OptionalKeys<O>>]?: InferPropType<O[K]> };
4936
- type ExtractDefaultPropTypes<O> = O extends object ? { [K in keyof Pick<O, DefaultKeys<O>>]: InferPropType<O[K]> } : {};
5242
+ } ? Exclude<InferPropType<O[K]>, undefined> : InferPropType<O[K]>; } & { [K in keyof Pick<O, OptionalKeys<O>>]?: InferPropType<O[K]>; };
5243
+ type ExtractDefaultPropTypes<O> = O extends object ? { [K in keyof Pick<O, DefaultKeys<O>>]: InferPropType<O[K]>; } : {};
4937
5244
  /**
4938
5245
  * Vue `<script setup>` compiler macro for declaring component props. The
4939
5246
  * expected argument is the same as the component `props` option.
@@ -4966,10 +5273,10 @@ type ExtractDefaultPropTypes<O> = O extends object ? { [K in keyof Pick<O, Defau
4966
5273
  * This is only usable inside `<script setup>`, is compiled away in the
4967
5274
  * output and should **not** be actually called at runtime.
4968
5275
  */
4969
- declare function defineProps<PropNames extends string = string>(props: PropNames[]): Prettify<Readonly<{ [key in PropNames]?: any }>>;
5276
+ declare function defineProps<PropNames extends string = string>(props: PropNames[]): Prettify<Readonly<{ [key in PropNames]?: any; }>>;
4970
5277
  declare function defineProps<PP extends ComponentObjectPropsOptions = ComponentObjectPropsOptions>(props: PP): Prettify<Readonly<ExtractPropTypes<PP>>>;
4971
5278
  declare function defineProps<TypeProps>(): DefineProps<LooseRequired<TypeProps>, BooleanKey<TypeProps>>;
4972
- type DefineProps<T, BKeys extends keyof T> = Readonly<T> & { readonly [K in BKeys]-?: boolean };
5279
+ type DefineProps<T, BKeys extends keyof T> = Readonly<T> & { readonly [K in BKeys]-?: boolean; };
4973
5280
  type BooleanKey<T, K extends keyof T = keyof T> = K extends any ? [T[K]] extends [boolean | undefined] ? K : never : never;
4974
5281
  /**
4975
5282
  * Vue `<script setup>` compiler macro for declaring a component's emitted
@@ -5002,7 +5309,7 @@ declare function defineEmits<E extends EmitsOptions = EmitsOptions>(emitOptions:
5002
5309
  declare function defineEmits<T extends ComponentTypeEmits>(): T extends ((...args: any[]) => any) ? T : ShortEmits<T>;
5003
5310
  type ComponentTypeEmits = ((...args: any[]) => any) | Record<string, any>;
5004
5311
  type RecordToUnion<T extends Record<string, any>> = T[keyof T];
5005
- type ShortEmits<T extends Record<string, any>> = UnionToIntersection<RecordToUnion<{ [K in keyof T]: (evt: K, ...args: T[K]) => void }>>;
5312
+ type ShortEmits<T extends Record<string, any>> = UnionToIntersection<RecordToUnion<{ [K in keyof T]: (evt: K, ...args: T[K]) => void; }>>;
5006
5313
  /**
5007
5314
  * Vue `<script setup>` compiler macro for declaring a component's exposed
5008
5315
  * instance properties when it is accessed by a parent component via template
@@ -5095,11 +5402,11 @@ declare function defineModel<T, M extends PropertyKey = string, G = T, S = T>(na
5095
5402
  }) & PropOptions<T> & DefineModelOptions<T, G, S>): ModelRef<T, M, G, S>;
5096
5403
  declare function defineModel<T, M extends PropertyKey = string, G = T, S = T>(name: string, options?: PropOptions<T> & DefineModelOptions<T, G, S>): ModelRef<T | undefined, M, G | undefined, S | undefined>;
5097
5404
  type NotUndefined<T> = T extends undefined ? never : T;
5098
- type MappedOmit<T, K extends keyof any> = { [P in keyof T as P extends K ? never : P]: T[P] };
5099
- type InferDefaults<T> = { [K in keyof T]?: InferDefault<T, T[K]> };
5405
+ type MappedOmit<T, K extends keyof any> = { [P in keyof T as P extends K ? never : P]: T[P]; };
5406
+ type InferDefaults<T> = { [K in keyof T]?: InferDefault<T, T[K]>; };
5100
5407
  type NativeType = null | undefined | number | string | boolean | symbol | Function;
5101
5408
  type InferDefault<P, T> = ((props: P) => T & {}) | (T extends NativeType ? T : never);
5102
- type PropsWithDefaults<T, Defaults extends InferDefaults<T>, BKeys extends keyof T> = T extends unknown ? Readonly<MappedOmit<T, keyof Defaults>> & { readonly [K in keyof Defaults as K extends keyof T ? K : never]-?: K extends keyof T ? Defaults[K] extends undefined ? IfAny<Defaults[K], NotUndefined<T[K]>, T[K]> : NotUndefined<T[K]> : never } & { readonly [K in BKeys]-?: K extends keyof Defaults ? Defaults[K] extends undefined ? boolean | undefined : boolean : boolean } : never;
5409
+ type PropsWithDefaults<T, Defaults extends InferDefaults<T>, BKeys extends keyof T> = T extends unknown ? Readonly<MappedOmit<T, keyof Defaults>> & { readonly [K in keyof Defaults as K extends keyof T ? K : never]-?: K extends keyof T ? Defaults[K] extends undefined ? IfAny<Defaults[K], NotUndefined<T[K]>, T[K]> : NotUndefined<T[K]> : never; } & { readonly [K in BKeys]-?: K extends keyof Defaults ? Defaults[K] extends undefined ? boolean | undefined : boolean : boolean; } : never;
5103
5410
  /**
5104
5411
  * Vue `<script setup>` compiler macro for providing props default values when
5105
5412
  * using type-based `defineProps` declaration.
@@ -5123,9 +5430,9 @@ type PropsWithDefaults<T, Defaults extends InferDefaults<T>, BKeys extends keyof
5123
5430
  declare function withDefaults<T, BKeys extends keyof T, Defaults extends InferDefaults<T>>(props: DefineProps<T, BKeys>, defaults: Defaults): PropsWithDefaults<T, Defaults, BKeys>;
5124
5431
  type ObjectEmitsOptions = Record<string, ((...args: any[]) => any) | null>;
5125
5432
  type EmitsOptions = ObjectEmitsOptions | string[];
5126
- type EmitsToProps<T extends EmitsOptions | ComponentTypeEmits> = T extends string[] ? { [K in `on${Capitalize<T[number]>}`]?: (...args: any[]) => any } : T extends ObjectEmitsOptions ? { [K in string & keyof T as `on${Capitalize<K>}`]?: (...args: T[K] extends ((...args: infer P) => any) ? P : T[K] extends null ? any[] : never) => any } : {};
5127
- type ShortEmitsToObject<E> = E extends Record<string, any[]> ? { [K in keyof E]: (...args: E[K]) => any } : E;
5128
- type EmitFn<Options = ObjectEmitsOptions, Event extends keyof Options = keyof Options> = Options extends Array<infer V> ? (event: V, ...args: any[]) => void : {} extends Options ? (event: string, ...args: any[]) => void : UnionToIntersection<{ [key in Event]: Options[key] extends ((...args: infer Args) => any) ? (event: key, ...args: Args) => void : Options[key] extends any[] ? (event: key, ...args: Options[key]) => void : (event: key, ...args: any[]) => void }[Event]>;
5433
+ type EmitsToProps<T extends EmitsOptions | ComponentTypeEmits> = T extends string[] ? { [K in `on${Capitalize<T[number]>}`]?: (...args: any[]) => any; } : T extends ObjectEmitsOptions ? { [K in string & keyof T as `on${Capitalize<K>}`]?: (...args: T[K] extends ((...args: infer P) => any) ? P : T[K] extends null ? any[] : never) => any; } : {};
5434
+ type ShortEmitsToObject<E> = E extends Record<string, any[]> ? { [K in keyof E]: (...args: E[K]) => any; } : E;
5435
+ type EmitFn<Options = ObjectEmitsOptions, Event extends keyof Options = keyof Options> = Options extends Array<infer V> ? (event: V, ...args: any[]) => void : {} extends Options ? (event: string, ...args: any[]) => void : UnionToIntersection<{ [key in Event]: Options[key] extends ((...args: infer Args) => any) ? (event: key, ...args: Args) => void : Options[key] extends any[] ? (event: key, ...args: Options[key]) => void : (event: key, ...args: any[]) => void; }[Event]>;
5129
5436
  /**
5130
5437
  Runtime helper for applying directives to a vnode. Example usage:
5131
5438
 
@@ -5202,10 +5509,6 @@ type ComponentPublicInstanceConstructor<T extends ComponentPublicInstance<Props,
5202
5509
  __isSuspense?: never;
5203
5510
  new (...args: any[]): T;
5204
5511
  };
5205
- /**
5206
- * @deprecated This is no longer used internally, but exported and relied on by
5207
- * existing library types generated by vue-tsc.
5208
- */
5209
5512
  /**
5210
5513
  * This is the same as `CreateComponentPublicInstance` but adds local components,
5211
5514
  * global directives, exposed, and provide inference.
@@ -5215,10 +5518,10 @@ type ComponentPublicInstanceConstructor<T extends ComponentPublicInstance<Props,
5215
5518
  */
5216
5519
  type CreateComponentPublicInstanceWithMixins<P = {}, B = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, PublicProps = P, Defaults = {}, MakeDefaultsOptional extends boolean = false, I extends ComponentInjectOptions = {}, S extends SlotsType = {}, LC extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, TypeRefs extends Data$1 = {}, TypeEl extends Element = any, Provide extends ComponentProvideOptions = ComponentProvideOptions, PublicMixin = IntersectionMixin<Mixin> & IntersectionMixin<Extends>, PublicP = UnwrapMixinsType<PublicMixin, 'P'> & EnsureNonVoid<P>, PublicB = UnwrapMixinsType<PublicMixin, 'B'> & EnsureNonVoid<B>, PublicD = UnwrapMixinsType<PublicMixin, 'D'> & EnsureNonVoid<D>, PublicC extends ComputedOptions = UnwrapMixinsType<PublicMixin, 'C'> & EnsureNonVoid<C>, PublicM extends MethodOptions = UnwrapMixinsType<PublicMixin, 'M'> & EnsureNonVoid<M>, PublicDefaults = UnwrapMixinsType<PublicMixin, 'Defaults'> & EnsureNonVoid<Defaults>> = ComponentPublicInstance<PublicP, PublicB, PublicD, PublicC, PublicM, E, PublicProps, PublicDefaults, MakeDefaultsOptional, ComponentOptionsBase<P, B, D, C, M, Mixin, Extends, E, string, Defaults, {}, string, S, LC, Directives, Exposed, Provide>, I, S, Exposed, TypeRefs, TypeEl>;
5217
5520
  type ExposedKeys<T, Exposed extends string & keyof T> = '' extends Exposed ? T : Pick<T, Exposed>;
5218
- type ComponentPublicInstance<P = {}, // props type extracted from props option
5219
- B = {}, // raw bindings returned from setup()
5220
- D = {}, // return from data()
5221
- C extends ComputedOptions = {}, M extends MethodOptions = {}, E extends EmitsOptions = {}, PublicProps = {}, Defaults = {}, MakeDefaultsOptional extends boolean = false, Options = ComponentOptionsBase<any, any, any, any, any, any, any, any, any>, I extends ComponentInjectOptions = {}, S extends SlotsType = {}, Exposed extends string = '', TypeRefs extends Data$1 = {}, TypeEl extends Element = any> = {
5521
+ type ComponentPublicInstance<P = {} // props type extracted from props option
5522
+ , B = {} // raw bindings returned from setup()
5523
+ , D = {} // return from data()
5524
+ , C extends ComputedOptions = {}, M extends MethodOptions = {}, E extends EmitsOptions = {}, PublicProps = {}, Defaults = {}, MakeDefaultsOptional extends boolean = false, Options = ComponentOptionsBase<any, any, any, any, any, any, any, any, any>, I extends ComponentInjectOptions = {}, S extends SlotsType = {}, Exposed extends string = '', TypeRefs extends Data$1 = {}, TypeEl extends Element = any> = {
5222
5525
  $: ComponentInternalInstance;
5223
5526
  $data: D;
5224
5527
  $props: MakeDefaultsOptional extends true ? Partial<Defaults> & Omit<Prettify<P> & PublicProps, keyof Defaults> : Prettify<P> & PublicProps;
@@ -5353,8 +5656,8 @@ interface RendererInternals<HostNode = RendererNode, HostElement = RendererEleme
5353
5656
  n: NextFn;
5354
5657
  o: RendererOptions<HostNode, HostElement>;
5355
5658
  }
5356
- type PatchFn = (n1: VNode | null, // null means this is a mount
5357
- n2: VNode, container: RendererElement, anchor?: RendererNode | null, parentComponent?: ComponentInternalInstance | null, parentSuspense?: SuspenseBoundary | null, namespace?: ElementNamespace, slotScopeIds?: string[] | null, optimized?: boolean) => void;
5659
+ type PatchFn = (n1: VNode | null // null means this is a mount
5660
+ , n2: VNode, container: RendererElement, anchor?: RendererNode | null, parentComponent?: ComponentInternalInstance | null, parentSuspense?: SuspenseBoundary | null, namespace?: ElementNamespace, slotScopeIds?: string[] | null, optimized?: boolean) => void;
5358
5661
  type MountChildrenFn = (children: VNodeArrayChildren, container: RendererElement, anchor: RendererNode | null, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, namespace: ElementNamespace, slotScopeIds: string[] | null, optimized: boolean, start?: number) => void;
5359
5662
  type PatchChildrenFn = (n1: VNode | null, n2: VNode, container: RendererElement, anchor: RendererNode | null, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, namespace: ElementNamespace, slotScopeIds: string[] | null, optimized: boolean) => void;
5360
5663
  type PatchBlockChildrenFn = (oldChildren: VNode[], newChildren: VNode[], fallbackContainer: RendererElement, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, namespace: ElementNamespace, slotScopeIds: string[] | null) => void;
@@ -5369,21 +5672,6 @@ declare enum MoveType {
5369
5672
  LEAVE = 1,
5370
5673
  REORDER = 2
5371
5674
  }
5372
- /**
5373
- * The createRenderer function accepts two generic arguments:
5374
- * HostNode and HostElement, corresponding to Node and Element types in the
5375
- * host environment. For example, for runtime-dom, HostNode would be the DOM
5376
- * `Node` interface and HostElement would be the DOM `Element` interface.
5377
- *
5378
- * Custom renderers can pass in the platform specific types like this:
5379
- *
5380
- * ``` js
5381
- * const { render, createApp } = createRenderer<Node, Element>({
5382
- * patchProp,
5383
- * ...nodeOps
5384
- * })
5385
- * ```
5386
- */
5387
5675
  type MatchPattern = string | RegExp | (string | RegExp)[];
5388
5676
  interface KeepAliveProps {
5389
5677
  include?: MatchPattern;
@@ -5493,7 +5781,7 @@ interface MethodOptions {
5493
5781
  }
5494
5782
  type ExtractComputedReturns<T extends any> = { [key in keyof T]: T[key] extends {
5495
5783
  get: (...args: any[]) => infer TReturn;
5496
- } ? TReturn : T[key] extends ((...args: any[]) => infer TReturn) ? TReturn : never };
5784
+ } ? TReturn : T[key] extends ((...args: any[]) => infer TReturn) ? TReturn : never; };
5497
5785
  type ObjectWatchOptionItem = {
5498
5786
  handler: WatchCallback | string;
5499
5787
  } & WatchOptions;
@@ -5507,7 +5795,7 @@ type ObjectInjectOptions = Record<string | symbol, string | symbol | {
5507
5795
  from?: string | symbol;
5508
5796
  default?: unknown;
5509
5797
  }>;
5510
- type InjectToObject<T extends ComponentInjectOptions> = T extends string[] ? { [K in T[number]]?: unknown } : T extends ObjectInjectOptions ? { [K in keyof T]?: unknown } : never;
5798
+ type InjectToObject<T extends ComponentInjectOptions> = T extends string[] ? { [K in T[number]]?: unknown; } : T extends ObjectInjectOptions ? { [K in keyof T]?: unknown; } : never;
5511
5799
  interface LegacyOptions<Props, D, C extends ComputedOptions, M extends MethodOptions, Mixin extends ComponentOptionsMixin, Extends extends ComponentOptionsMixin, I extends ComponentInjectOptions, II extends string, Provide extends ComponentProvideOptions = ComponentProvideOptions> {
5512
5800
  compatConfig?: CompatConfig;
5513
5801
  [key: string]: any;
@@ -5561,9 +5849,11 @@ type MergedComponentOptionsOverride = {
5561
5849
  beforeUpdate?: MergedHook;
5562
5850
  updated?: MergedHook;
5563
5851
  activated?: MergedHook;
5564
- deactivated?: MergedHook; /** @deprecated use `beforeUnmount` instead */
5852
+ deactivated?: MergedHook;
5853
+ /** @deprecated use `beforeUnmount` instead */
5565
5854
  beforeDestroy?: MergedHook;
5566
- beforeUnmount?: MergedHook; /** @deprecated use `unmounted` instead */
5855
+ beforeUnmount?: MergedHook;
5856
+ /** @deprecated use `unmounted` instead */
5567
5857
  destroyed?: MergedHook;
5568
5858
  unmounted?: MergedHook;
5569
5859
  renderTracked?: MergedHook<DebuggerHook>;
@@ -5579,9 +5869,6 @@ type OptionTypesType<P = {}, B = {}, D = {}, C extends ComputedOptions = {}, M e
5579
5869
  M: M;
5580
5870
  Defaults: Defaults;
5581
5871
  };
5582
- /**
5583
- * @deprecated
5584
- */
5585
5872
  interface InjectionConstraint<T> {}
5586
5873
  type InjectionKey<T> = symbol & InjectionConstraint<T>;
5587
5874
  type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -5601,17 +5888,14 @@ interface App<HostElement = any> {
5601
5888
  /**
5602
5889
  * @internal
5603
5890
  */
5604
-
5605
5891
  isHydrate?: boolean,
5606
5892
  /**
5607
5893
  * @internal
5608
5894
  */
5609
-
5610
5895
  namespace?: boolean | ElementNamespace,
5611
5896
  /**
5612
5897
  * @internal
5613
5898
  */
5614
-
5615
5899
  vnode?: VNode): ComponentPublicInstance;
5616
5900
  unmount(): void;
5617
5901
  onUnmount(cb: () => void): void;
@@ -5681,7 +5965,7 @@ type ObjectPlugin<Options = any[]> = {
5681
5965
  install: PluginInstallFunction<Options>;
5682
5966
  };
5683
5967
  type FunctionPlugin<Options = any[]> = PluginInstallFunction<Options> & Partial<ObjectPlugin<Options>>;
5684
- type Plugin<Options = any[], P extends unknown[] = (Options extends unknown[] ? Options : [Options])> = FunctionPlugin<P> | ObjectPlugin<P>;
5968
+ type Plugin<Options = any[], P extends unknown[] = Options extends unknown[] ? Options : [Options]> = FunctionPlugin<P> | ObjectPlugin<P>;
5685
5969
  type TeleportVNode = VNode<RendererNode, RendererElement, TeleportProps>;
5686
5970
  interface TeleportProps {
5687
5971
  to: string | RendererElement | null | undefined;
@@ -5692,36 +5976,18 @@ declare const TeleportImpl: {
5692
5976
  name: string;
5693
5977
  __isTeleport: boolean;
5694
5978
  process(n1: TeleportVNode | null, n2: TeleportVNode, container: RendererElement, anchor: RendererNode | null, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, namespace: ElementNamespace, slotScopeIds: string[] | null, optimized: boolean, internals: RendererInternals): void;
5695
- remove(vnode: VNode, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, {
5696
- um: unmount,
5697
- o: {
5698
- remove: hostRemove
5699
- }
5700
- }: RendererInternals, doRemove: boolean): void;
5979
+ remove(vnode: VNode, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, { um: unmount, o: { remove: hostRemove } }: RendererInternals, doRemove: boolean): void;
5701
5980
  move: typeof moveTeleport;
5702
5981
  hydrate: typeof hydrateTeleport;
5703
5982
  };
5704
5983
  declare enum TeleportMoveTypes {
5705
5984
  TARGET_CHANGE = 0,
5706
- TOGGLE = 1,
5707
- // enable / disable
5985
+ TOGGLE = 1 // enable / disable
5986
+ ,
5708
5987
  REORDER = 2
5709
5988
  }
5710
- declare function moveTeleport(vnode: VNode, container: RendererElement, parentAnchor: RendererNode | null, {
5711
- o: {
5712
- insert
5713
- },
5714
- m: move
5715
- }: RendererInternals, moveType?: TeleportMoveTypes): void;
5716
- declare function hydrateTeleport(node: Node, vnode: TeleportVNode, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, slotScopeIds: string[] | null, optimized: boolean, {
5717
- o: {
5718
- nextSibling,
5719
- parentNode,
5720
- querySelector,
5721
- insert,
5722
- createText
5723
- }
5724
- }: RendererInternals<Node, Element>, hydrateChildren: (node: Node | null, vnode: VNode, container: Element, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, slotScopeIds: string[] | null, optimized: boolean) => Node | null): Node | null;
5989
+ declare function moveTeleport(vnode: VNode, container: RendererElement, parentAnchor: RendererNode | null, { o: { insert }, m: move }: RendererInternals, moveType?: TeleportMoveTypes): void;
5990
+ declare function hydrateTeleport(node: Node, vnode: TeleportVNode, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, slotScopeIds: string[] | null, optimized: boolean, { o: { nextSibling, parentNode, querySelector, insert, createText } }: RendererInternals<Node, Element>, hydrateChildren: (node: Node | null, vnode: VNode, container: Element, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, slotScopeIds: string[] | null, optimized: boolean) => Node | null): Node | null;
5725
5991
  declare const Teleport: {
5726
5992
  __isTeleport: true;
5727
5993
  new (): {
@@ -5807,18 +6073,6 @@ interface VNode<HostNode = RendererNode, HostElement = RendererElement, ExtraPro
5807
6073
  appContext: AppContext | null;
5808
6074
  }
5809
6075
  type Data$1 = Record<string, unknown>;
5810
- /**
5811
- * Public utility type for extracting the instance type of a component.
5812
- * Works with all valid component definition types. This is intended to replace
5813
- * the usage of `InstanceType<typeof Comp>` which only works for
5814
- * constructor-based component definition types.
5815
- *
5816
- * @example
5817
- * ```ts
5818
- * const MyComp = { ... }
5819
- * declare const instance: ComponentInstance<typeof MyComp>
5820
- * ```
5821
- */
5822
6076
  /**
5823
6077
  * For extending allowed non-declared props on components in TSX
5824
6078
  */
@@ -5975,7 +6229,8 @@ declare module '@vue/runtime-core' {
5975
6229
  KeepAlive: DefineComponent<KeepAliveProps>;
5976
6230
  BaseTransition: DefineComponent<BaseTransitionProps>;
5977
6231
  }
5978
- } // Note: this file is auto concatenated to the end of the bundled d.ts during
6232
+ }
6233
+ // Note: this file is auto concatenated to the end of the bundled d.ts during
5979
6234
  // build.
5980
6235
  type _defineProps = typeof defineProps;
5981
6236
  type _defineEmits = typeof defineEmits;
@@ -6034,13 +6289,7 @@ type SystemModifiers = (typeof systemModifiers)[number];
6034
6289
  type CompatModifiers = keyof typeof keyNames;
6035
6290
  type VOnModifiers = SystemModifiers | ModifierGuards | CompatModifiers;
6036
6291
  type ModifierGuards = 'shift' | 'ctrl' | 'alt' | 'meta' | 'left' | 'right' | 'stop' | 'prevent' | 'self' | 'middle' | 'exact';
6037
- /**
6038
- * @private
6039
- */
6040
6292
  declare const keyNames: Record<'esc' | 'space' | 'up' | 'left' | 'right' | 'down' | 'delete', string>;
6041
- /**
6042
- * @private
6043
- */
6044
6293
  type VOnDirective = Directive<any, any, VOnModifiers>;
6045
6294
  type AssignerFn = (value: any) => void;
6046
6295
  declare const assignKey: unique symbol;
@@ -6082,7 +6331,7 @@ declare module '@vue/runtime-core' {
6082
6331
  }
6083
6332
  }
6084
6333
  //#endregion
6085
- //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_eknyopwbwkk5dyopyy3tumrr4q/node_modules/@milaboratories/graph-maker/dist/dataBindAes.d.ts
6334
+ //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_rmi4yoexe2owj33sow37pnjvh4/node_modules/@milaboratories/graph-maker/dist/dataBindAes.d.ts
6086
6335
  /** Mapping for categorical axes (string axes) */
6087
6336
  interface AestheticMappingCategorical {
6088
6337
  type: 'categorical';
@@ -6103,7 +6352,7 @@ interface AestheticValues {
6103
6352
  dotShape: DotShape;
6104
6353
  }
6105
6354
  //#endregion
6106
- //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_eknyopwbwkk5dyopyy3tumrr4q/node_modules/@milaboratories/graph-maker/dist/components/AesSettings/types.d.ts
6355
+ //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_rmi4yoexe2owj33sow37pnjvh4/node_modules/@milaboratories/graph-maker/dist/components/AesSettings/types.d.ts
6107
6356
  type CategoricalPalette = 'light' | 'bright' | 'dark' | 'paired' | 'triadic' | 'magnetic';
6108
6357
  type SequentialPalette = 'viridis' | 'magma' | 'density' | 'salinity' | 'sunset' | 'perceptual_rainbow';
6109
6358
  type DivergingPalette = 'spectrum' | 'teal_red' | 'blue_red' | 'lime_rose' | 'viridis_magma';
@@ -6112,14 +6361,14 @@ type Palette = CategoricalPalette | ContinuousPalette;
6112
6361
  type DotShape = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '21' | '22' | '23' | '24' | '25';
6113
6362
  type LineType = 'solid' | 'dashed' | 'dotted' | 'dotdash' | 'longdash' | 'twodash';
6114
6363
  //#endregion
6115
- //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_eknyopwbwkk5dyopyy3tumrr4q/node_modules/@milaboratories/graph-maker/dist/utils/createChartSettingsForRender/resolveLabelParts.d.ts
6364
+ //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_rmi4yoexe2owj33sow37pnjvh4/node_modules/@milaboratories/graph-maker/dist/utils/createChartSettingsForRender/resolveLabelParts.d.ts
6116
6365
  type LabelPartsOverlay = {
6117
6366
  order: string[];
6118
6367
  hidden?: Record<string, boolean>;
6119
6368
  };
6120
6369
  type LabelPartsState = LabelPartsOverlay | null;
6121
6370
  //#endregion
6122
- //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_eknyopwbwkk5dyopyy3tumrr4q/node_modules/@milaboratories/graph-maker/dist/constantsCommon.d.ts
6371
+ //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_rmi4yoexe2owj33sow37pnjvh4/node_modules/@milaboratories/graph-maker/dist/constantsCommon.d.ts
6123
6372
  type DiscreteStatisticsState = {
6124
6373
  overall: {
6125
6374
  data: {
@@ -6412,7 +6661,8 @@ type AxesState = {
6412
6661
  cellSize: number | null;
6413
6662
  annotationTitlePosition: 'top' | 'bottom' | 'hidden';
6414
6663
  hideAxisLabels: boolean;
6415
- hideAxisGroupLabels: boolean; /** Mirror of axisX.labelParts; see axisX for full semantics. */
6664
+ hideAxisGroupLabels: boolean;
6665
+ /** Mirror of axisX.labelParts; see axisX for full semantics. */
6416
6666
  labelParts: LabelPartsState;
6417
6667
  };
6418
6668
  legend: {
@@ -6428,21 +6678,23 @@ type AxesState = {
6428
6678
  groupingStack: 'vertical' | 'horizontal';
6429
6679
  canvasRenderMode: boolean;
6430
6680
  showLegend: boolean;
6431
- nullValueLabel: string; /** Max number of unique values saved per source (group/axis); over this limit sets overflow */
6432
- maxGroupCount: number; /** Max number of facet values saved per facetBy column; over this limit sets overflow */
6681
+ nullValueLabel: string;
6682
+ /** Max number of unique values saved per source (group/axis); over this limit sets overflow */
6683
+ maxGroupCount: number;
6684
+ /** Max number of facet values saved per facetBy column; over this limit sets overflow */
6433
6685
  maxFacetsCount: number;
6434
6686
  };
6435
6687
  };
6436
6688
  //#endregion
6437
- //#region ../node_modules/.pnpm/@milaboratories+uikit@2.15.25_@vue+compiler-dom@3.5.39_@vue+server-renderer@3.5.24_vue@3.5.24_vmdfu5yztq7e55uj55xznpiuxi/node_modules/@milaboratories/uikit/dist/types.d.ts
6689
+ //#region ../node_modules/.pnpm/@milaboratories+uikit@2.15.29_@vue+compiler-dom@3.5.39_@vue+server-renderer@3.5.24_vue@3.5.24_w7wd5ao6o5bg3ihsrmlty7jpwm/node_modules/@milaboratories/uikit/dist/types.d.ts
6438
6690
  declare global {
6439
6691
  var platforma: Platforma | undefined;
6440
6692
  interface Window {
6441
6693
  platforma: Platforma | undefined;
6442
6694
  }
6443
- } //# sourceMappingURL=types.d.ts.map
6695
+ }
6444
6696
  //#endregion
6445
- //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_eknyopwbwkk5dyopyy3tumrr4q/node_modules/@milaboratories/graph-maker/dist/forms/index.d.ts
6697
+ //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_rmi4yoexe2owj33sow37pnjvh4/node_modules/@milaboratories/graph-maker/dist/forms/index.d.ts
6446
6698
  declare const forms: {
6447
6699
  settings: {
6448
6700
  icon: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
@@ -6554,25 +6806,36 @@ type Polygon = {
6554
6806
  closed: boolean;
6555
6807
  };
6556
6808
  //#endregion
6557
- //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_eknyopwbwkk5dyopyy3tumrr4q/node_modules/@milaboratories/graph-maker/dist/utils/loadDefaultSources.d.ts
6809
+ //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_rmi4yoexe2owj33sow37pnjvh4/node_modules/@milaboratories/graph-maker/dist/utils/loadDefaultSources.d.ts
6558
6810
  type LoadedDefaultOptionsMap<T extends ChartType> = Record<InputNamesByChartType[T], (SelectorStateFilter | SelectorStateSimple)[]>;
6559
6811
  //#endregion
6560
- //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_eknyopwbwkk5dyopyy3tumrr4q/node_modules/@milaboratories/graph-maker/dist/types.d.ts
6561
- type DeepPartial$1<T> = { [P in keyof T]?: Partial<T[P]> };
6812
+ //#region ../node_modules/.pnpm/@milaboratories+graph-maker@1.8.0_@milaboratories+pl-model-common@1.48.0_@platforma-sdk+model_rmi4yoexe2owj33sow37pnjvh4/node_modules/@milaboratories/graph-maker/dist/types.d.ts
6813
+ type DeepPartial$1<T> = { [P in keyof T]?: Partial<T[P]>; };
6562
6814
  type GraphMakerState = {
6563
- /** Editable title on the top */title: string; /** 'box', 'violins', 'dots' etc, depends on chart type */
6815
+ /** Editable title on the top */
6816
+ title: string;
6817
+ /** 'box', 'violins', 'dots' etc, depends on chart type */
6564
6818
  template: LayersTemplate;
6565
6819
  /** Optional part, used for data saving to ui-state; don't need to be set in initial settings,
6566
- it appears in settings after changes in user interface */
6567
- currentTab?: FormKey | null; /** Value of current zoom in percents, by default 100 */
6568
- zoomState?: number; /** Lasso state for scatterplot */
6569
- selectedPolygons?: Polygon[]; /** Data-mapping state, use inner-generated keys to keep selected columns, use default-options prop to set defaults */
6570
- optionsState?: InputState; /** Technical field, used to keep track of used default options to avoid erasing of user's changes or not applying changed defaults */
6571
- usedDefaultOptions?: LoadedDefaultOptionsMap<ChartType>; /** Saved settings of p-value (for discrete charts), trends (for scatterplot) */
6572
- statisticsSettings?: DeepPartial$1<StatisticsState>; /** Settings of grid, axes titles, facet positions, grouping order */
6573
- axesSettings?: DeepPartial$1<AxesState>; /** Settings for every type of layer, aesthetics */
6574
- layersSettings?: DeepPartial$1<LayersSettings>; /** Saved palettes and color-mapping settings linked to columns/axes */
6575
- dataBindAes?: Record<string, AestheticMappingCategorical>; /** Technical field, used to keep track of tooltip hint was shown to avoid showing it again */
6820
+ it appears in settings after changes in user interface */
6821
+ currentTab?: FormKey | null;
6822
+ /** Value of current zoom in percents, by default 100 */
6823
+ zoomState?: number;
6824
+ /** Lasso state for scatterplot */
6825
+ selectedPolygons?: Polygon[];
6826
+ /** Data-mapping state, use inner-generated keys to keep selected columns, use default-options prop to set defaults */
6827
+ optionsState?: InputState;
6828
+ /** Technical field, used to keep track of used default options to avoid erasing of user's changes or not applying changed defaults */
6829
+ usedDefaultOptions?: LoadedDefaultOptionsMap<ChartType>;
6830
+ /** Saved settings of p-value (for discrete charts), trends (for scatterplot) */
6831
+ statisticsSettings?: DeepPartial$1<StatisticsState>;
6832
+ /** Settings of grid, axes titles, facet positions, grouping order */
6833
+ axesSettings?: DeepPartial$1<AxesState>;
6834
+ /** Settings for every type of layer, aesthetics */
6835
+ layersSettings?: DeepPartial$1<LayersSettings>;
6836
+ /** Saved palettes and color-mapping settings linked to columns/axes */
6837
+ dataBindAes?: Record<string, AestheticMappingCategorical>;
6838
+ /** Technical field, used to keep track of tooltip hint was shown to avoid showing it again */
6576
6839
  tooltipHintWasShown?: boolean;
6577
6840
  };
6578
6841
  type DiscreteLayer = 'box' | 'binnedDots' | 'jitteredDots' | 'violin' | 'bar' | 'stackedBar' | 'stackedArea' | 'line' | 'errorbar' | 'sina' | 'logo';
@@ -6601,7 +6864,8 @@ type HeatmapFrame = 'full' | 'none';
6601
6864
  //#region ../model/dist/index.d.ts
6602
6865
  /** Workflow-facing args, derived from `BlockData`. */
6603
6866
  type BlockArgs = {
6604
- /** Profiler state matrix `[variantKey, parentId, position] -> state`. */stateMatrixRef: PlRef;
6867
+ /** Profiler state matrix `[variantKey, parentId, position] -> state`. */
6868
+ stateMatrixRef: PlRef;
6605
6869
  /** Parent to scope the whole plot to. Required — the args projection throws until it is set
6606
6870
  * (the UI auto-selects the first parent), so the workflow only ever runs single-parent. */
6607
6871
  selectedParentId: string;
@@ -6643,30 +6907,27 @@ type BlockUiState = {
6643
6907
  */
6644
6908
  selectedLandscapeScore?: string;
6645
6909
  };
6646
- /** Data version `v1`: one faceted landscape chart, so one chart state. */
6647
6910
  /** Unified persisted data: workflow-relevant selections + UI view state. */
6648
6911
  type BlockData$1 = {
6649
6912
  customBlockLabel?: string;
6650
6913
  defaultBlockLabel?: string;
6651
- stateMatrixRef?: PlRef; /** Parent the plot is scoped to (UI auto-selects the first available on load). */
6652
- selectedParentId?: string; /** Ordered per-round frequency columns; `[0]` = baseline R0. Empty = composition view off. */
6653
- roundFrequencyRefs: SUniversalPColumnId[]; /** Fraction-space epsilon for the composition ratio (default 1e-6). */
6654
- compositionEpsilon: number; /** Ordered per-variant score columns for the mutation landscape. Empty = no map rendered. */
6914
+ stateMatrixRef?: PlRef;
6915
+ /** Parent the plot is scoped to (UI auto-selects the first available on load). */
6916
+ selectedParentId?: string;
6917
+ /** Ordered per-round frequency columns; `[0]` = baseline R0. Empty = composition view off. */
6918
+ roundFrequencyRefs: SUniversalPColumnId[];
6919
+ /** Fraction-space epsilon for the composition ratio (default 1e-6). */
6920
+ compositionEpsilon: number;
6921
+ /** Ordered per-variant score columns for the mutation landscape. Empty = no map rendered. */
6655
6922
  scoreRefs: SUniversalPColumnId[];
6656
6923
  } & BlockUiState;
6657
- /**
6658
- * Default state for a mutation-landscape chart. Used by `init` for the placeholder and by the UI
6659
- * for each score a run produces, so the two look alike.
6660
- *
6661
- * @param currentTab `"settings"` opens the Settings drawer, `null` leaves it closed
6662
- */
6663
- declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, InferOutputsFromLambdas<{
6924
+ export declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, InferOutputsFromLambdas<{
6664
6925
  stateMatrixOptions: ConfigRenderLambda<{
6665
6926
  readonly ref: {
6666
6927
  readonly __isRef: true;
6667
6928
  readonly blockId: string;
6668
6929
  readonly name: string;
6669
- readonly requireEnrichments?: true | undefined | undefined;
6930
+ readonly requireEnrichments?: true | undefined;
6670
6931
  };
6671
6932
  readonly label: string;
6672
6933
  }[]>;
@@ -6690,35 +6951,6 @@ declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, I
6690
6951
  };
6691
6952
  } & {
6692
6953
  singleMutantHeatmapPCols: ConfigRenderLambda<{
6693
- readonly spec: {
6694
- readonly kind: "PColumn";
6695
- readonly name: string;
6696
- readonly domain?: {
6697
- [x: string]: string;
6698
- } | undefined;
6699
- readonly contextDomain?: {
6700
- [x: string]: string;
6701
- } | undefined;
6702
- readonly annotations?: {
6703
- [x: string]: string;
6704
- } | undefined;
6705
- readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
6706
- readonly parentAxes?: number[] | undefined;
6707
- readonly axesSpec: {
6708
- readonly type: AxisValueType;
6709
- readonly name: string;
6710
- readonly domain?: {
6711
- [x: string]: string;
6712
- } | undefined;
6713
- readonly contextDomain?: {
6714
- [x: string]: string;
6715
- } | undefined;
6716
- readonly annotations?: {
6717
- [x: string]: string;
6718
- } | undefined;
6719
- readonly parentAxes?: number[] | undefined;
6720
- }[];
6721
- };
6722
6954
  readonly id: PObjectId;
6723
6955
  readonly data: {
6724
6956
  readonly handle: AccessorHandle;
@@ -6768,13 +7000,7 @@ declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, I
6768
7000
  allFieldsResolved: {};
6769
7001
  mapFields: {};
6770
7002
  };
6771
- }[] | undefined>;
6772
- } & {
6773
- landscapePanels: ConfigRenderLambda<{
6774
- key: string;
6775
- label: string;
6776
- index: number;
6777
- spec: {
7003
+ readonly spec: {
6778
7004
  readonly kind: "PColumn";
6779
7005
  readonly name: string;
6780
7006
  readonly domain?: {
@@ -6786,8 +7012,8 @@ declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, I
6786
7012
  readonly annotations?: {
6787
7013
  [x: string]: string;
6788
7014
  } | undefined;
6789
- readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
6790
- readonly parentAxes?: number[] | undefined;
7015
+ readonly valueType: "Bytes" | "Double" | "Float" | "Int" | "Long" | "String";
7016
+ readonly parentAxes?: number[];
6791
7017
  readonly axesSpec: {
6792
7018
  readonly type: AxisValueType;
6793
7019
  readonly name: string;
@@ -6800,17 +7026,16 @@ declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, I
6800
7026
  readonly annotations?: {
6801
7027
  [x: string]: string;
6802
7028
  } | undefined;
6803
- readonly parentAxes?: number[] | undefined;
7029
+ readonly parentAxes?: number[];
6804
7030
  }[];
6805
7031
  };
6806
7032
  }[] | undefined>;
6807
7033
  } & {
6808
- compositionHeatmapPf: ConfigRenderLambda<PFrameHandle | undefined> & {
6809
- withStatus: true;
6810
- };
6811
- } & {
6812
- compositionHeatmapPCols: ConfigRenderLambda<{
6813
- readonly spec: {
7034
+ landscapePanels: ConfigRenderLambda<{
7035
+ key: string;
7036
+ label: string;
7037
+ index: number;
7038
+ spec: {
6814
7039
  readonly kind: "PColumn";
6815
7040
  readonly name: string;
6816
7041
  readonly domain?: {
@@ -6822,8 +7047,8 @@ declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, I
6822
7047
  readonly annotations?: {
6823
7048
  [x: string]: string;
6824
7049
  } | undefined;
6825
- readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
6826
- readonly parentAxes?: number[] | undefined;
7050
+ readonly valueType: "Bytes" | "Double" | "Float" | "Int" | "Long" | "String";
7051
+ readonly parentAxes?: number[];
6827
7052
  readonly axesSpec: {
6828
7053
  readonly type: AxisValueType;
6829
7054
  readonly name: string;
@@ -6836,9 +7061,16 @@ declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, I
6836
7061
  readonly annotations?: {
6837
7062
  [x: string]: string;
6838
7063
  } | undefined;
6839
- readonly parentAxes?: number[] | undefined;
7064
+ readonly parentAxes?: number[];
6840
7065
  }[];
6841
7066
  };
7067
+ }[] | undefined>;
7068
+ } & {
7069
+ compositionHeatmapPf: ConfigRenderLambda<PFrameHandle | undefined> & {
7070
+ withStatus: true;
7071
+ };
7072
+ } & {
7073
+ compositionHeatmapPCols: ConfigRenderLambda<{
6842
7074
  readonly id: PObjectId;
6843
7075
  readonly data: {
6844
7076
  readonly handle: AccessorHandle;
@@ -6888,32 +7120,60 @@ declare const platforma: PlatformaExtended<PlatformaV3<BlockData$1, BlockArgs, I
6888
7120
  allFieldsResolved: {};
6889
7121
  mapFields: {};
6890
7122
  };
7123
+ readonly spec: {
7124
+ readonly kind: "PColumn";
7125
+ readonly name: string;
7126
+ readonly domain?: {
7127
+ [x: string]: string;
7128
+ } | undefined;
7129
+ readonly contextDomain?: {
7130
+ [x: string]: string;
7131
+ } | undefined;
7132
+ readonly annotations?: {
7133
+ [x: string]: string;
7134
+ } | undefined;
7135
+ readonly valueType: "Bytes" | "Double" | "Float" | "Int" | "Long" | "String";
7136
+ readonly parentAxes?: number[];
7137
+ readonly axesSpec: {
7138
+ readonly type: AxisValueType;
7139
+ readonly name: string;
7140
+ readonly domain?: {
7141
+ [x: string]: string;
7142
+ } | undefined;
7143
+ readonly contextDomain?: {
7144
+ [x: string]: string;
7145
+ } | undefined;
7146
+ readonly annotations?: {
7147
+ [x: string]: string;
7148
+ } | undefined;
7149
+ readonly parentAxes?: number[];
7150
+ }[];
7151
+ };
6891
7152
  }[] | undefined>;
6892
7153
  } & {
6893
7154
  isRunning: ConfigRenderLambda<boolean>;
6894
7155
  }>, `/${string}`, {}, BlockDefaultUiServices>>;
6895
7156
  //#endregion
6896
7157
  //#region src/index.d.ts
6897
- type BlockContract = {
7158
+ export type BlockContract = {
6898
7159
  outputs: InferOutputsType<typeof platforma>;
6899
7160
  data: InferDataType<typeof platforma>;
6900
7161
  href: InferHrefType<typeof platforma>;
6901
7162
  };
6902
- type BlockOutputs = BlockContract["outputs"];
6903
- type BlockData = BlockContract["data"];
6904
- declare const BlockPointer: {
7163
+ export type BlockOutputs = BlockContract["outputs"];
7164
+ export type BlockData = BlockContract["data"];
7165
+ export declare const BlockPointer: {
6905
7166
  readonly type: "from-pack-v2";
6906
7167
  readonly packUrl: string;
6907
7168
  readonly rootUrl: string;
6908
7169
  };
6909
- type RepertoireMutationHeatmapBlockContract = BlockContract;
6910
- type RepertoireMutationHeatmapBlockOutputs = BlockOutputs;
6911
- type RepertoireMutationHeatmapBlockData = BlockData;
6912
- declare const RepertoireMutationHeatmapBlockPointer: {
7170
+ export type RepertoireMutationHeatmapBlockContract = BlockContract;
7171
+ export type RepertoireMutationHeatmapBlockOutputs = BlockOutputs;
7172
+ export type RepertoireMutationHeatmapBlockData = BlockData;
7173
+ export declare const RepertoireMutationHeatmapBlockPointer: {
6913
7174
  readonly type: "from-pack-v2";
6914
7175
  readonly packUrl: string;
6915
7176
  readonly rootUrl: string;
6916
7177
  };
6917
7178
  //#endregion
6918
- export { BlockContract, BlockData, BlockOutputs, BlockPointer, RepertoireMutationHeatmapBlockContract, RepertoireMutationHeatmapBlockData, RepertoireMutationHeatmapBlockOutputs, RepertoireMutationHeatmapBlockPointer, platforma };
6919
7179
  //# sourceMappingURL=index.d.ts.map