@abgov/jsonforms-components 2.32.1 → 2.32.3
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/index.esm.js +4231 -4177
- package/package.json +1 -1
- package/src/lib/Controls/FormStepper/PageStepperControl.d.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.32.
|
|
3
|
+
"version": "2.32.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
|
|
6
6
|
"repository": "https://github.com/GovAlta/adsp-monorepo",
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { GoAButtonType } from '@abgov/react-components';
|
|
2
2
|
import { CategorizationStepperLayoutRendererProps } from './types';
|
|
3
|
+
declare function getByJsonPointer(obj: unknown, pointer: string): unknown;
|
|
4
|
+
/** Return true only if value is user-provided/meaningful (not just defaults). */
|
|
5
|
+
declare function hasDataValue(v: unknown, key?: string): boolean;
|
|
6
|
+
declare function getCategoryScopes(cat: unknown): string[];
|
|
7
|
+
declare function hasDataInScopes(data: unknown, scopes?: string[]): boolean;
|
|
3
8
|
export interface FormPageOptionProps {
|
|
4
9
|
nextButtonLabel?: string;
|
|
5
10
|
nextButtonType?: GoAButtonType;
|
|
@@ -10,3 +15,4 @@ export declare const FormPageStepper: (props: CategorizationStepperLayoutRendere
|
|
|
10
15
|
export declare const FormPagesView: (props: CategorizationStepperLayoutRendererProps) => JSX.Element;
|
|
11
16
|
export declare const FormStepperPagesControl: (props: CategorizationStepperLayoutRendererProps & import("@jsonforms/core").OwnPropsOfLayout) => import("react/jsx-runtime").JSX.Element;
|
|
12
17
|
export default FormPageStepper;
|
|
18
|
+
export { getByJsonPointer, hasDataValue, getCategoryScopes, hasDataInScopes };
|