@webitel/ui-sdk 24.8.18 → 24.8.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "24.8.18",
3
+ "version": "24.8.20",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -25,8 +25,50 @@
25
25
  "import": "./src/store/new/index.js",
26
26
  "require": "./src/store/new/index.js"
27
27
  },
28
- "*": {
29
- "import": "*"
28
+ "./dist*": {
29
+ "import": "./dist*"
30
+ },
31
+ "./src/api*": {
32
+ "import": "./src/api*"
33
+ },
34
+ "./src/locale*": {
35
+ "import": "./src/locale*"
36
+ },
37
+ "./src/composables*": {
38
+ "import": "./src/composables*"
39
+ },
40
+ "./src/css*": {
41
+ "import": "./src/css*"
42
+ },
43
+ "./src/components*": {
44
+ "import": "./src/components*"
45
+ },
46
+ "./src/directives*": {
47
+ "import": "./src/directives*"
48
+ },
49
+ "./src/enums*": {
50
+ "import": "./src/enums*"
51
+ },
52
+ "./src/mixins*": {
53
+ "import": "./src/mixins*"
54
+ },
55
+ "./src/scripts*": {
56
+ "import": "./src/scripts*"
57
+ },
58
+ "./src/validators*": {
59
+ "import": "./src/validators*"
60
+ },
61
+ "./src/modules*": {
62
+ "import": "./src/modules*"
63
+ },
64
+ "./src/plugins*": {
65
+ "import": "./src/plugins*"
66
+ },
67
+ "./src/store*": {
68
+ "import": "./src/store*"
69
+ },
70
+ "./src/tests*": {
71
+ "import": "./src/tests*"
30
72
  }
31
73
  },
32
74
  "files": [
@@ -99,6 +99,7 @@ export default class FiltersStoreModule extends BaseStoreModule {
99
99
  },
100
100
 
101
101
  RESTORE_FILTERS: async (context) => {
102
+ context.state._emitter = mitt(); // FIXME wtf
102
103
  await Promise.allSettled(context.getters._STATE_FILTER_NAMES.map((name) => {
103
104
  return context.dispatch('RESTORE_FILTER', { name });
104
105
  }));
@@ -132,6 +133,7 @@ export default class FiltersStoreModule extends BaseStoreModule {
132
133
 
133
134
  EMIT: async (context, { event, payload }) => {
134
135
  return new Promise(async (resolve, reject) => {
136
+ console.info(context.state._emitter);
135
137
  const wildcardListeners = context.state._emitter.all.get('*');
136
138
  const eventListeners = context.state._emitter.all.get(event);
137
139