@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,4 +1,4 @@
1
- import { u as e } from "./enums-CLu6QDOc.js";
1
+ import { u as e } from "./enums-CKer6GJR.js";
2
2
  import { n as t } from "./vue-i18n-VBiROMZ4.js";
3
3
  import { computed as n, isReactive as r, isRef as i, unref as a } from "vue";
4
4
  //#region src/mixins/validationMixin/regle/useRegleValidation.ts
@@ -1,4 +1,4 @@
1
- import "./enums-CLu6QDOc.js";
1
+ import "./enums-CKer6GJR.js";
2
2
  var e = (e) => e || "-";
3
3
  //#endregion
4
4
  export { e as t };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./caseConverters-DGri4uJo.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { f as n } from "./enums-CLu6QDOc.js";
4
- import { t as r } from "./wt-icon-action-DqN65BiE.js";
3
+ import { f as n } from "./enums-CKer6GJR.js";
4
+ import { t as r } from "./wt-icon-action-DnDFrScL.js";
5
5
  import { Fragment as i, computed as a, createElementBlock as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeProps as u, normalizeProps as d, openBlock as f, renderList as p, renderSlot as m } from "vue";
6
6
  //#region src/components/wt-action-bar/WtActionBarActionsOrder.ts
7
7
  var h = [
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { k as t } from "./enums-CLu6QDOc.js";
2
+ import { k as t } from "./enums-CKer6GJR.js";
3
3
  import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, normalizeClass as a, normalizeStyle as o, openBlock as s, renderSlot as c, vShow as l, withDirectives as u } from "vue";
4
4
  //#region src/components/wt-badge/assets/badge-dnd.svg
5
5
  var d = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4'%20cy='4'%20r='4'%20fill='%23FFC000'/%3e%3crect%20x='2'%20y='3'%20width='4'%20height='2'%20fill='%23F7F7F7'/%3e%3c/svg%3e", f = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='8'%20cy='8'%20r='8'%20fill='%23169C18'/%3e%3cpath%20d='M5%204.80433L5%2011.1958C5%2011.9813%205.86395%2012.4601%206.53%2012.0438L11.6432%208.84808C12.2699%208.45642%2012.2699%207.54376%2011.6432%207.15209L6.53%203.95634C5.86395%203.54005%205%204.0189%205%204.80433Z'%20fill='white'/%3e%3c/svg%3e", p = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='8'%20cy='8'%20r='8'%20fill='%23F6AB55'/%3e%3cpath%20d='M6%204C6.55228%204%207%204.44772%207%205L7%2011C7%2011.5523%206.55228%2012%206%2012H5C4.44772%2012%204%2011.5523%204%2011L4%205C4%204.44772%204.44772%204%205%204L6%204Z'%20fill='white'/%3e%3cpath%20d='M11%204C11.5523%204%2012%204.44772%2012%205V11C12%2011.5523%2011.5523%2012%2011%2012H10C9.44772%2012%209%2011.5523%209%2011L9%205C9%204.44772%209.44772%204%2010%204L11%204Z'%20fill='white'/%3e%3c/svg%3e", m = {
@@ -1,5 +1,5 @@
1
- import { t as e } from "./wt-icon-CgzRk5RS.js";
2
- import { D as t, E as n, h as r } from "./enums-CLu6QDOc.js";
1
+ import { t as e } from "./wt-icon-Cr_aDKIX.js";
2
+ import { D as t, E as n, h as r } from "./enums-CKer6GJR.js";
3
3
  import { computed as i, createBlock as a, createCommentVNode as o, createElementVNode as s, createTextVNode as c, defineComponent as l, inject as u, mergeProps as d, normalizeClass as f, openBlock as p, ref as m, renderSlot as h, resolveComponent as g, toDisplayString as _, toRef as v, unref as y, useAttrs as b, watch as x, withCtx as S, withModifiers as C } from "vue";
4
4
  //#endregion
5
5
  //#region src/components/wt-badge-new/wt-badge.vue
@@ -1,8 +1,8 @@
1
- import "./components-Ce88bKcR.js";
1
+ import "./components-Bzxyigqb.js";
2
2
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { E as t, h as n } from "./enums-CLu6QDOc.js";
4
- import { t as r } from "./wt-button-COHcpvhY.js";
5
- import { n as i } from "./wt-toast-CrvaF-UL.js";
3
+ import { E as t, h as n } from "./enums-CKer6GJR.js";
4
+ import { t as r } from "./wt-button-DSs8WAg-.js";
5
+ import { n as i } from "./wt-toast-CAoQkSuJ.js";
6
6
  import { Teleport as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createVNode as u, nextTick as d, onBeforeUnmount as f, openBlock as p, ref as m, resolveDirective as h, unref as g, withDirectives as ee } from "vue";
