@webitel/ui-sdk 26.6.34 → 26.6.36

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 (182) hide show
  1. package/dist/AgentStatus.enum-C3IGHtvR.js +9 -0
  2. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  3. package/dist/caseConverters-DXegZoCt.js +27 -0
  4. package/dist/chunk-CY3AvKd6.js +20 -0
  5. package/dist/clients-A6MHYfOX.js +36118 -0
  6. package/dist/components-DFOWyAAb.js +5395 -0
  7. package/dist/composables-DnDH-KUv.js +263 -0
  8. package/dist/convertDuration-1K7fuEpO.js +8 -0
  9. package/dist/debounce-DrmECuJ2.js +128 -0
  10. package/dist/deep-copy-CQw5yeEH.js +41 -0
  11. package/dist/displayText-CtaxzaBz.js +3 -0
  12. package/dist/dist-05Bf47Wg.js +87 -0
  13. package/dist/dist-BYiYpK00.js +7 -0
  14. package/dist/dist-Dz55hlwp.js +1371 -0
  15. package/dist/engineCallFileType-D7QVFOac.js +11 -0
  16. package/dist/enums-pbYAJNeb.js +158 -0
  17. package/dist/errors-SUXKojVW.js +69 -0
  18. package/dist/floating-ui.dom-n2j9PKCB.js +842 -0
  19. package/dist/generateInstance-ppTIeLX4.js +2582 -0
  20. package/dist/isObject-Dgs_L5xI.js +11 -0
  21. package/dist/logger-hl3ueNok.js +47 -0
  22. package/dist/prod-Cp0BjuxI.js +775 -0
  23. package/dist/prod-DSuxcp5t.js +2 -0
  24. package/dist/side-channel-Cyte-MzW.js +833 -0
  25. package/dist/sortQueryAdapters-CyYXvnDN.js +14 -0
  26. package/dist/srt-parser-DdH5U08c.js +21 -0
  27. package/dist/ssa-parser-Bjs7yDD1.js +184 -0
  28. package/dist/ui-sdk.css +2 -1
  29. package/dist/ui-sdk.js +34567 -4
  30. package/dist/ui-sdk.umd.cjs +7748 -7606
  31. package/dist/useExpansion-DVdIpoOn.js +24 -0
  32. package/dist/useValidation-DG0tifBv.js +37 -0
  33. package/dist/useVidstackSrc-DfNrFbOO.js +155 -0
  34. package/dist/useWtTable-tqmVOvve.js +12 -0
  35. package/dist/vidstack-B01xzxC4-DeYSgDZy.js +7 -0
  36. package/dist/vidstack-BGSTndAW-CyKM_CM4.js +957 -0
  37. package/dist/vidstack-BQlOPwOu-ChhdffAJ.js +43 -0
  38. package/dist/vidstack-Bq6c3Bam-3dCf_D36.js +398 -0
  39. package/dist/vidstack-C2US-gSO-DeIgENrW.js +127 -0
  40. package/dist/vidstack-C9vIqaYT-C1EgPq17.js +9 -0
  41. package/dist/vidstack-CTojmhKq-D7sZJxgm.js +30 -0
  42. package/dist/vidstack-ChQTHmIQ-nTO94M6P.js +51 -0
  43. package/dist/vidstack-Ci54COQW-CAAXpwzv.js +208 -0
  44. package/dist/vidstack-D2pY00kU-DoW028io.js +70 -0
  45. package/dist/vidstack-D5EzK014-DOe01V3H.js +14 -0
  46. package/dist/vidstack-DDXt6fpN-Don_e6LS.js +42 -0
  47. package/dist/vidstack-D_-9AA6_-Dq3APB0-.js +19 -0
  48. package/dist/vidstack-Dihypf8P-ibWMCHK-.js +12 -0
  49. package/dist/vidstack-Dm1xEU9Q-VlefmrP8.js +31 -0
  50. package/dist/vidstack-DqAw8m9J-Dk1GT3Oe.js +22 -0
  51. package/dist/vidstack-audio-B58bvsna.js +23 -0
  52. package/dist/vidstack-dash-CX-LTHx3.js +332 -0
  53. package/dist/vidstack-google-cast-Co5Q_rfL.js +361 -0
  54. package/dist/vidstack-hls-CLzdTFu6.js +269 -0
  55. package/dist/vidstack-krOAtKMi-DN1WZC3p.js +30 -0
  56. package/dist/vidstack-video-XtP8iTBc.js +151 -0
  57. package/dist/vidstack-vimeo-EzzPpggD.js +386 -0
  58. package/dist/vidstack-youtube-C1_NAfWa.js +205 -0
  59. package/dist/vue-i18n-B8Px6VcD.js +2201 -0
  60. package/dist/wt-action-bar-Ba1ZJjE_.js +85 -0
  61. package/dist/wt-button-DENbrKdy.js +785 -0
  62. package/dist/wt-button-select-BnRHgJ4i.js +80 -0
  63. package/dist/wt-call-media-action-Bkyppnsm.js +42 -0
  64. package/dist/wt-chat-emoji-D3SBme6f.js +2208 -0
  65. package/dist/wt-confirm-dialog-DCUitG2v.js +70 -0
  66. package/dist/wt-context-menu-yW52oF-2.js +89 -0
  67. package/dist/wt-copy-action-d9gVzAsB.js +38 -0
  68. package/dist/wt-datepicker-Cnbarx_j.js +5774 -0
  69. package/dist/wt-display-chip-items-DagfTTIq.js +34 -0
  70. package/dist/wt-dual-panel-DAhTYFS_.js +49 -0
  71. package/dist/wt-dummy-CLjhRWZ6.js +59 -0
  72. package/dist/wt-error-page-vhu4lIyF.js +62 -0
  73. package/dist/wt-expand-transition-C2p9bR4j.js +39 -0
  74. package/dist/wt-expansion-card-qsxvbtZm.js +47 -0
  75. package/dist/wt-expansion-panel-C_EXvx1d.js +40 -0
  76. package/dist/wt-filters-panel-wrapper-Cc9b3aci.js +51 -0
  77. package/dist/wt-galleria-CWXKuZTD.js +224 -0
  78. package/dist/wt-icon-action-CQlZHMDB.js +100 -0
  79. package/dist/wt-icon-btn-CjjI4cgE.js +107 -0
  80. package/dist/wt-icon-pxO7IjwV.js +1026 -0
  81. package/dist/wt-inline-add-panel-B0E4Vk2l.js +43 -0
  82. package/dist/wt-navigation-menu-CenQi_-T.js +126 -0
  83. package/dist/wt-notifications-bar-Ep1QuFZi.js +52 -0
  84. package/dist/wt-page-header-CDbd4aOh.js +59 -0
  85. package/dist/wt-pagination-BA_PZPIE.js +94 -0
  86. package/dist/wt-player-uidPXSTe.js +287 -0
  87. package/dist/wt-popover-CJZH3wMl.js +98 -0
  88. package/dist/wt-screen-recordings-action-Dg7Ts2Jt.js +37 -0
  89. package/dist/wt-search-bar-CWZdvAOf.js +123 -0
  90. package/dist/wt-selection-popup-B77UY7Yu.js +79 -0
  91. package/dist/wt-send-message-popup-CltYZA9D.js +77 -0
  92. package/dist/wt-slider-BS3SoGht.js +68 -0
  93. package/dist/wt-start-page-eN1PEokc.js +86 -0
  94. package/dist/wt-status-select-A5t6Vjm4.js +101 -0
  95. package/dist/wt-stepper-B6zpd1Uh.js +41 -0
  96. package/dist/wt-table-D0FynxIE.js +364 -0
  97. package/dist/wt-table-actions-4-peSVkc.js +63 -0
  98. package/dist/wt-table-column-select-DFF6z3a3.js +100 -0
  99. package/dist/wt-tabs-DuOgj-lZ.js +60 -0
  100. package/dist/wt-time-input-CO2cop3y.js +62 -0
  101. package/dist/wt-timepicker-BltFF1QD.js +145 -0
  102. package/dist/wt-tree-ZyoPrNOl.js +1206 -0
  103. package/dist/wt-tree-table-MLET4gIv.js +221 -0
  104. package/dist/wt-type-extension-value-input-028o8xRF.js +104 -0
  105. package/dist/wt-vidstack-player-B-WSB_Be.js +7440 -0
  106. package/package.json +5 -5
  107. package/src/components/wt-multi-select/wt-multi-select.vue +3 -0
  108. package/src/components/wt-single-select/wt-single-select.vue +5 -0
  109. package/src/components/wt-table-column-select/__tests__/WtTableColumnSelect.spec.js +3 -3
  110. package/src/plugins/primevue/theme/components/multi-select/multi-select.js +4 -0
  111. package/src/plugins/primevue/theme/components/single-select/single-select.js +4 -0
  112. package/types/plugins/primevue/theme/components/multi-select/multi-select.d.ts +2 -0
  113. package/types/plugins/primevue/theme/components/single-select/single-select.d.ts +2 -0
  114. package/dist/contacts-DzLKP4GQ.js +0 -49654
  115. package/dist/displayText-Cbh4IOfM.js +0 -5
  116. package/dist/engineCallFileType-yaadA7-2.js +0 -8
  117. package/dist/errors-CTL-RV3B.js +0 -70
  118. package/dist/index-BgLoxAyu.js +0 -50
  119. package/dist/install-Cm-8fwtB.js +0 -53489
  120. package/dist/isObject-BSIwu4UO.js +0 -28
  121. package/dist/prod-BoQuiIB3.js +0 -973
  122. package/dist/srt-parser-CsN7bp5E.js +0 -26
  123. package/dist/ssa-parser-BJOOPeQF.js +0 -200
  124. package/dist/useExpansion-BrQ40HiR.js +0 -24
  125. package/dist/useVidstackSrc-DKXY5f7v.js +0 -1341
  126. package/dist/vidstack-Bq6c3Bam-BHF-0bv4.js +0 -426
  127. package/dist/vidstack-D2pY00kU-B8Mhvp0m.js +0 -136
  128. package/dist/vidstack-DDXt6fpN-D0eou9h7.js +0 -51
  129. package/dist/vidstack-D_-9AA6_-DYAfclN7.js +0 -21
  130. package/dist/vidstack-Dm1xEU9Q-CXHNvShT.js +0 -30
  131. package/dist/vidstack-DqAw8m9J-b5BHkhrw.js +0 -22
  132. package/dist/vidstack-audio-CPu_TbjK.js +0 -28
  133. package/dist/vidstack-dash-VYriMjws.js +0 -393
  134. package/dist/vidstack-google-cast-Byp1cemB.js +0 -383
  135. package/dist/vidstack-hls-DdUQcmEx.js +0 -310
  136. package/dist/vidstack-krOAtKMi-C50BTxmn.js +0 -28
  137. package/dist/vidstack-video-BpSKQ3wb.js +0 -164
  138. package/dist/vidstack-vimeo-CgVJJm06.js +0 -452
  139. package/dist/vidstack-youtube-DuES80MV.js +0 -233
  140. package/dist/wt-action-bar-TMuck-q1.js +0 -102
  141. package/dist/wt-button-select-D1NP5Xw9.js +0 -105
  142. package/dist/wt-call-media-action-BsepfSVy.js +0 -60
  143. package/dist/wt-chat-emoji-B00dUXbP.js +0 -2909
  144. package/dist/wt-confirm-dialog-1hO851Da.js +0 -92
  145. package/dist/wt-context-menu-BrzRmoDw.js +0 -104
  146. package/dist/wt-copy-action-CEMOiYzN.js +0 -60
  147. package/dist/wt-datepicker-DHqZIkg2.js +0 -5660
  148. package/dist/wt-display-chip-items-D7kEAcOo.js +0 -47
  149. package/dist/wt-dual-panel-DEWR3-k-.js +0 -66
  150. package/dist/wt-dummy-DfgxciHw.js +0 -104
  151. package/dist/wt-error-page-DUSVxkXq.js +0 -89
  152. package/dist/wt-expansion-card-B8JKBMLa.js +0 -56
  153. package/dist/wt-expansion-panel-DL3eoj_b.js +0 -54
  154. package/dist/wt-filters-panel-wrapper-CGXQiRvh.js +0 -75
  155. package/dist/wt-galleria-Bahv6Mgq.js +0 -323
  156. package/dist/wt-inline-add-panel-B4RjHVDI.js +0 -49
  157. package/dist/wt-navigation-menu-DqCXAV8E.js +0 -159
  158. package/dist/wt-notifications-bar-CRIKdVai.js +0 -79
  159. package/dist/wt-page-header-DdsnoLgd.js +0 -115
  160. package/dist/wt-pagination-C_b3WmH1.js +0 -144
  161. package/dist/wt-player-B4GWEqdu.js +0 -291
  162. package/dist/wt-popover-Di-7_rDL.js +0 -4
  163. package/dist/wt-popover.vue_vue_type_style_index_0_lang-DMDTlCgv.js +0 -81
  164. package/dist/wt-screen-recordings-action-B4OpN5kl.js +0 -54
  165. package/dist/wt-search-bar-B_0_YwCn.js +0 -144
  166. package/dist/wt-selection-popup-Boyw9_V_.js +0 -109
  167. package/dist/wt-send-message-popup-0C23Zocu.js +0 -579
  168. package/dist/wt-slider-BEkw4KGp.js +0 -4
  169. package/dist/wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js +0 -55
  170. package/dist/wt-start-page-HQMIG05a.js +0 -99
  171. package/dist/wt-status-select-H_me1xwA.js +0 -138
  172. package/dist/wt-stepper-hJxqyiyo.js +0 -65
  173. package/dist/wt-table-Du6mtkPw.js +0 -426
  174. package/dist/wt-table-actions-ah_H6LY9.js +0 -79
  175. package/dist/wt-table-column-select-C2Nbic5-.js +0 -128
  176. package/dist/wt-tabs-D4aGEd_t.js +0 -74
  177. package/dist/wt-time-input-DYiW0ijt.js +0 -42
  178. package/dist/wt-timepicker-BE8POMhF.js +0 -118
  179. package/dist/wt-tree-table-BJxaXqKl.js +0 -285
  180. package/dist/wt-tree-u0Zp8nb5.js +0 -2777
  181. package/dist/wt-type-extension-value-input-C1VlNa4K.js +0 -121
  182. package/dist/wt-vidstack-player-C1eyCEzP.js +0 -9094
