Skip to content

Commit

Permalink
refactor: move BasicShop to Materials
Browse files Browse the repository at this point in the history
  • Loading branch information
mokinzhao committed Mar 27, 2021
1 parent 72d5b88 commit c5766ee
Show file tree
Hide file tree
Showing 122 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/core/FormComponents/CardPicker/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { useState, useEffect, memo } from 'react';
import classnames from 'classnames';
import Icon from '@/components/BasicShop/BasicComponents/Icon';
import Icon from '@/materials/BasicComponents/Icon';
import styles from './index.less';
import React from 'react';
import { IconTypes } from '@/components/BasicShop/BasicComponents/Icon/schema';
import { IconTypes } from '@/materials/BasicComponents/Icon/schema';
import { ICardPickerConfigType } from '../types';

interface CardPickerType extends Omit<ICardPickerConfigType<IconTypes>, 'type' | 'key' | 'name'> {
Expand Down
4 changes: 2 additions & 2 deletions src/core/FormComponents/FormItems/FormItems.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { memo, RefObject, useCallback, useEffect, useState } from 'react';
import BaseForm from '@/components/BasicShop/BasicComponents/Form/BaseForm';
import BasePopoverForm from '@/components/BasicShop/BasicComponents/Form/BasePopoverForm';
import BaseForm from '@/materials/BasicComponents/Form/BaseForm';
import BasePopoverForm from '@/materials/BasicComponents/Form/BasePopoverForm';
import EditorModal from './EditorModal';
import { MinusCircleFilled, EditFilled, PlusOutlined } from '@ant-design/icons';
import styles from './formItems.less';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/pages/editor/Container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import Calibration from 'components/Calibration';
import DynamicEngine, { componentsType } from '@/core/DynamicEngine';
import { FormRender } from '@/core';

import template from 'components/BasicShop/BasicComponents/template';
import mediaTpl from 'components/BasicShop/MediaComponents/template';
import graphTpl from 'components/BasicShop/VisualComponents/template';
import template from '@/materials/BasicComponents/template';
import mediaTpl from '@/materials/MediaComponents/template';
import graphTpl from '@/materials/VisualComponents/template';

import schemaH5 from 'components/BasicShop/schema';
import schemaH5 from '@/materials/schema';
import { ActionCreators, StateWithHistory } from 'redux-undo';
import { throttle, detectMobileBrowser, getBrowserNavigatorMetaInfo } from '@/utils/tool';

Expand Down
3 changes: 1 addition & 2 deletions src/pages/editor/TargetBox.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React, { useMemo, memo, ReactNode, useContext, CSSProperties } from 'react';
import { useDrag } from 'react-dnd';
import schema from 'components/BasicShop/schema';
import schema from '@/materials/schema';
import styles from './index.less';
import { dooringContext } from '@/layouts';

interface TargetBoxProps {
item: any;
Expand Down

0 comments on commit c5766ee

Please sign in to comment.