@prefecthq/prefect-ui-library 2.8.14 → 2.8.16

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.
Files changed (54) hide show
  1. package/dist/{FlowRunsPageWithDefaultFilter-BG1151bl.mjs → FlowRunsPageWithDefaultFilter-BlKHQh1G.mjs} +2 -2
  2. package/dist/{FlowRunsPageWithDefaultFilter-BG1151bl.mjs.map → FlowRunsPageWithDefaultFilter-BlKHQh1G.mjs.map} +1 -1
  3. package/dist/{index-Bftz9m1S.mjs → index-BCrxmDrX.mjs} +13505 -13479
  4. package/dist/index-BCrxmDrX.mjs.map +1 -0
  5. package/dist/prefect-ui-library.mjs +38 -38
  6. package/dist/prefect-ui-library.umd.js +82 -82
  7. package/dist/prefect-ui-library.umd.js.map +1 -1
  8. package/dist/style.css +1 -1
  9. package/dist/types/src/automations/components/AutomationActionDescriptionPauseResumeAutomation.vue.d.ts +2 -2
  10. package/dist/types/src/automations/components/AutomationActionDescriptionPauseResumeDeployment.vue.d.ts +2 -2
  11. package/dist/types/src/automations/components/AutomationActionDescriptionPauseResumeWorkPool.vue.d.ts +2 -2
  12. package/dist/types/src/automations/components/AutomationActionDescriptionPauseResumeWorkQueue.vue.d.ts +2 -2
  13. package/dist/types/src/automations/components/AutomationActionDescriptionSuspendCancelFlowRun.vue.d.ts +2 -2
  14. package/dist/types/src/components/ActivityChart.vue.d.ts +1 -0
  15. package/dist/types/src/components/ColorModeSelectOption.vue.d.ts +2 -3
  16. package/dist/types/src/components/DeploymentStatusIcon.vue.d.ts +2 -3
  17. package/dist/types/src/components/FlowRunJobVariableOverridesLabeledInput.vue.d.ts +15 -6
  18. package/dist/types/src/components/FlowRunResumeModal.vue.d.ts +19 -14
  19. package/dist/types/src/components/FlowRunStateTypeCount.vue.d.ts +2 -3
  20. package/dist/types/src/components/FlowRunStateTypeEmpty.vue.d.ts +2 -3
  21. package/dist/types/src/components/FlowRunStateTypeTabDescription.vue.d.ts +2 -3
  22. package/dist/types/src/components/FlowRunsAccordion.vue.d.ts +2 -3
  23. package/dist/types/src/components/FlowRunsSort.vue.d.ts +2 -3
  24. package/dist/types/src/components/JobVariableOverridesInput.vue.d.ts +15 -6
  25. package/dist/types/src/components/LogLevelLabel.vue.d.ts +2 -3
  26. package/dist/types/src/components/LogLevelSelect.vue.d.ts +2 -3
  27. package/dist/types/src/components/LogoImage.vue.d.ts +1 -1
  28. package/dist/types/src/components/LogsSort.vue.d.ts +2 -3
  29. package/dist/types/src/components/NotificationDetails.vue.d.ts +2 -2
  30. package/dist/types/src/components/NotificationStatusSelect.vue.d.ts +2 -3
  31. package/dist/types/src/components/SchemaPropertyKeyValue.vue.d.ts +3 -3
  32. package/dist/types/src/components/SeparatedList.vue.d.ts +3 -0
  33. package/dist/types/src/components/StateIcon.vue.d.ts +2 -3
  34. package/dist/types/src/models/index.d.ts +0 -1
  35. package/dist/types/src/schemas/components/SchemaForm.vue.d.ts +3 -3
  36. package/dist/types/src/schemas/components/SchemaFormProperty.vue.d.ts +3 -1
  37. package/dist/types/src/schemas/components/SchemaFormPropertyAllOf.vue.d.ts +4 -5
  38. package/dist/types/src/schemas/components/SchemaFormPropertyAnyOf.vue.d.ts +4 -5
  39. package/dist/types/src/schemas/components/SchemaFormPropertyArray.vue.d.ts +2 -2
  40. package/dist/types/src/schemas/components/SchemaFormPropertyArrayItem.vue.d.ts +2 -3
  41. package/dist/types/src/schemas/components/SchemaFormPropertyArrayList.vue.d.ts +2 -2
  42. package/dist/types/src/schemas/components/SchemaFormPropertyBlockDocument.vue.d.ts +2 -2
  43. package/dist/types/src/schemas/components/SchemaFormPropertyBoolean.vue.d.ts +23 -24
  44. package/dist/types/src/schemas/components/SchemaFormPropertyInput.vue.d.ts +2 -3
  45. package/dist/types/src/schemas/components/SchemaFormPropertyInteger.vue.d.ts +2 -2
  46. package/dist/types/src/schemas/components/SchemaFormPropertyMenu.vue.d.ts +8 -2
  47. package/dist/types/src/schemas/components/SchemaFormPropertyNull.vue.d.ts +2 -2
  48. package/dist/types/src/schemas/components/SchemaFormPropertyObject.vue.d.ts +2 -2
  49. package/dist/types/src/schemas/components/SchemaFormPropertyString.vue.d.ts +2 -2
  50. package/dist/types/src/schemas/components/SchemaInput.vue.d.ts +3 -3
  51. package/dist/types/src/utilities/errors.d.ts +7 -0
  52. package/package.json +5 -5
  53. package/dist/index-Bftz9m1S.mjs.map +0 -1
  54. package/dist/types/src/models/ExistingHandleError.d.ts +0 -6
