diff --git a/typescript/case/segment/segment.ts b/typescript/case/segment/segment.ts new file mode 100644 index 000000000..721f04b2e --- /dev/null +++ b/typescript/case/segment/segment.ts @@ -0,0 +1,8 @@ +import { Widget } from "../../core/widget"; + +export declare class Segment extends Widget { + static xtype: string; + static EVENT_CHANGE: string; + + setEnabledValue(v: any): void; +} diff --git a/typescript/index.ts b/typescript/index.ts index dae3dfb93..893b66584 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -146,6 +146,7 @@ import { MultiSelectInsertList } from "./widget/multiselectlist/multiselectlist. import { YearMonthInterval } from "./widget/yearmonthinterval/yearmonthinterval"; import { NumberEditor } from "./widget/numbereditor/numbereditor"; import { TextValueCheckCombo } from "./case/combo/textvaluecheckcombo/combo.textvaluecheck"; +import { Segment } from "./case/segment/segment"; import { LinearSegment } from "./case/linersegment/linear.segment"; import { Img } from "./base/single/img/img"; import { EditorIconCheckCombo } from "./case/combo/editoriconcheckcombo/combo.editiconcheck"; @@ -345,6 +346,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { YearMonthInterval: typeof YearMonthInterval; TextValueCheckCombo: typeof TextValueCheckCombo; NumberEditor: typeof NumberEditor; + Segment: typeof Segment; LinearSegment: typeof LinearSegment; Img: typeof Img; EditorIconCheckCombo: typeof EditorIconCheckCombo; @@ -534,6 +536,7 @@ export { YearMonthInterval, TextValueCheckCombo, NumberEditor, + Segment, LinearSegment, Img, EditorIconCheckCombo,