@jiaozhiye/qm-design-react 1.3.0-beta.1 → 1.3.0-beta.12

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.
@@ -12,6 +12,7 @@
12
12
  .ant-drawer-header {
13
13
  display: flex;
14
14
  align-items: center;
15
+ flex: 0 auto;
15
16
  flex-shrink: 0;
16
17
  height: 44px;
17
18
  padding: 0 15px;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare type IViewProps<T = string> = {
3
+ value?: T;
4
+ };
5
+ declare const FormItemView: React.FC<IViewProps>;
6
+ export default FormItemView;
@@ -206,6 +206,10 @@ export declare type IFormItem = {
206
206
  withCredentials?: boolean;
207
207
  params?: IFetchParams;
208
208
  dataKey?: string;
209
+ button?: {
210
+ text?: string;
211
+ icon?: React.ReactNode;
212
+ };
209
213
  fieldAliasMap?: (() => Record<string, string>) | Record<string, string>;
210
214
  };
211
215
  extra?: {
@@ -103,11 +103,7 @@
103
103
  }
104
104
  }
105
105
  &__only-show {
106
- .ant-form-item .ant-form-item-control .ant-col {
107
- & > :not(.qm-upload-file):not(.qm-upload-img):not(.qm-tinymce) {
108
- pointer-events: none;
109
- }
110
- }
106
+ // ...
111
107
  }
112
108
  // ------ size ------
113
109
  // 40 32 24
package/lib/index.d.ts CHANGED
@@ -36,6 +36,8 @@ export type { QmUploadFileProps } from './upload-file';
36
36
  export { default as QmUploadFile } from './upload-file';
37
37
  export type { QmUploadImgProps } from './upload-img';
38
38
  export { default as QmUploadImg } from './upload-img';
39
+ export type { QmSearchTreeProps } from './search-tree';
40
+ export { default as QmSearchTree } from './search-tree';
39
41
  export type { QmTableRef, QmTableProps, QmTableColumn } from './table';
40
42
  export { default as QmTable } from './table';
41
43
  export type { QmCopyToClipboardProps } from './copy-to-clipboard';