@webitel/ui-sdk 26.8.137 → 26.8.139

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 (71) hide show
  1. package/dist/clients-Bk3DA6vL.js +42471 -0
  2. package/dist/{components-Ce88bKcR.js → components-Bzxyigqb.js} +13 -13
  3. package/dist/{convertDuration-y5tRHrgE.js → convertDuration-CIPonKKW.js} +1 -1
  4. package/dist/{enums-CLu6QDOc.js → enums-CKer6GJR.js} +0 -1
  5. package/dist/ui-sdk.js +3 -3
  6. package/dist/ui-sdk.umd.cjs +540 -540
  7. package/dist/{useValidation-BO5PKJ7c.js → useValidation-B1EJdGM4.js} +1 -1
  8. package/dist/{utils-DVfDViCh.js → utils-DQQQIpjz.js} +1 -1
  9. package/dist/{wt-action-bar-RruYJ0y6.js → wt-action-bar-CJiWenUy.js} +2 -2
  10. package/dist/{wt-badge-LyfZxvmI.js → wt-badge-B3NI2a3-.js} +1 -1
  11. package/dist/{wt-button-COHcpvhY.js → wt-button-DSs8WAg-.js} +2 -2
  12. package/dist/{wt-chat-emoji-DtTLoivU.js → wt-chat-emoji-DqLArBt8.js} +4 -4
  13. package/dist/{wt-datepicker-D5ARLEeQ.js → wt-datepicker-Cx8yPH4d.js} +2 -2
  14. package/dist/{wt-display-chip-items-xqv8mCRj.js → wt-display-chip-items-CYABNzDH.js} +2 -2
  15. package/dist/{wt-dual-panel-BRgwCFK_.js → wt-dual-panel-BHfOeLJZ.js} +1 -1
  16. package/dist/{wt-expansion-card-JQxugKar.js → wt-expansion-card-CNkGLQvo.js} +1 -1
  17. package/dist/{wt-expansion-panel-BHxaV6pi.js → wt-expansion-panel-CGFamfkt.js} +1 -1
  18. package/dist/{wt-icon-CgzRk5RS.js → wt-icon-Cr_aDKIX.js} +1 -1
  19. package/dist/{wt-icon-action-DqN65BiE.js → wt-icon-action-DnDFrScL.js} +1 -1
  20. package/dist/{wt-icon-btn-DwwaYWSw.js → wt-icon-btn-Dy4odu2Q.js} +1 -1
  21. package/dist/{wt-notifications-bar-BlybO6wl.js → wt-notifications-bar-BDtvykT7.js} +2 -2
  22. package/dist/{wt-player-CVj1a9-l.js → wt-player-BjnujOrP.js} +3 -3
  23. package/dist/{wt-screen-recordings-action-DKCrbDdO.js → wt-screen-recordings-action-CHlh4sNO.js} +1 -1
  24. package/dist/{wt-search-bar-DpsACKmt.js → wt-search-bar-Bp9M1oCq.js} +1 -1
  25. package/dist/{wt-send-message-popup-DyK3nhp5.js → wt-send-message-popup-B6VaAW53.js} +3 -3
  26. package/dist/{wt-status-select-CwrK_Q9v.js → wt-status-select-DItpCCVE.js} +2 -2
  27. package/dist/{wt-table-C_Vk3v8K.js → wt-table-ByNazLN3.js} +3 -3
  28. package/dist/{wt-timepicker-DhXZ0OI8.js → wt-timepicker-BW0HmFJI.js} +2 -2
  29. package/dist/{wt-toast-CrvaF-UL.js → wt-toast-CAoQkSuJ.js} +2 -2
  30. package/dist/{wt-tree-table-BqV7-6Pz.js → wt-tree-table-Rf2Jq-39.js} +1 -1
  31. package/dist/{wt-type-extension-value-input-C18U_aE9.js → wt-type-extension-value-input-DAPDUmhp.js} +24 -24
  32. package/dist/{wt-vidstack-player-BFiQRCBc.js → wt-vidstack-player-DSgFPUrJ.js} +5 -5
  33. package/package.json +4 -4
  34. package/src/enums/WebitelApplications/AdminSections.ts +0 -1
  35. package/src/locale/en/en.js +2 -2
  36. package/src/locale/es/es.js +2 -2
  37. package/src/locale/kz/kz.js +2 -2
  38. package/src/locale/pl/pl.js +2 -2
  39. package/src/locale/ro/ro.js +2 -2
  40. package/src/locale/ru/ru.js +2 -2
  41. package/src/locale/uk/uk.js +2 -2
  42. package/src/locale/uz/uz.js +2 -2
  43. package/src/locale/vi/vi.js +2 -2
  44. package/src/modules/SaveCopy/composables/useSaveCopy.ts +29 -0
  45. package/src/modules/SaveCopy/index.ts +1 -0
  46. package/src/modules/Userinfo/classes/ApplicationsAccess.ts +6 -6
  47. package/src/modules/Userinfo/classes/__tests__/ApplicationsAccess.spec.ts +2 -9
  48. package/src/modules/Userinfo/mappings/__tests__/mappings.spec.ts +10 -12
  49. package/src/modules/Userinfo/mappings/mappings.ts +2 -2
  50. package/types/.tsbuildinfo +1 -1
  51. package/types/enums/WebitelApplications/AdminSections.d.ts +0 -1
  52. package/types/locale/en/en.d.ts +2 -2
  53. package/types/locale/es/es.d.ts +4 -5
  54. package/types/locale/i18n.d.ts +18 -18
  55. package/types/locale/index.d.ts +18 -18
  56. package/types/locale/kz/kz.d.ts +4 -5
  57. package/types/locale/pl/pl.d.ts +4 -5
  58. package/types/locale/ro/ro.d.ts +4 -5
  59. package/types/locale/ru/ru.d.ts +4 -5
  60. package/types/locale/uk/uk.d.ts +4 -5
  61. package/types/locale/uz/uz.d.ts +4 -5
  62. package/types/locale/vi/vi.d.ts +4 -5
  63. package/types/modules/SaveCopy/composables/useSaveCopy.d.ts +7 -0
  64. package/types/modules/SaveCopy/index.d.ts +1 -0
  65. package/dist/clients-C7QyOTHe.js +0 -42456
  66. package/src/modules/SaveCopyPopup/components/save-copy-popup.vue +0 -73
  67. package/src/modules/SaveCopyPopup/composables/useSaveCopyPopup.ts +0 -37
  68. package/src/modules/SaveCopyPopup/index.ts +0 -2
  69. package/types/modules/SaveCopyPopup/components/save-copy-popup.vue.d.ts +0 -14
  70. package/types/modules/SaveCopyPopup/composables/useSaveCopyPopup.d.ts +0 -10
  71. package/types/modules/SaveCopyPopup/index.d.ts +0 -2
