import weekSelectPlugin from "flatpickr/dist/plugins/weekSelect/weekSelect";
import { Picker } from "./picker";
export class WeekPicker extends Picker {
    constructor(language, change, dateFormat = '[w] W GGGG') {
        super(language, change, dateFormat);
    }
    getConfig(nativePicker) {
        const config = {};
        if (!nativePicker) {
            config.plugins = [weekSelectPlugin()];
            config.weekNumbers = true;
        }
        return config;
    }
}
