Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mbritense committed Nov 28, 2024
1 parent be2ac49 commit afbee2c
Show file tree
Hide file tree
Showing 19 changed files with 582 additions and 1,235 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {ActivatedRoute} from '@angular/router';
import {combineLatest} from 'rxjs';
import {map} from 'rxjs/operators';
import {PageTitleService} from '@valtimo/components';
import {ValtimoRenderer} from '../../services/valtimo-renderer';

@Component({
selector: 'valtimo-form-link-process-diagram',
Expand Down Expand Up @@ -82,17 +81,7 @@ export class FormLinkProcessDiagramComponent implements OnInit, OnDestroy {
this.loadProcessDefinitionFromKey(this.processDefinitionKey);
}
});
this.bpmnViewer = new BpmnViewer({
valtimoRenderer: {
test: 'test',
},
additionalModules: [
{
__init__: ['ValtimoRenderer'],
ValtimoRenderer: ['type', ValtimoRenderer],
},
],
});
this.bpmnViewer = new BpmnViewer({});
this.bpmnViewer.on('import.done', ({error}: any) => {
if (!error) {
const canvas = this.bpmnViewer.get('canvas') as any;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,12 @@ export class ProcessLinkComponent {
const processLink = result.processLink;

this.stateService.setModalParams(params);

console.log('set modal params in state service', params);

this.stateService.setElementName(params?.element?.name);

console.log('set element name data', params?.element?.name);

if (processLink) {
this.stateService.selectProcessLink(processLink);
console.log('set process link', processLink);
} else {
this.stateService.setAvailableProcessLinkTypes(result);
console.log('set available links', result);
}

if (result?.length > 0 || processLink) {
Expand Down
76 changes: 0 additions & 76 deletions projects/valtimo/process-link/src/lib/services/valtimo-renderer.ts

This file was deleted.

1 change: 0 additions & 1 deletion projects/valtimo/process-link/src/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/

export * from './lib/services';
export * from './lib/services/valtimo-renderer';
export * from './lib/components/select-plugin-configuration/select-plugin-configuration.component';
export * from './lib/components/select-plugin-action/select-plugin-action.component';
export * from './lib/components/select-url/select-url.component';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

export * from './process-management';
export * from './process-management-editor';
export * from './process-management-builder';
export * from './process-management-list';
export * from './process-management-upload';

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@
* limitations under the License.
*/

export * from './customizer';
export * from './process-management-builder.component';
Loading

0 comments on commit afbee2c

Please sign in to comment.