-
Notifications
You must be signed in to change notification settings - Fork 664
Navigation: Fix TS problems and make TS improvements in demos #32152
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
Merged
+527
−163
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
c0be72d
fix ts in FloatingActionButton
dmlvr 1b21217
convert-to-js FloatingActionButton
dmlvr f0bb392
fix ts in VectorMap
dmlvr e81ac25
convert-to-js VectorMap
dmlvr 2e7a9ce
fix ts in Localization
dmlvr 058cd43
modified tsconfig.react-check.json
dmlvr a8886a5
Merge branch '26_1' into fix_ts_26_1_3177_rest_react
dmlvr 88d9dc0
Merge branch '26_1' into fix_ts_26_1_3177_rest_react
dmlvr c20d00c
fix imports
dmlvr 9a3ad2d
Merge branch 'fix_ts_26_1_3177_rest_react' of github.com:dmlvr/DevExt…
dmlvr 6123f86
skip-cache
dmlvr d1ee8ae
fix by copilot review
dmlvr 712c4e0
fix by review
dmlvr 83716ea
fix Color Customization
dmlvr 44357e2
remove extra useCallBack deps
dmlvr 0dbde1a
add ReactJs Demo
dmlvr 08bb40d
fix types
dmlvr 43ae64d
remove extra deps from useCallback
dmlvr 3f9d15a
fix by Copilot review
dmlvr 529e1f0
convert-to-js for FloatingActionButto
dmlvr 020d7ec
Merge branch '26_1' into fix_ts_26_1_3177_rest_react
dmlvr 35feec0
fix by copilot review
dmlvr 4683bd1
fix some any types
dmlvr b0ed1aa
fix by copilot review
dmlvr 6f2b88b
fix by Copilot review
dmlvr d57aa31
change type import
dmlvr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
20 changes: 19 additions & 1 deletion
20
apps/demos/Demos/FloatingActionButton/Overview/React/data.ts
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| export const optionDirections = ['auto', 'up', 'down']; | ||
| export const directions = { | ||
| auto: { | ||
| icon: 'rowfield', | ||
|
|
||
9 changes: 9 additions & 0 deletions
9
apps/demos/Demos/Localization/UsingGlobalize/React/global.d.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| declare module '*.json' { | ||
| const value: any; | ||
| export default value; | ||
| } | ||
|
|
||
| declare module 'globalize' { | ||
| const Globalize: any; | ||
| export default Globalize; | ||
| } | ||
pharret31 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| declare module '*.json' { | ||
| const value: any; | ||
| export default value; | ||
| } |
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
27 changes: 27 additions & 0 deletions
27
apps/demos/Demos/VectorMap/BubbleMarkers/React/devextreme-vectormap-data.d.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| declare module 'devextreme-dist/js/vectormap-data/world.js' { | ||
| type Position = number[]; | ||
| type Geometry = | ||
| | { type: 'Point'; coordinates: Position } | ||
| | { type: 'MultiPoint'; coordinates: Position[] } | ||
| | { type: 'LineString'; coordinates: Position[] } | ||
| | { type: 'MultiLineString'; coordinates: Position[][] } | ||
| | { type: 'Polygon'; coordinates: Position[][] } | ||
| | { type: 'MultiPolygon'; coordinates: Position[][][] }; | ||
|
|
||
| interface Feature { | ||
| type: 'Feature'; | ||
| geometry: Geometry; | ||
| properties: Record<string, unknown>; | ||
| } | ||
|
|
||
| interface FeatureCollection { | ||
| type: 'FeatureCollection'; | ||
| features: Feature[]; | ||
| // eslint-disable-next-line spellcheck/spell-checker | ||
| bbox?: number[]; | ||
| } | ||
|
|
||
| const world: FeatureCollection; | ||
| export { world }; | ||
| export default world; | ||
| } |
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
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
27 changes: 27 additions & 0 deletions
27
apps/demos/Demos/VectorMap/ColorsCustomization/React/devextreme-vectormap-data.d.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| declare module 'devextreme-dist/js/vectormap-data/world.js' { | ||
| type Position = number[]; | ||
| type Geometry = | ||
| | { type: 'Point'; coordinates: Position } | ||
| | { type: 'MultiPoint'; coordinates: Position[] } | ||
| | { type: 'LineString'; coordinates: Position[] } | ||
| | { type: 'MultiLineString'; coordinates: Position[][] } | ||
| | { type: 'Polygon'; coordinates: Position[][] } | ||
| | { type: 'MultiPolygon'; coordinates: Position[][][] }; | ||
|
|
||
| interface Feature { | ||
| type: 'Feature'; | ||
| geometry: Geometry; | ||
| properties: Record<string, unknown>; | ||
| } | ||
|
|
||
| interface FeatureCollection { | ||
| type: 'FeatureCollection'; | ||
| features: Feature[]; | ||
| // eslint-disable-next-line spellcheck/spell-checker | ||
| bbox?: number[]; | ||
| } | ||
|
|
||
| const world: FeatureCollection; | ||
| export { world }; | ||
| export default world; | ||
| } |
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
27 changes: 27 additions & 0 deletions
27
apps/demos/Demos/VectorMap/CustomAnnotations/React/devextreme-vectormap-data.d.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| declare module 'devextreme-dist/js/vectormap-data/usa.js' { | ||
| type Position = number[]; | ||
| type Geometry = | ||
| | { type: 'Point'; coordinates: Position } | ||
| | { type: 'MultiPoint'; coordinates: Position[] } | ||
| | { type: 'LineString'; coordinates: Position[] } | ||
| | { type: 'MultiLineString'; coordinates: Position[][] } | ||
| | { type: 'Polygon'; coordinates: Position[][] } | ||
| | { type: 'MultiPolygon'; coordinates: Position[][][] }; | ||
|
|
||
| interface Feature { | ||
| type: 'Feature'; | ||
| geometry: Geometry; | ||
| properties: Record<string, unknown>; | ||
| } | ||
|
|
||
| interface FeatureCollection { | ||
| type: 'FeatureCollection'; | ||
| features: Feature[]; | ||
| // eslint-disable-next-line spellcheck/spell-checker | ||
| bbox?: number[]; | ||
| } | ||
|
|
||
| const usa: FeatureCollection; | ||
| export { usa }; | ||
| export default usa; | ||
| } |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.