Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
55c322c
docs: update release notes (#397)
kagol Aug 17, 2023
b6e7939
fix Playground Page (#399)
shenjunjian Aug 17, 2023
194df1f
fix(sites): fix (#400)
shenjunjian Aug 17, 2023
8a972cf
feat(release): delete color-picker
zzcr Aug 17, 2023
060aab7
feat(release): delete color-picker
zzcr Aug 17, 2023
fe58760
feat(release): fix grid tips contentMethod
zzcr Aug 18, 2023
7a410e7
fix(playground): fix process.env \ changeVersion \sortablejs bugs (…
shenjunjian Aug 21, 2023
770149d
fix(sites): fix grid demo api link jump error url (#421)
gimmyhehe Aug 21, 2023
7162ac5
fix(form-demo): add form validateField api demo (#424)
gimmyhehe Aug 21, 2023
2f61b95
fix: fix demo import vue-modal; fix playground share (#428)
shenjunjian Aug 22, 2023
8dcf029
fix: import Modal (#430)
shenjunjian Aug 22, 2023
1f8ade7
fix(select): Fix label not displaying correctly when using optimizati…
MomoPoppy Aug 22, 2023
0da300c
fix(search): the enter bug of the search component is fixed (#439)
chenxi-20 Aug 23, 2023
056f12e
feat(release): fix grid watch data
zzcr Aug 24, 2023
898c45d
feat(grid): fix grid custom tooltip
zzcr Aug 24, 2023
f4c5973
fix: fix grid pager events
zzcr Aug 29, 2023
bdbb188
docs: fix the problem of missing container component style (#453)
kagol Aug 31, 2023
fbfa551
fix(checkbox): fix checkbox selected icon bug close #450 (#451)
gimmyhehe Aug 31, 2023
5dbb699
fix: fix input attrs id
zzcr Sep 1, 2023
3884661
fix(slider): fix slider range demo bug
zzcr Sep 1, 2023
44e4fc6
fix: fix when datetime component in dialog-box, the popper scroll awa…
shenjunjian Sep 3, 2023
279f336
fix(mobile-tabbar): fixed a tabbar component switchover issue on the …
chenxi-20 Sep 4, 2023
16dae49
fix(slider): fix upload destory bug
zzcr Sep 6, 2023
4d66cf2
fix(smb-theme): smb theme change fix (#469)
gimmyhehe Sep 8, 2023
b34bdb1
fix(checkbox): fix checkbox group wrap (#467)
gimmyhehe Sep 8, 2023
b42738d
fix(dropdown): Fix the issue of incorrect theme icons for Dropdown co…
MomoPoppy Sep 8, 2023
adf9d90
fix(dropdown-item): (#472)
MomoPoppy Sep 8, 2023
ea53ded
fix(button): button smb theme change fix (#470)
gimmyhehe Sep 8, 2023
ee5e6f5
fix(playground): fix jump to incorrect demo (#466)
gimmyhehe Sep 8, 2023
1d93f28
fix(link): smb theme change fix (#474)
gimmyhehe Sep 8, 2023
c485da2
fix(theme): smb theme change fix (#480)
gimmyhehe Sep 11, 2023
3e19c40
fix(grid): fix grid checkbox radio x-design theme
zzcr Sep 11, 2023
8bb8e4b
chore(ts): change code style for import ts type (#511)
gimmyhehe Sep 25, 2023
913342c
fix(Cascader, DropDown, Popeditor): fixed Cascader component panel no…
yoyo201626 Sep 25, 2023
460c5f6
fix(popper): fix popper element offset error in micro-app (#570)
gimmyhehe Oct 10, 2023
0feddf2
feat: update code
zzcr Oct 23, 2023
7b64c67
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 23, 2023
06ac1b5
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 23, 2023
eb366ad
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 23, 2023
4863d34
fix(docs): add support vue2.7 docs (#630)
shenjunjian Oct 24, 2023
aeacb6f
fix: fix color-picker error
zzcr Oct 24, 2023
eb20bed
Merge branch 'release' of github.com:opentiny/tiny-vue into release
zzcr Oct 24, 2023
77f7125
docs: update changelog v3.11.0 (#629)
kagol Oct 24, 2023
9fac7c5
fix: update site version
zzcr Oct 24, 2023
485687a
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 24, 2023
ce52fd0
feat(site): add pnpm importPlugin docs
zzcr Oct 24, 2023
10efe3e
fix(dialog-box): recover dialog-box's css (#633)
shenjunjian Oct 24, 2023
def1d14
docs(calendar-view): add calendar-view composition api demos (#635)
kagol Oct 24, 2023
c98e08a
Release recover css (#637)
shenjunjian Oct 24, 2023
0828015
feat: add divider composition-api demo
zzcr Oct 24, 2023
5350999
Merge branch 'release' of github.com:opentiny/tiny-vue into release
zzcr Oct 24, 2023
8d36562
fix(layout): fix layout styles
zzcr Oct 24, 2023
fcedd24
fix(checkbox): fix checkbox style (#640)
gimmyhehe Oct 25, 2023
3c9497b
feat(playground): optimize the playground UI style (#638)
shenjunjian Oct 25, 2023
6c436e3
fix(rich-text-editor): Change the display of event triggered Demo, fi…
shonen7 Oct 25, 2023
a2a0750
fix(rich-text-editor): remove Collaboration function, remove the depe…
shenjunjian Oct 25, 2023
6efb48f
Fix bugs of dialog-box, tabbar and tree-menu (#643)
Huangyilin19 Oct 25, 2023
8c2e8dd
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 25, 2023
ce244c5
fix(rich-text-editor): Enable History Mode;Fix Console Warning (#651)
shonen7 Oct 25, 2023
b6de6a5
Hyl fixbug 2310 (#654)
Huangyilin19 Oct 25, 2023
5451f94
fix(dialog-box): fix the right dialog-box's layout to flex layout (#…
shenjunjian Oct 25, 2023
ab55d43
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 25, 2023
c3ae0ca
feat(site): update docs
zzcr Oct 25, 2023
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<template>
<tiny-calendar-view :events="eventslist" :year="2023" :month="5"></tiny-calendar-view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { CalendarView as TinyCalendarView } from '@opentiny/vue'

const eventslist = ref([
{
title: '前端周会1',
start: '2023-05-15 8:30:00',
end: '2023-05-15 9:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'blue'
},
{
title: '前端周会2',
start: '2023-05-15 10:00:00',
end: '2023-05-15 12:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'green'
},
{
title: '前端周会2-1',
start: '2023-05-15 13:00:00',
end: '2023-05-15 15:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'red'
},
{
title: '前端周会3',
start: '2023-05-16 9:00:00',
end: '2023-05-16 10:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'yellow'
},
{
title: '前端周会4',
start: '2023-05-16 11:00:00',
end: '2023-05-16 14:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'purple'
},
{
title: '前端周会5',
start: '2023-05-25 8:00:00',
end: '2023-05-25 9:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'cyan'
},
{
title: '前端周会6',
start: '2023-05-26 8:00:00',
end: '2023-05-26 11:30:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'blue'
},
{
title: '前端周会7',
start: '2023-05-27 8:30:00',
end: '2023-05-27 9:30:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'blue'
},
{
title: '节假日25-28',
start: '2023-05-25 10:30:00',
end: '2023-05-28 03:30:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'green'
}
])
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<template>
<tiny-calendar-view
:events="eventslist"
:year="2023"
:month="5"
mode="timeline"
:show-mark="showMark"
mark-color="red"
>
</tiny-calendar-view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { CalendarView as TinyCalendarView } from '@opentiny/vue'

const eventslist = ref([])

const showMark = (date) => {
return date.split('-')[2] < 10
}
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<template>
<tiny-calendar-view :events="eventslist" :year="2023" :month="5" :disabled="disabled"></tiny-calendar-view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { CalendarView as TinyCalendarView } from '@opentiny/vue'

const eventslist = ref([])

const disabled = (date) => {
return date.split('-')[2] < 5
}
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<template>
<tiny-calendar-view
:events="eventslist"
:year="2023"
:month="5"
@prev-week-click="prevWeekClick"
@next-week-click="nextWeekClick"
@week-change="weekChange"
@year-change="yearChange"
@month-change="monthChange"
>
</tiny-calendar-view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { CalendarView as TinyCalendarView } from '@opentiny/vue'

const eventslist = ref([])

const prevWeekClick = (date) => {
console.log(date)
}

const nextWeekClick = (date) => {
console.log(date)
}

const weekChange = (oldVal, newVal) => {
console.log(oldVal, newVal)
}

const yearChange = (oldVal, newVal) => {
console.log(oldVal, newVal)
}

const monthChange = (oldVal, newVal) => {
console.log(oldVal, newVal)
}
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<template>
<tiny-calendar-view :events="eventslist" :year="2023" :month="6" :modes="['month', 'timeline', 'schedule']">
</tiny-calendar-view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { CalendarView as TinyCalendarView } from '@opentiny/vue'

const eventslist = ref([])
</script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<template>
<tiny-calendar-view
:events="eventslist"
mode="schedule"
:modes="['schedule', 'timeline']"
:year="2023"
:month="5"
:show-new-schedule="showNewSchedule"
@new-schedule="newSchedule"
>
<template #weekday1="{ slotScope }">
<div v-for="(event, index) in slotScope.events" :key="index" class="event">
<p class="title">{{ event.title }}</p>
<p class="content">{{ event.content }}</p>
</div>
</template>
<template #weekday2="{ slotScope }">
<div v-for="(event, index) in slotScope.events" :key="index" class="event">
<p class="title">{{ event.title }}</p>
<p class="content">{{ event.content }}</p>
</div>
</template>
</tiny-calendar-view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { CalendarView as TinyCalendarView } from '@opentiny/vue'

const eventslist = ref([
{
title: '前端周会1',
start: '2023-05-15 8:30:00',
end: '2023-05-15 9:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'blue'
},
{
title: '前端周会2',
start: '2023-05-15 10:00:00',
end: '2023-05-15 12:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'green'
},
{
title: '前端周会2-1',
start: '2023-05-15 13:00:00',
end: '2023-05-15 15:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'red'
},
{
title: '前端周会3',
start: '2023-05-16 9:00:00',
end: '2023-05-16 10:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'yellow'
},
{
title: '前端周会4',
start: '2023-05-16 11:00:00',
end: '2023-05-16 14:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'purple'
},
{
title: '前端周会5',
start: '2023-05-25 8:00:00',
end: '2023-05-25 9:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'cyan'
},
{
title: '前端周会6',
start: '2023-05-26 8:00:00',
end: '2023-05-26 11:30:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'blue'
},
{
title: '前端周会7',
start: '2023-05-27 8:30:00',
end: '2023-05-27 9:30:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'blue'
},
{
title: '节假日25-28',
start: '2023-05-25 10:30:00',
end: '2023-05-28 03:30:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'green'
}
])

const showNewSchedule = (date) => {
return true
}

const newSchedule = (date) => {
const event = {
title: '新增事件' + date,
start: date + ' 10:30:00',
end: date + ' 12:30:00',
content: '新增事件随机事件 新增事件随机事件 新增事件随机事件 新增事件随机事件 ',
theme: 'blue'
}

eventslist.value.push(event)
}
</script>

<style scoped>
.event .title {
font-size: 14px;
margin-bottom: 4px;
}
.event .content {
font-size: 12px;
}
</style>
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<template>
<tiny-calendar-view :events="eventslist" mode="timeline" :modes="[]" :year="2023" :month="5" :day-times="[10, 20]">
</tiny-calendar-view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { CalendarView as TinyCalendarView } from '@opentiny/vue'

const eventslist = ref([
{
title: '前端周会1',
start: '2023-05-15 8:30:00',
end: '2023-05-15 9:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'blue'
},
{
title: '前端周会2',
start: '2023-05-15 10:00:00',
end: '2023-05-15 12:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'green'
},
{
title: '前端周会2-1',
start: '2023-05-15 13:00:00',
end: '2023-05-15 15:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'red'
},
{
title: '前端周会3',
start: '2023-05-16 9:00:00',
end: '2023-05-16 10:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'yellow'
},
{
title: '前端周会4',
start: '2023-05-16 11:00:00',
end: '2023-05-16 14:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'purple'
},
{
title: '前端周会5',
start: '2023-05-25 8:00:00',
end: '2023-05-25 9:00:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'cyan'
},
{
title: '前端周会6',
start: '2023-05-26 8:00:00',
end: '2023-05-26 11:30:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'blue'
},
{
title: '前端周会7',
start: '2023-05-27 8:30:00',
end: '2023-05-27 9:30:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'blue'
},
{
title: '节假日25-28',
start: '2023-05-25 10:30:00',
end: '2023-05-28 03:30:00',
content: '日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注日程备注',
theme: 'green'
}
])
</script>
Loading