Slavcho,
I tried to follow your suggested approach, but I get error
Property 'ExpandButton' does not exist on type 'typeof Diagramming'.
when doing so.
Also, I find no occurrence of 'ExpandButton' in jsdiag.d.ts.
One thing that I noticed is:
I have
"diagram-library-angular": "^1.0.2",
in my package.json file. But after an 'npm install' I see the folowing in package.lock.json
"diagram-library": {
"version": "3.4.4",
"resolved": "
https://registry.npmjs.org/diagram-library/-/diagram-library-3.4.4.tgz",
"integrity": "sha512-XpQogRGm0OWv7jEaxC1NEZzKEBSxepGqoE6MWKW97UQ2S5CPWRWW3FFXfA296HYzFl4RNFrs
BVmCrdkh+nfY4Q==",
"requires": {
"mindfusion-common": "^1.1.9"
}
},
"diagram-library-angular": {
"version": "1.0.2",
"resolved": "
https://registry.npmjs.org/diagram-library-angular/-/diagram-library-angular-1.
0.2.tgz",
"integrity": "sha512-C/RTz9v4QQ0cffrFtfNNpNwcxGE7eN4luW27SjlRhFz+e9bSoQJWqMIi1s8MgmKspggsPlHX
R9SdmUyY9Qja2g==",
"requires": {
"diagram-library": "^3.4.1"
}
},
What I mean is the line
"diagram-library": "^3.4.1"
which still references the "old" version of diagram library. Not sure if this plays into the problem
Cheers,
Michael