{"version":3,"file":"basic-time-spinner.mjs","sources":["../../../../../../../packages/components/time-picker/src/props/basic-time-spinner.ts"],"sourcesContent":["import { buildProps, definePropType } from '@bigin/utils'\nimport { disabledTimeListsProps } from '../props/shared'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { Dayjs } from 'dayjs'\n\nexport const basicTimeSpinnerProps = buildProps({\n  role: {\n    type: String,\n    required: true,\n  },\n  spinnerDate: {\n    type: definePropType<Dayjs>(Object),\n    required: true,\n  },\n  showSeconds: {\n    type: Boolean,\n    default: true,\n  },\n  arrowControl: Boolean,\n  amPmMode: {\n    // 'a': am/pm; 'A': AM/PM\n    type: definePropType<'a' | 'A' | ''>(String),\n    default: '',\n  },\n  ...disabledTimeListsProps,\n} as const)\n\nexport type BasicTimeSpinnerProps = ExtractPropTypes<\n  typeof basicTimeSpinnerProps\n>\n"],"names":[],"mappings":";;;;AAMO,MAAM,wBAAwB,UAAW,CAAA;AAAA,EAC9C,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,QAAU,EAAA,IAAA;AAAA,GACZ;AAAA,EACA,WAAa,EAAA;AAAA,IACX,IAAA,EAAM,eAAsB,MAAM,CAAA;AAAA,IAClC,QAAU,EAAA,IAAA;AAAA,GACZ;AAAA,EACA,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA,EACA,YAAc,EAAA,OAAA;AAAA,EACd,QAAU,EAAA;AAAA,IAER,IAAA,EAAM,eAA+B,MAAM,CAAA;AAAA,IAC3C,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,GAAG,sBAAA;AACL,CAAU;;;;"}