sks-plugin-el-erp 1.0.0 → 1.0.3

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/.idea/bbb.iml ADDED
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/temp" />
6
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
7
+ <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
+ </content>
9
+ <orderEntry type="inheritedJdk" />
10
+ <orderEntry type="sourceFolder" forTests="false" />
11
+ </component>
12
+ </module>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/bbb.iml" filepath="$PROJECT_DIR$/.idea/bbb.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
package/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Ruoyi Autumn
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # element用于erp的扩展
2
+
3
+ # 发布新版本
4
+ ```shell
5
+ npm publish
6
+ ```
7
+
8
+ ## 撤销发布包
9
+ 千万不要使用
10
+ 即使你撤销了发布的包,发包的时候也不能再和被撤销的包的名称和版本重复了
11
+ ```shell
12
+ #npm unpublish
13
+ ```
14
+
15
+ ## 依赖说明
16
+
17
+ ```
18
+ npm版本 6.14.12
19
+ nodejs版本 v10.24.1
20
+ ```
package/index.js CHANGED
@@ -1,9 +1,15 @@
1
1
  import Vue from 'vue'
2
- import {isNullOrUndefined} from "./lib/core";
2
+ import {baseFormatOptionLabel, isNullOrUndefined, strIfEmpty, strIsEmpty, strLength} from "./lib/core";
3
+ import {isExternal} from "./lib/validate";
3
4
 
4
5
 
5
6
  const sksUtils={
6
- isNullOrUndefined
7
+ isNullOrUndefined,
8
+ strIsEmpty,
9
+ strIfEmpty,
10
+ strLength,
11
+ baseFormatOptionLabel,
12
+ isExternal,
7
13
  }
8
14
 
9
15