Browse Source

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

Merge in VISUAL/fineui from ~OLIVER.KE/fineui:master to master

* commit '831f9e02593485f36a0015add5c4e7b9711c11ef':
  无JIRA任务 补充类型
  无JIRA任务 补充类型
research/test
Oliver.Ke-柯键基 1 year ago
parent
commit
c527eb9cfd
  1. 2
      packages/fineui/typescript/index.ts
  2. 1
      packages/fineui/typescript/widget/dynamicdate/dynamicdate.combo.ts
  3. 14
      packages/fineui/typescript/widget/dynamicdatetime/dynamicdatetime.combo.ts
  4. 8
      packages/fineui/typescript/widget/timeinterval/timeinterval.ts
  5. 9
      packages/fineui/typescript/widget/year/combo.year.ts
  6. 23
      packages/fineui/typescript/widget/yearinterval/yearinterval.ts
  7. 11
      packages/fineui/typescript/widget/yearmonth/combo.yearmonth.ts
  8. 9
      packages/fineui/typescript/widget/yearmonthinterval/yearmonthinterval.ts
  9. 10
      packages/fineui/typescript/widget/yearquarter/combo.yearquarter.ts
  10. 23
      packages/fineui/typescript/widget/yearquarterinterval/yearquarterinterval.ts

2
packages/fineui/typescript/index.ts

@ -167,8 +167,10 @@ export { BubblePopupView, BubblePopupBarView, TextBubblePopupBarView } from "./c
export { ArrowTreeGroupNodeCheckbox } from "./case/checkbox/check.arrownode"; export { ArrowTreeGroupNodeCheckbox } from "./case/checkbox/check.arrownode";
export { NumberInterval } from "./widget/numberinterval/numberinterval"; export { NumberInterval } from "./widget/numberinterval/numberinterval";
export { DynamicYearQuarterCombo } from "./widget/yearquarter/combo.yearquarter"; export { DynamicYearQuarterCombo } from "./widget/yearquarter/combo.yearquarter";
export { YearQuarterInterval } from "./widget/yearquarterinterval/yearquarterinterval";
export { DynamicYearCombo } from "./widget/year/combo.year"; export { DynamicYearCombo } from "./widget/year/combo.year";
export { DynamicYearPopup } from "./widget/year/popup.year"; export { DynamicYearPopup } from "./widget/year/popup.year";
export { YearInterval } from "./widget/yearinterval/yearinterval";
export { IntervalSlider } from "./widget/intervalslider/intervalslider"; export { IntervalSlider } from "./widget/intervalslider/intervalslider";
export { MultiSelectInsertList } from "./widget/multiselectlist/multiselectlist.insert"; export { MultiSelectInsertList } from "./widget/multiselectlist/multiselectlist.insert";
export { YearMonthInterval } from "./widget/yearmonthinterval/yearmonthinterval"; export { YearMonthInterval } from "./widget/yearmonthinterval/yearmonthinterval";

1
packages/fineui/typescript/widget/dynamicdate/dynamicdate.combo.ts

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

14
packages/fineui/typescript/widget/dynamicdatetime/dynamicdatetime.combo.ts

@ -25,6 +25,8 @@ export declare class DynamicDateTimeCombo extends Single {
watermark?: string; watermark?: string;
} & Single['props']; } & Single['props'];
getValue(): DynamicDateTimeComboValue;
setMinDate(minDate: string): void; setMinDate(minDate: string): void;
setMaxDate(minDate: string): void; setMaxDate(minDate: string): void;
@ -39,3 +41,15 @@ export declare class DynamicDateTimeCombo extends Single {
setWaterMark(v: string): void setWaterMark(v: string): void
} }
export interface DynamicDateTimeComboValue {
type: number;
value: {
year: number;
month: number;
day: number;
hour: number;
minute: number;
second: number;
};
}

8
packages/fineui/typescript/widget/timeinterval/timeinterval.ts

