/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface Picker { /** * 标题。 */ title?: string; /** * String[] 时表示可选择的字符串列表;Object[] 时需指定 range-key 表示可选择的字段。 */ range?: { [k: string]: unknown; }; /** * 当 range 为 Object[] 时,通过 range-key 来指定 Object 中 key 的值作为选择器显示内容。 */ "range-key"?: string; /** * 表示选择了 range 中的第几个(下标从 0 开始)。 */ value?: number; /** * value 改变时触发,event.detail = {value: value}。 */ onChange?: () => void; /** * 是否禁用。 */ disabled?: boolean; }