2015-04-30 15:38:01 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
|
|
|
"ui/calendar",
|
|
|
|
"globalize-locales"
|
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "calendar", {
|
2014-06-03 21:18:51 +00:00
|
|
|
defaults: {
|
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,
|
|
|
|
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,
|
|
|
|
showWeek: false,
|
|
|
|
value: null,
|
|
|
|
|
|
|
|
// callbacks
|
|
|
|
create: null,
|
|
|
|
select: null
|
|
|
|
}
|
|
|
|
});
|
2015-04-30 15:38:01 +00:00
|
|
|
|
|
|
|
} );
|