@@ -2,7 +2,7 @@ import { State } from '@prefecthq/prefect-design';
2
2
  import { SchemaProperty } from '../../schemas/types/schema';
3
3
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
4
  property: SchemaProperty & {
5
- type: 'string';
5
+ type: "string";
6
6
  };
7
7
  value: string | undefined;
8
8
  state: State;
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
10
10
  "update:value": (args_0: string | undefined) => void;
11
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
12
12
  property: SchemaProperty & {
13
- type: 'string';
13
+ type: "string";
14
14
  };
15
15
  value: string | undefined;
16
16
  state: State;
@@ -1,18 +1,18 @@
1
1
  import { Schema } from '../../schemas/types/schema';
2
- import { PrefectKind, SchemaValues } from '../../schemas/types/schemaValues';
2
+ import { SchemaValues } from '../../schemas/types/schemaValues';
3
3
  import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
4
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
5
5
  schema: Schema;
6
6
  values: SchemaValues | undefined;
7
7
  errors: SchemaValueError[];
8
- kinds: PrefectKind[];
8
+ kinds: ("json" | "none" | "jinja" | "workspace_variable")[];
9
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  "update:values": (args_0: SchemaValues | undefined) => void;
11
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
12
12
  schema: Schema;
13
13
  values: SchemaValues | undefined;
14
14
  errors: SchemaValueError[];
15
- kinds: PrefectKind[];
15
+ kinds: ("json" | "none" | "jinja" | "workspace_variable")[];
16
16
  }>>> & {
17
17
  "onUpdate:values"?: ((args_0: SchemaValues | undefined) => any) | undefined;
18
18
  }, {}, {}>;
@@ -1 +1,8 @@
1
+ import { AxiosError } from 'axios';
2
+ import { Require } from '../types/utilities';
3
+ type ApiErrorResponse = {
4
+ detail: string;
5
+ };
6
+ export declare function isApiErrorResponse(error: unknown): error is Require<AxiosError<ApiErrorResponse>, 'response'>;
1
7
  export declare function getApiErrorMessage(error: unknown, defaultErrorMessage: string): string;
8
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefecthq/prefect-ui-library",
3
- "version": "2.8.14",
3
+ "version": "2.8.16",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -67,13 +67,13 @@
67
67
  "tailwindcss": "3.4.3",
68
68
  "tsc-alias": "1.8.8",
69
69
  "typescript": "5.4.5",
70
- "vite": "5.2.8",
70
+ "vite": "5.2.10",
71
71
  "vite-svg-loader": "^5.1.0",
72
- "vitest": "^1.4.0",
73
- "vue-tsc": "^2.0.12"
72
+ "vitest": "^1.5.2",
73
+ "vue-tsc": "^2.0.14"
74
74
  },
75
75
  "peerDependencies": {
76
- "@prefecthq/prefect-design": "^2.7.14",
76
+ "@prefecthq/prefect-design": "^2.7.15",
77
77
  "@prefecthq/vue-charts": "^2.0.3",
78
78
  "@prefecthq/vue-compositions": "^1.11.4",
79
79
  "vee-validate": "^4.7.0",