import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';

const EventBookingAvailabilityCalendarMeta: IPublicTypeComponentMetadata = {
  componentName: 'EventBookingAvailabilityCalendar',
  title: '预约可用性日历',
  category: '数据展示',
  docUrl: '',
  screenshot: '',
  devMode: 'proCode',
  npm: {
    package: '@pisell/private-materials',
    version: '1.0.4',
    exportName: 'EventBookingAvailabilityCalendar',
    main: 'src/index.ts',
    destructuring: true,
    subName: '',
  },
  configure: {
    props: [
      {
        name: 'showCalendarPopup',
        title: { label: '显示日历弹窗', tip: 'showCalendarPopup | 显示日历弹窗' },
        setter: 'BoolSetter',
      },
    ],
    supports: {
      style: true,
      events: [
      ],
    },
    component: {
      isContainer: true,
    },
  },
};

const snippets: IPublicTypeSnippet[] = [
  {
    title: '预约可用性日历',
    screenshot: '',
    schema: {
      componentName: 'EventBookingAvailabilityCalendar',
      props: {
        showCalendarPopup: true
      },
    },
  },
];

export default {
  ...EventBookingAvailabilityCalendarMeta,
  snippets,
};