@aks-dev/easyui 1.0.192 → 1.0.193

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.

Potentially problematic release.


This version of @aks-dev/easyui might be problematic. Click here for more details.

Files changed (73) hide show
  1. package/dist/components/AnimationModal/AnimationModal.js +36 -15
  2. package/dist/components/Badge/Badge.js +16 -7
  3. package/dist/components/DottedLine/DottedLine.js +13 -14
  4. package/dist/components/Echarts/EchartsView.js +73 -30
  5. package/dist/components/Echarts/helper.js +16 -1
  6. package/dist/components/Hud/AlertBottomView/AlertBottomView.js +60 -43
  7. package/dist/components/Hud/AlertSheetView/AlertSheetView.js +30 -23
  8. package/dist/components/Hud/AlertView/AlertView.js +62 -46
  9. package/dist/components/Hud/Hud.js +19 -8
  10. package/dist/components/Hud/Loading/Loading.js +16 -4
  11. package/dist/components/Hud/PopoverView/PopoverView.js +13 -2
  12. package/dist/components/Hud/Scanner/Scanner.js +86 -55
  13. package/dist/components/Hud/Toast/Toast.js +15 -5
  14. package/dist/components/MenuView/MenuView.js +61 -33
  15. package/dist/components/Modal/Modal.js +7 -0
  16. package/dist/components/MutiPictureView/MutiPictureView.js +47 -27
  17. package/dist/components/PictureViewer/PictureViewer.js +24 -8
  18. package/dist/components/RefreshList/RefreshList.js +52 -41
  19. package/dist/components/RichText/RichText.js +22 -21
  20. package/dist/components/StickHeaderView/StickHeaderView.js +12 -2
  21. package/dist/components/TableCell/TableCell.js +51 -37
  22. package/dist/components/TextInputArea/TextInputArea.js +28 -21
  23. package/dist/components/WithLoadingContainer/WithLoadingContainer.js +31 -14
  24. package/dist/index.js +11 -0
  25. package/dist/jsbridge/RNEasyui.js +25 -0
  26. package/dist/jsbridge/UpgradeModule.js +19 -9
  27. package/dist/jsbridge/index.js +7 -0
  28. package/dist/screen/index.js +8 -0
  29. package/dist/screen/px2dp.js +25 -2
  30. package/dist/screen/px2sp.js +35 -5
  31. package/dist/screen/text-fit.js +13 -2
  32. package/dist/utils/index.js +7 -0
  33. package/dist/utils/lazy.js +67 -12
  34. package/dist/utils/mode.js +21 -0
  35. package/package.json +10 -6
  36. package/types/components/AnimationModal/AnimationModal.d.ts +8 -0
  37. package/types/components/AnimationModal/AnimationModal.d.ts.map +1 -1
  38. package/types/components/Echarts/helper.d.ts +5 -0
  39. package/types/components/Echarts/helper.d.ts.map +1 -1
  40. package/types/components/MutiPictureView/MutiPictureView.d.ts +9 -0
  41. package/types/components/MutiPictureView/MutiPictureView.d.ts.map +1 -1
  42. package/types/components/StickHeaderView/StickHeaderView.d.ts +6 -0
  43. package/types/components/StickHeaderView/StickHeaderView.d.ts.map +1 -1
  44. package/types/components/TextInputArea/TextInputArea.d.ts +1 -0
  45. package/types/components/TextInputArea/TextInputArea.d.ts.map +1 -1
  46. package/types/jsbridge/RNEasyui.d.ts +18 -0
  47. package/types/jsbridge/RNEasyui.d.ts.map +1 -1
  48. package/types/jsbridge/UpgradeModule.d.ts +15 -0
  49. package/types/jsbridge/UpgradeModule.d.ts.map +1 -1
  50. package/types/screen/px2dp.d.ts +11 -0
  51. package/types/screen/px2dp.d.ts.map +1 -1
  52. package/types/screen/text-fit.d.ts +3 -0
  53. package/types/screen/text-fit.d.ts.map +1 -1
  54. package/types/utils/lazy.d.ts +33 -0
  55. package/types/utils/lazy.d.ts.map +1 -1
  56. package/types/utils/mode.d.ts +14 -0
  57. package/types/utils/mode.d.ts.map +1 -1
  58. package/dist/components/Echarts/demo.js +0 -201
  59. package/dist/components/RefreshList/demo.js +0 -9
  60. package/dist/components/RefreshList/demo1.js +0 -27
  61. package/dist/components/RefreshList/demo2.js +0 -9
  62. package/dist/components/StickHeaderView/demo.js +0 -37
  63. package/i.sh +0 -25
  64. package/types/components/Echarts/demo.d.ts +0 -4
  65. package/types/components/Echarts/demo.d.ts.map +0 -1
  66. package/types/components/RefreshList/demo.d.ts +0 -2
  67. package/types/components/RefreshList/demo.d.ts.map +0 -1
  68. package/types/components/RefreshList/demo1.d.ts +0 -2
  69. package/types/components/RefreshList/demo1.d.ts.map +0 -1
  70. package/types/components/RefreshList/demo2.d.ts +0 -2
  71. package/types/components/RefreshList/demo2.d.ts.map +0 -1
  72. package/types/components/StickHeaderView/demo.d.ts +0 -4
  73. package/types/components/StickHeaderView/demo.d.ts.map +0 -1
