Squashed 'bpmn-js-spiffworkflow/' changes from c4843c17b..6391337a8

6391337a8 Fix for lanes that doesn't break the world.
5f849c690 Revert "Revert "Fix bug with Data Object Interceptor picking up too much.""
1fa1f8741 Merge branch 'main' of github.com:sartography/bpmn-js-spiffworkflow into main
76e6ac22f Revert "Fix bug with Data Object Interceptor picking up too much." Seems to be preventing someone from saving the file. This reverts commit c807dbcb2c1c2a30a1c8e20851c60082d46eddeb.
2822ba164 Merge pull request #25 from sartography/dependabot/github_actions/dependabot/fetch-metadata-1.3.6
9ee6d378f Merge pull request #20 from sartography/dependabot/github_actions/crazy-max/ghaction-github-labeler-4.1.0
c807dbcb2 Fix bug with Data Object Interceptor picking up too much. don't look for the color picker right now. clean up the css
82260144f Merge branch 'feature/inherited-data-objects' into main
0f7253032 remove ununsed code, and alter correlation properties such that the id and name are always set to the same thing.
1178d2fb7 Bump dependabot/fetch-metadata from 1.3.4 to 1.3.6
d9bf091f2 Bump crazy-max/ghaction-github-labeler from 4.0.0 to 4.1.0

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 6391337a86a6342fcfcfcd3e57d39cb61c7af668
This commit is contained in:
burnettk 2023-04-07 11:46:18 -04:00
parent 1be006811b
commit a5ebbe24fd
6 changed files with 10 additions and 40 deletions

View File

@ -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

View File

@ -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

View File

@ -78,3 +78,6 @@ html, body {
right: 10px; right: 10px;
} }
.djs-palette.two-column.open {
width: 95px;
}

View File

@ -51,8 +51,9 @@ export default class DataObjectInterceptor extends CommandInterceptor {
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);
}
}; };
/** /**

View File

@ -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,
}, },
}); });
}; };

View File

@ -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',