venus-design 1.0.82 → 1.0.83

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.
@@ -55,7 +55,7 @@ export interface UltimateSearchProps<T> {
55
55
  export declare const createUltimateSearchNews: <T extends Record<string, any>>(config: UltimateSearchProps<T>) => ProColumns<T>;
56
56
  export declare const createUltimateSearch: <T extends Record<string, any>>(column: ProColumns<T>, dataIndex?: string, title?: string, socketSearch?: boolean, searchType?: 'flat' | 'tree', showHistory?: boolean, theme?: ThemeType) => ProColumns<T>;
57
57
  declare const _default: {
58
- createUltimateSearch: <T extends Record<string, any>>(column: ProColumns<T>, dataIndex?: string, title?: string | undefined, socketSearch?: boolean, searchType?: "tree" | "flat", showHistory?: boolean, theme?: ThemeType) => ProColumns<T>;
58
+ createUltimateSearch: <T extends Record<string, any>>(column: ProColumns<T>, dataIndex?: string, title?: string | undefined, socketSearch?: boolean, searchType?: "flat" | "tree", showHistory?: boolean, theme?: ThemeType) => ProColumns<T>;
59
59
  createUltimateFilter: ({ dataIndex, title, dataSource, options, showSearch, showHistory, theme }: UltimateFilterProps) => Partial<ColumnType<any>>;
60
60
  createUltimateSearchNews: <T_1 extends Record<string, any>>(config: UltimateSearchProps<T_1>) => ProColumns<T_1>;
61
61
  };
@@ -842,6 +842,7 @@ export var VENUS_FORM_ITEM_TYPE = {
842
842
  //带后缀的文本输入框(暂不实现)
843
843
  "textUnit": function textUnit() {},
844
844
  "uploadSecLevel": function uploadSecLevel(column, type, disabled, formData) {
845
+ var _formData$column$para, _formData$column$para2, _column$parameterSour;
845
846
  return /*#__PURE__*/React.createElement(VenusFormUploadSecLevel, {
846
847
  width: "md",
847
848
  className: column.formItemClassName,
@@ -861,7 +862,7 @@ export var VENUS_FORM_ITEM_TYPE = {
861
862
  //@ts-ignore
862
863
  ,
863
864
  comAttr: column.parameterSource.uploadSecField && {
864
- secId: formData[column.parameterSource.uploadSecField].value
865
+ secId: (_formData$column$para = (_formData$column$para2 = formData[column === null || column === void 0 || (_column$parameterSour = column.parameterSource) === null || _column$parameterSour === void 0 ? void 0 : _column$parameterSour.uploadSecField]) === null || _formData$column$para2 === void 0 ? void 0 : _formData$column$para2.value) !== null && _formData$column$para !== void 0 ? _formData$column$para : ''
865
866
  },
866
867
  rules: [{
867
868
  //是否必填通过其他字段判断时可使用required:{label:string,fieldName:string,value:any}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "venus-design",
3
- "version": "1.0.82",
3
+ "version": "1.0.83",
4
4
  "description": "venus all compoments",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",