@@ -0,0 +1,40 @@
1
+ import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
+ import { c as t } from "./enums-pbYAJNeb.js";
3
+ import { t as n } from "./useExpansion-DVdIpoOn.js";
4
+ import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
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";
6
+ //#region src/components/wt-expansion-panel/wt-expansion-panel.vue?vue&type=script&setup=true&lang.ts
7
+ var b = { class: "wt-expansion-panel-actions" }, x = { class: "wt-expansion-panel-body" }, S = /*#__PURE__*/ e(/* @__PURE__ */ s({
8
+ __name: "wt-expansion-panel",
9
+ props: {
10
+ size: { default: t.MD },
11
+ collapsed: {
12
+ type: Boolean,
13
+ default: !1
14
+ }
15
+ },
16
+ emits: ["opened", "closed"],
17
+ setup(e, { emit: t }) {
18
+ let s = e, S = t, { opened: C, open: w, toggle: T } = n(m(s, "collapsed"), S);
19
+ return (e, t) => {
20
+ let n = p("wt-icon");
21
+ return d(), i("div", { class: l([[`wt-expansion-panel--${s.size}`], "wt-expansion-panel"]) }, [a("div", {
22
+ class: l([[s.size === "sm" ? "typo-subtitle-2" : "typo-subtitle-1"], "wt-expansion-panel-header"]),
23
+ tabindex: "0",
24
+ onClick: t[0] ||= (...e) => h(T) && h(T)(...e),
25
+ onKeypress: t[1] ||= y((...e) => h(T) && h(T)(...e), ["enter"])
26
+ }, [f(e.$slots, "title", {}, void 0, !0), a("div", b, [f(e.$slots, "actions", u(c({
27
+ open: h(w),
28
+ opened: h(C)
29
+ })), void 0, !0), o(n, {
30
+ class: l([{ "wt-expansion-panel-arrow--opened": h(C) }, "wt-expansion-panel-arrow"]),
31
+ icon: "arrow-right"
32
+ }, null, 8, ["class"])])], 34), v(o(r, null, {
33
+ default: _(() => [a("div", x, [f(e.$slots, "default", {}, void 0, !0)])], void 0, !0),
34
+ _: 3
35
+ }, 512), [[g, h(C)]])], 2);
36
+ };
37
+ }
38
+ }), [["__scopeId", "data-v-a0c6afd9"]]);
39
+ //#endregion
40
+ export { S as default };
@@ -0,0 +1,51 @@
1
+ import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
+ import { createElementBlock as t, createElementVNode as n, createVNode as r, normalizeClass as i, openBlock as a, renderSlot as o, resolveComponent as s } from "vue";
3
+ //#region src/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue
4
+ var c = {
5
+ name: "FiltersPanelWrapper",
6
+ props: {
7
+ tableActionIcons: {
8
+ type: Array,
9
+ default: () => ["filter-reset", "settings"]
10
+ },
11
+ isOpened: {
12
+ type: Boolean,
13
+ default: !1
14
+ }
15
+ },
16
+ data() {
17
+ return {
18
+ localIsOpened: this.isOpened,
19
+ filtersCount: 0
20
+ };
21
+ },
22
+ methods: {
23
+ tableActionsHandler(e) {
24
+ switch (e) {
25
+ case "filterReset":
26
+ this.resetFilters();
27
+ break;
28
+ case "settings":
29
+ this.toggleFiltersExpansion();
30
+ break;
31
+ default:
32
+ }
33
+ },
34
+ toggleFiltersExpansion() {
35
+ this.localIsOpened = !this.localIsOpened;
36
+ },
37
+ resetFilters() {
38
+ this.$emit("reset");
39
+ }
40
+ }
41
+ }, l = { class: "filters-wrap" }, u = { class: "actions-wrap" };
42
+ function d(e, c, d, f, p, m) {
43
+ let h = s("wt-table-actions");
44
+ return a(), t("article", { class: i([{ "filters-panel-wrapper--opened": d.isOpened }, "filters-panel-wrapper"]) }, [n("div", l, [o(e.$slots, "default", {}, void 0, !0)]), n("div", u, [r(h, {
45
+ icons: d.tableActionIcons,
46
+ onInput: m.tableActionsHandler
47
+ }, null, 8, ["icons", "onInput"])])], 2);
48
+ }
49
+ var f = /*#__PURE__*/ e(c, [["render", d], ["__scopeId", "data-v-f81aca94"]]);
50
+ //#endregion
51
+ export { f as default };
@@ -0,0 +1,224 @@
1
+ import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
+ import { t } from "./vue-i18n-B8Px6VcD.js";
3
+ import { a as n, o as r } from "./composables-DnDH-KUv.js";
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.js
6
+ var j = () => {
7
+ let e = b(!1), t = b(0), n = b(() => {});
8
+ function r({ deleted: r, callback: i }) {
9
+ Array.isArray(r) ? t.value = r.length : t.value = 1, e.value = !0, n.value = i;
10
+ }
11
+ function i() {
12
+ e.value = !1;
13
+ }
14
+ return {
15
+ isVisible: e,
16
+ deleteCount: t,
17
+ deleteCallback: n,
18
+ askDeleteConfirmation: r,
19
+ closeDelete: i
20
+ };
21
+ }, M = { class: "delete-confirmation-popup__content" }, N = { class: "delete-confirmation-popup__message" }, P = /*#__PURE__*/ e({
22
+ __name: "delete-confirmation-popup",
23
+ props: {
24
+ deleteCount: {
25
+ type: Number,
26
+ required: !0
27
+ },
28
+ callback: {
29
+ type: Function,
30
+ required: !0
31
+ }
32
+ },
33
+ emits: ["close"],
34
+ setup(e, { emit: n }) {
35
+ let r = e, i = T(), { t: s } = t(), c = a(() => r.deleteCount === 0 ? s("webitelUI.deleteConfirmationPopup.tableAskingAlert", 2, null, { count: s("webitelUI.deleteConfirmationPopup.deleteAll") }) : s("webitelUI.deleteConfirmationPopup.tableAskingAlert", { count: r.deleteCount }, null));
36
+ return (t, n) => {
37
+ let r = S("wt-icon"), a = S("wt-button"), s = S("wt-confirm-dialog");
38
+ return y(), o(s, m(w(i), {
39
+ class: "delete-confirmation-popup",
40
+ title: t.$t("webitelUI.deleteConfirmationPopup.title"),
41
+ callback: e.callback,
42
+ onClose: n[0] ||= (e) => t.$emit("close")
43
+ }), {
44
+ main: k(() => [l("div", M, [d(r, {
45
+ color: "error",
46
+ icon: "attention"
47
+ }), l("p", N, [x(t.$slots, "deleteMessage", {}, () => [u(C(c.value), 1)], !0)])])]),
48
+ actions: k(({ isDeleting: e, close: n, confirm: r }) => [d(a, {
49
+ loading: e,
50
+ onClick: r
51
+ }, {
52
+ default: k(() => [u(C(t.$t("vocabulary.yes")), 1)], void 0, !0),
53
+ _: 1
54
+ }, 8, ["loading", "onClick"]), d(a, {
55
+ disabled: e,
56
+ color: "secondary",
57
+ onClick: n
58
+ }, {
59
+ default: k(() => [u(C(t.$t("vocabulary.no")), 1)], void 0, !0),
60
+ _: 1
61
+ }, 8, ["disabled", "onClick"])]),
62
+ _: 3
63
+ }, 16, ["title", "callback"]);
64
+ };
65
+ }
66
+ }, [["__scopeId", "data-v-95c498c1"]]), F = ["src", "alt"], I = ["src", "alt"], L = { class: "wt-galleria__footer" }, R = {
67
+ key: 0,
68
+ class: "wt-galleria__footer-info"
69
+ }, z = { class: "wt-galleria__footer-actions" }, B = /* @__PURE__ */ f({
70
+ __name: "wt-galleria",
71
+ props: /*@__PURE__*/ p({
72
+ value: {},
73
+ id: {},
74
+ activeIndex: {},
75
+ fullScreen: { type: Boolean },
76
+ visible: { type: Boolean },
77
+ numVisible: {},
78
+ responsiveOptions: {},
79
+ showItemNavigators: { type: Boolean },
80
+ showThumbnailNavigators: { type: Boolean },
81
+ showItemNavigatorsOnHover: { type: Boolean },
82
+ changeItemOnIndicatorHover: { type: Boolean },
83
+ circular: { type: Boolean },
84
+ autoPlay: { type: Boolean },
85
+ transitionInterval: {},
86
+ showThumbnails: { type: Boolean },
87
+ thumbnailsPosition: {},
88
+ verticalThumbnailViewPortHeight: {},
89
+ showIndicators: { type: Boolean },
90
+ showIndicatorsOnItem: { type: Boolean },
91
+ indicatorsPosition: {},
92
+ baseZIndex: {},
93
+ maskClass: {},
94
+ containerStyle: {},
95
+ containerClass: {},
96
+ containerProps: {},
97
+ prevButtonProps: {},
98
+ nextButtonProps: {},
99
+ ariaLabel: {},
100
+ ariaRoledescription: {},
101
+ dt: {},
102
+ pt: {},
103
+ ptOptions: {},
104
+ unstyled: { type: Boolean }
105
+ }, {
106
+ visible: {
107
+ type: Boolean,
108
+ required: !0
109
+ },
110
+ visibleModifiers: {},
111
+ activeIndex: {
112
+ default: 0,
113
+ required: !1
114
+ },
115
+ activeIndexModifiers: {}
116
+ }),
117
+ emits: /*@__PURE__*/ p(["download", "delete"], ["update:visible", "update:activeIndex"]),
118
+ setup(e, { emit: t }) {
119
+ let u = e, f = t, p = E(e, "visible"), m = E(e, "activeIndex"), x = a(() => u.value[m.value]), T = b(!0), M = b(!0), { fullScreen: N, toggleFullScreen: B } = r(), { listenMaskElementClick: V, removeMaskElementClick: H } = n(p), { isVisible: U, deleteCount: W, deleteCallback: G, askDeleteConfirmation: K, closeDelete: q } = j(), J = () => {
120
+ M.value = !M.value;
121
+ }, Y = () => {
122
+ T.value = !1;
123
+ }, X = () => {
124
+ N.value && B(), K({
125
+ deleteCount: 1,
126
+ callback: () => f("delete", m)
127
+ });
128
+ };
129
+ return O(() => x.value, (e, t) => {
130
+ e?.src !== t?.src && (T.value = !0);
131
+ }, { deep: !0 }), O(() => p.value, () => {
132
+ p.value ? h(() => {
133
+ V();
134
+ }) : (m.value = 0, H());
135
+ }), O(() => u.value, () => {
136
+ u.value.length || (p.value = !1);
137
+ }), _(() => {
138
+ p.value && V();
139
+ }), v(() => {
140
+ H();
141
+ }), (t, n) => {
142
+ let r = S("wt-loader"), a = S("wt-icon"), u = S("p-galleria");
143
+ return y(), c(i, null, [d(u, {
144
+ visible: p.value,
145
+ "onUpdate:visible": n[1] ||= (e) => p.value = e,
146
+ "active-index": m.value,
147
+ "onUpdate:activeIndex": n[2] ||= (e) => m.value = e,
148
+ value: e.value,
149
+ "show-thumbnails": M.value,
150
+ "full-screen": "",
151
+ circular: "",
152
+ "show-item-navigators": "",
153
+ "num-visible": 5,
154
+ pt: {
155
+ root: { class: [{ "flex flex-col": w(N) }] },
156
+ content: { class: ["relative", { "wt-galleria__content--fullscreen": w(N) }] },
157
+ thumbnails: "wt-galleria__thumbnails",
158
+ closeButton: { style: { display: w(N) ? "none" : "block" } }
159
+ }
160
+ }, {
161
+ item: k(({ item: e }) => [l("div", { class: g(["wt-galleria__image-container", { "wt-galleria__image-container--preview": !w(N) }]) }, [T.value ? (y(), o(r, { key: 0 })) : s("", !0), A(l("img", {
162
+ class: g(["wt-galleria__image", { "wt-galleria__image--fullscreen": w(N) }]),
163
+ src: e?.src,
164
+ alt: e?.title,
165
+ onLoad: Y
166
+ }, null, 42, F), [[D, !T.value]])], 2)]),
167
+ thumbnail: k(({ item: e }) => [l("img", {
168
+ src: e?.thumbnailSrc,
169
+ alt: e?.title,
170
+ class: "wt-galleria__thumbnail"
171
+ }, null, 8, I)]),
172
+ closeicon: k(() => [d(a, { icon: "close" })]),
173
+ previousitemicon: k(() => [d(a, { icon: "arrow-left" })]),
174
+ nextitemicon: k(() => [d(a, { icon: "arrow-right" })]),
175
+ previousthumbnailicon: k(() => [d(a, { icon: "arrow-left" })]),
176
+ nextthumbnailicon: k(() => [d(a, { icon: "arrow-right" })]),
177
+ footer: k(() => [l("div", L, [
178
+ d(a, {
179
+ icon: "tile",
180
+ onClick: J
181
+ }),
182
+ e.value.length ? (y(), c("span", R, [
183
+ l("span", null, C(m.value + 1) + "/" + C(e.value.length), 1),
184
+ l("span", null, C(e.value[m.value].title), 1),
185
+ l("span", null, C(e.value[m.value].description), 1)
186
+ ])) : s("", !0),
187
+ l("div", z, [
188
+ d(a, {
189
+ icon: "download",
190
+ onClick: n[0] ||= (e) => f("download", m.value)
191
+ }),
192
+ d(a, {
193
+ icon: "bucket",
194
+ onClick: X
195
+ }),
196
+ d(a, {
197
+ icon: w(N) ? "collapse" : "expand",
198
+ onClick: w(B)
199
+ }, null, 8, ["icon", "onClick"])
200
+ ])
201
+ ])]),
202
+ _: 1
203
+ }, 8, [
204
+ "visible",
205
+ "active-index",
206
+ "value",
207
+ "show-thumbnails",
208
+ "pt"
209
+ ]), d(P, {
210
+ shown: w(U),
211
+ callback: w(G),
212
+ "delete-count": w(W),
213
+ onClose: w(q)
214
+ }, null, 8, [
215
+ "shown",
216
+ "callback",
217
+ "delete-count",
218
+ "onClose"
219
+ ])], 64);
220
+ };
221
+ }
222
+ });
223
+ //#endregion
224
+ export { B as default };
@@ -0,0 +1,100 @@
1
+ import { o as e } from "./enums-pbYAJNeb.js";
2
+ import { t } from "./vue-i18n-B8Px6VcD.js";
3
+ import { t as n } from "./sortQueryAdapters-CyYXvnDN.js";
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";
5
+ //#region src/components/wt-icon-action/iconMappings.js
6
+ var u = Object.freeze({
7
+ [e.ADD]: "plus",
8
+ [e.DELETE]: "bucket",
9
+ [e.DOWNLOAD]: "download",
10
+ [e.EDIT]: "edit",
11
+ [e.HISTORY]: "history",
12
+ [e.REFRESH]: "refresh",
13
+ [e.EXPAND]: "expand",
14
+ [e.COLLAPSE]: "collapse",
15
+ [e.FILTERS]: "filter",
16
+ [e.COLUMNS]: "column-select",
17
+ [e.VARIABLES]: "variable-select",
18
+ [e.CLOSE]: "close--filled",
19
+ [e.CANCEL]: "close",
20
+ [e.CLEAR]: "clear",
21
+ [e.ADD_FILTER]: "add-filter",
22
+ [e.SAVE]: "save",
23
+ [e.SAVE_PRESET]: "save",
24
+ [e.APPLY_PRESET]: "load-preset",
25
+ [e.ADD_CONTACT]: "add-contact",
26
+ [e.DOWNLOAD_PDF]: "download-pdf",
27
+ [e.CHAT]: "chat"
28
+ }), d = {
29
+ __name: "wt-icon-action",
30
+ props: {
31
+ action: {
32
+ type: String,
33
+ required: !0,
34
+ validator: (t) => Object.values([
35
+ e.DELETE,
36
+ e.EDIT,
37
+ e.ADD,
38
+ e.HISTORY,
39
+ e.DOWNLOAD,
40
+ e.REFRESH,
41
+ e.SAVE,
42
+ e.CANCEL,
43
+ e.SAVE_PRESET,
44
+ e.APPLY_PRESET,
45
+ e.ADD_CONTACT,
46
+ e.DOWNLOAD_PDF,
47
+ e.CHAT,
48
+ e.SORT
49
+ ]).includes(t)
50
+ },
51
+ disabled: {
52
+ type: Boolean,
53
+ default: !1
54
+ },
55
+ size: {
56
+ type: String,
57
+ default: "md",
58
+ required: !1
59
+ },
60
+ "sort:order": {
61
+ type: String,
62
+ default: null,
63
+ validator: (e) => Object.values(n).includes(e)
64
+ }
65
+ },
66
+ emits: ["click", "mousedown"],
67
+ setup(d, { emit: f }) {
68
+ let p = d, m = f, { t: h } = t(), g = r(() => {
69
+ if (p.action === e.SORT) return {
70
+ icon: p["sort:order"] === n.DESC ? "sort-desc" : "sort-asc",
71
+ hint: "webitelUI.iconAction.hints.sort",
72
+ hintParams: { order: p["sort:order"] }
73
+ };
74
+ let t = u[p.action];
75
+ return t ? {
76
+ icon: t,
77
+ hint: `webitelUI.iconAction.hints.${p.action}`
78
+ } : (console.error(`Unknown action for wt-icon-action component: ${p.action}`), {
79
+ icon: "edit",
80
+ hint: p.action
81
+ });
82
+ });
83
+ return (e, t) => {
84
+ let n = o("wt-icon-btn"), r = s("tooltip");
85
+ return l((a(), i(n, {
86
+ disabled: d.disabled,
87
+ icon: g.value.icon,
88
+ size: d.size,
89
+ onClick: t[0] ||= (e) => m("click", e),
90
+ onMousedown: t[1] ||= (e) => m("mousedown", e)
91
+ }, null, 8, [
92
+ "disabled",
93
+ "icon",
94
+ "size"
95
+ ])), [[r, c(h)(g.value.hint, g.value.hintParams)]]);
96
+ };
97
+ }
98
+ };
99
+ //#endregion
100
+ export { d as t };
@@ -0,0 +1,107 @@
1
+ import { t as e } from "./wt-icon-pxO7IjwV.js";
2
+ import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
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
+ //#region src/components/wt-checkbox/wt-checkbox.vue?vue&type=script&setup=true&lang.ts
5
+ var x = { class: "wt-checkbox" }, S = { class: "wt-checkbox__checkmark" }, C = {
6
+ key: 0,
7
+ class: "wt-checkbox__label"
8
+ }, w = /*#__PURE__*/ t(/* @__PURE__ */ c({
9
+ __name: "wt-checkbox",
10
+ props: /*@__PURE__*/ u({
11
+ value: {
12
+ type: [String, Boolean],
13
+ default: ""
14
+ },
15
+ label: { default: "" },
16
+ disabled: {
17
+ type: Boolean,
18
+ default: !1
19
+ },
20
+ modelValue: {},
21
+ defaultValue: {},
22
+ name: {},
23
+ binary: { type: Boolean },
24
+ indeterminate: { type: Boolean },
25
+ size: {},
26
+ invalid: { type: Boolean },
27
+ variant: {},
28
+ readonly: { type: Boolean },
29
+ required: { type: Boolean },
30
+ tabindex: {},
31
+ trueValue: {},
32
+ falseValue: {},
33
+ inputId: {},
34
+ inputClass: {},
35
+ inputStyle: {},
36
+ ariaLabelledby: {},
37
+ ariaLabel: {},
38
+ formControl: {},
39
+ dt: {},
40
+ pt: {},
41
+ ptOptions: {},
42
+ unstyled: { type: Boolean }
43
+ }, {
44
+ selected: {
45
+ type: [Boolean, Array],
46
+ required: !0
47
+ },
48
+ selectedModifiers: {}
49
+ }),
50
+ emits: ["update:selected"],
51
+ setup(e) {
52
+ let t = e, c = v(e, "selected"), u = `checkbox-${Math.random().toString(36).slice(2, 11)}`, d = y(), f = n(() => t.label || d.label), w = n(() => !Array.isArray(c.value)), T = n(() => w.value ? c.value : c.value.includes(t.value)), E = n(() => T.value ? "checkbox-tick" : ""), D = n(() => t.disabled ? "disabled" : T.value ? "active" : null);
53
+ return (t, n) => {
54
+ let d = g("wt-icon"), v = g("p-checkbox"), y = g("wt-label");
55
+ return m(), a("div", x, [s(v, {
56
+ modelValue: c.value,
57
+ "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
58
+ binary: w.value,
59
+ disabled: e.disabled,
60
+ "input-id": u,
61
+ value: e.value
62
+ }, {
63
+ icon: b(() => [o("span", S, [s(d, {
64
+ color: D.value,
65
+ icon: E.value
66
+ }, null, 8, ["color", "icon"])])]),
67
+ _: 1
68
+ }, 8, [
69
+ "modelValue",
70
+ "binary",
71
+ "disabled",
72
+ "value"
73
+ ]), f.value ? (m(), r(y, {
74
+ key: 0,
75
+ disabled: e.disabled
76
+ }, {
77
+ default: b(() => [h(t.$slots, "label", p(l({
78
+ label: e.label,
79
+ isChecked: T.value,
80
+ disabled: e.disabled
81
+ })), () => [e.label ? (m(), a("div", C, _(e.label), 1)) : i("", !0)], !0)], void 0, !0),
82
+ _: 3
83
+ }, 8, ["disabled"])) : i("", !0)]);
84
+ };
85
+ }
86
+ }), [["__scopeId", "data-v-3e8be35d"]]), T = /*#__PURE__*/ t(/* @__PURE__ */ c({
87
+ __name: "wt-icon-btn",
88
+ props: { disabled: {
89
+ type: Boolean,
90
+ default: !1
91
+ } },
92
+ emits: ["click", "mousedown"],
93
+ setup(t, { emit: n }) {
94
+ let r = n;
95
+ return (n, i) => (m(), a("button", {
96
+ class: f([{ "wt-icon-btn--disabled": t.disabled }, "wt-icon-btn"]),
97
+ type: "button",
98
+ onClick: i[0] ||= (e) => r("click", e),
99
+ onMousedown: i[1] ||= (e) => r("mousedown", e)
100
+ }, [s(e, d({
101
+ ...n.$attrs,
102
+ class: ""
103
+ }, { disabled: t.disabled }), null, 16, ["disabled"])], 34));
104
+ }
105
+ }), [["__scopeId", "data-v-40408333"]]);
106
+ //#endregion
107
+ export { w as n, T as t };