@aks-dev/easyui 1.0.45 → 1.0.48

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  * @Author: shiguo
3
3
  * @Date: 2022-04-25 17:57:29
4
4
  * @LastEditors: shiguo
5
- * @LastEditTime: 2022-05-27 12:03:27
5
+ * @LastEditTime: 2022-05-30 16:17:16
6
6
  * @FilePath: /@aks-dev/easyui/README.md
7
7
  -->
8
8
 
@@ -15,7 +15,7 @@ or
15
15
  `$ yarn add @aks-dev/easyui`
16
16
 
17
17
 
18
- ### [UI组件](./README.md)
18
+ ### UI组件
19
19
 
20
20
  + Badge
21
21
  + EasyHub
@@ -30,6 +30,19 @@ or
30
30
  + WithLoadingContainer
31
31
 
32
32
 
33
- ### [工具包](./README.md)
33
+ ### 工具包
34
+ |函数|作用|
35
+ |:----|:----|
36
+ |sleep|睡眠时间|
37
+ |keyboardDismissHandlers|通过手势关闭键盘|
38
+ |panHandlersCallback|手势动作回调|
39
+ |callTelephone|拨打电话|
40
+ |randomcolor|获取随机色|
41
+ |syncLoop|同步循环|
34
42
 
35
- ### [jsbridge](./README.md)
43
+ ### jsbridge
44
+
45
+ |函数|作用|
46
+ |:----|:----|
47
+ |getAppVersion|获取App版本号|
48
+ |upgrade|app升级|
@@ -1,7 +1,7 @@
1
1
 
2
2
  Pod::Spec.new do |s|
3
3
  s.name = "RNEasyui"
4
- s.version = "1.0.3"
4
+ s.version = "1.0.5"
5
5
  s.summary = "RNEasyui"
6
6
  s.description = <<-DESC
7
7
  RNEasyui
@@ -12,8 +12,9 @@ Pod::Spec.new do |s|
12
12
  s.author = { "author" => "author@domain.cn" }
13
13
  s.platform = :ios, "11.0"
14
14
  s.source = { :git => "https://gitee.com/the_period_of_the_ten_kingdoms/aks-easyui.git", :tag => "master" }
15
- s.source_files = "**/*.{h,m,swift,xib,c,bundle}"
15
+ s.source_files = "**/*.{h,m,swift,xib,c}"
16
16
  s.requires_arc = true
17
+ s.resource_bundles = { 'RNEasyui' => ['assets/*'] }
17
18
 
18
19
 
19
20
  s.dependency "React"
@@ -36,7 +36,7 @@
36
36
 
37
37
 
