eoss-ui 0.6.11 → 0.6.13
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 +104 -88
- package/lib/button.js +104 -88
- package/lib/checkbox-group.js +104 -88
- package/lib/data-table-form.js +104 -88
- package/lib/data-table.js +104 -88
- package/lib/date-picker.js +104 -88
- package/lib/dialog.js +104 -88
- package/lib/eoss-ui.common.js +212 -168
- package/lib/flow-group.js +104 -88
- package/lib/flow-list.js +104 -88
- package/lib/flow.js +104 -88
- package/lib/form.js +104 -88
- package/lib/handle-user.js +104 -88
- package/lib/handler.js +104 -88
- package/lib/icon.js +113 -91
- package/lib/index.js +1 -1
- package/lib/input-number.js +104 -88
- package/lib/input.js +104 -88
- package/lib/login.js +104 -88
- package/lib/main.js +164 -141
- package/lib/nav.js +104 -88
- package/lib/page.js +104 -88
- package/lib/pagination.js +104 -88
- package/lib/player.js +104 -88
- package/lib/qr-code.js +104 -88
- package/lib/radio-group.js +104 -88
- package/lib/retrial-auth.js +104 -88
- package/lib/select-ganged.js +104 -88
- package/lib/select.js +104 -88
- package/lib/selector-panel.js +104 -88
- package/lib/selector.js +104 -88
- package/lib/sizer.js +104 -88
- package/lib/steps.js +104 -88
- package/lib/switch.js +104 -88
- package/lib/table-form.js +104 -88
- package/lib/tabs.js +104 -88
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/tips.js +104 -88
- package/lib/tree-group.js +104 -88
- package/lib/tree.js +104 -88
- package/lib/upload.js +130 -99
- package/lib/utils/util.js +104 -88
- package/lib/wujie.js +104 -88
- package/lib/wxlogin.js +104 -88
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/dialog/.DS_Store +0 -0
- package/packages/icon/src/main.vue +7 -1
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/default/index.vue +4 -4
- package/packages/main/src/main.vue +16 -10
- package/packages/main/src/simplicity/avatar.vue +6 -2
- package/packages/main/src/simplicity/index.vue +4 -4
- package/packages/main/src/simplicity/message.vue +0 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/src/common/var.scss +7 -0
- package/packages/theme-chalk/src/login.scss +16 -8
- package/packages/theme-chalk/src/simplicity.scss +1 -0
- package/packages/upload/src/main.vue +28 -8
- package/src/.DS_Store +0 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +12 -1
package/src/utils/util.js
CHANGED
|
@@ -530,7 +530,6 @@ const average = function (...numbers) {
|
|
|
530
530
|
|
|
531
531
|
return average;
|
|
532
532
|
};
|
|
533
|
-
|
|
534
533
|
/**
|
|
535
534
|
* browser
|
|
536
535
|
* @desc:浏览器类型
|
|
@@ -545,6 +544,17 @@ const browser = function () {
|
|
|
545
544
|
}
|
|
546
545
|
}
|
|
547
546
|
};
|
|
547
|
+
/**
|
|
548
|
+
* busEmit
|
|
549
|
+
* @desc:发送事件
|
|
550
|
+
* @author huangbo
|
|
551
|
+
* @date 2022年5月7日
|
|
552
|
+
**/
|
|
553
|
+
const busEmit = function (vm = this, {method, args}) {
|
|
554
|
+
const bus = win.$wujie ? win.$wujie.bus : vm.bus || vm.$root.Bus;
|
|
555
|
+
bus && bus.$emit(method, args);
|
|
556
|
+
window.postMessage({ method, query: args }, '*');
|
|
557
|
+
};
|
|
548
558
|
|
|
549
559
|
/**
|
|
550
560
|
* calculateNetworkDays
|
|
@@ -3325,6 +3335,7 @@ export default {
|
|
|
3325
3335
|
arrUnique,
|
|
3326
3336
|
average,
|
|
3327
3337
|
browser,
|
|
3338
|
+
busEmit,
|
|
3328
3339
|
calculateNetworkDays,
|
|
3329
3340
|
concatenate,
|
|
3330
3341
|
dateAddDays,
|