import DateRangePickerOptions from '~/interfaces/DateRangePickerOptions'; /** * Initialize date range picker. * @param {string|HTMLInputElement} element CSS selector string or HTMLInputElement. * @param {string} options.minDate? The earliest date a user may select. Default is none (undefined). * @param {string} options.maxDate? The latest date a user may select. Default is none (undefined). * @param {number} options.maxDays? Maximum number of days that can be selected. Default is indefinite (undefined). * @param {string} options.locale? Language Code (ja, en, etc.). Default is none (undefined). * @param {string} options.format? Date Format. Default is 'YYYY/M/D'. * @param {string} options.language.applyLabel? Apply button text. Default is 'Apply'. * @param {string} options.language.cancelLabel? Cancel button text. Default is 'Cancel'. * @param {boolean} options.autoUpdateInput? Indicates whether the date range picker should automatically update the value of the element it's attached to at initialization and when the selected dates change. Default is true. * @return {daterangepicker} daterangepicker instance. * @example * HTML: * ```html * *