Repository navigation
Fix TS in Angular demos (Diagram, Gantt, Gauges) - #36781
Open
GoodDayForSurf wants to merge 2 commits into
Open
GoodDayForSurf wants to merge 2 commits into
GoodDayForSurf wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Angular demo typing and template-checking updates.
No open issues 🎉
What changed in this PR
Updates DevExtreme’s Angular Diagram, Gantt, and Gauges demos to support stricter TypeScript and template checking.
Changes:
- Adds these demo groups to the Angular compiler-check configuration.
- Refines model interfaces, callback types, signal types, and type-only imports.
- Corrects numeric template bindings and option names.
| File | Description |
|---|---|
| apps/demos/tsconfig.ngc-check.json | Includes Diagram, Gantt, and Gauges demos. |
| apps/demos/Demos/Gauges/VariableNumberOfBars/Angular/app/app.service.ts | Converts Product to an interface. |
| apps/demos/Demos/Gauges/VariableNumberOfBars/Angular/app/app.component.ts | Separates the Product type import. |
| apps/demos/Demos/Gauges/ValueIndicatorsAPI/Angular/app/app.component.ts | Makes the formatting callback non-nullable. |
| apps/demos/Demos/Gauges/Tooltip/Angular/app/app.component.ts | Types callbacks and guards optional indexes. |
| apps/demos/Demos/Gauges/SubvalueIndicatorTextFormatting/Angular/app/app.component.ts | Refines callback typing and imports. |
| apps/demos/Demos/Gauges/SubvalueIndicatorTextFormatting/Angular/app/app.component.html | Corrects textCloud casing. |
| apps/demos/Demos/Gauges/SubvalueIndicatorsRuntimeCustomization/Angular/app/app.service.ts | Converts PowerInfo to an interface. |
| apps/demos/Demos/Gauges/SubvalueIndicatorsRuntimeCustomization/Angular/app/app.component.ts | Types callbacks and guards optional indexes. |
| apps/demos/Demos/Gauges/ScaleLabelFormatting/Angular/app/app.component.ts | Refines callback typing and imports. |
| apps/demos/Demos/Gauges/RangeBarBaseValue/Angular/app/app.component.ts | Refines shared callback typing. |
| apps/demos/Demos/Gauges/RangeBarBaseValue/Angular/app/app.component.html | Corrects rangeBar casing. |
| apps/demos/Demos/Gauges/PaletteForRanges/Angular/app/app.component.html | Corrects Pastel casing. |
| apps/demos/Demos/Gauges/Palette/Angular/app/app.component.html | Corrects Ocean casing. |
| apps/demos/Demos/Gauges/LinearGauge/Angular/app/app.service.ts | Converts City to an interface. |
| apps/demos/Demos/Gauges/LabelsCustomization/Angular/app/app.component.ts | Types the label callback argument. |
| apps/demos/Demos/Gauges/GaugeTooltip/Angular/app/app.component.ts | Types the tooltip callback argument. |
| apps/demos/Demos/Gauges/GaugeTitleCustomized/Angular/app/app.component.html | Binds the top margin numerically. |
| apps/demos/Demos/Gauges/DifferentValueIndicatorTypesLinearGauge/Angular/app/app.component.ts | Refines callback typing and imports. |
| apps/demos/Demos/Gauges/DifferentValueIndicatorTypesLinearGauge/Angular/app/app.component.html | Corrects rangeBar casing. |
| apps/demos/Demos/Gauges/DifferentValueIndicatorTypes/Angular/app/app.component.ts | Refines callback typing and imports. |
| apps/demos/Demos/Gauges/DifferentValueIndicatorTypes/Angular/app/app.component.html | Corrects rangeBar casing. |
| apps/demos/Demos/Gauges/DifferentSubvalueIndicatorTypesLinearGauge/Angular/app/app.component.ts | Types the formatting callback argument. |
| apps/demos/Demos/Gauges/CircularGauge/Angular/app/app.service.ts | Converts Data to an interface. |
| apps/demos/Demos/Gauges/CircularGauge/Angular/app/app.component.ts | Types the formatting callback argument. |
| apps/demos/Demos/Gauges/BarGauge/Angular/app/app.service.ts | Converts Color to an interface. |
| apps/demos/Demos/Gantt/Validation/Angular/app/app.service.ts | Converts data models to interfaces. |
| apps/demos/Demos/Gantt/Validation/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Gantt/Toolbar/Angular/app/app.service.ts | Converts data models to interfaces. |
| apps/demos/Demos/Gantt/Toolbar/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Gantt/TaskTemplate/Angular/app/app.service.ts | Converts data models to interfaces. |
| apps/demos/Demos/Gantt/TaskTemplate/Angular/app/app.component.ts | Types task ID parameters. |
| apps/demos/Demos/Gantt/TaskTemplate/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Gantt/StripLines/Angular/app/app.service.ts | Converts Task to an interface. |
| apps/demos/Demos/Gantt/StripLines/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Gantt/Sorting/Angular/app/app.service.ts | Converts data models to interfaces. |
| apps/demos/Demos/Gantt/Sorting/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Gantt/Overview/Angular/app/app.service.ts | Converts data models to interfaces. |
| apps/demos/Demos/Gantt/Overview/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Gantt/HeaderFilter/Angular/app/app.service.ts | Converts data models to interfaces. |
| apps/demos/Demos/Gantt/HeaderFilter/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Gantt/FilterRow/Angular/app/app.service.ts | Converts data models to interfaces. |
| apps/demos/Demos/Gantt/FilterRow/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Gantt/ExportToPDF/Angular/app/app.service.ts | Converts data models to interfaces. |
| apps/demos/Demos/Gantt/ExportToPDF/Angular/app/app.component.ts | Types PDF constructor options. |
| apps/demos/Demos/Gantt/ExportToPDF/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Gantt/DataBinding/Angular/app/app.service.ts | Converts data models to interfaces. |
| apps/demos/Demos/Gantt/DataBinding/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Gantt/ContextMenu/Angular/app/app.service.ts | Converts data models to interfaces. |
| apps/demos/Demos/Gantt/ContextMenu/Angular/app/app.component.ts | Types menu items, corrects casing, and uses an empty-array fallback. |
| apps/demos/Demos/Gantt/ContextMenu/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Gantt/Appearance/Angular/app/app.service.ts | Converts data models to interfaces. |
| apps/demos/Demos/Gantt/Appearance/Angular/app/app.component.ts | Makes option signals non-nullable. |
| apps/demos/Demos/Gantt/Appearance/Angular/app/app.component.html | Binds task-list width numerically. |
| apps/demos/Demos/Diagram/UICustomization/Angular/app/app.component.ts | Types the custom-command event. |
| apps/demos/Demos/Diagram/SimpleView/Angular/app/app.service.ts | Uses an interface with an optional parent ID. |
| apps/demos/Demos/Diagram/OperationRestrictions/Angular/app/app.service.ts | Converts OrgItem to an interface. |
| apps/demos/Demos/Diagram/OperationRestrictions/Angular/app/app.component.ts | Annotates the edit handler and separates type imports. |
| apps/demos/Demos/Diagram/NodesArrayPlainStructure/Angular/app/app.service.ts | Uses an interface with an optional parent ID. |
| apps/demos/Demos/Diagram/NodesArrayHierarchicalStructure/Angular/app/app.service.ts | Converts Employee to an interface. |
| apps/demos/Demos/Diagram/NodesAndEdgesArrays/Angular/app/app.service.ts | Uses interfaces and permits null edge text. |
| apps/demos/Demos/Diagram/ItemSelection/Angular/app/app.service.ts | Uses an interface with an optional parent ID. |
| apps/demos/Demos/Diagram/ItemSelection/Angular/app/app.component.ts | Separates type-only imports. |
| apps/demos/Demos/Diagram/ImagesInShapes/Angular/app/app.service.ts | Converts diagram models to interfaces. |
| apps/demos/Demos/Diagram/CustomShapesWithTexts/Angular/app/app.service.ts | Uses an interface with an optional parent ID. |
| apps/demos/Demos/Diagram/CustomShapesWithTemplatesWithEditing/Angular/app/app.service.ts | Uses an interface with an optional parent ID. |
| apps/demos/Demos/Diagram/CustomShapesWithTemplatesWithEditing/Angular/app/app.component.ts | Types callbacks and replaces Employee construction. |
| apps/demos/Demos/Diagram/CustomShapesWithTemplates/Angular/app/app.service.ts | Uses an interface with an optional parent ID. |
| apps/demos/Demos/Diagram/CustomShapesWithTemplates/Angular/app/app.component.ts | Uses partial employee state and types the expression callback. |
| apps/demos/Demos/Diagram/AdvancedDataBinding/Angular/app/app.service.ts | Converts diagram models to interfaces. |
| apps/demos/Demos/Diagram/AdvancedDataBinding/Angular/app/app.component.ts | Defines dimension fields and types expression callbacks. |
Review effort: Balanced
| "Demos/Common/**/Angular/**/*.ts", | ||
| "Demos/DateBox/**/Angular/**/*.ts", | ||
| "Demos/DateRangeBox/**/Angular/**/*.ts", | ||
| "Demos/Diagram/**/Angular/**/*.ts", |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.