hy-rtc-sdk-components 0.0.26 → 0.0.27
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/hy-rtc-sdk-components.common.js +16 -16
- package/lib/hy-rtc-sdk-components.common.js.map +1 -1
- package/lib/hy-rtc-sdk-components.umd.js +16 -16
- package/lib/hy-rtc-sdk-components.umd.js.map +1 -1
- package/lib/hy-rtc-sdk-components.umd.min.js +1 -1
- package/lib/hy-rtc-sdk-components.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -50961,7 +50961,7 @@ var modules = modulesFiles.keys().reduce(function (modules, modulePath) {
|
|
|
50961
50961
|
modules[moduleName] = value.default;
|
|
50962
50962
|
return modules;
|
|
50963
50963
|
}, {});
|
|
50964
|
-
/* harmony default export */ var
|
|
50964
|
+
/* harmony default export */ var store = (new vuex_esm["a" /* default */].Store({
|
|
50965
50965
|
strict: debug,
|
|
50966
50966
|
modules: Object.assign({}, modules)
|
|
50967
50967
|
}));
|
|
@@ -51014,13 +51014,13 @@ function install(Vue) {
|
|
|
51014
51014
|
console.log('连接失败回调事件');
|
|
51015
51015
|
});
|
|
51016
51016
|
newSdk.eventEmit('consumerResumed', function (res) {
|
|
51017
|
-
|
|
51017
|
+
store.commit('userOperationCallback', {
|
|
51018
51018
|
operationName: 'consumerResumed',
|
|
51019
51019
|
data: res
|
|
51020
51020
|
});
|
|
51021
51021
|
});
|
|
51022
51022
|
newSdk.eventEmit('consumerPaused', function (res) {
|
|
51023
|
-
|
|
51023
|
+
store.commit('userOperationCallback', {
|
|
51024
51024
|
operationName: 'consumerPaused',
|
|
51025
51025
|
data: res
|
|
51026
51026
|
});
|
|
@@ -51053,7 +51053,7 @@ function install(Vue) {
|
|
|
51053
51053
|
} else {
|
|
51054
51054
|
/* 退出登录 */
|
|
51055
51055
|
sdk = null;
|
|
51056
|
-
|
|
51056
|
+
store.getters.methodLogoutFn();
|
|
51057
51057
|
}
|
|
51058
51058
|
},
|
|
51059
51059
|
clientIdFn: function clientIdFn() {
|
|
@@ -51278,34 +51278,34 @@ function hyRtcBusiness_install(Vue) {
|
|
|
51278
51278
|
});
|
|
51279
51279
|
newSdk.eventEmit('methodLogout', function () {
|
|
51280
51280
|
/* 退出登录 */
|
|
51281
|
-
|
|
51281
|
+
store.getters.methodLogoutFn();
|
|
51282
51282
|
});
|
|
51283
51283
|
newSdk.eventEmit('newCase', function (data) {
|
|
51284
|
-
|
|
51284
|
+
store.commit('userOperationCallback', {
|
|
51285
51285
|
operationName: 'newCase',
|
|
51286
51286
|
data: data
|
|
51287
51287
|
});
|
|
51288
51288
|
});
|
|
51289
51289
|
newSdk.eventEmit('childOrgDealCase', function (data) {
|
|
51290
|
-
|
|
51290
|
+
store.commit('userOperationCallback', {
|
|
51291
51291
|
operationName: 'childOrgDealCase',
|
|
51292
51292
|
data: data
|
|
51293
51293
|
});
|
|
51294
51294
|
});
|
|
51295
51295
|
newSdk.eventEmit('apLocationPush', function (data) {
|
|
51296
|
-
|
|
51296
|
+
store.commit('userOperationCallback', {
|
|
51297
51297
|
operationName: 'apLocationPush',
|
|
51298
51298
|
data: data
|
|
51299
51299
|
});
|
|
51300
51300
|
});
|
|
51301
51301
|
newSdk.eventEmit('pcVideoMeetingInvite', function (data) {
|
|
51302
|
-
|
|
51302
|
+
store.commit('userOperationCallback', {
|
|
51303
51303
|
operationName: 'pcVideoMeetingInvite',
|
|
51304
51304
|
data: data
|
|
51305
51305
|
});
|
|
51306
51306
|
});
|
|
51307
51307
|
newSdk.eventEmit('caseLocationChange', function (data) {
|
|
51308
|
-
|
|
51308
|
+
store.commit('userOperationCallback', {
|
|
51309
51309
|
operationName: 'caseLocationChange',
|
|
51310
51310
|
data: data
|
|
51311
51311
|
});
|
|
@@ -51336,7 +51336,7 @@ function hyRtcBusiness_install(Vue) {
|
|
|
51336
51336
|
/* 退出登录 */
|
|
51337
51337
|
|
|
51338
51338
|
|
|
51339
|
-
|
|
51339
|
+
store.getters.methodLogoutFn();
|
|
51340
51340
|
}
|
|
51341
51341
|
},
|
|
51342
51342
|
// 批量订阅设备状态()
|
|
@@ -53599,13 +53599,13 @@ comObj.component = function (Vue) {
|
|
|
53599
53599
|
};
|
|
53600
53600
|
|
|
53601
53601
|
comObj.install = function (Vue) {
|
|
53602
|
-
if (store) {
|
|
53603
|
-
|
|
53604
|
-
|
|
53605
|
-
|
|
53602
|
+
// if (store) {
|
|
53603
|
+
// store.registerModule("sdkStore", sdkStore);
|
|
53604
|
+
// store.registerModule("business", businessStore);
|
|
53605
|
+
// }
|
|
53606
53606
|
Vue.use(utils_hyRtcSdk);
|
|
53607
53607
|
Vue.use(hyRtcBusiness);
|
|
53608
|
-
Vue.use(
|
|
53608
|
+
Vue.use(store); // if (Vue.prototype.$api) {
|
|
53609
53609
|
// Vue.prototype.$api = {
|
|
53610
53610
|
// ...Vue.prototype.$api,
|
|
53611
53611
|
// ...api.modules
|