eoss-ui 0.5.75 → 0.5.76

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.
Files changed (58) hide show
  1. package/lib/button-group.js +26 -0
  2. package/lib/button.js +26 -0
  3. package/lib/checkbox-group.js +26 -0
  4. package/lib/data-table-form.js +26 -0
  5. package/lib/data-table.js +46 -16
  6. package/lib/date-picker.js +26 -0
  7. package/lib/dialog.js +26 -0
  8. package/lib/eoss-ui.common.js +369 -263
  9. package/lib/flow-group.js +26 -0
  10. package/lib/flow-list.js +37 -8
  11. package/lib/flow.js +26 -0
  12. package/lib/form.js +26 -0
  13. package/lib/handle-user.js +26 -0
  14. package/lib/handler.js +26 -0
  15. package/lib/index.js +1 -1
  16. package/lib/input-number.js +26 -0
  17. package/lib/input.js +26 -0
  18. package/lib/login.js +175 -122
  19. package/lib/main.js +26 -0
  20. package/lib/nav.js +26 -0
  21. package/lib/page.js +26 -0
  22. package/lib/player.js +26 -0
  23. package/lib/qr-code.js +79 -36
  24. package/lib/radio-group.js +26 -0
  25. package/lib/retrial-auth.js +26 -0
  26. package/lib/select-ganged.js +26 -0
  27. package/lib/select.js +26 -0
  28. package/lib/selector-panel.js +26 -0
  29. package/lib/selector.js +26 -0
  30. package/lib/sizer.js +26 -0
  31. package/lib/steps.js +26 -0
  32. package/lib/switch.js +26 -0
  33. package/lib/table-form.js +26 -0
  34. package/lib/tabs.js +26 -0
  35. package/lib/theme-chalk/index.css +1 -1
  36. package/lib/theme-chalk/login.css +1 -1
  37. package/lib/tips.js +26 -0
  38. package/lib/toolbar.js +3 -2
  39. package/lib/tree-group.js +60 -34
  40. package/lib/tree.js +41 -3
  41. package/lib/upload.js +26 -0
  42. package/lib/utils/util.js +26 -0
  43. package/lib/wujie.js +26 -0
  44. package/lib/wxlogin.js +54 -12
  45. package/package.json +2 -2
  46. package/packages/data-table/src/main.vue +15 -14
  47. package/packages/flow-list/src/main.vue +63 -41
  48. package/packages/login/src/main.vue +32 -17
  49. package/packages/qr-code/src/main.vue +48 -37
  50. package/packages/theme-chalk/lib/index.css +1 -1
  51. package/packages/theme-chalk/lib/login.css +1 -1
  52. package/packages/theme-chalk/src/login.scss +912 -430
  53. package/packages/toolbar/src/main.vue +16 -6
  54. package/packages/tree/src/main.vue +13 -1
  55. package/packages/tree-group/src/main.vue +24 -37
  56. package/packages/wxlogin/src/main.vue +30 -12
  57. package/src/index.js +1 -1
  58. package/src/utils/util.js +26 -0
package/lib/table-form.js CHANGED
@@ -2304,6 +2304,31 @@ var isObject = function isObject(obj) {
2304
2304
  return typeof Ctor === 'function' && Object.prototype.hasOwnProperty.toString.call(Ctor) === ObjectFunctionString;
2305
2305
  };
2306
2306
 
2307
+ /**
2308
+ * isObjectEqual
2309
+ * @desc:判断对象是否相等
2310
+ * @author huangbo
2311
+ * @date 2022年5月7日
2312
+ * @param {Object} [obj] - 对象
2313
+ * @param {Object} [_obj] - 对象
2314
+ **/
2315
+ var isObjectEqual = function isObjectEqual(obj, _obj) {
2316
+ if (obj === undefined && _obj || obj && _obj === undefined) {
2317
+ return false;
2318
+ }
2319
+ var aProps = Object.getOwnPropertyNames(obj);
2320
+ var bProps = Object.getOwnPropertyNames(_obj);
2321
+ if (aProps.length !== bProps.length) {
2322
+ return false;
2323
+ }
2324
+ for (var i in obj) {
2325
+ if (obj[i] !== _obj[i]) {
2326
+ return false;
2327
+ }
2328
+ }
2329
+ return true;
2330
+ };
2331
+
2307
2332
  /**
2308
2333
  * jointUrl
2309
2334
  * @desc:判断url地址是否以字符开头,没有则添加
@@ -3180,6 +3205,7 @@ var watermark = function watermark(option) {
3180
3205
  isLogged: isLogged,
3181
3206
  isLogined: isLogined,
3182
3207
  isObject: isObject,
3208
+ isObjectEqual: isObjectEqual,
3183
3209
  jointUrl: jointUrl,
3184
3210
  loadJs: loadJs,
3185
3211
  loading: loading,
package/lib/tabs.js CHANGED
@@ -2304,6 +2304,31 @@ var isObject = function isObject(obj) {
2304
2304
  return typeof Ctor === 'function' && Object.prototype.hasOwnProperty.toString.call(Ctor) === ObjectFunctionString;
2305
2305
  };
2306
2306
 
2307
+ /**
2308
+ * isObjectEqual
2309
+ * @desc:判断对象是否相等
2310
+ * @author huangbo
2311
+ * @date 2022年5月7日
2312
+ * @param {Object} [obj] - 对象
2313
+ * @param {Object} [_obj] - 对象
2314
+ **/
2315
+ var isObjectEqual = function isObjectEqual(obj, _obj) {
2316
+ if (obj === undefined && _obj || obj && _obj === undefined) {
2317
+ return false;
2318
+ }
2319
+ var aProps = Object.getOwnPropertyNames(obj);
2320
+ var bProps = Object.getOwnPropertyNames(_obj);
2321
+ if (aProps.length !== bProps.length) {
2322
+ return false;
2323
+ }
2324
+ for (var i in obj) {
2325
+ if (obj[i] !== _obj[i]) {
2326
+ return false;
2327
+ }
2328
+ }
2329
+ return true;
2330
+ };
2331
+
2307
2332
  /**
2308
2333
  * jointUrl
2309
2334
  * @desc:判断url地址是否以字符开头,没有则添加
@@ -3180,6 +3205,7 @@ var watermark = function watermark(option) {
3180
3205
  isLogged: isLogged,
3181
3206
  isLogined: isLogined,
3182
3207
  isObject: isObject,
3208
+ isObjectEqual: isObjectEqual,
3183
3209
  jointUrl: jointUrl,
3184
3210
  loadJs: loadJs,
3185
3211
  loading: loading,