@@ -1,73 +0,0 @@
1
- <template>
2
- <wt-popup
3
- v-bind="attrs"
4
- :shown="shown"
5
- size="sm"
6
- class="save-copy-popup"
7
- @close="emit('close')"
8
- >
9
- <template #title>
10
- {{ t('webitelUI.saveCopyPopup.title') }}
11
- </template>
12
- <template #main>
13
- <wt-input-text
14
- v-model:model-value="name"
15
- required
16
- :label="t('webitelUI.saveCopyPopup.name')"
17
- @keyup.enter="save"
18
- />
19
- </template>
20
- <template #actions>
21
- <wt-button
22
- :disabled="!name"
23
- @click="save"
24
- >
25
- {{ t('reusable.save') }}
26
- </wt-button>
27
- <wt-button
28
- color="secondary"
29
- @click="emit('close')"
30
- >
31
- {{ t('reusable.close') }}
32
- </wt-button>
33
- </template>
34
- </wt-popup>
35
- </template>
36
-
37
- <script setup lang="ts">
38
- import { ref, useAttrs, watch } from 'vue';
39
- import { useI18n } from 'vue-i18n';
40
-
41
- const { t } = useI18n();
42
-
43
- interface Props {
44
- shown?: boolean;
45
- }
46
-
47
- const props = withDefaults(defineProps<Props>(), {
48
- shown: false,
49
- });
50
-
51
- const emit = defineEmits<{
52
- save: [
53
- name: string,
54
- ];
55
- close: [];
56
- }>();
57
-
58
- const attrs = useAttrs();
59
-
60
- const name = ref('');
61
-
62
- watch(
63
- () => props.shown,
64
- (isShown) => {
65
- if (isShown) name.value = '';
66
- },
67
- );
68
-
69
- function save() {
70
- if (!name.value) return;
71
- emit('save', name.value);
72
- }
73
- </script>
@@ -1,37 +0,0 @@
1
- import { ref } from 'vue';
2
- import { useI18n } from 'vue-i18n';
3
-
4
- export const useSaveCopyPopup = (onSave: (name: string) => unknown) => {
5
- const { t } = useI18n();
6
-
7
- const isSaveCopyPopupShown = ref(false);
8
-
9
- function openSaveCopyPopup() {
10
- isSaveCopyPopupShown.value = true;
11
- }
12
-
13
- function closeSaveCopyPopup() {
14
- isSaveCopyPopupShown.value = false;
15
- }
16
-
17
- async function saveCopy(name: string) {
18
- await onSave(name);
19
- closeSaveCopyPopup();
20
- }
21
-
22
- const saveOptions = [
23
- {
24
- text: t('webitelUI.saveCopyPopup.title'),
25
- callback: openSaveCopyPopup,
26
- },
27
- ];
28
-
29
- return {
30
- isSaveCopyPopupShown,
31
- saveOptions,
32
-
33
- openSaveCopyPopup,
34
- closeSaveCopyPopup,
35
- saveCopy,
36
- };
37
- };
@@ -1,2 +0,0 @@
1
- export { default as SaveCopyPopup } from './components/save-copy-popup.vue';
2
- export { useSaveCopyPopup } from './composables/useSaveCopyPopup';
@@ -1,14 +0,0 @@
1
- interface Props {
2
- shown?: boolean;
3
- }
4
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- close: () => any;
6
- save: (name: string) => any;
7
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
8
- onClose?: (() => any) | undefined;
9
- onSave?: ((name: string) => any) | undefined;
10
- }>, {
11
- shown: boolean;
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const _default: typeof __VLS_export;
14
- export default _default;
@@ -1,10 +0,0 @@
1
- export declare const useSaveCopyPopup: (onSave: (name: string) => unknown) => {
2
- isSaveCopyPopupShown: import("vue").Ref<boolean, boolean>;
3
- saveOptions: {
4
- text: string;
5
- callback: () => void;
6
- }[];
7
- openSaveCopyPopup: () => void;
8
- closeSaveCopyPopup: () => void;
9
- saveCopy: (name: string) => Promise<void>;
10
- };
@@ -1,2 +0,0 @@
1
- export { default as SaveCopyPopup } from './components/save-copy-popup.vue';
2
- export { useSaveCopyPopup } from './composables/useSaveCopyPopup';