7
7
  //#region node_modules/emoji-picker-element/database.js
8
8
  function _(e) {
@@ -1,8 +1,8 @@
1
1
  import { a as e, i as t, n, r, t as i } from "./toZonedTime-B8L5kbse.js";
2
2
  import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { D as o, E as s, h as c, l } from "./enums-CLu6QDOc.js";
3
+ import { D as o, E as s, h as c, l } from "./enums-CKer6GJR.js";
4
4
  import { n as u } from "./vue-i18n-VBiROMZ4.js";
5
- import { t as d } from "./useValidation-BO5PKJ7c.js";
5
+ import { t as d } from "./useValidation-B1EJdGM4.js";
6
6
  import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, guardReactiveProps as b, mergeModels as x, mergeProps as S, nextTick as C, normalizeProps as w, onMounted as T, onUnmounted as E, openBlock as D, renderSlot as O, resolveComponent as k, toDisplayString as A, toRefs as j, unref as M, useModel as N, useTemplateRef as P, vShow as F, withCtx as I, withDirectives as ee } from "vue";
7
7
  import te from "primevue/datepicker";
8
8
  //#region node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js
@@ -1,6 +1,6 @@
1
- import { C as e, i as t } from "./components-Ce88bKcR.js";
1
+ import { C as e, i as t } from "./components-Bzxyigqb.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { t as r } from "./utils-DVfDViCh.js";
3
+ import { t as r } from "./utils-DQQQIpjz.js";
4
4
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
5
5
  //#region src/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue?vue&type=script&setup=true&lang.ts
