@aks-dev/easyui 1.0.149 → 1.0.150

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.
@@ -2,7 +2,7 @@
2
2
  * @Author: shiguo
3
3
  * @Date: 2022-04-19 10:23:01
4
4
  * @LastEditors: shiguo
5
- * @LastEditTime: 2022-11-18 19:09:00
5
+ * @LastEditTime: 2023-03-10 14:05:17
6
6
  * @FilePath: /@aks-dev/easyui/jsbridge/RNEasyui.ts
7
7
  */
8
8
 
@@ -36,3 +36,7 @@ export const getNavigationBarHeight = () => {
36
36
  export const gotoDesktop = () => {
37
37
  if (Platform.OS == 'android') RNEasyui?.gotoDesktop();
38
38
  }
39
+
40
+
41
+
42
+
@@ -100,6 +100,7 @@ export default React.forwardRef<AlertViewOptions.RefAttributes, {}>((_, ref) =>
100
100
  <TouchableOpacity
101
101
  style={[styles.cancel, { marginRight: state.confirmText ? px2dp(15) : 0 }, state.cancelContainerStyle]}
102
102
  activeOpacity={0.8}
103
+ disabled={state.cancelDisabled}
103
104
  onPress={() => {
104
105
  hide()
105
106
  cancelCallbackRef.current && cancelCallbackRef.current()
@@ -2,8 +2,8 @@
2
2
  * @Author: shiguo
3
3
  * @Date: 2022-04-22 17:30:32
4
4
  * @LastEditors: shiguo
5
- * @LastEditTime: 2022-09-09 10:53:51
6
- * @FilePath: /@aks-dev/easyui/lib/Hud/AlertView/index.ts
5
+ * @LastEditTime: 2023-03-10 12:21:30
6
+ * @FilePath: /@aks-dev/easyui/lib/Hud/AlertView/index.d.ts
7
7
  */
8
8
  import * as React from 'react'
9
9
 
@@ -19,6 +19,7 @@ export declare type AlertViewOptions = {
19
19
  cancelContainerStyle: StyleProp<ViewStyle>;
20
20
  cancelTextStyle: StyleProp<TextStyle>;
21
21
  cancel: () => void;
22
+ cancelDisabled:boolean;
22
23
  confirmText: string;
23
24
  confirmContainerStyle: StyleProp<ViewStyle>;
24
25
  confirmTextStyle: StyleProp<TextStyle>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.149",
3
+ "version": "1.0.150",
4
4
  "description": "工具箱",
5
5
  "main": "./src/index.ts",
6
6
  "typings": "./src/index.d.ts",
package/utils/lazy.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * @Author: shiguo
3
3
  * @Date: 2022-04-27 18:17:54
4
4
  * @LastEditors: shiguo
5
- * @LastEditTime: 2023-02-28 12:07:28
5
+ * @LastEditTime: 2023-03-10 14:04:08
6
6
  * @FilePath: /@aks-dev/easyui/utils/lazy.ts
7
7
  */
8
8
  import type { SyncLoopCallBack } from '.'
@@ -334,3 +334,5 @@ export const getUuid = () => {
334
334
  var uuid = s.join("");
335
335
  return uuid
336
336
  }
337
+
338
+