@aks-dev/easyui 1.0.43 → 1.0.46

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.
@@ -1,7 +1,7 @@
1
1
 
2
2
  Pod::Spec.new do |s|
3
3
  s.name = "RNEasyui"
4
- s.version = "1.0.1"
4
+ s.version = "1.0.3"
5
5
  s.summary = "RNEasyui"
6
6
  s.description = <<-DESC
7
7
  RNEasyui
@@ -12,7 +12,7 @@ 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,png}"
15
+ s.source_files = "**/*.{h,m,swift,xib,c,bundle}"
16
16
  s.requires_arc = true
17
17
 
18
18
 
@@ -0,0 +1,53 @@
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>
@@ -0,0 +1,147 @@
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>
@@ -34,6 +34,16 @@
34
34
  return self;
35
35
  }
36
36
 
37
+
38
+ -(NSData *)getpng:(NSString*) name{
39
+ NSString *bundlePath = [[NSBundle mainBundle] pathForResource:@"upgrade" ofType:@"bundle"];
40
+ NSBundle *bundle = [NSBundle bundleWithPath:bundlePath];
41
+ NSString *imagePath = [bundle pathForResource:name ofType:@"png"];
42
+ NSData *data = [NSData dataWithContentsOfFile:imagePath];
43
+ return data;
44
+ }
45
+
46
+
37
47
  #pragma mark - 初始化子视图
38
48
 
39
49
  - (void)initSubviewWithTitle:(NSString*)title
@@ -42,7 +52,7 @@
42
52
 
43
53
  // 图片
44
54
 
45
- _imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"upgrade_bg"]];
55
+ _imageView = [[UIImageView alloc] initWithImage:[UIImage imageWithData:[self getpng:@"upgrade_bg"]]];
46
56
  _imageView.contentMode = UIViewContentModeScaleAspectFit | UIViewContentModeTop | UIViewContentModeLeft | UIViewContentModeRight ;
47
57
  [self addSubview:_imageView];
48
58
  // 标题
@@ -92,8 +102,9 @@
92
102
 
93
103
  // 关闭按钮
94
104
  _colseButton = [UIButton buttonWithType:UIButtonTypeCustom];
95
- _colseButton.imageEdgeInsets = UIEdgeInsetsMake(10, 10, 10, 10);
96
- UIImage * colseButtonImage = [UIImage imageNamed:@"infor_colse_image"];
105
+ _colseButton.imageEdgeInsets = UIEdgeInsetsMake(10, 10, 10, 10);
106
+ UIImage * colseButtonImage = [UIImage imageWithData:[self getpng:@"infor_colse_image"]];
107
+
97
108
  [_colseButton setImage: colseButtonImage forState:UIControlStateNormal];
98
109
 
99
110
  [_colseButton addTarget:self action:@selector(closeButtonAction:) forControlEvents:UIControlEventTouchUpInside];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.43",
3
+ "version": "1.0.46",
4
4
  "description": "爱科森开发工具包(react-native)",
5
5
  "main": "./src/index.ts",
6
6
  "typings": "./src/index.d.ts",
@@ -24,6 +24,7 @@
24
24
  "/jsbridge",
25
25
  "/utils",
26
26
  "/**/*.png",
27
+ "/**/*.bundle",
27
28
  "!/tsconfig.json",
28
29
  "!/tsconfig.md"
29
30
  ],
Binary file
Binary file