@gravitee/graphene-policy-studio 3.54.0 → 3.55.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/USAGE_GUIDE.md +2 -0
- package/dist/components/PolicyConfig/HiddenErrorSummary.d.ts +17 -0
- package/dist/components/PolicyConfig/HiddenErrorSummary.d.ts.map +1 -0
- package/dist/components/PolicyConfig/PolicyConfigForm.d.ts +8 -2
- package/dist/components/PolicyConfig/PolicyConfigForm.d.ts.map +1 -1
- package/dist/components/PolicyConfig/PolicyConfigPanel.d.ts.map +1 -1
- package/dist/hooks/use-policy-config.d.ts +7 -1
- package/dist/hooks/use-policy-config.d.ts.map +1 -1
- package/dist/index.js +3702 -3642
- package/dist/lib/step-config-validation.d.ts +5 -1
- package/dist/lib/step-config-validation.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -8,8 +8,12 @@ export declare function stepFormContext(studioContext: object | undefined, flowP
|
|
|
8
8
|
* The config panel's resolver: validates the values without the fields the form hides. A change
|
|
9
9
|
* that hides a field (a toggle turned off, another `dependencies` branch) is validated before the
|
|
10
10
|
* form unregisters that field; its value must not fail the step.
|
|
11
|
+
*
|
|
12
|
+
* `variantPicks` is the Map the panel's form writes the user's variant picks in: the data alone
|
|
13
|
+
* cannot tell apart variants without a discriminator, or that share one. The validity scan has no
|
|
14
|
+
* pick to give.
|
|
11
15
|
*/
|
|
12
|
-
export declare function stepConfigResolver(schema: JsonSchema, formContext?: FormContext): Resolver<Record<string, unknown>>;
|
|
16
|
+
export declare function stepConfigResolver(schema: JsonSchema, formContext?: FormContext, variantPicks?: ReadonlyMap<string, number>): Resolver<Record<string, unknown>>;
|
|
13
17
|
export declare function validateStepConfiguration(policy: Policy, step: Step, fetchPolicySchema: (policy: Policy) => Promise<unknown>, formContext?: FormContext): Promise<boolean>;
|
|
14
18
|
export {};
|
|
15
19
|
//# sourceMappingURL=step-config-validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-config-validation.d.ts","sourceRoot":"","sources":["../../src/lib/step-config-validation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGxD,KAAK,WAAW,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAErD,2GAA2G;AAC3G,wBAAgB,eAAe,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,WAAW,CAEpG;AAED
|
|
1
|
+
{"version":3,"file":"step-config-validation.d.ts","sourceRoot":"","sources":["../../src/lib/step-config-validation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGxD,KAAK,WAAW,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAErD,2GAA2G;AAC3G,wBAAgB,eAAe,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,EAAE,SAAS,EAAE,SAAS,GAAG,WAAW,CAEpG;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,UAAU,EAClB,WAAW,CAAC,EAAE,WAAW,EACzB,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GACzC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAInC;AAED,wBAAsB,yBAAyB,CAC7C,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,EACvD,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,OAAO,CAAC,CAwBlB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/graphene-policy-studio",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.55.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Gravitee Policy Studio UI for the Graphene design system.",
|
|
6
6
|
"keywords": [
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"zod": "4.4.3"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@gravitee/graphene-core": "^3.
|
|
65
|
+
"@gravitee/graphene-core": "^3.55.0",
|
|
66
66
|
"react": "^19.0.0",
|
|
67
67
|
"react-dom": "^19.0.0",
|
|
68
68
|
"tailwindcss": "^4.0.0"
|