mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-02-23 22:58:09 +00:00
Merge commit 'a5ebbe24fd84816f1ec1512518dda2740aa2b76f'
This commit is contained in:
commit
29816f6b3c
@ -15,7 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Dependabot metadata
|
- name: Dependabot metadata
|
||||||
id: metadata
|
id: metadata
|
||||||
uses: dependabot/fetch-metadata@v1.3.4
|
uses: dependabot/fetch-metadata@v1.3.6
|
||||||
with:
|
with:
|
||||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
- name: Enable auto-merge for Dependabot PRs
|
- name: Enable auto-merge for Dependabot PRs
|
||||||
|
@ -14,6 +14,6 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Run Labeler
|
- name: Run Labeler
|
||||||
uses: crazy-max/ghaction-github-labeler@v4.0.0
|
uses: crazy-max/ghaction-github-labeler@v4.1.0
|
||||||
with:
|
with:
|
||||||
skip-delete: true
|
skip-delete: true
|
||||||
|
@ -78,3 +78,6 @@ html, body {
|
|||||||
right: 10px;
|
right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.djs-palette.two-column.open {
|
||||||
|
width: 95px;
|
||||||
|
}
|
||||||
|
@ -46,13 +46,14 @@ export default class DataObjectInterceptor extends CommandInterceptor {
|
|||||||
}
|
}
|
||||||
} else if (is(businessObject, 'bpmn:DataObject')) {
|
} else if (is(businessObject, 'bpmn:DataObject')) {
|
||||||
// For data objects, only update the flowElements for new data objects, and set the parent so it doesn't get moved.
|
// For data objects, only update the flowElements for new data objects, and set the parent so it doesn't get moved.
|
||||||
if (typeof(businessObject.$parent) === 'undefined') {
|
if (typeof (businessObject.$parent) === 'undefined') {
|
||||||
const flowElements = realParent.get('flowElements');
|
const flowElements = realParent.get('flowElements');
|
||||||
flowElements.push(businessObject);
|
flowElements.push(businessObject);
|
||||||
businessObject.$parent = realParent;
|
businessObject.$parent = realParent;
|
||||||
}
|
}
|
||||||
} else
|
} else {
|
||||||
bpmnUpdater.__proto__.updateSemanticParent.call(this, businessObject, parentBusinessObject);
|
bpmnUpdater.__proto__.updateSemanticParent.call(bpmnUpdater, businessObject, parentBusinessObject);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -255,40 +255,6 @@ function MessageCorrelationKeySelect(props) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function CorrelationPropertyIdTextField(props) {
|
|
||||||
const {
|
|
||||||
id,
|
|
||||||
element,
|
|
||||||
correlationPropertyModdleElement,
|
|
||||||
commandStack,
|
|
||||||
translate,
|
|
||||||
} = props;
|
|
||||||
|
|
||||||
const debounce = useService('debounceInput');
|
|
||||||
const setValue = (value) => {
|
|
||||||
commandStack.execute('element.updateModdleProperties', {
|
|
||||||
element,
|
|
||||||
moddleElement: correlationPropertyModdleElement,
|
|
||||||
properties: {
|
|
||||||
id: value,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
const getValue = () => {
|
|
||||||
return correlationPropertyModdleElement.id;
|
|
||||||
};
|
|
||||||
|
|
||||||
return TextFieldEntry({
|
|
||||||
element,
|
|
||||||
id: `${id}-id-textField`,
|
|
||||||
label: translate('ID'),
|
|
||||||
getValue,
|
|
||||||
setValue,
|
|
||||||
debounce,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function CorrelationPropertyNameTextField(props) {
|
function CorrelationPropertyNameTextField(props) {
|
||||||
const {
|
const {
|
||||||
id,
|
id,
|
||||||
@ -305,6 +271,7 @@ function CorrelationPropertyNameTextField(props) {
|
|||||||
moddleElement: correlationPropertyModdleElement,
|
moddleElement: correlationPropertyModdleElement,
|
||||||
properties: {
|
properties: {
|
||||||
name: value,
|
name: value,
|
||||||
|
id: value,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -35,7 +35,6 @@ module.exports = {
|
|||||||
new CopyWebpackPlugin({
|
new CopyWebpackPlugin({
|
||||||
patterns: [
|
patterns: [
|
||||||
{ from: 'assets/**', to: 'vendor/bpmn-js', context: 'node_modules/bpmn-js/dist/' },
|
{ from: 'assets/**', to: 'vendor/bpmn-js', context: 'node_modules/bpmn-js/dist/' },
|
||||||
{ from: '*.css', to: 'vendor/bpmn-js-color-picker', context: 'node_modules/bpmn-js-color-picker/colors' },
|
|
||||||
{
|
{
|
||||||
from: 'assets/**',
|
from: 'assets/**',
|
||||||
to: 'vendor/bpmn-js-properties-panel',
|
to: 'vendor/bpmn-js-properties-panel',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user