@icos-desktop/react-components 1.2.0-beta.6 → 1.2.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/icos-desktop.d.ts +33 -6
- package/dist/icos-desktop.js +2724 -2666
- package/dist/icos-desktop.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/icos-desktop.d.ts
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
import { TableProps, TreeSelectProps } from '@xirang/design-antd';
|
2
2
|
export { App, ConfigProvider } from '@xirang/design-antd';
|
3
|
+
export { default as Provider } from '@/themes/Provider';
|
3
4
|
import React from 'react';
|
5
|
+
import { ButtonProps } from 'antd/es/button/button';
|
4
6
|
import { IcosDesktopType } from '@/global';
|
5
7
|
|
6
8
|
interface BookGroupTableProps {
|
@@ -132,7 +134,7 @@ interface ProTableProps extends TableProps {
|
|
132
134
|
}[];
|
133
135
|
}
|
134
136
|
|
135
|
-
declare const
|
137
|
+
declare const _default: React.NamedExoticComponent<ProTableProps>;
|
136
138
|
|
137
139
|
interface RegionTreeSelectProps extends TreeSelectProps {
|
138
140
|
regionId?: string;
|
@@ -277,6 +279,30 @@ interface SenseImportProps {
|
|
277
279
|
* 台账组编码
|
278
280
|
*/
|
279
281
|
bookGroupId: string;
|
282
|
+
/**
|
283
|
+
* 确定按钮文字
|
284
|
+
*/
|
285
|
+
okText?: React.ReactNode;
|
286
|
+
/**
|
287
|
+
* 取消按钮文字
|
288
|
+
*/
|
289
|
+
cancelText?: React.ReactNode;
|
290
|
+
/**
|
291
|
+
* 确定按钮属性
|
292
|
+
*/
|
293
|
+
okButtonProps?: ButtonProps;
|
294
|
+
/**
|
295
|
+
* 取消按钮属性
|
296
|
+
*/
|
297
|
+
cancelButtonProps?: ButtonProps;
|
298
|
+
/**
|
299
|
+
* 点击取消按钮
|
300
|
+
*/
|
301
|
+
onCancel?: () => void;
|
302
|
+
/**
|
303
|
+
* 保存成功
|
304
|
+
*/
|
305
|
+
onSuccess?: () => void;
|
280
306
|
}
|
281
307
|
|
282
308
|
declare const SenseImport: React.ForwardRefExoticComponent<SenseImportProps & React.RefAttributes<SenseImportRef>>;
|
@@ -326,6 +352,11 @@ interface SenseManagerProps {
|
|
326
352
|
* 显示实体记录列表
|
327
353
|
*/
|
328
354
|
showSenseTable?: boolean;
|
355
|
+
/**
|
356
|
+
* 显示导入数据按钮
|
357
|
+
* @description 默认打开台账组导入,可按视图配置对应为台账导入/台账组导入
|
358
|
+
*/
|
359
|
+
showImportButton?: boolean | Record<string, 'book' | 'bookGroup'>;
|
329
360
|
/**
|
330
361
|
* 台账功能
|
331
362
|
*/
|
@@ -371,10 +402,6 @@ interface SenseManagerProps {
|
|
371
402
|
* @param record
|
372
403
|
*/
|
373
404
|
onDoubleClickSense?: (record: any) => void;
|
374
|
-
/**
|
375
|
-
* 点击导入数据按钮
|
376
|
-
*/
|
377
|
-
onClickImportData?: () => void;
|
378
405
|
}
|
379
406
|
interface SenseManagerRef {
|
380
407
|
/**
|
@@ -784,4 +811,4 @@ declare const CcosVideoPlayer: {
|
|
784
811
|
type Config = Pick<IcosDesktopType, 'apiPrefix'>;
|
785
812
|
declare const setCconfig: (config: Config) => void;
|
786
813
|
|
787
|
-
export { BookGroupTable, BookTable, CcosSenseCreate, CcosSenseDetail, CcosSenseEdit, CcosSenseManager, CcosSenseSearch, CcosSenseTree, CcosSenseView, CcosVideoPlayer, OrgTreeSelect, PersonSelector, ProTable, RegionTreeSelect, RelationGraph, SenseCreate, SenseDetail, SenseEdit, SenseForm, SenseImport, SenseInfo, SenseManager, SenseSearch, SenseTable, SenseTree, SenseUpload, SenseView, TagTreeSelect, VideoPlayer, setCconfig as config };
|
814
|
+
export { BookGroupTable, BookTable, CcosSenseCreate, CcosSenseDetail, CcosSenseEdit, CcosSenseManager, CcosSenseSearch, CcosSenseTree, CcosSenseView, CcosVideoPlayer, OrgTreeSelect, PersonSelector, _default as ProTable, RegionTreeSelect, RelationGraph, SenseCreate, SenseDetail, SenseEdit, SenseForm, SenseImport, SenseInfo, SenseManager, SenseSearch, SenseTable, SenseTree, SenseUpload, SenseView, TagTreeSelect, VideoPlayer, setCconfig as config };
|