@abgov/jsonforms-components 2.24.1 → 2.25.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.24.1",
3
+ "version": "2.25.0",
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",
@@ -12,7 +12,8 @@
12
12
  "ajv": "^8.6.1",
13
13
  "ajv-errors": "^3.0.0",
14
14
  "ajv-formats": "^3.0.1",
15
- "@mdx-js/mdx": "^3.1.0"
15
+ "@mdx-js/mdx": "^3.1.0",
16
+ "expr-eval": "^2.0.2"
16
17
  },
17
18
  "dependencies": {
18
19
  "axios": "^1.6.7",
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { RankedTester } from '@jsonforms/core';
3
+ export declare const GoACalculationControl: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
4
+ export declare const GoACalculationControlTester: RankedTester;
@@ -0,0 +1,3 @@
1
+ export declare function resolveScope(scope: string, data: unknown): unknown;
2
+ export declare function sumColumn(scope: string, data: unknown): number | undefined;
3
+ export declare function evaluateExpression(expression: string, data: unknown): number | undefined;
@@ -0,0 +1 @@
1
+ export * from './CalculationControl';
@@ -5,3 +5,4 @@ export * from './ObjectArray';
5
5
  export * from './AddressLookup';
6
6
  export * from './FullName';
7
7
  export * from './FullNameDOB';
8
+ export * from './Calculation';