@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.
- package/README.md +69 -23
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +65142 -21547
- package/dist/ui-sdk.umd.cjs +2928 -71
- package/package.json +141 -140
- package/src/api/axios/generateInstance.js +2 -28
- package/src/api/clients/index.js +2 -2
- package/src/api/clients/labels/labels.js +2 -1
- package/src/api/defaults/getDefaultInstance/getDefaultInstance.js +1 -0
- package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +2 -2
- package/src/components/wt-select/wt-select.vue +1 -0
- package/src/components/wt-tags-input/wt-tags-input.vue +1 -1
- package/src/install.ts +2 -1
- package/src/mixins/validationMixin/vuelidate/useVuelidateValidation.ts +1 -1
- package/src/modules/AgentStatusSelect/api/pause-cause.js +3 -4
- package/src/modules/Userinfo/v2/api/UserinfoAPI.ts +6 -5
- package/src/scripts/caseConverters.js +11 -77
- package/src/validations/config/errors/customZodErrorsHandler.ts +49 -0
- package/src/validations/config/index.ts +16 -0
- package/src/validations/index.ts +1 -0
- package/types/api/axios/generateInstance.d.ts +0 -1
- package/types/api/clients/index.d.ts +2 -2
- package/types/api/clients/media/media.d.ts +2 -2
- package/types/api/defaults/getDefaultInstance/getDefaultInstance.d.ts +1 -1
- package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +5 -20
- package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
- package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +13 -13
- package/types/components/wt-button-select/wt-button-select.vue.d.ts +2 -2
- package/types/components/wt-intersection-observer/wt-intersection-observer.vue.d.ts +2 -2
- package/types/components/wt-table/wt-table.vue.d.ts +1 -1
- package/types/mixins/validationMixin/vuelidate/useVuelidateValidation.d.ts +1 -1
- package/types/modules/Userinfo/api/userinfo.d.ts +1 -1
- package/types/modules/Userinfo/v2/api/UserinfoAPI.d.ts +1 -1
- package/types/scripts/caseConverters.d.ts +1 -9
- package/types/scripts/sortQueryAdapters.d.ts +1 -1
- package/types/validations/config/index.d.ts +1 -1
- package/src/api/history/index.js +0 -3
- package/src/api/history/transcript/callTranscript.js +0 -80
package/README.md
CHANGED
|
@@ -1,35 +1,81 @@
|
|
|
1
|
-
# webitel
|
|
1
|
+
# @webitel/ui-sdk
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Main lib
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
npm install
|
|
7
|
-
```
|
|
5
|
+
## Packages:
|
|
8
6
|
|
|
9
|
-
|
|
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
|
-
###
|
|
12
|
+
### main export: `@webitel/ui-sdk`
|
|
16
13
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
Global:
|
|
15
|
+
* Vue components registration,
|
|
16
|
+
* `eventBus` registration,
|
|
17
|
+
* locales registration,
|
|
20
18
|
|
|
21
|
-
###
|
|
19
|
+
### Single entry point exports:
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
```
|
|
21
|
+
> [!IMPORTANT]
|
|
22
|
+
> Recommended approach. Provides export types, IDE autocompletion.
|
|
26
23
|
|
|
27
|
-
|
|
24
|
+
`import {} from @webitel/ui-sdk/export;`
|
|
28
25
|
|
|
29
|
-
|
|
30
|
-
npm run lint
|
|
31
|
-
```
|
|
26
|
+
#### `@webitel/ui-sdk/store`
|
|
32
27
|
|
|
33
|
-
|
|
28
|
+
#### `@webitel/ui-sdk/enums`
|
|
34
29
|
|
|
35
|
-
|
|
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.
|