From ec5ed654e91035b7fbe79279fc1ca1dc91cbbe22 Mon Sep 17 00:00:00 2001 From: b4rtaz Date: Sun, 6 Oct 2024 13:51:42 +0200 Subject: [PATCH] 0.14.2. --- CHANGELOG.md | 4 ++++ demos/webpack-app/package.json | 4 ++-- editor/package.json | 6 +++--- model/package.json | 2 +- model/src/validator/property-validator-context.ts | 1 + 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a1b862..464c94c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.14.2 + +This version adds the `formatPropertyValue` method to the `PropertyValidatorContext` class. + ## 0.14.1 This version adds the `formatPropertyValue` method to: `PropertyContext`, `DefaultValueContext`, `ScopedPropertyContext` and `ValueContext` classes. diff --git a/demos/webpack-app/package.json b/demos/webpack-app/package.json index a330110..bdd4b84 100644 --- a/demos/webpack-app/package.json +++ b/demos/webpack-app/package.json @@ -18,8 +18,8 @@ "sequential-workflow-model": "^0.2.0", "sequential-workflow-designer": "^0.21.2", "sequential-workflow-machine": "^0.4.0", - "sequential-workflow-editor-model": "^0.14.1", - "sequential-workflow-editor": "^0.14.1" + "sequential-workflow-editor-model": "^0.14.2", + "sequential-workflow-editor": "^0.14.2" }, "devDependencies": { "ts-loader": "^9.4.2", diff --git a/editor/package.json b/editor/package.json index 757abff..7feb183 100644 --- a/editor/package.json +++ b/editor/package.json @@ -1,6 +1,6 @@ { "name": "sequential-workflow-editor", - "version": "0.14.1", + "version": "0.14.2", "type": "module", "main": "./lib/esm/index.js", "types": "./lib/index.d.ts", @@ -46,11 +46,11 @@ "prettier:fix": "prettier --write ./src ./css" }, "dependencies": { - "sequential-workflow-editor-model": "^0.14.1", + "sequential-workflow-editor-model": "^0.14.2", "sequential-workflow-model": "^0.2.0" }, "peerDependencies": { - "sequential-workflow-editor-model": "^0.14.1", + "sequential-workflow-editor-model": "^0.14.2", "sequential-workflow-model": "^0.2.0" }, "devDependencies": { diff --git a/model/package.json b/model/package.json index fdf7842..e3b14cb 100644 --- a/model/package.json +++ b/model/package.json @@ -1,6 +1,6 @@ { "name": "sequential-workflow-editor-model", - "version": "0.14.1", + "version": "0.14.2", "homepage": "https://nocode-js.com/", "author": { "name": "NoCode JS", diff --git a/model/src/validator/property-validator-context.ts b/model/src/validator/property-validator-context.ts index 6a8d378..760736f 100644 --- a/model/src/validator/property-validator-context.ts +++ b/model/src/validator/property-validator-context.ts @@ -12,6 +12,7 @@ export class PropertyValidatorContext) {} public readonly getPropertyValue = this.valueContext.getPropertyValue; + public readonly formatPropertyValue = this.valueContext.formatPropertyValue; public readonly getSupportedValueTypes = this.valueContext.getValueTypes; public readonly hasVariable = this.valueContext.hasVariable; public readonly findFirstUndefinedVariable = this.valueContext.findFirstUndefinedVariable;