@verbb/formie-core 1.0.4 → 1.0.6
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/CHANGELOG.md +30 -14
- package/dist/calculations.d.ts +4 -0
- package/dist/calculations.d.ts.map +1 -1
- package/dist/date-parts-validation.d.ts +4 -0
- package/dist/date-parts-validation.d.ts.map +1 -0
- package/dist/form-instance.d.ts.map +1 -1
- package/dist/index.js +3504 -2732
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,29 +1,45 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Unreleased
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 1.0.6 - 2026-06-14
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### Changed
|
|
8
|
+
- Released alongside the other `@verbb/formie-*` packages to keep versions aligned (@verbb/formie-core).
|
|
8
9
|
|
|
9
|
-
## 1.0.
|
|
10
|
+
## 1.0.5 - 2026-06-12
|
|
10
11
|
|
|
11
|
-
###
|
|
12
|
+
### Added
|
|
12
13
|
|
|
13
|
-
-
|
|
14
|
+
- Add `date-parts-validation` utilities for Date/Time text input and dropdown display types, rejecting impossible dates and enforcing min/max date settings.
|
|
15
|
+
- Add table column reference support to the calculations resolver for Calculations field expressions.
|
|
14
16
|
|
|
15
|
-
## 1.0.
|
|
17
|
+
## 1.0.4 - 2026-06-07
|
|
16
18
|
|
|
17
|
-
###
|
|
19
|
+
### Changed
|
|
18
20
|
|
|
19
|
-
-
|
|
21
|
+
- Released alongside `@verbb/formie-browser` 1.0.4 to keep package versions aligned.
|
|
20
22
|
|
|
21
|
-
## 1.0.
|
|
23
|
+
## 1.0.3 - 2026-06-06
|
|
22
24
|
|
|
23
|
-
###
|
|
25
|
+
### Changed
|
|
24
26
|
|
|
25
|
-
-
|
|
27
|
+
- Released alongside `@verbb/formie-browser` 1.0.3 to keep package versions aligned.
|
|
26
28
|
|
|
27
|
-
## 1.0.
|
|
29
|
+
## 1.0.2 - 2026-06-03
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- Released alongside `@verbb/formie-browser` 1.0.2 to keep package versions aligned.
|
|
34
|
+
|
|
35
|
+
## 1.0.1 - 2026-06-02
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- Update package homepage and documentation URLs.
|
|
40
|
+
|
|
41
|
+
## 1.0.0 - 2026-06-02
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
|
|
45
|
+
- Initial public release of the headless Formie core runtime, including form instance management, field definitions, validation orchestration, and calculations utilities.
|
package/dist/calculations.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calculations.d.ts","sourceRoot":"","sources":["../src/calculations.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,mBAAmB,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"calculations.d.ts","sourceRoot":"","sources":["../src/calculations.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,mBAAmB,GAAG;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAAC,CAAC;CAC1D,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;AAmCrE,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM,CAEzE;AAED,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,kBAAkB,GAAG,wBAAwB,EAAE,CAIrG;AAED,wBAAgB,0BAA0B,CACtC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClC,UAAU,EAAE,MAAM,GAAG,SAAS,GAC/B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAyBzB;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,kBAAkB,GAAG,MAAM,GAAG,MAAM,CAgBnG;AAED,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,OAAO,CAiB7G;AAED,wBAAgB,6BAA6B,CACzC,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClC,OAAO,EAAE,kBAAkB,GAC5B,MAAM,GAAG,MAAM,CAEjB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FrontendFieldDefinition } from './types';
|
|
2
|
+
export declare function isValidCalendarDate(year: number, month: number, day: number): boolean;
|
|
3
|
+
export declare function validateCompositeDateParts(field: FrontendFieldDefinition, value: unknown, errorKey: string, output: Record<string, string[]>): void;
|
|
4
|
+
//# sourceMappingURL=date-parts-validation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-parts-validation.d.ts","sourceRoot":"","sources":["../src/date-parts-validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AA4BvD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAUrF;AAaD,wBAAgB,0BAA0B,CACtC,KAAK,EAAE,uBAAuB,EAC9B,KAAK,EAAE,OAAO,EACd,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GACjC,IAAI,CAiDN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-instance.d.ts","sourceRoot":"","sources":["../src/form-instance.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form-instance.d.ts","sourceRoot":"","sources":["../src/form-instance.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAER,oBAAoB,EACpB,oBAAoB,EAIpB,iBAAiB,EACpB,MAAM,SAAS,CAAC;AAEjB,KAAK,iCAAiC,GAAG;IACrC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,SAAS,EAAE,iBAAiB,CAAC;CAChC,CAAC;AAicF,wBAAgB,0BAA0B,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,iCAAiC,GAAG,oBAAoB,CA8R3H"}
|