@@ -1,20 +1,34 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
1
+ /*
2
+ * @Author: shiguo
3
+ * @Date: 2022-04-27 18:17:54
4
+ * @LastEditors: shiguo
5
+ * @LastEditTime: 2023-03-23 15:07:44
6
+ * @FilePath: /@aks-dev/easyui/utils/lazy.ts
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ /**
10
+ * @description: 睡眠时间
11
+ * @param {*}毫秒值
12
+ * @return {*}
13
+ */
10
14
  export const sleep = (msec) => {
11
15
  return new Promise((resolve) => {
12
16
  setTimeout(resolve, msec || 350);
13
17
  });
14
18
  };
19
+ /**
20
+ * @description: 获取随机色
21
+ * @param {*}
22
+ * @return {*}
23
+ */
15
24
  export const randomcolor = () => {
16
25
  return `rgba(${Math.round(Math.random() * 255)},${Math.round(Math.random() * 255)},${Math.round(Math.random() * 255)},${1})`;
17
26
  };
27
+ /**
28
+ * @description: 同步循环
29
+ * @param {*} dataList:数据源
30
+ * @return {*}
31
+ */
18
32
  export const syncLoop = (dataList, callback) => __awaiter(void 0, void 0, void 0, function* () {
19
33
  const length = dataList.length;
20
34
  const O = Object(dataList);
@@ -28,6 +42,10 @@ export const syncLoop = (dataList, callback) => __awaiter(void 0, void 0, void 0
28
42
  }
29
43
  return Promise.resolve("SyncForeach loop over");
30
44
  });
