@kong-ui-public/freeform 0.10.0 → 0.11.0
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/README.md +19 -0
- package/dist/filler/cypress/index.js +1 -1
- package/dist/filler/{field-walker-DB8aXUj-.js → field-walker-BmTo4SFN.js} +4991 -4870
- package/dist/filler/packages/core/freeform/src/composables/errors.d.ts +27 -0
- package/dist/filler/packages/core/freeform/src/composables/errors.d.ts.map +1 -0
- package/dist/filler/packages/core/freeform/src/composables/field.d.ts +6 -0
- package/dist/filler/packages/core/freeform/src/composables/field.d.ts.map +1 -1
- package/dist/filler/packages/core/freeform/src/composables/form-context.d.ts +13 -1
- package/dist/filler/packages/core/freeform/src/composables/form-context.d.ts.map +1 -1
- package/dist/filler/packages/core/freeform/src/composables/useMapField.d.ts +6 -0
- package/dist/filler/packages/core/freeform/src/composables/useMapField.d.ts.map +1 -1
- package/dist/filler/packages/core/freeform/src/types.d.ts +8 -0
- package/dist/filler/packages/core/freeform/src/types.d.ts.map +1 -1
- package/dist/filler/playwright/index.js +1 -1
- package/dist/freeform.es.js +1940 -1740
- package/dist/freeform.umd.js +5 -5
- package/dist/style.css +1 -1
- package/dist/types/components/ArrayField.vue.d.ts.map +1 -1
- package/dist/types/components/BooleanField.vue.d.ts +2 -2
- package/dist/types/components/BooleanField.vue.d.ts.map +1 -1
- package/dist/types/components/EnumField.vue.d.ts.map +1 -1
- package/dist/types/components/FieldErrors.vue.d.ts +10 -0
- package/dist/types/components/FieldErrors.vue.d.ts.map +1 -0
- package/dist/types/components/Form.vue.d.ts +15 -2
- package/dist/types/components/Form.vue.d.ts.map +1 -1
- package/dist/types/components/JsonField.vue.d.ts.map +1 -1
- package/dist/types/components/MapField.vue.d.ts.map +1 -1
- package/dist/types/components/NumberField.vue.d.ts.map +1 -1
- package/dist/types/components/ObjectField.vue.d.ts.map +1 -1
- package/dist/types/components/StringArrayField.vue.d.ts.map +1 -1
- package/dist/types/components/StringField.vue.d.ts.map +1 -1
- package/dist/types/components/SwitchField.vue.d.ts.map +1 -1
- package/dist/types/composables/errors.d.ts +27 -0
- package/dist/types/composables/errors.d.ts.map +1 -0
- package/dist/types/composables/field.d.ts +6 -0
- package/dist/types/composables/field.d.ts.map +1 -1
- package/dist/types/composables/form-context.d.ts +13 -1
- package/dist/types/composables/form-context.d.ts.map +1 -1
- package/dist/types/composables/useMapField.d.ts +6 -0
- package/dist/types/composables/useMapField.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types.d.ts +8 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import type { FieldError, KeyId } from '../types';
|
|
3
|
+
import type { UnionFieldSchema } from '../form-schema';
|
|
4
|
+
/**
|
|
5
|
+
* Matches the errors a form is given to the fields that show them.
|
|
6
|
+
*
|
|
7
|
+
* An error is matched when a field can show it in the current state. It is
|
|
8
|
+
* unmatched when its path is malformed or not in the schema, names a map key
|
|
9
|
+
* that isn't in the data, sits under a record or array item that has no
|
|
10
|
+
* value (e.g. a record that is switched off), or is hidden by a render rule.
|
|
11
|
+
*/
|
|
12
|
+
export declare function createFieldErrors(options: {
|
|
13
|
+
errors: MaybeRefOrGetter<FieldError[] | undefined>;
|
|
14
|
+
formData: Record<string, any>;
|
|
15
|
+
getSchema: (path: string) => UnionFieldSchema | undefined;
|
|
16
|
+
getKey: (id: KeyId) => string | undefined;
|
|
17
|
+
isFieldHidden: (path: string) => boolean;
|
|
18
|
+
/** Called with the errors rewritten after the data's structure changed */
|
|
19
|
+
onChange?: (errors: FieldError[]) => void;
|
|
20
|
+
}): {
|
|
21
|
+
getFieldErrors: (fieldPath: string, deep?: boolean) => FieldError[];
|
|
22
|
+
unmatchedErrors: import("vue").ComputedRef<FieldError[]>;
|
|
23
|
+
onArrayItemRemoved: (arrayFieldPath: string, index: number) => void;
|
|
24
|
+
onMapKeyRenamed: (mapFieldPath: string, from: string, to: string) => void;
|
|
25
|
+
onMapKeyRemoved: (mapFieldPath: string, key: string) => void;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../../../../src/composables/errors.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE;IACzC,MAAM,EAAE,gBAAgB,CAAC,UAAU,EAAE,GAAG,SAAS,CAAC,CAAA;IAClD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC7B,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,gBAAgB,GAAG,SAAS,CAAA;IACzD,MAAM,EAAE,CAAC,EAAE,EAAE,KAAK,KAAK,MAAM,GAAG,SAAS,CAAA;IACzC,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAA;IACxC,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,IAAI,CAAA;CAC1C;gCA+FoC,MAAM,qBAAgB,UAAU,EAAE;;yCAiEzB,MAAM,SAAS,MAAM;oCAW1B,MAAM,QAAQ,MAAM,MAAM,MAAM;oCAOhC,MAAM,OAAO,MAAM;EAW3D"}
|
|
@@ -16,6 +16,9 @@ export declare function useField<TData = unknown, TSchema extends UnionFieldSche
|
|
|
16
16
|
hide?: undefined;
|
|
17
17
|
versionInfo?: undefined;
|
|
18
18
|
revealTarget?: undefined;
|
|
19
|
+
fieldErrors?: undefined;
|
|
20
|
+
ownFieldErrors?: undefined;
|
|
21
|
+
fieldErrorMessage?: undefined;
|
|
19
22
|
emptyOrDefaultValue?: undefined;
|
|
20
23
|
emptyValue?: undefined;
|
|
21
24
|
} | {
|
|
@@ -32,6 +35,9 @@ export declare function useField<TData = unknown, TSchema extends UnionFieldSche
|
|
|
32
35
|
hide: import("vue").ComputedRef<boolean>;
|
|
33
36
|
versionInfo: import("vue").ComputedRef<import("./schema").VersionInfo | undefined>;
|
|
34
37
|
revealTarget: import("vue").ComputedRef<string | null>;
|
|
38
|
+
fieldErrors: import("vue").ComputedRef<import("../types").FieldError[]>;
|
|
39
|
+
ownFieldErrors: import("vue").ComputedRef<import("../types").FieldError[]>;
|
|
40
|
+
fieldErrorMessage: import("vue").ComputedRef<string>;
|
|
35
41
|
emptyOrDefaultValue: import("vue").ComputedRef<import("../types").EmptyValue | TData>;
|
|
36
42
|
emptyValue: import("vue").ComputedRef<TData>;
|
|
37
43
|
error: null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../../../../../src/composables/field.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAE3C,wBAAgB,WAAW,CAAC,CAAC,EAAE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC;;EAW5D;AAED,wBAAgB,QAAQ,CAAC,KAAK,GAAG,OAAO,EAAE,OAAO,SAAS,gBAAgB,GAAG,gBAAgB,EAAE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC;;;;;;;
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../../../../../src/composables/field.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAE3C,wBAAgB,WAAW,CAAC,CAAC,EAAE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC;;EAW5D;AAED,wBAAgB,QAAQ,CAAC,KAAK,GAAG,OAAO,EAAE,OAAO,SAAS,gBAAgB,GAAG,gBAAgB,EAAE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC;;;;;;;IAyEzH;;OAEG;;;;;;;;;;;;;;;;;IAFH;;OAEG;;;;;;;;;;EAWN;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,EAAE,CAAC;mBAQ/C,CAAC,SAAS,MAAM,KAAG,MAAM;EAmChD;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,gBAAgB,CAAC,UAAU,CAAC,EACpC,UAAU,EAAE,MAAM,QAenB"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { ComputedRef, MaybeRefOrGetter } from 'vue';
|
|
2
|
-
import type { EmptyValue, FormConfig, MatchMap, RenderRules } from '../types';
|
|
2
|
+
import type { EmptyValue, FieldError, FormConfig, MatchMap, RenderRules } from '../types';
|
|
3
3
|
import type { FormSchema, UnionFieldSchema } from '../form-schema';
|
|
4
4
|
export declare const provideFormShared: (options: {
|
|
5
5
|
schema: FormSchema | UnionFieldSchema;
|
|
6
6
|
propsData?: ComputedRef<Record<string, any>> | undefined;
|
|
7
7
|
propsConfig?: MaybeRefOrGetter<FormConfig<Record<string, any>> | undefined>;
|
|
8
8
|
propsRenderRules?: MaybeRefOrGetter<RenderRules | undefined>;
|
|
9
|
+
propsErrors?: MaybeRefOrGetter<FieldError[] | undefined>;
|
|
9
10
|
onChange?: ((newData: Record<string, any>) => void) | undefined;
|
|
11
|
+
onErrorsChange?: (errors: FieldError[]) => void;
|
|
10
12
|
}) => {
|
|
11
13
|
getValue: () => Record<string, any>;
|
|
12
14
|
isFieldHidden: (fieldPath: string) => boolean;
|
|
@@ -35,6 +37,11 @@ export declare const provideFormShared: (options: {
|
|
|
35
37
|
* Reveals the field at a data path, see `createFieldReveal`
|
|
36
38
|
*/
|
|
37
39
|
reveal: (path: string, { duration, highlight: withHighlight }?: import("./reveal").RevealOptions) => Promise<import("./reveal").RevealResult | null>;
|
|
40
|
+
getFieldErrors: (fieldPath: string, deep?: boolean) => FieldError[];
|
|
41
|
+
unmatchedErrors: ComputedRef<FieldError[]>;
|
|
42
|
+
onArrayItemRemoved: (arrayFieldPath: string, index: number) => void;
|
|
43
|
+
onMapKeyRenamed: (mapFieldPath: string, from: string, to: string) => void;
|
|
44
|
+
onMapKeyRemoved: (mapFieldPath: string, key: string) => void;
|
|
38
45
|
getSchemaMap: () => Record<string, UnionFieldSchema>;
|
|
39
46
|
getSchema: {
|
|
40
47
|
(): FormSchema;
|
|
@@ -89,6 +96,11 @@ export declare const provideFormShared: (options: {
|
|
|
89
96
|
* Reveals the field at a data path, see `createFieldReveal`
|
|
90
97
|
*/
|
|
91
98
|
reveal: (path: string, { duration, highlight: withHighlight }?: import("./reveal").RevealOptions) => Promise<import("./reveal").RevealResult | null>;
|
|
99
|
+
getFieldErrors: (fieldPath: string, deep?: boolean) => FieldError[];
|
|
100
|
+
unmatchedErrors: ComputedRef<FieldError[]>;
|
|
101
|
+
onArrayItemRemoved: (arrayFieldPath: string, index: number) => void;
|
|
102
|
+
onMapKeyRenamed: (mapFieldPath: string, from: string, to: string) => void;
|
|
103
|
+
onMapKeyRemoved: (mapFieldPath: string, key: string) => void;
|
|
92
104
|
getSchemaMap: () => Record<string, UnionFieldSchema>;
|
|
93
105
|
getSchema: {
|
|
94
106
|
(): FormSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-context.d.ts","sourceRoot":"","sources":["../../../../../../../src/composables/form-context.ts"],"names":[],"mappings":"
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/B,QAAQ,EAAE,MAAM,CAAC,CAAA;CAClB,CACF"}
|
|
@@ -19,6 +19,9 @@ onLegacyValueChange?: (newValue: Record<K, T> | null) => void): {
|
|
|
19
19
|
hide?: undefined;
|
|
20
20
|
versionInfo?: undefined;
|
|
21
21
|
revealTarget?: undefined;
|
|
22
|
+
fieldErrors?: undefined;
|
|
23
|
+
ownFieldErrors?: undefined;
|
|
24
|
+
fieldErrorMessage?: undefined;
|
|
22
25
|
emptyOrDefaultValue?: undefined;
|
|
23
26
|
emptyValue?: undefined;
|
|
24
27
|
} | {
|
|
@@ -31,6 +34,9 @@ onLegacyValueChange?: (newValue: Record<K, T> | null) => void): {
|
|
|
31
34
|
hide: import("vue").ComputedRef<boolean>;
|
|
32
35
|
versionInfo: import("vue").ComputedRef<import("./schema").VersionInfo | undefined>;
|
|
33
36
|
revealTarget: import("vue").ComputedRef<string | null>;
|
|
37
|
+
fieldErrors: import("vue").ComputedRef<import("../types").FieldError[]>;
|
|
38
|
+
ownFieldErrors: import("vue").ComputedRef<import("../types").FieldError[]>;
|
|
39
|
+
fieldErrorMessage: import("vue").ComputedRef<string>;
|
|
34
40
|
emptyOrDefaultValue: import("vue").ComputedRef<EmptyValue | Record<`kid:${number}`, T>>;
|
|
35
41
|
emptyValue: import("vue").ComputedRef<EmptyValue | Record<`kid:${number}`, T>>;
|
|
36
42
|
error: null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMapField.d.ts","sourceRoot":"","sources":["../../../../../../../src/composables/useMapField.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAG3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAKrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAG1C,wBAAgB,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,EAChE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC;AAC9B;;GAEG;AACH,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,KAAK,IAAI;;uBAqBnC,KAAK,UAAU,CAAC;;
|
|
1
|
+
{"version":3,"file":"useMapField.d.ts","sourceRoot":"","sources":["../../../../../../../src/composables/useMapField.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAG3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAKrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAG1C,wBAAgB,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,EAChE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC;AAC9B;;GAEG;AACH,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,KAAK,IAAI;;uBAqBnC,KAAK,UAAU,CAAC;;uBAwBhB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAmBJ,KAAK,KAAG,CAAC,GAAG,SAAS;EAiDjD"}
|
|
@@ -146,5 +146,13 @@ export interface FieldRendererRule {
|
|
|
146
146
|
propsOverrides?: Record<string, unknown> | PropsOverridesFn;
|
|
147
147
|
}
|
|
148
148
|
export type KeyId = `kid:${number}`;
|
|
149
|
+
/**
|
|
150
|
+
* An error to show on a field, e.g. from the server rejecting a submit
|
|
151
|
+
*/
|
|
152
|
+
export interface FieldError {
|
|
153
|
+
/** Data path in the `formatDataPath` format, e.g. `config.headers["x.y"]` */
|
|
154
|
+
path: string;
|
|
155
|
+
message: string;
|
|
156
|
+
}
|
|
149
157
|
export {};
|
|
150
158
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-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AAM,QAAQ,GAAG,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAAA;AAEzD,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAE1F,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;IACrB,SAAS,EAAE,SAAS,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,gBAAgB,CAAA;CAC5D;AAED,MAAM,MAAM,KAAK,GAAG,OAAO,MAAM,EAAE,CAAA;AAEnC;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,6EAA6E;IAC7E,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as f, i as k, c as h, g, E as S, w as A, a as v, b as F, d as E } from "../field-walker-
|
|
1
|
+
import { s as f, i as k, c as h, g, E as S, w as A, a as v, b as F, d as E } from "../field-walker-BmTo4SFN.js";
|
|
2
2
|
import "lodash-es";
|
|
3
3
|
async function B(o) {
|
|
4
4
|
const { page: a, fieldKey: e, value: t } = o, n = f.field(e), i = a.locator(n);
|