This is an automated email from the ASF dual-hosted git repository.
thiagoelg pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 746795047fb kie-issues#1447: Create a new example package on kie-tools
to showcase how to use the new DMN Editor Standalone (#2543)
746795047fb is described below
commit 746795047fbba57ab28b390ffc9cc0720b056d7f
Author: Thiago Lugli <[email protected]>
AuthorDate: Thu Aug 22 10:57:14 2024 -0300
kie-issues#1447: Create a new example package on kie-tools to showcase how
to use the new DMN Editor Standalone (#2543)
---
examples/dmn-editor-standalone-examples/README.md | 75 ++
.../dmn-editor-standalone-examples/env/index.js | 31 +
.../dmn-editor-standalone-examples/package.json | 45 ++
.../src/fileLoader.ts | 32 +
.../src/readOnly/index.html | 45 ++
.../src/readOnly/index.ts | 43 ++
.../src/stateControl/index.html | 86 +++
.../src/stateControl/index.ts | 96 +++
.../src/withIncludedModels/index.html | 45 ++
.../src/withIncludedModels/index.ts | 59 ++
.../static/models/can-drive-types.dmn | 55 ++
.../static/models/can-drive.dmn | 187 +++++
.../static/models/empty-drd.dmn | 41 +
.../static/models/empty.dmn | 20 +
.../static/models/find-employees.dmn | 374 +++++++++
.../static/models/loan-pre-qualification.dmn | 840 +++++++++++++++++++++
.../dmn-editor-standalone-examples/tsconfig.json | 10 +
.../webpack.config.js | 76 ++
.../boxedExpressions/conditional/populate.spec.ts | 2 +
.../src/DmnEditorStandaloneChannelApiImpl.ts | 6 +-
pnpm-lock.yaml | 175 +++--
repo/graph.dot | 4 +-
repo/graph.json | 41 +-
23 files changed, 2306 insertions(+), 82 deletions(-)
diff --git a/examples/dmn-editor-standalone-examples/README.md
b/examples/dmn-editor-standalone-examples/README.md
new file mode 100644
index 00000000000..039c312e3d8
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/README.md
@@ -0,0 +1,75 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+## DMN Editor Standalone Examples
+
+A series of examples on how to use the DMN Editor Standalone in different
applications.
+
+### Examples
+
+- [State Control]("src/stateControl/index.ts"): Shows how to leverage the
Editor API to undo/redo changes to a decision, get its contents and download an
SVG of the diagram.
+- [Read Only]("src/readOnly/index.ts"): Loads the editor in "Read Only" mode,
where a decision can be displayed and navigated but not changed.
+- [With Included Models]("src/withIncludedModels/index.ts"): Displays how
Decisions can be imported into other Decisions as "Included Models", using the
`resources` parameter from the DMN Editor.
+
+### Build
+
+To build the examples, execute one of the following commands on the root
folder of the project:
+
+```shell script
+KIE_TOOLS_BUILD__buildExamples=true pnpm -F
@kie-tools-examples/dmn-editor-standalone-examples... build:dev
+KIE_TOOLS_BUILD__buildExamples=true pnpm -F
@kie-tools-examples/dmn-editor-standalone-examples... build:prod
+```
+
+### Run
+
+To start the examples application, execute the following command on the root
folder of the project:
+
+```shell script
+pnpm -F @kie-tools-examples/dmn-editor-standalone-examples start
+```
+
+Open http://localhost:9102 to see the list of files bundled by webpack, then
choose an example:
+
+- State Control: http://localhost:9102/state_control.html
+- Read Only: http://localhost:9102/read_only.html
+- With Included Models: http://localhost:9102/with_included_models.html
+
+---
+
+Apache KIE (incubating) is an effort undergoing incubation at The Apache
Software
+Foundation (ASF), sponsored by the name of Apache Incubator. Incubation is
+required of all newly accepted projects until a further review indicates that
+the infrastructure, communications, and decision making process have stabilized
+in a manner consistent with other successful ASF projects. While incubation
+status is not necessarily a reflection of the completeness or stability of the
+code, it does indicate that the project has yet to be fully endorsed by the
ASF.
+
+Some of the incubating project’s releases may not be fully compliant with ASF
+policy. For example, releases may have incomplete or un-reviewed licensing
+conditions. What follows is a list of known issues the project is currently
+aware of (note that this list, by definition, is likely to be incomplete):
+
+- Hibernate, an LGPL project, is being used. Hibernate is in the process of
+ relicensing to ASL v2
+- Some files, particularly test files, and those not supporting comments, may
+ be missing the ASF Licensing Header
+
+If you are planning to incorporate this work into your product/project, please
+be aware that you will need to conduct a thorough licensing review to determine
+the overall implications of including this work. For the current status of this
+project through the Apache Incubator visit:
+https://incubator.apache.org/projects/kie.html
diff --git a/examples/dmn-editor-standalone-examples/env/index.js
b/examples/dmn-editor-standalone-examples/env/index.js
new file mode 100644
index 00000000000..d0530a1d5ff
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/env/index.js
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+const { varsWithName, composeEnv } = require("@kie-tools-scripts/build-env");
+
+module.exports = composeEnv([require("@kie-tools/root-env/env")], {
+ vars: varsWithName({}),
+ get env() {
+ return {
+ dmnEditorStandaloneExamples: {
+ port: 9102,
+ },
+ };
+ },
+});
diff --git a/examples/dmn-editor-standalone-examples/package.json
b/examples/dmn-editor-standalone-examples/package.json
new file mode 100644
index 00000000000..479bb384c27
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/package.json
@@ -0,0 +1,45 @@
+{
+ "private": true,
+ "name": "@kie-tools-examples/dmn-editor-standalone-examples",
+ "version": "0.0.0",
+ "description": "",
+ "license": "Apache-2.0",
+ "homepage": "https://github.com/apache/incubator-kie-tools",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/apache/incubator-kie-tools.git"
+ },
+ "bugs": {
+ "url": "https://github.com/apache/incubator-kie-tools/issues"
+ },
+ "scripts": {
+ "build:dev": "rimraf dist && webpack --env dev",
+ "build:prod": "rimraf dist && webpack --env prod",
+ "start": "webpack serve --host 0.0.0.0 --env dev"
+ },
+ "dependencies": {
+ "@kie-tools/dmn-editor-standalone": "workspace:*"
+ },
+ "devDependencies": {
+ "@kie-tools-core/webpack-base": "workspace:*",
+ "@kie-tools/root-env": "workspace:*",
+ "@kie-tools/tsconfig": "workspace:*",
+ "copy-webpack-plugin": "^11.0.0",
+ "html-webpack-plugin": "^5.3.2",
+ "process": "^0.11.10",
+ "raw-loader": "^4.0.2",
+ "rimraf": "^3.0.2",
+ "typescript": "^5.5.3",
+ "webpack": "^5.92.1",
+ "webpack-bundle-analyzer": "^4.10.2",
+ "webpack-cli": "^4.10.0",
+ "webpack-dev-server": "^4.15.1",
+ "webpack-merge": "^5.9.0"
+ },
+ "kieTools": {
+ "requiredPreinstalledCliCommands": [
+ "java",
+ "mvn"
+ ]
+ }
+}
diff --git a/examples/dmn-editor-standalone-examples/src/fileLoader.ts
b/examples/dmn-editor-standalone-examples/src/fileLoader.ts
new file mode 100644
index 00000000000..1dcd0920f3a
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/src/fileLoader.ts
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import { DmnEditorStandaloneApi } from "@kie-tools/dmn-editor-standalone/dist";
+
+export function loadFile(fileName: string) {
+ return fetch(`/static/models/${fileName}`).then((value) => value.text());
+}
+
+export function initFileLoader(files: Array<string>, editor:
DmnEditorStandaloneApi) {
+ files.map((fileName) => {
+ document.getElementById(fileName)?.addEventListener("click", () => {
+ loadFile(fileName).then((fileContent) => editor.setContent(fileName,
fileContent));
+ });
+ });
+}
diff --git a/examples/dmn-editor-standalone-examples/src/readOnly/index.html
b/examples/dmn-editor-standalone-examples/src/readOnly/index.html
new file mode 100644
index 00000000000..f72922efd6e
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/src/readOnly/index.html
@@ -0,0 +1,45 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<!-- This file is used for test purposes only -->
+
+<!doctype html>
+<html lang="en">
+ <head>
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+ #dmn-editor-container {
+ height: calc(100vh - 6px);
+ }
+ </style>
+
+ <title></title>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ </head>
+
+ <body>
+ <div id="dmn-editor-container" />
+ </body>
+</html>
diff --git a/examples/dmn-editor-standalone-examples/src/readOnly/index.ts
b/examples/dmn-editor-standalone-examples/src/readOnly/index.ts
new file mode 100644
index 00000000000..ff6cdf0e905
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/src/readOnly/index.ts
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import * as DmnEditor from "@kie-tools/dmn-editor-standalone/dist";
+import { loadFile } from "../fileLoader";
+
+document.addEventListener("DOMContentLoaded", function () {
+ loadEditor();
+});
+
+function loadEditor() {
+ // Loads the DMN Editor in the `<div id="dmn-editor-container" />` element.
+ // Initializes with an existing file called `loan-pre-qualification.dmn` on
the root of the
+ // workspace.
+ // The `loadFile` function loads the file from the /static/models directory
and returns
+ // a Promise that resolves into a string.
+ // The `readOnly` flag changes the editor, locking all changes to the model,
making it
+ // useful for displaying diagrams without editing the Decision.
+ const editor = DmnEditor.open({
+ container: document.getElementById("dmn-editor-container")!,
+ initialFileNormalizedPosixPathRelativeToTheWorkspaceRoot:
"loan-pre-qualification.dmn",
+ initialContent: loadFile("loan-pre-qualification.dmn"),
+ readOnly: true,
+ });
+
+ console.log({ editor });
+}
diff --git
a/examples/dmn-editor-standalone-examples/src/stateControl/index.html
b/examples/dmn-editor-standalone-examples/src/stateControl/index.html
new file mode 100644
index 00000000000..d769644f5a6
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/src/stateControl/index.html
@@ -0,0 +1,86 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<!-- This file is used for test purposes only -->
+
+<!doctype html>
+<html lang="en">
+ <head>
+ <style>
+ * {
+ margin: 0;
+ }
+
+ #dmn-editor-container {
+ height: calc(100vh - 36px);
+ }
+
+ .toolbar {
+ height: 30px;
+ display: flex;
+ font-size: 16px;
+ border-bottom: 1px solid #d2d2d2;
+ box-sizing: border-box;
+ align-items: center;
+ }
+
+ .toolbar button {
+ font-size: 16px;
+ }
+
+ .toolbar .toolbar-items {
+ flex: 1 1;
+ }
+
+ .toolbar .load-files {
+ text-align: right;
+ }
+
+ .hidden {
+ display: none;
+ }
+ </style>
+
+ <title></title>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ </head>
+
+ <body>
+ <div class="toolbar">
+ <div class="toolbar-items actions">
+ <button id="undo">Undo</button>
+ <button id="redo">Redo</button>
+ <button id="download">Download</button>
+ <button id="downloadSvg">Download SVG</button>
+ <span id="unsavedChanges" class="hidden">File contains unsaved
changes.</span>
+ </div>
+ <br />
+ <div class="toolbar-items load-files">
+ Load DMN:
+ <button id="empty.dmn">Empty</button>
+ <button id="empty-drd.dmn">Empty DRD</button>
+ <button id="find-employees.dmn">Find Employees</button>
+ <button id="loan-pre-qualification.dmn">Loan Pre Qualification</button>
+ </div>
+ </div>
+ <div id="dmn-editor-container" />
+ </body>
+</html>
diff --git a/examples/dmn-editor-standalone-examples/src/stateControl/index.ts
b/examples/dmn-editor-standalone-examples/src/stateControl/index.ts
new file mode 100644
index 00000000000..ce8682e8252
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/src/stateControl/index.ts
@@ -0,0 +1,96 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import * as DmnEditor from "@kie-tools/dmn-editor-standalone/dist";
+import { initFileLoader } from "../fileLoader";
+
+document.addEventListener("DOMContentLoaded", function () {
+ loadEditor();
+});
+
+function loadEditor() {
+ // Loads the DMN Editor in the `<div id="dmn-editor-container" />` element.
+ // Initializes with an empty file called `newModel.dmn` on the root of the
+ // workspace.
+ const editor = DmnEditor.open({
+ container: document.getElementById("dmn-editor-container")!,
+ initialFileNormalizedPosixPathRelativeToTheWorkspaceRoot: "newModel.dmn",
+ initialContent: Promise.resolve(``),
+ readOnly: false,
+ });
+
+ // Undo button: Calls the `undo` method from the Editor API.
+ // Will undo the last action (moving a node, renaming a node, adding an
edge, etc).
+ document.getElementById("undo")?.addEventListener("click", () => {
+ editor.undo();
+ });
+
+ // Undo button: Calls the `redo` method from the Editor API.
+ // Useful after an undo, will redo the last action undone action.
+ document.getElementById("redo")?.addEventListener("click", () => {
+ editor.redo();
+ });
+
+ // Download button: Calls the `getContent` method from the Editor API
+ // and then starts a download of a .dmn file with the string contents
+ // of the underlying XML for the current Decision.
+ // In the end, marks the content as saved via `markAsSaved`.
+ document.getElementById("download")?.addEventListener("click", () => {
+ editor.getContent().then((content) => {
+ const elem = window.document.createElement("a");
+ elem.href = "data:text/plain;charset=utf-8," +
encodeURIComponent(content);
+ elem.download = "model.dmn";
+ document.body.appendChild(elem);
+ elem.click();
+ document.body.removeChild(elem);
+ editor.markAsSaved();
+ });
+ });
+
+ // Download button: Calls the `getPreview` method from the Editor API
+ // and then starts a download of a .svg file with the diagram generated
+ // for the current Decision.
+ document.getElementById("downloadSvg")?.addEventListener("click", () => {
+ editor.getPreview().then((svgContent) => {
+ if (!svgContent) {
+ return;
+ }
+ const elem = window.document.createElement("a");
+ elem.href = "data:image/svg+xml;charset=utf-8," +
encodeURIComponent(svgContent);
+ elem.download = "model.svg";
+ document.body.appendChild(elem);
+ elem.click();
+ document.body.removeChild(elem);
+ });
+ });
+
+ // Listens to the `contentChange` notification.
+ // Useful for checking if a model has changed and needs to be saved, for
example.
+ editor.subscribeToContentChanges((isDirty) => {
+ if (isDirty) {
+ document.getElementById("unsavedChanges")?.classList.remove("hidden");
+ } else {
+ document.getElementById("unsavedChanges")?.classList.add("hidden");
+ }
+ });
+
+ initFileLoader(["empty.dmn", "empty-drd.dmn", "find-employees.dmn",
"loan-pre-qualification.dmn"], editor);
+
+ console.log({ editor });
+}
diff --git
a/examples/dmn-editor-standalone-examples/src/withIncludedModels/index.html
b/examples/dmn-editor-standalone-examples/src/withIncludedModels/index.html
new file mode 100644
index 00000000000..f72922efd6e
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/src/withIncludedModels/index.html
@@ -0,0 +1,45 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<!-- This file is used for test purposes only -->
+
+<!doctype html>
+<html lang="en">
+ <head>
+ <style>
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+ #dmn-editor-container {
+ height: calc(100vh - 6px);
+ }
+ </style>
+
+ <title></title>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ </head>
+
+ <body>
+ <div id="dmn-editor-container" />
+ </body>
+</html>
diff --git
a/examples/dmn-editor-standalone-examples/src/withIncludedModels/index.ts
b/examples/dmn-editor-standalone-examples/src/withIncludedModels/index.ts
new file mode 100644
index 00000000000..0489488ff2b
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/src/withIncludedModels/index.ts
@@ -0,0 +1,59 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import * as DmnEditor from "@kie-tools/dmn-editor-standalone/dist";
+import { DmnEditorStandaloneResource } from
"@kie-tools/dmn-editor-standalone/dist";
+import { loadFile } from "../fileLoader";
+
+document.addEventListener("DOMContentLoaded", function () {
+ loadEditor();
+});
+
+function loadEditor() {
+ // Loads the DMN Editor in the `<div id="dmn-editor-container" />` element.
+ // Initializes with an existing file called `can-drive.dmn` on the root of
the
+ // workspace.
+ // The `loadFile` function loads files from the /static/models directory and
returns
+ // a Promise that resolves into a string.
+ // In this case resources are added alongside the main content and can be
used as
+ // an included model.
+ // The paths are important here! Since path2/loan-pre-qualification.dmn is
in a
+ // different parent path than the main content (path1/can-drive.dmn), it
won't be availabe
+ // to be used as an included model.
+ // Examples:
+ // | Path | Available |
+ // | ------------------------------ | --------- |
+ // | path1/test/myModel.dmn | ✓ |
+ // | myTypes.dmn | x |
+ // | path2/model.dmn | x |
+ // | path1/sample.dm | ✓ |
+ // | ------------------------------ | --------- |
+ const editor = DmnEditor.open({
+ container: document.getElementById("dmn-editor-container")!,
+ initialFileNormalizedPosixPathRelativeToTheWorkspaceRoot:
"path1/can-drive.dmn",
+ initialContent: loadFile("can-drive.dmn"),
+ resources: new Map<string, DmnEditorStandaloneResource>([
+ ["path1/can-drive-types.dmn", { contentType: "text", content:
loadFile("can-drive-types.dmn") }],
+ ["path2/loan-pre-qualification.dmn", { contentType: "text", content:
loadFile("loan-pre-qualification.dmn") }],
+ ]),
+ readOnly: false,
+ });
+
+ console.log({ editor });
+}
diff --git
a/examples/dmn-editor-standalone-examples/static/models/can-drive-types.dmn
b/examples/dmn-editor-standalone-examples/static/models/can-drive-types.dmn
new file mode 100644
index 00000000000..63b05475423
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/static/models/can-drive-types.dmn
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<definitions
+ xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
+ expressionLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
+ namespace="https://kie.org/dmn/_8A2ED07B-1CE0-4A81-B9C9-5792D851EC85"
+ id="_9B5C0976-EAA8-4686-8C8E-E012C715D6C2"
+ name="CanDriveTypes"
+ xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"
+ xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
+ xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
+ xmlns:kie="https://kie.org/dmn/extensions/1.0"
+>
+ <itemDefinition
+ id="_8CAE9E46-6F07-4C2C-8E0F-4D61E96C4A87"
+ name="tPerson"
+ isCollection="false"
+ typeLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
+ >
+ <itemComponent
+ id="_20C02B7D-0670-471A-B684-9FBEF3481FE9"
+ name="Country"
+ isCollection="false"
+ typeLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
+ >
+ <typeRef>Country</typeRef>
+ </itemComponent>
+ <itemComponent
+ id="_67E83504-AF1D-4159-85B9-B2A847E74C66"
+ name="Age"
+ isCollection="false"
+ typeLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
+ >
+ <typeRef>number</typeRef>
+ </itemComponent>
+ <itemComponent
+ id="_94BE7A68-8A8C-4B6F-9B92-02179AF5B12F"
+ name="Passed the test"
+ isCollection="false"
+ typeLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
+ >
+ <typeRef>boolean</typeRef>
+ </itemComponent>
+ </itemDefinition>
+ <itemDefinition
+ id="_17792D5B-A0AB-478B-AB60-ECC7F2A4FCB2"
+ name="Country"
+ isCollection="false"
+ typeLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
+ >
+ <typeRef>string</typeRef>
+ <typeConstraint id="_AA66EE6B-778C-45E5-AF26-37488D6E80F4"
kie:constraintType="enumeration">
+ <text>"Brazil", "USA", "England"</text>
+ </typeConstraint>
+ </itemDefinition>
+</definitions>
diff --git
a/examples/dmn-editor-standalone-examples/static/models/can-drive.dmn
b/examples/dmn-editor-standalone-examples/static/models/can-drive.dmn
new file mode 100644
index 00000000000..984a24a1d5a
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/static/models/can-drive.dmn
@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<definitions
+ xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
+ expressionLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
+ namespace="https://kie.org/dmn/_8131B6C4-A117-47E9-93EB-922C63CE328F"
+ id="_71B8B1CC-1F0B-4DE3-AFD2-C60FF033481C"
+ name="CanDrive"
+ xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"
+ xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
+ xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
+ xmlns:kie="https://kie.org/dmn/extensions/1.0"
+ xmlns:included0="https://kie.org/dmn/_8A2ED07B-1CE0-4A81-B9C9-5792D851EC85"
+>
+ <import
+ id="_44F1D0BD-60F9-4E99-A821-442C56404FC0"
+ name="CanDriveTypes"
+ importType="http://www.omg.org/spec/DMN/20180521/MODEL/"
+ namespace="https://kie.org/dmn/_8A2ED07B-1CE0-4A81-B9C9-5792D851EC85"
+ locationURI="./path1/can-drive-types.dmn"
+ />
+ <inputData name="Person" id="_E2FBAB4A-317B-4D46-903D-D2771D209F2F">
+ <variable name="Person" id="_7A5CA35A-1E13-48E0-87B2-C9686586DBE3"
typeRef="CanDriveTypes.tPerson" />
+ </inputData>
+ <decision name="Can drive?" id="_91E12B2E-07D1-429A-AA4A-9637542E53CF">
+ <variable name="Can drive?" id="_35CAAEE7-57B6-48DC-B098-6C8554A454CC"
typeRef="boolean" />
+ <informationRequirement id="_FDA369B9-37DF-44CB-98F4-ED4E13B8988D">
+ <requiredInput href="#_E2FBAB4A-317B-4D46-903D-D2771D209F2F" />
+ </informationRequirement>
+ <decisionTable
+ id="_9A0C38FB-4AB7-4DD8-91A1-C22E28C8A620"
+ hitPolicy="UNIQUE"
+ preferredOrientation="Rule-as-Row"
+ label="Can drive?"
+ typeRef="boolean"
+ >
+ <input id="_CD9FDB5B-882F-4404-AB26-FE015E13789E">
+ <inputExpression id="_7DEAF340-187B-4037-8C1E-52295F773678"
typeRef="number">
+ <text>Person.Age</text>
+ </inputExpression>
+ </input>
+ <input id="_7B365CA3-5C03-4844-9D27-27BAFC070E52">
+ <inputExpression id="_1837FEBA-E54E-46DC-818E-ADA7A9A33FBD"
typeRef="string">
+ <text>Person.Country</text>
+ </inputExpression>
+ <inputValues kie:constraintType="enumeration"
id="_E153950D-50F5-41A8-B7E7-AA15E4C4AEDD">
+ <text>"Brazil", "US", "England"</text>
+ </inputValues>
+ </input>
+ <output id="_98E28442-D147-409B-B85C-14A6930F6EE0" />
+ <annotation name="annotation-1" />
+ <rule id="_E367C428-E607-41F3-BC91-6CA65765664C">
+ <inputEntry id="_A6AD2106-03AA-4842-B4BA-6B2A8AFBFAE5">
+ <text>>= 18</text>
+ </inputEntry>
+ <inputEntry id="_114C9161-EB57-41B3-8549-E9D78FF7D14B">
+ <text>"Brazil"</text>
+ </inputEntry>
+ <outputEntry id="_44E83AF7-0E52-428E-A77D-F90DD015B6B4">
+ <text>true</text>
+ </outputEntry>
+ <annotationEntry>
+ <text />
+ </annotationEntry>
+ </rule>
+ <rule id="_0DF952AC-F9FA-4EC8-B0A2-62396C4D4214">
+ <inputEntry id="_7B0BE44C-FDAA-409E-920D-527AB57859D1">
+ <text>< 18</text>
+ </inputEntry>
+ <inputEntry id="_4E1CA859-8FF2-4190-80D2-F8270B583C2C">
+ <text>"Brazil"</text>
+ </inputEntry>
+ <outputEntry id="_D51843A9-8071-4337-BF22-27F56D223F86">
+ <text>false</text>
+ </outputEntry>
+ <annotationEntry>
+ <text />
+ </annotationEntry>
+ </rule>
+ <rule id="_16C235E4-F829-4922-9B93-9A59D3DAD0FB">
+ <inputEntry id="_A6229979-EA8E-4359-8B9C-11CC050110BA">
+ <text>>= 17</text>
+ </inputEntry>
+ <inputEntry id="_A355BB4D-1A8E-4663-BF76-19608AE9A7C9">
+ <text>"England"</text>
+ </inputEntry>
+ <outputEntry id="_E178F6D9-2DFD-4C0C-B294-AB63C2BFF3B5">
+ <text>true</text>
+ </outputEntry>
+ <annotationEntry>
+ <text />
+ </annotationEntry>
+ </rule>
+ <rule id="_A7FEB897-8395-4520-BCE8-FBF3EFF60A23">
+ <inputEntry id="_DDF55135-F0E9-438D-934A-1549EF097576">
+ <text>< 17</text>
+ </inputEntry>
+ <inputEntry id="_2C87405E-9FAA-4B77-9E73-6E7FB23FF343">
+ <text>"England"</text>
+ </inputEntry>
+ <outputEntry id="_7DB6B719-DCB3-46FC-A183-DBFA087DCA10">
+ <text>false</text>
+ </outputEntry>
+ <annotationEntry>
+ <text />
+ </annotationEntry>
+ </rule>
+ <rule id="_F7A2C97A-AED1-4605-AEE9-555B38B873B8">
+ <inputEntry id="_43D27957-3679-4051-81E1-E33DB82EE175">
+ <text>>= 16</text>
+ </inputEntry>
+ <inputEntry id="_6C3F2EF4-9B3B-4849-993D-FB56DD66E56F">
+ <text>"USA"</text>
+ </inputEntry>
+ <outputEntry id="_1B1A1699-4FF5-4D49-8EC7-C1CC7C03C2AE">
+ <text>true</text>
+ </outputEntry>
+ <annotationEntry>
+ <text />
+ </annotationEntry>
+ </rule>
+ <rule id="_C748CD16-EE70-4FB4-A2C6-5CAD72395393">
+ <inputEntry id="_002FCA60-B5BA-4D5C-8AD5-02DFBC5C614C">
+ <text>< 16</text>
+ </inputEntry>
+ <inputEntry id="_08E98916-7ED0-4987-8417-17404D0C01EA">
+ <text>"USA"</text>
+ </inputEntry>
+ <outputEntry id="_A43BF6B4-AE9F-459D-8777-B52B440E4402">
+ <text>false</text>
+ </outputEntry>
+ <annotationEntry>
+ <text />
+ </annotationEntry>
+ </rule>
+ </decisionTable>
+ </decision>
+ <dmndi:DMNDI>
+ <dmndi:DMNDiagram
+ id="_41C81932-8C97-4510-840F-33B944815075"
+ name="Default DRD"
+ useAlternativeInputDataShape="false"
+ >
+ <di:extension>
+ <kie:ComponentsWidthsExtension>
+ <kie:ComponentWidths
dmnElementRef="_4E3A3401-21A1-40A5-BB8B-1A18509072FD">
+ <kie:width>60</kie:width>
+ <kie:width>118</kie:width>
+ <kie:width>118</kie:width>
+ <kie:width>240</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_9A0C38FB-4AB7-4DD8-91A1-C22E28C8A620">
+ <kie:width>50</kie:width>
+ <kie:width>100</kie:width>
+ <kie:width>100</kie:width>
+ <kie:width>100</kie:width>
+ <kie:width>100</kie:width>
+ </kie:ComponentWidths>
+ </kie:ComponentsWidthsExtension>
+ </di:extension>
+ <dmndi:DMNShape
+ id="_7B3B3B50-07D1-4F7C-9CD2-EF33476EDEC4"
+ dmnElementRef="_E2FBAB4A-317B-4D46-903D-D2771D209F2F"
+ isCollapsed="false"
+ isListedInputData="false"
+ >
+ <dc:Bounds x="760" y="480" width="160" height="80" />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="_8C63A21B-2DFD-49E8-8EF6-860EE6B97B1C"
+ dmnElementRef="_91E12B2E-07D1-429A-AA4A-9637542E53CF"
+ isCollapsed="false"
+ isListedInputData="false"
+ >
+ <dc:Bounds x="760" y="300" width="160" height="80" />
+ </dmndi:DMNShape>
+ <dmndi:DMNEdge
+ id="_12073758-9A22-4CC7-A012-07A7DD810DE5"
+ dmnElementRef="_FDA369B9-37DF-44CB-98F4-ED4E13B8988D"
+ sourceElement="_7B3B3B50-07D1-4F7C-9CD2-EF33476EDEC4"
+ targetElement="_8C63A21B-2DFD-49E8-8EF6-860EE6B97B1C"
+ >
+ <di:waypoint x="840" y="520" />
+ <di:waypoint x="840" y="380" />
+ </dmndi:DMNEdge>
+ </dmndi:DMNDiagram>
+ </dmndi:DMNDI>
+</definitions>
diff --git
a/examples/dmn-editor-standalone-examples/static/models/empty-drd.dmn
b/examples/dmn-editor-standalone-examples/static/models/empty-drd.dmn
new file mode 100644
index 00000000000..460371390fe
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/static/models/empty-drd.dmn
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<definitions
+ xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
+ xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"
+ xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
+ xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
+ xmlns:kie="https://kie.org/dmn/extensions/1.0"
+ xmlns:included0="https://kie.org/dmn/_125A5475-65CE-4574-822C-9CB2268F1393"
+ expressionLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
+ namespace="https://kie.org/dmn/_2B849D68-E816-42F9-898A-1938B5D6B297"
+ id="_A06623F7-6F03-49B9-9215-B9F99817C3ED"
+ name="DMN_48A8D068-DBF3-4AE6-94E2-496DFC4B3E46"
+>
+ <import
+ id="_8079D96B-F569-4F4E-830B-7462B6AFE492"
+ name="u"
+ importType="http://www.omg.org/spec/DMN/20180521/MODEL/"
+ namespace="https://kie.org/dmn/_125A5475-65CE-4574-822C-9CB2268F1393"
+ locationURI="./Untitled-4.dmn"
+ />
+ <inputData name="My Input" id="_9392B01E-8C6B-4E29-9CC4-21C16EFB2F6B">
+ <variable name="My Input" id="_9483BABF-708A-4357-AD78-18C7A770E292"
typeRef="<Undefined>" />
+ </inputData>
+ <decision name="My Decision" id="_83A0C6FA-0951-4E1E-9DF1-74A9D2A95E98">
+ <variable id="_01C70F45-2955-474A-9FAC-14967ABAF475"
typeRef="<Undefined>" name="My Decision" />
+ <informationRequirement id="_A7EAFD5D-BDF7-4D09-81A9-9C22711847C0">
+ <requiredInput
+
href="https://kie.org/dmn/_125A5475-65CE-4574-822C-9CB2268F1393#_D9138F6E-E9DA-47AB-8DEF-5CD531B94ABE"
+ />
+ </informationRequirement>
+ <informationRequirement id="_E4FE78BB-996B-46C4-9F9B-018163E9017A">
+ <requiredInput href="#_9392B01E-8C6B-4E29-9CC4-21C16EFB2F6B" />
+ </informationRequirement>
+ <informationRequirement id="_E52D5C34-172E-4E33-B2FE-7B2A7AFDF52C">
+ <requiredInput href="#_4072ADC3-E7CF-4D22-8179-7494EE22157C" />
+ </informationRequirement>
+ </decision>
+ <inputData name="Another Input" id="_4072ADC3-E7CF-4D22-8179-7494EE22157C">
+ <variable name="Another Input" id="_7490876B-8FA9-4FEC-B078-7563EF04F52B"
typeRef="<Undefined>" />
+ </inputData>
+</definitions>
diff --git a/examples/dmn-editor-standalone-examples/static/models/empty.dmn
b/examples/dmn-editor-standalone-examples/static/models/empty.dmn
new file mode 100644
index 00000000000..d405c98d1ec
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/static/models/empty.dmn
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<definitions
+ xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/"
+ expressionLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
+ namespace="https://kie.org/dmn/_BFBA386F-D4D2-4D4F-896D-0B002F2F7835"
+ id="_14647316-6D1C-4ECA-BE95-249212B27BC2"
+ name="DMN_A578DFD0-A00B-4337-B420-1CC63E719221"
+ xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"
+ xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
+ xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
+ xmlns:kie="https://kie.org/dmn/extensions/1.0"
+>
+ <dmndi:DMNDI>
+ <dmndi:DMNDiagram
+ id="_9EC6743C-0E81-4AF0-849C-886B673D8F1C"
+ name="Default DRD"
+ useAlternativeInputDataShape="false"
+ />
+ </dmndi:DMNDI>
+</definitions>
diff --git
a/examples/dmn-editor-standalone-examples/static/models/find-employees.dmn
b/examples/dmn-editor-standalone-examples/static/models/find-employees.dmn
new file mode 100644
index 00000000000..669fee27cbd
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/static/models/find-employees.dmn
@@ -0,0 +1,374 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+<dmn:definitions
+ xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/"
+ xmlns="https://kie.apache.org/dmn/_B0DC5D03-19D0-4469-83F7-635BB38EFE1A"
+ xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/"
+ xmlns:kie="https://kie.apache.org/dmn/extensions/1.0"
+ xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/"
+ xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
+ xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
+ id="_8587712A-CB7A-44D8-8D0E-1F855A953BE2"
+ name="Find Employees"
+ typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/"
+ namespace="https://kie.apache.org/dmn/_B0DC5D03-19D0-4469-83F7-635BB38EFE1A"
+>
+ <dmn:extensionElements />
+ <dmn:itemDefinition id="_376095D6-1F86-4217-9D48-EDD96D0B3018"
name="tEmployee" isCollection="false">
+ <dmn:itemComponent id="_9385CEFB-1670-4241-8C37-9EE16CE3437C" name="Id"
isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ <dmn:allowedValues kie:constraintType="range"
id="_20E37E3B-FB75-4780-BA51-E896F48BCFA2">
+ <dmn:text>[1..9999]</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_4098FD9F-8D5B-4BE9-B0A9-1B8CF3C1EE65"
name="Knowledges" isCollection="false">
+ <dmn:typeRef>tKnowledges</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_72B647E1-57A5-4DF5-BA76-38189BB2F010" name="Dept"
isCollection="false">
+ <dmn:typeRef>tDept</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_0C80E365-A378-46E4-8852-521C820A0230" name="Name"
isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ </dmn:itemComponent>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_D9772276-370E-4DD3-A41B-9403A8D65DE1" name="tDept"
isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues kie:constraintType="enumeration"
id="_B58F7E50-3BB3-49BF-8037-D7BB67F2D5A7">
+ <dmn:text>"Sales", "Engineering", "Management"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_86032558-6446-47EA-94FF-9EED2DE49500"
name="tEmployees" isCollection="true">
+ <dmn:typeRef>tEmployee</dmn:typeRef>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_565D43BF-6A26-445F-B74D-2E0E068C3469"
name="tKnowledge" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues kie:constraintType="enumeration"
id="_1C55BD13-18E9-4C36-8114-C3B780A0442D">
+ <dmn:text>"Git", "Java", "Scrum", "TypeScript"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_8F50694C-1210-42B7-AB93-C839B8DA61CF"
name="tKnowledges" isCollection="true">
+ <dmn:typeRef>tKnowledge</dmn:typeRef>
+ </dmn:itemDefinition>
+ <dmn:businessKnowledgeModel id="_F08537C6-DD4C-46F2-9709-61B43DF7AB0C"
name="Find employee by knowledge">
+ <dmn:extensionElements />
+ <dmn:variable id="_87CC2587-114D-41AE-9D69-35DC313B8A47" name="Find
employee by knowledge" typeRef="tEmployees" />
+ <dmn:encapsulatedLogic id="_243056C9-28EA-4EF2-8510-6F3BC6A5E5DC"
kind="FEEL">
+ <dmn:formalParameter id="_FC4939B4-6414-4F17-8D8C-FE339EA9AC5D"
name="employees" typeRef="tEmployees" />
+ <dmn:formalParameter id="_2B8160CE-1F54-42D7-B111-706FE3BF2012"
name="knowledge" typeRef="tKnowledge" />
+ <dmn:formalParameter id="_810CD0CE-7F46-4827-B19B-BFBD543BB3D9"
name="dept" typeRef="tDept" />
+ <dmn:context id="_1B96445B-523F-49B3-99BE-308A2F3CFBA5">
+ <dmn:contextEntry>
+ <dmn:variable id="_A762CB8E-56C3-45AE-B59F-731E4A0CA73F"
name="Employees by" typeRef="tEmployees" />
+ <dmn:literalExpression id="_BC626016-B599-47A1-ABD6-67A2C7F761CE">
+ <dmn:text>employees[item.Dept = dept]</dmn:text>
+ </dmn:literalExpression>
+ </dmn:contextEntry>
+ <dmn:contextEntry>
+ <dmn:variable
+ id="_C772ADED-2499-4AF1-9C99-63AA17901EBB"
+ name="Employees with Knowledge"
+ typeRef="tEmployees"
+ />
+ <dmn:literalExpression id="_3543AF00-0F90-47C4-BCBF-6E3B28A08BD7">
+ <dmn:text>for e in Employees by return
+if (list contains(e.Knowledges, knowledge))
+then e
+else null</dmn:text>
+ </dmn:literalExpression>
+ </dmn:contextEntry>
+ <dmn:contextEntry>
+ <dmn:literalExpression id="_049ECA86-1971-48B7-86FF-7E89B399074A">
+ <dmn:text>for e in Employees with Knowledge[item != null] return
e</dmn:text>
+ </dmn:literalExpression>
+ </dmn:contextEntry>
+ </dmn:context>
+ </dmn:encapsulatedLogic>
+ </dmn:businessKnowledgeModel>
+ <dmn:decision id="_7E27D2CF-13CA-4EF5-945C-0E7EB26E89CF" name="Employees">
+ <dmn:extensionElements />
+ <dmn:variable id="_C732DAF4-F690-42BF-BB38-5994AF7D4193" name="Employees"
typeRef="tEmployees" />
+ <dmn:relation id="_03E4FDF0-AF4A-4C82-A589-2F9BED02921B">
+ <dmn:column id="_ACD8C687-7D0D-403A-9449-6A965092E5F4" name="Id"
typeRef="number" />
+ <dmn:column id="_73B3ACFF-CC74-4022-85F2-5B739EAB64CD" name="Name"
typeRef="string" />
+ <dmn:column id="_7AFBA31B-65D3-4949-BFEC-F9D9C32DF5A2" name="Dept"
typeRef="tDept" />
+ <dmn:column id="_55A5C22A-2143-44C0-B948-49DA4029B7F2" name="Knowledges"
typeRef="tKnowledges" />
+ <dmn:row id="_39202806-0CD0-4195-BE39-3273222194A1">
+ <dmn:literalExpression id="_266725C0-F1BC-467A-89D4-556778DB7F97">
+ <dmn:text>32</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_7797EE7A-674F-4C23-9492-8978F7DD1F21">
+ <dmn:text>"Jane Doe"</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_CFBB6D19-68E2-4195-AF33-90EBD1617BBE">
+ <dmn:text>"Management"</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_2AC6F43D-DE71-4E4C-8A6B-7AEBBF34F66F">
+ <dmn:text>["Scrum", "Git"]</dmn:text>
+ </dmn:literalExpression>
+ </dmn:row>
+ <dmn:row id="_358F4D9D-7F2D-4C0D-B1E0-2AD0ACB0DC87">
+ <dmn:literalExpression id="_E8D11920-188B-4DE2-95E6-72C55388C210">
+ <dmn:text>555</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_4C2A6CE6-51E7-4E96-9CB3-F7036DD72913">
+ <dmn:text>"John Doe"</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_5A6A6B53-A84F-4358-BF59-B653F9C9394E">
+ <dmn:text>"Engineering"</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_56769F77-9DA7-4FEF-8940-A5416DF8D869">
+ <dmn:text>["TypeScript", "Java", "Git"]</dmn:text>
+ </dmn:literalExpression>
+ </dmn:row>
+ <dmn:row id="_AAA8DCAB-C979-4028-AE29-262975C9DEE2">
+ <dmn:literalExpression id="_DA8347DA-F62C-4019-8320-C037AC9BC962">
+ <dmn:text>4567</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_02142673-C3DB-42C2-BE0C-B4D984015691">
+ <dmn:text>"Richard Roe"</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_0544709B-37E7-4741-9D88-4D8D7E1C1342">
+ <dmn:text>"Sales"</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_37E83F66-710D-427E-87D4-DC1547E67153">
+ <dmn:text>["Scrum"]</dmn:text>
+ </dmn:literalExpression>
+ </dmn:row>
+ <dmn:row id="_DBF7C3FB-251B-4194-AB3A-5E196D433CA4">
+ <dmn:literalExpression id="_241F8262-6B06-4698-8AA8-91E6C3C5F154">
+ <dmn:text>612</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_008B8BAA-D9B8-48AB-A6A6-DFD259960738">
+ <dmn:text>"Foo Bar"</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_1F184F9F-BD11-4A38-A199-10CD59793279">
+ <dmn:text>"Engineering"</dmn:text>
+ </dmn:literalExpression>
+ <dmn:literalExpression id="_FA1293F9-4059-4928-9528-CA8D89956CFE">
+ <dmn:text>["TypeScript", "Git"]</dmn:text>
+ </dmn:literalExpression>
+ </dmn:row>
+ </dmn:relation>
+ </dmn:decision>
+ <dmn:decision id="_387B7263-7122-468B-9757-F1F617ABCA6B" name="Find
employees">
+ <dmn:extensionElements />
+ <dmn:variable id="_4079BE14-39F6-4B16-AAF3-5EC6F9764CFC" name="Find
employees" typeRef="tEmployees" />
+ <dmn:informationRequirement id="_94DFCFD0-CB4E-4CDC-A73E-8278FA1E32FB">
+ <dmn:requiredDecision href="#_7E27D2CF-13CA-4EF5-945C-0E7EB26E89CF" />
+ </dmn:informationRequirement>
+ <dmn:informationRequirement id="_AA9BA47F-AE33-4BF6-BC8A-37C58512F3D9">
+ <dmn:requiredInput href="#_FC002A20-9A6F-4461-A568-01946BE5CD6C" />
+ </dmn:informationRequirement>
+ <dmn:informationRequirement id="_FEECDD67-CA6D-49EC-87A5-CC14A10C01C5">
+ <dmn:requiredInput href="#_F50A02B2-37C8-4824-B416-161A42F7D389" />
+ </dmn:informationRequirement>
+ <dmn:knowledgeRequirement id="_47CC2F0E-A767-442D-AA66-AE602B1E248D">
+ <dmn:requiredKnowledge href="#_F08537C6-DD4C-46F2-9709-61B43DF7AB0C" />
+ </dmn:knowledgeRequirement>
+ <dmn:invocation id="_8001CBC8-8DE4-4DBF-8B02-7FBFC582B136">
+ <dmn:literalExpression id="_173AE705-5374-42AA-B4A4-085FA700B76F">
+ <dmn:text>Find employee by knowledge</dmn:text>
+ </dmn:literalExpression>
+ <dmn:binding>
+ <dmn:parameter id="_D51D238A-A302-435C-BEED-25810C4FD922"
name="employees" typeRef="tEmployees" />
+ <dmn:literalExpression id="_AF546AE9-D0D0-4090-80FC-3E9EB9FECB07">
+ <dmn:text>Employees</dmn:text>
+ </dmn:literalExpression>
+ </dmn:binding>
+ <dmn:binding>
+ <dmn:parameter id="_2F962A92-5918-42F9-8237-30F7795B7CA0"
name="knowledge" typeRef="tKnowledge" />
+ <dmn:literalExpression id="_04265B8B-F45E-47F1-A167-03880698029D">
+ <dmn:text>Knowledge</dmn:text>
+ </dmn:literalExpression>
+ </dmn:binding>
+ <dmn:binding>
+ <dmn:parameter id="_D97531A0-AF31-4E5C-9400-82B93B8B17D9" name="dept"
typeRef="tDept" />
+ <dmn:literalExpression id="_6A2F59F4-BE08-45F3-B3B2-7619C5931CC5">
+ <dmn:text>Dept</dmn:text>
+ </dmn:literalExpression>
+ </dmn:binding>
+ </dmn:invocation>
+ </dmn:decision>
+ <dmn:inputData id="_FC002A20-9A6F-4461-A568-01946BE5CD6C" name="Dept">
+ <dmn:extensionElements />
+ <dmn:variable id="_7B025B6B-40F4-4E77-BEC6-712D72ED3A82" name="Dept"
typeRef="tDept" />
+ </dmn:inputData>
+ <dmn:inputData id="_F50A02B2-37C8-4824-B416-161A42F7D389" name="Knowledge">
+ <dmn:extensionElements />
+ <dmn:variable id="_D2C81B47-C54C-4F8D-A9DD-D61C3301C5D0" name="Knowledge"
typeRef="tKnowledge" />
+ </dmn:inputData>
+ <dmndi:DMNDI>
+ <dmndi:DMNDiagram id="_65D3086E-401A-4AB4-828D-BE869F792382" name="DRG">
+ <di:extension>
+ <kie:ComponentsWidthsExtension>
+ <kie:ComponentWidths
dmnElementRef="_1B96445B-523F-49B3-99BE-308A2F3CFBA5">
+ <kie:width>50</kie:width>
+ <kie:width>204</kie:width>
+ <kie:width>281</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_BC626016-B599-47A1-ABD6-67A2C7F761CE">
+ <kie:width>281</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_3543AF00-0F90-47C4-BCBF-6E3B28A08BD7">
+ <kie:width>281</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_049ECA86-1971-48B7-86FF-7E89B399074A">
+ <kie:width>281</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_243056C9-28EA-4EF2-8510-6F3BC6A5E5DC">
+ <kie:width>50</kie:width>
+ <kie:width>555</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_03E4FDF0-AF4A-4C82-A589-2F9BED02921B">
+ <kie:width>50</kie:width>
+ <kie:width>100</kie:width>
+ <kie:width>156</kie:width>
+ <kie:width>150</kie:width>
+ <kie:width>252</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_266725C0-F1BC-467A-89D4-556778DB7F97" />
+ <kie:ComponentWidths
dmnElementRef="_7797EE7A-674F-4C23-9492-8978F7DD1F21" />
+ <kie:ComponentWidths
dmnElementRef="_CFBB6D19-68E2-4195-AF33-90EBD1617BBE" />
+ <kie:ComponentWidths
dmnElementRef="_2AC6F43D-DE71-4E4C-8A6B-7AEBBF34F66F" />
+ <kie:ComponentWidths
dmnElementRef="_E8D11920-188B-4DE2-95E6-72C55388C210" />
+ <kie:ComponentWidths
dmnElementRef="_4C2A6CE6-51E7-4E96-9CB3-F7036DD72913" />
+ <kie:ComponentWidths
dmnElementRef="_5A6A6B53-A84F-4358-BF59-B653F9C9394E" />
+ <kie:ComponentWidths
dmnElementRef="_56769F77-9DA7-4FEF-8940-A5416DF8D869" />
+ <kie:ComponentWidths
dmnElementRef="_DA8347DA-F62C-4019-8320-C037AC9BC962" />
+ <kie:ComponentWidths
dmnElementRef="_02142673-C3DB-42C2-BE0C-B4D984015691" />
+ <kie:ComponentWidths
dmnElementRef="_0544709B-37E7-4741-9D88-4D8D7E1C1342" />
+ <kie:ComponentWidths
dmnElementRef="_37E83F66-710D-427E-87D4-DC1547E67153" />
+ <kie:ComponentWidths
dmnElementRef="_241F8262-6B06-4698-8AA8-91E6C3C5F154" />
+ <kie:ComponentWidths
dmnElementRef="_008B8BAA-D9B8-48AB-A6A6-DFD259960738" />
+ <kie:ComponentWidths
dmnElementRef="_1F184F9F-BD11-4A38-A199-10CD59793279" />
+ <kie:ComponentWidths
dmnElementRef="_FA1293F9-4059-4928-9528-CA8D89956CFE" />
+ <kie:ComponentWidths
dmnElementRef="_8001CBC8-8DE4-4DBF-8B02-7FBFC582B136">
+ <kie:width>50</kie:width>
+ <kie:width>120</kie:width>
+ <kie:width>100</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_173AE705-5374-42AA-B4A4-085FA700B76F" />
+ <kie:ComponentWidths
dmnElementRef="_AF546AE9-D0D0-4090-80FC-3E9EB9FECB07">
+ <kie:width>100</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_04265B8B-F45E-47F1-A167-03880698029D">
+ <kie:width>100</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_6A2F59F4-BE08-45F3-B3B2-7619C5931CC5">
+ <kie:width>100</kie:width>
+ </kie:ComponentWidths>
+ </kie:ComponentsWidthsExtension>
+ </di:extension>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_F08537C6-DD4C-46F2-9709-61B43DF7AB0C"
+ dmnElementRef="_F08537C6-DD4C-46F2-9709-61B43DF7AB0C"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle>
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="430" y="233" width="100" height="50" />
+ <dmndi:DMNLabel />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_7E27D2CF-13CA-4EF5-945C-0E7EB26E89CF"
+ dmnElementRef="_7E27D2CF-13CA-4EF5-945C-0E7EB26E89CF"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle>
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="617" y="341" width="100" height="50" />
+ <dmndi:DMNLabel />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_387B7263-7122-468B-9757-F1F617ABCA6B"
+ dmnElementRef="_387B7263-7122-468B-9757-F1F617ABCA6B"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle>
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="431" y="341" width="100" height="50" />
+ <dmndi:DMNLabel />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_FC002A20-9A6F-4461-A568-01946BE5CD6C"
+ dmnElementRef="_FC002A20-9A6F-4461-A568-01946BE5CD6C"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle>
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="430" y="473" width="100" height="50" />
+ <dmndi:DMNLabel />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_F50A02B2-37C8-4824-B416-161A42F7D389"
+ dmnElementRef="_F50A02B2-37C8-4824-B416-161A42F7D389"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle>
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="244" y="473" width="100" height="50" />
+ <dmndi:DMNLabel />
+ </dmndi:DMNShape>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_94DFCFD0-CB4E-4CDC-A73E-8278FA1E32FB-AUTO-TARGET"
+ dmnElementRef="_94DFCFD0-CB4E-4CDC-A73E-8278FA1E32FB"
+ >
+ <di:waypoint x="617" y="366" />
+ <di:waypoint x="481" y="391" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_AA9BA47F-AE33-4BF6-BC8A-37C58512F3D9"
+ dmnElementRef="_AA9BA47F-AE33-4BF6-BC8A-37C58512F3D9"
+ >
+ <di:waypoint x="480" y="498" />
+ <di:waypoint x="481" y="391" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_FEECDD67-CA6D-49EC-87A5-CC14A10C01C5"
+ dmnElementRef="_FEECDD67-CA6D-49EC-87A5-CC14A10C01C5"
+ >
+ <di:waypoint x="294" y="498" />
+ <di:waypoint x="481" y="391" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_47CC2F0E-A767-442D-AA66-AE602B1E248D-AUTO-TARGET"
+ dmnElementRef="_47CC2F0E-A767-442D-AA66-AE602B1E248D"
+ >
+ <di:waypoint x="480" y="258" />
+ <di:waypoint x="481" y="391" />
+ </dmndi:DMNEdge>
+ </dmndi:DMNDiagram>
+ </dmndi:DMNDI>
+</dmn:definitions>
diff --git
a/examples/dmn-editor-standalone-examples/static/models/loan-pre-qualification.dmn
b/examples/dmn-editor-standalone-examples/static/models/loan-pre-qualification.dmn
new file mode 100644
index 00000000000..85b41de564b
--- /dev/null
+++
b/examples/dmn-editor-standalone-examples/static/models/loan-pre-qualification.dmn
@@ -0,0 +1,840 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<dmn:definitions
+ xmlns:dmn="https://www.omg.org/spec/DMN/20230324/MODEL/"
+ xmlns="https://kie.apache.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB"
+ xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
+ xmlns:kie="https://kie.org/dmn/extensions/1.0"
+ xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/"
+ xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
+ xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/"
+ id="_C6CBECEB-2BBC-4E14-80B0-17F576B2CF92"
+ name="loan_pre_qualification"
+ expressionLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
+ typeLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/"
+ namespace="https://kie.apache.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB"
+>
+ <dmn:extensionElements />
+ <dmn:itemDefinition id="_D40B0106-62E8-4AC0-A39A-C6C9506194A9"
name="Requested_Product" isCollection="false">
+ <dmn:itemComponent id="_68b4a96c-198a-4575-b29a-a2c8b0539a2c" name="Type"
isCollection="false">
+ <dmn:typeRef>Product_Type</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_ab1647c2-cb63-4808-8d90-36d41591a40c" name="Rate"
isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_152917bb-6095-4057-8613-5b08b77db235" name="Term"
isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_e2f0e8cd-8f5a-43d4-b263-aaa5b9ae4420"
name="Amount" isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ </dmn:itemComponent>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_2B4E9593-3239-4E04-A213-345F0AA0AF9D"
name="Marital_Status" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_5BD13D9D-412F-4E6B-914A-3D8AAAC6A705">
+ <dmn:text>"M","D","S"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_F090CBB7-F5C3-4C54-9905-517DC1469B52"
name="Applicant_Data" isCollection="false">
+ <dmn:itemComponent id="_f52e2b9f-544c-48ac-91e0-168a6e13fc8b" name="Age"
isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_5a20d4c2-0e66-4bb9-b5ea-3b9f2cd8e050"
name="Marital Status" isCollection="false">
+ <dmn:typeRef>Marital_Status</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_701117b8-2f8d-4e94-a5db-d503f0fba3af"
name="Employment Status" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_4A8E36FC-A40C-4CB5-9AE1-73082DA24D13">
+
<dmn:text>"Unemployed","Employed","Self-employed","Student"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_17ad2a24-425f-4df7-92fc-609e10217b8b"
name="Existing Customer" isCollection="false">
+ <dmn:typeRef>boolean</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_bb9ef72e-2e0d-4175-ba58-d613bda7e9b3"
name="Monthly" isCollection="false">
+ <dmn:itemComponent id="_32d5ea39-4bbc-4b16-88cd-f7e6e47a885e"
name="Income" isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_7850468b-173d-4162-9c7a-94453a4b02d7"
name="Repayments" isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_af578182-5c71-4b71-9027-0f0cf83770ab"
name="Expenses" isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_4a4d01be-fe97-49a2-8c4c-3a49ff27968d" name="Tax"
isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_f95dbf70-d256-4d40-a61d-c6332d864e8f"
name="Insurance" isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ </dmn:itemComponent>
+ </dmn:itemComponent>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_1945BD2E-C82C-4E7A-A59E-484B56A3AE46"
name="Post-Bureau_Risk_Category" isCollection="false">
+ <dmn:itemComponent id="_19ecc622-e72c-482d-9de3-6578a1c76f1e" name="Risk
Category" isCollection="false">
+ <dmn:typeRef>Risk_Category</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_2fa724d1-b276-4a3f-a2ef-2e7db3d362f3" name="Credit
Contingency Factor" isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ </dmn:itemComponent>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_4816704B-AB7F-4624-8368-0BBBAFC04FB9"
name="Pre-Bureau_Risk_Category" isCollection="false">
+ <dmn:itemComponent id="_78b44e10-e166-44a4-83a3-5d12c99529e8" name="Risk
Category" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_fa41a482-a86a-4b52-a750-35170cd6bba3" name="Credit
Contingency Factor" isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ </dmn:itemComponent>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_9AEAE50E-67BF-4428-A6CD-B48D299FD73C"
name="Eligibility" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_79C7F45D-228F-437B-AF7E-615FC72A5354">
+ <dmn:text>"Ineligible","Eligible"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_FBF245E7-9A93-4D52-9F02-AF6893011A5F"
name="Strategy" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_0B005355-19D0-447B-B2DE-6D1290C7504C">
+
<dmn:text>"Decline","Bureau","Through"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_5D34E713-E94E-403E-A681-DD6948BE4F79"
name="Bureau_Call_Type" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_947DBBA1-70A0-42DA-BC37-FD2FD93BF61B">
+ <dmn:text>"Full","Mini","None"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_9AF58ED6-A526-4346-8780-0D1E6038CA6F"
name="Product_Type" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_A2554140-8060-4F66-BA16-3A8DFE12C17C">
+ <dmn:text>"Standard Loan","Special Loan"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_4D36A25E-9A37-47AE-B9BF-94338AE67609"
name="Risk_Category" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_041426C2-B9D2-4C18-9AC3-5A508D000839">
+ <dmn:text>"High","Medium","Low","Very
Low","Decline"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_46C870FC-2A99-43A0-9D1B-3D3C5516FB23"
name="Credit_Score_Rating" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_8470AE69-2814-4911-953D-3FC61A681063">
+
<dmn:text>"Poor","Bad","Fair","Good","Excellent"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_7641A6FA-BCF3-45D1-A0B6-71B0634ABB3E"
name="Back_End_Ratio" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_CA1C6F0E-186F-41DD-8D8D-D405789BA3F1">
+ <dmn:text>"Insufficient","Sufficient"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_B5E00A2D-3C95-4A9C-BCA6-BDE852939F6D"
name="Front_End_Ratio" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_B8658CA2-F472-4390-8AB0-1DD49100B20C">
+ <dmn:text>"Sufficient","Insufficient"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_B8ACE210-2C55-4C66-B3D8-4885EE1C52A0"
name="Qualification" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_1F66B8BF-6AB7-4965-8A69-897DDC1A8B34">
+ <dmn:text>"Not Qualified","Qualified"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_2CC2E8D7-1BE2-4E4A-8072-55A1EC94DB6E"
name="Credit_Score" isCollection="false">
+ <dmn:itemComponent id="_d53ce920-87f5-4a4f-baba-85c2a830d60f" name="FICO"
isCollection="false">
+ <dmn:typeRef>number</dmn:typeRef>
+ <dmn:allowedValues id="_E30AADBD-D028-475D-B8D8-B5687D454BED">
+ <dmn:text>[300..850]</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemComponent>
+ </dmn:itemDefinition>
+ <dmn:itemDefinition id="_3C37A6F1-C113-4993-BB57-E89B99C70B02"
name="Loan_Qualification" isCollection="false">
+ <dmn:itemComponent id="_e11c3ac3-7370-4378-967b-91e9cb221fe1"
name="Qualification" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ <dmn:allowedValues id="_B0AD0641-0023-461D-B20E-41CAE02F9BE4">
+ <dmn:text>"Qualified","Not Qualified"</dmn:text>
+ </dmn:allowedValues>
+ </dmn:itemComponent>
+ <dmn:itemComponent id="_b3541f82-5bc9-4fab-ba9b-c423a9a2cd6c"
name="Reason" isCollection="false">
+ <dmn:typeRef>string</dmn:typeRef>
+ </dmn:itemComponent>
+ </dmn:itemDefinition>
+ <dmn:inputData id="_4C89E59C-FDDA-438C-8D1F-0B1194EF6DAE" name="Credit
Score">
+ <dmn:extensionElements />
+ <dmn:variable id="_A97019FC-EE01-451F-A7AA-5A97ED005FB9" name="Credit
Score" typeRef="Credit_Score" />
+ </dmn:inputData>
+ <dmn:businessKnowledgeModel id="_4C788DBD-C672-4F41-9AFE-9C7D2C145734"
name="Lender Acceptable DTI">
+ <dmn:extensionElements />
+ <dmn:variable id="_85508943-7AD2-4AA0-80E5-20923CA2308D" name="Lender
Acceptable DTI" typeRef="number" />
+ <dmn:encapsulatedLogic id="_9F0257EE-CF82-49FD-AEDD-3155890864FF"
kind="FEEL">
+ <dmn:literalExpression id="_21E8FA38-C947-4733-9E52-CF81A97ADF91">
+ <dmn:text>0.36</dmn:text>
+ </dmn:literalExpression>
+ </dmn:encapsulatedLogic>
+ </dmn:businessKnowledgeModel>
+ <dmn:decision id="_F0DC8923-5FC7-4200-8BD1-461D5F3714BE" name="Front End
Ratio">
+ <dmn:extensionElements />
+ <dmn:variable id="_A0B0B032-F63F-491F-A65E-72E68A86B8FD" name="Front End
Ratio" typeRef="Front_End_Ratio" />
+ <dmn:informationRequirement id="_89EEAF9F-5A5D-4F59-91B7-EA418A7229AF">
+ <dmn:requiredInput href="#_1CF5CEFA-AF97-46F9-9CD5-9A8AEBB20B4E" />
+ </dmn:informationRequirement>
+ <dmn:informationRequirement id="_87730C5A-5648-415B-9189-EF4D8805F8C9">
+ <dmn:requiredInput href="#_6E3205AF-7E3D-4ABE-A367-96F3F6E8210E" />
+ </dmn:informationRequirement>
+ <dmn:knowledgeRequirement id="_63DE7C3B-A767-4B8A-A098-91ECB4B8D330">
+ <dmn:requiredKnowledge href="#_FAF9080E-F4EF-49F7-AEFD-0D2990D8FFDA" />
+ </dmn:knowledgeRequirement>
+ <dmn:knowledgeRequirement id="_2C95829D-FCF9-44F5-8F5A-0A6CDB60600D">
+ <dmn:requiredKnowledge href="#_C98BE939-B9C7-43E0-83E8-EE7A16C5276D" />
+ </dmn:knowledgeRequirement>
+ <dmn:context id="_08A9C33D-719F-4B05-AC42-D15464798BC4">
+ <dmn:contextEntry id="_0C8CEE82-12D5-451D-9229-5300D36B5020">
+ <dmn:variable id="_C8F98D0F-218F-4B60-BD99-7FD98078FE56" name="Client
PITI" typeRef="number" />
+ <dmn:invocation id="_EB658586-C3C8-488E-8118-E69E31583106">
+ <dmn:literalExpression id="_6E79E4D9-BBFB-4E90-8AA3-A6C153C3C946">
+ <dmn:text>PITI</dmn:text>
+ </dmn:literalExpression>
+ <dmn:binding>
+ <dmn:parameter id="_4B93E8C8-A092-4EAC-B23A-CC138225ACC3"
name="pmt" />
+ <dmn:literalExpression id="_51ACEC3C-4207-4F5F-8FDD-9EDAA3270E60">
+ <dmn:text
+ >(Requested Product.Amount * ((Requested Product.Rate/100)/12))
/ (1-(1/(1+(Requested Product.Rate/100)/12) * -Requested
Product.Term))</dmn:text>
+ </dmn:literalExpression>
+ </dmn:binding>
+ <dmn:binding>
+ <dmn:parameter id="_B9D0FB44-605A-42DB-81F7-4DF4C4CC1CDD"
name="tax" />
+ <dmn:literalExpression id="_5D050B8D-DF55-45FD-988B-9C56BED53D5B">
+ <dmn:text>Applicant Data.Monthly.Tax</dmn:text>
+ </dmn:literalExpression>
+ </dmn:binding>
+ <dmn:binding>
+ <dmn:parameter id="_67372884-0407-4812-986F-3A2CC4C3A7B1"
name="insurance" />
+ <dmn:literalExpression id="_14C44A69-56DB-4B68-B757-4225C80E4D88">
+ <dmn:text>Applicant Data.Monthly.Insurance</dmn:text>
+ </dmn:literalExpression>
+ </dmn:binding>
+ <dmn:binding>
+ <dmn:parameter id="_EDE0107C-9736-4BB6-9500-173FFAFF00DB"
name="income" />
+ <dmn:literalExpression id="_0DB5DE05-A2AD-4013-B191-DC1D1637A132">
+ <dmn:text>Applicant Data.Monthly.Income</dmn:text>
+ </dmn:literalExpression>
+ </dmn:binding>
+ </dmn:invocation>
+ </dmn:contextEntry>
+ <dmn:contextEntry id="_A4988043-A4FA-4EC0-8942-B0D2D9CBFB29">
+ <dmn:literalExpression id="_3F95EFD0-94D7-4D1A-9EA9-C8E12982D7E8">
+ <dmn:text>if Client PITI <= Lender Acceptable PITI()
+ then "Sufficient"
+ else "Insufficient"</dmn:text>
+ </dmn:literalExpression>
+ </dmn:contextEntry>
+ </dmn:context>
+ </dmn:decision>
+ <dmn:businessKnowledgeModel id="_FAF9080E-F4EF-49F7-AEFD-0D2990D8FFDA"
name="PITI">
+ <dmn:extensionElements />
+ <dmn:variable id="_994F490E-10AC-4704-BFDA-14A3B98A981E" name="PITI"
typeRef="number" />
+ <dmn:encapsulatedLogic id="_D33D9AEA-49DF-489F-98EC-4B42FF8C2027"
kind="FEEL">
+ <dmn:formalParameter id="_664280C1-D5E0-47BE-82EF-0A6579975A62"
name="pmt" typeRef="number" />
+ <dmn:formalParameter id="_3E7DF0B3-C48B-481D-B092-FC82EC2F6E37"
name="tax" typeRef="number" />
+ <dmn:formalParameter id="_DF691F86-AD12-46BA-B149-AC875836A116"
name="insurance" typeRef="number" />
+ <dmn:formalParameter id="_9E2E257F-90EB-4FC4-8DD9-089784E7579E"
name="income" typeRef="number" />
+ <dmn:literalExpression id="_A32ED4A5-7B89-40F7-BE25-CDB636FE071C">
+ <dmn:text>(pmt+tax+insurance) / income</dmn:text>
+ </dmn:literalExpression>
+ </dmn:encapsulatedLogic>
+ </dmn:businessKnowledgeModel>
+ <dmn:inputData id="_1CF5CEFA-AF97-46F9-9CD5-9A8AEBB20B4E" name="Applicant
Data">
+ <dmn:extensionElements />
+ <dmn:variable id="_2BBF28D2-DF09-4201-8D7A-5820E260592B" name="Applicant
Data" typeRef="Applicant_Data" />
+ </dmn:inputData>
+ <dmn:decision id="_D6F4234F-15B3-4F5B-B814-5F6FF29D2907" name="Back End
Ratio">
+ <dmn:extensionElements />
+ <dmn:variable id="_5AF571F7-AD41-43DC-ABFD-26672585042F" name="Back End
Ratio" typeRef="Back_End_Ratio" />
+ <dmn:informationRequirement id="_77BA409B-E00D-4FBC-B522-8F656D4F6F0E">
+ <dmn:requiredInput href="#_1CF5CEFA-AF97-46F9-9CD5-9A8AEBB20B4E" />
+ </dmn:informationRequirement>
+ <dmn:knowledgeRequirement id="_4D441C11-7042-49CF-A42C-17A4348A7F29">
+ <dmn:requiredKnowledge href="#_4C788DBD-C672-4F41-9AFE-9C7D2C145734" />
+ </dmn:knowledgeRequirement>
+ <dmn:knowledgeRequirement id="_3217D655-4484-4733-A9AE-4F9CF30D9924">
+ <dmn:requiredKnowledge href="#_DA5CCF62-90A8-4CFC-A137-98B528522588" />
+ </dmn:knowledgeRequirement>
+ <dmn:context id="_5F9FEA4E-B3FC-4BC2-913E-36B8071FA777">
+ <dmn:contextEntry id="_B0C0C097-CCCF-4950-9AF4-00B4955A0FD1">
+ <dmn:variable id="_F3ED9059-400F-4BE8-B250-C2ABCD9FF022" name="Client
DTI" typeRef="number" />
+ <dmn:invocation id="_4A7FC8E0-25EF-4DAF-845A-93BD89C2BC8C">
+ <dmn:literalExpression id="_F0E80900-1964-4142-9A05-73E7A2E0F2CD">
+ <dmn:text>DTI</dmn:text>
+ </dmn:literalExpression>
+ <dmn:binding>
+ <dmn:parameter id="_6408A089-A087-4855-BBB8-0C22BE6ECFDF" name="d"
/>
+ <dmn:literalExpression id="_3D0A1979-E59A-483F-BDA8-138F99BA5AB3">
+ <dmn:text>Applicant Data.Monthly.Repayments + Applicant
Data.Monthly.Expenses</dmn:text>
+ </dmn:literalExpression>
+ </dmn:binding>
+ <dmn:binding>
+ <dmn:parameter id="_45370376-8934-4FBD-BA9F-5338916EBF07" name="i"
/>
+ <dmn:literalExpression id="_D985F886-71C0-4F65-8808-2CEF366BECC8">
+ <dmn:text>Applicant Data.Monthly.Income</dmn:text>
+ </dmn:literalExpression>
+ </dmn:binding>
+ </dmn:invocation>
+ </dmn:contextEntry>
+ <dmn:contextEntry id="_742BDFC6-A753-4E9A-ADEB-183D98DE91A8">
+ <dmn:literalExpression id="_D1F96102-4158-45BB-8C9A-B7A3BE2C0206">
+ <dmn:text>if Client DTI <= Lender Acceptable DTI()
+ then "Sufficient"
+ else "Insufficient"</dmn:text>
+ </dmn:literalExpression>
+ </dmn:contextEntry>
+ </dmn:context>
+ </dmn:decision>
+ <dmn:decision id="_2FE51DB1-3083-4BF7-AA71-0B0065310E72" name="Credit Score
Rating">
+ <dmn:extensionElements />
+ <dmn:variable id="_82228E41-22D1-4758-97C3-BBFE90EDB5FB" name="Credit
Score Rating" typeRef="Credit_Score_Rating" />
+ <dmn:informationRequirement id="_31A1B6B2-A2A6-4E03-B898-26573A5CF3BA">
+ <dmn:requiredInput href="#_4C89E59C-FDDA-438C-8D1F-0B1194EF6DAE" />
+ </dmn:informationRequirement>
+ <dmn:decisionTable id="_4ACEFFF0-AD2C-4DB8-9BAD-7BCCFB03F295"
hitPolicy="UNIQUE" preferredOrientation="Rule-as-Row">
+ <dmn:input id="_44C93627-629C-48B8-B71A-AE2266A42674">
+ <dmn:inputExpression id="_00932A00-5ECE-4AEF-AA68-92E679CEF4AB"
typeRef="number">
+ <dmn:text>Credit Score.FICO</dmn:text>
+ </dmn:inputExpression>
+ </dmn:input>
+ <dmn:output id="_9C201FAB-B49C-4D22-900B-B4E82D5469FB" />
+ <dmn:annotation name="Annotations" />
+ <dmn:rule id="_AED703E1-8E56-4D27-A511-3875AD1D122E">
+ <dmn:inputEntry id="_E2C9F30B-D529-48D8-A51C-A2ACCC8109B3">
+ <dmn:text>>= 750</dmn:text>
+ </dmn:inputEntry>
+ <dmn:outputEntry id="_A1FF2B2D-EF34-42AD-A45A-5FFDFA21FA6D">
+ <dmn:text>"Excellent"</dmn:text>
+ </dmn:outputEntry>
+ <dmn:annotationEntry>
+ <dmn:text />
+ </dmn:annotationEntry>
+ </dmn:rule>
+ <dmn:rule id="_1FA12B9F-288C-42E8-B77F-BE2D3702B7B6">
+ <dmn:inputEntry id="_CA5AE067-0E1A-44CA-B85C-912F9ED4594C">
+ <dmn:text>[700..750)</dmn:text>
+ </dmn:inputEntry>
+ <dmn:outputEntry id="_833307A2-B924-422C-A4F5-BFFAB27D86D5">
+ <dmn:text>"Good"</dmn:text>
+ </dmn:outputEntry>
+ <dmn:annotationEntry>
+ <dmn:text />
+ </dmn:annotationEntry>
+ </dmn:rule>
+ <dmn:rule id="_11976EBA-60BC-421B-A270-089A45E9B167">
+ <dmn:inputEntry id="_75D612D5-D201-4932-8524-E49183F51D2D">
+ <dmn:text>[650..700)</dmn:text>
+ </dmn:inputEntry>
+ <dmn:outputEntry id="_E18FE2B2-729C-41F0-B5CC-0E5E5EA431E3">
+ <dmn:text>"Fair"</dmn:text>
+ </dmn:outputEntry>
+ <dmn:annotationEntry>
+ <dmn:text />
+ </dmn:annotationEntry>
+ </dmn:rule>
+ <dmn:rule id="_12F8077F-E601-4882-93E1-31508B1402E1">
+ <dmn:inputEntry id="_61374E7D-4EF3-4603-97A1-9D1FABAAA3C8">
+ <dmn:text>[600..650)</dmn:text>
+ </dmn:inputEntry>
+ <dmn:outputEntry id="_75135F4C-6BA7-4180-B726-A0D795B3D7FF">
+ <dmn:text>"Poor"</dmn:text>
+ </dmn:outputEntry>
+ <dmn:annotationEntry>
+ <dmn:text />
+ </dmn:annotationEntry>
+ </dmn:rule>
+ <dmn:rule id="_D025254C-9376-4425-8084-451E09243CE2">
+ <dmn:inputEntry id="_6C13B507-FB60-40AD-8F5C-2407F1413A5C">
+ <dmn:text>< 600</dmn:text>
+ </dmn:inputEntry>
+ <dmn:outputEntry id="_1FB7308A-E37B-46EA-8070-C67E2388A869">
+ <dmn:text>"Bad"</dmn:text>
+ </dmn:outputEntry>
+ <dmn:annotationEntry>
+ <dmn:text />
+ </dmn:annotationEntry>
+ </dmn:rule>
+ </dmn:decisionTable>
+ </dmn:decision>
+ <dmn:decision id="_21C50763-E49F-4D83-A824-16DA6AA87C64" name="Loan
Pre-Qualification">
+ <dmn:extensionElements />
+ <dmn:variable
+ id="_047A25F5-DEF2-44BD-95B7-FB49A433F878"
+ name="Loan Pre-Qualification"
+ typeRef="Loan_Qualification"
+ />
+ <dmn:informationRequirement id="_A3E95B32-2EFD-40AD-B5E4-0A73A1542011">
+ <dmn:requiredDecision href="#_D6F4234F-15B3-4F5B-B814-5F6FF29D2907" />
+ </dmn:informationRequirement>
+ <dmn:informationRequirement id="_0B992F01-BA77-4F06-A830-D8948B467272">
+ <dmn:requiredDecision href="#_F0DC8923-5FC7-4200-8BD1-461D5F3714BE" />
+ </dmn:informationRequirement>
+ <dmn:informationRequirement id="_B6002F33-4888-48C5-B265-636030F8C2DC">
+ <dmn:requiredDecision href="#_2FE51DB1-3083-4BF7-AA71-0B0065310E72" />
+ </dmn:informationRequirement>
+ <dmn:decisionTable id="_EF7F404A-939E-4889-95D8-E4053DD1EED9"
hitPolicy="FIRST" preferredOrientation="Rule-as-Row">
+ <dmn:input id="_58ABD81B-FD16-45C3-9E64-DB271AA917C0">
+ <dmn:inputExpression id="_5262441E-F812-4554-AF02-5267BDDF80F5"
typeRef="Credit_Score_Rating">
+ <dmn:text>Credit Score Rating</dmn:text>
+ </dmn:inputExpression>
+ </dmn:input>
+ <dmn:input id="_36258DA0-E527-429C-8FA1-7DEA63647689">
+ <dmn:inputExpression id="_4E9F0E06-85F1-4D10-B30D-FB55741B90BC"
typeRef="Back_End_Ratio">
+ <dmn:text>Back End Ratio</dmn:text>
+ </dmn:inputExpression>
+ </dmn:input>
+ <dmn:input id="_A102CD8A-C38D-48E4-BC59-CA660D6FBF0A">
+ <dmn:inputExpression id="_5D79EEF5-71B2-4360-B59A-215AA5593DCB"
typeRef="Front_End_Ratio">
+ <dmn:text>Front End Ratio</dmn:text>
+ </dmn:inputExpression>
+ </dmn:input>
+ <dmn:output id="_B895B095-C3D6-48B4-8A50-D2D3B8CC6A45"
name="Qualification" typeRef="string" />
+ <dmn:output id="_A8D2D3B1-07B3-4619-8DE0-F923F511058B" name="Reason"
typeRef="string" />
+ <dmn:annotation name="Annotations" />
+ <dmn:rule id="_B49E1642-F352-4D2E-92B6-E5DFA59AAFAC">
+ <dmn:inputEntry id="_6C83C446-1A9A-4FFC-B30C-23915FF9CC43">
+ <dmn:text>"Poor", "Bad"</dmn:text>
+ </dmn:inputEntry>
+ <dmn:inputEntry id="_0BC93CB9-FD20-45C8-A498-39E4464B6224">
+ <dmn:text>-</dmn:text>
+ </dmn:inputEntry>
+ <dmn:inputEntry id="_1554A983-B2C1-40A7-9614-50720420F4B2">
+ <dmn:text>-</dmn:text>
+ </dmn:inputEntry>
+ <dmn:outputEntry id="_7B39B964-4E25-4717-92FE-A36F2B39FAB9">
+ <dmn:text>"Not Qualified"</dmn:text>
+ </dmn:outputEntry>
+ <dmn:outputEntry id="_A852F5B6-C5DF-4ADD-8B93-9701F0724912">
+ <dmn:text>"Credit Score too low."</dmn:text>
+ </dmn:outputEntry>
+ <dmn:annotationEntry>
+ <dmn:text />
+ </dmn:annotationEntry>
+ </dmn:rule>
+ <dmn:rule id="_214865F4-C968-438C-A385-6B2823AF1BC3">
+ <dmn:inputEntry id="_18617A2A-6DD3-41A9-87D6-68C91554620E">
+ <dmn:text>-</dmn:text>
+ </dmn:inputEntry>
+ <dmn:inputEntry id="_5C70BB81-CAFD-4695-A241-68F441FF9A29">
+ <dmn:text>"Insufficient"</dmn:text>
+ </dmn:inputEntry>
+ <dmn:inputEntry id="_78A3C3A0-EEBC-448B-B1C1-5CFF6C7F2AC5">
+ <dmn:text>"Sufficient"</dmn:text>
+ </dmn:inputEntry>
+ <dmn:outputEntry id="_3C38D181-CCA1-4678-A3DD-0A5CE6D59FDC">
+ <dmn:text>"Not Qualified"</dmn:text>
+ </dmn:outputEntry>
+ <dmn:outputEntry id="_F4284B9F-C77A-429B-A689-E212CFB19CB7">
+ <dmn:text>"Debt to income ratio is too high."</dmn:text>
+ </dmn:outputEntry>
+ <dmn:annotationEntry>
+ <dmn:text />
+ </dmn:annotationEntry>
+ </dmn:rule>
+ <dmn:rule id="_73E96773-064E-49F6-92B2-AA76E6BF6B8A">
+ <dmn:inputEntry id="_24A825F0-B8C7-42C9-BBA2-4442CAE6F91A">
+ <dmn:text>-</dmn:text>
+ </dmn:inputEntry>
+ <dmn:inputEntry id="_B7F59A5C-4AF1-4E90-BB0D-83C63A8390E6">
+ <dmn:text>"Sufficient"</dmn:text>
+ </dmn:inputEntry>
+ <dmn:inputEntry id="_09A23FD4-9A98-4C34-9E9B-9E8EE652ABBC">
+ <dmn:text>"Insufficient"</dmn:text>
+ </dmn:inputEntry>
+ <dmn:outputEntry id="_9BF1096A-1AF3-4D21-9273-460DE555F0B6">
+ <dmn:text>"Not Qualified"</dmn:text>
+ </dmn:outputEntry>
+ <dmn:outputEntry id="_4D805BB2-B79E-42C2-A562-674ECBDFA01C">
+ <dmn:text>"Mortgage payment to income ratio is too
high."</dmn:text>
+ </dmn:outputEntry>
+ <dmn:annotationEntry>
+ <dmn:text />
+ </dmn:annotationEntry>
+ </dmn:rule>
+ <dmn:rule id="_7C242C58-6CAB-43CF-9235-347A72AE3F9E">
+ <dmn:inputEntry id="_9DF2A026-8B87-4C75-BB3D-54FF0E2A2E36">
+ <dmn:text>-</dmn:text>
+ </dmn:inputEntry>
+ <dmn:inputEntry id="_FF3E9782-BE9C-4B0C-A63B-E906F6116251">
+ <dmn:text>"Insufficient"</dmn:text>
+ </dmn:inputEntry>
+ <dmn:inputEntry id="_544687CD-F3A2-46C7-8439-E5E2E7B6483D">
+ <dmn:text>"Insufficient"</dmn:text>
+ </dmn:inputEntry>
+ <dmn:outputEntry id="_5A958D2E-B310-4AB9-BF5B-49623BE5DB55">
+ <dmn:text>"Not Qualified"</dmn:text>
+ </dmn:outputEntry>
+ <dmn:outputEntry id="_F0BD7DC2-A1B6-4CF4-95D0-906DBB540EFC">
+ <dmn:text
+ >"Debt to income ratio is too high AND mortgage payment to
income ratio is too high."</dmn:text>
+ </dmn:outputEntry>
+ <dmn:annotationEntry>
+ <dmn:text />
+ </dmn:annotationEntry>
+ </dmn:rule>
+ <dmn:rule id="_C8FA33B1-AF6E-4A59-B7B9-6FDF1F495C44">
+ <dmn:inputEntry id="_82FBCEE2-C16C-4FFF-A7F3-5512C211E29B">
+ <dmn:text>"Fair", "Good",
"Excellent"</dmn:text>
+ </dmn:inputEntry>
+ <dmn:inputEntry id="_BF7CDAE1-66E3-4B06-8729-896453AD7867">
+ <dmn:text>"Sufficient"</dmn:text>
+ </dmn:inputEntry>
+ <dmn:inputEntry id="_41CB6123-8122-4FA4-A5C1-548B92CA31AE">
+ <dmn:text>"Sufficient"</dmn:text>
+ </dmn:inputEntry>
+ <dmn:outputEntry id="_9E0497D0-F2F2-419E-A558-366452B379A1">
+ <dmn:text>"Qualified"</dmn:text>
+ </dmn:outputEntry>
+ <dmn:outputEntry id="_113CA566-6044-4858-B8D9-5ACBA4A91CF4">
+ <dmn:text>"The borrower has been successfully prequalified for
the requested loan."</dmn:text>
+ </dmn:outputEntry>
+ <dmn:annotationEntry>
+ <dmn:text />
+ </dmn:annotationEntry>
+ </dmn:rule>
+ </dmn:decisionTable>
+ </dmn:decision>
+ <dmn:inputData id="_6E3205AF-7E3D-4ABE-A367-96F3F6E8210E" name="Requested
Product">
+ <dmn:extensionElements />
+ <dmn:variable id="_EE05E1C7-67ED-4A71-BDEE-8005259351E8" name="Requested
Product" typeRef="Requested_Product" />
+ </dmn:inputData>
+ <dmn:businessKnowledgeModel id="_DA5CCF62-90A8-4CFC-A137-98B528522588"
name="DTI">
+ <dmn:extensionElements />
+ <dmn:variable id="_2F8921D1-6384-4ECB-848E-CE84A20B2573" name="DTI"
typeRef="number" />
+ <dmn:encapsulatedLogic id="_478C815E-60C9-4637-AA42-195DF16B63A5"
kind="FEEL">
+ <dmn:formalParameter id="_B7A9C222-C560-4D37-A821-0CAC88611F10" name="d"
typeRef="number" />
+ <dmn:formalParameter id="_43C04721-38F6-4ABF-9F2F-BD2956C05441" name="i"
typeRef="number" />
+ <dmn:literalExpression id="_064FA88E-B06F-4944-85C3-DA86C3F660DD">
+ <dmn:text>d/i</dmn:text>
+ </dmn:literalExpression>
+ </dmn:encapsulatedLogic>
+ </dmn:businessKnowledgeModel>
+ <dmn:businessKnowledgeModel id="_C98BE939-B9C7-43E0-83E8-EE7A16C5276D"
name="Lender Acceptable PITI">
+ <dmn:extensionElements />
+ <dmn:variable id="_9D78214B-EC07-4360-8D1B-3D927AC90A20" name="Lender
Acceptable PITI" typeRef="number" />
+ <dmn:encapsulatedLogic id="_E312D80E-0ECE-4D66-87EB-30DE20890BBC"
kind="FEEL">
+ <dmn:literalExpression id="_EEDF2C15-7FD7-409F-B23B-F9A198E2135D">
+ <dmn:text>0.28</dmn:text>
+ </dmn:literalExpression>
+ </dmn:encapsulatedLogic>
+ </dmn:businessKnowledgeModel>
+ <dmndi:DMNDI>
+ <dmndi:DMNDiagram id="_1608585F-01C8-4A66-B3E5-F4422D4DD2CA" name="DRG"
useAlternativeInputDataShape="false">
+ <di:extension>
+ <kie:ComponentsWidthsExtension>
+ <kie:ComponentWidths
dmnElementRef="_21E8FA38-C947-4733-9E52-CF81A97ADF91">
+ <kie:width>209</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_9F0257EE-CF82-49FD-AEDD-3155890864FF">
+ <kie:width>50</kie:width>
+ <kie:width>209</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_08A9C33D-719F-4B05-AC42-D15464798BC4">
+ <kie:width>50</kie:width>
+ <kie:width>100</kie:width>
+ <kie:width>1280</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_EB658586-C3C8-488E-8118-E69E31583106">
+ <kie:width>50</kie:width>
+ <kie:width>100</kie:width>
+ <kie:width>1110</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_6E79E4D9-BBFB-4E90-8AA3-A6C153C3C946" />
+ <kie:ComponentWidths
dmnElementRef="_51ACEC3C-4207-4F5F-8FDD-9EDAA3270E60">
+ <kie:width>1110</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_5D050B8D-DF55-45FD-988B-9C56BED53D5B">
+ <kie:width>1110</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_14C44A69-56DB-4B68-B757-4225C80E4D88">
+ <kie:width>1110</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_0DB5DE05-A2AD-4013-B191-DC1D1637A132">
+ <kie:width>1110</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_3F95EFD0-94D7-4D1A-9EA9-C8E12982D7E8">
+ <kie:width>1280</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_A32ED4A5-7B89-40F7-BE25-CDB636FE071C">
+ <kie:width>300</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_D33D9AEA-49DF-489F-98EC-4B42FF8C2027">
+ <kie:width>50</kie:width>
+ <kie:width>300</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_5F9FEA4E-B3FC-4BC2-913E-36B8071FA777">
+ <kie:width>50</kie:width>
+ <kie:width>100</kie:width>
+ <kie:width>802</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_4A7FC8E0-25EF-4DAF-845A-93BD89C2BC8C">
+ <kie:width>50</kie:width>
+ <kie:width>100</kie:width>
+ <kie:width>632</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_F0E80900-1964-4142-9A05-73E7A2E0F2CD" />
+ <kie:ComponentWidths
dmnElementRef="_3D0A1979-E59A-483F-BDA8-138F99BA5AB3">
+ <kie:width>632</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_D985F886-71C0-4F65-8808-2CEF366BECC8">
+ <kie:width>632</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_D1F96102-4158-45BB-8C9A-B7A3BE2C0206">
+ <kie:width>802</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_4ACEFFF0-AD2C-4DB8-9BAD-7BCCFB03F295">
+ <kie:width>50</kie:width>
+ <kie:width>224</kie:width>
+ <kie:width>226</kie:width>
+ <kie:width>335</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_EF7F404A-939E-4889-95D8-E4053DD1EED9">
+ <kie:width>50</kie:width>
+ <kie:width>233</kie:width>
+ <kie:width>130</kie:width>
+ <kie:width>136</kie:width>
+ <kie:width>135</kie:width>
+ <kie:width>681</kie:width>
+ <kie:width>100</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_064FA88E-B06F-4944-85C3-DA86C3F660DD">
+ <kie:width>150</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_478C815E-60C9-4637-AA42-195DF16B63A5">
+ <kie:width>50</kie:width>
+ <kie:width>150</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_EEDF2C15-7FD7-409F-B23B-F9A198E2135D">
+ <kie:width>228</kie:width>
+ </kie:ComponentWidths>
+ <kie:ComponentWidths
dmnElementRef="_E312D80E-0ECE-4D66-87EB-30DE20890BBC">
+ <kie:width>50</kie:width>
+ <kie:width>228</kie:width>
+ </kie:ComponentWidths>
+ </kie:ComponentsWidthsExtension>
+ </di:extension>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_4C89E59C-FDDA-438C-8D1F-0B1194EF6DAE"
+ dmnElementRef="_4C89E59C-FDDA-438C-8D1F-0B1194EF6DAE"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle id="_7BF23A17-5597-4891-9B9E-1BF527187E38">
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="963" y="359" width="134" height="61" />
+ <dmndi:DMNLabel id="_417625CD-3E7A-4123-B9C8-5954C832F2EE" />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_4C788DBD-C672-4F41-9AFE-9C7D2C145734"
+ dmnElementRef="_4C788DBD-C672-4F41-9AFE-9C7D2C145734"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle id="_383501F2-7256-4258-B674-09F1140505C5">
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="99.09345794392524" y="223.67105263157896" width="136"
height="63" />
+ <dmndi:DMNLabel id="_765B84A2-AEFE-402F-A592-DCF6F7AA8849" />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_F0DC8923-5FC7-4200-8BD1-461D5F3714BE"
+ dmnElementRef="_F0DC8923-5FC7-4200-8BD1-461D5F3714BE"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle id="_861A6F13-CEA4-4F57-8DA1-25FEB7A7B954">
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="531" y="225" width="136" height="62" />
+ <dmndi:DMNLabel id="_659FE712-B1F3-4B5D-8BE4-4912BB07702B" />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_FAF9080E-F4EF-49F7-AEFD-0D2990D8FFDA"
+ dmnElementRef="_FAF9080E-F4EF-49F7-AEFD-0D2990D8FFDA"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle id="_83EACC03-C711-437F-8A75-FEFEDB46517A">
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="747" y="359.3421052631579" width="135" height="63" />
+ <dmndi:DMNLabel id="_6DEE1575-4A37-456F-B7A2-EA693AF510E2" />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_1CF5CEFA-AF97-46F9-9CD5-9A8AEBB20B4E"
+ dmnElementRef="_1CF5CEFA-AF97-46F9-9CD5-9A8AEBB20B4E"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle id="_7FD5178A-ECAB-49F3-BCBD-82B8D74024FC">
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="316.0607476635514" y="361" width="134" height="61" />
+ <dmndi:DMNLabel id="_A2FDB624-D4F0-4A6B-8ECF-B57765AB71FE" />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_D6F4234F-15B3-4F5B-B814-5F6FF29D2907"
+ dmnElementRef="_D6F4234F-15B3-4F5B-B814-5F6FF29D2907"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle id="_679A92AF-5B12-4890-8BA4-11D8A149A8A4">
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="317" y="224" width="136" height="62" />
+ <dmndi:DMNLabel id="_344F25EF-16A0-453E-B2B3-F3569AD4B424" />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_2FE51DB1-3083-4BF7-AA71-0B0065310E72"
+ dmnElementRef="_2FE51DB1-3083-4BF7-AA71-0B0065310E72"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle id="_EB5EB687-B356-4C41-862A-4DC1DE6E29E8">
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="963" y="225" width="136" height="62" />
+ <dmndi:DMNLabel id="_7C8C7776-FE76-4A18-A5F3-9CCBE7AEF360" />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_21C50763-E49F-4D83-A824-16DA6AA87C64"
+ dmnElementRef="_21C50763-E49F-4D83-A824-16DA6AA87C64"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle id="_BF8BA3BE-ECD5-4B2F-9965-85E06BDEAD2E">
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="532" y="89" width="136" height="62" />
+ <dmndi:DMNLabel id="_432F9A67-2D10-4E4B-8D43-2812B4CC5880" />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_6E3205AF-7E3D-4ABE-A367-96F3F6E8210E"
+ dmnElementRef="_6E3205AF-7E3D-4ABE-A367-96F3F6E8210E"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle id="_0761C2E1-AED8-48C5-BC63-2CFB347A28AC">
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="531.1214953271028" y="360" width="134" height="61" />
+ <dmndi:DMNLabel id="_2CC8034C-E853-4BD0-8CDC-B3EBD56F73D5" />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_DA5CCF62-90A8-4CFC-A137-98B528522588"
+ dmnElementRef="_DA5CCF62-90A8-4CFC-A137-98B528522588"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle id="_CB9F203F-202E-4CFD-B8B0-638C842FD59A">
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="99.09345794392524" y="359" width="136" height="63" />
+ <dmndi:DMNLabel id="_029C1A53-4498-4513-9378-66C66F2DBC77" />
+ </dmndi:DMNShape>
+ <dmndi:DMNShape
+ id="dmnshape-drg-_C98BE939-B9C7-43E0-83E8-EE7A16C5276D"
+ dmnElementRef="_C98BE939-B9C7-43E0-83E8-EE7A16C5276D"
+ isCollapsed="false"
+ >
+ <dmndi:DMNStyle id="_E5C26E53-71F5-4F74-863C-99D836F514CD">
+ <dmndi:FillColor red="255" green="255" blue="255" />
+ <dmndi:StrokeColor red="0" green="0" blue="0" />
+ <dmndi:FontColor red="0" green="0" blue="0" />
+ </dmndi:DMNStyle>
+ <dc:Bounds x="747" y="224.64473684210526" width="134" height="65" />
+ <dmndi:DMNLabel id="_844AF704-0130-452B-9E18-EAAB5B717B4C" />
+ </dmndi:DMNShape>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_89EEAF9F-5A5D-4F59-91B7-EA418A7229AF"
+ dmnElementRef="_89EEAF9F-5A5D-4F59-91B7-EA418A7229AF"
+ >
+ <di:waypoint x="383.0607476635514" y="361" />
+ <di:waypoint x="599" y="287" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_87730C5A-5648-415B-9189-EF4D8805F8C9"
+ dmnElementRef="_87730C5A-5648-415B-9189-EF4D8805F8C9"
+ >
+ <di:waypoint x="598.1214953271028" y="390.5" />
+ <di:waypoint x="599" y="287" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_63DE7C3B-A767-4B8A-A098-91ECB4B8D330"
+ dmnElementRef="_63DE7C3B-A767-4B8A-A098-91ECB4B8D330"
+ >
+ <di:waypoint x="814.5" y="359.3421052631579" />
+ <di:waypoint x="599" y="287" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_2C95829D-FCF9-44F5-8F5A-0A6CDB60600D"
+ dmnElementRef="_2C95829D-FCF9-44F5-8F5A-0A6CDB60600D"
+ >
+ <di:waypoint x="814" y="257.14473684210526" />
+ <di:waypoint x="667" y="256" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_77BA409B-E00D-4FBC-B522-8F656D4F6F0E"
+ dmnElementRef="_77BA409B-E00D-4FBC-B522-8F656D4F6F0E"
+ >
+ <di:waypoint x="383.0607476635514" y="391.5" />
+ <di:waypoint x="385" y="286" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_4D441C11-7042-49CF-A42C-17A4348A7F29"
+ dmnElementRef="_4D441C11-7042-49CF-A42C-17A4348A7F29"
+ >
+ <di:waypoint x="167.09345794392524" y="255.17105263157896" />
+ <di:waypoint x="317" y="255" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_3217D655-4484-4733-A9AE-4F9CF30D9924"
+ dmnElementRef="_3217D655-4484-4733-A9AE-4F9CF30D9924"
+ >
+ <di:waypoint x="167.09345794392524" y="359" />
+ <di:waypoint x="385" y="286" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_31A1B6B2-A2A6-4E03-B898-26573A5CF3BA"
+ dmnElementRef="_31A1B6B2-A2A6-4E03-B898-26573A5CF3BA"
+ >
+ <di:waypoint x="1030" y="389.5" />
+ <di:waypoint x="1031" y="287" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_A3E95B32-2EFD-40AD-B5E4-0A73A1542011"
+ dmnElementRef="_A3E95B32-2EFD-40AD-B5E4-0A73A1542011"
+ >
+ <di:waypoint x="385" y="255" />
+ <di:waypoint x="600" y="151" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_0B992F01-BA77-4F06-A830-D8948B467272"
+ dmnElementRef="_0B992F01-BA77-4F06-A830-D8948B467272"
+ >
+ <di:waypoint x="599" y="256" />
+ <di:waypoint x="600" y="151" />
+ </dmndi:DMNEdge>
+ <dmndi:DMNEdge
+ id="dmnedge-drg-_B6002F33-4888-48C5-B265-636030F8C2DC"
+ dmnElementRef="_B6002F33-4888-48C5-B265-636030F8C2DC"
+ >
+ <di:waypoint x="1031" y="256" />
+ <di:waypoint x="600" y="151" />
+ </dmndi:DMNEdge>
+ </dmndi:DMNDiagram>
+ </dmndi:DMNDI>
+</dmn:definitions>
diff --git a/examples/dmn-editor-standalone-examples/tsconfig.json
b/examples/dmn-editor-standalone-examples/tsconfig.json
new file mode 100644
index 00000000000..6eaa9245ccf
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/tsconfig.json
@@ -0,0 +1,10 @@
+{
+ "extends": "@kie-tools/tsconfig/tsconfig.esm.json",
+ "compilerOptions": {
+ "esModuleInterop": true,
+ "jsx": "react-jsx",
+ // Skip declarations, they are bundled manually in another step
+ "declarationMap": false,
+ "declaration": false
+ }
+}
diff --git a/examples/dmn-editor-standalone-examples/webpack.config.js
b/examples/dmn-editor-standalone-examples/webpack.config.js
new file mode 100644
index 00000000000..f6dead2bfa1
--- /dev/null
+++ b/examples/dmn-editor-standalone-examples/webpack.config.js
@@ -0,0 +1,76 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+const { merge } = require("webpack-merge");
+const CopyWebpackPlugin = require("copy-webpack-plugin");
+const common = require("@kie-tools-core/webpack-base/webpack.common.config");
+const path = require("path");
+const HtmlWebpackPlugin = require("html-webpack-plugin");
+const { ProvidePlugin } = require("webpack");
+const { env } = require("./env");
+const buildEnv = env;
+
+module.exports = (env) =>
+ merge(common(env), {
+ output: {
+ path: path.join(__dirname, "dist"),
+ filename: "[name].js",
+ },
+ entry: {
+ state_control: "./src/stateControl/index.ts",
+ read_only: "./src/readOnly/index.ts",
+ with_included_models: "./src/withIncludedModels/index.ts",
+ },
+ plugins: [
+ new HtmlWebpackPlugin({
+ filename: "state_control.html",
+ template: "./src/stateControl/index.html",
+ chunks: ["state_control"],
+ minify: false,
+ }),
+ new HtmlWebpackPlugin({
+ filename: "read_only.html",
+ template: "./src/readOnly/index.html",
+ chunks: ["read_only"],
+ minify: false,
+ }),
+ new HtmlWebpackPlugin({
+ filename: "with_included_models.html",
+ template: "./src/withIncludedModels/index.html",
+ chunks: ["with_included_models"],
+ minify: false,
+ }),
+ new ProvidePlugin({
+ process: require.resolve("process/browser.js"),
+ Buffer: ["buffer", "Buffer"],
+ }),
+ new CopyWebpackPlugin({
+ patterns: [{ from: "./static", to: "static" }],
+ }),
+ ],
+ devServer: {
+ static: [{ directory: path.join(__dirname, "./dist") }],
+ compress: true,
+ https: false,
+ port: buildEnv.dmnEditorStandaloneExamples.port,
+ client: {
+ overlay: false,
+ },
+ },
+ });
diff --git
a/packages/boxed-expression-component/tests-e2e/boxedExpressions/conditional/populate.spec.ts
b/packages/boxed-expression-component/tests-e2e/boxedExpressions/conditional/populate.spec.ts
index 0ff8889de66..7ed29672ffd 100644
---
a/packages/boxed-expression-component/tests-e2e/boxedExpressions/conditional/populate.spec.ts
+++
b/packages/boxed-expression-component/tests-e2e/boxedExpressions/conditional/populate.spec.ts
@@ -40,6 +40,8 @@ test.describe("Populate Boxed Conditional", () => {
await bee.expression.asConditional().expressionHeaderCell.open();
await bee.expression.asConditional().expressionHeaderCell.setDataType({
dataType: "boolean", close: true });
+ await expect(await
bee.expression.asConditional().expressionHeaderCell.getPopoverMenu()).not.toBeAttached();
+
expect(await
bee.expression.asConditional().expressionHeaderCell.content.textContent()).toEqual(
"Expression Name(boolean)"
);
diff --git
a/packages/dmn-editor-standalone/src/DmnEditorStandaloneChannelApiImpl.ts
b/packages/dmn-editor-standalone/src/DmnEditorStandaloneChannelApiImpl.ts
index 2a247b41525..ba03446bd49 100644
--- a/packages/dmn-editor-standalone/src/DmnEditorStandaloneChannelApiImpl.ts
+++ b/packages/dmn-editor-standalone/src/DmnEditorStandaloneChannelApiImpl.ts
@@ -36,7 +36,7 @@ import { Minimatch } from "minimatch";
import { Notification } from "@kie-tools-core/notifications/dist/api";
import { dirname, isAbsolute, normalize, relative } from "path";
-export type DmnEditorStandaloneResource = { contentType: ContentType; content:
Promise<string> };
+export type DmnEditorStandaloneResource = { contentType: "text" | "binary";
content: Promise<string> };
export class DmnEditorStandaloneChannelApiImpl implements
KogitoEditorChannelApi {
constructor(
@@ -102,7 +102,9 @@ export class DmnEditorStandaloneChannelApiImpl implements
KogitoEditorChannelApi
return new ResourceContent(
request.normalizedPosixPathRelativeToTheWorkspaceRoot,
await resource.content,
- resource.contentType
+ // We need to typecast because ContentType is not exported
+ // and TS complains when trying to match strings with enums
+ resource.contentType as ContentType
);
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 90fba6b53de..242398f627b 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -248,6 +248,55 @@ importers:
specifier: ^1.1.6
version: 1.1.6
+ examples/dmn-editor-standalone-examples:
+ dependencies:
+ '@kie-tools/dmn-editor-standalone':
+ specifier: workspace:*
+ version: link:../../packages/dmn-editor-standalone
+ devDependencies:
+ '@kie-tools-core/webpack-base':
+ specifier: workspace:*
+ version: link:../../packages/webpack-base
+ '@kie-tools/root-env':
+ specifier: workspace:*
+ version: link:../../packages/root-env
+ '@kie-tools/tsconfig':
+ specifier: workspace:*
+ version: link:../../packages/tsconfig
+ copy-webpack-plugin:
+ specifier: ^11.0.0
+ version: 11.0.0([email protected]([email protected]))
+ html-webpack-plugin:
+ specifier: ^5.3.2
+ version: 5.5.3([email protected]([email protected]))
+ process:
+ specifier: ^0.11.10
+ version: 0.11.10
+ raw-loader:
+ specifier: ^4.0.2
+ version: 4.0.2([email protected]([email protected]))
+ rimraf:
+ specifier: ^3.0.2
+ version: 3.0.2
+ typescript:
+ specifier: ^5.5.3
+ version: 5.5.3
+ webpack:
+ specifier: ^5.92.1
+ version: 5.92.1([email protected])
+ webpack-bundle-analyzer:
+ specifier: ^4.10.2
+ version: 4.10.2
+ webpack-cli:
+ specifier: ^4.10.0
+ version:
4.10.0([email protected])([email protected])([email protected])
+ webpack-dev-server:
+ specifier: ^4.15.1
+ version: 4.15.1([email protected])([email protected])
+ webpack-merge:
+ specifier: ^5.9.0
+ version: 5.10.0
+
examples/dmn-quarkus-example:
devDependencies:
'@kie-tools/maven-config-setup-helper':
@@ -18869,9 +18918,6 @@ packages:
'@types/[email protected]':
resolution: {integrity:
sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==}
- '@types/[email protected]':
- resolution: {integrity:
sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g==}
-
'@types/[email protected]':
resolution: {integrity:
sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==}
@@ -22620,6 +22666,7 @@ packages:
[email protected]:
resolution: {integrity:
sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
+ deprecated: Glob versions prior to v9 are no longer supported
[email protected]:
resolution: {integrity:
sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==}
@@ -22859,9 +22906,6 @@ packages:
[email protected]:
resolution: {integrity:
sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==}
- [email protected]:
- resolution: {integrity:
sha512-hNX23TjWwD3q56HpWjUHOKj1+4KKlnjv9PcmBUYKVpga+2cnb9nDx/B1o0yO4n+RZXZdiNxzx6B24C9aNMTkkQ==}
-
[email protected]:
resolution: {integrity:
sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==}
@@ -23111,6 +23155,7 @@ packages:
[email protected]:
resolution: {integrity:
sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
+ deprecated: This module is not supported, and leaks memory. Do not use it.
Check out lru-cache if you want a good and tested way to coalesce async
requests by a key value, which is much more comprehensive and powerful.
[email protected]:
resolution: {integrity:
sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==}
@@ -26725,6 +26770,7 @@ packages:
[email protected]:
resolution: {integrity:
sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
+ deprecated: Rimraf versions prior to v4 are no longer supported
hasBin: true
[email protected]:
@@ -40804,7 +40850,7 @@ snapshots:
'@types/[email protected]':
dependencies:
'@types/connect': 3.4.34
- '@types/node': 20.14.2
+ '@types/node': 20.14.13
'@types/[email protected]':
dependencies:
@@ -40812,7 +40858,7 @@ snapshots:
'@types/[email protected]':
dependencies:
- '@types/node': 20.14.2
+ '@types/node': 20.14.13
'@types/[email protected]':
dependencies:
@@ -40842,11 +40888,11 @@ snapshots:
'@types/[email protected]':
dependencies:
'@types/express-serve-static-core': 4.17.35
- '@types/node': 20.14.2
+ '@types/node': 20.14.13
'@types/[email protected]':
dependencies:
- '@types/node': 20.14.2
+ '@types/node': 20.14.13
'@types/[email protected]': {}
@@ -41036,7 +41082,7 @@ snapshots:
'@types/[email protected]':
dependencies:
- '@types/node': 20.14.2
+ '@types/node': 20.14.13
'@types/qs': 6.9.7
'@types/range-parser': 1.2.4
'@types/send': 0.17.1
@@ -41111,7 +41157,7 @@ snapshots:
'@types/[email protected]':
dependencies:
- '@types/node': 20.14.2
+ '@types/node': 20.14.13
'@types/[email protected]':
dependencies:
@@ -41218,7 +41264,7 @@ snapshots:
'@types/[email protected]':
dependencies:
- '@types/node': 20.14.2
+ '@types/node': 20.14.13
'@types/[email protected]': {}
@@ -41335,8 +41381,6 @@ snapshots:
dependencies:
'@types/node': 20.14.2
- '@types/[email protected]': {}
-
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -41357,7 +41401,7 @@ snapshots:
'@types/[email protected]':
dependencies:
'@types/mime': 1.3.2
- '@types/node': 20.14.2
+ '@types/node': 20.14.13
'@types/[email protected]':
dependencies:
@@ -41375,7 +41419,7 @@ snapshots:
'@types/[email protected]':
dependencies:
'@types/http-errors': 2.0.4
- '@types/node': 20.14.2
+ '@types/node': 20.14.13
'@types/send': 0.17.1
'@types/[email protected]':
@@ -41400,7 +41444,7 @@ snapshots:
'@types/[email protected]':
dependencies:
- '@types/node': 20.14.2
+ '@types/node': 20.14.13
'@types/[email protected]':
dependencies:
@@ -41428,7 +41472,7 @@ snapshots:
'@types/[email protected]':
dependencies:
- '@types/node': 20.14.2
+ '@types/node': 20.14.13
'@types/[email protected]':
dependencies:
@@ -42181,6 +42225,10 @@ snapshots:
optionalDependencies:
ajv: 8.12.0
+ [email protected]([email protected]):
+ optionalDependencies:
+ ajv: 8.16.0
+
[email protected]([email protected]):
optionalDependencies:
ajv: 8.16.0
@@ -42194,6 +42242,11 @@ snapshots:
ajv: 8.12.0
fast-deep-equal: 3.1.3
+ [email protected]([email protected]):
+ dependencies:
+ ajv: 8.16.0
+ fast-deep-equal: 3.1.3
+
[email protected]:
dependencies:
fast-deep-equal: 3.1.3
@@ -43803,7 +43856,7 @@ snapshots:
normalize-path: 3.0.0
readdirp: 3.6.0
optionalDependencies:
- fsevents: 2.3.2
+ fsevents: 2.3.3
[email protected]: {}
@@ -44159,12 +44212,12 @@ snapshots:
[email protected]([email protected]([email protected])):
dependencies:
- fast-glob: 3.2.11
+ fast-glob: 3.3.2
glob-parent: 6.0.2
globby: 13.1.2
normalize-path: 3.0.0
- schema-utils: 4.0.0
- serialize-javascript: 6.0.1
+ schema-utils: 4.2.0
+ serialize-javascript: 6.0.2
webpack: 5.92.1([email protected])
[email protected]([email protected]):
@@ -46831,8 +46884,8 @@ snapshots:
[email protected]:
dependencies:
dir-glob: 3.0.1
- fast-glob: 3.2.11
- ignore: 5.2.0
+ fast-glob: 3.3.2
+ ignore: 5.3.1
merge2: 1.4.1
slash: 4.0.0
@@ -47079,8 +47132,6 @@ snapshots:
[email protected]: {}
- [email protected]: {}
-
[email protected]: {}
[email protected]:
@@ -47281,7 +47332,7 @@ snapshots:
[email protected](@types/[email protected]):
dependencies:
- '@types/http-proxy': 1.17.8
+ '@types/http-proxy': 1.17.14
http-proxy: 1.18.1
is-glob: 4.0.3
is-plain-obj: 3.0.0
@@ -47858,7 +47909,7 @@ snapshots:
[email protected]:
dependencies:
- html-escaper: 2.0.1
+ html-escaper: 2.0.2
istanbul-lib-report: 3.0.1
[email protected]: {}
@@ -49263,7 +49314,7 @@ snapshots:
[email protected]:
dependencies:
- picocolors: 1.0.0
+ picocolors: 1.0.1
shell-quote: 1.8.1
[email protected]: {}
@@ -50630,7 +50681,7 @@ snapshots:
[email protected]:
dependencies:
- '@types/retry': 0.12.1
+ '@types/retry': 0.12.2
retry: 0.13.1
[email protected]:
@@ -51450,20 +51501,20 @@ snapshots:
[email protected]([email protected](@swc/[email protected])([email protected])):
dependencies:
- loader-utils: 2.0.2
- schema-utils: 3.1.1
+ loader-utils: 2.0.4
+ schema-utils: 3.3.0
webpack: 5.92.1(@swc/[email protected])([email protected])
[email protected]([email protected]([email protected])):
dependencies:
- loader-utils: 2.0.2
- schema-utils: 3.1.1
+ loader-utils: 2.0.4
+ schema-utils: 3.3.0
webpack: 5.92.1([email protected])
[email protected]([email protected]):
dependencies:
- loader-utils: 2.0.2
- schema-utils: 3.1.1
+ loader-utils: 2.0.4
+ schema-utils: 3.3.0
webpack: 5.92.1
[email protected]:
@@ -52541,9 +52592,9 @@ snapshots:
[email protected]:
dependencies:
'@types/json-schema': 7.0.15
- ajv: 8.12.0
- ajv-formats: 2.1.1([email protected])
- ajv-keywords: 5.1.0([email protected])
+ ajv: 8.16.0
+ ajv-formats: 2.1.1([email protected])
+ ajv-keywords: 5.1.0([email protected])
[email protected]: {}
@@ -52964,7 +53015,7 @@ snapshots:
[email protected]:
dependencies:
- debug: 4.3.4
+ debug: 4.3.5
handle-thing: 2.0.1
http-deceiver: 1.2.7
select-hose: 2.0.0
@@ -54457,7 +54508,7 @@ snapshots:
dependencies:
browserslist: 4.23.0
escalade: 3.1.1
- picocolors: 1.0.0
+ picocolors: 1.0.1
[email protected]([email protected]):
dependencies:
@@ -54981,7 +55032,7 @@ snapshots:
gzip-size: 6.0.0
html-escaper: 2.0.2
opener: 1.5.2
- picocolors: 1.0.0
+ picocolors: 1.0.1
sirv: 2.0.4
ws: 7.5.10
transitivePeerDependencies:
@@ -55112,39 +55163,39 @@ snapshots:
[email protected]([email protected])([email protected]):
dependencies:
- '@types/bonjour': 3.5.10
- '@types/connect-history-api-fallback': 1.3.5
- '@types/express': 4.17.17
- '@types/serve-index': 1.9.1
- '@types/serve-static': 1.13.10
- '@types/sockjs': 0.3.33
- '@types/ws': 8.5.5
+ '@types/bonjour': 3.5.13
+ '@types/connect-history-api-fallback': 1.5.4
+ '@types/express': 4.17.21
+ '@types/serve-index': 1.9.4
+ '@types/serve-static': 1.15.7
+ '@types/sockjs': 0.3.36
+ '@types/ws': 8.5.12
ansi-html-community: 0.0.8
- bonjour-service: 1.1.1
- chokidar: 3.5.3
- colorette: 2.0.16
+ bonjour-service: 1.2.1
+ chokidar: 3.6.0
+ colorette: 2.0.20
compression: 1.7.4
connect-history-api-fallback: 2.0.0
default-gateway: 6.0.3
express: 4.19.2
graceful-fs: 4.2.11
- html-entities: 2.3.2
- http-proxy-middleware: 2.0.6(@types/[email protected])
- ipaddr.js: 2.0.1
- launch-editor: 2.6.0
+ html-entities: 2.5.2
+ http-proxy-middleware: 2.0.6(@types/[email protected])
+ ipaddr.js: 2.2.0
+ launch-editor: 2.8.0
open: 8.4.0
p-retry: 4.6.1
rimraf: 3.0.2
- schema-utils: 4.0.0
- selfsigned: 2.1.1
+ schema-utils: 4.2.0
+ selfsigned: 2.4.1
serve-index: 1.9.1
sockjs: 0.3.24
spdy: 4.0.2
webpack-dev-middleware: 5.3.3([email protected]([email protected]))
- ws: 8.13.0
+ ws: 8.18.0
optionalDependencies:
webpack: 5.92.1([email protected])
- webpack-cli: 4.10.0([email protected])([email protected])
+ webpack-cli:
4.10.0([email protected])([email protected])([email protected])
transitivePeerDependencies:
- bufferutil
- debug
@@ -55548,7 +55599,7 @@ snapshots:
watchpack: 2.4.1
webpack-sources: 3.2.3
optionalDependencies:
- webpack-cli: 4.10.0([email protected])([email protected])
+ webpack-cli:
4.10.0([email protected])([email protected])([email protected])
transitivePeerDependencies:
- '@swc/core'
- esbuild
diff --git a/repo/graph.dot b/repo/graph.dot
index 5481ee34a33..efd2bb30d14 100644
--- a/repo/graph.dot
+++ b/repo/graph.dot
@@ -19,6 +19,8 @@ digraph G {
"@kie-tools-core/vscode-extension" [ color = "purple", fontcolor = "purple",
style = "rounded" ];
"@kie-tools-examples/commit-message-validation-service" [ color = "orange",
fontcolor = "orange", style = "dashed, rounded" ];
"@kie-tools/root-env" [ color = "black", fontcolor = "black", style =
"dashed, rounded" ];
+ "@kie-tools-examples/dmn-editor-standalone-examples" [ color = "orange",
fontcolor = "orange", style = "dashed, rounded" ];
+ "@kie-tools/dmn-editor-standalone" [ color = "blue", fontcolor = "blue",
style = "rounded" ];
"@kie-tools-examples/drools-process-usertasks-quarkus-example" [ color =
"orange", fontcolor = "orange", style = "dashed, rounded" ];
"@kie-tools/jbpm-quarkus-devui" [ color = "black", fontcolor = "black",
style = "dashed, rounded" ];
"@kie-tools-examples/jbpm-compact-architecture-example" [ color = "orange",
fontcolor = "orange", style = "dashed, rounded" ];
@@ -36,7 +38,6 @@ digraph G {
"@kie-tools-core/patternfly-base" [ color = "purple", fontcolor = "purple",
style = "rounded" ];
"@kie-tools/uniforms-patternfly" [ color = "blue", fontcolor = "blue", style
= "rounded" ];
"@kie-tools-examples/webapp" [ color = "orange", fontcolor = "orange", style
= "dashed, rounded" ];
- "@kie-tools/dmn-editor-standalone" [ color = "blue", fontcolor = "blue",
style = "rounded" ];
"@kie-tools/kie-editors-standalone" [ color = "blue", fontcolor = "blue",
style = "rounded" ];
"@kie-tools/serverless-workflow-standalone-editor" [ color = "blue",
fontcolor = "blue", style = "rounded" ];
"@kie-tools-core/backend" [ color = "purple", fontcolor = "purple", style =
"rounded" ];
@@ -208,6 +209,7 @@ digraph G {
"kie-tools-examples-base64png-editor-vscode-extension" ->
"@kie-tools-examples/base64png-editor" [ style = "solid", color = "orange" ];
"kie-tools-examples-base64png-editor-vscode-extension" ->
"@kie-tools-core/webpack-base" [ style = "dashed", color = "orange" ];
"@kie-tools-examples/commit-message-validation-service" ->
"@kie-tools/root-env" [ style = "dashed", color = "orange" ];
+ "@kie-tools-examples/dmn-editor-standalone-examples" ->
"@kie-tools/dmn-editor-standalone" [ style = "solid", color = "orange" ];
"@kie-tools-examples/drools-process-usertasks-quarkus-example" ->
"@kie-tools/jbpm-quarkus-devui" [ style = "solid", color = "orange" ];
"@kie-tools-examples/jbpm-compact-architecture-example" ->
"@kie-tools/jbpm-quarkus-devui" [ style = "solid", color = "orange" ];
"@kie-tools-examples/jbpm-compact-architecture-example" ->
"@kie-tools/kogito-management-console" [ style = "dashed", color = "orange" ];
diff --git a/repo/graph.json b/repo/graph.json
index 8048827caf4..e4b48b3d7e2 100644
--- a/repo/graph.json
+++ b/repo/graph.json
@@ -25,6 +25,9 @@
{ "id": "@kie-tools-core/vscode-extension" },
{ "id": "@kie-tools-core/vscode-java-code-completion" },
{ "id": "@kie-tools-examples/commit-message-validation-service" },
+ { "id": "@kie-tools-examples/dmn-editor-standalone-examples" },
+ { "id": "@kie-tools/dmn-editor-standalone" },
+ { "id": "@kie-tools/dmn-editor-envelope" },
{ "id": "@kie-tools-examples/drools-process-usertasks-quarkus-example" },
{ "id": "@kie-tools/jbpm-quarkus-devui" },
{ "id": "@kie-tools/maven-base" },
@@ -50,10 +53,8 @@
{ "id": "@kie-tools/eslint" },
{ "id": "@kie-tools/jest-base" },
{ "id": "@kie-tools-examples/webapp" },
- { "id": "@kie-tools/dmn-editor-standalone" },
{ "id": "@kie-tools/kie-editors-standalone" },
{ "id": "@kie-tools/serverless-workflow-standalone-editor" },
- { "id": "@kie-tools/dmn-editor-envelope" },
{ "id": "@kie-tools/kie-bc-editors" },
{ "id": "@kie-tools/stunner-editors" },
{ "id": "@kie-tools/serverless-workflow-combined-editor" },
@@ -366,6 +367,26 @@
"target": "@kie-tools/root-env",
"weight": 1
},
+ {
+ "source": "@kie-tools-examples/dmn-editor-standalone-examples",
+ "target": "@kie-tools/dmn-editor-standalone",
+ "weight": 1
+ },
+ {
+ "source": "@kie-tools/dmn-editor-standalone",
+ "target": "@kie-tools/dmn-editor-envelope",
+ "weight": 1
+ },
+ {
+ "source": "@kie-tools/dmn-editor-envelope",
+ "target": "@kie-tools-core/editor",
+ "weight": 1
+ },
+ {
+ "source": "@kie-tools/dmn-editor-envelope",
+ "target": "@kie-tools/dmn-editor",
+ "weight": 1
+ },
{
"source":
"@kie-tools-examples/drools-process-usertasks-quarkus-example",
"target": "@kie-tools/jbpm-quarkus-devui",
@@ -636,11 +657,6 @@
"target": "@kie-tools/serverless-workflow-standalone-editor",
"weight": 1
},
- {
- "source": "@kie-tools/dmn-editor-standalone",
- "target": "@kie-tools/dmn-editor-envelope",
- "weight": 1
- },
{
"source": "@kie-tools/kie-editors-standalone",
"target": "@kie-tools/kie-bc-editors",
@@ -656,16 +672,6 @@
"target": "@kie-tools/serverless-workflow-combined-editor",
"weight": 1
},
- {
- "source": "@kie-tools/dmn-editor-envelope",
- "target": "@kie-tools-core/editor",
- "weight": 1
- },
- {
- "source": "@kie-tools/dmn-editor-envelope",
- "target": "@kie-tools/dmn-editor",
- "weight": 1
- },
{
"source": "@kie-tools/kie-bc-editors",
"target": "@kie-tools-core/editor",
@@ -2384,6 +2390,7 @@
["@kie-tools-examples/base64png-editor-chrome-extension",
"examples/base64png-editor-chrome-extension"],
["kie-tools-examples-base64png-editor-vscode-extension",
"examples/base64png-editor-vscode-extension"],
["@kie-tools-examples/commit-message-validation-service",
"examples/commit-message-validation-service"],
+ ["@kie-tools-examples/dmn-editor-standalone-examples",
"examples/dmn-editor-standalone-examples"],
[
"@kie-tools-examples/drools-process-usertasks-quarkus-example",
"examples/drools-process-usertasks-quarkus-example"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]