@legalplace/prerenderx 3.9.1 → 3.9.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/CHANGELOG.md +20 -0
- package/dist/libs/DocumentRender.d.ts +1 -1
- package/dist/libs/Prerender.d.ts +1 -1
- package/dist/libs/tableOutputExpansion.d.ts +1 -2
- package/package.json +7 -7
- package/src/libs/DocumentRender.ts +2 -5
- package/src/libs/Prerender.ts +2 -5
- package/src/libs/misc/FillPdfFormBase.ts +1 -2
- package/src/libs/tableOutputExpansion.ts +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.9.3](https://git.legalplace.eu/legalplace/prerenderx/compare/@legalplace/prerenderx@3.9.2...@legalplace/prerenderx@3.9.3) (2026-09-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* pin lplogic 2.4.1 and add includes/does-not-include ([b35fdc5](https://git.legalplace.eu/legalplace/prerenderx/commits/b35fdc54e74246c954ad6483eb5b6282c749c639))
|
|
12
|
+
* restore contains/does-not-contain as equality aliases of is/not ([3902bdf](https://git.legalplace.eu/legalplace/prerenderx/commits/3902bdf7d8ace558215a7eb98edd2c7f5b6b5555))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [3.9.2](https://git.legalplace.eu/legalplace/prerenderx/compare/@legalplace/prerenderx@3.9.1...@legalplace/prerenderx@3.9.2) (2026-09-01)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @legalplace/prerenderx
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [3.9.1](https://git.legalplace.eu/legalplace/prerenderx/compare/@legalplace/prerenderx@3.9.0...@legalplace/prerenderx@3.9.1) (2026-09-01)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @legalplace/prerenderx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type ConditionsRunner from "@legalplace/conditions-runner";
|
|
2
|
-
import {
|
|
2
|
+
import type { OutputRegionRole, Types } from "@legalplace/referencesparser";
|
|
3
3
|
import type InputsType from "@legalplace/types/dist/inputs";
|
|
4
4
|
import type NumAuto from "./NumAuto";
|
|
5
5
|
declare class DocumentRender {
|
package/dist/libs/Prerender.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ModelV3 } from "@legalplace/models-v3-types";
|
|
2
|
-
import {
|
|
2
|
+
import type { Types } from "@legalplace/referencesparser";
|
|
3
3
|
import type OvcType from "@legalplace/types/dist/ovc";
|
|
4
4
|
import type InputsType from "@legalplace/types/dist/inputs";
|
|
5
5
|
import type { FDFType, DocumentIndex, DocumentOutputIndex, DocumentPdfFormIndex, DocumentLayout } from "../types/types";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ConditionV3 } from "@legalplace/models-v3-types";
|
|
2
2
|
import type ConditionsRunner from "@legalplace/conditions-runner";
|
|
3
|
-
import type { Types } from "@legalplace/referencesparser";
|
|
4
|
-
import { type ExpandTableMarkupContext } from "@legalplace/referencesparser";
|
|
3
|
+
import type { Types, ExpandTableMarkupContext } from "@legalplace/referencesparser";
|
|
5
4
|
import type InputsType from "@legalplace/types/dist/inputs";
|
|
6
5
|
export declare const evaluateInlineTableCondition: (condition: ConditionV3, contextOptionId: number, occurrenceIndex: number, conditionsRunner: ConditionsRunner, references: Types.ReferencesType, ovc: InputsType) => boolean;
|
|
7
6
|
type CreateTableMarkupContextParams = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legalplace/prerenderx",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.3",
|
|
4
4
|
"description": "PrerenderX",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": "https://git.legalplace.eu/legalplace/prerenderx",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"release": "standard-version -a --no-verify"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@legalplace/conditions-runner": "^2.3.
|
|
20
|
-
"@legalplace/lplogic": "2.
|
|
21
|
-
"@legalplace/models-v3-types": "^5.18.
|
|
22
|
-
"@legalplace/ovc-converter": "^2.2.
|
|
23
|
-
"@legalplace/referencesparser": "^3.3.
|
|
19
|
+
"@legalplace/conditions-runner": "^2.3.3",
|
|
20
|
+
"@legalplace/lplogic": "2.4.1",
|
|
21
|
+
"@legalplace/models-v3-types": "^5.18.2",
|
|
22
|
+
"@legalplace/ovc-converter": "^2.2.24",
|
|
23
|
+
"@legalplace/referencesparser": "^3.3.4",
|
|
24
24
|
"@legalplace/yousign": "^0.9.23",
|
|
25
25
|
"crypto": "^1.0.1"
|
|
26
26
|
},
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"ts-jest": "^24.0.2"
|
|
38
38
|
},
|
|
39
39
|
"prettier": "@legalplace/prettier-config",
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "051ddec22eba44657f3a7fbab9356209e8ab476a"
|
|
41
41
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type ConditionsRunner from "@legalplace/conditions-runner";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
type OutputRegionRole,
|
|
5
|
-
type Types,
|
|
6
|
-
} from "@legalplace/referencesparser";
|
|
2
|
+
import type { OutputRegionRole, Types } from "@legalplace/referencesparser";
|
|
3
|
+
import { getSectionIdsForRole } from "@legalplace/referencesparser";
|
|
7
4
|
import type InputsType from "@legalplace/types/dist/inputs";
|
|
8
5
|
import SectionRender from "./SectionRender";
|
|
9
6
|
import type NumAuto from "./NumAuto";
|
package/src/libs/Prerender.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import type { ModelV3 } from "@legalplace/models-v3-types";
|
|
2
2
|
import ConditionsRunner from "@legalplace/conditions-runner";
|
|
3
3
|
import OvcConverter from "@legalplace/ovc-converter";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
type OutputRegionRole,
|
|
7
|
-
type Types,
|
|
8
|
-
} from "@legalplace/referencesparser";
|
|
4
|
+
import type { OutputRegionRole, Types } from "@legalplace/referencesparser";
|
|
5
|
+
import { ReferencesParser } from "@legalplace/referencesparser";
|
|
9
6
|
import type OvcType from "@legalplace/types/dist/ovc";
|
|
10
7
|
import type InputsType from "@legalplace/types/dist/inputs";
|
|
11
8
|
import crypto from "crypto";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type { Types } from "@legalplace/referencesparser";
|
|
1
|
+
import type { Types, ConditionEvaluator } from "@legalplace/referencesparser";
|
|
2
2
|
import type ConditionsRunner from "@legalplace/conditions-runner";
|
|
3
3
|
import type InputsType from "@legalplace/types/dist/inputs";
|
|
4
4
|
import {
|
|
5
5
|
isOptionDisplayed as sharedIsOptionDisplayed,
|
|
6
6
|
isVariableDisplayed as sharedIsVariableDisplayed,
|
|
7
|
-
type ConditionEvaluator,
|
|
8
7
|
} from "@legalplace/referencesparser";
|
|
9
8
|
|
|
10
9
|
class FillPdfFormBase {
|
|
@@ -2,13 +2,15 @@ import LpLogic from "@legalplace/lplogic";
|
|
|
2
2
|
import type { ConditionV3 } from "@legalplace/models-v3-types";
|
|
3
3
|
import type ConditionsRunner from "@legalplace/conditions-runner";
|
|
4
4
|
import DataPopulator from "@legalplace/conditions-runner/dist/DataPopulator";
|
|
5
|
-
import type {
|
|
5
|
+
import type {
|
|
6
|
+
Types,
|
|
7
|
+
ExpandTableMarkupContext,
|
|
8
|
+
} from "@legalplace/referencesparser";
|
|
6
9
|
import {
|
|
7
10
|
expandTableMarkup,
|
|
8
11
|
extractConditionDataMap,
|
|
9
12
|
hasTableDynamicMarkup,
|
|
10
13
|
stripConditionUiMetadata,
|
|
11
|
-
type ExpandTableMarkupContext,
|
|
12
14
|
} from "@legalplace/referencesparser";
|
|
13
15
|
import type InputsType from "@legalplace/types/dist/inputs";
|
|
14
16
|
import {
|