@webitel/ui-sdk 26.6.73 → 26.6.75
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/{clients-B_u-8Hev.js → clients-CIZxqjbV.js} +1 -1
- package/dist/{components-DXso3cNH.js → components-7XDaN2WO.js} +13 -12
- package/dist/{composables-CmpLKArq.js → composables-D5kSQ1Rk.js} +67 -54
- package/dist/{enums-CaJ2Kh6z.js → enums-De8CDKZ1.js} +13 -10
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +3 -3
- package/dist/ui-sdk.umd.cjs +10 -10
- package/dist/{useValidation-D966lfIa.js → useValidation-DGl2otXJ.js} +1 -1
- package/dist/{wt-action-bar-4kYwf6im.js → wt-action-bar-HBm22ay5.js} +2 -2
- package/dist/{wt-button-CT1JWvQo.js → wt-button-dC4nOW56.js} +2 -2
- package/dist/{wt-chat-emoji-Bg2CkUHQ.js → wt-chat-emoji-DlaYat6D.js} +4 -4
- package/dist/{wt-datepicker-C-hb329G.js → wt-datepicker-CxwX-c2T.js} +2 -2
- package/dist/{wt-display-chip-items-CIpASRgr.js → wt-display-chip-items-CSvkEtjH.js} +1 -1
- package/dist/{wt-dual-panel-BzJePzqE.js → wt-dual-panel-Dhj8Eg_y.js} +1 -1
- package/dist/{wt-expansion-card-H6a_Nfe5.js → wt-expansion-card-TBmAxeek.js} +2 -2
- package/dist/{wt-expansion-panel-95IUAB3-.js → wt-expansion-panel-Br7JPc5X.js} +1 -1
- package/dist/{wt-galleria-BiVy4aMN.js → wt-galleria-BWHny8Qw.js} +1 -1
- package/dist/{wt-icon-action-9anRgrpl.js → wt-icon-action-BBmutGsL.js} +1 -1
- package/dist/{wt-icon-btn-DaAa_Ywc.js → wt-icon-btn-BIU9YjS8.js} +2 -2
- package/dist/{wt-icon-RopCKnvN.js → wt-icon-y89gRcOs.js} +1 -1
- package/dist/{wt-notifications-bar-uj3OVFZc.js → wt-notifications-bar-DhJxMjNB.js} +2 -2
- package/dist/{wt-player-CvX-MhQf.js → wt-player-_mTlxsCu.js} +3 -3
- package/dist/{wt-search-bar-CIkp_KW3.js → wt-search-bar-CYCOxWra.js} +1 -1
- package/dist/{wt-send-message-popup-ClWBSwxI.js → wt-send-message-popup-CJcbjDEg.js} +2 -2
- package/dist/{wt-status-select-BLq_dxqN.js → wt-status-select-D1hAjCAS.js} +1 -1
- package/dist/{wt-table-B7rn2iAF.js → wt-table-DJ85SoOt.js} +1 -1
- package/dist/{wt-timepicker-CuflSCqz.js → wt-timepicker-BEeUHumZ.js} +2 -2
- package/dist/{wt-toast-BLDcVPXR.js → wt-toast-DXrSMdRm.js} +2 -2
- package/dist/{wt-tree-table-CLLEP40A.js → wt-tree-table-2K7cdct7.js} +1 -1
- package/dist/{wt-type-extension-value-input-X7FXHDUW.js → wt-type-extension-value-input-BN5MiVaW.js} +3 -3
- package/dist/{wt-vidstack-player-DZYW8huS.js → wt-vidstack-player-DsUBlHc-.js} +4 -4
- package/package.json +1 -1
- package/src/assets/icons/sprite/index.ts +1 -1
- package/src/components/_internals/composables/useSelect/useSelect.ts +6 -0
- package/src/components/_internals/composables/useSelect/useSelectOptions.ts +20 -0
- package/src/components/wt-checkbox/wt-checkbox.vue +2 -0
- package/src/components/wt-rounded-action/wt-rounded-action.vue +1 -0
- package/src/enums/index.ts +4 -4
- package/types/components/_internals/composables/useSelect/useSelectOptions.d.ts +1 -0
- package/types/enums/index.d.ts +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./caseConverters-DXegZoCt.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { o as n } from "./enums-
|
|
3
|
+
import { o as n } from "./enums-De8CDKZ1.js";
|
|
4
4
|
import { t as r } from "./sortQueryAdapters-CyYXvnDN.js";
|
|
5
|
-
import { t as i } from "./wt-icon-action-
|
|
5
|
+
import { t as i } from "./wt-icon-action-BBmutGsL.js";
|
|
6
6
|
import { Fragment as a, computed as o, createElementBlock as s, createVNode as c, guardReactiveProps as l, mergeProps as u, normalizeProps as d, openBlock as f, renderList as p, renderSlot as m, unref as h } from "vue";
|
|
7
7
|
//#region src/components/wt-action-bar/WtActionBarActionsOrder.js
|
|
8
8
|
var g = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
2
|
-
import { d as t, f as n, l as r } from "./enums-
|
|
1
|
+
import { t as e } from "./wt-icon-y89gRcOs.js";
|
|
2
|
+
import { d as t, f as n, l as r } from "./enums-De8CDKZ1.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-
|
|
1
|
+
import "./components-7XDaN2WO.js";
|
|
2
2
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { l as t } from "./enums-
|
|
4
|
-
import { t as n } from "./wt-button-
|
|
5
|
-
import { n as r } from "./wt-toast-
|
|
3
|
+
import { l as t } from "./enums-De8CDKZ1.js";
|
|
4
|
+
import { t as n } from "./wt-button-dC4nOW56.js";
|
|
5
|
+
import { n as r } from "./wt-toast-DXrSMdRm.js";
|
|
6
6
|
import { Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, nextTick as u, onBeforeUnmount as d, openBlock as f, ref as p, resolveDirective as m, unref as h, withDirectives as g } from "vue";
|
|
7
7
|
//#region node_modules/emoji-picker-element/database.js
|
|
8
8
|
function _(e) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { d as t, f as n, l as r, r as i } from "./enums-
|
|
2
|
+
import { d as t, f as n, l as r, r as i } from "./enums-De8CDKZ1.js";
|
|
3
3
|
import { a, i as o, n as s, r as c, t as l } from "./toZonedTime-B8L5kbse.js";
|
|
4
4
|
import { t as u } from "./vue-i18n-Db_oYfO8.js";
|
|
5
|
-
import { t as d } from "./useValidation-
|
|
5
|
+
import { t as d } from "./useValidation-DGl2otXJ.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 L } from "vue";
|
|
7
7
|
import R from "primevue/datepicker";
|
|
8
8
|
//#region node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components-
|
|
1
|
+
import { C as e, i as t } from "./components-7XDaN2WO.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { l as t, o as n } from "./enums-
|
|
2
|
+
import { l as t, o as n } from "./enums-De8CDKZ1.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,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { l as t } from "./enums-
|
|
2
|
+
import { l as t } from "./enums-De8CDKZ1.js";
|
|
3
3
|
import { t as n } from "./useExpansion-DVdIpoOn.js";
|
|
4
|
-
import "./composables-
|
|
4
|
+
import "./composables-D5kSQ1Rk.js";
|
|
5
5
|
import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
|
|
6
6
|
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";
|
|
7
7
|
//#region src/components/wt-expansion-card/wt-expansion-card.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { l as t } from "./enums-
|
|
2
|
+
import { l as t } from "./enums-De8CDKZ1.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,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { t } from "./vue-i18n-Db_oYfO8.js";
|
|
3
|
-
import { a as n, o as r } from "./composables-
|
|
3
|
+
import { a as n, o as r } from "./composables-D5kSQ1Rk.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
5
|
//#region src/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.js
|
|
6
6
|
var j = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e } from "./enums-
|
|
1
|
+
import { o as e } from "./enums-De8CDKZ1.js";
|
|
2
2
|
import { t } from "./vue-i18n-Db_oYfO8.js";
|
|
3
3
|
import { t as n } from "./sortQueryAdapters-CyYXvnDN.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-
|
|
1
|
+
import { t as e } from "./wt-icon-y89gRcOs.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeModels as u, mergeProps as d, normalizeClass as f, normalizeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, toDisplayString as _, useModel as v, useSlots as y, withCtx as b } from "vue";
|
|
4
4
|
//#region src/components/wt-checkbox/wt-checkbox.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -83,7 +83,7 @@ var x = { class: "wt-checkbox" }, S = { class: "wt-checkbox__checkmark" }, C = {
|
|
|
83
83
|
}, 8, ["disabled"])) : i("", !0)]);
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
}), [["__scopeId", "data-v-
|
|
86
|
+
}), [["__scopeId", "data-v-6e4969d8"]]), T = /*#__PURE__*/ t(/* @__PURE__ */ c({
|
|
87
87
|
__name: "wt-icon-btn",
|
|
88
88
|
props: { disabled: {
|
|
89
89
|
type: Boolean,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./caseConverters-DXegZoCt.js";
|
|
2
|
-
import { a as t, l as n } from "./enums-
|
|
2
|
+
import { a as t, l as n } from "./enums-De8CDKZ1.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,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./enums-
|
|
2
|
-
import { n as t, t as n } from "./wt-toast-
|
|
1
|
+
import { i as e } from "./enums-De8CDKZ1.js";
|
|
2
|
+
import { n as t, t as n } from "./wt-toast-DXrSMdRm.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-
|
|
1
|
+
import { t as e } from "./wt-icon-y89gRcOs.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { l as n } from "./enums-
|
|
4
|
-
import { t as r } from "./wt-button-
|
|
3
|
+
import { l as n } from "./enums-De8CDKZ1.js";
|
|
4
|
+
import { t as r } from "./wt-button-dC4nOW56.js";
|
|
5
5
|
import { n as i, t as a } from "./useVidstackSrc-epUQZhkL.js";
|
|
6
6
|
import { t as o } from "./wt-popover-ChCN6b1o.js";
|
|
7
7
|
import { t as s } from "./wt-slider-BPzRTeYU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { t } from "./debounce-Bp3jy7S5.js";
|
|
3
|
-
import { t as n } from "./useValidation-
|
|
3
|
+
import { t as n } from "./useValidation-DGl2otXJ.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,5 +1,5 @@
|
|
|
1
|
-
import { n as e, r as t } from "./clients-
|
|
2
|
-
import { n } from "./components-
|
|
1
|
+
import { n as e, r as t } from "./clients-CIZxqjbV.js";
|
|
2
|
+
import { n } from "./components-7XDaN2WO.js";
|
|
3
3
|
import { t as r } from "./vue-i18n-Db_oYfO8.js";
|
|
4
4
|
import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, inject 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";
|
|
5
5
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as e, p as t } from "./enums-
|
|
1
|
+
import { l as e, p as t } from "./enums-De8CDKZ1.js";
|
|
2
2
|
import { t as n } from "./vue-i18n-Db_oYfO8.js";
|
|
3
3
|
import { t as r } from "./convertDuration-1K7fuEpO.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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { t } from "./vue-i18n-Db_oYfO8.js";
|
|
3
3
|
import { n, t as r } from "./sortQueryAdapters-CyYXvnDN.js";
|
|
4
|
-
import { t as i } from "./composables-
|
|
4
|
+
import { t as i } from "./composables-D5kSQ1Rk.js";
|
|
5
5
|
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, normalizeStyle as g, onMounted as _, onUnmounted as v, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveComponent as C, resolveDirective as w, toDisplayString as T, useSlots as E, useTemplateRef as D, withCtx as O, withDirectives as k, withModifiers as A } from "vue";
|
|
6
6
|
//#region src/components/wt-table/wt-table.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var j = { class: "wt-table__th__content typo-body-1-bold" }, M = { class: "wt-table__td__actions" }, N = 10, P = /*#__PURE__*/ e(/* @__PURE__ */ m({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { l as t, r as n } from "./enums-
|
|
2
|
+
import { l as t, r as n } from "./enums-De8CDKZ1.js";
|
|
3
3
|
import { t as r } from "./vue-i18n-Db_oYfO8.js";
|
|
4
|
-
import { t as i } from "./useValidation-
|
|
4
|
+
import { t as i } from "./useValidation-DGl2otXJ.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-
|
|
2
|
-
import { i as t, l as n } from "./enums-
|
|
1
|
+
import { t as e } from "./wt-icon-y89gRcOs.js";
|
|
2
|
+
import { i as t, l as n } from "./enums-De8CDKZ1.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,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { n as t } from "./sortQueryAdapters-CyYXvnDN.js";
|
|
3
|
-
import { n, t as r } from "./wt-icon-btn-
|
|
3
|
+
import { n, t as r } from "./wt-icon-btn-BIU9YjS8.js";
|
|
4
4
|
import { t as i } from "./useWtTable-D_PxqVHO.js";
|
|
5
5
|
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, normalizeClass as h, normalizeStyle as g, onMounted as _, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveComponent as S, toDisplayString as C, toRef as w, unref as T, withCtx as E, withModifiers as D } from "vue";
|
|
6
6
|
//#region src/components/wt-tree-table-row/wt-tree-table-row.vue?vue&type=script&setup=true&lang.ts
|
package/dist/{wt-type-extension-value-input-X7FXHDUW.js → wt-type-extension-value-input-BN5MiVaW.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./clients-
|
|
2
|
-
import { a as t, o as n, r, s as i } from "./components-
|
|
3
|
-
import { t as a } from "./enums-
|
|
1
|
+
import { t as e } from "./clients-CIZxqjbV.js";
|
|
2
|
+
import { a as t, o as n, r, s as i } from "./components-7XDaN2WO.js";
|
|
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";
|
|
6
6
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { w as e } from "./components-
|
|
1
|
+
import { w as e } from "./components-7XDaN2WO.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { l as n } from "./enums-
|
|
4
|
-
import "./wt-button-
|
|
5
|
-
import { t as r } from "./wt-icon-btn-
|
|
3
|
+
import { l as n } from "./enums-De8CDKZ1.js";
|
|
4
|
+
import "./wt-button-dC4nOW56.js";
|
|
5
|
+
import { t as r } from "./wt-icon-btn-BIU9YjS8.js";
|
|
6
6
|
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 ee, P as te, Q as g, R as ne, S as _, U as re, V as v, W as y, X as b, Y as ie, Z as x, _ as S, a as ae, b as oe, c as se, d as ce, et as le, f as ue, g as de, h as fe, i as C, it as pe, j as me, k as he, l as w, m as ge, n as T, nt as E, o as D, ot as _e, p as O, q as k, r as A, rt as ve, t as ye, tt as be, u as xe, v as j, w as Se, y as Ce, z as we } from "./vidstack-D9mvYVIz-DesuYgKV.js";
|
|
7
7
|
import { _ as M, a as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, i as je, l as Me, m as Ne, n as Pe, o as Fe, p as Ie, r as Le, s as Re, t as N, u as ze } from "./vidstack-CgfrU1hS-CNTJkyzm.js";
|
|
8
8
|
import { _ as Be, a as Ve, c as He, f as Ue, g as We, h as Ge, i as Ke, l as qe, n as Je, r as Ye, s as Xe, t as Ze, u as Qe, v as $e, x as et, y as tt } from "./useVidstackSrc-epUQZhkL.js";
|
package/package.json
CHANGED
|
@@ -76,8 +76,8 @@ import conference from './conference.svg?raw';
|
|
|
76
76
|
import consultativeTransfer from './consultative-transfer.svg?raw';
|
|
77
77
|
import contacts from './contacts.svg?raw';
|
|
78
78
|
import copy from './copy.svg?raw';
|
|
79
|
-
import customProvider from './custom-provider.svg?raw';
|
|
80
79
|
import customChatGateway from './custom-chat-gateway.svg?raw';
|
|
80
|
+
import customProvider from './custom-provider.svg?raw';
|
|
81
81
|
import darkMode from './dark-mode.svg?raw';
|
|
82
82
|
import dislike from './dislike.svg?raw';
|
|
83
83
|
import docs from './docs.svg?raw';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { onMounted } from 'vue';
|
|
1
2
|
import { useSelectCustomValues } from './useSelectCustomValues';
|
|
2
3
|
import { useSelectDropdown } from './useSelectDropdown';
|
|
3
4
|
import { useSelectLoader } from './useSelectLoader';
|
|
@@ -26,6 +27,7 @@ export const useSelect = ({
|
|
|
26
27
|
sortOptions,
|
|
27
28
|
getOptionLabel,
|
|
28
29
|
fetchOptions,
|
|
30
|
+
fetchSelectedByIds,
|
|
29
31
|
resetAndFetch,
|
|
30
32
|
filterOptions,
|
|
31
33
|
updateSelectedOptionsCache,
|
|
@@ -78,6 +80,10 @@ export const useSelect = ({
|
|
|
78
80
|
emit,
|
|
79
81
|
});
|
|
80
82
|
|
|
83
|
+
onMounted(() => {
|
|
84
|
+
fetchSelectedByIds();
|
|
85
|
+
});
|
|
86
|
+
|
|
81
87
|
const clearValue = () => {
|
|
82
88
|
let value: string | unknown[] | Record<string, unknown> = '';
|
|
83
89
|
if (Array.isArray(selected.value)) value = [];
|
|
@@ -109,6 +109,25 @@ export const useSelectOptions = ({
|
|
|
109
109
|
selectedOptionsCache.value = mergedOptions.filter(isSelected);
|
|
110
110
|
};
|
|
111
111
|
|
|
112
|
+
const fetchSelectedByIds = async () => {
|
|
113
|
+
if (!searchMethod.value || !optionValue?.value || !selected.value) return;
|
|
114
|
+
const ids = toArray(selected.value);
|
|
115
|
+
if (!ids.length) return;
|
|
116
|
+
isLoading.value = true;
|
|
117
|
+
const { items } = await searchMethod.value({
|
|
118
|
+
[dataKey.value]: ids,
|
|
119
|
+
size: ids.length,
|
|
120
|
+
});
|
|
121
|
+
selectedOptionsCache.value = dedupeByKey(
|
|
122
|
+
[
|
|
123
|
+
...selectedOptionsCache.value,
|
|
124
|
+
...items,
|
|
125
|
+
],
|
|
126
|
+
dataKey.value,
|
|
127
|
+
);
|
|
128
|
+
isLoading.value = false;
|
|
129
|
+
};
|
|
130
|
+
|
|
112
131
|
const fetchOptions = async () => {
|
|
113
132
|
if (!searchMethod.value) return;
|
|
114
133
|
const { search, page } = searchParams;
|
|
@@ -209,6 +228,7 @@ export const useSelectOptions = ({
|
|
|
209
228
|
sortOptions,
|
|
210
229
|
getOptionLabel,
|
|
211
230
|
fetchOptions,
|
|
231
|
+
fetchSelectedByIds,
|
|
212
232
|
resetAndFetch,
|
|
213
233
|
filterOptions,
|
|
214
234
|
updateSelectedOptionsCache,
|
package/src/enums/index.ts
CHANGED
|
@@ -30,6 +30,8 @@ import { ProcessingTableColumnType } from './ProcessingTableColumnType/Processin
|
|
|
30
30
|
import { QueueType, QueueTypeName } from './QueueType/QueueType.enum';
|
|
31
31
|
import { RelativeDatetimeValue } from './RelativeDatetimeValue/RelativeDatetimeValue';
|
|
32
32
|
import { RingtoneType } from './RingtoneType/RingtoneType.js';
|
|
33
|
+
import { SingleSignOnProvider } from './SingleSignOnProvider/SingleSignOnProvider';
|
|
34
|
+
import { SingleSignOnProviderIconMappings } from './SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings';
|
|
33
35
|
import TypesExportedSettings from './TypesExportedSettings/TypesExportedSettings.enum.js';
|
|
34
36
|
import { AdminSections } from './WebitelApplications/AdminSections';
|
|
35
37
|
import { AuditorSections } from './WebitelApplications/AuditorSections';
|
|
@@ -39,8 +41,6 @@ import { WfmSections } from './WebitelApplications/WfmSections';
|
|
|
39
41
|
import { WtApplication } from './WebitelApplications/WtApplication';
|
|
40
42
|
import { WtObject } from './WtObject/WtObject';
|
|
41
43
|
import { WtTypeExtensionFieldKind } from './WtTypeExtensionFieldKind/WtTypeExtensionFieldKind';
|
|
42
|
-
import { SingleSignOnProvider } from './SingleSignOnProvider/SingleSignOnProvider';
|
|
43
|
-
import { SingleSignOnProviderIconMappings } from './SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings';
|
|
44
44
|
|
|
45
45
|
export type {
|
|
46
46
|
ConnectionQualityLevelsType,
|
|
@@ -78,12 +78,12 @@ export {
|
|
|
78
78
|
QueueTypeName,
|
|
79
79
|
RelativeDatetimeValue,
|
|
80
80
|
RingtoneType,
|
|
81
|
+
SingleSignOnProvider,
|
|
82
|
+
SingleSignOnProviderIconMappings,
|
|
81
83
|
SupervisorSections,
|
|
82
84
|
TypesExportedSettings,
|
|
83
85
|
WfmSections,
|
|
84
86
|
WtApplication,
|
|
85
87
|
WtObject,
|
|
86
88
|
WtTypeExtensionFieldKind,
|
|
87
|
-
SingleSignOnProvider,
|
|
88
|
-
SingleSignOnProviderIconMappings,
|
|
89
89
|
};
|
|
@@ -14,6 +14,7 @@ export declare const useSelectOptions: ({ selected, options, optionLabel, option
|
|
|
14
14
|
sortOptions: (opts: any) => any[];
|
|
15
15
|
getOptionLabel: (option: any) => any;
|
|
16
16
|
fetchOptions: () => Promise<void>;
|
|
17
|
+
fetchSelectedByIds: () => Promise<void>;
|
|
17
18
|
resetAndFetch: (search?: string) => void;
|
|
18
19
|
filterOptions: (value: any) => void;
|
|
19
20
|
updateSelectedOptionsCache: () => void;
|
package/types/enums/index.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ import { ProcessingTableColumnType } from './ProcessingTableColumnType/Processin
|
|
|
23
23
|
import { QueueType, QueueTypeName } from './QueueType/QueueType.enum';
|
|
24
24
|
import { RelativeDatetimeValue } from './RelativeDatetimeValue/RelativeDatetimeValue';
|
|
25
25
|
import { RingtoneType } from './RingtoneType/RingtoneType.js';
|
|
26
|
+
import { SingleSignOnProvider } from './SingleSignOnProvider/SingleSignOnProvider';
|
|
27
|
+
import { SingleSignOnProviderIconMappings } from './SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings';
|
|
26
28
|
import TypesExportedSettings from './TypesExportedSettings/TypesExportedSettings.enum.js';
|
|
27
29
|
import { AdminSections } from './WebitelApplications/AdminSections';
|
|
28
30
|
import { AuditorSections } from './WebitelApplications/AuditorSections';
|
|
@@ -32,7 +34,5 @@ import { WfmSections } from './WebitelApplications/WfmSections';
|
|
|
32
34
|
import { WtApplication } from './WebitelApplications/WtApplication';
|
|
33
35
|
import { WtObject } from './WtObject/WtObject';
|
|
34
36
|
import { WtTypeExtensionFieldKind } from './WtTypeExtensionFieldKind/WtTypeExtensionFieldKind';
|
|
35
|
-
import { SingleSignOnProvider } from './SingleSignOnProvider/SingleSignOnProvider';
|
|
36
|
-
import { SingleSignOnProviderIconMappings } from './SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings';
|
|
37
37
|
export type { ConnectionQualityLevelsType, UserSettingsBroadcastMessage, WebphoneBroadcastMessage, WebphoneBroadcastPayload, };
|
|
38
|
-
export { AbstractUserStatus, AdminSections, AgentStatus, AuditorSections, BroadcastChannelName, ButtonColor, ButtonVariant, ChatGatewayProvider, ChipColor, ComponentSize, ConnectionQualityLevels, CrmSections, CrudAction, DefaultWorkspaceTabSettings, EmptyCause, FormatDateMode, IconAction, IconColor, LoginOptions, MessageColor, MessageVariant, MimeTypes, ProcessingTableColumnType, ProviderIconType, QueueType, QueueTypeName, RelativeDatetimeValue, RingtoneType, SupervisorSections, TypesExportedSettings, WfmSections, WtApplication, WtObject, WtTypeExtensionFieldKind,
|
|
38
|
+
export { AbstractUserStatus, AdminSections, AgentStatus, AuditorSections, BroadcastChannelName, ButtonColor, ButtonVariant, ChatGatewayProvider, ChipColor, ComponentSize, ConnectionQualityLevels, CrmSections, CrudAction, DefaultWorkspaceTabSettings, EmptyCause, FormatDateMode, IconAction, IconColor, LoginOptions, MessageColor, MessageVariant, MimeTypes, ProcessingTableColumnType, ProviderIconType, QueueType, QueueTypeName, RelativeDatetimeValue, RingtoneType, SingleSignOnProvider, SingleSignOnProviderIconMappings, SupervisorSections, TypesExportedSettings, WfmSections, WtApplication, WtObject, WtTypeExtensionFieldKind, };
|