45
+ /**
46
+ * @description: 对11位手机号码加*
47
+ * @return {*}
48
+ */
31
49
  export const encryptMobilePhoneNumber = (text) => {
32
50
  if (text && text.length == 11) {
33
51
  let y1 = text.slice(0, 3);
@@ -36,21 +54,31 @@ export const encryptMobilePhoneNumber = (text) => {
36
54
  }
37
55
  return text;
38
56
  };
57
+ /**
58
+ * @description: 判断对象
59
+ * @return {*}
60
+ */
61
+ //判断是否为对象(仅为对象,不是数组也不是null)
39
62
  export const isObject = (exp) => {
40
63
  return Object.prototype.toString.call(exp) == "[object Object]";
41
64
  };
65
+ //判断是否为数组(仅为数组,不是对象也不是null)
42
66
  export const isArray = (exp) => {
43
67
  return Object.prototype.toString.call(exp) == "[object Array]";
44
68
  };
69
+ //判断是否为字符串
45
70
  export const isString = (exp) => {
46
71
  return Object.prototype.toString.call(exp) == "[object String]";
47
72
  };
73
+ //判断是否为数字(包括整数和实数)
48
74
  export const isNumber = (exp) => {
49
75
  return Object.prototype.toString.call(exp) == "[object Number]";
50
76
  };
77
+ //判断是否为null
51
78
  export const isNull = (exp) => {
52
79
  return Object.prototype.toString.call(exp) == "[object Null]";
53
80
  };
81
+ //判断是否为空对象
54
82
  export const isNullObject = (obj) => {
55
83
  if (obj == null || obj == undefined)
56
84
  return true;
@@ -59,10 +87,14 @@ export const isNullObject = (obj) => {
59
87
  }
60
88
  return true;
61
89
  };
90
+ //判断是否为undefined
62
91
  export const isUndefined = (exp) => {
63
92
  return Object.prototype.toString.call(exp) == "[object Undefined]";
64
93
  };
94
+ /**判断两个对象是否相同 */
65
95
  export const isObjectValueEqual = (a, b) => {
96
+ // Object.getOwnPropertyNames()方法返回一个由指定对象的所有自身属性的属性名(包括不可枚举属性但不包括Symbol值作为名称的属性)组成的数组
97
+ // 换句话来说 Object.getOwnPropertyNames()方法返回的是对象所有 key 组成的数组 list
66
98
  let aProps = Object.getOwnPropertyNames(a);
67
99
  let bProps = Object.getOwnPropertyNames(b);
68
100
  if (aProps.length != bProps.length) {
@@ -94,6 +126,7 @@ export const deepEqual = (x, y) => {
94
126
  if (prototype_x != prototype_y) {
95
127
  return false;
96
128
  }
129
+ /**以下类型相同比较 */
97
130
  if (prototype_x == "[object Object]") {
98
131
  if (Object.keys(x).length != Object.keys(y).length) {
99
132
  return false;
@@ -115,38 +148,50 @@ export const deepEqual = (x, y) => {
115
148
  }
116
149
  }
117
150
  else if (prototype_x == "[object Function]") {
151
+ /**过滤对函数的深比较 */
118
152
  return true;
119
153
  }
120
154
  else {
155
+ /**其它类型值比较 */
121
156
  return x == y;
122
157
  }
123
158
  return true;
124
159
  };
160
+ // 定义一个深拷贝函数 接收目标target参数
125
161
  export function deepClone(target) {
162
+ // 定义一个变量
126
163
  let result;
164
+ // 如果当前需要深拷贝的是一个对象的话
127
165
  if (typeof target === "object") {
166
+ // 如果是一个数组的话
128
167
  if (Array.isArray(target)) {
129
- result = [];
168
+ result = []; // 将result赋值为一个数组,并且执行遍历
130
169
  for (let i in target) {
170
+ // 递归克隆数组中的每一项
131
171
  result.push(deepClone(target[i]));
132
172
  }
173
+ // 判断如果当前的值是null的话;直接赋值为null
133
174
  }
134
175
  else if (target === null) {
135
176
  result = null;
177
+ // 判断如果当前的值是一个RegExp对象的话,直接赋值
136
178
  }
137
179
  else if (target.constructor === RegExp) {
138
180
  result = target;
139
181
  }
140
182
  else {
183
+ // 否则是普通对象,直接for in循环,递归赋值对象的所有值
141
184
  result = {};
142
185
  for (let i in target) {
143
186
  result[i] = deepClone(target[i]);
144
187
  }
145
188
  }
189
+ // 如果不是对象的话,就是基本数据类型,那么直接赋值
146
190
  }
147
191
  else {
148
192
  result = target;
149
193
  }
194
+ // 返回最终结果
150
195
  return result;
151
196
  }
152
197
  export const isPhoneNumber = (str) => {
@@ -156,7 +201,13 @@ export const isPhoneNumber = (str) => {
156
201
  }
157
202
  return true;
158
203
  };
204
+ /**
205
+ *
206
+ * @param dateStr yyyy-MM-dd HH:mm:ss
207
+ * @returns {string}
208
+ */
159
209
  export const toDateFriendly = (dateStr) => {
210
+ //af-测试可用
160
211
  if (!dateStr) {
161
212
  return "";
162
213
  }
@@ -270,14 +321,18 @@ export const isHaveEmojiCharact = (substring) => {
270
321
  }
271
322
  return false;
272
323
  };
324
+ /**
325
+ * @description: 获得32位随机字符
326
+ * @return {*}
327
+ */
273
328
  export const getUuid = () => {
274
329
  let s = [];
275
330
  let hexDigits = "0123456789abcdef";
276
331
  for (var i = 0; i < 36; i++) {
277
332
  s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
278
333
  }
279
- s[14] = "4";
280
- s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1);
334
+ s[14] = "4"; // bits 12-15 of the time_hi_and_version field to 0010
335
+ s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1); // bits 6-7 of the clock_seq_hi_and_reserved to 01
281
336
  s[8] = s[13] = s[18] = s[23] = "-";
282
337
  ` ][poi]`;
283
338
  var uuid = s.join("");
@@ -1,8 +1,24 @@
1
+ /*
2
+ * @Author: shiguo
3
+ * @Date: 2022-04-18 18:40:07
4
+ * @LastEditors: shiguo
5
+ * @LastEditTime: 2023-03-23 15:07:57
6
+ * @FilePath: /@aks-dev/easyui/utils/mode.ts
7
+ */
1
8
  import { PanResponder, Keyboard, Linking } from "react-native";
9
+ /**
10
+ * @description: 通过手势关闭键盘
11
+ * @return {*}
12
+ */
2
13
  export const keyboardDismissHandlers = PanResponder.create({
3
14
  onStartShouldSetPanResponder: () => true,
4
15
  onPanResponderGrant: Keyboard.dismiss,
5
16
  }).panHandlers;
17
+ /**
18
+ * @description: 手势动作回调
19
+ * @param {*}
20
+ * @return {*}
21
+ */
6
22
  export const panHandlersCallback = (props) => {
7
23
  return PanResponder.create({
8
24
  onStartShouldSetPanResponder: () => true,
@@ -12,6 +28,11 @@ export const panHandlersCallback = (props) => {
12
28
  onPanResponderRelease: props.ReleaseCallback,
13
29
  }).panHandlers;
14
30
  };
31
+ /**
32
+ * @description: 拨打电话
33
+ * @param {number} phone
34
+ * @return {*}
35
+ */
15
36
  export const callTelephone = (phone) => {
16
37
  let tel = "tel:" + phone;
17
38
  Linking.canOpenURL(tel)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.192",
3
+ "version": "1.0.193",
4
4
  "description": "工具箱",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./types/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "release": "yarn semantic-release",
10
10
  "cp": "cp -r -v src/assets dist/assets",
11
11
  "rsync": "rsync -av --include='*/' --exclude='*.tsx' --exclude='demo.tsx' --exclude='*.ts' src/ dist/",
12
- "build": "tsc && rsync -av --include='*/' --exclude='*.tsx' --exclude='demo.tsx' --exclude='*.ts' src/ dist/",
12
+ "build": "tsc --importHelpers && rsync -av --include='*/' --exclude='*.tsx' --exclude='demo.tsx' --exclude='*.ts' src/ dist/",
13
13
  "types": "tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./types",
14
14
  "dev": "tsc --watch",
15
15
  "test:ts": "tsc --noEmit"
@@ -30,8 +30,9 @@
30
30
  "/**/*.bundle",
31
31
  "!/tsconfig.json",
32
32
  "!/tsconfig.md",
33
- "/i.sh",
34
- "!/src/**/assets/*"
33
+ "!/i.sh",
34
+ "!/src/**/assets/*",
35
+ "!/docs"
35
36
  ],
36
37
  "homepage": "https://gitee.com/the_period_of_the_ten_kingdoms",
37
38
  "repository": {
@@ -57,12 +58,15 @@
57
58
  },
58
59
  "devDependencies": {
59
60
  "@aks-dev/react-native-syan-image-picker": "^0.5.58",
60
- "@tsconfig/node22": "^22.0.5",
61
+ "@tsconfig/react-native": "^3.0.9",
61
62
  "@types/react": "^19.2.14",
63
+ "react": "^19.2.4",
64
+ "react-dom": "^19.2.4",
62
65
  "react-native": "^0.84.1",
63
66
  "react-native-permissions": "^5.5.1",
64
67
  "react-native-vision-camera": "^4.7.3",
65
- "react-native-webview": "^13.16.1"
68
+ "react-native-webview": "^13.16.1",
69
+ "typescript": "^5.9.3"
66
70
  },
67
71
  "resolutions": {
68
72
  "@types/react": "*"
@@ -2,7 +2,15 @@ import * as React from "react";
2
2
  import { ColorValue } from "react-native";
3
3
  export type AnimationModalProps = {
4
4
  children: React.ReactNode;
5
+ /**
6
+ * 动画方向,默认 'from-bottom'
7
+ * center-in 动画暂未实现
8
+ * @deprecated
9
+ */
5
10
  animationType?: "from-bottom" | "center-in";
11
+ /**
12
+ * 是否有遮罩,默认没有
13
+ */
6
14
  mask?: boolean;
7
15
  style?: {
8
16
  backgroundColor?: ColorValue | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"AnimationModal.d.ts","sourceRoot":"","sources":["../../../src/components/AnimationModal/AnimationModal.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAUL,UAAU,EACX,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAM1B,aAAa,CAAC,EAAE,aAAa,GAAG,WAAW,CAAC;IAI5C,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,KAAK,CAAC,EAAE;QACN,eAAe,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;KAC1C,CAAC;CACH,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,MAAM,aAAa,CAAC;IAC1B,IAAI,EAAE,MAAM,aAAa,CAAC;IAC1B,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,aAAa,CAAC;IACvC,OAAO,EAAE,MAAM,GAAG,CAAC;CACpB,CAAC;AAMF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,yBAAyB,CAC1D,KAAK,CAAC,eAAe,CAAC,mBAAmB,CAAC,GACxC,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAkIpC,CAAC"}
1
+ {"version":3,"file":"AnimationModal.d.ts","sourceRoot":"","sources":["../../../src/components/AnimationModal/AnimationModal.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAUL,UAAU,EACX,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,GAAG,WAAW,CAAC;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,KAAK,CAAC,EAAE;QACN,eAAe,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;KAC1C,CAAC;CACH,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,MAAM,aAAa,CAAC;IAC1B,IAAI,EAAE,MAAM,aAAa,CAAC;IAC1B,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,aAAa,CAAC;IACvC,OAAO,EAAE,MAAM,GAAG,CAAC;CACpB,CAAC;AAMF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,yBAAyB,CAC1D,KAAK,CAAC,eAAe,CAAC,mBAAmB,CAAC,GACxC,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAkIpC,CAAC"}
@@ -1,5 +1,10 @@
1
1
  export declare const getHtml: (props: {
2
2
  backgroundColor: any;
3
3
  }) => string;
4
+ /**
5
+ * https://res.actiiot.com/echarts/5.0.2/echarts.min.js
6
+ *
7
+ * https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.1/echarts.min.js
8
+ */
4
9
  export declare const toString: (obj: object) => string;
5
10
  //# sourceMappingURL=helper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/components/Echarts/helper.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,OAAO,GAAI,OAAO;IAAE,eAAe,EAAE,GAAG,CAAA;CAAE,WAoCpD,CAAA;AAQD,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,WAcnC,CAAA"}
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/components/Echarts/helper.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,OAAO,GAAI,OAAO;IAAE,eAAe,EAAE,GAAG,CAAA;CAAE,WAoCpD,CAAA;AAED;;;;GAIG;AAEH,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,WAcnC,CAAA"}
@@ -2,6 +2,7 @@ import * as React from "react";
2
2
  import { ImageSourcePropType, StyleProp, ViewStyle, ImageStyle, TextStyle } from "react-native";
3
3
  type ViewModelProps = {
4
4
  photos?: any[];
5
+ /**@deprecated disabled 图片点击状态,已弃用*/
5
6
  disabled?: boolean;
6
7
  imageViewer: {
7
8
  imageUrls: any[];
@@ -14,9 +15,12 @@ type BindProps = {
14
15
  setViewModel: (intent: Partial<ViewModelProps>) => void;
15
16
  };
16
17
  export type MutiPictureViewProps = {
18
+ /**@deprecated title 标题 ,已弃用*/
17
19
  title?: string;
18
20
  bind: BindProps;
21
+ /**default maxCount is 6 */
19
22
  maxCount?: number;
23
+ /**default type is showImagePicker */
20
24
  type?: "showImagePicker" | "openCamera";
21
25
  style?: StyleProp<ViewStyle>;
22
26
  addIcon?: ImageSourcePropType;
@@ -27,12 +31,17 @@ export type MutiPictureViewProps = {
27
31
  itemContainerStyle?: StyleProp<ViewStyle>;
28
32
  delIcon?: ImageSourcePropType;
29
33
  delIconStyle?: StyleProp<ImageStyle>;
34
+ /**外边距 */
30
35
  spacingHorizontal?: number;
36
+ /**内边距 */
31
37
  spacingInner?: number;
38
+ /**仅仅看看,不增减图片 */
32
39
  editable?: boolean;
40
+ /**这个属性会覆盖bind.viewModel.photos */
33
41
  value?: (string | {
34
42
  uri: string;
35
43
  })[];
44
+ /**default false 空视图占位 */
36
45
  showEmptyPlaceHolder?: boolean;
37
46
  emptyPlaceHolderStyle?: StyleProp<ViewStyle>;
38
47
  };
@@ -1 +1 @@
1
- {"version":3,"file":"MutiPictureView.d.ts","sourceRoot":"","sources":["../../../src/components/MutiPictureView/MutiPictureView.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAKL,mBAAmB,EAInB,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACV,MAAM,cAAc,CAAC;AAMtB,KAAK,cAAc,GAAG;IACpB,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;IAEf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE;QACX,SAAS,EAAE,GAAG,EAAE,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,SAAS,EAAE,cAAc,CAAC;IAC1B,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CACzD,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG;IAEjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,SAAS,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,iBAAiB,GAAG,YAAY,CAAC;IACxC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,YAAY,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7C,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC1C,OAAO,CAAC,EAAE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CAAC,EAAE,iBAAiB,GAAG,YAAY,CAAC;IACxC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,YAAY,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7C,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC1C,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,YAAY,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACrC,SAAS;IACT,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS;IACT,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kCAAkC;IAClC,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IACrC,yBAAyB;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9C,CAAC;;AAuVF,wBAA4E"}
@@ -1,7 +1,13 @@
1
1
  import * as React from "react";
2
2
  import { Animated, ViewProps } from "react-native";
3
3
  export type StickHeaderViewProps = {
4
+ /**
5
+ * 头部高度
6
+ */
4
7
  stickyHeaderY: number;
8
+ /**
9
+ * 滑动距离
10
+ */
5
11
  stickyScrollY: Animated.Value;
6
12
  } & ViewProps;
7
13
  declare const _default: React.NamedExoticComponent<StickHeaderViewProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"StickHeaderView.d.ts","sourceRoot":"","sources":["../../../src/components/StickHeaderView/StickHeaderView.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,QAAQ,EAER,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,oBAAoB,GAAG;IAIjC,aAAa,EAAE,MAAM,CAAC;IAKtB,aAAa,EAAE,QAAQ,CAAC,KAAK,CAAC;CAC/B,GAAG,SAAS,CAAC;;AA4Cd,wBAA+B"}
1
+ {"version":3,"file":"StickHeaderView.d.ts","sourceRoot":"","sources":["../../../src/components/StickHeaderView/StickHeaderView.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,QAAQ,EAER,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,aAAa,EAAE,QAAQ,CAAC,KAAK,CAAC;CAC/B,GAAG,SAAS,CAAC;;AA4Cd,wBAA+B"}
@@ -8,6 +8,7 @@ export type TextInputAreaProps = {
8
8
  maxLength: number;
9
9
  style: StyleProp<ViewStyle>;
10
10
  textInputStyle: StyleProp<TextStyle>;
11
+ /**设置默认值 */
11
12
  defaultValue: string;
12
13
  on: (content: string) => void;
13
14
  } & TextInputProps;
@@ -1 +1 @@
1
- {"version":3,"file":"TextInputArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextInputArea/TextInputArea.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAKL,SAAS,EACT,SAAS,EACT,cAAc,EACd,SAAS,EACV,MAAM,cAAc,CAAC;AAItB,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC5B,cAAc,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAErC,YAAY,EAAE,MAAM,CAAC;IAErB,EAAE,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B,GAAG,cAAc,CAAC;;AAEnB,wBAmDE"}
1
+ {"version":3,"file":"TextInputArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextInputArea/TextInputArea.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAKL,SAAS,EACT,SAAS,EACT,cAAc,EACd,SAAS,EACV,MAAM,cAAc,CAAC;AAItB,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC5B,cAAc,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACrC,WAAW;IACX,YAAY,EAAE,MAAM,CAAC;IAErB,EAAE,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B,GAAG,cAAc,CAAC;;AAEnB,wBAmDE"}
@@ -1,5 +1,23 @@
1
+ /**
2
+ * @description: 获取设备品牌
3
+ * @return {*}
4
+ */
1
5
  export declare const getDeviceBrand: () => any;
6
+ /**
7
+ * @deprecated 测量不准确,已放弃
8
+ * @description: 获取status_bar_height
9
+ * @return {*}
10
+ */
2
11
  export declare const getStatusBarHeight: () => any;
12
+ /**
13
+ * @deprecated 测量不准确,已放弃
14
+ * @description: 获取navigation_bar_height
15
+ * @return {*}
16
+ */
3
17
  export declare const getNavigationBarHeight: () => any;
18
+ /**
19
+ * only android
20
+ * 返回桌面
21
+ */
4
22
  export declare const gotoDesktop: () => void;
5
23
  //# sourceMappingURL=RNEasyui.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RNEasyui.d.ts","sourceRoot":"","sources":["../../src/jsbridge/RNEasyui.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,cAAc,WAAkC,CAAC;AAM9D,eAAO,MAAM,kBAAkB,WAO9B,CAAC;AAMF,eAAO,MAAM,sBAAsB,WAIlC,CAAC;AAMF,eAAO,MAAM,WAAW,YAEvB,CAAC"}
1
+ {"version":3,"file":"RNEasyui.d.ts","sourceRoot":"","sources":["../../src/jsbridge/RNEasyui.ts"],"names":[],"mappings":"AAYA;;;GAGG;AACH,eAAO,MAAM,cAAc,WAAkC,CAAC;AAC9D;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,WAO9B,CAAC;AACF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,WAIlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,YAEvB,CAAC"}
@@ -1,5 +1,20 @@
1
+ /**
2
+ * @description: 获取App版本号
3
+ * @param {*}
4
+ * @return {*}
5
+ */
1
6
  export declare const getAppVersion: () => any;
7
+ /**
8
+ * @description: 获取操作系统版本
9
+ *
10
+ react-native-device-info
11
+ * @return {*}
12
+ */
2
13
  export declare const getOSVersion: () => any;
14
+ /**
15
+ * @description: app升级
16
+ * @return {*}
17
+ */
3
18
  export type UpgradeOptions = {
4
19
  title?: string;
5
20
  version: string;
@@ -1 +1 @@
1
- {"version":3,"file":"UpgradeModule.d.ts","sourceRoot":"","sources":["../../src/jsbridge/UpgradeModule.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,aAAa,WAAsC,CAAC;AAOjE,eAAO,MAAM,YAAY,WAAqC,CAAC;AAK/D,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,SAAS,cAAc,iBA0BpD,CAAC"}
1
+ {"version":3,"file":"UpgradeModule.d.ts","sourceRoot":"","sources":["../../src/jsbridge/UpgradeModule.ts"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,eAAO,MAAM,aAAa,WAAsC,CAAC;AACjE;;;;;GAKG;AACH,eAAO,MAAM,YAAY,WAAqC,CAAC;AAC/D;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,SAAS,cAAc,iBA0BpD,CAAC"}
@@ -1,9 +1,20 @@
1
+ /**设备宽度,单位 dp */
1
2
  export declare const deviceWidth: number;
2
3
  export declare const deviceHeight: number;
3
4
  export declare const isAndroid: boolean;
4
5
  export declare const isIos: boolean;
5
6
  export declare const isiPhoneX: boolean;
6
7
  export declare const px2dp: (uiElePx: number) => number;
8
+ /**
9
+ * @description: 状态栏的高度
10
+ * @param {*}
11
+ * @return {*}
12
+ */
7
13
  export declare const statusBarHeight: number;
14
+ /**
15
+ * @description: 顶部导航条的高度,高度不包含statusBarHeight
16
+ * @param {*}
17
+ * @return {*}
18
+ */
8
19
  export declare const navigationBarHeight: number;
9
20
  //# sourceMappingURL=px2dp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"px2dp.d.ts","sourceRoot":"","sources":["../../src/screen/px2dp.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,WAAW,QAAiC,CAAC;AAC1D,eAAO,MAAM,YAAY,QAAkC,CAAC;AAC5D,eAAO,MAAM,SAAS,SAA4B,CAAC;AACnD,eAAO,MAAM,KAAK,SAAwB,CAAC;AAC3C,eAAO,MAAM,SAAS,SAA8B,CAAC;AAUrD,eAAO,MAAM,KAAK,GAAI,SAAS,MAAM,WAEpC,CAAC;AAMF,eAAO,MAAM,eAAe,QAIxB,CAAC;AAML,eAAO,MAAM,mBAAmB,QAG5B,CAAC"}
1
+ {"version":3,"file":"px2dp.d.ts","sourceRoot":"","sources":["../../src/screen/px2dp.ts"],"names":[],"mappings":"AASA,gBAAgB;AAChB,eAAO,MAAM,WAAW,QAAiC,CAAC;AAC1D,eAAO,MAAM,YAAY,QAAkC,CAAC;AAC5D,eAAO,MAAM,SAAS,SAA4B,CAAC;AACnD,eAAO,MAAM,KAAK,SAAwB,CAAC;AAC3C,eAAO,MAAM,SAAS,SAA8B,CAAC;AAUrD,eAAO,MAAM,KAAK,GAAI,SAAS,MAAM,WAEpC,CAAC;AACF;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAIxB,CAAC;AACL;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,QAG5B,CAAC"}
@@ -1,2 +1,5 @@
1
+ /**
2
+ * 全局配置Text
3
+ */
1
4
  export {};
2
5
  //# sourceMappingURL=text-fit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-fit.d.ts","sourceRoot":"","sources":["../../src/screen/text-fit.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"text-fit.d.ts","sourceRoot":"","sources":["../../src/screen/text-fit.ts"],"names":[],"mappings":"AAOA;;GAEG"}
@@ -1,8 +1,31 @@
1
+ /**
2
+ * @description: 睡眠时间
3
+ * @param {*}毫秒值
4
+ * @return {*}
5
+ */
1
6
  export declare const sleep: (msec?: number) => Promise<unknown>;
7
+ /**
8
+ * @description: 获取随机色
9
+ * @param {*}
10
+ * @return {*}
11
+ */
2
12
  export declare const randomcolor: () => string;
3
13
  type SyncLoopCallBack = (item: any, index: number) => void;
14
+ /**
15
+ * @description: 同步循环
16
+ * @param {*} dataList:数据源
17
+ * @return {*}
18
+ */
4
19
  export declare const syncLoop: (dataList: any[], callback: SyncLoopCallBack) => Promise<string>;
20
+ /**
21
+ * @description: 对11位手机号码加*
22
+ * @return {*}
23
+ */
5
24
  export declare const encryptMobilePhoneNumber: (text: string) => string;
25
+ /**
26
+ * @description: 判断对象
27
+ * @return {*}
28
+ */
6
29
  export declare const isObject: (exp: any) => boolean;
7
30
  export declare const isArray: (exp: any) => boolean;
8
31
  export declare const isString: (exp: any) => boolean;
@@ -10,16 +33,26 @@ export declare const isNumber: (exp: any) => boolean;
10
33
  export declare const isNull: (exp: any) => boolean;
11
34
  export declare const isNullObject: (obj: any) => boolean;
12
35
  export declare const isUndefined: (exp: any) => boolean;
36
+ /**判断两个对象是否相同 */
13
37
  export declare const isObjectValueEqual: (a: any, b: any) => boolean;
14
38
  export declare const deepEqual: (x: any, y: any) => boolean;
15
39
  export declare function deepClone(target: any): any;
16
40
  export declare const isPhoneNumber: (str: string) => boolean;
41
+ /**
42
+ *
43
+ * @param dateStr yyyy-MM-dd HH:mm:ss
44
+ * @returns {string}
45
+ */
17
46
  export declare const toDateFriendly: (dateStr: string) => string;
18
47
  export declare const isChainChar: (str: string) => boolean;
19
48
  export declare const isHaveChartCount: (str: string) => number | undefined;
20
49
  export declare const isHaveNumberCount: (str: string) => number | undefined;
21
50
  export declare const isHaveChinese: (text: string) => boolean;
22
51
  export declare const isHaveEmojiCharact: (substring: string) => boolean;
52
+ /**
53
+ * @description: 获得32位随机字符
54
+ * @return {*}
55
+ */
23
56
  export declare const getUuid: () => string;
24
57
  export {};
25
58
  //# sourceMappingURL=lazy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lazy.d.ts","sourceRoot":"","sources":["../../src/utils/lazy.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,qBAIlC,CAAC;AAMF,eAAO,MAAM,WAAW,cAEvB,CAAC;AAEF,KAAK,gBAAgB,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;AAM3D,eAAO,MAAM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gB,GAAI,KAAK,MAAM,uBAK3C,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,KAAK,MAAM,uBAK5C,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,YAOzC,CAAC;AACF,eAAO,MAAM,kBAAkB,GAAI,WAAW,MAAM,YAyCnD,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,OAAO,cAYnB,CAAC"}
@@ -1,10 +1,24 @@
1
1
  type CallBack = (...args: any[]) => void;
2
+ /**
3
+ * @description: 通过手势关闭键盘
4
+ * @return {*}
5
+ */
2
6
  export declare const keyboardDismissHandlers: import("react-native").GestureResponderHandlers;
7
+ /**
8
+ * @description: 手势动作回调
9
+ * @param {*}
10
+ * @return {*}
11
+ */
3
12
  export declare const panHandlersCallback: (props: {
4
13
  GrantCallback: CallBack;
5
14
  MoveCallback: CallBack;
6
15
  ReleaseCallback: CallBack;
7
16
  }) => import("react-native").GestureResponderHandlers;
17
+ /**
18
+ * @description: 拨打电话
19
+ * @param {number} phone
20
+ * @return {*}
21
+ */
8
22
  export declare const callTelephone: (phone: number | string) => void;
9
23
  export {};
10
24
  //# sourceMappingURL=mode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mode.d.ts","sourceRoot":"","sources":["../../src/utils/mode.ts"],"names":[],"mappings":"AASA,KAAK,QAAQ,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;AAKzC,eAAO,MAAM,uBAAuB,iDAGtB,CAAC;AAMf,eAAO,MAAM,mBAAmB,GAAI,OAAO;IACzC,aAAa,EAAE,QAAQ,CAAC;IACxB,YAAY,EAAE,QAAQ,CAAC;IACvB,eAAe,EAAE,QAAQ,CAAC;CAC3B,oDAQA,CAAC;AAMF,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,GAAG,MAAM,SAanD,CAAC"}
1
+ {"version":3,"file":"mode.d.ts","sourceRoot":"","sources":["../../src/utils/mode.ts"],"names":[],"mappings":"AASA,KAAK,QAAQ,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;AACzC;;;GAGG;AACH,eAAO,MAAM,uBAAuB,iDAGtB,CAAC;AACf;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO;IACzC,aAAa,EAAE,QAAQ,CAAC;IACxB,YAAY,EAAE,QAAQ,CAAC;IACvB,eAAe,EAAE,QAAQ,CAAC;CAC3B,oDAQA,CAAC;AACF;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,GAAG,MAAM,SAanD,CAAC"}