dmn-js-literal-expression
Advanced tools
Comparing version 16.0.0 to 16.1.0
@@ -9,2 +9,3 @@ import { createVNode, createComponentVNode } from "inferno"; | ||
this._modeling = context.injector.get('modeling'); | ||
this._translate = context.injector.get('translate'); | ||
this.setupChangeListeners({ | ||
@@ -47,2 +48,3 @@ bind: this.getDecision().id | ||
return createVNode(1, "header", "decision-properties", createComponentVNode(2, DecisionName, { | ||
"label": this._translate('Decision name'), | ||
"className": "decision-name editor", | ||
@@ -49,0 +51,0 @@ "value": name, |
@@ -0,5 +1,6 @@ | ||
import TranslateModule from 'diagram-js/lib/i18n/translate'; | ||
import DecisionPropertiesEditor from './DecisionPropertiesEditor'; | ||
import DebounceInput from 'dmn-js-shared/lib/features/debounce-input'; | ||
export default { | ||
__depends__: [DebounceInput], | ||
__depends__: [DebounceInput, TranslateModule], | ||
__init__: ['decisionProperties'], | ||
@@ -6,0 +7,0 @@ decisionProperties: ['type', DecisionPropertiesEditor] |
@@ -51,2 +51,3 @@ import { createVNode, createComponentVNode } from "inferno"; | ||
return createVNode(1, "div", "literal-expression-properties", createVNode(1, "table", null, [createVNode(1, "tr", null, [createVNode(1, "td", null, this._translate('Variable name:'), 0), createVNode(1, "td", null, createComponentVNode(2, Input, { | ||
"label": this._translate('Variable name'), | ||
"className": "variable-name-input", | ||
@@ -57,2 +58,3 @@ "onInput": this.setVariableName, | ||
}), 2)], 4), createVNode(1, "tr", null, [createVNode(1, "td", null, this._translate('Variable type:'), 0), createVNode(1, "td", null, createVNode(1, "div", "dms-fill-row", createComponentVNode(2, InputSelect, { | ||
"label": this._translate('Variable type'), | ||
"onChange": this.setVariableType, | ||
@@ -104,2 +106,3 @@ "options": typeRefOptions, | ||
return createVNode(1, "tr", null, [createVNode(1, "td", null, this._translate('Expression language:'), 0), createVNode(1, "td", null, createVNode(1, "div", "dms-fill-row", createComponentVNode(2, InputSelect, { | ||
"label": this._translate('Expression language'), | ||
"onChange": this.setExpressionLanguage, | ||
@@ -106,0 +109,0 @@ "options": languageOptions, |
@@ -12,2 +12,3 @@ import { createVNode, createComponentVNode } from "inferno"; | ||
this._variableResolver = context.injector.get('variableResolver', false); | ||
this._translate = context.injector.get('translate'); | ||
this.editLiteralExpressionText = this.editLiteralExpressionText.bind(this); | ||
@@ -53,2 +54,3 @@ this.onElementsChanged = this.onElementsChanged.bind(this); | ||
return createComponentVNode(2, Editor, { | ||
"label": this._translate('Literal expression editor'), | ||
"className": "textarea editor", | ||
@@ -64,2 +66,3 @@ "value": text, | ||
return createComponentVNode(2, LiteralExpression, { | ||
"label": this.props.label, | ||
"className": this.props.className, | ||
@@ -66,0 +69,0 @@ "value": this.props.value, |
@@ -0,5 +1,6 @@ | ||
import TranslateModule from 'diagram-js/lib/i18n/translate'; | ||
import DebounceInput from 'dmn-js-shared/lib/features/debounce-input'; | ||
import TextareaEditor from './TextareaEditor'; | ||
import DebounceInput from 'dmn-js-shared/lib/features/debounce-input'; | ||
export default { | ||
__depends__: [DebounceInput], | ||
__depends__: [DebounceInput, TranslateModule], | ||
__init__: ['textarea'], | ||
@@ -6,0 +7,0 @@ textarea: ['type', TextareaEditor] |
{ | ||
"name": "dmn-js-literal-expression", | ||
"description": "A literal expression view for dmn-js", | ||
"version": "16.0.0", | ||
"version": "16.1.0", | ||
"files": [ | ||
@@ -35,3 +35,3 @@ "assets", | ||
"diagram-js": "^14.3.1", | ||
"dmn-js-shared": "^16.0.0", | ||
"dmn-js-shared": "^16.1.0", | ||
"escape-html": "^1.0.3", | ||
@@ -43,3 +43,3 @@ "inferno": "~5.6.2", | ||
}, | ||
"gitHead": "529e71c60bb15e56739a9d2d801636a63d45c976" | ||
"gitHead": "d57c8037dd10b27b4916b144e72119bdc151d5bc" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
119991
1188
Updateddmn-js-shared@^16.1.0