jupyter-vuetify
Version:
Jupyter widgets based on vuetify UI components
32 lines (28 loc) • 1.41 kB
JavaScript
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import { VuetifyWidgetModel } from './VuetifyWidget';
export class CalendarWeeklyModel extends VuetifyWidgetModel {
defaults() {
return _objectSpread({}, super.defaults(), {
_model_name: 'CalendarWeeklyModel',
color: null,
dark: null,
end: null,
hide_header: null,
light: null,
locale: null,
min_weeks: null,
now: null,
short_months: null,
short_weekdays: null,
show_month_on_first: null,
start: null,
weekdays: undefined
});
}
getVueTag() {
// eslint-disable-line class-methods-use-this
return 'v-calendar-weekly';
}
}
CalendarWeeklyModel.serializers = _objectSpread({}, VuetifyWidgetModel.serializers);