You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
541 B
21 lines
541 B
import DatePickPanel from './date-picker-com/panel-date-pick.mjs';
|
|
import DateRangePickPanel from './date-picker-com/panel-date-range.mjs';
|
|
import MonthRangePickPanel from './date-picker-com/panel-month-range.mjs';
|
|
|
|
const getPanel = function(type) {
|
|
switch (type) {
|
|
case "daterange":
|
|
case "datetimerange": {
|
|
return DateRangePickPanel;
|
|
}
|
|
case "monthrange": {
|
|
return MonthRangePickPanel;
|
|
}
|
|
default: {
|
|
return DatePickPanel;
|
|
}
|
|
}
|
|
};
|
|
|
|
export { getPanel };
|
|
//# sourceMappingURL=panel-utils.mjs.map
|
|
|