@webitel/ui-sdk 25.8.7 → 25.8.9

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 (38) hide show
  1. package/README.md +69 -23
  2. package/dist/ui-sdk.css +1 -1
  3. package/dist/ui-sdk.js +65142 -21547
  4. package/dist/ui-sdk.umd.cjs +2928 -71
  5. package/package.json +141 -140
  6. package/src/api/axios/generateInstance.js +2 -28
  7. package/src/api/clients/index.js +2 -2
  8. package/src/api/clients/labels/labels.js +2 -1
  9. package/src/api/defaults/getDefaultInstance/getDefaultInstance.js +1 -0
  10. package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +2 -2
  11. package/src/components/wt-select/wt-select.vue +1 -0
  12. package/src/components/wt-tags-input/wt-tags-input.vue +1 -1
  13. package/src/install.ts +2 -1
  14. package/src/mixins/validationMixin/vuelidate/useVuelidateValidation.ts +1 -1
  15. package/src/modules/AgentStatusSelect/api/pause-cause.js +3 -4
  16. package/src/modules/Userinfo/v2/api/UserinfoAPI.ts +6 -5
  17. package/src/scripts/caseConverters.js +11 -77
  18. package/src/validations/config/errors/customZodErrorsHandler.ts +49 -0
  19. package/src/validations/config/index.ts +16 -0
  20. package/src/validations/index.ts +1 -0
  21. package/types/api/axios/generateInstance.d.ts +0 -1
  22. package/types/api/clients/index.d.ts +2 -2
  23. package/types/api/clients/media/media.d.ts +2 -2
  24. package/types/api/defaults/getDefaultInstance/getDefaultInstance.d.ts +1 -1
  25. package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +5 -20
  26. package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
  27. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +13 -13
  28. package/types/components/wt-button-select/wt-button-select.vue.d.ts +2 -2
  29. package/types/components/wt-intersection-observer/wt-intersection-observer.vue.d.ts +2 -2
  30. package/types/components/wt-table/wt-table.vue.d.ts +1 -1
  31. package/types/mixins/validationMixin/vuelidate/useVuelidateValidation.d.ts +1 -1
  32. package/types/modules/Userinfo/api/userinfo.d.ts +1 -1
  33. package/types/modules/Userinfo/v2/api/UserinfoAPI.d.ts +1 -1
  34. package/types/scripts/caseConverters.d.ts +1 -9
  35. package/types/scripts/sortQueryAdapters.d.ts +1 -1
  36. package/types/validations/config/index.d.ts +1 -1
  37. package/src/api/history/index.js +0 -3
  38. package/src/api/history/transcript/callTranscript.js +0 -80
package/README.md CHANGED
@@ -1,35 +1,81 @@
1
- # webitel-ui-sdk (1.0.46)
1
+ # @webitel/ui-sdk
2
2
 
3
- ## Project setup
3
+ Main lib
4
4
 
5
- ```
6
- npm install
7
- ```
5
+ ## Packages:
8
6
 
9
- ### Compiles and hot-reloads for development
7
+ * [`@webitel/api-services`](./packages/api-services)
8
+ * [`@webitel/ui-datalist`](./packages/ui-datalist)
10
9
 
11
- ```
12
- npm run serve-lib
13
- ```
10
+ ## Exports:
14
11
 
15
- ### Compiles and minifies for production
12
+ ### main export: `@webitel/ui-sdk`
16
13
 
17
- ```
18
- npm run build
19
- ```
14
+ Global:
15
+ * Vue components registration,
16
+ * `eventBus` registration,
17
+ * locales registration,
20
18
 
21
- ### Run your unit tests
19
+ ### Single entry point exports:
22
20
 
23
- ```
24
- npm run test:unit
25
- ```
21
+ > [!IMPORTANT]
22
+ > Recommended approach. Provides export types, IDE autocompletion.
26
23
 
27
- ### Lints and fixes files
24
+ `import {} from @webitel/ui-sdk/export;`
28
25
 
29
- ```
30
- npm run lint
31
- ```
26
+ #### `@webitel/ui-sdk/store`
32
27
 
33
- ### Customize configuration
28
+ #### `@webitel/ui-sdk/enums`
34
29
 
35
- See [Configuration Reference](https://cli.vuejs.org/config/).
30
+ #### `@webitel/ui-sdk/components`
31
+
32
+ #### `@webitel/ui-sdk/scripts`
33
+
34
+ #### `@webitel/ui-sdk/composables`
35
+
36
+ #### `@webitel/ui-sdk/validations`
37
+
38
+ ### Path exports
39
+
40
+ > [!WARNING]
41
+ > DEPRECATION WARNING: don't use `/@webitel/ui-sdk/**src**/..` exports!
42
+
43
+ `import smth from '@webitel/ui-sdk/export/..';`
44
+
45
+ ### `@webitel/ui-sdk/api/*`
46
+
47
+ Mirrors `@webitel/ui-sdk/src/api/*` structure.
48
+
49
+ ### `@webitel/ui-sdk/locale/*`
50
+
51
+ Mirrors `@webitel/ui-sdk/src/locale/*` structure.
52
+
53
+ ### `@webitel/ui-sdk/css/*`
54
+
55
+ Mirrors `@webitel/ui-sdk/src/css/*` structure.
56
+
57
+ ### `@webitel/ui-sdk/directives/*`
58
+
59
+ Mirrors `@webitel/ui-sdk/src/directives/*` structure.
60
+
61
+ ### `@webitel/ui-sdk/mixins/*`
62
+
63
+ Mirrors `@webitel/ui-sdk/src/mixins/*` structure.
64
+
65
+ ### `@webitel/ui-sdk/plugins/*`
66
+
67
+ Mirrors `@webitel/ui-sdk/src/plugins/*` structure.
68
+
69
+ ### `@webitel/ui-sdk/tests/*`
70
+
71
+ Mirrors `@webitel/ui-sdk/src/tests/*` structure.
72
+
73
+ ### `@webitel/ui-sdk/dist/*`
74
+
75
+ Mirrors `@webitel/ui-sdk/dist/*` structure.
76
+
77
+ ### Others
78
+
79
+ > [!WARNING]
80
+ > Other exports are deprecated, for backward compatibility only.
81
+ > Coz they don't export types.