Browse Source

Pull request #2248: 无JIRA任务 补充类型

Merge in VISUAL/fineui from ~YOUKI/fineui:master to master

* commit '7f214cc3563de515a9f621b32fcff0e7c21d602b':
  无JIRA任务 refactor: 补充类型
es6
Youki 3 years ago
parent
commit
6c0d9f8b1d
  1. 12
      typescript/widget/dynamicdate/dynamicdate.combo.ts
  2. 1
      typescript/widget/dynamicdatetime/dynamicdatetime.combo.ts
  3. 9
      typescript/widget/singleselect/singleselect.insert.combo.ts
  4. 6
      typescript/widget/timeinterval/dateinterval.ts
  5. 6
      typescript/widget/timeinterval/timeinterval.ts

12
typescript/widget/dynamicdate/dynamicdate.combo.ts

@ -15,6 +15,18 @@ export declare class DynamicDateCombo extends Single {
static EVENT_BEFORE_POPUPVIEW: string;
static EVENT_BEFORE_YEAR_MONTH_POPUPVIEW: string;
props: {
minDate?: string;
maxDate?: string;
format?: string;
allowEdit?: boolean;
supportDynamic?: boolean;
attributes?: {
tabIndex?: number;
};
watermark?: string;
} & Single['props']
setMinDate(minDate: string): void;
setMaxDate(maxDate: string): void;

1
typescript/widget/dynamicdatetime/dynamicdatetime.combo.ts

@ -22,6 +22,7 @@ export declare class DynamicDateTimeCombo extends Single {
attributes?: {
tabIndex?: number;
};
watermark?: string;
} & Single['props'];
setMinDate(minDate: string): void;

9
typescript/widget/singleselect/singleselect.insert.combo.ts

@ -8,4 +8,13 @@ export declare class SingleSelectInsertCombo extends Single {
static EVENT_SEARCHING: string;
static EVENT_CLICK_ITEM: string;
static EVENT_CONFIRM: string;
props: {
text?: string,
allowNoSelect?: boolean,
itemsCreator?: Function,
valueFormatter?: Function,
allowEdit?: boolean,
watermark?: string,
} & Single['props']
}

6
typescript/widget/timeinterval/dateinterval.ts

@ -8,6 +8,12 @@ export declare class DateInterval extends Single {
static EVENT_ERROR: string;
static EVENT_BEFORE_YEAR_MONTH_POPUPVIEW: string;
props: {
minDate?: string;
maxDate?: string;
supportDynamic?: boolean;
} & Single['props']
getValue(): {
start: DynamicDataComboValue;
end: DynamicDataComboValue;

6
typescript/widget/timeinterval/timeinterval.ts

@ -7,6 +7,12 @@ export declare class TimeInterval extends Single {
static EVENT_VALID: string;
static EVENT_ERROR: string;
props: {
minDate?: string;
maxDate?: string;
supportDynamic?: boolean;
} & Single['props']
getValue(): {
start: DynamicDataComboValue;
end: DynamicDataComboValue;

Loading…
Cancel
Save