38
38
  -(NSData *)getpng:(NSString*) name{
39
- NSString *bundlePath = [[NSBundle mainBundle] pathForResource:@"upgrade" ofType:@"bundle"];
39
+ NSString *bundlePath = [[NSBundle mainBundle] pathForResource:@"RNEasyui" ofType:@"bundle"];
40
40
  NSBundle *bundle = [NSBundle bundleWithPath:bundlePath];
41
41
  NSString *imagePath = [bundle pathForResource:name ofType:@"png"];
42
42
  NSData *data = [NSData dataWithContentsOfFile:imagePath];
@@ -52,7 +52,7 @@
52
52
 
53
53
  // 图片
54
54
 
55
- _imageView = [[UIImageView alloc] initWithImage:[UIImage imageWithData:[self getpng:@"upgrade_bg"]];];
55
+ _imageView = [[UIImageView alloc] initWithImage:[UIImage imageWithData:[self getpng:@"upgrade_bg"]]];
56
56
  _imageView.contentMode = UIViewContentModeScaleAspectFit | UIViewContentModeTop | UIViewContentModeLeft | UIViewContentModeRight ;
57
57
  [self addSubview:_imageView];
58
58
  // 标题
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.45",
3
+ "version": "1.0.48",
4
4
  "description": "爱科森开发工具包(react-native)",
5
5
  "main": "./src/index.ts",
6
6
  "typings": "./src/index.d.ts",
package/utils/index.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * @Author: shiguo
3
3
  * @Date: 2022-04-19 10:25:43
4
4
  * @LastEditors: shiguo
5
- * @LastEditTime: 2022-05-12 12:27:10
6
- * @FilePath: /@aks/easyui/utils/index.ts
5
+ * @LastEditTime: 2022-05-30 16:15:07
6
+ * @FilePath: /@aks-dev/easyui/utils/index.ts
7
7
  */
8
8
 
9
9
 
@@ -17,6 +17,10 @@ import * as rn from 'react-native'
17
17
  export declare const sleep: (msec?: number) => void;
18
18
 
19
19
 
20
+ /**
21
+ * @description: 通过手势关闭键盘
22
+ * @return {*}
23
+ */
20
24
  export declare const keyboardDismissHandlers: rn.GestureResponderHandlers;
21
25
 
22
26
  export type CallBack = (...args: any[]) => void;
@@ -1,53 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>BuildMachineOSBuild</key>
6
- <string>21E258</string>
7
- <key>CFBundleDevelopmentRegion</key>
8
- <string>en</string>
9
- <key>CFBundleExecutable</key>
10
- <string>upgrade</string>
11
- <key>CFBundleIdentifier</key>
12
- <string>cn.sg.upgrade</string>
13
- <key>CFBundleInfoDictionaryVersion</key>
14
- <string>6.0</string>
15
- <key>CFBundleName</key>
16
- <string>upgrade</string>
17
- <key>CFBundlePackageType</key>
18
- <string>BNDL</string>
19
- <key>CFBundleShortVersionString</key>
20
- <string>1.0</string>
21
- <key>CFBundleSupportedPlatforms</key>
22
- <array>
23
- <string>MacOSX</string>
24
- </array>
25
- <key>CFBundleVersion</key>
26
- <string>1</string>
27
- <key>DTCompiler</key>
28
- <string>com.apple.compilers.llvm.clang.1_0</string>
29
- <key>DTPlatformBuild</key>
30
- <string>13E500a</string>
31
- <key>DTPlatformName</key>
32
- <string>macosx</string>
33
- <key>DTPlatformVersion</key>
34
- <string>12.3</string>
35
- <key>DTSDKBuild</key>
36
- <string>21E226</string>
37
- <key>DTSDKName</key>
38
- <string>macosx12.3</string>
39
- <key>DTXcode</key>
40
- <string>1331</string>
41
- <key>DTXcodeBuild</key>
42
- <string>13E500a</string>
43
- <key>LSMinimumSystemVersion</key>
44
- <string>10.15</string>
45
- <key>NSHumanReadableCopyright</key>
46
- <string></string>
47
- <key>UIDeviceFamily</key>
48
- <array>
49
- <integer>2</integer>
50
- <integer>6</integer>
51
- </array>
52
- </dict>
53
- </plist>
@@ -1,147 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>files</key>
6
- <dict>
7
- <key>Resources/infor_colse_image.png</key>
8
- <data>
9
- yAZj03Sp3iiW2mUt9GhqoLV1AXY=
10
- </data>
11
- <key>Resources/upgrade_bg.png</key>
12
- <data>
13
- wsXDQwF8x6MyZpYcxUhpkYjS/Vo=
14
- </data>
15
- </dict>
16
- <key>files2</key>
17
- <dict>
18
- <key>Resources/infor_colse_image.png</key>
19
- <dict>
20
- <key>hash</key>
21
- <data>
22
- yAZj03Sp3iiW2mUt9GhqoLV1AXY=
23
- </data>
24
- <key>hash2</key>
25
- <data>
26
- ZN7WdHZkcQmFZmGgenwGO7gYong25Q8v6nLdTROcVJc=
27
- </data>
28
- </dict>
29
- <key>Resources/upgrade_bg.png</key>
30
- <dict>
31
- <key>hash</key>
32
- <data>
33
- wsXDQwF8x6MyZpYcxUhpkYjS/Vo=
34
- </data>
35
- <key>hash2</key>
36
- <data>
37
- NEIit2qfuxpK9fhEsuUszoKuN2F5lzwwwnWm3/HKyzY=
38
- </data>
39
- </dict>
40
- </dict>
41
- <key>rules</key>
42
- <dict>
43
- <key>^Resources/</key>
44
- <true/>
45
- <key>^Resources/.*\.lproj/</key>
46
- <dict>
47
- <key>optional</key>
48
- <true/>
49
- <key>weight</key>
50
- <real>1000</real>
51
- </dict>
52
- <key>^Resources/.*\.lproj/locversion.plist$</key>
53
- <dict>
54
- <key>omit</key>
55
- <true/>
56
- <key>weight</key>
57
- <real>1100</real>
58
- </dict>
59
- <key>^Resources/Base\.lproj/</key>
60
- <dict>
61
- <key>weight</key>
62
- <real>1010</real>
63
- </dict>
64
- <key>^version.plist$</key>
65
- <true/>
66
- </dict>
67
- <key>rules2</key>
68
- <dict>
69
- <key>.*\.dSYM($|/)</key>
70
- <dict>
71
- <key>weight</key>
72
- <real>11</real>
73
- </dict>
74
- <key>^(.*/)?\.DS_Store$</key>
75
- <dict>
76
- <key>omit</key>
77
- <true/>
78
- <key>weight</key>
79
- <real>2000</real>
80
- </dict>
81
- <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
82
- <dict>
83
- <key>nested</key>
84
- <true/>
85
- <key>weight</key>
86
- <real>10</real>
87
- </dict>
88
- <key>^.*</key>
89
- <true/>
90
- <key>^Info\.plist$</key>
91
- <dict>
92
- <key>omit</key>
93
- <true/>
94
- <key>weight</key>
95
- <real>20</real>
96
- </dict>
97
- <key>^PkgInfo$</key>
98
- <dict>
99
- <key>omit</key>
100
- <true/>
101
- <key>weight</key>
102
- <real>20</real>
103
- </dict>
104
- <key>^Resources/</key>
105
- <dict>
106
- <key>weight</key>
107
- <real>20</real>
108
- </dict>
109
- <key>^Resources/.*\.lproj/</key>
110
- <dict>
111
- <key>optional</key>
112
- <true/>
113
- <key>weight</key>
114
- <real>1000</real>
115
- </dict>
116
- <key>^Resources/.*\.lproj/locversion.plist$</key>
117
- <dict>
118
- <key>omit</key>
119
- <true/>
120
- <key>weight</key>
121
- <real>1100</real>
122
- </dict>
123
- <key>^Resources/Base\.lproj/</key>
124
- <dict>
125
- <key>weight</key>
126
- <real>1010</real>
127
- </dict>
128
- <key>^[^/]+$</key>
129
- <dict>
130
- <key>nested</key>
131
- <true/>
132
- <key>weight</key>
133
- <real>10</real>
134
- </dict>
135
- <key>^embedded\.provisionprofile$</key>
136
- <dict>
137
- <key>weight</key>
138
- <real>20</real>
139
- </dict>
140
- <key>^version\.plist$</key>
141
- <dict>
142
- <key>weight</key>
143
- <real>20</real>
144
- </dict>
145
- </dict>
146
- </dict>
147
- </plist>