@webitel/ui-sdk 26.6.33 → 26.6.35
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/AgentStatus.enum-C3IGHtvR.js +9 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/caseConverters-DXegZoCt.js +27 -0
- package/dist/chunk-CY3AvKd6.js +20 -0
- package/dist/clients-A6MHYfOX.js +36118 -0
- package/dist/components-B4aAS7wB.js +5391 -0
- package/dist/composables-DnDH-KUv.js +263 -0
- package/dist/convertDuration-1K7fuEpO.js +8 -0
- package/dist/debounce-DrmECuJ2.js +128 -0
- package/dist/deep-copy-CQw5yeEH.js +41 -0
- package/dist/displayText-CtaxzaBz.js +3 -0
- package/dist/dist-05Bf47Wg.js +87 -0
- package/dist/dist-BYiYpK00.js +7 -0
- package/dist/dist-Dz55hlwp.js +1371 -0
- package/dist/engineCallFileType-D7QVFOac.js +11 -0
- package/dist/enums-pbYAJNeb.js +158 -0
- package/dist/errors-SUXKojVW.js +69 -0
- package/dist/floating-ui.dom-n2j9PKCB.js +842 -0
- package/dist/generateInstance-ppTIeLX4.js +2582 -0
- package/dist/isObject-Dgs_L5xI.js +11 -0
- package/dist/logger-hl3ueNok.js +47 -0
- package/dist/prod-Cp0BjuxI.js +775 -0
- package/dist/prod-DSuxcp5t.js +2 -0
- package/dist/side-channel-Cyte-MzW.js +833 -0
- package/dist/sortQueryAdapters-CyYXvnDN.js +14 -0
- package/dist/srt-parser-DdH5U08c.js +21 -0
- package/dist/ssa-parser-Bjs7yDD1.js +184 -0
- package/dist/ui-sdk.css +2 -1
- package/dist/ui-sdk.js +34541 -4
- package/dist/ui-sdk.umd.cjs +7740 -7606
- package/dist/useExpansion-DVdIpoOn.js +24 -0
- package/dist/useValidation-DG0tifBv.js +37 -0
- package/dist/useVidstackSrc-DfNrFbOO.js +155 -0
- package/dist/useWtTable-tqmVOvve.js +12 -0
- package/dist/vidstack-B01xzxC4-DeYSgDZy.js +7 -0
- package/dist/vidstack-BGSTndAW-CyKM_CM4.js +957 -0
- package/dist/vidstack-BQlOPwOu-ChhdffAJ.js +43 -0
- package/dist/vidstack-Bq6c3Bam-3dCf_D36.js +398 -0
- package/dist/vidstack-C2US-gSO-DeIgENrW.js +127 -0
- package/dist/vidstack-C9vIqaYT-C1EgPq17.js +9 -0
- package/dist/vidstack-CTojmhKq-D7sZJxgm.js +30 -0
- package/dist/vidstack-ChQTHmIQ-nTO94M6P.js +51 -0
- package/dist/vidstack-Ci54COQW-CAAXpwzv.js +208 -0
- package/dist/vidstack-D2pY00kU-DoW028io.js +70 -0
- package/dist/vidstack-D5EzK014-DOe01V3H.js +14 -0
- package/dist/vidstack-DDXt6fpN-Don_e6LS.js +42 -0
- package/dist/vidstack-D_-9AA6_-Dq3APB0-.js +19 -0
- package/dist/vidstack-Dihypf8P-ibWMCHK-.js +12 -0
- package/dist/vidstack-Dm1xEU9Q-VlefmrP8.js +31 -0
- package/dist/vidstack-DqAw8m9J-Dk1GT3Oe.js +22 -0
- package/dist/vidstack-audio-B58bvsna.js +23 -0
- package/dist/vidstack-dash-CX-LTHx3.js +332 -0
- package/dist/vidstack-google-cast-Co5Q_rfL.js +361 -0
- package/dist/vidstack-hls-CLzdTFu6.js +269 -0
- package/dist/vidstack-krOAtKMi-DN1WZC3p.js +30 -0
- package/dist/vidstack-video-XtP8iTBc.js +151 -0
- package/dist/vidstack-vimeo-EzzPpggD.js +386 -0
- package/dist/vidstack-youtube-C1_NAfWa.js +205 -0
- package/dist/vue-i18n-B8Px6VcD.js +2201 -0
- package/dist/wt-action-bar-Ba1ZJjE_.js +85 -0
- package/dist/wt-button-DENbrKdy.js +785 -0
- package/dist/wt-button-select-BnRHgJ4i.js +80 -0
- package/dist/wt-call-media-action-Bkyppnsm.js +42 -0
- package/dist/wt-chat-emoji-wdBt1XzD.js +2208 -0
- package/dist/wt-confirm-dialog-DCUitG2v.js +70 -0
- package/dist/wt-context-menu-yW52oF-2.js +89 -0
- package/dist/wt-copy-action-d9gVzAsB.js +38 -0
- package/dist/wt-datepicker-Cnbarx_j.js +5774 -0
- package/dist/wt-display-chip-items-CvMM8WMk.js +34 -0
- package/dist/wt-dual-panel-DAhTYFS_.js +49 -0
- package/dist/wt-dummy-CLjhRWZ6.js +59 -0
- package/dist/wt-error-page-vhu4lIyF.js +62 -0
- package/dist/wt-expand-transition-C2p9bR4j.js +39 -0
- package/dist/wt-expansion-card-qsxvbtZm.js +47 -0
- package/dist/wt-expansion-panel-C_EXvx1d.js +40 -0
- package/dist/wt-filters-panel-wrapper-Cc9b3aci.js +51 -0
- package/dist/wt-galleria-CWXKuZTD.js +224 -0
- package/dist/wt-icon-action-CQlZHMDB.js +100 -0
- package/dist/wt-icon-btn-CjjI4cgE.js +107 -0
- package/dist/wt-icon-pxO7IjwV.js +1026 -0
- package/dist/wt-inline-add-panel-B0E4Vk2l.js +43 -0
- package/dist/wt-navigation-menu-CenQi_-T.js +126 -0
- package/dist/wt-notifications-bar-Ep1QuFZi.js +52 -0
- package/dist/wt-page-header-CDbd4aOh.js +59 -0
- package/dist/wt-pagination-BA_PZPIE.js +94 -0
- package/dist/wt-player-uidPXSTe.js +287 -0
- package/dist/wt-popover-CJZH3wMl.js +98 -0
- package/dist/wt-screen-recordings-action-Dg7Ts2Jt.js +37 -0
- package/dist/wt-search-bar-CWZdvAOf.js +123 -0
- package/dist/wt-selection-popup-B77UY7Yu.js +79 -0
- package/dist/wt-send-message-popup-D0GJMGni.js +77 -0
- package/dist/wt-slider-BS3SoGht.js +68 -0
- package/dist/wt-start-page-eN1PEokc.js +86 -0
- package/dist/wt-status-select-A5t6Vjm4.js +101 -0
- package/dist/wt-stepper-B6zpd1Uh.js +41 -0
- package/dist/wt-table-D0FynxIE.js +364 -0
- package/dist/wt-table-actions-4-peSVkc.js +63 -0
- package/dist/wt-table-column-select-DFF6z3a3.js +100 -0
- package/dist/wt-tabs-DuOgj-lZ.js +60 -0
- package/dist/wt-time-input-CO2cop3y.js +62 -0
- package/dist/wt-timepicker-BltFF1QD.js +145 -0
- package/dist/wt-tree-ZyoPrNOl.js +1206 -0
- package/dist/wt-tree-table-MLET4gIv.js +221 -0
- package/dist/wt-type-extension-value-input-fnNxJLsq.js +104 -0
- package/dist/wt-vidstack-player-DLTA9mBK.js +7440 -0
- package/package.json +5 -5
- package/src/components/wt-table-column-select/__tests__/WtTableColumnSelect.spec.js +3 -3
- package/src/components/wt-vidstack-player/wt-vidstack-player.vue +2 -2
- package/dist/contacts-C-FnP7wP.js +0 -49654
- package/dist/displayText-Cbh4IOfM.js +0 -5
- package/dist/engineCallFileType-yaadA7-2.js +0 -8
- package/dist/errors-CTL-RV3B.js +0 -70
- package/dist/index-BBLSS-t1.js +0 -50
- package/dist/install-DOSuNFtE.js +0 -53489
- package/dist/isObject-CMQJaQIp.js +0 -28
- package/dist/prod-BoQuiIB3.js +0 -973
- package/dist/srt-parser-CsN7bp5E.js +0 -26
- package/dist/ssa-parser-BJOOPeQF.js +0 -200
- package/dist/useExpansion-BrQ40HiR.js +0 -24
- package/dist/useVidstackSrc-MfWBq7Ef.js +0 -1341
- package/dist/vidstack-Bq6c3Bam-C_T8PkmG.js +0 -426
- package/dist/vidstack-D2pY00kU-CphVKcJq.js +0 -136
- package/dist/vidstack-DDXt6fpN-2lNfj8Ca.js +0 -51
- package/dist/vidstack-D_-9AA6_-Cyl8HzDm.js +0 -21
- package/dist/vidstack-Dm1xEU9Q-CXHNvShT.js +0 -30
- package/dist/vidstack-DqAw8m9J-C2p9K7Db.js +0 -22
- package/dist/vidstack-audio-BL-Sa_Ap.js +0 -28
- package/dist/vidstack-dash-mKhgfurw.js +0 -393
- package/dist/vidstack-google-cast-BGqSw2iP.js +0 -383
- package/dist/vidstack-hls-U5fTV3hj.js +0 -310
- package/dist/vidstack-krOAtKMi-C50BTxmn.js +0 -28
- package/dist/vidstack-video-Bxf7KDne.js +0 -164
- package/dist/vidstack-vimeo-MngSXtDR.js +0 -452
- package/dist/vidstack-youtube-Ctg91VeX.js +0 -233
- package/dist/wt-action-bar-DaDcqA4n.js +0 -102
- package/dist/wt-button-select-q_BITVhH.js +0 -105
- package/dist/wt-call-media-action-BkBcZN17.js +0 -60
- package/dist/wt-chat-emoji-BGuSgYi3.js +0 -2909
- package/dist/wt-confirm-dialog-C7-74ROm.js +0 -92
- package/dist/wt-context-menu-CzAHMaOj.js +0 -104
- package/dist/wt-copy-action-BpckAObd.js +0 -60
- package/dist/wt-datepicker-DauMnf2r.js +0 -5660
- package/dist/wt-display-chip-items-zcqxH89_.js +0 -47
- package/dist/wt-dual-panel-Cj79kJpk.js +0 -66
- package/dist/wt-dummy-BUHYAcsk.js +0 -104
- package/dist/wt-error-page-CNSqDA-o.js +0 -89
- package/dist/wt-expansion-card-CtcuXg6f.js +0 -56
- package/dist/wt-expansion-panel-BU2Hb-N2.js +0 -54
- package/dist/wt-filters-panel-wrapper-BlLlAixc.js +0 -75
- package/dist/wt-galleria-BQzGD6-3.js +0 -323
- package/dist/wt-inline-add-panel-fG58a6T3.js +0 -49
- package/dist/wt-navigation-menu-2ggfyrM_.js +0 -159
- package/dist/wt-notifications-bar-Epn_SA_R.js +0 -79
- package/dist/wt-page-header-DdsnoLgd.js +0 -115
- package/dist/wt-pagination-Byg79HfY.js +0 -144
- package/dist/wt-player-kjdJYVi3.js +0 -291
- package/dist/wt-popover-Di-7_rDL.js +0 -4
- package/dist/wt-popover.vue_vue_type_style_index_0_lang-DMDTlCgv.js +0 -81
- package/dist/wt-screen-recordings-action-Z3x-gI0n.js +0 -54
- package/dist/wt-search-bar-CxwSi-Xo.js +0 -144
- package/dist/wt-selection-popup-MdCfrgcd.js +0 -109
- package/dist/wt-send-message-popup-DklTgoGj.js +0 -579
- package/dist/wt-slider-BEkw4KGp.js +0 -4
- package/dist/wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js +0 -55
- package/dist/wt-start-page-B59KbWqX.js +0 -99
- package/dist/wt-status-select-hOAr_xBg.js +0 -138
- package/dist/wt-stepper-CMeW3d6N.js +0 -65
- package/dist/wt-table-C5CLtnK5.js +0 -426
- package/dist/wt-table-actions-DgAfy-dd.js +0 -79
- package/dist/wt-table-column-select-BK5rozpI.js +0 -128
- package/dist/wt-tabs-Bn6rSg0s.js +0 -74
- package/dist/wt-time-input-DYiW0ijt.js +0 -42
- package/dist/wt-timepicker-CkjoLwXC.js +0 -118
- package/dist/wt-tree-CCvr4TTF.js +0 -2777
- package/dist/wt-tree-table-BWmGF3rE.js +0 -285
- package/dist/wt-type-extension-value-input-q5286OSO.js +0 -121
- package/dist/wt-vidstack-player-CTWna35Q.js +0 -9093
|
@@ -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 };
|