@chlp-tech/rpa-ui 0.0.18 → 0.0.20

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.
@@ -155,7 +155,8 @@ var AccountSelect = function AccountSelect(props) {
155
155
  var list = (_props$options2 = props.options) === null || _props$options2 === void 0 ? void 0 : _props$options2.filter(function (item) {
156
156
  var accountName = (item.accountName || '').toString().toLowerCase();
157
157
  var ownerName = (item.ownerUserName || '').toString().toLowerCase();
158
- return accountName.includes(searchValue) || ownerName.includes(searchValue);
158
+ var remark = (item.remark || '').toString().toLowerCase();
159
+ return accountName.includes(searchValue) || ownerName.includes(searchValue) || remark.includes(searchValue);
159
160
  });
160
161
  setOptionList(list || []);
161
162
  };
package/package.json CHANGED
@@ -1,9 +1,23 @@
1
1
  {
2
2
  "name": "@chlp-tech/rpa-ui",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "rpa-ui",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "start": "npm run dev",
9
+ "dev": "dumi dev",
10
+ "build": "father build",
11
+ "build:watch": "father dev",
12
+ "docs:build": "dumi build",
13
+ "docs:preview": "dumi preview",
14
+ "prepare": "husky install && dumi setup",
15
+ "doctor": "father doctor",
16
+ "lint": "npm run lint:es && npm run lint:css",
17
+ "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
18
+ "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
19
+ "prepublishOnly": "father doctor && npm run build"
20
+ },
7
21
  "authors": [],
8
22
  "license": "MIT",
9
23
  "files": [
@@ -34,11 +48,31 @@
34
48
  "publishConfig": {
35
49
  "access": "public"
36
50
  },
51
+ "buildConfig": {
52
+ "esm": {
53
+ "output": { "mode": "esm" },
54
+ "platform": "browser"
55
+ },
56
+ "cjs": {
57
+ "output": { "mode": "cjs" }
58
+ },
59
+ "external": [
60
+ "react",
61
+ "react-dom",
62
+ "antd",
63
+ "@ant-design/icons",
64
+ "i18next",
65
+ "react-i18next"
66
+ ],
67
+ "dts": {
68
+ "skipDiagnostics": true
69
+ }
70
+ },
37
71
  "peerDependencies": {
38
72
  "@ant-design/icons": ">=4.18.0",
39
73
  "antd": ">=5.25.0",
40
- "react": ">=16.9.0",
41
- "react-dom": ">=16.9.0",
74
+ "react": ">=18.0.0 <19.0.0",
75
+ "react-dom": ">=18.0.0 <19.0.0",
42
76
  "i18next": "^23.7.8",
43
77
  "react-i18next": "^13.5.0"
44
78
  },
@@ -70,17 +104,5 @@
70
104
  "dayjs": "^1.11.13",
71
105
  "js-md5": "^0.8.3",
72
106
  "styled-components": "^6.1.12"
73
- },
74
- "scripts": {
75
- "start": "npm run dev",
76
- "dev": "dumi dev",
77
- "build": "father build",
78
- "build:watch": "father dev",
79
- "docs:build": "dumi build",
80
- "docs:preview": "dumi preview",
81
- "doctor": "father doctor",
82
- "lint": "npm run lint:es && npm run lint:css",
83
- "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
84
- "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\""
85
107
  }
86
- }
108
+ }