Skip to content
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

fix: fix rich-text build error #618

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions packages/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -2297,6 +2297,7 @@
"type": "component",
"exclude": false,
"mode": [
"mobile-first",
"mobile"
]
},
Expand All @@ -2305,9 +2306,30 @@
"type": "component",
"exclude": false,
"mode": [
"mobile-first",
"mobile"
]
},
"TabbarItemMobile": {
"path": "vue/src/tabbar-item/src/mobile.vue",
"type": "template",
"exclude": false
},
"TabbarItemMobileFirst": {
"path": "vue/src/tabbar-item/src/mobile-first.vue",
"type": "template",
"exclude": false
},
"TabbarMobile": {
"path": "vue/src/tabbar/src/mobile.vue",
"type": "template",
"exclude": false
},
"TabbarMobileFirst": {
"path": "vue/src/tabbar/src/mobile-first.vue",
"type": "template",
"exclude": false
},
"Table": {
"path": "vue/src/table/index.ts",
"type": "component",
Expand Down
140 changes: 8 additions & 132 deletions packages/vue/mobile-first.ts
Original file line number Diff line number Diff line change
@@ -1,50 +1,23 @@
import ActionSheet from '@opentiny/vue-action-sheet'
import Alert from '@opentiny/vue-alert'
import AsyncFlowchart from '@opentiny/vue-async-flowchart'
import AutonaviMap from '@opentiny/vue-autonavi-map'
import Badge from '@opentiny/vue-badge'
import BaiduMap from '@opentiny/vue-baidu-map'
import Button from '@opentiny/vue-button'
import CalendarBar from '@opentiny/vue-calendar-bar'
import CalendarView from '@opentiny/vue-calendar-view'
import Card from '@opentiny/vue-card'
import CardGroup from '@opentiny/vue-card-group'
import Carousel from '@opentiny/vue-carousel'
import CarouselItem from '@opentiny/vue-carousel-item'
import CascaderMenu from '@opentiny/vue-cascader-menu'
import CascaderMobile from '@opentiny/vue-cascader-mobile'
import CascaderSelect from '@opentiny/vue-cascader-select'
import Cell from '@opentiny/vue-cell'
import Chart from '@opentiny/vue-chart'
import ChartBar from '@opentiny/vue-chart-bar'
import ChartBoxplot from '@opentiny/vue-chart-boxplot'
import ChartCandle from '@opentiny/vue-chart-candle'
import ChartCore from '@opentiny/vue-chart-core'
import ChartFunnel from '@opentiny/vue-chart-funnel'
import ChartGauge from '@opentiny/vue-chart-gauge'
import ChartGraph from '@opentiny/vue-chart-graph'
import ChartHeatmap from '@opentiny/vue-chart-heatmap'
import ChartHistogram from '@opentiny/vue-chart-histogram'
import ChartLine from '@opentiny/vue-chart-line'
import ChartLiquidfill from '@opentiny/vue-chart-liquidfill'
import ChartMap from '@opentiny/vue-chart-map'
import ChartPie from '@opentiny/vue-chart-pie'
import ChartRadar from '@opentiny/vue-chart-radar'
import ChartRing from '@opentiny/vue-chart-ring'
import ChartSankey from '@opentiny/vue-chart-sankey'
import ChartScatter from '@opentiny/vue-chart-scatter'
import ChartSunburst from '@opentiny/vue-chart-sunburst'
import ChartTree from '@opentiny/vue-chart-tree'
import ChartWaterfall from '@opentiny/vue-chart-waterfall'
import ChartWordcloud from '@opentiny/vue-chart-wordcloud'
import Checkbox from '@opentiny/vue-checkbox'
import CheckboxGroup from '@opentiny/vue-checkbox-group'
import Collapse from '@opentiny/vue-collapse'
import CollapseItem from '@opentiny/vue-collapse-item'
import ColumnListGroup from '@opentiny/vue-column-list-group'
import ColumnListItem from '@opentiny/vue-column-list-item'
import ConfigProvider from '@opentiny/vue-config-provider'
import DatePickerMobileFirst from '@opentiny/vue-date-picker-mobile-first'
import Drawer from '@opentiny/vue-drawer'
import Dropdown from '@opentiny/vue-dropdown'
import DropdownItem from '@opentiny/vue-dropdown-item'
Expand All @@ -57,16 +30,10 @@ import FloatingButton from '@opentiny/vue-floating-button'
import Flowchart from '@opentiny/vue-flowchart'
import Form from '@opentiny/vue-form'
import FormItem from '@opentiny/vue-form-item'
import Grid from '@opentiny/vue-grid'
import GridColumn from '@opentiny/vue-grid-column'
import GridManager from '@opentiny/vue-grid-manager'
import GridToolbar from '@opentiny/vue-grid-toolbar'
import Image from '@opentiny/vue-image'
import ImageViewer from '@opentiny/vue-image-viewer'
import IndexBarAnchor from '@opentiny/vue-index-bar-anchor'
import Input from '@opentiny/vue-input'
import Loading from '@opentiny/vue-loading'
import Message from '@opentiny/vue-message'
import Modal from '@opentiny/vue-modal'
import Numeric from '@opentiny/vue-numeric'
import Pager from '@opentiny/vue-pager'
Expand All @@ -90,6 +57,8 @@ import StandardListItem from '@opentiny/vue-standard-list-item'
import Steps from '@opentiny/vue-steps'
import Switch from '@opentiny/vue-switch'
import TabItem from '@opentiny/vue-tab-item'
import Tabbar from '@opentiny/vue-tabbar'
import TabbarItem from '@opentiny/vue-tabbar-item'
import Tabs from '@opentiny/vue-tabs'
import Tag from '@opentiny/vue-tag'
import TagGroup from '@opentiny/vue-tag-group'
Expand All @@ -107,50 +76,23 @@ const components = [
ActionSheet,
Alert,
AsyncFlowchart,
AutonaviMap,
Badge,
BaiduMap,
Button,
CalendarBar,
CalendarView,
Card,
CardGroup,
Carousel,
CarouselItem,
CascaderMenu,
CascaderMobile,
CascaderSelect,
Cell,
Chart,
ChartBar,
ChartBoxplot,
ChartCandle,
ChartCore,
ChartFunnel,
ChartGauge,
ChartGraph,
ChartHeatmap,
ChartHistogram,
ChartLine,
ChartLiquidfill,
ChartMap,
ChartPie,
ChartRadar,
ChartRing,
ChartSankey,
ChartScatter,
ChartSunburst,
ChartTree,
ChartWaterfall,
ChartWordcloud,
Checkbox,
CheckboxGroup,
Collapse,
CollapseItem,
ColumnListGroup,
ColumnListItem,
ConfigProvider,
DatePickerMobileFirst,
Drawer,
Dropdown,
DropdownItem,
Expand All @@ -163,16 +105,10 @@ const components = [
Flowchart,
Form,
FormItem,
Grid,
GridColumn,
GridManager,
GridToolbar,
Image,
ImageViewer,
IndexBarAnchor,
Input,
Loading,
Message,
Modal,
Numeric,
Pager,
Expand All @@ -196,6 +132,8 @@ const components = [
Steps,
Switch,
TabItem,
Tabbar,
TabbarItem,
Tabs,
Tag,
TagGroup,
Expand Down Expand Up @@ -235,50 +173,23 @@ export {
ActionSheet,
Alert,
AsyncFlowchart,
AutonaviMap,
Badge,
BaiduMap,
Button,
CalendarBar,
CalendarView,
Card,
CardGroup,
Carousel,
CarouselItem,
CascaderMenu,
CascaderMobile,
CascaderSelect,
Cell,
Chart,
ChartBar,
ChartBoxplot,
ChartCandle,
ChartCore,
ChartFunnel,
ChartGauge,
ChartGraph,
ChartHeatmap,
ChartHistogram,
ChartLine,
ChartLiquidfill,
ChartMap,
ChartPie,
ChartRadar,
ChartRing,
ChartSankey,
ChartScatter,
ChartSunburst,
ChartTree,
ChartWaterfall,
ChartWordcloud,
Checkbox,
CheckboxGroup,
Collapse,
CollapseItem,
ColumnListGroup,
ColumnListItem,
ConfigProvider,
DatePickerMobileFirst,
Drawer,
Dropdown,
DropdownItem,
Expand All @@ -291,16 +202,10 @@ export {
Flowchart,
Form,
FormItem,
Grid,
GridColumn,
GridManager,
GridToolbar,
Image,
ImageViewer,
IndexBarAnchor,
Input,
Loading,
Message,
Modal,
Numeric,
Pager,
Expand All @@ -324,6 +229,8 @@ export {
Steps,
Switch,
TabItem,
Tabbar,
TabbarItem,
Tabs,
Tag,
TagGroup,
Expand All @@ -341,50 +248,23 @@ export default {
ActionSheet,
Alert,
AsyncFlowchart,
AutonaviMap,
Badge,
BaiduMap,
Button,
CalendarBar,
CalendarView,
Card,
CardGroup,
Carousel,
CarouselItem,
CascaderMenu,
CascaderMobile,
CascaderSelect,
Cell,
Chart,
ChartBar,
ChartBoxplot,
ChartCandle,
ChartCore,
ChartFunnel,
ChartGauge,
ChartGraph,
ChartHeatmap,
ChartHistogram,
ChartLine,
ChartLiquidfill,
ChartMap,
ChartPie,
ChartRadar,
ChartRing,
ChartSankey,
ChartScatter,
ChartSunburst,
ChartTree,
ChartWaterfall,
ChartWordcloud,
Checkbox,
CheckboxGroup,
Collapse,
CollapseItem,
ColumnListGroup,
ColumnListItem,
ConfigProvider,
DatePickerMobileFirst,
Drawer,
Dropdown,
DropdownItem,
Expand All @@ -397,16 +277,10 @@ export default {
Flowchart,
Form,
FormItem,
Grid,
GridColumn,
GridManager,
GridToolbar,
Image,
ImageViewer,
IndexBarAnchor,
Input,
Loading,
Message,
Modal,
Numeric,
Pager,
Expand All @@ -430,6 +304,8 @@ export default {
Steps,
Switch,
TabItem,
Tabbar,
TabbarItem,
Tabs,
Tag,
TagGroup,
Expand Down
3 changes: 1 addition & 2 deletions packages/vue/src/color-select-panel/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import ColorSelectPanel from './src/index'
import '@opentiny/vue-theme/color-select-panel/index.less'
import {version} from './package.json';
import { version } from './package.json'

ColorSelectPanel.model = {
prop: 'modelValue',
Expand Down
Loading