fix: fix rich-text build error (#618)
This commit is contained in:
parent
7dd22db4a1
commit
251866d80a
|
@ -2297,6 +2297,7 @@
|
|||
"type": "component",
|
||||
"exclude": false,
|
||||
"mode": [
|
||||
"mobile-first",
|
||||
"mobile"
|
||||
]
|
||||
},
|
||||
|
@ -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",
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
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'
|
||||
|
@ -11,40 +9,15 @@ 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'
|
||||
|
@ -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'
|
||||
|
@ -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'
|
||||
|
@ -107,9 +76,7 @@ const components = [
|
|||
ActionSheet,
|
||||
Alert,
|
||||
AsyncFlowchart,
|
||||
AutonaviMap,
|
||||
Badge,
|
||||
BaiduMap,
|
||||
Button,
|
||||
CalendarBar,
|
||||
CalendarView,
|
||||
|
@ -117,40 +84,15 @@ const components = [
|
|||
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,
|
||||
|
@ -163,16 +105,10 @@ const components = [
|
|||
Flowchart,
|
||||
Form,
|
||||
FormItem,
|
||||
Grid,
|
||||
GridColumn,
|
||||
GridManager,
|
||||
GridToolbar,
|
||||
Image,
|
||||
ImageViewer,
|
||||
IndexBarAnchor,
|
||||
Input,
|
||||
Loading,
|
||||
Message,
|
||||
Modal,
|
||||
Numeric,
|
||||
Pager,
|
||||
|
@ -196,6 +132,8 @@ const components = [
|
|||
Steps,
|
||||
Switch,
|
||||
TabItem,
|
||||
Tabbar,
|
||||
TabbarItem,
|
||||
Tabs,
|
||||
Tag,
|
||||
TagGroup,
|
||||
|
@ -235,9 +173,7 @@ export {
|
|||
ActionSheet,
|
||||
Alert,
|
||||
AsyncFlowchart,
|
||||
AutonaviMap,
|
||||
Badge,
|
||||
BaiduMap,
|
||||
Button,
|
||||
CalendarBar,
|
||||
CalendarView,
|
||||
|
@ -245,40 +181,15 @@ export {
|
|||
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,
|
||||
|
@ -291,16 +202,10 @@ export {
|
|||
Flowchart,
|
||||
Form,
|
||||
FormItem,
|
||||
Grid,
|
||||
GridColumn,
|
||||
GridManager,
|
||||
GridToolbar,
|
||||
Image,
|
||||
ImageViewer,
|
||||
IndexBarAnchor,
|
||||
Input,
|
||||
Loading,
|
||||
Message,
|
||||
Modal,
|
||||
Numeric,
|
||||
Pager,
|
||||
|
@ -324,6 +229,8 @@ export {
|
|||
Steps,
|
||||
Switch,
|
||||
TabItem,
|
||||
Tabbar,
|
||||
TabbarItem,
|
||||
Tabs,
|
||||
Tag,
|
||||
TagGroup,
|
||||
|
@ -341,9 +248,7 @@ export default {
|
|||
ActionSheet,
|
||||
Alert,
|
||||
AsyncFlowchart,
|
||||
AutonaviMap,
|
||||
Badge,
|
||||
BaiduMap,
|
||||
Button,
|
||||
CalendarBar,
|
||||
CalendarView,
|
||||
|
@ -351,40 +256,15 @@ export default {
|
|||
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,
|
||||
|
@ -397,16 +277,10 @@ export default {
|
|||
Flowchart,
|
||||
Form,
|
||||
FormItem,
|
||||
Grid,
|
||||
GridColumn,
|
||||
GridManager,
|
||||
GridToolbar,
|
||||
Image,
|
||||
ImageViewer,
|
||||
IndexBarAnchor,
|
||||
Input,
|
||||
Loading,
|
||||
Message,
|
||||
Modal,
|
||||
Numeric,
|
||||
Pager,
|
||||
|
@ -430,6 +304,8 @@ export default {
|
|||
Steps,
|
||||
Switch,
|
||||
TabItem,
|
||||
Tabbar,
|
||||
TabbarItem,
|
||||
Tabs,
|
||||
Tag,
|
||||
TagGroup,
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -28,7 +28,11 @@
|
|||
<span v-else>{{ t('ui.colorSelectPanel.empty') }}</span>
|
||||
</div>
|
||||
</tiny-collapse-item>
|
||||
<tiny-collapse-item :title="t('ui.colorSelectPanel.predefine')" name="predefine" v-if="state.enablePredefineColor">
|
||||
<tiny-collapse-item
|
||||
:title="t('ui.colorSelectPanel.predefine')"
|
||||
name="predefine"
|
||||
v-if="state.enablePredefineColor"
|
||||
>
|
||||
<div class="tiny-color-select-panel__predefine">
|
||||
<div
|
||||
class="tiny-color-select-panel__predefine__color-block"
|
||||
|
@ -37,31 +41,29 @@
|
|||
:style="{
|
||||
background: color
|
||||
}"
|
||||
@click="()=>onPredefineColorClick(color)"
|
||||
>
|
||||
</div>
|
||||
@click="() => onPredefineColorClick(color)"
|
||||
></div>
|
||||
<span v-else>{{ t('ui.colorSelectPanel.empty') }}</span>
|
||||
</div>
|
||||
</tiny-collapse-item>
|
||||
</tiny-collapse>
|
||||
</tiny-collapse>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Button from '@opentiny/vue-button'
|
||||
import ButtonGroup from '@opentiny/vue-button-group'
|
||||
import Collapse from '@opentiny/vue-collapse';
|
||||
import CollapseItem from '@opentiny/vue-collapse-item';
|
||||
import Collapse from '@opentiny/vue-collapse'
|
||||
import CollapseItem from '@opentiny/vue-collapse-item'
|
||||
import Input from '@opentiny/vue-input'
|
||||
import { renderless, api } from '@opentiny/vue-renderless/color-select-panel/vue'
|
||||
import { props, setup, defineComponent,directive } from '@opentiny/vue-common'
|
||||
import { props, setup, defineComponent, directive } from '@opentiny/vue-common'
|
||||
import HueSelect from './components/hue-select'
|
||||
import AlphaSelect from './components/alpha-select';
|
||||
import AlphaSelect from './components/alpha-select'
|
||||
import '@opentiny/vue-theme/color-select-panel/index.less'
|
||||
import Clickoutside from '@opentiny/vue-renderless/common/deps/clickoutside'
|
||||
import { t } from '@opentiny/vue-locale'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
emits: ['update:modelValue', 'cancel', 'confirm', 'hue-update', 'sv-update'],
|
||||
props: [...props, 'modelValue', 'visible', 'alpha', 'history', 'predefine'],
|
||||
|
|
|
@ -12,7 +12,9 @@
|
|||
"@opentiny/vue-common": "workspace:~",
|
||||
"@opentiny/vue-renderless": "workspace:~",
|
||||
"@opentiny/vue-theme": "workspace:~",
|
||||
"@opentiny/vue-locale": "workspace:~",
|
||||
"@opentiny/vue-locale": "workspace:~"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tiptap/core": "^2.1.6",
|
||||
"@tiptap/extension-code-block-lowlight": "^2.0.4",
|
||||
"@tiptap/extension-collaboration": "^2.0.4",
|
||||
|
@ -43,4 +45,4 @@
|
|||
"y-webrtc": "^10.2.5",
|
||||
"yjs": "^13.6.7"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue