Skip to content

Commit aca2335

Browse files
committed
Merge branch 'dev' of github.com:opentiny/tiny-vue into wyp/table-popeditor-0213
2 parents b46f717 + 9d590aa commit aca2335

File tree

339 files changed

+1246
-582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

339 files changed

+1246
-582
lines changed

examples/sites/demos/apis/calendar-view.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,20 @@ export default {
171171
mode: ['pc', 'mobile-first'],
172172
pcDemo: 'basic-usage',
173173
mfDemo: 'basic-usage'
174+
},
175+
{
176+
name: 'show-back-today',
177+
type: 'boolean',
178+
defaultValue: 'true',
179+
desc: {
180+
'zh-CN': '是否展示左上侧按钮显示,默认展示',
181+
'en-US': 'Should the upper left button be displayed, Default Display'
182+
},
183+
meta: {
184+
stable: '3.22.0'
185+
},
186+
mode: ['mobile-first'],
187+
mfDemo: 'calendar-mode'
174188
}
175189
],
176190
events: [

examples/sites/demos/mobile-first/app/calendar-view/calendar-mode.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<template>
2-
<tiny-calendar-view :events="eventslist" :year="2023" :month="6" :modes="['month', 'timeline', 'schedule']">
2+
<tiny-calendar-view
3+
:show-back-today="false"
4+
:events="eventslist"
5+
:year="2023"
6+
:month="6"
7+
:modes="['month', 'timeline', 'schedule']"
8+
>
39
</tiny-calendar-view>
410
</template>
511

examples/sites/demos/mobile-first/app/calendar-view/webdoc/calendar-view.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ export default {
2222
},
2323
desc: {
2424
'zh-CN':
25-
'<p>通过 <code>mode</code> 属性指定以年的形式显示,将展示当年的每个月份。可选值有 <code>month</code> / <code>timeline</code> / <code>schedule</code>。</p>\n',
25+
'<p>通过 <code>mode</code> 属性指定以年的形式显示,将展示当年的每个月份。可选值有 <code>month</code> / <code>timeline</code> / <code>schedule</code>。通过<code>show-back-today</code> 属性控制左侧按钮显示。</p>\n',
2626
'en-US':
27-
'<p>The <code>mode</code> attribute specifies that each month of the current year is displayed. The options are <code>month</code> / <code>timeline</code> / <code>schedule</code>. </p>\n'
27+
'<p>The <code>mode</code> attribute specifies that each month of the current year is displayed. The options are <code>month</code> / <code>timeline</code> / <code>schedule</code>. Control the display of the left button through the<code>show back today</code>attribute.</p>\n'
2828
},
2929
codeFiles: ['calendar-mode.vue']
3030
},

examples/sites/demos/mobile-first/app/tabs/show-echarts.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
</template>
1111

