Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

71 строка
2.1 KiB

  1. import { defineMixin } from '../../libs/vue'
  2. import CalendarStripDefaultProps from './calendarStrip'
  3. import { registerComponentProps } from '../../libs/config/props.js'
  4. const defProps = registerComponentProps(CalendarStripDefaultProps)
  5. export const props = defineMixin({
  6. props: {
  7. modelValue: {
  8. type: [String, Number, Date, null],
  9. default: () => defProps.calendarStrip.modelValue
  10. },
  11. minDate: {
  12. type: [String, Number],
  13. default: () => defProps.calendarStrip.minDate
  14. },
  15. maxDate: {
  16. type: [String, Number],
  17. default: () => defProps.calendarStrip.maxDate
  18. },
  19. color: {
  20. type: String,
  21. default: () => defProps.calendarStrip.color
  22. },
  23. weekText: {
  24. type: Array,
  25. default: () => defProps.calendarStrip.weekText
  26. },
  27. fullCalendar: {
  28. type: Boolean,
  29. default: () => defProps.calendarStrip.fullCalendar
  30. },
  31. fullCalendarProps: {
  32. type: Object,
  33. default: () => defProps.calendarStrip.fullCalendarProps
  34. },
  35. fullMonthNum: {
  36. type: [String, Number],
  37. default: () => defProps.calendarStrip.fullMonthNum
  38. },
  39. pullDownThreshold: {
  40. type: [String, Number],
  41. default: () => defProps.calendarStrip.pullDownThreshold
  42. },
  43. collapseAfterSelect: {
  44. type: Boolean,
  45. default: () => defProps.calendarStrip.collapseAfterSelect
  46. },
  47. readonly: {
  48. type: Boolean,
  49. default: () => defProps.calendarStrip.readonly
  50. },
  51. showToday: {
  52. type: Boolean,
  53. default: () => defProps.calendarStrip.showToday
  54. },
  55. monthFormat: {
  56. type: String,
  57. default: () => defProps.calendarStrip.monthFormat
  58. },
  59. expandHint: {
  60. type: String,
  61. default: () => defProps.calendarStrip.expandHint
  62. },
  63. collapseHint: {
  64. type: String,
  65. default: () => defProps.calendarStrip.collapseHint
  66. }
  67. }
  68. })