Browse Source

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

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

* commit 'e158ba4acc1ab20fe0b519b449c58eec5051f082':
  无JIRA任务 refactor: 补充类型
es6
Youki 3 years ago
parent
commit
e6fb7d6c53
  1. 2
      typescript/case/combo/textvaluecheckcombo/popup.textvaluecheck.ts
  2. 11
      typescript/case/toolbar/toolbar.multiselect.ts
  3. 12
      typescript/core/wrapper/layout/layout.td.ts
  4. 3
      typescript/index.ts

2
typescript/case/combo/textvaluecheckcombo/popup.textvaluecheck.ts

@ -6,5 +6,5 @@ export declare class TextValueCheckComboPopup extends Pane {
populate(items: any[]): void; populate(items: any[]): void;
getValue(): any; getValue(): any;
setValue(): void; setValue(v: any): void;
} }

11
typescript/case/toolbar/toolbar.multiselect.ts

@ -4,6 +4,17 @@ export declare class MultiSelectBar extends BasicButton {
static xtype: string; static xtype: string;
static EVENT_CHANGE: string; static EVENT_CHANGE: string;
props: {
text: string;
isAllCheckedBySelectedValue: Function;
disableSelected: boolean;
isHalfCheckedBySelectedValue: Function;
halfSelected: boolean;
iconWrapperWidth: number;
iconWidth: number;
iconHeight: number;
} & BasicButton['props'];
props: { props: {
text: string; text: string;

12
typescript/core/wrapper/layout/layout.td.ts

@ -0,0 +1,12 @@
import { Layout } from '../layout';
export declare class TdLayout extends Layout {
static xtype: string;
props: {
columnSize: number[];
rowSize: number[];
verticalAlign: 'middle' | 'top' | 'bottom' | 'stretch';
horizontalAlign: 'left' | 'right' | 'center' | 'stretch';
}
}

3
typescript/index.ts

@ -173,6 +173,7 @@ import { SingleSelectInsertList } from './widget/singleselect/singleselectlist.i
import { MultiSelectTree } from './widget/multiselecttree/multiselecttree'; import { MultiSelectTree } from './widget/multiselecttree/multiselecttree';
import { HtmlLabel } from "./base/single/label/html.label"; import { HtmlLabel } from "./base/single/label/html.label";
import { TreeValueChooserPane } from './component/treevaluechooser/pane.treevaluechooser'; import { TreeValueChooserPane } from './component/treevaluechooser/pane.treevaluechooser';
import { TdLayout } from './core/wrapper/layout/layout.td';
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
@ -353,6 +354,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
MultiSelectTree: typeof MultiSelectTree; MultiSelectTree: typeof MultiSelectTree;
HtmlLabel: typeof HtmlLabel; HtmlLabel: typeof HtmlLabel;
TreeValueChooserPane: typeof TreeValueChooserPane; TreeValueChooserPane: typeof TreeValueChooserPane;
TdLayout: typeof TdLayout;
} }
export default { export default {
@ -533,4 +535,5 @@ export {
MultiSelectTree, MultiSelectTree,
HtmlLabel, HtmlLabel,
TreeValueChooserPane, TreeValueChooserPane,
TdLayout,
}; };

Loading…
Cancel
Save