@factoringplus/pl-components-pack-v3 0.5.2-pre-6 → 0.5.2-pre-8
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getCurrentScope, onScopeDispose, unref, ref, watch, isRef, customRef, toRefs as toRefs$1, getCurrentInstance, onMounted, nextTick, computed as computed$1, shallowRef, watchEffect, readonly, reactive, openBlock, createElementBlock, createElementVNode, warn, isVNode, provide, inject, onBeforeUnmount, toRef, onUnmounted, onBeforeMount, defineComponent, mergeProps, renderSlot, useAttrs as useAttrs$1, useSlots, withDirectives, createCommentVNode, Fragment, normalizeClass, createBlock, withCtx, resolveDynamicComponent, withModifiers, createVNode, toDisplayString, normalizeStyle, vShow, Transition, onUpdated, cloneVNode, Text, Comment, Teleport, onDeactivated, renderList, createTextVNode, toRaw as toRaw$1, vModelCheckbox, withKeys, h as h$2, createSlots, triggerRef, resolveComponent, resolveDirective, vModelText, TransitionGroup, createApp, shallowReactive, render, normalizeProps, guardReactiveProps, createStaticVNode, onBeforeUpdate } from "vue";
|
|
2
2
|
import moment from "moment";
|
|
3
|
-
import { defineStore, createPinia } from "pinia";
|
|
3
|
+
import { defineStore, storeToRefs, createPinia } from "pinia";
|
|
4
4
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
5
5
|
var freeGlobal$1 = freeGlobal;
|
|
6
6
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
@@ -47455,6 +47455,7 @@ const useSelectedChannelStore = defineStore("selectedChannel", {
|
|
|
47455
47455
|
async getChatMessagesByChannelId(count2) {
|
|
47456
47456
|
try {
|
|
47457
47457
|
const messages2 = await apiChat.getChatMessagesByChannelId(this.api, this.baseUrl, this.channelId, this.afterMessagesLoaded, count2);
|
|
47458
|
+
console.log("messages getChatMessagesByChannelId", messages2);
|
|
47458
47459
|
if (messages2.length < 10) {
|
|
47459
47460
|
this.afterMessagesLoaded = true;
|
|
47460
47461
|
}
|
|
@@ -50621,6 +50622,10 @@ const _sfc_main = {
|
|
|
50621
50622
|
channelsStore.setIsHubsConnected(false);
|
|
50622
50623
|
}
|
|
50623
50624
|
};
|
|
50625
|
+
const { channelCategory } = storeToRefs(channelsStore);
|
|
50626
|
+
watch(channelCategory, async () => {
|
|
50627
|
+
await getChannelsInfo();
|
|
50628
|
+
});
|
|
50624
50629
|
chatManagerStart();
|
|
50625
50630
|
return (_ctx, _cache) => {
|
|
50626
50631
|
return openBlock(), createBlock(_sfc_main$c, { "btn-text": "\u0427\u0430\u0442 \u0441 \u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043C\u0438" }, {
|