6
6
  var _ = { class: "wt-display-chip-items" }, v = { key: 0 }, y = ["onClick"], b = /*#__PURE__*/ n(/* @__PURE__ */ u({
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { f as t, h as n } from "./enums-CLu6QDOc.js";
2
+ import { f as t, h as n } from "./enums-CKer6GJR.js";
3
3
  import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, normalizeClass as c, openBlock as l, ref as u, renderSlot as d, resolveComponent as f, unref as p } from "vue";
4
4
  //#region src/components/wt-dual-panel/wt-dual-panel.vue
5
5
  var m = { class: "wt-dual-panel" }, h = {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { h as t } from "./enums-CLu6QDOc.js";
2
+ import { h as t } from "./enums-CKer6GJR.js";
3
3
  import { t as n } from "./useExpansion-DVdIpoOn.js";
4
4
  import "./composables-BeyROIj_.js";
5
5
  import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { h as t } from "./enums-CLu6QDOc.js";
2
+ import { h as t } from "./enums-CKer6GJR.js";
3
3
  import { t as n } from "./useExpansion-DVdIpoOn.js";
4
4
  import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
5
5
  import { createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, guardReactiveProps as c, normalizeClass as l, normalizeProps as u, openBlock as d, renderSlot as f, resolveComponent as p, toRef as m, unref as h, vShow as g, withCtx as _, withDirectives as v, withKeys as y } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./caseConverters-DGri4uJo.js";
2
- import { d as t, h as n } from "./enums-CLu6QDOc.js";
2
+ import { d as t, h as n } from "./enums-CKer6GJR.js";
3
3
  import { computed as r, createElementBlock as i, defineComponent as a, normalizeClass as o, openBlock as s } from "vue";
4
4
  //#region node_modules/dompurify/dist/purify.es.mjs
5
5
  function c(e, t) {
@@ -1,4 +1,4 @@
1
- import { f as e } from "./enums-CLu6QDOc.js";
1
+ import { f as e } from "./enums-CKer6GJR.js";
2
2
  import { n as t } from "./vue-i18n-VBiROMZ4.js";
3
3
  import { t as n } from "./sortQueryAdapters-Bb1yt_LD.js";
4
4
  import { computed as r, createBlock as i, openBlock as a, resolveComponent as o, resolveDirective as s, unref as c, withDirectives as l } from "vue";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./wt-icon-CgzRk5RS.js";
1
+ import { t as e } from "./wt-icon-Cr_aDKIX.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { createElementBlock as n, createVNode as r, defineComponent as i, mergeProps as a, normalizeClass as o, openBlock as s } from "vue";
4
4
  //#endregion
@@ -1,5 +1,5 @@
1
- import { u as e } from "./enums-CLu6QDOc.js";
2
- import { n as t, t as n } from "./wt-toast-CrvaF-UL.js";
1
+ import { u as e } from "./enums-CKer6GJR.js";
2
+ import { n as t, t as n } from "./wt-toast-CAoQkSuJ.js";
3
3
  import { createBlock as r, inject as i, onUnmounted as a, openBlock as o } from "vue";
4
4
  import { useToast as s } from "primevue/usetoast";
5
5
  //#region src/components/wt-toast/types/index.ts
@@ -1,7 +1,7 @@
1
- import { t as e } from "./wt-icon-CgzRk5RS.js";
1
+ import { t as e } from "./wt-icon-Cr_aDKIX.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { h as n } from "./enums-CLu6QDOc.js";
4
- import { t as r } from "./wt-button-COHcpvhY.js";
3
+ import { h as n } from "./enums-CKer6GJR.js";
4
+ import { t as r } from "./wt-button-DSs8WAg-.js";
5
5
  import { n as i, t as a } from "./useVidstackSrc-aQcqC_v0.js";
6
6
  import { t as o } from "./wt-popover-BI6YyXy0.js";
7
7
  import { t as s } from "./wt-slider-x-Tch7RT.js";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import "./utils-DVfDViCh.js";
2
+ import "./utils-DQQQIpjz.js";
3
3
  import { t } from "./engineCallFileType-D7QVFOac.js";
4
4
  import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, resolveComponent as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
5
5
  //#region src/components/on-demand/wt-screen-recordings-action/wt-screen-recordings-action.vue?vue&type=script&setup=true&lang.ts
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { t } from "./debounce-A4B4PTkL.js";
3
- import { t as n } from "./useValidation-BO5PKJ7c.js";
3
+ import { t as n } from "./useValidation-B1EJdGM4.js";
4
4
  import { computed as r, createBlock as i, createCommentVNode as a, createElementVNode as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderSlot as p, resolveComponent as m, resolveDirective as h, toDisplayString as g, toRefs as _, unref as v, withCtx as y, withDirectives as b } from "vue";
5
5
  //#region src/components/wt-search-bar/wt-search-bar.vue?vue&type=script&setup=true&lang.ts
6
6
  var x = { class: "wt-search-bar__icon-controls" }, S = /*#__PURE__*/ e(/* @__PURE__ */ u({
@@ -1,6 +1,6 @@
1
- import { n as e } from "./components-Ce88bKcR.js";
2
- import "./convertDuration-y5tRHrgE.js";
3
- import { i as t, r as n } from "./clients-C7QyOTHe.js";
1
+ import { n as e } from "./components-Bzxyigqb.js";
2
+ import "./convertDuration-CIPonKKW.js";
3
+ import { i as t, r as n } from "./clients-Bk3DA6vL.js";
4
4
  import { n as r } from "./vue-i18n-VBiROMZ4.js";
5
5
  import { n as i } from "./useEventBus-B-ZeklLu.js";
6
6
  import { createBlock as a, createTextVNode as o, createVNode as s, defineComponent as c, mergeProps as l, onMounted as u, openBlock as d, ref as f, resolveComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
@@ -1,5 +1,5 @@
1
- import { t as e } from "./convertDuration-y5tRHrgE.js";
2
- import { O as t, h as n } from "./enums-CLu6QDOc.js";
1
+ import { t as e } from "./convertDuration-CIPonKKW.js";
2
+ import { O as t, h as n } from "./enums-CKer6GJR.js";
3
3
  import { n as r } from "./vue-i18n-VBiROMZ4.js";
4
4
  import { computed as i, createBlock as a, createVNode as o, defineComponent as s, openBlock as c, resolveComponent as l, unref as u, withCtx as d } from "vue";
5
5
  //#region src/components/wt-status-select/_internals/StatusOptions.lookup.js
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { h as t } from "./enums-CLu6QDOc.js";
3
- import { t as n } from "./wt-badge-LyfZxvmI.js";
2
+ import { h as t } from "./enums-CKer6GJR.js";
3
+ import { t as n } from "./wt-badge-B3NI2a3-.js";
4
4
  import { n as r } from "./vue-i18n-VBiROMZ4.js";
5
5
  import { n as i, t as a } from "./sortQueryAdapters-Bb1yt_LD.js";
6
- import { t as o } from "./wt-icon-btn-DwwaYWSw.js";
6
+ import { t as o } from "./wt-icon-btn-Dy4odu2Q.js";
7
7
  import { t as s } from "./composables-BeyROIj_.js";
8
8
  import { t as c } from "./wt-popover-BI6YyXy0.js";
9
9
  import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as h, createTextVNode as g, createVNode as _, defineComponent as v, guardReactiveProps as y, nextTick as b, normalizeClass as x, normalizeProps as S, normalizeStyle as C, onMounted as w, onUnmounted as T, openBlock as E, ref as D, renderList as ee, renderSlot as O, resolveComponent as k, resolveDirective as te, toDisplayString as A, unref as j, useSlots as M, useTemplateRef as ne, withCtx as N, withDirectives as P, withModifiers as F } from "vue";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { h as t, l as n } from "./enums-CLu6QDOc.js";
2
+ import { h as t, l as n } from "./enums-CKer6GJR.js";
3
3
  import { n as r } from "./vue-i18n-VBiROMZ4.js";
4
- import { t as i } from "./useValidation-BO5PKJ7c.js";
4
+ import { t as i } from "./useValidation-B1EJdGM4.js";
5
5
  import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, nextTick as m, normalizeClass as h, normalizeProps as g, openBlock as _, renderSlot as v, resolveComponent as y, toDisplayString as b, toRefs as x, unref as S, withCtx as C } from "vue";
6
6
  //#region src/components/wt-timepicker/wt-timepicker.vue?vue&type=script&setup=true&lang.ts
7
7
  var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/ e(/* @__PURE__ */ d({
@@ -1,5 +1,5 @@
1
- import { t as e } from "./wt-icon-CgzRk5RS.js";
2
- import { h as t, u as n } from "./enums-CLu6QDOc.js";
1
+ import { t as e } from "./wt-icon-Cr_aDKIX.js";
2
+ import { h as t, u as n } from "./enums-CKer6GJR.js";
3
3
  import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, normalizeProps as d, normalizeStyle as f, openBlock as p, resolveComponent as m, toDisplayString as h, unref as g, useAttrs as _, withCtx as v } from "vue";
4
4
  //#region node_modules/mitt/dist/mitt.mjs
5
5
  function y(e) {
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { n as t } from "./sortQueryAdapters-Bb1yt_LD.js";
3
3
  import { t as n } from "./wt-checkbox-BBdi-1oS.js";
4
- import { t as r } from "./wt-icon-btn-DwwaYWSw.js";
4
+ import { t as r } from "./wt-icon-btn-Dy4odu2Q.js";
5
5
  import { t as i } from "./useWtTable-AYb1yHre.js";
6
6
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createSlots as d, createTextVNode as f, createVNode as p, defineComponent as m, nextTick as h, normalizeClass as g, normalizeStyle as _, onMounted as v, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveComponent as C, toDisplayString as w, toRef as T, unref as E, withCtx as D, withModifiers as O } from "vue";
7
7
  //#region src/components/wt-tree-table-row/wt-tree-table-row.vue?vue&type=script&setup=true&lang.ts
@@ -1,11 +1,11 @@
1
1
  import { a as e, c as t, i as n, n as r, r as i, s as a, t as o } from "./dist-EXdgfpvN.js";
2
2
  import { n as s } from "./genClient-CvWlQ0TZ.js";
3
3
  import { a as c } from "./caseConverters-DGri4uJo.js";
4
- import { a as l, o as u, r as d, s as f } from "./components-Ce88bKcR.js";
5
- import { a as p, n as m, t as h } from "./clients-C7QyOTHe.js";
6
- import { S as g, _, a as v, c as y, f as b, i as x, n as S, o as C, p as w, r as T, s as E, t as D, x as O } from "./enums-CLu6QDOc.js";
4
+ import { a as l, o as u, r as d, s as f } from "./components-Bzxyigqb.js";
5
+ import { a as p, n as m, t as h } from "./clients-Bk3DA6vL.js";
6
+ import { S as g, _, a as v, c as y, f as b, i as x, n as S, o as C, p as w, r as T, s as E, t as D, x as O } from "./enums-CKer6GJR.js";
7
7
  import { n as ee, t as te } from "./vue-i18n-VBiROMZ4.js";
8
- import "./wt-toast-CrvaF-UL.js";
8
+ import "./wt-toast-CAoQkSuJ.js";
9
9
  import { t as k } from "./sortQueryAdapters-Bb1yt_LD.js";
10
10
  import { t as ne } from "./deep-copy-BJdHBMNZ.js";
11
11
  import { computed as re, createBlock as ie, createCommentVNode as ae, createVNode as oe, defineComponent as A, inject as se, mergeModels as ce, mergeProps as le, openBlock as ue, reactive as j, renderSlot as M, resolveComponent as de, toValue as fe, unref as N, useModel as pe } from "vue";
@@ -199,7 +199,6 @@ S.License, S.Object, S.Configuration, be.SystemSetting, S.GlobalVariable, be.Sch
199
199
  [S.ChangeLog]: y.Changelogs,
200
200
  [S.Configuration]: y.Configuration,
201
201
  [S.GlobalVariable]: y.GlobalVariables,
202
- [S.WorkingCondition]: y.WorkingConditions,
203
202
  [S.Member]: y.Members,
204
203
  [S.QuickReply]: y.QuickReplies,
205
204
  [S.ActivityType]: y.ActivityTypes
@@ -225,8 +224,9 @@ S.License, S.Object, S.Configuration, be.SystemSetting, S.GlobalVariable, be.Sch
225
224
  },
226
225
  [T.Wfm]: {
227
226
  [S.Agent]: x.Agents,
227
+ [S.ShiftTemplate]: x.ShiftTemplates,
228
228
  [S.PauseTemplate]: x.PauseTemplates,
229
- [S.ShiftTemplate]: x.ShiftTemplates
229
+ [S.WorkingCondition]: x.WorkingConditions
230
230
  }
231
231
  }), me(y), me(E), me(C), me(v), me(x);
232
232
  //#endregion
@@ -8875,9 +8875,9 @@ var J = /* @__PURE__ */ function(e) {
8875
8875
  tableAskingAlert: "Are you sure you want\n to delete {count} record? | Are you sure you want\n to delete {count} records?",
8876
8876
  deleteAll: "ALL"
8877
8877
  },
8878
- saveCopyPopup: {
8878
+ saveCopy: {
8879
8879
  title: "Save a copy",
8880
- name: "Copy name"
8880
+ successNotification: "Copy saved!"
8881
8881
  },
8882
8882
  dummy: { text: "There are no records yet" },
8883
8883
  empty: { text: {
@@ -9587,9 +9587,9 @@ var J = /* @__PURE__ */ function(e) {
9587
9587
  tableAskingAlert: "¿Estás seguro de que quieres\n eliminar {count} registro? | ¿Estás seguro de que quieres\n eliminar {count} registros?",
9588
9588
  deleteAll: "TODO"
9589
9589
  },
9590
- saveCopyPopup: {
9590
+ saveCopy: {
9591
9591
  title: "Guardar una copia",
9592
- name: "Nombre de la copia"
9592
+ successNotification: "¡Copia guardada!"
9593
9593
  },
9594
9594
  dummy: { text: "Aún no hay registros" },
9595
9595
  empty: { text: {
@@ -10299,9 +10299,9 @@ var J = /* @__PURE__ */ function(e) {
10299
10299
  tableAskingAlert: "Сіз шынымен {count} жазбаны жойғыңыз келетініне сенімдісіз бе? | Сіз шынымен {count} жазбаны жойғыңыз келетініне сенімдісіз бе?",
10300
10300
  deleteAll: "БАРЛЫҒЫ"
10301
10301
  },
10302
- saveCopyPopup: {
10302
+ saveCopy: {
10303
10303
  title: "Көшірмені сақтау",
10304
- name: "Көшірме атауы"
10304
+ successNotification: "Көшірме сақталды!"
10305
10305
  },
10306
10306
  dummy: { text: "Әзірге жазбалар жоқ" },
10307
10307
  empty: { text: {
@@ -11011,9 +11011,9 @@ var J = /* @__PURE__ */ function(e) {
11011
11011
  tableAskingAlert: "Czy na pewno chcesz\n usunąć {count} rekord? | Czy na pewno chcesz\n usunąć {count} rekordy?",
11012
11012
  deleteAll: "WSZYSTKO"
11013
11013
  },
11014
- saveCopyPopup: {
11014
+ saveCopy: {
11015
11015
  title: "Zapisz kopię",
11016
- name: "Nazwa kopii"
11016
+ successNotification: "Kopia zapisana!"
11017
11017
  },
11018
11018
  dummy: { text: "Nie ma jeszcze żadnych rekordów" },
11019
11019
  empty: { text: {
@@ -11723,9 +11723,9 @@ var J = /* @__PURE__ */ function(e) {
11723
11723
  tableAskingAlert: "Sigur doriți să ștergeți {count} înregistrare? | Sigur doriți să ștergeți {count} înregistrări?",
11724
11724
  deleteAll: "TOATE"
11725
11725
  },
11726
- saveCopyPopup: {
11726
+ saveCopy: {
11727
11727
  title: "Salvează o copie",
11728
- name: "Numele copiei"
11728
+ successNotification: "Copie salvată!"
11729
11729
  },
11730
11730
  dummy: { text: "Nu există încă înregistrări" },
11731
11731
  empty: { text: {
@@ -12443,9 +12443,9 @@ te({
12443
12443
  tableAskingAlert: "Вы уверенны, что хотите\n удалить {count} запись? | Вы уверенны, что хотите\n удалить {count} записей?",
12444
12444
  deleteAll: "ВСЕ"
12445
12445
  },
12446
- saveCopyPopup: {
12446
+ saveCopy: {
12447
12447
  title: "Сохранить копию",
12448
- name: "Имя копии"
12448
+ successNotification: "Копия сохранена!"
12449
12449
  },
12450
12450
  dummy: { text: "Записи в разделе еще не созданы" },
12451
12451
  empty: { text: {
@@ -13156,9 +13156,9 @@ te({
13156
13156
  tableAskingAlert: "Ви впевнені, що хочете\n видалити {count} запис? | Ви впевнені, що хочете\n видалити {count} записів?",
13157
13157
  deleteAll: "ВСІ"
13158
13158
  },
13159
- saveCopyPopup: {
13159
+ saveCopy: {
13160
13160
  title: "Зберегти копію",
13161
- name: "Ім'я копії"
13161
+ successNotification: "Копію збережено!"
13162
13162
  },
13163
13163
  dummy: { text: "Записи у розділі ще не створені" },
13164
13164
  empty: { text: {
@@ -13872,9 +13872,9 @@ te({
13872
13872
  tableAskingAlert: "{count} ta yozuvni o'chirishni xohlaysizmi? | {count} ta yozuvni o'chirishni xohlaysizmi?",
13873
13873
  deleteAll: "HAMMASI"
13874
13874
  },
13875
- saveCopyPopup: {
13875
+ saveCopy: {
13876
13876
  title: "Nusxasini saqlash",
13877
- name: "Nusxa nomi"
13877
+ successNotification: "Nusxa saqlandi!"
13878
13878
  },
13879
13879
  dummy: { text: "Hali yozuvlar yo'q" },
13880
13880
  empty: { text: {
@@ -14585,9 +14585,9 @@ te({
14585
14585
  tableAskingAlert: "Bạn có chắc chắn muốn\n xóa {count} bản ghi? | Bạn có chắc chắn muốn\n xóa {count} bản ghi?",
14586
14586
  deleteAll: "TẤT CẢ"
14587
14587
  },
14588
- saveCopyPopup: {
14588
+ saveCopy: {
14589
14589
  title: "Lưu bản sao",
14590
- name: "Tên bản sao"
14590
+ successNotification: "Đã lưu bản sao!"
14591
14591
  },
14592
14592
  dummy: { text: "Chưa có bản ghi nào" },
14593
14593
  empty: { text: {
@@ -1,9 +1,9 @@
1
- import { w as e } from "./components-Ce88bKcR.js";
2
- import "./convertDuration-y5tRHrgE.js";
1
+ import { w as e } from "./components-Bzxyigqb.js";
2
+ import "./convertDuration-CIPonKKW.js";
3
3
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
4
- import { h as n } from "./enums-CLu6QDOc.js";
5
- import "./wt-button-COHcpvhY.js";
6
- import { t as r } from "./wt-icon-btn-DwwaYWSw.js";
4
+ import { h as n } from "./enums-CKer6GJR.js";
5
+ import "./wt-button-DSs8WAg-.js";
6
+ import { t as r } from "./wt-icon-btn-Dy4odu2Q.js";
7
7
  import { $ as i, C as a, D as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, N as h, O as g, P as ee, Q as _, R as te, S as v, U as ne, V as y, W as b, X as x, Y as re, Z as S, _ as C, a as ie, b as ae, c as oe, d as se, et as ce, f as le, g as ue, h as de, i as w, it as fe, j as pe, k as me, l as T, m as he, n as E, nt as D, o as O, ot as ge, p as k, q as A, r as j, rt as _e, t as ve, tt as ye, u as be, v as M, w as xe, y as Se, z as Ce } from "./vidstack-D9mvYVIz-DesuYgKV.js";
8
8
  import { _ as N, a as we, c as Te, d as Ee, f as De, g as Oe, h as ke, i as Ae, l as je, m as Me, n as Ne, o as Pe, p as Fe, r as Ie, s as Le, t as P, u as Re } from "./vidstack-CgfrU1hS-CNTJkyzm.js";
9
9
  import { _ as ze, a as Be, c as Ve, f as He, g as Ue, h as We, i as Ge, l as Ke, n as qe, r as Je, s as Ye, t as Xe, u as Ze, v as Qe, x as $e, y as et } from "./useVidstackSrc-aQcqC_v0.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.8.137",
3
+ "version": "26.8.139",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -448,9 +448,9 @@
448
448
  "types": "./types/modules/UploadCsvPopup/index.d.ts",
449
449
  "import": "./src/modules/UploadCsvPopup/index.ts"
450
450
  },
451
- "./modules/SaveCopyPopup": {
452
- "types": "./types/modules/SaveCopyPopup/index.d.ts",
453
- "import": "./src/modules/SaveCopyPopup/index.ts"
451
+ "./modules/SaveCopy": {
452
+ "types": "./types/modules/SaveCopy/index.d.ts",
453
+ "import": "./src/modules/SaveCopy/index.ts"
454
454
  },
455
455
  "./modules/TableVariableColumnSelect": {
456
456
  "types": "./types/modules/TableVariableColumnSelect/index.d.ts",
@@ -39,7 +39,6 @@ export const AdminSections = {
39
39
  Teams: 'teams',
40
40
  Triggers: 'triggers',
41
41
  Users: 'users',
42
- WorkingConditions: 'working-conditions',
43
42
  QuickReplies: 'quick-replies',
44
43
  } as const;
45
44
 
@@ -667,9 +667,9 @@ export default deepmerge(
667
667
  'Are you sure you want\n to delete {count} record? | Are you sure you want\n to delete {count} records?',
668
668
  deleteAll: 'ALL',
669
669
  },
670
- saveCopyPopup: {
670
+ saveCopy: {
671
671
  title: 'Save a copy',
672
- name: 'Copy name',
672
+ successNotification: 'Copy saved!',
673
673
  },
674
674
  dummy: {
675
675
  text: 'There are no records yet',
@@ -656,9 +656,9 @@ export default {
656
656
  '¿Estás seguro de que quieres\n eliminar {count} registro? | ¿Estás seguro de que quieres\n eliminar {count} registros?',
657
657
  deleteAll: 'TODO',
658
658
  },
659
- saveCopyPopup: {
659
+ saveCopy: {
660
660
  title: 'Guardar una copia',
661
- name: 'Nombre de la copia',
661
+ successNotification: '¡Copia guardada!',
662
662
  },
663
663
  dummy: {
664
664
  text: 'Aún no hay registros',
@@ -657,9 +657,9 @@ export default {
657
657
  'Сіз шынымен {count} жазбаны жойғыңыз келетініне сенімдісіз бе? | Сіз шынымен {count} жазбаны жойғыңыз келетініне сенімдісіз бе?',
658
658
  deleteAll: 'БАРЛЫҒЫ',
659
659
  },
660
- saveCopyPopup: {
660
+ saveCopy: {
661
661
  title: 'Көшірмені сақтау',
662
- name: 'Көшірме атауы',
662
+ successNotification: 'Көшірме сақталды!',
663
663
  },
664
664
  dummy: {
665
665
  text: 'Әзірге жазбалар жоқ',
@@ -657,9 +657,9 @@ export default {
657
657
  'Czy na pewno chcesz\n usunąć {count} rekord? | Czy na pewno chcesz\n usunąć {count} rekordy?',
658
658
  deleteAll: 'WSZYSTKO',
659
659
  },
660
- saveCopyPopup: {
660
+ saveCopy: {
661
661
  title: 'Zapisz kopię',
662
- name: 'Nazwa kopii',
662
+ successNotification: 'Kopia zapisana!',
663
663
  },
664
664
  dummy: {
665
665
  text: 'Nie ma jeszcze żadnych rekordów',
@@ -662,9 +662,9 @@ export default {
662
662
  'Sigur doriți să ștergeți {count} înregistrare? | Sigur doriți să ștergeți {count} înregistrări?',
663
663
  deleteAll: 'TOATE',
664
664
  },
665
- saveCopyPopup: {
665
+ saveCopy: {
666
666
  title: 'Salvează o copie',
667
- name: 'Numele copiei',
667
+ successNotification: 'Copie salvată!',
668
668
  },
669
669
  dummy: {
670
670
  text: 'Nu există încă înregistrări',
@@ -652,9 +652,9 @@ export default {
652
652
  'Вы уверенны, что хотите\n удалить {count} запись? | Вы уверенны, что хотите\n удалить {count} записей?',
653
653
  deleteAll: 'ВСЕ',
654
654
  },
655
- saveCopyPopup: {
655
+ saveCopy: {
656
656
  title: 'Сохранить копию',
657
- name: 'Имя копии',
657
+ successNotification: 'Копия сохранена!',
658
658
  },
659
659
  dummy: {
660
660
  text: 'Записи в разделе еще не созданы',
@@ -650,9 +650,9 @@ export default {
650
650
  'Ви впевнені, що хочете\n видалити {count} запис? | Ви впевнені, що хочете\n видалити {count} записів?',
651
651
  deleteAll: 'ВСІ',
652
652
  },
653
- saveCopyPopup: {
653
+ saveCopy: {
654
654
  title: 'Зберегти копію',
655
- name: "Ім'я копії",
655
+ successNotification: 'Копію збережено!',
656
656
  },
657
657
  dummy: {
658
658
  text: 'Записи у розділі ще не створені',
@@ -662,9 +662,9 @@ export default {
662
662
  "{count} ta yozuvni o'chirishni xohlaysizmi? | {count} ta yozuvni o'chirishni xohlaysizmi?",
663
663
  deleteAll: 'HAMMASI',
664
664
  },
665
- saveCopyPopup: {
665
+ saveCopy: {
666
666
  title: 'Nusxasini saqlash',
667
- name: 'Nusxa nomi',
667
+ successNotification: 'Nusxa saqlandi!',
668
668
  },
669
669
  dummy: {
670
670
  text: "Hali yozuvlar yo'q",
@@ -660,9 +660,9 @@ export default {
660
660
  'Bạn có chắc chắn muốn\n xóa {count} bản ghi? | Bạn có chắc chắn muốn\n xóa {count} bản ghi?',
661
661
  deleteAll: 'TẤT CẢ',
662
662
  },
663
- saveCopyPopup: {
663
+ saveCopy: {
664
664
  title: 'Lưu bản sao',
665
- name: 'Tên bản sao',
665
+ successNotification: 'Đã lưu bản sao!',
666
666
  },
667
667
  dummy: {
668
668
  text: 'Chưa có bản ghi nào',
@@ -0,0 +1,29 @@
1
+ import { useI18n } from 'vue-i18n';
2
+
3
+ import { useEventBus } from '../../../composables';
4
+ import { eventBus as defaultEventBus } from '../../../scripts';
5
+
6
+ export const useSaveCopy = (onSave: () => unknown) => {
7
+ const { t } = useI18n();
8
+ const eventBus = useEventBus() ?? defaultEventBus;
9
+
10
+ async function saveCopy() {
11
+ await onSave();
12
+ eventBus.$emit('notification', {
13
+ type: 'success',
14
+ text: t('webitelUI.saveCopy.successNotification'),
15
+ });
16
+ }
17
+
18
+ const saveOptions = [
19
+ {
20
+ text: t('webitelUI.saveCopy.title'),
21
+ callback: saveCopy,
22
+ },
23
+ ];
24
+
25
+ return {
26
+ saveOptions,
27
+ saveCopy,
28
+ };
29
+ };
@@ -0,0 +1 @@
1
+ export { useSaveCopy } from './composables/useSaveCopy';
@@ -139,10 +139,6 @@ const applicationsAccess = (value = true): ApplicationsAccessSchema => ({
139
139
  _enabled: value,
140
140
  _locale: `WtApplication.${WtApplication.Admin}.sections.${AdminSections.Media}`,
141
141
  },
142
- [AdminSections.WorkingConditions]: {
143
- _enabled: value,
144
- _locale: `WtApplication.${WtApplication.Admin}.sections.${AdminSections.WorkingConditions}`,
145
- },
146
142
  [AdminSections.QuickReplies]: {
147
143
  _enabled: value,
148
144
  _locale: `WtApplication.${WtApplication.Admin}.sections.${AdminSections.QuickReplies}`,
@@ -291,13 +287,17 @@ const applicationsAccess = (value = true): ApplicationsAccessSchema => ({
291
287
  _enabled: value,
292
288
  _locale: `WtApplication.${WtApplication.Wfm}.sections.${WfmSections.ForecastCalculation}`,
293
289
  },
290
+ [WfmSections.ShiftTemplates]: {
291
+ _enabled: value,
292
+ _locale: `WtApplication.${WtApplication.Wfm}.sections.${WfmSections.ShiftTemplates}`,
293
+ },
294
294
  [WfmSections.PauseTemplates]: {
295
295
  _enabled: value,
296
296
  _locale: `WtApplication.${WtApplication.Wfm}.sections.${WfmSections.PauseTemplates}`,
297
297
  },
298
- [WfmSections.ShiftTemplates]: {
298
+ [WfmSections.WorkingConditions]: {
299
299
  _enabled: value,
300
- _locale: `WtApplication.${WtApplication.Wfm}.sections.${WfmSections.ShiftTemplates}`,
300
+ _locale: `WtApplication.${WtApplication.Wfm}.sections.${WfmSections.WorkingConditions}`,
301
301
  },
302
302
  },
303
303
  });