From 2f8bec983ba70e84d1a619a43b998120f775266b Mon Sep 17 00:00:00 2001 From: Eiinu Date: Sun, 19 Nov 2023 03:32:06 +0800 Subject: [PATCH] chore(demo): remove createComponent (#2668) --- scripts/demo.js | 4 +- src/packages/__VUE/actionsheet/demo.vue | 76 ++++---- src/packages/__VUE/addresslist/demo.vue | 4 +- src/packages/__VUE/animate/demo.vue | 78 ++++---- src/packages/__VUE/audio/demo.vue | 32 ++-- src/packages/__VUE/avatar/demo.vue | 56 +++--- src/packages/__VUE/backtop/demo.vue | 12 +- src/packages/__VUE/badge/demo.vue | 40 ++-- src/packages/__VUE/barrage/demo.vue | 4 +- src/packages/__VUE/calendar/demo.vue | 110 ++++++----- src/packages/__VUE/card/demo.vue | 4 +- src/packages/__VUE/cascader/demo.vue | 44 ++--- src/packages/__VUE/category/demo.vue | 4 +- src/packages/__VUE/cell/demo.vue | 106 ++++++----- src/packages/__VUE/checkbox/demo.vue | 100 +++++----- src/packages/__VUE/circleprogress/demo.vue | 50 +++-- src/packages/__VUE/collapse/demo.vue | 114 ++++++------ src/packages/__VUE/comment/demo.vue | 4 +- src/packages/__VUE/configprovider/demo.vue | 110 ++++++----- src/packages/__VUE/countdown/demo.vue | 76 ++++---- src/packages/__VUE/countup/demo.vue | 40 ++-- src/packages/__VUE/datepicker/demo.vue | 96 +++++----- src/packages/__VUE/dialog/demo.vue | 80 ++++---- src/packages/__VUE/divider/demo.vue | 48 +++-- src/packages/__VUE/drag/demo.vue | 48 +++-- src/packages/__VUE/ecard/demo.vue | 4 +- src/packages/__VUE/elevator/demo.vue | 192 ++++++++++---------- src/packages/__VUE/ellipsis/demo.vue | 38 ++-- src/packages/__VUE/empty/demo.vue | 60 +++--- src/packages/__VUE/fixednav/demo.vue | 56 +++--- src/packages/__VUE/form/demo.vue | 164 ++++++++--------- src/packages/__VUE/grid/demo.vue | 64 +++---- src/packages/__VUE/icon/demo.vue | 40 ++-- src/packages/__VUE/image/demo.vue | 44 ++--- src/packages/__VUE/imagepreview/demo.vue | 40 ++-- src/packages/__VUE/indicator/demo.vue | 32 ++-- src/packages/__VUE/infiniteloading/demo.vue | 36 ++-- src/packages/__VUE/input/demo.vue | 168 +++++++++-------- src/packages/__VUE/inputnumber/demo.vue | 60 +++--- src/packages/__VUE/invoice/demo.vue | 4 +- src/packages/__VUE/layout/demo.vue | 28 ++- src/packages/__VUE/list/demo.vue | 20 +- src/packages/__VUE/menu/demo.vue | 148 ++++++++------- src/packages/__VUE/navbar/demo.vue | 64 +++---- src/packages/__VUE/notify/demo.vue | 60 +++--- src/packages/__VUE/numberkeyboard/demo.vue | 48 +++-- src/packages/__VUE/overlay/demo.vue | 52 +++--- src/packages/__VUE/pagination/demo.vue | 32 ++-- src/packages/__VUE/picker/demo.vue | 4 +- src/packages/__VUE/popover/demo.vue | 60 +++--- src/packages/__VUE/popup/demo.vue | 76 ++++---- src/packages/__VUE/price/demo.vue | 44 ++--- src/packages/__VUE/progress/demo.vue | 60 +++--- src/packages/__VUE/pullrefresh/demo.vue | 53 +++--- src/packages/__VUE/radio/demo.vue | 52 +++--- src/packages/__VUE/range/demo.vue | 60 +++--- src/packages/__VUE/rate/demo.vue | 52 +++--- src/packages/__VUE/searchbar/demo.vue | 58 +++--- src/packages/__VUE/shortpassword/demo.vue | 52 +++--- src/packages/__VUE/sidenavbar/demo.vue | 100 +++++----- src/packages/__VUE/signature/demo.vue | 4 +- src/packages/__VUE/skeleton/demo.vue | 44 ++--- src/packages/__VUE/sku/demo.vue | 4 +- src/packages/__VUE/space/demo.vue | 36 ++-- src/packages/__VUE/steps/demo.vue | 154 +++++++--------- src/packages/__VUE/sticky/demo.vue | 36 ++-- src/packages/__VUE/swipe/demo.vue | 76 ++++---- src/packages/__VUE/swiper/demo.vue | 56 +++--- src/packages/__VUE/switch/demo.vue | 60 +++--- src/packages/__VUE/tabbar/demo.vue | 52 +++--- src/packages/__VUE/table/demo.vue | 116 ++++++------ src/packages/__VUE/tabs/demo.vue | 64 +++---- src/packages/__VUE/tag/demo.vue | 80 ++++---- src/packages/__VUE/textarea/demo.vue | 48 +++-- src/packages/__VUE/timeselect/demo.vue | 4 +- src/packages/__VUE/toast/demo.vue | 56 +++--- src/packages/__VUE/tour/demo.vue | 40 ++-- src/packages/__VUE/trendarrow/demo.vue | 48 +++-- src/packages/__VUE/uploader/demo.vue | 80 ++++---- src/packages/__VUE/video/demo.vue | 69 ++++--- src/packages/__VUE/watermark/demo.vue | 32 ++-- src/packages/utils/create/component.ts | 8 - 82 files changed, 2154 insertions(+), 2478 deletions(-) diff --git a/scripts/demo.js b/scripts/demo.js index 4ab2e1c4bc..a8c5e4e837 100644 --- a/scripts/demo.js +++ b/scripts/demo.js @@ -50,9 +50,8 @@ export default create({ `, taroDemo: `