{"version":3,"sources":["../../../../src/fields/baseFields/timezone/baseField.ts"],"sourcesContent":["import type { StaticLabel } from '../../../config/types.js'\nimport type { SelectField } from '../../config/types.js'\n\nexport const baseTimezoneField: (\n args: { label?: StaticLabel } & Partial,\n) => SelectField = ({ name, defaultValue, label, options, required }) => {\n return {\n name: name!,\n type: 'select',\n admin: {\n hidden: true,\n },\n defaultValue,\n label,\n options: options!,\n required,\n }\n}\n"],"names":["baseTimezoneField","name","defaultValue","label","options","required","type","admin","hidden"],"mappings":"AAGA,OAAO,MAAMA,oBAEM,CAAC,EAAEC,IAAI,EAAEC,YAAY,EAAEC,KAAK,EAAEC,OAAO,EAAEC,QAAQ,EAAE;IAClE,OAAO;QACLJ,MAAMA;QACNK,MAAM;QACNC,OAAO;YACLC,QAAQ;QACV;QACAN;QACAC;QACAC,SAASA;QACTC;IACF;AACF,EAAC"}