@aks-dev/easyui 1.0.163 → 1.1.2

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.
Files changed (173) hide show
  1. package/dist/components/AnimationModal/AnimationModal.js +151 -0
  2. package/dist/components/DottedLine/DottedLine.js +50 -0
  3. package/{lib/Echarts/EchartsView.tsx → dist/components/EchartsView/EchartsView.js} +74 -113
  4. package/{lib/Echarts/helper.tsx → dist/components/EchartsView/helper.js} +17 -24
  5. package/dist/components/Hud/AlertBottomView/AlertBottomView.js +174 -0
  6. package/dist/components/Hud/AlertSheetView/AlertSheetView.js +117 -0
  7. package/dist/components/Hud/AlertView/AlertView.js +184 -0
  8. package/dist/components/Hud/Hud.js +29 -0
  9. package/dist/components/Hud/Loading/Loading.js +66 -0
  10. package/dist/components/Hud/PopoverView/PopoverView.js +47 -0
  11. package/dist/components/Hud/Scanner/Scanner.js +301 -0
  12. package/dist/components/Hud/Toast/Toast.js +71 -0
  13. package/dist/components/MenuView/MenuView.js +184 -0
  14. package/{lib/Modal/Modal.tsx → dist/components/Modal/Modal.js} +1 -4
  15. package/dist/components/MutiPictureView/MutiPictureView.js +239 -0
  16. package/dist/components/PictureViewer/PictureViewer.js +54 -0
  17. package/dist/components/RefreshList/RefreshList.js +155 -0
  18. package/dist/components/RichText/RichText.js +56 -0
  19. package/dist/components/StickHeaderView/StickHeaderView.js +37 -0
  20. package/dist/components/TableCell/TableCell.js +97 -0
  21. package/dist/components/TextInputArea/TextInputArea.js +65 -0
  22. package/dist/components/WithLoadingContainer/WithLoadingContainer.js +77 -0
  23. package/dist/index.js +31 -0
  24. package/dist/jsbridge/RNEasyui.js +46 -0
  25. package/{jsbridge/UpgradeModule.ts → dist/jsbridge/UpgradeModule.js} +25 -23
  26. package/{jsbridge/index.ts → dist/jsbridge/index.js} +2 -2
  27. package/{screen/index.ts → dist/screen/index.js} +2 -2
  28. package/dist/screen/px2dp.js +45 -0
  29. package/{screen/px2sp.ts → dist/screen/px2sp.js} +13 -20
  30. package/{screen/text-fit.ts → dist/screen/text-fit.js} +10 -20
  31. package/{utils/index.ts → dist/utils/index.js} +2 -2
  32. package/{utils/lazy.ts → dist/utils/lazy.js} +164 -165
  33. package/dist/utils/mode.js +50 -0
  34. package/package.json +31 -19
  35. package/readme.md +3 -3
  36. package/types/components/AnimationModal/AnimationModal.d.ts +27 -0
  37. package/types/components/AnimationModal/AnimationModal.d.ts.map +1 -0
  38. package/types/components/DottedLine/DottedLine.d.ts +10 -0
  39. package/types/components/DottedLine/DottedLine.d.ts.map +1 -0
  40. package/types/components/EchartsView/EchartsView.d.ts +10 -0
  41. package/types/components/EchartsView/EchartsView.d.ts.map +1 -0
  42. package/types/components/EchartsView/helper.d.ts +10 -0
  43. package/types/components/EchartsView/helper.d.ts.map +1 -0
  44. package/types/components/Hud/AlertBottomView/AlertBottomView.d.ts +25 -0
  45. package/types/components/Hud/AlertBottomView/AlertBottomView.d.ts.map +1 -0
  46. package/types/components/Hud/AlertSheetView/AlertSheetView.d.ts +19 -0
  47. package/types/components/Hud/AlertSheetView/AlertSheetView.d.ts.map +1 -0
  48. package/types/components/Hud/AlertView/AlertView.d.ts +25 -0
  49. package/types/components/Hud/AlertView/AlertView.d.ts.map +1 -0
  50. package/types/components/Hud/Hud.d.ts +11 -0
  51. package/types/components/Hud/Hud.d.ts.map +1 -0
  52. package/types/components/Hud/Loading/Loading.d.ts +11 -0
  53. package/types/components/Hud/Loading/Loading.d.ts.map +1 -0
  54. package/types/components/Hud/PopoverView/PopoverView.d.ts +17 -0
  55. package/types/components/Hud/PopoverView/PopoverView.d.ts.map +1 -0
  56. package/types/components/Hud/Scanner/Scanner.d.ts +12 -0
  57. package/types/components/Hud/Scanner/Scanner.d.ts.map +1 -0
  58. package/types/components/Hud/Toast/Toast.d.ts +9 -0
  59. package/types/components/Hud/Toast/Toast.d.ts.map +1 -0
  60. package/types/components/MenuView/MenuView.d.ts +21 -0
  61. package/types/components/MenuView/MenuView.d.ts.map +1 -0
  62. package/types/components/Modal/Modal.d.ts +2 -0
  63. package/types/components/Modal/Modal.d.ts.map +1 -0
  64. package/{lib/MutiPictureView/index.ts → types/components/MutiPictureView/MutiPictureView.d.ts} +18 -31
  65. package/types/components/MutiPictureView/MutiPictureView.d.ts.map +1 -0
  66. package/types/components/PictureViewer/PictureViewer.d.ts +17 -0
  67. package/types/components/PictureViewer/PictureViewer.d.ts.map +1 -0
  68. package/types/components/RefreshList/RefreshList.d.ts +45 -0
  69. package/types/components/RefreshList/RefreshList.d.ts.map +1 -0
  70. package/types/components/RichText/RichText.d.ts +12 -0
  71. package/types/components/RichText/RichText.d.ts.map +1 -0
  72. package/types/components/StickHeaderView/StickHeaderView.d.ts +15 -0
  73. package/types/components/StickHeaderView/StickHeaderView.d.ts.map +1 -0
  74. package/{lib/TableCell/index.ts → types/components/TableCell/TableCell.d.ts} +8 -30
  75. package/types/components/TableCell/TableCell.d.ts.map +1 -0
  76. package/types/components/TextInputArea/TextInputArea.d.ts +17 -0
  77. package/types/components/TextInputArea/TextInputArea.d.ts.map +1 -0
  78. package/types/components/WithLoadingContainer/WithLoadingContainer.d.ts +23 -0
  79. package/types/components/WithLoadingContainer/WithLoadingContainer.d.ts.map +1 -0
  80. package/types/index.d.ts +22 -0
  81. package/types/index.d.ts.map +1 -0
  82. package/types/jsbridge/RNEasyui.d.ts +23 -0
  83. package/types/jsbridge/RNEasyui.d.ts.map +1 -0
  84. package/types/jsbridge/UpgradeModule.d.ts +26 -0
  85. package/types/jsbridge/UpgradeModule.d.ts.map +1 -0
  86. package/types/jsbridge/index.d.ts +3 -0
  87. package/types/jsbridge/index.d.ts.map +1 -0
  88. package/types/screen/index.d.ts +3 -0
  89. package/types/screen/index.d.ts.map +1 -0
  90. package/{screen/index.d.ts → types/screen/px2dp.d.ts} +6 -12
  91. package/types/screen/px2dp.d.ts.map +1 -0
  92. package/types/screen/px2sp.d.ts +2 -0
  93. package/types/screen/px2sp.d.ts.map +1 -0
  94. package/types/screen/text-fit.d.ts +5 -0
  95. package/types/screen/text-fit.d.ts.map +1 -0
  96. package/types/utils/index.d.ts +3 -0
  97. package/types/utils/index.d.ts.map +1 -0
  98. package/{utils/index.d.ts → types/utils/lazy.d.ts} +15 -53
  99. package/types/utils/lazy.d.ts.map +1 -0
  100. package/types/utils/mode.d.ts +24 -0
  101. package/types/utils/mode.d.ts.map +1 -0
  102. package/android/.DS_Store +0 -0
  103. package/android/src/.DS_Store +0 -0
  104. package/android/src/main/.DS_Store +0 -0
  105. package/android/src/main/java/.DS_Store +0 -0
  106. package/android/src/main/java/com/.DS_Store +0 -0
  107. package/android/src/main/java/com/easyui/.DS_Store +0 -0
  108. package/i.sh +0 -23
  109. package/ios/.DS_Store +0 -0
  110. package/ios/assets/.DS_Store +0 -0
  111. package/ios/views/.DS_Store +0 -0
  112. package/jsbridge/RNEasyui.ts +0 -42
  113. package/jsbridge/index.d.ts +0 -67
  114. package/lib/.DS_Store +0 -0
  115. package/lib/AnimationModal/AnimationModal.tsx +0 -201
  116. package/lib/AnimationModal/index.d.ts +0 -41
  117. package/lib/Badge/Badge.tsx +0 -40
  118. package/lib/Badge/index.ts +0 -21
  119. package/lib/DottedLine/DottedLine.tsx +0 -66
  120. package/lib/DottedLine/index.ts +0 -18
  121. package/lib/Echarts/demo.tsx +0 -235
  122. package/lib/Echarts/index.ts +0 -29
  123. package/lib/Hud/.DS_Store +0 -0
  124. package/lib/Hud/AlertBottomView/AlertBottomView.tsx +0 -228
  125. package/lib/Hud/AlertBottomView/index.d.ts +0 -42
  126. package/lib/Hud/AlertSheetView/AlertSheetView.tsx +0 -179
  127. package/lib/Hud/AlertSheetView/index.d.ts +0 -35
  128. package/lib/Hud/AlertView/AlertView.tsx +0 -234
  129. package/lib/Hud/AlertView/index.d.ts +0 -46
  130. package/lib/Hud/Hud.tsx +0 -67
  131. package/lib/Hud/Loading/Loading.tsx +0 -87
  132. package/lib/Hud/Loading/index.d.ts +0 -38
  133. package/lib/Hud/PopoverView/PopoverView.tsx +0 -66
  134. package/lib/Hud/PopoverView/index.d.ts +0 -39
  135. package/lib/Hud/Scanner/Scanner.tsx +0 -250
  136. package/lib/Hud/Scanner/index.d.ts +0 -42
  137. package/lib/Hud/Toast/Toast.tsx +0 -86
  138. package/lib/Hud/Toast/index.d.ts +0 -22
  139. package/lib/Hud/index.ts +0 -20
  140. package/lib/MenuView/MenuView.tsx +0 -252
  141. package/lib/MenuView/index.ts +0 -31
  142. package/lib/Modal/index.ts +0 -10
  143. package/lib/MutiPictureView/MutiPictureView.tsx +0 -259
  144. package/lib/PictureViewer/PictureViewer.tsx +0 -80
  145. package/lib/PictureViewer/index.ts +0 -26
  146. package/lib/RefreshList/RefreshList.tsx +0 -235
  147. package/lib/RefreshList/demo.tsx +0 -30
  148. package/lib/RefreshList/demo1.tsx +0 -60
  149. package/lib/RefreshList/demo2.tsx +0 -46
  150. package/lib/RefreshList/index.ts +0 -84
  151. package/lib/RichText/RichText.tsx +0 -82
  152. package/lib/RichText/index.ts +0 -21
  153. package/lib/StickHeaderView/StickHeaderView.tsx +0 -65
  154. package/lib/StickHeaderView/demo.tsx +0 -104
  155. package/lib/StickHeaderView/index.ts +0 -26
  156. package/lib/TableCell/TableCell.tsx +0 -118
  157. package/lib/TextInputArea/TextInputArea.tsx +0 -89
  158. package/lib/TextInputArea/index.d.ts +0 -33
  159. package/lib/WithLoadingContainer/WithLoadingContainer.tsx +0 -93
  160. package/lib/WithLoadingContainer/index.ts +0 -36
  161. package/screen/px2dp.ts +0 -51
  162. package/src/index.d.ts +0 -42
  163. package/src/index.ts +0 -54
  164. package/utils/mode.ts +0 -48
  165. /package/{lib/Hud/Scanner → dist/components/Hud/Scanner/assets}/flashlight-blue.png +0 -0
  166. /package/{lib/Hud/Scanner → dist/components/Hud/Scanner/assets}/flashlight-white.png +0 -0
  167. /package/{lib/Hud/Scanner → dist/components/Hud/Scanner/assets}/icon_back_white.png +0 -0
  168. /package/{lib/MutiPictureView → dist/components/MutiPictureView/assets}/icon_add_image.png +0 -0
  169. /package/{lib/MutiPictureView → dist/components/MutiPictureView/assets}/icon_del_image.png +0 -0
  170. /package/{lib/TableCell → dist/components/TableCell/assets}/back.png +0 -0
  171. /package/{lib/WithLoadingContainer → dist/components/WithLoadingContainer/assets}/loading.gif +0 -0
  172. /package/{lib/WithLoadingContainer → dist/components/WithLoadingContainer/assets}/loading3.gif +0 -0
  173. /package/{lib → dist/components}/index.md +0 -0
