Browse Source

Pull request #2590: 无JIRA 补充类型

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

* commit 'b82dc6c7e9dceb99840203b619448805c93b5f67':
  无JIRA 补充类型
es6
Dailer 3 years ago
parent
commit
e8abc585e8
  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 = { 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 { DownListGroupItem } from "./widget/downlist/item.downlistgroup";
import { VerticalStickyLayout } from "./core/wrapper/layout/sticky/sticky.vertical"; import { VerticalStickyLayout } from "./core/wrapper/layout/sticky/sticky.vertical";
import { HorizontalStickyLayout } from "./core/wrapper/layout/sticky/sticky.horizontal"; import { HorizontalStickyLayout } from "./core/wrapper/layout/sticky/sticky.horizontal";
import { TableLayout } from "./core/wrapper/layout/layout.table";
import './shims-tsx'; import './shims-tsx';
@ -378,6 +379,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
DownListGroupItem: typeof DownListGroupItem; DownListGroupItem: typeof DownListGroupItem;
VerticalStickyLayout: typeof VerticalStickyLayout; VerticalStickyLayout: typeof VerticalStickyLayout;
HorizontalStickyLayout: typeof HorizontalStickyLayout; HorizontalStickyLayout: typeof HorizontalStickyLayout;
TableLayout: typeof TableLayout;
} }
export default { export default {
@ -570,4 +572,5 @@ export {
DownListGroupItem, DownListGroupItem,
HorizontalStickyLayout, HorizontalStickyLayout,
VerticalStickyLayout, VerticalStickyLayout,
TableLayout,
}; };

Loading…
Cancel
Save