@ -1,5 +1,5 @@
import { Single } from "../../base/single/single"; import { Single } from "../../base/single/single";
import { DynamicDataComboValue } from "../dynamicdate/dynamicdate.combo"; import { DynamicDateTimeComboValue } from "../dynamicdatetime/dynamicdatetime.combo";
export declare class TimeInterval extends Single { export declare class TimeInterval extends Single {
static xtype: string; static xtype: string;
@ -13,11 +13,11 @@ export declare class TimeInterval extends Single {
supportDynamic?: boolean; supportDynamic?: boolean;
watermark?: string; watermark?: string;
simple?: boolean; simple?: boolean;
} & Single['props'] } & Single['props'];
getValue(): { getValue(): {
start: DynamicDataComboValue; start: DynamicDateTimeComboValue;
end: DynamicDataComboValue; end: DynamicDateTimeComboValue;
}; };
setMinDate(minDate: string): void; setMinDate(minDate: string): void;

9
packages/fineui/typescript/widget/year/combo.year.ts

@ -7,7 +7,16 @@ export declare class DynamicYearCombo extends Widget {
static EVENT_CONFIRM: string; static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string; static EVENT_BEFORE_POPUPVIEW: string;
getValue(): DynamicYearComboValue;
setMinDate(minDate: string): void; setMinDate(minDate: string): void;
setMaxDate(maxDate: string): void; setMaxDate(maxDate: string): void;
} }
export interface DynamicYearComboValue {
type: number;
value: {
year: number;
};
}

23
packages/fineui/typescript/widget/yearinterval/yearinterval.ts

@ -0,0 +1,23 @@
import { Single } from "../../base/single/single";
import { DynamicYearComboValue } from "../year/combo.year";
export declare class YearInterval extends Single {
static xtype: string;
static EVENT_VALID: string;
static EVENT_ERROR: string;
static EVENT_CHANGE: string;
static EVENT_BEFORE_POPUPVIEW: string;
props: {
simple?: boolean;
} & Single['props'];
getValue(): {
start: DynamicYearComboValue;
end: DynamicYearComboValue;
};
setMinDate(minDate: string): void;
setMaxDate(maxDate: string): void;
}

11
packages/fineui/typescript/widget/yearmonth/combo.yearmonth.ts

@ -12,7 +12,18 @@ export declare class DynamicYearMonthCombo extends Single {
getKey(): string; getKey(): string;
getValue(): DynamicYearMonthComboValue;
setMinDate(minDate: string): void; setMinDate(minDate: string): void;
setMaxDate(maxDate: string): void; setMaxDate(maxDate: string): void;
} }
export interface DynamicYearMonthComboValue {
type: number;
value: {
year: number;
month: number;
};
}

9
packages/fineui/typescript/widget/yearmonthinterval/yearmonthinterval.ts

@ -1,4 +1,5 @@
import { Single } from '../../base/single/single'; import { Single } from '../../base/single/single';
import { DynamicYearMonthComboValue } from '../yearmonth/combo.yearmonth';
export declare class YearMonthInterval extends Single { export declare class YearMonthInterval extends Single {
static xtype: string; static xtype: string;
@ -7,9 +8,13 @@ export declare class YearMonthInterval extends Single {
static EVENT_CHANGE: string; static EVENT_CHANGE: string;
static EVENT_BEFORE_POPUPVIEW: string; static EVENT_BEFORE_POPUPVIEW: string;
props: {
simple?: boolean;
} & Single['props'];
getValue(): { getValue(): {
start: number; start: DynamicYearMonthComboValue;
end: number; end: DynamicYearMonthComboValue;
}; };
setMinDate(minDate: string): void; setMinDate(minDate: string): void;

10
packages/fineui/typescript/widget/yearquarter/combo.yearquarter.ts

@ -5,7 +5,17 @@ export declare class DynamicYearQuarterCombo extends Widget {
static EVENT_CONFIRM: string; static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string; static EVENT_BEFORE_POPUPVIEW: string;
getValue(): DynamicYearQuarterComboValue;
setMinDate(minDate: string): void; setMinDate(minDate: string): void;
setMaxDate(maxDate: string): void; setMaxDate(maxDate: string): void;
} }
export interface DynamicYearQuarterComboValue {
type: number;
value: {
year: number;
quarter: number;
};
}

23
packages/fineui/typescript/widget/yearquarterinterval/yearquarterinterval.ts

@ -0,0 +1,23 @@
import { Single } from "../../base/single/single";
import { DynamicYearQuarterComboValue } from "../yearquarter/combo.yearquarter";
export declare class YearQuarterInterval extends Single {
static xtype: string;
static EVENT_VALID: string;
static EVENT_ERROR: string;
static EVENT_CHANGE: string;
static EVENT_BEFORE_POPUPVIEW: string;
props: {
simple?: boolean;
} & Single['props'];
getValue(): {
start: DynamicYearQuarterComboValue;
end: DynamicYearQuarterComboValue;
};
setMinDate(minDate: string): void;
setMaxDate(maxDate: string): void;
}
Loading…
Cancel
Save