From 8e2230574304ba2ff7b316c1934e11793b4e6b88 Mon Sep 17 00:00:00 2001 From: "Oliver.Ke" Date: Wed, 9 Mar 2022 10:03:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/case/segment/segment.ts | 8 ++++++++ typescript/index.ts | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 typescript/case/segment/segment.ts 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,