Browse Source

Merge pull request #253380 in DEC/fineui from master to feature/x

* commit 'c527eb9cfd67f9f6bff5ce26522c0ee41fff9863':
  无JIRA任务 补充类型
  无JIRA任务 补充类型
master
superman 1 year ago
parent
commit
bfb51b030d
  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 { NumberInterval } from "./widget/numberinterval/numberinterval";
export { DynamicYearQuarterCombo } from "./widget/yearquarter/combo.yearquarter";
export { YearQuarterInterval } from "./widget/yearquarterinterval/yearquarterinterval";
export { DynamicYearCombo } from "./widget/year/combo.year";
export { DynamicYearPopup } from "./widget/year/popup.year";
export { YearInterval } from "./widget/yearinterval/yearinterval";
export { IntervalSlider } from "./widget/intervalslider/intervalslider";
export { MultiSelectInsertList } from "./widget/multiselectlist/multiselectlist.insert";
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;
};
watermark?: string;
simple?: boolean;
} & Single['props']
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;
} & Single['props'];
getValue(): DynamicDateTimeComboValue;
setMinDate(minDate: string): void;
setMaxDate(minDate: string): void;
@ -39,3 +41,15 @@ export declare class DynamicDateTimeCombo extends Single {
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 { DynamicDataComboValue } from "../dynamicdate/dynamicdate.combo";
import { DynamicDateTimeComboValue } from "../dynamicdatetime/dynamicdatetime.combo";
export declare class TimeInterval extends Single {
static xtype: string;
@ -13,11 +13,11 @@ export declare class TimeInterval extends Single {
supportDynamic?: boolean;
watermark?: string;
simple?: boolean;
} & Single['props']
} & Single['props'];
getValue(): {
start: DynamicDataComboValue;
end: DynamicDataComboValue;
start: DynamicDateTimeComboValue;
end: DynamicDateTimeComboValue;
};
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_BEFORE_POPUPVIEW: string;
getValue(): DynamicYearComboValue;
setMinDate(minDate: 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;
getValue(): DynamicYearMonthComboValue;
setMinDate(minDate: 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 { DynamicYearMonthComboValue } from '../yearmonth/combo.yearmonth';
export declare class YearMonthInterval extends Single {
static xtype: string;
@ -7,9 +8,13 @@ export declare class YearMonthInterval extends Single {
static EVENT_CHANGE: string;
static EVENT_BEFORE_POPUPVIEW: string;
props: {
simple?: boolean;
} & Single['props'];
getValue(): {
start: number;
end: number;
start: DynamicYearMonthComboValue;
end: DynamicYearMonthComboValue;
};
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_BEFORE_POPUPVIEW: string;
getValue(): DynamicYearQuarterComboValue;
setMinDate(minDate: 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