@kmkf-fe-packages/basic-components 0.23.0-alpha.2 → 0.23.0-alpha.3
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/index.esm.js
CHANGED
|
@@ -7357,6 +7357,8 @@ function ApaasRate(props) {
|
|
|
7357
7357
|
}));
|
|
7358
7358
|
}
|
|
7359
7359
|
|
|
7360
|
+
AddressData.getInstance();
|
|
7361
|
+
BsAddressData.getInstance();
|
|
7360
7362
|
var Province = function Province(props) {
|
|
7361
7363
|
var _props$type = props.type,
|
|
7362
7364
|
type = _props$type === void 0 ? 'workOrder' : _props$type;
|
|
@@ -7520,7 +7522,6 @@ var IdentifyAddress = function IdentifyAddress(props) {
|
|
|
7520
7522
|
onChange: function onChange(val) {
|
|
7521
7523
|
return changeHandle(val, 'address');
|
|
7522
7524
|
},
|
|
7523
|
-
options: [],
|
|
7524
7525
|
disabled: disabled,
|
|
7525
7526
|
type: type
|
|
7526
7527
|
}), /*#__PURE__*/React.createElement(Input, {
|
|
@@ -7728,7 +7729,6 @@ function ApaasAddress(props) {
|
|
|
7728
7729
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Province, {
|
|
7729
7730
|
value: value === null || value === void 0 ? void 0 : value.address,
|
|
7730
7731
|
onChange: changeCity,
|
|
7731
|
-
options: [],
|
|
7732
7732
|
disabled: disabled
|
|
7733
7733
|
}), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Input, {
|
|
7734
7734
|
disabled: disabled,
|
package/dist/index.js
CHANGED
|
@@ -7368,6 +7368,8 @@ function ApaasRate(props) {
|
|
|
7368
7368
|
}));
|
|
7369
7369
|
}
|
|
7370
7370
|
|
|
7371
|
+
kmkfUtils.AddressData.getInstance();
|
|
7372
|
+
kmkfUtils.BsAddressData.getInstance();
|
|
7371
7373
|
var Province = function Province(props) {
|
|
7372
7374
|
var _props$type = props.type,
|
|
7373
7375
|
type = _props$type === void 0 ? 'workOrder' : _props$type;
|
|
@@ -7531,7 +7533,6 @@ var IdentifyAddress = function IdentifyAddress(props) {
|
|
|
7531
7533
|
onChange: function onChange(val) {
|
|
7532
7534
|
return changeHandle(val, 'address');
|
|
7533
7535
|
},
|
|
7534
|
-
options: [],
|
|
7535
7536
|
disabled: disabled,
|
|
7536
7537
|
type: type
|
|
7537
7538
|
}), /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
@@ -7739,7 +7740,6 @@ function ApaasAddress(props) {
|
|
|
7739
7740
|
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(Province, {
|
|
7740
7741
|
value: value === null || value === void 0 ? void 0 : value.address,
|
|
7741
7742
|
onChange: changeCity,
|
|
7742
|
-
options: [],
|
|
7743
7743
|
disabled: disabled
|
|
7744
7744
|
}), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
7745
7745
|
disabled: disabled,
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface Option {
|
|
3
|
-
value: string | number;
|
|
4
|
-
label: string;
|
|
5
|
-
children?: Option[];
|
|
6
|
-
}
|
|
7
2
|
interface ProvinceType {
|
|
8
3
|
value: string[];
|
|
9
|
-
options: Option[];
|
|
10
4
|
disabled: boolean;
|
|
11
5
|
onChange: (value: any, selectedOptions: any) => void;
|
|
12
6
|
type?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.23.0-alpha.
|
|
3
|
+
"version": "0.23.0-alpha.3",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.23.0-alpha.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.23.0-alpha.3",
|
|
24
24
|
"lodash": "^4.17.21",
|
|
25
25
|
"pubsub-js": "^1.9.4",
|
|
26
26
|
"react-copy-to-clipboard": "^5.1.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "c2e265d008d697310b87d0a4d1c1f9a14b3fbcf6"
|
|
65
65
|
}
|