@prefecthq/prefect-ui-library 1.4.4 → 1.4.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-33a139a7.mjs → index-ce741345.mjs} +4278 -4274
- package/dist/{index-33a139a7.mjs.map → index-ce741345.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +186 -185
- package/dist/prefect-ui-library.umd.js +69 -69
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/components/TaskRunArtifacts.vue.d.ts +23 -0
- package/dist/types/src/localization/index.d.ts +3 -0
- package/dist/types/src/localization/locale/en.d.ts +3 -0
- package/dist/types/src/utilities/validation.d.ts +2 -0
- package/dist/{viewport.es-84fb8076-30f1ddc4.mjs → viewport.es-84fb8076-891a43a9.mjs} +2 -2
- package/dist/{viewport.es-84fb8076-30f1ddc4.mjs.map → viewport.es-84fb8076-891a43a9.mjs.map} +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TaskRun } from '../models';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
taskRun: TaskRun;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
taskRun: TaskRun;
|
|
6
|
+
}>>>, {}>, {
|
|
7
|
+
actions: (_: {}) => any;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -49,6 +49,7 @@ export declare const localization: {
|
|
|
49
49
|
stringValueTooLong: (property: string, max: number) => string;
|
|
50
50
|
numberValueTooLarge: (property: string, max: number) => string;
|
|
51
51
|
valueTooLarge: (property: string, max: number) => string;
|
|
52
|
+
mustBeSnakeCase: (property: string) => string;
|
|
52
53
|
submitNotification: string;
|
|
53
54
|
updateBlock: string;
|
|
54
55
|
updateNotification: string;
|
|
@@ -125,6 +126,8 @@ export declare const localization: {
|
|
|
125
126
|
invalidData: (docsUrl: string) => string;
|
|
126
127
|
noResults: string;
|
|
127
128
|
none: string;
|
|
129
|
+
terminalTaskRunNoArtifacts: string;
|
|
130
|
+
nonTerminalTaskRunNoArtifacts: string;
|
|
128
131
|
terminalFlowRunNoArtifacts: string;
|
|
129
132
|
nonTerminalFlowRunNoArtifacts: string;
|
|
130
133
|
flowRun: string;
|
|
@@ -49,6 +49,7 @@ export declare const en: {
|
|
|
49
49
|
stringValueTooLong: (property: string, max: number) => string;
|
|
50
50
|
numberValueTooLarge: (property: string, max: number) => string;
|
|
51
51
|
valueTooLarge: (property: string, max: number) => string;
|
|
52
|
+
mustBeSnakeCase: (property: string) => string;
|
|
52
53
|
submitNotification: string;
|
|
53
54
|
updateBlock: string;
|
|
54
55
|
updateNotification: string;
|
|
@@ -125,6 +126,8 @@ export declare const en: {
|
|
|
125
126
|
invalidData: (docsUrl: string) => string;
|
|
126
127
|
noResults: string;
|
|
127
128
|
none: string;
|
|
129
|
+
terminalTaskRunNoArtifacts: string;
|
|
130
|
+
nonTerminalTaskRunNoArtifacts: string;
|
|
128
131
|
terminalFlowRunNoArtifacts: string;
|
|
129
132
|
nonTerminalFlowRunNoArtifacts: string;
|
|
130
133
|
flowRun: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ValidationRule } from '@prefecthq/vue-compositions';
|
|
1
2
|
export type ValidationMethod = (value: unknown) => true | string | Promise<true | string>;
|
|
2
3
|
export type ValidationMethodFactory = (property: string) => ValidationMethod;
|
|
3
4
|
export type WithMessageArgs = [validationFactory: ValidationMethodFactory, message: string];
|
|
@@ -28,3 +29,4 @@ export declare const isAfterOrEqual: (min: Date, { time: showTime }?: {
|
|
|
28
29
|
}) => ValidationMethodFactory;
|
|
29
30
|
export declare const isJson: ValidationMethodFactory;
|
|
30
31
|
export declare const isHandle: ValidationMethodFactory;
|
|
32
|
+
export declare const isSnakeCase: ValidationRule<unknown>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as c, Q as b, X as O, l as k } from "./index-
|
|
1
|
+
import { u as c, Q as b, X as O, l as k } from "./index-ce741345.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@prefecthq/vue-charts";
|
|
4
4
|
import "@prefecthq/prefect-design";
|
|
@@ -1535,4 +1535,4 @@ export {
|
|
|
1535
1535
|
C as Viewport,
|
|
1536
1536
|
$ as Wheel
|
|
1537
1537
|
};
|
|
1538
|
-
//# sourceMappingURL=viewport.es-84fb8076-
|
|
1538
|
+
//# sourceMappingURL=viewport.es-84fb8076-891a43a9.mjs.map
|