@prefecthq/prefect-ui-library 2.8.4 → 2.8.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.
@@ -11,137 +11,6 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
11
11
  history: RunHistory[];
12
12
  }>>>, {}, {}>;
13
13
  export default _default;
14
- export declare const __VLS_globalTypesStart: {};
15
- declare global {
16
- type __VLS_IntrinsicElements = __VLS_PickNotAny<import('vue/jsx-runtime').JSX.IntrinsicElements, __VLS_PickNotAny<globalThis.JSX.IntrinsicElements, Record<string, any>>>;
17
- type __VLS_Element = __VLS_PickNotAny<import('vue/jsx-runtime').JSX.Element, globalThis.JSX.Element>;
18
- type __VLS_GlobalComponents = __VLS_PickNotAny<import('vue').GlobalComponents, {}> & __VLS_PickNotAny<import('@vue/runtime-core').GlobalComponents, {}> & __VLS_PickNotAny<import('@vue/runtime-dom').GlobalComponents, {}> & Pick<typeof import('vue'), 'Transition' | 'TransitionGroup' | 'KeepAlive' | 'Suspense' | 'Teleport'>;
19
- type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
20
- type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
21
- const __VLS_intrinsicElements: __VLS_IntrinsicElements;
22
- function __VLS_getVForSourceType(source: number): [number, number, number][];
23
- function __VLS_getVForSourceType(source: string): [string, number, number][];
24
- function __VLS_getVForSourceType<T extends any[]>(source: T): [
25
- item: T[number],
26
- key: number,
27
- index: number
28
- ][];
29
- function __VLS_getVForSourceType<T extends {
30
- [Symbol.iterator](): Iterator<any>;
31
- }>(source: T): [
32
- item: T extends {
33
- [Symbol.iterator](): Iterator<infer T1>;
34
- } ? T1 : never,
35
- key: number,
36
- index: undefined
37
- ][];
38
- function __VLS_getVForSourceType<T extends number | {
39
- [Symbol.iterator](): Iterator<any>;
40
- }>(source: T): [
41
- item: number | (Exclude<T, number> extends {
42
- [Symbol.iterator](): Iterator<infer T1>;
43
- } ? T1 : never),
44
- key: number,
45
- index: undefined
46
- ][];
47
- function __VLS_getVForSourceType<T>(source: T): [
48
- item: T[keyof T],
49
- key: keyof T,
50
- index: number
51
- ][];
52
- function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>;
53
- function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0];
54
- function __VLS_directiveFunction<T>(dir: T): T extends import('vue').ObjectDirective<infer E, infer V> | import('vue').FunctionDirective<infer E, infer V> ? (value: V) => void : T;
55
- function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K;
56
- function __VLS_makeOptional<T>(t: T): {
57
- [K in keyof T]?: T[K];
58
- };
59
- type __VLS_SelfComponent<N, C> = string extends N ? {} : N extends string ? {
60
- [P in N]: C;
61
- } : {};
62
- type __VLS_WithComponent<N0 extends string, LocalComponents, N1 extends string, N2 extends string, N3 extends string> = N1 extends keyof LocalComponents ? N1 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
63
- [K in N0]: LocalComponents[N1];
64
- } : N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
65
- [K in N0]: LocalComponents[N2];
66
- } : N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
67
- [K in N0]: LocalComponents[N3];
68
- } : N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
69
- [K in N0]: __VLS_GlobalComponents[N1];
70
- } : N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
71
- [K in N0]: __VLS_GlobalComponents[N2];
72
- } : N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
73
- [K in N0]: __VLS_GlobalComponents[N3];
74
- } : {
75
- [K in N0]: unknown;
76
- };
77
- type __VLS_FillingEventArg_ParametersLength<E extends (...args: any) => any> = __VLS_IsAny<Parameters<E>> extends true ? -1 : Parameters<E>['length'];
78
- type __VLS_FillingEventArg<E> = E extends (...args: any) => any ? __VLS_FillingEventArg_ParametersLength<E> extends 0 ? ($event?: undefined) => ReturnType<E> : E : E;
79
- function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K): T extends new (...args: any) => any ? (props: (K extends {
80
- $props: infer Props;
81
- } ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & {
82
- __ctx?: {
83
- attrs?: any;
84
- slots?: K extends {
85
- $slots: infer Slots;
86
- } ? Slots : any;
87
- emit?: K extends {
88
- $emit: infer Emit;
89
- } ? Emit : any;
90
- } & {
91
- props?: (K extends {
92
- $props: infer Props;
93
- } ? Props : any) & Record<string, unknown>;
94
- expose?(exposed: K): void;
95
- };
96
- } : T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> : T extends (...args: any) => any ? T : (_: {} & Record<string, unknown>, ctx?: any) => {
97
- __ctx?: {
98
- attrs?: any;
99
- expose?: any;
100
- slots?: any;
101
- emit?: any;
102
- props?: {} & Record<string, unknown>;
103
- };
104
- };
105
- function __VLS_elementAsFunctionalComponent<T>(t: T): (_: T & Record<string, unknown>, ctx?: any) => {
106
- __ctx?: {
107
- attrs?: any;
108
- expose?: any;
109
- slots?: any;
110
- emit?: any;
111
- props?: T & Record<string, unknown>;
112
- };
113
- };
114
- function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): Parameters<T>['length'] extends 2 ? [any] : [];
115
- function __VLS_pickEvent<E1, E2>(emitEvent: E1, propEvent: E2): __VLS_FillingEventArg<__VLS_PickNotAny<__VLS_AsFunctionOrAny<E2>, __VLS_AsFunctionOrAny<E1>>> | undefined;
116
- function __VLS_pickFunctionalComponentCtx<T, K>(comp: T, compInstance: K): __VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
117
- __ctx?: infer Ctx;
118
- } ? Ctx : never : any, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any>;
119
- type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
120
- __ctx?: {
121
- props?: infer P;
122
- };
123
- } ? NonNullable<P> : never : T extends (props: infer P, ...args: any) => any ? P : {};
124
- type __VLS_AsFunctionOrAny<F> = unknown extends F ? any : ((...args: any) => any) extends F ? F : any;
125
- function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S;
126
- /**
127
- * emit
128
- */
129
- type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
130
- type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R ? U extends T ? never : __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R) : never;
131
- type __VLS_OverloadUnion<T> = Exclude<__VLS_OverloadUnionInner<(() => never) & T>, T extends () => never ? never : () => never>;
132
- type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F ? F extends (event: infer E, ...args: infer A) => any ? {
133
- [K in E & string]: (...args: A) => void;
134
- } : never : never;
135
- type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<__VLS_UnionToIntersection<__VLS_ConstructorOverloads<T> & {
136
- [K in keyof T]: T[K] extends any[] ? {
137
- (...args: T[K]): void;
138
- } : never;
139
- }>>;
140
- type __VLS_PrettifyGlobal<T> = {
141
- [K in keyof T]: T[K];
142
- } & {};
143
- }
144
- export declare const __VLS_globalTypesEnd: {};
145
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
146
15
  type __VLS_TypePropsToOption<T> = {
147
16
  [K in keyof T]-?: {} extends Pick<T, K> ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefecthq/prefect-ui-library",
3
- "version": "2.8.4",
3
+ "version": "2.8.5",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -70,7 +70,7 @@
70
70
  "vite": "5.2.8",
71
71
  "vite-svg-loader": "^5.1.0",
72
72
  "vitest": "^1.4.0",
73
- "vue-tsc": "2.0.11"
73
+ "vue-tsc": "^2.0.12"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "@prefecthq/prefect-design": "^2.7.5",