@@ -0,0 +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;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"}
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import { ViewProps } from "react-native";
3
+ export type DottedLineProps = {
4
+ vertical?: boolean;
5
+ dottedColor?: string;
6
+ dottedCount?: number;
7
+ } & ViewProps;
8
+ declare const _default: (props: DottedLineProps) => React.JSX.Element;
9
+ export default _default;
10
+ //# sourceMappingURL=DottedLine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DottedLine.d.ts","sourceRoot":"","sources":["../../../src/components/DottedLine/DottedLine.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3D,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,SAAS,CAAC;yBACE,OAAO,eAAe;AAAtC,wBAwBE"}
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ import { ViewStyle, StyleProp } from "react-native";
3
+ export type EchartsViewProps = {
4
+ option: any;
5
+ style?: StyleProp<ViewStyle>;
6
+ renderLoading?: () => React.ReactElement;
7
+ };
8
+ declare const EchartsView: React.FC<EchartsViewProps>;
9
+ export default EchartsView;
10
+ //# sourceMappingURL=EchartsView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EchartsView.d.ts","sourceRoot":"","sources":["../../../src/components/EchartsView/EchartsView.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAIL,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,GAAG,CAAC;IACZ,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,KAAK,CAAC,YAAY,CAAC;CAC1C,CAAC;AASF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAiK3C,CAAC;AAUF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare const getHtml: (props: {
2
+ backgroundColor: any;
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
+ */
9
+ export declare const toString: (obj: object) => string;
10
+ //# sourceMappingURL=helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/components/EchartsView/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"}
@@ -0,0 +1,25 @@
1
+ import * as React from "react";
2
+ import { StyleProp, ViewStyle, TextStyle } from "react-native";
3
+ export type AlertBottomOptions = {
4
+ title: string;
5
+ wrapperStyle: StyleProp<ViewStyle>;
6
+ content: string | React.ReactElement;
7
+ contentContainerStyle: StyleProp<ViewStyle>;
8
+ cancelText: string;
9
+ cancelContainerStyle: StyleProp<ViewStyle>;
10
+ cancelTextStyle: StyleProp<TextStyle>;
11
+ cancel: () => void;
12
+ confirmText: string;
13
+ confirmContainerStyle: StyleProp<ViewStyle>;
14
+ confirmTextStyle: StyleProp<TextStyle>;
15
+ confirm: () => void;
16
+ };
17
+ type RefAttributes = {
18
+ show: (options: Partial<AlertBottomOptions>) => void;
19
+ hide: () => void;
20
+ };
21
+ declare const _default: React.ForwardRefExoticComponent<React.RefAttributes<RefAttributes>>;
22
+ export default _default;
23
+ export declare const alertBottomViewRef: React.RefObject<RefAttributes | null>;
24
+ export declare const showAlertBottomModal: (props: Partial<AlertBottomOptions>) => void;
25
+ //# sourceMappingURL=AlertBottomView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertBottomView.d.ts","sourceRoot":"","sources":["../../../../src/components/Hud/AlertBottomView/AlertBottomView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAQL,SAAS,EACT,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAMtB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACnC,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,CAAC;IACrC,qBAAqB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC3C,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC5C,gBAAgB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;IACrD,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;;AAKF,wBAkHG;AAEH,eAAO,MAAM,kBAAkB,uCAAmC,CAAC;AAEnE,eAAO,MAAM,oBAAoB,GAAI,OAAO,OAAO,CAAC,kBAAkB,CAAC,SAEtE,CAAC"}
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ import { ColorValue } from "react-native";
3
+ type RefAttributes = {
4
+ show: (options: Partial<AlertSheetViewOptions>) => void;
5
+ hide: () => void;
6
+ };
7
+ type ActionSheet = {
8
+ text: string;
9
+ color?: ColorValue | undefined;
10
+ onClick?: () => void;
11
+ };
12
+ export type AlertSheetViewOptions = {
13
+ actions: ActionSheet[];
14
+ };
15
+ declare const _default: React.ForwardRefExoticComponent<React.RefAttributes<RefAttributes>>;
16
+ export default _default;
17
+ export declare const alertSheetViewRef: React.RefObject<RefAttributes | null>;
18
+ export declare const showAlertSheetModal: (props: Partial<AlertSheetViewOptions>) => void;
19
+ //# sourceMappingURL=AlertSheetView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertSheetView.d.ts","sourceRoot":"","sources":["../../../../src/components/Hud/AlertSheetView/AlertSheetView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAQL,UAAU,EACX,MAAM,cAAc,CAAC;AAKtB,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC,KAAK,IAAI,CAAC;IACxD,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;AACF,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB,CAAC;;AAKF,wBAuFG;AAEH,eAAO,MAAM,iBAAiB,uCAAmC,CAAC;AAElE,eAAO,MAAM,mBAAmB,GAAI,OAAO,OAAO,CAAC,qBAAqB,CAAC,SAExE,CAAC"}
@@ -0,0 +1,25 @@
1
+ import * as React from "react";
2
+ import { StyleProp, TextStyle, ViewStyle } from "react-native";
3
+ export type AlertViewOptions = {
4
+ title: string;
5
+ content: string | React.ReactElement;
6
+ wrapperStyle: StyleProp<ViewStyle>;
7
+ cancelText: string;
8
+ cancelContainerStyle: StyleProp<ViewStyle>;
9
+ cancelTextStyle: StyleProp<TextStyle>;
10
+ cancel: () => void;
11
+ cancelDisabled: boolean;
12
+ confirmText: string;
13
+ confirmContainerStyle: StyleProp<ViewStyle>;
14
+ confirmTextStyle: StyleProp<TextStyle>;
15
+ confirm: () => void;
16
+ };
17
+ type RefAttributes = {
18
+ show: (options: Partial<AlertViewOptions>) => void;
19
+ hide: () => void;
20
+ };
21
+ declare const _default: React.ForwardRefExoticComponent<React.RefAttributes<RefAttributes>>;
22
+ export default _default;
23
+ export declare const alertViewRef: React.RefObject<RefAttributes | null>;
24
+ export declare const showAlertModal: (props: Partial<AlertViewOptions>) => void;
25
+ //# sourceMappingURL=AlertView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertView.d.ts","sourceRoot":"","sources":["../../../../src/components/Hud/AlertView/AlertView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAUL,SAAS,EACT,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,CAAC;IACrC,YAAY,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC3C,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC5C,gBAAgB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACnD,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;;AAKF,wBA+HG;AAEH,eAAO,MAAM,YAAY,uCAAmC,CAAC;AAE7D,eAAO,MAAM,cAAc,GAAI,OAAO,OAAO,CAAC,gBAAgB,CAAC,SAE9D,CAAC"}
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { showAlertModal } from './AlertView/AlertView';
3
+ import { showAlertBottomModal } from './AlertBottomView/AlertBottomView';
4
+ import { showAlertSheetModal } from './AlertSheetView/AlertSheetView';
5
+ import { hideLoading, showLoading } from './Loading/Loading';
6
+ import { showToast } from './Toast/Toast';
7
+ import { showPopoverView, hidePopoverView } from './PopoverView/PopoverView';
8
+ import { showScanner, hideScanner } from './Scanner/Scanner';
9
+ export declare const Hud: React.FC<{}>;
10
+ export { showAlertModal, showToast, showLoading, hideLoading, showAlertBottomModal, showAlertSheetModal, showPopoverView, hidePopoverView, showScanner, hideScanner, };
11
+ //# sourceMappingURL=Hud.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Hud.d.ts","sourceRoot":"","sources":["../../../src/components/Hud/Hud.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EACiC,cAAc,EACrD,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAC6C,oBAAoB,EACvE,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAC2C,mBAAmB,EACpE,MAAM,iCAAiC,CAAA;AAExC,OAAO,EACH,WAAW,EAAuB,WAAW,EAChD,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EACH,SAAS,EACZ,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAE,eAAe,EAAE,eAAe,EAA+B,MAAM,2BAA2B,CAAA;AAGzG,OAAO,EACH,WAAW,EAAE,WAAW,EAC3B,MAAM,mBAAmB,CAAA;AAK1B,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,EAAE,CAe5B,CAAA;AAGD,OAAO,EACH,cAAc,EACd,SAAS,EACT,WAAW,EAAE,WAAW,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EAAE,eAAe,EAChC,WAAW,EAAC,WAAW,GAC1B,CAAA"}
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ type RefAttributes = {
3
+ showLoading: (content?: string) => void;
4
+ hideLoading: () => void;
5
+ };
6
+ export declare const Loading: React.ForwardRefExoticComponent<React.RefAttributes<RefAttributes>>;
7
+ export declare const loadingRef: React.RefObject<RefAttributes | null>;
8
+ export declare const showLoading: (content?: string) => void | undefined;
9
+ export declare const hideLoading: () => void | undefined;
10
+ export {};
11
+ //# sourceMappingURL=Loading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Loading.d.ts","sourceRoot":"","sources":["../../../../src/components/Hud/Loading/Loading.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAW7D,KAAK,aAAa,GAAG;IACnB,WAAW,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,OAAO,qEAoClB,CAAC;AAEH,eAAO,MAAM,UAAU,uCAAmC,CAAC;AAC3D,eAAO,MAAM,WAAW,GAAI,UAAU,MAAM,qBACF,CAAC;AAC3C,eAAO,MAAM,WAAW,wBAA0C,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { ViewStyle, StyleProp } from "react-native";
3
+ type RefAttributes = {
4
+ showPopoverView: (options: Partial<PopoverViewOptions>) => void;
5
+ hidePopoverView: () => void;
6
+ };
7
+ export type PopoverViewOptions = {
8
+ content: React.ReactNode;
9
+ style: StyleProp<ViewStyle>;
10
+ disabled: boolean;
11
+ };
12
+ export declare const PopoverView: React.ForwardRefExoticComponent<React.RefAttributes<RefAttributes>>;
13
+ export declare const popoverViewRef: React.RefObject<RefAttributes | null>;
14
+ export declare const showPopoverView: (options: Partial<PopoverViewOptions>) => void | undefined;
15
+ export declare const hidePopoverView: () => void | undefined;
16
+ export {};
17
+ //# sourceMappingURL=PopoverView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopoverView.d.ts","sourceRoot":"","sources":["../../../../src/components/Hud/PopoverView/PopoverView.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAC7D,OAAO,EAIL,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,KAAK,aAAa,GAAG;IACnB,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,kBAAkB,CAAC,KAAK,IAAI,CAAC;IAChE,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,WAAW,qEA2CtB,CAAC;AAEH,eAAO,MAAM,cAAc,uCAAmC,CAAC;AAC/D,eAAO,MAAM,eAAe,GAAI,SAAS,OAAO,CAAC,kBAAkB,CAAC,qBAClB,CAAC;AACnD,eAAO,MAAM,eAAe,wBAAkD,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ type CallBack = (e: string) => void;
3
+ type RefAttributes = {
4
+ showScanner: (cb: CallBack) => void;
5
+ hideScanner: () => void;
6
+ };
7
+ export declare const Scanner: React.ForwardRefExoticComponent<React.RefAttributes<RefAttributes>>;
8
+ export declare const scannerRef: React.RefObject<RefAttributes | null>;
9
+ export declare const showScanner: (cb: CallBack) => void | undefined;
10
+ export declare const hideScanner: () => void | undefined;
11
+ export {};
12
+ //# sourceMappingURL=Scanner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Scanner.d.ts","sourceRoot":"","sources":["../../../../src/components/Hud/Scanner/Scanner.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAwC,MAAM,OAAO,CAAC;AA6B7D,KAAK,QAAQ,GAAG,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;AAEpC,KAAK,aAAa,GAAG;IACnB,WAAW,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAQF,eAAO,MAAM,OAAO,qEAiMlB,CAAC;AAsHH,eAAO,MAAM,UAAU,uCAAmC,CAAC;AAC3D,eAAO,MAAM,WAAW,GAAI,IAAI,QAAQ,qBACH,CAAC;AACtC,eAAO,MAAM,WAAW,wBAA0C,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ type RefAttributes = {
3
+ showToast: (content: string) => void;
4
+ };
5
+ export declare const Toast: React.ForwardRefExoticComponent<React.RefAttributes<RefAttributes>>;
6
+ export declare const toastRef: React.RefObject<RefAttributes | null>;
7
+ export declare const showToast: (content: string) => void | undefined;
8
+ export {};
9
+ //# sourceMappingURL=Toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../src/components/Hud/Toast/Toast.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAUrE,KAAK,aAAa,GAAG;IACnB,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAIF,eAAO,MAAM,KAAK,qEAqChB,CAAC;AAEH,eAAO,MAAM,QAAQ,uCAAmC,CAAC;AAEzD,eAAO,MAAM,SAAS,GAAI,SAAS,MAAM,qBACH,CAAC"}
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ import { ImageSourcePropType, StyleProp, ViewStyle, TouchableOpacityProps } from "react-native";
3
+ export type MenuItem = {
4
+ text: string;
5
+ icon?: ImageSourcePropType;
6
+ extra?: any;
7
+ };
8
+ export type MenuProps = {
9
+ defaultAlignVertical?: "bottom" | "top";
10
+ defaultAlignHorizontal?: "left" | "right";
11
+ style?: StyleProp<ViewStyle> | undefined;
12
+ data?: MenuItem[];
13
+ onItemClick?: (index: number, extra?: any) => void;
14
+ onContainerClick?: Function;
15
+ activeOpacity?: number;
16
+ } & Readonly<{
17
+ children?: React.ReactNode | undefined;
18
+ }> & TouchableOpacityProps;
19
+ declare const _default: (props: MenuProps) => React.JSX.Element;
20
+ export default _default;
21
+ //# sourceMappingURL=MenuView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MenuView.d.ts","sourceRoot":"","sources":["../../../src/components/MenuView/MenuView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EASL,mBAAmB,EACnB,SAAS,EACT,SAAS,EACT,qBAAqB,EACtB,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,KAAK,CAAC,EAAE,GAAG,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,oBAAoB,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IACxC,sBAAsB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;IACzC,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACnD,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,GAAG,QAAQ,CAAC;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAA;CAAE,CAAC,GACtD,qBAAqB,CAAC;yBAMR,OAAO,SAAS;AAAhC,wBAuPE"}
@@ -0,0 +1,2 @@
1
+ export { default as Modal, ModalProps } from 'react-native-modal';
2
+ //# sourceMappingURL=Modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA"}
@@ -1,40 +1,27 @@
1
- import { TextStyle } from 'react-native';
2
- /*
3
- * @Author: shiguo
4
- * @Date: 2022-04-24 17:38:32
5
- * @LastEditors: shiguo
6
- * @LastEditTime: 2022-11-10 12:15:56
7
- * @FilePath: /@aks-dev/easyui/lib/MutiPictureView/index.ts
8
- */
9
- import { StyleProp, ViewStyle, ImageStyle, ImageSourcePropType } from 'react-native'
10
-
1
+ import * as React from "react";
2
+ import { ImageSourcePropType, StyleProp, ViewStyle, ImageStyle, TextStyle } from "react-native";
11
3
  type ViewModelProps = {
12
4
  photos?: any[];
13
5
  /**@deprecated disabled 图片点击状态,已弃用*/
14
6
  disabled?: boolean;
15
7
  imageViewer: {
16
- imageUrls: any[],
17
- index: number,
18
- visible: boolean
19
- }
20
- }
21
-
22
-
8
+ imageUrls: any[];
9
+ index: number;
10
+ visible: boolean;
11
+ };
12
+ };
23
13
  type BindProps = {
24
14
  viewModel: ViewModelProps;
25
- setViewModel: (intent: Partial<ViewModelProps>) => void
26
- }
27
-
28
-
29
-
30
- export declare type MutiPictureViewProps = {
15
+ setViewModel: (intent: Partial<ViewModelProps>) => void;
16
+ };
17
+ export type MutiPictureViewProps = {
31
18
  /**@deprecated title 标题 ,已弃用*/
32
19
  title?: string;
33
20
  bind: BindProps;
34
21
  /**default maxCount is 6 */
35
22
  maxCount?: number;
36
23
  /**default type is showImagePicker */
37
- type?: 'showImagePicker' | 'openCamera';
24
+ type?: "showImagePicker" | "openCamera";
38
25
  style?: StyleProp<ViewStyle>;
39
26
  addIcon?: ImageSourcePropType;
40
27
  addIconStyle?: StyleProp<ImageStyle>;
@@ -51,13 +38,13 @@ export declare type MutiPictureViewProps = {
51
38
  /**仅仅看看,不增减图片 */
52
39
  editable?: boolean;
53
40
  /**这个属性会覆盖bind.viewModel.photos */
54
- value?: (string | { uri: string })[];
41
+ value?: (string | {
42
+ uri: string;
43
+ })[];
55
44
  /**default false 空视图占位 */
56
45
  showEmptyPlaceHolder?: boolean;
57
46
  emptyPlaceHolderStyle?: StyleProp<ViewStyle>;
58
- }
59
-
60
-
61
- export declare const MutiPictureView: React.FC<MutiPictureViewProps>;
62
-
63
-
47
+ };
48
+ declare const _default: React.NamedExoticComponent<MutiPictureViewProps>;
49
+ export default _default;
50
+ //# sourceMappingURL=MutiPictureView.d.ts.map
@@ -0,0 +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;IACf,qCAAqC;IACrC,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;IACjC,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,SAAS,CAAC;IAChB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,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,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"}
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ type ViewModelProps = {
3
+ imageViewer: {
4
+ imageUrls: any[];
5
+ index: number;
6
+ visible: boolean;
7
+ };
8
+ };
9
+ export type PictureViewerBindProps = {
10
+ viewModel: ViewModelProps;
11
+ setViewModel: (intent: Partial<ViewModelProps>) => void;
12
+ };
13
+ export declare const PictureViewer: React.FC<{
14
+ bind: PictureViewerBindProps;
15
+ }>;
16
+ export {};
17
+ //# sourceMappingURL=PictureViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PictureViewer.d.ts","sourceRoot":"","sources":["../../../src/components/PictureViewer/PictureViewer.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,cAAc,GAAG;IACpB,WAAW,EAAE;QACX,SAAS,EAAE,GAAG,EAAE,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,cAAc,CAAC;IAC1B,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,sBAAsB,CAAA;CAAE,CA6DpE,CAAC"}
@@ -0,0 +1,45 @@
1
+ import * as React from "react";
2
+ import { FlatListProps, SectionListProps } from "react-native";
3
+ import { IPropsSwipeListView } from "react-native-swipe-list-view/types";
4
+ export declare const RefreshText: {
5
+ HeaderRefreshing: string;
6
+ FooterRefreshing: string;
7
+ Failure: string;
8
+ NoMoreData: string;
9
+ EmptyData: string;
10
+ Idle: string;
11
+ };
12
+ export declare enum RefreshState {
13
+ Idle = "Idle",
14
+ HeaderRefreshing = "HeaderRefreshing",
15
+ FooterRefreshing = "FooterRefreshing",
16
+ NoMoreData = "NoMoreData",
17
+ Failure = "Failure",
18
+ EmptyData = "EmptyData",
19
+ None = "None"
20
+ }
21
+ type CommonProps = {
22
+ onHeaderRefresh: (info: any) => void;
23
+ onFooterRefresh: (info: any) => void;
24
+ reload: () => void;
25
+ refreshState: RefreshState;
26
+ renderListEmptyComponent: () => React.ReactElement;
27
+ };
28
+ type SectionT = {
29
+ [key: string]: any;
30
+ };
31
+ type ItemT = any;
32
+ export type FlatListRefreshProps = {
33
+ mode?: "FlatList";
34
+ } & FlatListProps<ItemT> & Partial<CommonProps>;
35
+ export type SectionListRefreshProps = {
36
+ mode: "SectionList";
37
+ } & SectionListProps<ItemT, SectionT> & Partial<CommonProps>;
38
+ export type SwipeListViewRefreshProps = {
39
+ mode: "SwipeList";
40
+ data: ItemT[];
41
+ } & IPropsSwipeListView<ItemT> & Partial<CommonProps> & FlatListProps<ItemT>;
42
+ export type RefreshListProps = FlatListRefreshProps | SwipeListViewRefreshProps | SectionListRefreshProps;
43
+ declare const _default: React.ForwardRefExoticComponent<RefreshListProps & React.RefAttributes<any>>;
44
+ export default _default;
45
+ //# sourceMappingURL=RefreshList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RefreshList.d.ts","sourceRoot":"","sources":["../../../src/components/RefreshList/RefreshList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAOL,aAAa,EACb,gBAAgB,EACjB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,eAAO,MAAM,WAAW;;;;;;;CAOvB,CAAC;AACF,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;CACd;AACD,KAAK,WAAW,GAAG;IAEjB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,YAAY,EAAE,YAAY,CAAC;IAC3B,wBAAwB,EAAE,MAAM,KAAK,CAAC,YAAY,CAAC;CACpD,CAAC;AAEF,KAAK,QAAQ,GAAG;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AACF,KAAK,KAAK,GAAG,GAAG,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB,GAAG,aAAa,CAAC,KAAK,CAAC,GACtB,OAAO,CAAC,WAAW,CAAC,CAAC;AAEvB,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,aAAa,CAAC;CACrB,GAAG,gBAAgB,CAAC,KAAK,EAAE,QAAQ,CAAC,GACnC,OAAO,CAAC,WAAW,CAAC,CAAC;AAEvB,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,KAAK,EAAE,CAAC;CACf,GAAG,mBAAmB,CAAC,KAAK,CAAC,GAC5B,OAAO,CAAC,WAAW,CAAC,GACpB,aAAa,CAAC,KAAK,CAAC,CAAC;AAEvB,MAAM,MAAM,gBAAgB,GACxB,oBAAoB,GACpB,yBAAyB,GACzB,uBAAuB,CAAC;;AAE5B,wBA8JE"}
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { TextStyle } from "react-native";
3
+ export type RichTextProps = {
4
+ rich?: string | number;
5
+ richStyle?: TextStyle;
6
+ text?: string | number;
7
+ suffix?: boolean;
8
+ prefix?: boolean;
9
+ };
10
+ declare const _default: (props: RichTextProps) => React.JSX.Element;
11
+ export default _default;
12
+ //# sourceMappingURL=RichText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichText.d.ts","sourceRoot":"","sources":["../../../src/components/RichText/RichText.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAG3D,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;yBACc,OAAO,aAAa;AAApC,wBA6CE"}
@@ -0,0 +1,15 @@
1
+ import * as React from "react";
2
+ import { Animated, ViewProps } from "react-native";
3
+ export type StickHeaderViewProps = {
4
+ /**
5
+ * 头部高度
6
+ */
7
+ stickyHeaderY: number;
8
+ /**
9
+ * 滑动距离
10
+ */
11
+ stickyScrollY: Animated.Value;
12
+ } & ViewProps;
13
+ declare const _default: React.NamedExoticComponent<StickHeaderViewProps>;
14
+ export default _default;
15
+ //# sourceMappingURL=StickHeaderView.d.ts.map
@@ -0,0 +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;IACjC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,aAAa,EAAE,QAAQ,CAAC,KAAK,CAAC;CAC/B,GAAG,SAAS,CAAC;;AA4Cd,wBAA+B"}
@@ -1,46 +1,24 @@
1
- /*
2
- * @Author: shiguo
3
- * @Date: 2022-04-21 15:30:07
4
- * @LastEditors: shiguo
5
- * @LastEditTime: 2022-07-07 16:06:57
6
- * @FilePath: /@aks-dev/easyui/lib/TableCell/index.ts
7
- */
8
-
9
- import * as React from 'react'
10
-
11
- import {
12
- StyleProp, ViewStyle,
13
- ImageSourcePropType, ImageStyle, TextProps, ColorValue
14
- } from 'react-native'
15
-
16
-
17
-
18
-
1
+ import * as React from "react";
2
+ import { StyleProp, ViewStyle, ImageSourcePropType, ImageStyle, TextProps, ColorValue } from "react-native";
19
3
  export type TableCellProps = {
20
4
  icon: ImageSourcePropType;
21
5
  iconStyle: StyleProp<ImageStyle>;
22
-
23
6
  title: string | number | React.ReactElement | undefined;
24
7
  titleOptions: TextProps;
25
-
26
-
27
8
  style: StyleProp<ViewStyle> | undefined;
28
9
  activeOpacity: number;
29
10
  middleContaierStyle: StyleProp<ViewStyle> | undefined;
30
-
31
-
32
11
  content: string | number | React.ReactElement | undefined;
33
12
  contentOptions: TextProps;
34
-
35
13
  onPress: () => void;
36
14
  showUnderline: boolean;
37
15
  underlineStyle?: {
38
16
  borderBottomColor?: ColorValue | undefined;
39
17
  borderBottomWidth?: number | undefined;
40
- }
18
+ };
41
19
  showNav: boolean;
