-
Notifications
You must be signed in to change notification settings - Fork 654
Diagram: move files to ts (ui.diagram.ts) #31524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 25_2
Are you sure you want to change the base?
Diagram: move files to ts (ui.diagram.ts) #31524
Conversation
c441279 to
042dd6c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates the Diagram component from JavaScript to TypeScript by:
- Moving the implementation from
packages/devextreme/js/ui/diagram/ui.diagram.jstopackages/devextreme/js/__internal/ui/diagram/ui.diagram.ts - Converting ~2240 lines of JavaScript code to TypeScript with proper type annotations
- Updating the public API file to re-export from the new TypeScript location
- Adding previously hidden widget options (
accessKey,activeStateEnabled,focusStateEnabled,hint,hoverStateEnabled,tabIndex) to Angular and Vue wrappers
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| packages/devextreme/js/ui/diagram/ui.diagram.js | Simplified to re-export from new TypeScript implementation |
| packages/devextreme/js/__internal/ui/diagram/ui.diagram.ts | New TypeScript implementation with type annotations, interfaces, and modernized syntax |
| packages/devextreme-vue/src/diagram.ts | Added 6 previously hidden widget options with proper types and update emitters |
| packages/devextreme-angular/src/ui/diagram/index.ts | Added 6 previously hidden widget options with Input/Output decorators |
d61d3e6 to
306607e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
306607e to
2d0c2fa
Compare
No description provided.