File tree Expand file tree Collapse file tree 11 files changed +13
-13
lines changed
Stepper/FormIntegration/React
DragAndDropHierarchicalDataStructure/React
DragAndDropPlainDataStructure/React
TreeViewWithSearchBar/React Expand file tree Collapse file tree 11 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 11import React , { useCallback , useState } from 'react' ;
22import List , { ItemDragging } from 'devextreme-react/list' ;
33import type { IItemDraggingProps } from 'devextreme-react/list' ;
4- import { plannedTasks , doingTasks } from './data' ;
4+ import { plannedTasks , doingTasks } from './data.ts ' ;
55
66const App = ( ) => {
77 const [ plannedTasksState , setPlannedTasksState ] = useState ( plannedTasks ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { FC } from 'react';
33import 'devextreme-react/text-area' ;
44import { Form , SimpleItem } from 'devextreme-react/form' ;
55
6- import type { FormProps } from './types' ;
6+ import type { FormProps } from './types.ts ' ;
77
88const AdditionalForm : FC < FormProps > = memo ( ( { formData } ) => (
99 < React . Fragment >
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import RoomMealPlanForm from './RoomMealPlanForm.tsx';
1010import AdditionalForm from './AdditionalForm.tsx' ;
1111import Confirmation from './Confirmation.tsx' ;
1212
13- import { initialSteps , getInitialFormData } from './data' ;
14- import type { BookingFormData } from './types' ;
13+ import { initialSteps , getInitialFormData } from './data.ts ' ;
14+ import type { BookingFormData } from './types.ts ' ;
1515
1616const validationGroups = [ 'dates' , 'guests' , 'roomAndMealPlan' ] ;
1717
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react';
22import type { FC } from 'react' ;
33import 'devextreme-react/date-range-box' ;
44
5- import type { BookingFormData } from './types' ;
5+ import type { BookingFormData } from './types.ts ' ;
66
77interface ConfirmationProps {
88 formData : BookingFormData ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { FC } from 'react';
33import 'devextreme-react/date-range-box' ;
44import { Form , SimpleItem } from 'devextreme-react/form' ;
55
6- import type { FormProps } from './types' ;
6+ import type { FormProps } from './types.ts ' ;
77
88const DatesForm : FC < FormProps > = memo ( ( { formData, validationGroup } ) => (
99 < React . Fragment >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { FC } from 'react';
33import { Form , RangeRule , SimpleItem } from 'devextreme-react/form' ;
44import 'devextreme-react/number-box' ;
55
6- import type { FormProps } from './types' ;
6+ import type { FormProps } from './types.ts ' ;
77
88const GuestsForm : FC < FormProps > = memo ( ( { formData, validationGroup } ) => (
99 < React . Fragment >
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import type { FC } from 'react';
33import 'devextreme-react/select-box' ;
44import { Form , SimpleItem } from 'devextreme-react/form' ;
55
6- import type { FormProps } from './types' ;
7- import { mealPlans , roomTypes } from './data' ;
6+ import type { FormProps } from './types.ts ' ;
7+ import { mealPlans , roomTypes } from './data.ts ' ;
88
99const RoomMealPlanForm : FC < FormProps > = memo ( ( { formData, validationGroup } ) => (
1010 < React . Fragment >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import Tabs from 'devextreme-react/tabs';
44import SelectBox from 'devextreme-react/select-box' ;
55import MultiView from 'devextreme-react/multi-view' ;
66
7- import { employees , selectBoxLabel } from './data' ;
7+ import { employees , selectBoxLabel } from './data.ts ' ;
88
99class EmployeeInfo extends React . Component < {
1010 data : {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import TreeView from 'devextreme-react/tree-view';
33import type { TreeViewTypes , TreeViewRef } from 'devextreme-react/tree-view' ;
44import Sortable , { type SortableTypes } from 'devextreme-react/sortable' ;
55
6- import service from './data' ;
6+ import service from './data.ts ' ;
77import type { FileSystemItem } from './types' ;
88
99type Node = TreeViewTypes . Node < FileSystemItem > ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import TreeView from 'devextreme-react/tree-view';
33import type { TreeViewTypes , TreeViewRef } from 'devextreme-react/tree-view' ;
44import Sortable , { type SortableTypes } from 'devextreme-react/sortable' ;
55
6- import service from './data' ;
6+ import service from './data.ts ' ;
77import type { FileSystemItem } from './types' ;
88
99type Node = TreeViewTypes . Node < FileSystemItem > ;
You can’t perform that action at this time.
0 commit comments