wt-enjoy-link-antd-repack 4.1.60 → 4.1.62
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/esm/component/BiuAForm/index.d.ts.map +1 -1
- package/dist/esm/component/BiuAForm/index.js +1 -1
- package/dist/esm/component/BiuAInput/index.d.ts.map +1 -1
- package/dist/esm/component/BiuDetailDrawer/index.d.ts.map +1 -1
- package/dist/esm/component/BiuDetailDrawer/index.js +0 -1
- package/dist/esm/component/BiuDivider/index.d.ts.map +1 -1
- package/dist/esm/component/BiuDivider/index.js +4 -2
- package/dist/esm/component/BiuField/component/SNInput.d.ts.map +1 -1
- package/dist/esm/component/BiuField/component/SNInput.js +1 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/addressSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/base.d.ts +1 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/base.d.ts.map +1 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/base.js +26 -8
- package/dist/esm/component/BiuField/component/TableSelectLocal/goodSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/interface.d.ts +1 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/interface.d.ts.map +1 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/locationSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/supplierSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/warehouseInfoSelects.d.ts +1 -1
- package/dist/esm/component/BiuField/component/biuMultipleAInput.d.ts +2 -0
- package/dist/esm/component/BiuField/component/biuMultipleAInput.d.ts.map +1 -0
- package/dist/esm/component/BiuField/component/biuMultipleAInput.js +115 -0
- package/dist/esm/component/BiuField/component/clientInfoTableSelect.d.ts.map +1 -1
- package/dist/esm/component/BiuField/component/clientInfoTableSelect.js +35 -17
- package/dist/esm/component/BiuField/component/newEditLocationSelect.d.ts.map +1 -1
- package/dist/esm/component/BiuField/component/newEditLocationSelect.js +0 -1
- package/dist/esm/component/BiuField/index.d.ts +1 -1
- package/dist/esm/component/BiuField/index.d.ts.map +1 -1
- package/dist/esm/component/BiuField/index.js +108 -99
- package/dist/esm/component/BiuForm/index.d.ts.map +1 -1
- package/dist/esm/component/BiuForm/index.js +0 -1
- package/dist/esm/component/BiuForm/utils.d.ts.map +1 -1
- package/dist/esm/component/BiuForm/utils.js +1 -4
- package/dist/esm/component/BiuOperForm/index.d.ts +6 -1
- package/dist/esm/component/BiuOperForm/index.d.ts.map +1 -1
- package/dist/esm/component/BiuOperForm/index.js +26 -22
- package/dist/esm/component/BiuTable/index.d.ts.map +1 -1
- package/dist/esm/component/BiuTable/index.js +1 -2
- package/dist/esm/component/BiuTableSelect/index.d.ts.map +1 -1
- package/dist/esm/component/BiuTableSelect/index.js +10 -4
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,MAAM,CAAA;AA0BvC,eAAO,MAAM,YAAY;;;;EAAiD,CAAA"}
|
@@ -5,6 +5,6 @@ export { Form as BiuAForm } from 'antd';
|
|
5
5
|
var StyledFormItem = styled(Form.Item).withConfig({
|
6
6
|
displayName: "StyledFormItem",
|
7
7
|
componentId: "wt-enjoy-link-antd-repack__sc-1cg3xf-0"
|
8
|
-
})(["margin:5px 0 !important;padding:0 4px !important;.ant-form-item-no-colon{height:28px !important;}.ant-form-item-explain{display:none !important;}.ant-select-disabled .ant-select-selection-item{color:#000 !important;}.ant-input-disabled{color:#000 !important;}.ant-picker-input > input[disabled]{color:#000 !important;}.ant-input-affix-wrapper-disabled .ant-input[disabled]{color:#000 !important;}"]);
|
8
|
+
})(["margin:5px 0 !important;padding:0 4px !important;margin-bottom:10px !important;.ant-form-item-no-colon{height:28px !important;}.ant-form-item-explain{display:none !important;}.ant-select-disabled .ant-select-selection-item{color:#000 !important;}.ant-input-disabled{color:#000 !important;}.ant-picker-input > input[disabled]{color:#000 !important;}.ant-input-affix-wrapper-disabled .ant-input[disabled]{color:#000 !important;}"]);
|
9
9
|
export var BiuAFormItem = /*#__PURE__*/React.memo(StyledFormItem);
|
10
10
|
BiuAFormItem.displayName = 'BiuAFormItem';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAgEzB,eAAO,MAAM,SAAS;;;;;EAA0C,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAgEzB,eAAO,MAAM,SAAS;;;;;EAA0C,CAAA;AAIhE,eAAO,MAAM,YAAY,yKAA6B,CAAA;AAEtD,eAAO,MAAM,YAAY,mJAA2D,CAAA;AACpF,eAAO,MAAM,cAAc,iEAA0B,CAAA;AACrD,eAAO,MAAM,UAAU,iJAAuD,CAAA;AAE9E,eAAO,MAAM,eAAe,KAAuC,CAAA;AAEnE,eAAO,MAAM,gBAAgB,KAAwC,CAAA;AACrE,eAAO,MAAM,sBAAsB,mEAAkC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAsB,MAAM,OAAO,CAAA;AAG1C,OAAO,KAAK,EAAE,aAAa,EAAE,WAAmB;AAEhD,KAAK,UAAU,GAAG;IAChB,MAAM,CAAC,EAAE,CAAC,MAAM,SAAS,CAAC,GAAG,SAAS,CAAA;CACvC,GAAG,aAAa,CAAA;AAEjB,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,CAAA;IAC7B,OAAO,EACH,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC,GACnF,SAAS,CAAA;IACb,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,GAAG,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC,CAAA;AAaxD,eAAO,MAAM,eAAe,oCAAsB,uBAAuB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAsB,MAAM,OAAO,CAAA;AAG1C,OAAO,KAAK,EAAE,aAAa,EAAE,WAAmB;AAEhD,KAAK,UAAU,GAAG;IAChB,MAAM,CAAC,EAAE,CAAC,MAAM,SAAS,CAAC,GAAG,SAAS,CAAA;CACvC,GAAG,aAAa,CAAA;AAEjB,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,CAAA;IAC7B,OAAO,EACH,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC,GACnF,SAAS,CAAA;IACb,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,GAAG,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC,CAAA;AAaxD,eAAO,MAAM,eAAe,oCAAsB,uBAAuB,6CA8BvE,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAA;AAEhE,eAAO,MAAM,UAAU,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAA;AAEhE,eAAO,MAAM,UAAU,kRA0BtB,CAAA"}
|
@@ -17,9 +17,11 @@ export var BiuDivider = styled( /*#__PURE__*/React.memo(function (props) {
|
|
17
17
|
children: [/*#__PURE__*/_jsx("div", {
|
18
18
|
style: {
|
19
19
|
width: '3px',
|
20
|
-
height: '
|
20
|
+
height: '14px',
|
21
21
|
backgroundColor: 'rgb(64, 158, 255)',
|
22
|
-
marginRight: '
|
22
|
+
marginRight: '6px',
|
23
|
+
position: 'relative',
|
24
|
+
borderRadius: '1px'
|
23
25
|
}
|
24
26
|
}), /*#__PURE__*/_jsx("div", _objectSpread({}, props))]
|
25
27
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SNInput.d.ts","sourceRoot":"","sources":["SNInput.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAC/C,OAAO,KAA8D,MAAM,OAAO,CAAA;AAiBlF,KAAK,wBAAwB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;;;;;;;;;AA8BvD,
|
1
|
+
{"version":3,"file":"SNInput.d.ts","sourceRoot":"","sources":["SNInput.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAC/C,OAAO,KAA8D,MAAM,OAAO,CAAA;AAiBlF,KAAK,wBAAwB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;;;;;;;;;AA8BvD,wBA0dC"}
|
@@ -524,7 +524,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
524
524
|
title: "SN\u53F7\u8BE6\u7EC6\u64CD\u4F5C",
|
525
525
|
okText: "\u786E\u5B9A",
|
526
526
|
cancelText: "\u53D6\u6D88",
|
527
|
-
|
527
|
+
open: state.visible,
|
528
528
|
onCancel: hideModal,
|
529
529
|
onOk: handleOk,
|
530
530
|
maskClosable: false,
|
@@ -8,7 +8,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
8
8
|
} | undefined;
|
9
9
|
value?: string | undefined;
|
10
10
|
initialValue?: any;
|
11
|
-
initSelectValue?:
|
11
|
+
initSelectValue?: any;
|
12
12
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
13
13
|
} & {
|
14
14
|
clientid?: string | undefined;
|
@@ -7,7 +7,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
7
7
|
} | undefined;
|
8
8
|
value?: string | undefined;
|
9
9
|
initialValue?: any;
|
10
|
-
initSelectValue?:
|
10
|
+
initSelectValue?: any;
|
11
11
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
12
12
|
} & React.RefAttributes<unknown>>>;
|
13
13
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["base.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqE,MAAM,OAAO,CAAA;;;;;;;;;;;;AAMzF,
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["base.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqE,MAAM,OAAO,CAAA;;;;;;;;;;;;AAMzF,wBAoIC"}
|
@@ -32,7 +32,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
32
32
|
initialValue = props.initialValue,
|
33
33
|
initSelectValue = props.initSelectValue,
|
34
34
|
dataSource = props.dataSource,
|
35
|
-
|
35
|
+
_onChange = props.onChange,
|
36
36
|
onChangeData = props.onChangeData,
|
37
37
|
loading = props.loading,
|
38
38
|
exProps = _objectWithoutProperties(props, _excluded);
|
@@ -69,8 +69,8 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
69
69
|
useUpdateLayoutEffect(function () {
|
70
70
|
if (selectValue === undefined || selectValue === null) {
|
71
71
|
setOperDataSource([]);
|
72
|
-
if (
|
73
|
-
|
72
|
+
if (_onChange) {
|
73
|
+
_onChange(undefined, undefined);
|
74
74
|
}
|
75
75
|
if (onChangeData) {
|
76
76
|
onChangeData(undefined, {});
|
@@ -121,13 +121,31 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
121
121
|
y: 300,
|
122
122
|
x: true
|
123
123
|
},
|
124
|
+
rowSelection: {
|
125
|
+
checkStrictly: exProps.mode === 'multiple' ? true : false,
|
126
|
+
selectedRowKeys: selectValue,
|
127
|
+
onChange: function onChange(selectedRowKeys, selectedRows) {
|
128
|
+
setSelectValue(selectedRowKeys);
|
129
|
+
var selectKeys = [];
|
130
|
+
selectedRows.forEach(function (item) {
|
131
|
+
selectKeys.push(item[rowKey]);
|
132
|
+
});
|
133
|
+
if (_onChange) {
|
134
|
+
_onChange(selectKeys, selectedRows);
|
135
|
+
}
|
136
|
+
if (onChangeData) {
|
137
|
+
onChangeData(selectKeys, selectedRows);
|
138
|
+
}
|
139
|
+
}
|
140
|
+
},
|
124
141
|
onRow: function onRow(record) {
|
125
142
|
return {
|
126
143
|
onDoubleClick: function onDoubleClick() {
|
127
144
|
var _formRef$current;
|
145
|
+
if (exProps.mode === 'multiple') return;
|
128
146
|
setSelectValue(record[rowLabel]);
|
129
|
-
if (
|
130
|
-
|
147
|
+
if (_onChange) {
|
148
|
+
_onChange(record[rowKey], record);
|
131
149
|
}
|
132
150
|
if (onChangeData) {
|
133
151
|
onChangeData(record[rowKey], record);
|
@@ -136,15 +154,15 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
136
154
|
}
|
137
155
|
};
|
138
156
|
},
|
139
|
-
rowKey: rowKey,
|
157
|
+
rowKey: exProps.mode === 'multiple' ? "".concat(rowLabel) : rowKey,
|
140
158
|
pagination: false,
|
141
159
|
columns: columns,
|
142
160
|
dataSource: operDataSource
|
143
161
|
})
|
144
162
|
});
|
145
163
|
},
|
146
|
-
onChange: function onChange(
|
147
|
-
if (exProps.allowClear
|
164
|
+
onChange: function onChange() {
|
165
|
+
if (exProps.allowClear) {
|
148
166
|
setSelectValue(undefined);
|
149
167
|
}
|
150
168
|
}
|
@@ -8,7 +8,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
8
8
|
} | undefined;
|
9
9
|
value?: string | undefined;
|
10
10
|
initialValue?: any;
|
11
|
-
initSelectValue?:
|
11
|
+
initSelectValue?: any;
|
12
12
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
13
13
|
} & {
|
14
14
|
ownerId: number;
|
@@ -9,7 +9,7 @@ type TableSelectProps = {
|
|
9
9
|
};
|
10
10
|
value?: string;
|
11
11
|
initialValue?: any;
|
12
|
-
initSelectValue?:
|
12
|
+
initSelectValue?: any;
|
13
13
|
onChangeData?: (value: any, record: any) => void;
|
14
14
|
};
|
15
15
|
export type TableSelectType = TableProps<any> & SelectProps<any> & TableSelectProps;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAmB;AAEhD,KAAK,gBAAgB,GAAG;IACtB,OAAO,CAAC,EAAE,aAAa,EAAE,CAAA;IACzB,SAAS,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,eAAe,CAAC,EAAE,
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAmB;AAEhD,KAAK,gBAAgB,GAAG;IACtB,OAAO,CAAC,EAAE,aAAa,EAAE,CAAA;IACzB,SAAS,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,eAAe,CAAC,EAAE,GAAG,CAAA;IACrB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI,CAAA;CACjD,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,GAAG,gBAAgB,CAAA"}
|
@@ -7,7 +7,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
7
7
|
} | undefined;
|
8
8
|
value?: string | undefined;
|
9
9
|
initialValue?: any;
|
10
|
-
initSelectValue?:
|
10
|
+
initSelectValue?: any;
|
11
11
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
12
12
|
} & {
|
13
13
|
ownerId: string;
|
@@ -7,7 +7,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
7
7
|
} | undefined;
|
8
8
|
value?: string | undefined;
|
9
9
|
initialValue?: any;
|
10
|
-
initSelectValue?:
|
10
|
+
initSelectValue?: any;
|
11
11
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
12
12
|
} & {
|
13
13
|
clientid: number;
|
@@ -7,7 +7,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
7
7
|
} | undefined;
|
8
8
|
value?: string | undefined;
|
9
9
|
initialValue?: any;
|
10
|
-
initSelectValue?:
|
10
|
+
initSelectValue?: any;
|
11
11
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
12
12
|
} & {
|
13
13
|
ownerId: string;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"biuMultipleAInput.d.ts","sourceRoot":"","sources":["biuMultipleAInput.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAyE,MAAM,OAAO,CAAA;AAyB7F,eAAO,MAAM,iBAAiB,yGAyD7B,CAAA"}
|
@@ -0,0 +1,115 @@
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
+
var _excluded = ["value", "onChange"];
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
8
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
9
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
10
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
11
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
12
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
13
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
14
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
15
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
16
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
17
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
18
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
19
|
+
import { MenuOutlined } from '@ant-design/icons';
|
20
|
+
import { useControllableValue } from 'ahooks';
|
21
|
+
import { Input } from 'antd';
|
22
|
+
import React, { forwardRef, useCallback, useImperativeHandle, useRef, useState } from 'react';
|
23
|
+
import { styled } from 'styled-components';
|
24
|
+
import { BiuATextArea } from "../../BiuAInput";
|
25
|
+
import { BiuModal } from "../../BiuModal";
|
26
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
27
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
28
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
29
|
+
var StyledInput = styled(Input).withConfig({
|
30
|
+
displayName: "StyledInput",
|
31
|
+
componentId: "wt-enjoy-link-antd-repack__sc-mbo0si-0"
|
32
|
+
})(["height:28px !important;.ant-input-wrapper{height:26px !important;.ant-input{height:26px !important;}.ant-input-suffix{height:26px !important;}}.ant-input-suffix{cursor:pointer;}"]);
|
33
|
+
var StyledArea = styled(BiuATextArea).withConfig({
|
34
|
+
displayName: "StyledArea",
|
35
|
+
componentId: "wt-enjoy-link-antd-repack__sc-mbo0si-1"
|
36
|
+
})([""]);
|
37
|
+
export var BiuMultipleAInput = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props, ref) {
|
38
|
+
var value = props.value,
|
39
|
+
onChange = props.onChange,
|
40
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
41
|
+
var _useControllableValue = useControllableValue({
|
42
|
+
value: value,
|
43
|
+
onChange: onChange
|
44
|
+
}),
|
45
|
+
_useControllableValue2 = _slicedToArray(_useControllableValue, 2),
|
46
|
+
state = _useControllableValue2[0],
|
47
|
+
setState = _useControllableValue2[1];
|
48
|
+
var _useState = useState(''),
|
49
|
+
_useState2 = _slicedToArray(_useState, 2),
|
50
|
+
extendedValue = _useState2[0],
|
51
|
+
setExtendedValue = _useState2[1];
|
52
|
+
useImperativeHandle(ref, function () {
|
53
|
+
return {};
|
54
|
+
}, []);
|
55
|
+
var inputRef = useRef();
|
56
|
+
var _useState3 = useState(false),
|
57
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
58
|
+
visible = _useState4[0],
|
59
|
+
setVisible = _useState4[1];
|
60
|
+
var onExpandClick = useCallback(function () {
|
61
|
+
setVisible(true);
|
62
|
+
setExtendedValue(state);
|
63
|
+
}, [state]);
|
64
|
+
var onModelCancel = useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
65
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
66
|
+
while (1) switch (_context.prev = _context.next) {
|
67
|
+
case 0:
|
68
|
+
setVisible(false);
|
69
|
+
case 1:
|
70
|
+
case "end":
|
71
|
+
return _context.stop();
|
72
|
+
}
|
73
|
+
}, _callee);
|
74
|
+
})), []);
|
75
|
+
var onModelOk = useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
76
|
+
var result;
|
77
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
78
|
+
while (1) switch (_context2.prev = _context2.next) {
|
79
|
+
case 0:
|
80
|
+
result = (extendedValue || '').replace(/^\s*(?:\r\n?|\n)/gm, '').trim().replace(/\n/g, ',');
|
81
|
+
setState(result);
|
82
|
+
setVisible(false);
|
83
|
+
case 3:
|
84
|
+
case "end":
|
85
|
+
return _context2.stop();
|
86
|
+
}
|
87
|
+
}, _callee2);
|
88
|
+
})), [extendedValue, setState]);
|
89
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
90
|
+
children: [/*#__PURE__*/_jsx(StyledInput, _objectSpread({
|
91
|
+
ref: inputRef,
|
92
|
+
value: state,
|
93
|
+
onChange: setState,
|
94
|
+
suffix: /*#__PURE__*/_jsx(MenuOutlined, {
|
95
|
+
onClick: onExpandClick
|
96
|
+
})
|
97
|
+
}, otherProps)), /*#__PURE__*/_jsx(BiuModal, {
|
98
|
+
width: '65vw',
|
99
|
+
fullScreen: false,
|
100
|
+
title: '扩展输入信息',
|
101
|
+
open: visible,
|
102
|
+
onOk: onModelOk,
|
103
|
+
onCancel: onModelCancel,
|
104
|
+
children: /*#__PURE__*/_jsx(StyledArea, {
|
105
|
+
value: extendedValue,
|
106
|
+
rows: 6,
|
107
|
+
maxLength: 100,
|
108
|
+
onChange: function onChange(e) {
|
109
|
+
return setExtendedValue(e.target.value);
|
110
|
+
},
|
111
|
+
placeholder: "\u5F53\u524D\u8F93\u5165\u4FE1\u606F\u786E\u8BA4\u7684\u65F6\u5019\u4F1A\u53BB\u9664\u524D\u540E\u7A7A\u683C\u4FE1\u606F\uFF0C\u6362\u884C\u4F1A\u88AB\u66FF\u6362\u6210\u9017\u53F7\u8FDB\u884C\u62FC\u63A5\u3002"
|
112
|
+
})
|
113
|
+
})]
|
114
|
+
});
|
115
|
+
}));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"clientInfoTableSelect.d.ts","sourceRoot":"","sources":["clientInfoTableSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA4C,MAAM,OAAO,CAAA;;AAyEhE,
|
1
|
+
{"version":3,"file":"clientInfoTableSelect.d.ts","sourceRoot":"","sources":["clientInfoTableSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA4C,MAAM,OAAO,CAAA;;AAyEhE,wBA6IC"}
|
@@ -118,29 +118,47 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
118
118
|
var InterfaceName = clientType === 0 ? 'wms.mdm.queryOwnerByWarehouse' : 'wms.mdm.clientSimpleQueryListBase';
|
119
119
|
var baseChangeData = useCallback(function (params, record) {
|
120
120
|
if (queryext && params !== undefined && clientType === 0 && onChangeData) {
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
value: params,
|
130
|
-
extendAttributeList: res,
|
131
|
-
companyId: record.companyid
|
132
|
-
}, _objectSpread(_objectSpread({}, record), {}, {
|
133
|
-
extendAttributeList: res
|
134
|
-
}));
|
135
|
-
}).catch(function () {
|
121
|
+
var ownerId;
|
122
|
+
if (Array.isArray(record)) {
|
123
|
+
ownerId = [];
|
124
|
+
var companyid = [];
|
125
|
+
record.forEach(function (item) {
|
126
|
+
ownerId.push(item === null || item === void 0 ? void 0 : item.clientid);
|
127
|
+
companyid.push(item === null || item === void 0 ? void 0 : item.companyid);
|
128
|
+
});
|
136
129
|
onChangeData({
|
137
130
|
value: params,
|
138
131
|
extendAttributeList: [],
|
139
|
-
companyId:
|
132
|
+
companyId: companyid
|
140
133
|
}, _objectSpread(_objectSpread({}, record), {}, {
|
141
134
|
extendAttributeList: []
|
142
135
|
}));
|
143
|
-
}
|
136
|
+
} else {
|
137
|
+
ownerId = record === null || record === void 0 ? void 0 : record.clientid;
|
138
|
+
getClientInfoExtendAttributeList({
|
139
|
+
ownerId: ownerId,
|
140
|
+
attributeType: attributeType,
|
141
|
+
showType: showType,
|
142
|
+
isActive: '1',
|
143
|
+
isDelete: '1'
|
144
|
+
}).then(function (res) {
|
145
|
+
onChangeData({
|
146
|
+
value: params,
|
147
|
+
extendAttributeList: res,
|
148
|
+
companyId: record.companyid
|
149
|
+
}, _objectSpread(_objectSpread({}, record), {}, {
|
150
|
+
extendAttributeList: res
|
151
|
+
}));
|
152
|
+
}).catch(function () {
|
153
|
+
onChangeData({
|
154
|
+
value: params,
|
155
|
+
extendAttributeList: [],
|
156
|
+
companyId: record.companyid
|
157
|
+
}, _objectSpread(_objectSpread({}, record), {}, {
|
158
|
+
extendAttributeList: []
|
159
|
+
}));
|
160
|
+
});
|
161
|
+
}
|
144
162
|
} else if ((clientType === 1 || queryext === false) && onChangeData) {
|
145
163
|
onChangeData({
|
146
164
|
value: params,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"newEditLocationSelect.d.ts","sourceRoot":"","sources":["newEditLocationSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA;AACvC,OAAO,KAAqD,MAAM,OAAO,CAAA;;;;;;;;;;;;;;;;;;;AAmCzE,
|
1
|
+
{"version":3,"file":"newEditLocationSelect.d.ts","sourceRoot":"","sources":["newEditLocationSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA;AACvC,OAAO,KAAqD,MAAM,OAAO,CAAA;;;;;;;;;;;;;;;;;;;AAmCzE,wBAiHC"}
|
@@ -69,7 +69,6 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
69
69
|
isFirstLoadSearch = _useState6[0],
|
70
70
|
setIsFirstLoadSearch = _useState6[1];
|
71
71
|
var onSearch = useCallback(function (value) {
|
72
|
-
console.log('onSearch');
|
73
72
|
setRemoteSearchCValue(value.trim());
|
74
73
|
setIsFirstLoadSearch(false);
|
75
74
|
}, []);
|
@@ -4,5 +4,5 @@ export type BiuFieldPropsType = {
|
|
4
4
|
} & {
|
5
5
|
[P in string]: any;
|
6
6
|
};
|
7
|
-
export type BiuFieldType = 'sninput' | 'omswarehousesel' | 'cityareaselect' | 'label' | 'text' | 'textarea' | 'inputpassword' | 'number' | 'time' | 'date' | 'datetime' | 'month' | 'dicselect' | 'cityareacascader' | 'daterange' | 'distributioncentreselect' | 'warehouseinfoselect' | 'warehouseloctionwelect' | 'departtreeselect' | 'select' | 'goodsselect' | 'warehouseareaselect' | 'clientselect' | 'checkbox' | 'ordertypetableselect' | 'customer' | 'goodstypeselect' | 'shipperselect' | 'ordertypeselect' | 'dicselectname' | 'carrierinfoselect' | 'databaseSelect' | 'editLocationSelect' | 'newEditLocationSelect' | 'departorgselect' | 'departmentTreeSelect' | 'tableselectlocal' | 'appliedgoodstypeselect' | 'dockingPartySelect' | 'interfaceNameSelect' | 'boxtypeselect' | 'propertNameSelect' | 'userSelect' | 'channelSelect' | 'customMenu' | 'lpnselect' | 'lpnSelectNew' | 'autoComplete' | 'platformSelect' | 'accountSelect' | 'addressSelect' | 'addressTableSelect' | 'personnelinfoselect' | 'businessdistrictselect' | 'checkboxgroup' | 'filter';
|
7
|
+
export type BiuFieldType = 'sninput' | 'omswarehousesel' | 'cityareaselect' | 'label' | 'text' | 'textarea' | 'inputpassword' | 'number' | 'time' | 'date' | 'datetime' | 'month' | 'dicselect' | 'cityareacascader' | 'daterange' | 'distributioncentreselect' | 'warehouseinfoselect' | 'warehouseloctionwelect' | 'departtreeselect' | 'select' | 'goodsselect' | 'warehouseareaselect' | 'clientselect' | 'checkbox' | 'ordertypetableselect' | 'customer' | 'goodstypeselect' | 'shipperselect' | 'ordertypeselect' | 'dicselectname' | 'carrierinfoselect' | 'databaseSelect' | 'editLocationSelect' | 'newEditLocationSelect' | 'departorgselect' | 'departmentTreeSelect' | 'tableselectlocal' | 'appliedgoodstypeselect' | 'dockingPartySelect' | 'interfaceNameSelect' | 'boxtypeselect' | 'propertNameSelect' | 'userSelect' | 'channelSelect' | 'customMenu' | 'lpnselect' | 'lpnSelectNew' | 'autoComplete' | 'platformSelect' | 'accountSelect' | 'addressSelect' | 'addressTableSelect' | 'personnelinfoselect' | 'businessdistrictselect' | 'checkboxgroup' | 'filter' | 'multipleInput';
|
8
8
|
export declare const BiuField: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<BiuFieldPropsType, "ref"> & React.RefAttributes<unknown>>>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAyElD,MAAM,MAAM,iBAAiB,GAAG;IAAE,SAAS,EAAE,YAAY,CAAA;CAAE,GAAG;KAAG,CAAC,IAAI,MAAM,GAAG,GAAG;CAAE,CAAA;AAEpF,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,iBAAiB,GACjB,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,UAAU,GACV,eAAe,GACf,QAAQ,GACR,MAAM,GACN,MAAM,GACN,UAAU,GACV,OAAO,GACP,WAAW,GACX,kBAAkB,GAClB,WAAW,GACX,0BAA0B,GAC1B,qBAAqB,GACrB,wBAAwB,GACxB,kBAAkB,GAClB,QAAQ,GACR,aAAa,GACb,qBAAqB,GACrB,cAAc,GACd,UAAU,GACV,sBAAsB,GACtB,UAAU,GACV,iBAAiB,GACjB,eAAe,GACf,iBAAiB,GACjB,eAAe,GACf,mBAAmB,GACnB,gBAAgB,GAChB,oBAAoB,GACpB,uBAAuB,GACvB,iBAAiB,GACjB,sBAAsB,GACtB,kBAAkB,GAClB,wBAAwB,GACxB,oBAAoB,GACpB,qBAAqB,GACrB,eAAe,GACf,mBAAmB,GACnB,YAAY,GACZ,eAAe,GACf,YAAY,GACZ,WAAW,GACX,cAAc,GACd,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,eAAe,GACf,oBAAoB,GACpB,qBAAqB,GACrB,wBAAwB,GACxB,eAAe,GACf,QAAQ,GACR,eAAe,CAAA;AAEnB,eAAO,MAAM,QAAQ,2HA+lBpB,CAAA"}
|