42
- nav:React.ReactElement;
43
- }
44
-
45
-
46
- export declare const TableCell: React.FC<Partial<TableCellProps>>;
20
+ nav: React.ReactElement;
21
+ };
22
+ declare const _default: (props: Partial<TableCellProps>) => React.JSX.Element;
23
+ export default _default;
24
+ //# sourceMappingURL=TableCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../src/components/TableCell/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAML,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,UAAU,EACV,SAAS,EACT,UAAU,EACX,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAEjC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,YAAY,GAAG,SAAS,CAAC;IACxD,YAAY,EAAE,SAAS,CAAC;IAExB,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;IACxC,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;IAEtD,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,YAAY,GAAG,SAAS,CAAC;IAC1D,cAAc,EAAE,SAAS,CAAC;IAE1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE;QACf,iBAAiB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;QAC3C,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACxC,CAAC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC;CACzB,CAAC;yBAEc,OAAO,OAAO,CAAC,cAAc,CAAC;AAA9C,wBAuFE"}
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { ViewStyle, StyleProp, TextInputProps, TextStyle } from "react-native";
3
+ type RefAttributes = {
4
+ value: string | undefined;
5
+ };
6
+ export type TextInputAreaProps = {
7
+ placeholder: string;
8
+ maxLength: number;
9
+ style: StyleProp<ViewStyle>;
10
+ textInputStyle: StyleProp<TextStyle>;
11
+ /**设置默认值 */
12
+ defaultValue: string;
13
+ on: (content: string) => void;
14
+ } & TextInputProps;
15
+ declare const _default: React.ForwardRefExoticComponent<Partial<TextInputAreaProps> & React.RefAttributes<RefAttributes>>;
16
+ export default _default;
17
+ //# sourceMappingURL=TextInputArea.d.ts.map
@@ -0,0 +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;IACrC,WAAW;IACX,YAAY,EAAE,MAAM,CAAC;IAErB,EAAE,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B,GAAG,cAAc,CAAC;;AAEnB,wBAmDE"}
@@ -0,0 +1,23 @@
1
+ import React from "react";
2
+ import { GestureResponderEvent, ViewProps } from "react-native";
3
+ export declare enum Status {
4
+ NONE = "NONE",
5
+ LOADING = "LOADING",
6
+ FAIL = "FAIL",
7
+ SUCCESS = "SUCCESS",
8
+ EMPTY = "EMPTY",
9
+ NOMORE = "NOMORE"
10
+ }
11
+ export type WithLoadingContainerProps = {
12
+ status: Status;
13
+ reload: (event: GestureResponderEvent) => void;
14
+ failText: string;
15
+ emptyText: string;
16
+ nomoreText: string;
17
+ renderEmptyComponent: () => React.ReactNode;
18
+ renderFailComponent: () => React.ReactNode;
19
+ renderNomoreComponent: () => React.ReactNode;
20
+ } & ViewProps;
21
+ declare const _default: (props: Partial<WithLoadingContainerProps>) => React.JSX.Element;
22
+ export default _default;
23
+ //# sourceMappingURL=WithLoadingContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithLoadingContainer.d.ts","sourceRoot":"","sources":["../../../src/components/WithLoadingContainer/WithLoadingContainer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAML,qBAAqB,EACrB,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,oBAAY,MAAM;IAChB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC/C,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;IAC5C,mBAAmB,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;IAC3C,qBAAqB,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;CAC9C,GAAG,SAAS,CAAC;yBAEE,OAAO,OAAO,CAAC,yBAAyB,CAAC;AAAzD,wBAmEE"}
@@ -0,0 +1,22 @@
1
+ export { Hud, showLoading, hideLoading, showToast, showAlertModal, showAlertBottomModal, showAlertSheetModal, showPopoverView, hidePopoverView, showScanner, hideScanner, } from "./components/Hud/Hud";
2
+ export { Modal, ModalProps } from "./components/Modal/Modal";
3
+ export { default as MutiPictureView } from "./components/MutiPictureView/MutiPictureView";
4
+ export { PictureViewer } from "./components/PictureViewer/PictureViewer";
5
+ export { default as RefreshList, RefreshState, RefreshText, } from "./components/RefreshList/RefreshList";
6
+ export { default as TableCell } from "./components/TableCell/TableCell";
7
+ export { default as TextInputArea } from "./components/TextInputArea/TextInputArea";
8
+ export { default as WithLoadingContainer, Status, } from "./components/WithLoadingContainer/WithLoadingContainer";
9
+ export { default as StickHeaderView } from "./components/StickHeaderView/StickHeaderView";
10
+ export { default as EchartsView } from "./components/EchartsView/EchartsView";
11
+ export { default as RichText } from "./components/RichText/RichText";
12
+ export { default as DottedLine } from "./components/DottedLine/DottedLine";
13
+ export { default as MenuView } from "./components/MenuView/MenuView";
14
+ export { AnimationModal } from "./components/AnimationModal/AnimationModal";
15
+ /**全局适配 */
16
+ export * from "./screen";
17
+ /**工具 */
18
+ import * as utils from "./utils";
19
+ /**桥接 */
20
+ import * as jsbridge from "./jsbridge";
21
+ export { utils, jsbridge };
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,GAAG,EACH,WAAW,EACX,WAAW,EACX,SAAS,EACT,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,WAAW,EACX,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EACL,OAAO,IAAI,WAAW,EACtB,YAAY,EACZ,WAAW,GACZ,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EACL,OAAO,IAAI,oBAAoB,EAC/B,MAAM,GACP,MAAM,wDAAwD,CAAC;AAEhE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAE5E,UAAU;AACV,cAAc,UAAU,CAAC;AACzB,QAAQ;AACR,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,QAAQ;AACR,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @description: 获取设备品牌
3
+ * @return {*}
4
+ */
5
+ export declare const getDeviceBrand: () => any;
6
+ /**
7
+ * @deprecated 测量不准确,已放弃
8
+ * @description: 获取status_bar_height
9
+ * @return {*}
10
+ */
11
+ export declare const getStatusBarHeight: () => any;
12
+ /**
13
+ * @deprecated 测量不准确,已放弃
14
+ * @description: 获取navigation_bar_height
15
+ * @return {*}
16
+ */
17
+ export declare const getNavigationBarHeight: () => any;
18
+ /**
19
+ * only android
20
+ * 返回桌面
21
+ */
22
+ export declare const gotoDesktop: () => void;
23
+ //# sourceMappingURL=RNEasyui.d.ts.map
@@ -0,0 +1 @@
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"}