1212
<script>
13-
import { TinyTabs, TinyTabItem, TinyHuichartsBar, TinyHuichartsGauge } from '@opentiny/vue'
13+
import { TinyTabs, TinyTabItem } from '@opentiny/vue'
14+
import { TinyHuichartsBar, TinyHuichartsGauge } from '@opentiny/vue-huicharts'
1415
1516
export default {
1617
components: {

examples/sites/demos/pc/app/chart/amap/base-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsAmap as TinyAutonaviMap } from '@opentiny/vue'
9+
import { TinyHuichartsAmap as TinyAutonaviMap } from '@opentiny/vue-huicharts'
1010
1111
const options = ref({
1212
key: '4b5f2cf2cba25200cc6b68c398468899',

examples/sites/demos/pc/app/chart/amap/base.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsAmap } from '@opentiny/vue'
8+
import { TinyHuichartsAmap } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/bar/base-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
9+
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'
1010
1111
const options = ref({
1212
data: [

examples/sites/demos/pc/app/chart/bar/base.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsBar } from '@opentiny/vue'
8+
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/bar/demo2-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script setup lang="jsx">
8-
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
8+
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'
99
1010
const options = {
1111
data: [

examples/sites/demos/pc/app/chart/bar/demo2.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsBar } from '@opentiny/vue'
8+
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/bar/demo3-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
9+
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'
1010
1111
const options = ref({
1212
data: [

examples/sites/demos/pc/app/chart/bar/demo3.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsBar } from '@opentiny/vue'
8+
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/bar/demo4-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
9+
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'
1010
1111
const options = ref({
1212
data: [

examples/sites/demos/pc/app/chart/bar/demo4.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsBar } from '@opentiny/vue'
8+
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/bar/demo5-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
9+
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'
1010
1111
const options = ref({
1212
data: [

examples/sites/demos/pc/app/chart/bar/demo5.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsBar } from '@opentiny/vue'
8+
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/bar/demo6-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
9+
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'
1010
1111
const options = ref({
1212
data: [

examples/sites/demos/pc/app/chart/bar/demo6.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsBar } from '@opentiny/vue'
8+
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/bar/demo7-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
9+
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'
1010
const options = ref({
1111
// 双向柱状图形态
1212
type: 'double-sides',

examples/sites/demos/pc/app/chart/bar/demo7.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsBar } from '@opentiny/vue'
8+
import { TinyHuichartsBar } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/base-composition-api.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828

2929
<script setup lang="jsx">
3030
import { ref } from 'vue'
31-
import { TinyHuicharts as TinyChart, TinyButton } from '@opentiny/vue'
31+
import { TinyHuicharts as TinyChart } from '@opentiny/vue-huicharts'
32+
import { TinyButton } from '@opentiny/vue'
3233
3334
const colorMode = ref('default')
3435
const key = ref(0)

examples/sites/demos/pc/app/chart/base.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
</template>
2828

2929
<script lang="jsx">
30-
import { TinyHuicharts, TinyButton } from '@opentiny/vue'
30+
import { TinyHuicharts } from '@opentiny/vue-huicharts'
31+
import { TinyButton } from '@opentiny/vue'
3132
3233
export default {
3334
components: {

examples/sites/demos/pc/app/chart/bmap/base-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsBmap as TinyBaiduMap } from '@opentiny/vue'
9+
import { TinyHuichartsBmap as TinyBaiduMap } from '@opentiny/vue-huicharts'
1010
1111
const options = ref({
1212
key: 'oBvDtR6nzWtVchkY4cLHtnah1VVZQKRK',

examples/sites/demos/pc/app/chart/bmap/base.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsBmap } from '@opentiny/vue'
8+
import { TinyHuichartsBmap } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/boxplot/base-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<script setup lang="jsx">
66
import { ref } from 'vue'
7-
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue'
7+
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue-huicharts'
88
99
const options = ref({
1010
data: [

examples/sites/demos/pc/app/chart/boxplot/base.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</template>
44

55
<script lang="jsx">
6-
import { TinyHuichartsBoxplot } from '@opentiny/vue'
6+
import { TinyHuichartsBoxplot } from '@opentiny/vue-huicharts'
77
88
export default {
99
components: {

examples/sites/demos/pc/app/chart/boxplot/multiple-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<script setup lang="jsx">
66
import { ref } from 'vue'
7-
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue'
7+
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue-huicharts'
88
99
const options = ref({
1010
direction: 'horizontal', // 横向

examples/sites/demos/pc/app/chart/boxplot/multiple.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</template>
44

55
<script lang="jsx">
6-
import { TinyHuichartsBoxplot } from '@opentiny/vue'
6+
import { TinyHuichartsBoxplot } from '@opentiny/vue-huicharts'
77
88
export default {
99
components: {

examples/sites/demos/pc/app/chart/boxplot/vertical-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</template>
44

55
<script setup lang="jsx">
6-
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue'
6+
import { TinyHuichartsBoxplot as TinyChartBoxplot } from '@opentiny/vue-huicharts'
77
import { ref } from 'vue'
88
99
function makeData() {

examples/sites/demos/pc/app/chart/boxplot/vertical.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</template>
44

55
<script lang="jsx">
6-
import { TinyHuichartsBoxplot } from '@opentiny/vue'
6+
import { TinyHuichartsBoxplot } from '@opentiny/vue-huicharts'
77
88
export default {
99
components: {

examples/sites/demos/pc/app/chart/candle/base-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
9+
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'
1010
1111
const baseData = [
1212
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],

examples/sites/demos/pc/app/chart/candle/base.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsCandle } from '@opentiny/vue'
8+
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/candle/demo2-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
9+
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'
1010
1111
const baseData = [
1212
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],

examples/sites/demos/pc/app/chart/candle/demo2.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsCandle } from '@opentiny/vue'
8+
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/candle/demo3-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
9+
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'
1010
1111
const baseData = [
1212
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],

examples/sites/demos/pc/app/chart/candle/demo3.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsCandle } from '@opentiny/vue'
8+
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/candle/demo4-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
9+
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'
1010
1111
const baseData = [
1212
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],

examples/sites/demos/pc/app/chart/candle/demo4.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsCandle } from '@opentiny/vue'
8+
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/candle/demo5-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
9+
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'
1010
1111
const baseData = [
1212
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],

examples/sites/demos/pc/app/chart/candle/demo5.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsCandle } from '@opentiny/vue'
8+
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

examples/sites/demos/pc/app/chart/candle/demo6-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<script setup lang="jsx">
88
import { ref } from 'vue'
9-
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue'
9+
import { TinyHuichartsCandle as TinyChartCandle } from '@opentiny/vue-huicharts'
1010
1111
const baseData = [
1212
['2004-01-05', 10411.85, 10544.07, 10411.85, 10575.92, 221290000],

examples/sites/demos/pc/app/chart/candle/demo6.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<script lang="jsx">
8-
import { TinyHuichartsCandle } from '@opentiny/vue'
8+
import { TinyHuichartsCandle } from '@opentiny/vue-huicharts'
99
1010
export default {
1111
components: {

0 commit comments

Comments
 (0)