Showing
7 changed files
with
12 additions
and
12 deletions
1 | 1 | { |
2 | 2 | "name": "@qx/common", |
3 | - "version": "3.0.0-alpha.2", | |
3 | + "version": "3.0.0-alpha.3", | |
4 | 4 | "lockfileVersion": 2, |
5 | 5 | "requires": true, |
6 | 6 | "packages": { |
7 | 7 | "": { |
8 | 8 | "name": "@qx/common", |
9 | - "version": "3.0.0-alpha.2", | |
9 | + "version": "3.0.0-alpha.3", | |
10 | 10 | "license": "MIT", |
11 | 11 | "dependencies": { |
12 | 12 | "@ant-design/icons": "^5.2.5", | ... | ... |
... | ... | @@ -9,6 +9,6 @@ export * from './qx-form-select'; |
9 | 9 | export * from './qx-app-selector'; |
10 | 10 | export * from './utils'; |
11 | 11 | export * from './qx-field'; |
12 | +export * from './qx-field-setter'; | |
12 | 13 | |
13 | 14 | // export * from './qx-btn'; |
14 | -// export { default as FieldSetter } from './qx-field-setter'; | ... | ... |
... | ... | @@ -157,7 +157,7 @@ export interface paramColSelectProps extends ColSelectProps { |
157 | 157 | allowClear?: boolean; |
158 | 158 | } |
159 | 159 | |
160 | -export const FieldSetter: React.FC<paramColSelectProps> = ({ | |
160 | +export const QxFieldSetter: React.FC<paramColSelectProps> = ({ | |
161 | 161 | value, |
162 | 162 | fieldGroupType, |
163 | 163 | fieldType, | ... | ... |
1 | 1 | import React, { useEffect, useState } from 'react'; |
2 | -import type { ColsTreeProps } from '../qx-field-setter'; | |
3 | -import { FieldSetter } from '../qx-field-setter'; | |
2 | +import type { ColsTreeProps } from '@qx/common'; | |
3 | +import { QxFieldSetter } from '@qx/common'; | |
4 | 4 | import { QxFieldPopover } from '../qx-field-popover'; |
5 | 5 | import { QxBaseIcon } from '@qx/common'; |
6 | 6 | import { FunctionOutlined } from '@ant-design/icons'; |
... | ... | @@ -863,7 +863,7 @@ export const QxFilterCondition: React.FC<paramFilterConditionProps> = ({ |
863 | 863 | </span> |
864 | 864 | </div> |
865 | 865 | {/* 值选项 TODO field 在工作流那可能有问题 */} |
866 | - <FieldSetter | |
866 | + <QxFieldSetter | |
867 | 867 | value={item?.valuesObj} |
868 | 868 | params={props.params || fieldInfo?.params} |
869 | 869 | field={getResultField( | ... | ... |
... | ... | @@ -30,7 +30,7 @@ import React, { |
30 | 30 | } from 'react'; |
31 | 31 | import JSONEditor from './codeMirror'; |
32 | 32 | import './style.less'; |
33 | -// import { FieldSetter } from '@qx/common'; | |
33 | +// import { QxFieldSetter } from '@qx/common'; | |
34 | 34 | import { formatEnum } from './constant'; |
35 | 35 | // import { |
36 | 36 | // typeTranslateFieIdtype, |
... | ... | @@ -633,7 +633,7 @@ const ParameterModal: React.FC<ParameterSettingProps> = (props) => { |
633 | 633 | ref={inputRef} |
634 | 634 | onBlur={() => save('qxProps-default')} |
635 | 635 | /> |
636 | - {/* <FieldSetter | |
636 | + {/* <QxFieldSetter | |
637 | 637 | value={[{ |
638 | 638 | type: typeTranslateItemtype(record.type), |
639 | 639 | value: record?.qxProps?.default | ... | ... |
... | ... | @@ -19,7 +19,7 @@ import { |
19 | 19 | } from 'antd'; |
20 | 20 | import type { TreeProps } from 'antd/lib/tree'; |
21 | 21 | import ParameterModal from './ParameterModal'; |
22 | -// import { FieldSetter } from '@qx/common'; | |
22 | +// import { QxFieldSetter } from '@qx/common'; | |
23 | 23 | import { formatEnum } from './constant'; |
24 | 24 | // import type { InputRef } from 'antd'; |
25 | 25 | // import { |
... | ... | @@ -628,7 +628,7 @@ export const QxParameterSetting: React.FC<ParameterSettingProps> = (props) => { |
628 | 628 | </div> |
629 | 629 | {props?.isShowField && ( |
630 | 630 | <div className="opt-left-down"> |
631 | - {/* <FieldSetter | |
631 | + {/* <QxFieldSetter | |
632 | 632 | disabled={disabled} |
633 | 633 | value={[ |
634 | 634 | { | ... | ... |