Skip to content

Commit

Permalink
chore: remove unnecessary import (#2714)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu authored Dec 7, 2023
1 parent 658fd09 commit aaffbdb
Show file tree
Hide file tree
Showing 29 changed files with 0 additions and 85 deletions.
2 changes: 0 additions & 2 deletions src/packages/__VUE/actionsheet/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@

<script setup lang="ts">
import { computed, reactive } from 'vue';
import NutActionSheet from './index.vue';
import NutCell from '../cell/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
'zh-CN': {
Expand Down
2 changes: 0 additions & 2 deletions src/packages/__VUE/audio/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@

<script setup lang="ts">
import { ref, onMounted } from 'vue';
import NutAudio from './index.vue';
import NutAudioOperate from '../audiooperate/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { PlayDoubleBack, PlayDoubleForward, PlayStart, PlayStop, Voice } from '@nutui/icons-vue';
const translate = useTranslate({
Expand Down
1 change: 0 additions & 1 deletion src/packages/__VUE/backtop/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
</template>

<script setup lang="ts">
import NutBacktop from './index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { Top } from '@nutui/icons-vue';
const translate = useTranslate({
Expand Down
2 changes: 0 additions & 2 deletions src/packages/__VUE/cell/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@
<script setup lang="ts">
import { ref } from 'vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import NutCell from './index.vue';
import NutCellGroup from '../cellgroup/index.vue';
import { My } from '@nutui/icons-vue';
const translate = useTranslate({
'zh-CN': {
Expand Down
13 changes: 0 additions & 13 deletions src/packages/__VUE/configprovider/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,6 @@
</template>
<script setup lang="ts">
import { reactive, ref } from 'vue';
import NutConfigProvider from './index.vue';
import NutCell from '../cell/index.vue';
import NutForm from '../form/index.vue';
import NutFormItem from '../formitem/index.vue';
import NutRange from '../range/index.vue';
import NutSwitch from '../switch/index.vue';
import NutRate from '../rate/index.vue';
import NutInputNumber from '../inputnumber/index.vue';
import NutUploader from '../uploader/index.vue';
import NutAddress from '../address/index.vue';
import NutRadio from '../radio/index.vue';
import NutCheckbox from '../checkbox/index.vue';
import NutRadioGroup from '../radiogroup/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
Expand Down
3 changes: 0 additions & 3 deletions src/packages/__VUE/dialog/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@
</template>
<script setup lang="ts">
import { createVNode, ref } from 'vue';
import NutDialog from './index.vue';
import { showDialog } from './index';
import NutCell from '../cell/index.vue';
import NutCellGroup from '../cellgroup/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
'zh-CN': {
Expand Down
2 changes: 0 additions & 2 deletions src/packages/__VUE/drag/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
</template>

<script setup lang="ts">
import NutDrag from './index.vue';
import NutButton from '../button/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
'zh-CN': {
Expand Down
1 change: 0 additions & 1 deletion src/packages/__VUE/elevator/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

<script setup lang="ts">
import { computed, reactive } from 'vue';
import NutElevator from './index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { Jd } from '@nutui/icons-vue';
const translate = useTranslate({
Expand Down
2 changes: 0 additions & 2 deletions src/packages/__VUE/fixednav/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@

<script setup lang="ts">
import { computed, onMounted, ref } from 'vue';
import NutFixedNav from './index.vue';
import NutDrag from '../drag/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { Retweet } from '@nutui/icons-vue';
const translate = useTranslate({
Expand Down
3 changes: 0 additions & 3 deletions src/packages/__VUE/grid/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@
</template>

<script setup lang="ts">
import NutGrid from './index.vue';
import NutGridItem from '../griditem/index.vue';
import NutAvatar from '../avatar/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { Dongdong, Home, Search } from '@nutui/icons-vue';
const translate = useTranslate({
Expand Down
2 changes: 0 additions & 2 deletions src/packages/__VUE/icon/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@
</template>

<script setup lang="ts">
import NutCell from '../cell/index.vue';
import NutCellGroup from '../cellgroup/index.vue';
import { useTranslate, currentLang } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
'zh-CN': {
Expand Down
4 changes: 0 additions & 4 deletions src/packages/__VUE/image/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@
<script setup lang="ts">
import { ref } from 'vue';
import { Loading, CircleClose } from '@nutui/icons-vue';
import NutImage from './index.vue';
import NutCell from '../cell/index.vue';
import NutCol from '../col/index.vue';
import NutRow from '../row/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { ImageFit } from './type';
const translate = useTranslate({
Expand Down
5 changes: 0 additions & 5 deletions src/packages/__VUE/indicator/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
</template>

<script setup lang="ts">
import NutIndicator from './index.vue';
import NutCell from '../cell/index.vue';
import NutButton from '../button/index.vue';
import NutCol from '../col/index.vue';
import NutRow from '../row/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
'zh-CN': {
Expand Down
3 changes: 0 additions & 3 deletions src/packages/__VUE/infiniteloading/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@

<script setup lang="ts">
import { onMounted, ref, reactive } from 'vue';
import NutInfiniteLoading from './index.vue';
import NutTabs from '../tabs/index.vue';
import NutTabPane from '../tabpane/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
Expand Down
2 changes: 0 additions & 2 deletions src/packages/__VUE/layout/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@
</template>

<script setup lang="ts">
import NutRow from '../row/index.vue';
import NutCol from '../col/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
'zh-CN': {
Expand Down
3 changes: 0 additions & 3 deletions src/packages/__VUE/menu/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@

<script setup lang="ts">
import { reactive, ref, computed } from 'vue';
import NutMenu from './index.vue';
import NutMenuItem from '../menuitem/index.vue';
import NutButton from '../button/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { TriangleDown, Checked } from '@nutui/icons-vue';
const translate = useTranslate({
Expand Down
3 changes: 0 additions & 3 deletions src/packages/__VUE/navbar/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@

<script setup lang="ts">
import { ref } from 'vue';
import NutNavbar from './index.vue';
import NutTabs from '../tabs/index.vue';
import NutTabPane from '../tabpane/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { ShareN, Cart2, MoreX, HorizontalN } from '@nutui/icons-vue';
const translate = useTranslate({
Expand Down
3 changes: 0 additions & 3 deletions src/packages/__VUE/notify/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@

<script setup lang="ts">
import { ref } from 'vue';
import NutNotify from './index.vue';
import { showNotify } from './index';
import NutCell from '../cell/index.vue';
import NutCellGroup from '../cellgroup/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
'zh-CN': {
Expand Down
3 changes: 0 additions & 3 deletions src/packages/__VUE/overlay/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@

<script setup lang="ts">
import { reactive } from 'vue';
import NutOverlay from './index.vue';
import NutButton from '../button/index.vue';
import NutCell from '../cell/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
'zh-CN': {
Expand Down
1 change: 0 additions & 1 deletion src/packages/__VUE/pagination/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

<script setup lang="ts">
import { ref } from 'vue';
import NutPagination from './index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { Left, Right } from '@nutui/icons-vue';
const translate = useTranslate({
Expand Down
2 changes: 0 additions & 2 deletions src/packages/__VUE/popup/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@

<script setup lang="ts">
import { ref } from 'vue';
import NutPopup from './index.vue';
import NutCell from '../cell/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { Heart } from '@nutui/icons-vue';
const translate = useTranslate({
Expand Down
3 changes: 0 additions & 3 deletions src/packages/__VUE/pullrefresh/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@

<script setup lang="ts">
import { ref, reactive } from 'vue';
import NutPullRefresh from './index.vue';
import NutTabs from '../tabs/index.vue';
import NutTabPane from '../tabpane/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { showToast } from '@/packages/nutui.vue';
Expand Down
5 changes: 0 additions & 5 deletions src/packages/__VUE/sidenavbar/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@

<script setup lang="ts">
import { ref } from 'vue';
import NutSideNavbar from './index.vue';
import NutSideNavbarItem from '../sidenavbaritem/index.vue';
import NutSubSideNavbar from '../subsidenavbar/index.vue';
import NutPopup from '../popup/index.vue';
import NutCell from '../cell/index.vue';
import { showToast } from '@/packages/nutui.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
Expand Down
2 changes: 0 additions & 2 deletions src/packages/__VUE/sticky/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
</template>
<script setup lang="ts">
import { ref } from 'vue';
import NutSticky from './index.vue';
import NutButton from '../button/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
'zh-CN': {
Expand Down
6 changes: 0 additions & 6 deletions src/packages/__VUE/swipe/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@

<script setup lang="ts">
import { ref } from 'vue';
import NutSwipe from './index.vue';
import NutSwipeGroup from '../swipegroup/index.vue';
import NutCell from '../cell/index.vue';
import NutButton from '../button/index.vue';
import NutInputNumber from '../inputnumber/index.vue';
import NutSwitch from '../switch/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
'zh-CN': {
Expand Down
2 changes: 0 additions & 2 deletions src/packages/__VUE/switch/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@

<script setup lang="ts">
import { ref, reactive } from 'vue';
import NutSwitch from './index.vue';
import NutCell from '../cell/index.vue';
import { Loading } from '@nutui/icons-vue';
import { showToast } from '@/packages/nutui.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
Expand Down
2 changes: 0 additions & 2 deletions src/packages/__VUE/tabbar/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@

<script setup lang="ts">
import { h, ref } from 'vue';
import NutTabbar from './index.vue';
import NutTabbarItem from '../tabbaritem/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
import { Home, Category, Find, Cart, My } from '@nutui/icons-vue';
const translate = useTranslate({
Expand Down
2 changes: 0 additions & 2 deletions src/packages/__VUE/tabs/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@

<script setup lang="ts">
import { reactive, computed } from 'vue';
import NutTabs from './index.vue';
import NutTabPane from '../tabpane/index.vue';
import { Dongdong } from '@nutui/icons-vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
Expand Down
1 change: 0 additions & 1 deletion src/packages/__VUE/toast/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<script setup lang="ts">
import { onUnmounted } from 'vue';
import { showToast } from './index';
import NutCell from '../cell/index.vue';
import { useTranslate } from '@/sites/assets/util/useTranslate';
const translate = useTranslate({
'zh-CN': {
Expand Down

0 comments on commit aaffbdb

Please sign in to comment.