@prefecthq/prefect-ui-library 2.6.33 → 2.6.34
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/{FlowRunsPageWithDefaultFilter-aO2rG_l2.mjs → FlowRunsPageWithDefaultFilter--Tm4ZLgY.mjs} +2 -2
- package/dist/{FlowRunsPageWithDefaultFilter-aO2rG_l2.mjs.map → FlowRunsPageWithDefaultFilter--Tm4ZLgY.mjs.map} +1 -1
- package/dist/{index-ONQHVKqg.mjs → index-yj23r8ks.mjs} +1444 -1425
- package/dist/index-yj23r8ks.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +44 -43
- package/dist/prefect-ui-library.umd.js +82 -82
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/compositions/index.d.ts +1 -0
- package/dist/types/src/compositions/useTaskRuns.d.ts +7 -0
- package/dist/types/src/utilities/arrays.d.ts +1 -1
- package/dist/types/src/utilities/components.d.ts +1 -1
- package/dist/types/src/utilities/timezone.d.ts +2 -2
- package/package.json +5 -5
- package/dist/index-ONQHVKqg.mjs.map +0 -1
|
@@ -43,6 +43,7 @@ export * from './useTabs';
|
|
|
43
43
|
export * from './useTaskRun';
|
|
44
44
|
export * from './useTaskRunFavicon';
|
|
45
45
|
export * from './useTaskRunResult';
|
|
46
|
+
export * from './useTaskRuns';
|
|
46
47
|
export * from './useTaskRunsCount';
|
|
47
48
|
export * from './useTaskRunsHistory';
|
|
48
49
|
export * from './useThemeTokens';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MaybeReadonly } from '@prefecthq/prefect-design';
|
|
2
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
3
|
+
import { PaginationOptions, UsePaginationEntity } from '../compositions/usePagination';
|
|
4
|
+
import { TaskRunsFilter } from '../models';
|
|
5
|
+
import { WorkspaceTaskRunsApi } from '../services';
|
|
6
|
+
export type UseTaskRuns = UsePaginationEntity<WorkspaceTaskRunsApi['getTaskRuns'], WorkspaceTaskRunsApi['getTaskRunsCount'], 'taskRuns'>;
|
|
7
|
+
export declare function useTaskRuns(filter?: MaybeRefOrGetter<MaybeReadonly<TaskRunsFilter> | null | undefined>, options?: PaginationOptions): UseTaskRuns;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare function isArray(value: unknown): value is unknown[];
|
|
2
2
|
export declare function toMap<T extends any[], K extends keyof T[number]>(source: T, key: K): Map<T[number][K], T[number]>;
|
|
3
|
-
export declare const choice: <T>(list: T[] |
|
|
3
|
+
export declare const choice: <T>(list: T[] | Readonly<T[]>) => T;
|
|
4
4
|
export declare const range: (min: number, max: number) => number[];
|
|
5
5
|
export declare function unique<T>(array: T[]): T[];
|
|
6
6
|
export declare function isNonEmptyArray<T extends any[]>(array: T | undefined): array is T;
|
|
@@ -15,5 +15,5 @@ type WithProps<T extends ComponentDefinition, E extends string = '', P = Instanc
|
|
|
15
15
|
};
|
|
16
16
|
export declare function withProps<T extends ComponentDefinition>(...[component, props]: WithPropsArgs<T>): WithProps<NoInfer<T>>;
|
|
17
17
|
export declare function withPropsWithoutExcluded<T extends ComponentDefinition, E extends string>(excluded: E | E[], ...[component, props]: WithPropsArgs<T, E>): WithProps<NoInfer<T>, E>;
|
|
18
|
-
export declare function withPropsWithoutExcludedFactory<E extends string>(prop: E | E[]): <T extends ComponentDefinition>(...args: WithPropsArgs<T, E
|
|
18
|
+
export declare function withPropsWithoutExcludedFactory<E extends string>(prop: E | E[]): <T extends ComponentDefinition>(...args: WithPropsArgs<T, E>) => WithProps<T, E>;
|
|
19
19
|
export {};
|
|
@@ -137,11 +137,11 @@ export declare const dateFunctions: {
|
|
|
137
137
|
locale?: Locale | undefined;
|
|
138
138
|
} | undefined): string;
|
|
139
139
|
formatISO(date: number | Date, options?: {
|
|
140
|
-
format?: "
|
|
140
|
+
format?: "basic" | "extended" | undefined;
|
|
141
141
|
representation?: "date" | "time" | "complete" | undefined;
|
|
142
142
|
} | undefined): string;
|
|
143
143
|
formatISO9075(date: number | Date, options?: {
|
|
144
|
-
format?: "
|
|
144
|
+
format?: "basic" | "extended" | undefined;
|
|
145
145
|
representation?: "date" | "time" | "complete" | undefined;
|
|
146
146
|
} | undefined): string;
|
|
147
147
|
formatISODuration(duration: Duration): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prefecthq/prefect-ui-library",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.34",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@types/lodash.debounce": "4.0.9",
|
|
45
45
|
"@types/lodash.isequal": "^4.5.8",
|
|
46
46
|
"@types/lodash.merge": "4.6.9",
|
|
47
|
-
"@types/node": "^20.11.
|
|
47
|
+
"@types/node": "^20.11.26",
|
|
48
48
|
"@types/prismjs": "^1.26.3",
|
|
49
49
|
"@vitejs/plugin-vue": "5.0.4",
|
|
50
50
|
"auto-changelog": "^2.4.0",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
"postcss": "8.4.35",
|
|
56
56
|
"tailwindcss": "3.4.1",
|
|
57
57
|
"tsc-alias": "1.8.8",
|
|
58
|
-
"typescript": "5.
|
|
59
|
-
"vite": "5.1.
|
|
58
|
+
"typescript": "5.4.2",
|
|
59
|
+
"vite": "5.1.6",
|
|
60
60
|
"vite-svg-loader": "^5.1.0",
|
|
61
61
|
"vitest": "^1.3.1",
|
|
62
|
-
"vue-tsc": "2.0.
|
|
62
|
+
"vue-tsc": "2.0.6"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@prefecthq/prefect-design": "^2.3.3",
|