eoss-ui 0.5.30 → 0.5.31
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/lib/button-group.js +12 -0
- package/lib/button.js +12 -0
- package/lib/cascader.js +18 -15
- package/lib/checkbox-group.js +31 -8
- package/lib/data-table-form.js +12 -0
- package/lib/data-table.js +26 -13
- package/lib/date-picker.js +12 -0
- package/lib/dialog.js +12 -0
- package/lib/eoss-ui.common.js +1793 -1797
- package/lib/flow-group.js +14 -2
- package/lib/flow-list.js +12 -0
- package/lib/flow.js +12 -0
- package/lib/form.js +42 -11
- package/lib/handle-user.js +12 -0
- package/lib/handler.js +12 -0
- package/lib/index.js +1 -1
- package/lib/input-number.js +12 -0
- package/lib/input.js +28 -7
- package/lib/login.js +37 -123
- package/lib/main.js +12 -0
- package/lib/nav.js +12 -0
- package/lib/page.js +12 -0
- package/lib/player.js +12 -0
- package/lib/qr-code.js +12 -0
- package/lib/radio-group.js +15 -3
- package/lib/retrial-auth.js +12 -0
- package/lib/select-ganged.js +12 -0
- package/lib/select.js +12 -0
- package/lib/selector-panel.js +12 -0
- package/lib/selector.js +15 -3
- package/lib/sizer.js +12 -0
- package/lib/steps.js +12 -0
- package/lib/switch.js +12 -0
- package/lib/table-form.js +12 -0
- package/lib/tabs.js +1619 -1568
- package/lib/tips.js +12 -0
- package/lib/tree-group.js +12 -0
- package/lib/tree.js +12 -0
- package/lib/upload.js +12 -0
- package/lib/utils/util.js +12 -0
- package/lib/wujie.js +12 -0
- package/lib/wxlogin.js +12 -0
- package/package.json +2 -2
- package/packages/cascader/src/main.vue +24 -19
- package/packages/checkbox-group/src/main.vue +14 -9
- package/packages/data-table/src/column.vue +9 -7
- package/packages/flow-group/src/main.vue +1 -1
- package/packages/form/src/main.vue +8 -1
- package/packages/input/src/main.vue +20 -16
- package/packages/login/src/main.vue +8 -3
- package/packages/login/src/resetPassword.vue +11 -114
- package/packages/radio-group/src/main.vue +1 -1
- package/packages/selector/src/main.vue +1 -1
- package/packages/tabs/src/main.vue +563 -542
- package/src/index.js +1 -1
- package/src/utils/util.js +12 -0
package/src/index.js
CHANGED
package/src/utils/util.js
CHANGED
|
@@ -1850,6 +1850,17 @@ const indexOfObj = function (arry, target, key) {
|
|
|
1850
1850
|
return -1;
|
|
1851
1851
|
};
|
|
1852
1852
|
|
|
1853
|
+
/**
|
|
1854
|
+
* isExist
|
|
1855
|
+
* @desc:判断是否存在
|
|
1856
|
+
* @author huangbo
|
|
1857
|
+
* @date 2022年5月7日
|
|
1858
|
+
* @param {Object} [obj] -
|
|
1859
|
+
**/
|
|
1860
|
+
const isExist = function(obj) {
|
|
1861
|
+
return obj !== undefined && obj !== null && obj === '';
|
|
1862
|
+
};
|
|
1863
|
+
|
|
1853
1864
|
/**
|
|
1854
1865
|
* isFunction
|
|
1855
1866
|
* @desc:判断是否是函数
|
|
@@ -2875,6 +2886,7 @@ export default {
|
|
|
2875
2886
|
hsvTorgb,
|
|
2876
2887
|
identical,
|
|
2877
2888
|
indexOfObj,
|
|
2889
|
+
isExist,
|
|
2878
2890
|
isFunction,
|
|
2879
2891
|
isLogged,
|
|
2880
2892
|
isLogined,
|