@webitel/ui-sdk 26.8.23 → 26.8.25
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/dist/{components-Q-Lkl5tb.js → components-D4wZVj2U.js} +3 -3
- package/dist/ui-sdk.js +7 -1
- package/dist/ui-sdk.umd.cjs +7 -2
- package/dist/{wt-chat-emoji-CiL3CTCQ.js → wt-chat-emoji-Bn2li4my.js} +1 -1
- package/dist/{wt-display-chip-items-DXfs6aQp.js → wt-display-chip-items-C7TbBQL8.js} +1 -1
- package/dist/{wt-galleria-CgY38PPx.js → wt-galleria-DMCgiiju.js} +2 -2
- package/dist/{wt-send-message-popup-BvnTPEeX.js → wt-send-message-popup-Buy3K7Nx.js} +1 -1
- package/dist/{wt-type-extension-value-input-bsEXPInV.js → wt-type-extension-value-input-Cxa9OPmO.js} +1 -1
- package/dist/{wt-vidstack-player-BymuGcAX.js → wt-vidstack-player-BIuPpIXv.js} +1 -1
- package/package.json +2 -1
- package/src/modules/DeleteConfirmationPopup/composables/{useDeleteConfirmationPopup.js → useDeleteConfirmationPopup.ts} +10 -3
- package/src/plugins/primevue/theme/components/popover/popover.js +5 -0
- package/types/.tsbuildinfo +1 -1
- package/types/modules/AgentPdfs/components/agent-pdfs-tab.vue.d.ts +1 -4
- package/types/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.d.ts +7 -6
- package/types/plugins/primevue/theme/components/popover/popover.d.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components-
|
|
1
|
+
import { C as e, i as t } from "./components-D4wZVj2U.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { t as r } from "./displayText-CtaxzaBz.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";
|
|
@@ -2,10 +2,10 @@ import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
|
2
2
|
import { t } from "./vue-i18n-Db_oYfO8.js";
|
|
3
3
|
import { a as n, o as r } from "./composables-BtWSAI5D.js";
|
|
4
4
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeModels as p, mergeProps as m, nextTick as h, normalizeClass as g, onMounted as _, onUnmounted as v, openBlock as y, ref as b, renderSlot as x, resolveComponent as S, toDisplayString as C, unref as w, useAttrs as T, useModel as E, vShow as D, watch as O, withCtx as k, withDirectives as A } from "vue";
|
|
5
|
-
//#region src/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.
|
|
5
|
+
//#region src/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.ts
|
|
6
6
|
var j = () => {
|
|
7
7
|
let e = b(!1), t = b(0), n = b(() => {});
|
|
8
|
-
function r({ deleted: r
|
|
8
|
+
function r({ deleted: r, callback: i }) {
|
|
9
9
|
Array.isArray(r) ? t.value = r.length : t.value = 1, e.value = !0, n.value = i;
|
|
10
10
|
}
|
|
11
11
|
function i() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BEcgMyyN.js";
|
|
2
2
|
import { n as t, r as n } from "./clients-Cgrz-ee-.js";
|
|
3
|
-
import { T as r, n as i, w as a } from "./components-
|
|
3
|
+
import { T as r, n as i, w as a } from "./components-D4wZVj2U.js";
|
|
4
4
|
import { t as o } from "./vue-i18n-Db_oYfO8.js";
|
|
5
5
|
import { n as s } from "./useEventBus-B-ZeklLu.js";
|
|
6
6
|
import { createBlock as c, createTextVNode as l, createVNode as u, defineComponent as d, mergeProps as f, onMounted as p, openBlock as m, ref as h, resolveComponent as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
package/dist/{wt-type-extension-value-input-bsEXPInV.js → wt-type-extension-value-input-Cxa9OPmO.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clients-Cgrz-ee-.js";
|
|
2
|
-
import { a as t, o as n, r, s as i } from "./components-
|
|
2
|
+
import { a as t, o as n, r, s as i } from "./components-D4wZVj2U.js";
|
|
3
3
|
import { t as a } from "./enums-De8CDKZ1.js";
|
|
4
4
|
import { t as o } from "./vue-i18n-Db_oYfO8.js";
|
|
5
5
|
import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "26.8.
|
|
3
|
+
"version": "26.8.25",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "npm run docs:dev",
|
|
@@ -120,6 +120,7 @@
|
|
|
120
120
|
},
|
|
121
121
|
"devDependencies": {
|
|
122
122
|
"@biomejs/biome": "2.4.16",
|
|
123
|
+
"@pinia/testing": "^1.0.3",
|
|
123
124
|
"@regle/core": "^1.16.2",
|
|
124
125
|
"@tsconfig/node22": "^22.0.0",
|
|
125
126
|
"@types/deep-equal": "^1.0.4",
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { ref } from 'vue';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
export type AskDeleteConfirmationParams = {
|
|
4
|
+
deleted?: unknown;
|
|
5
|
+
callback: () => unknown;
|
|
6
|
+
};
|
|
7
|
+
|
|
4
8
|
export const useDeleteConfirmationPopup = () => {
|
|
5
9
|
const isVisible = ref(false);
|
|
6
10
|
const deleteCount = ref(0);
|
|
7
|
-
const deleteCallback = ref(() => {});
|
|
11
|
+
const deleteCallback = ref<() => unknown>(() => {});
|
|
8
12
|
|
|
9
|
-
function askDeleteConfirmation({
|
|
13
|
+
function askDeleteConfirmation({
|
|
14
|
+
deleted,
|
|
15
|
+
callback,
|
|
16
|
+
}: AskDeleteConfirmationParams) {
|
|
10
17
|
if (Array.isArray(deleted)) deleteCount.value = deleted.length;
|
|
11
18
|
else deleteCount.value = 1;
|
|
12
19
|
isVisible.value = true;
|
|
@@ -7,7 +7,12 @@ const popover = {
|
|
|
7
7
|
root: PopoverScheme.sizes,
|
|
8
8
|
colorScheme: PopoverScheme.colorScheme,
|
|
9
9
|
css: ({ dt }) => `
|
|
10
|
+
.p-popover {
|
|
11
|
+
max-width: ${dt('popover.maxWidth')};
|
|
12
|
+
}
|
|
13
|
+
|
|
10
14
|
.p-popover-content {
|
|
15
|
+
word-break: break-word;
|
|
11
16
|
${generateWtTypographyCustomCss({
|
|
12
17
|
dt,
|
|
13
18
|
typo: WtTypography.Body1,
|