Browse Source

无JIRA 补充类型

es6
zsmj 3 years ago
parent
commit
b82dc6c7e9
  1. 2
      typescript/core/utils/chinesePY.ts
  2. 12
      typescript/core/wrapper/layout/layout.table.ts
  3. 3
      typescript/index.ts

2
typescript/core/utils/chinesePY.ts

@ -1,3 +1,3 @@
export type _chinesePY = {
makeFirstPY: (str: string, options: { ignoreMulti?: boolean, splitChar?: string }) => string
makeFirstPY: (str: string, options?: { ignoreMulti?: boolean, splitChar?: string }) => string
}

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

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

3
typescript/index.ts

@ -185,6 +185,7 @@ import { SelectTreeExpander } from './widget/selecttree/selecttree.expander';
import { DownListGroupItem } from "./widget/downlist/item.downlistgroup";
import { VerticalStickyLayout } from "./core/wrapper/layout/sticky/sticky.vertical";
import { HorizontalStickyLayout } from "./core/wrapper/layout/sticky/sticky.horizontal";
import { TableLayout } from "./core/wrapper/layout/layout.table";
import './shims-tsx';
@ -378,6 +379,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
DownListGroupItem: typeof DownListGroupItem;
VerticalStickyLayout: typeof VerticalStickyLayout;
HorizontalStickyLayout: typeof HorizontalStickyLayout;
TableLayout: typeof TableLayout;
}
export default {
@ -570,4 +572,5 @@ export {
DownListGroupItem,
HorizontalStickyLayout,
VerticalStickyLayout,
TableLayout,
};

Loading…
Cancel
Save