2015-04-30 15:38:01 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
|
|
|
"ui/datepicker",
|
|
|
|
"globalize-locales"
|
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "datepicker", {
|
2013-01-02 22:37:26 +00:00
|
|
|
defaults: {
|
2014-06-03 21:18:51 +00:00
|
|
|
appendTo: null,
|
2014-06-19 22:13:20 +00:00
|
|
|
buttons: [],
|
2015-04-30 15:38:01 +00:00
|
|
|
classes: {},
|
2014-06-03 21:18:51 +00:00
|
|
|
disabled: false,
|
2015-07-28 21:10:16 +00:00
|
|
|
dateFormat: { date: "short" },
|
2014-06-03 21:18:51 +00:00
|
|
|
eachDay: $.noop,
|
2015-04-30 11:06:56 +00:00
|
|
|
labels: {
|
|
|
|
"datePickerRole": "date picker",
|
|
|
|
"nextText": "Next",
|
|
|
|
"prevText": "Prev",
|
|
|
|
"weekHeader": "Wk"
|
|
|
|
},
|
|
|
|
locale: "en",
|
2014-06-04 17:07:23 +00:00
|
|
|
max: null,
|
|
|
|
min: null,
|
2014-06-03 21:18:51 +00:00
|
|
|
numberOfMonths: 1,
|
|
|
|
position: {
|
|
|
|
my: "left top",
|
|
|
|
at: "left bottom"
|
|
|
|
},
|
|
|
|
show: true,
|
|
|
|
showWeek: false,
|
|
|
|
hide: true,
|
|
|
|
|
|
|
|
// callbacks
|
|
|
|
beforeOpen: null,
|
|
|
|
close: null,
|
|
|
|
create: null,
|
|
|
|
open: null,
|
|
|
|
select: null
|
2013-01-02 22:37:26 +00:00
|
|
|
}
|
|
|
|
});
|
2015-04-30 15:38:01 +00:00
|
|
|
|
|
|
|
} );
|