@aks-dev/easyui 1.0.181 → 1.0.182

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.
@@ -135,7 +135,7 @@ exports.Scanner = react_1.default.forwardRef((_, ref) => {
135
135
  display: "flex",
136
136
  justifyContent: "center",
137
137
  }}>
138
- <react_native_1.Image source={require("../../../assets/icon_back_white.png")} style={{ width: (0, px2dp_1.px2dp)(20), height: (0, px2dp_1.px2dp)(20) }} resizeMode="contain"/>
138
+ <react_native_1.Image source={require("./assets/icon_back_white.png")} style={{ width: (0, px2dp_1.px2dp)(20), height: (0, px2dp_1.px2dp)(20) }} resizeMode="contain"/>
139
139
  </react_native_1.TouchableOpacity>
140
140
  <react_native_1.Text style={{
141
141
  fontSize: (0, px2sp_1.px2sp)(16),
@@ -171,8 +171,8 @@ exports.Scanner = react_1.default.forwardRef((_, ref) => {
171
171
  <Image
172
172
  source={
173
173
  torchOn
174
- ? require("../../../assets/flashlight-blue.png")
175
- : require("../../../assets/flashlight-white.png")
174
+ ? require("./assets/flashlight-blue.png")
175
+ : require("./assets/flashlight-white.png")
176
176
  }
177
177
  style={styles.flashlight}
178
178
  />
@@ -13,8 +13,8 @@ const react_native_1 = require("react-native");
13
13
  const px2dp_1 = require("../../screen/px2dp");
14
14
  const px2sp_1 = require("../../screen/px2sp");
15
15
  const react_native_syan_image_picker_1 = tslib_1.__importDefault(require("@aks-dev/react-native-syan-image-picker"));
16
- let icon_add_image = require("../../assets/icon_add_image.png");
17
- let icon_del_image = require("../../assets/icon_del_image.png");
16
+ let icon_add_image = require("./assets/icon_add_image.png");
17
+ let icon_del_image = require("./assets/icon_del_image.png");
18
18
  const MutiPictureView = (props) => {
19
19
  const { bind, maxCount = 6, type = "showImagePicker", addIcon, addIconStyle, addIconContainerStyle, //borderWidth: 1, borderStyle: 'dashed', borderColor: assets.color_A3A9CC 虚线框
20
20
  itemContainerStyle, emptyPlaceHolderStyle, delIcon, delIconStyle, spacingHorizontal = (0, px2dp_1.px2dp)(15), spacingInner = (0, px2dp_1.px2dp)(8), editable = true, showEmptyPlaceHolder = false, } = props;
@@ -54,7 +54,7 @@ exports.default = (props) => {
54
54
  width: (0, px2dp_1.px2dp)(9),
55
55
  height: (0, px2dp_1.px2dp)(16),
56
56
  marginLeft: (0, px2dp_1.px2dp)(8),
57
- }} source={require("../../assets/back.png")}/>))}
57
+ }} source={require("./assets/back.png")}/>))}
58
58
  </react_native_1.View>
59
59
  </react_native_1.TouchableOpacity>);
60
60
  };
@@ -11,8 +11,8 @@ const tslib_1 = require("tslib");
11
11
  */
12
12
  const react_1 = tslib_1.__importDefault(require("react"));
13
13
  const react_native_1 = require("react-native");
14
- const loading = require("../../assets/loading.gif");
15
- const loading3 = require("../../assets/loading3.gif");
14
+ const loading = require("./assets/loading.gif");
15
+ const loading3 = require("./assets/loading3.gif");
16
16
  var Status;
17
17
  (function (Status) {
18
18
  Status["NONE"] = "NONE";
@@ -0,0 +1,15 @@
1
+ <!--
2
+ * @Author: shiguo
3
+ * @Date: 2022-05-12 10:54:52
4
+ * @LastEditors: shiguo
5
+ * @LastEditTime: 2022-05-12 10:56:02
6
+ * @FilePath: /@aks/easyui/lib/index.md
7
+ -->
8
+
9
+
10
+ ### eg:
11
+ ```
12
+
13
+
14
+
15
+ ```
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.181",
3
+ "version": "1.0.182",
4
4
  "description": "工具箱",
5
5
  "main": "dist/index.ts",
6
6
  "types": "types/index.d.ts",
7
7
  "scripts": {
8
8
  "test": "yarn run lint",
9
9
  "release": "yarn semantic-release",
10
- "build": "tsc && cp -r src/assets dist/assets",
10
+ "cp": "cp -r -v src/assets dist/assets",
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/",
11
13
  "types": "tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./types",
12
14
  "dev": "tsc --watch",
13
15
  "test:ts": "tsc --noEmit"
@@ -29,7 +31,7 @@
29
31
  "!/tsconfig.json",
30
32
  "!/tsconfig.md",
31
33
  "/i.sh",
32
- "!/src/assets"
34
+ "!/src/**/assets/*"
33
35
  ],
34
36
  "homepage": "https://gitee.com/the_period_of_the_ten_kingdoms",
35
37
  "repository": {
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file