|
|
@ -28,7 +28,7 @@ export class DynamicDateCombo extends Single { |
|
|
|
static EVENT_ERROR = "EVENT_ERROR"; |
|
|
|
static EVENT_ERROR = "EVENT_ERROR"; |
|
|
|
static EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; |
|
|
|
static EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; |
|
|
|
static EVENT_BEFORE_YEAR_MONTH_POPUPVIEW = "EVENT_BEFORE_YEAR_MONTH_POPUPVIEW"; |
|
|
|
static EVENT_BEFORE_YEAR_MONTH_POPUPVIEW = "EVENT_BEFORE_YEAR_MONTH_POPUPVIEW"; |
|
|
|
|
|
|
|
|
|
|
|
static Static = 1; |
|
|
|
static Static = 1; |
|
|
|
static Dynamic = 2; |
|
|
|
static Dynamic = 2; |
|
|
|
|
|
|
|
|
|
|
@ -51,6 +51,7 @@ export class DynamicDateCombo extends Single { |
|
|
|
attributes: { |
|
|
|
attributes: { |
|
|
|
tabIndex: -1, |
|
|
|
tabIndex: -1, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
supportWorkDay: true, |
|
|
|
isNeedAdjustHeight: false, |
|
|
|
isNeedAdjustHeight: false, |
|
|
|
isNeedAdjustWidth: false, |
|
|
|
isNeedAdjustWidth: false, |
|
|
|
isPreview: false, // 是否是预览状态
|
|
|
|
isPreview: false, // 是否是预览状态
|
|
|
@ -204,6 +205,7 @@ export class DynamicDateCombo extends Single { |
|
|
|
isPreview: opts.isPreview, |
|
|
|
isPreview: opts.isPreview, |
|
|
|
width: opts.isNeedAdjustWidth ? opts.width : undefined, |
|
|
|
width: opts.isNeedAdjustWidth ? opts.width : undefined, |
|
|
|
supportDynamic: opts.supportDynamic, |
|
|
|
supportDynamic: opts.supportDynamic, |
|
|
|
|
|
|
|
supportWorkDay: opts.supportWorkDay, |
|
|
|
behaviors: opts.behaviors, |
|
|
|
behaviors: opts.behaviors, |
|
|
|
min: opts.minDate, |
|
|
|
min: opts.minDate, |
|
|
|
max: opts.maxDate, |
|
|
|
max: opts.maxDate, |
|
|
|