@webitel/ui-sdk 26.6.34 → 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/dist/contacts-DzLKP4GQ.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-BgLoxAyu.js +0 -50
- package/dist/install-Cm-8fwtB.js +0 -53489
- package/dist/isObject-BSIwu4UO.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-DKXY5f7v.js +0 -1341
- package/dist/vidstack-Bq6c3Bam-BHF-0bv4.js +0 -426
- package/dist/vidstack-D2pY00kU-B8Mhvp0m.js +0 -136
- package/dist/vidstack-DDXt6fpN-D0eou9h7.js +0 -51
- package/dist/vidstack-D_-9AA6_-DYAfclN7.js +0 -21
- package/dist/vidstack-Dm1xEU9Q-CXHNvShT.js +0 -30
- package/dist/vidstack-DqAw8m9J-b5BHkhrw.js +0 -22
- package/dist/vidstack-audio-CPu_TbjK.js +0 -28
- package/dist/vidstack-dash-VYriMjws.js +0 -393
- package/dist/vidstack-google-cast-Byp1cemB.js +0 -383
- package/dist/vidstack-hls-DdUQcmEx.js +0 -310
- package/dist/vidstack-krOAtKMi-C50BTxmn.js +0 -28
- package/dist/vidstack-video-BpSKQ3wb.js +0 -164
- package/dist/vidstack-vimeo-CgVJJm06.js +0 -452
- package/dist/vidstack-youtube-DuES80MV.js +0 -233
- package/dist/wt-action-bar-TMuck-q1.js +0 -102
- package/dist/wt-button-select-D1NP5Xw9.js +0 -105
- package/dist/wt-call-media-action-BsepfSVy.js +0 -60
- package/dist/wt-chat-emoji-B00dUXbP.js +0 -2909
- package/dist/wt-confirm-dialog-1hO851Da.js +0 -92
- package/dist/wt-context-menu-BrzRmoDw.js +0 -104
- package/dist/wt-copy-action-CEMOiYzN.js +0 -60
- package/dist/wt-datepicker-DHqZIkg2.js +0 -5660
- package/dist/wt-display-chip-items-D7kEAcOo.js +0 -47
- package/dist/wt-dual-panel-DEWR3-k-.js +0 -66
- package/dist/wt-dummy-DfgxciHw.js +0 -104
- package/dist/wt-error-page-DUSVxkXq.js +0 -89
- package/dist/wt-expansion-card-B8JKBMLa.js +0 -56
- package/dist/wt-expansion-panel-DL3eoj_b.js +0 -54
- package/dist/wt-filters-panel-wrapper-CGXQiRvh.js +0 -75
- package/dist/wt-galleria-Bahv6Mgq.js +0 -323
- package/dist/wt-inline-add-panel-B4RjHVDI.js +0 -49
- package/dist/wt-navigation-menu-DqCXAV8E.js +0 -159
- package/dist/wt-notifications-bar-CRIKdVai.js +0 -79
- package/dist/wt-page-header-DdsnoLgd.js +0 -115
- package/dist/wt-pagination-C_b3WmH1.js +0 -144
- package/dist/wt-player-B4GWEqdu.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-B4OpN5kl.js +0 -54
- package/dist/wt-search-bar-B_0_YwCn.js +0 -144
- package/dist/wt-selection-popup-Boyw9_V_.js +0 -109
- package/dist/wt-send-message-popup-0C23Zocu.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-HQMIG05a.js +0 -99
- package/dist/wt-status-select-H_me1xwA.js +0 -138
- package/dist/wt-stepper-hJxqyiyo.js +0 -65
- package/dist/wt-table-Du6mtkPw.js +0 -426
- package/dist/wt-table-actions-ah_H6LY9.js +0 -79
- package/dist/wt-table-column-select-C2Nbic5-.js +0 -128
- package/dist/wt-tabs-D4aGEd_t.js +0 -74
- package/dist/wt-time-input-DYiW0ijt.js +0 -42
- package/dist/wt-timepicker-BE8POMhF.js +0 -118
- package/dist/wt-tree-table-BJxaXqKl.js +0 -285
- package/dist/wt-tree-u0Zp8nb5.js +0 -2777
- package/dist/wt-type-extension-value-input-C1VlNa4K.js +0 -121
- package/dist/wt-vidstack-player-C1eyCEzP.js +0 -9094
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { inject as y, resolveComponent as _, createElementBlock as d, openBlock as a, createElementVNode as o, createBlock as u, createCommentVNode as v, createTextVNode as g, toDisplayString as l, createVNode as N, withCtx as f, defineComponent as k, provide as w, computed as m, Fragment as E, renderList as S } from "vue";
|
|
2
|
-
import { K as n, _ as p } from "./install-Cm-8fwtB.js";
|
|
3
|
-
n.env.NODE_ENV;
|
|
4
|
-
n.env.NODE_ENV;
|
|
5
|
-
n.env.NODE_ENV;
|
|
6
|
-
const V = /* @__PURE__ */ Symbol(n.env.NODE_ENV !== "production" ? "router" : "");
|
|
7
|
-
n.env.NODE_ENV;
|
|
8
|
-
n.env.NODE_ENV;
|
|
9
|
-
function $() {
|
|
10
|
-
return y(V);
|
|
11
|
-
}
|
|
12
|
-
const x = { class: "start-page-card" }, C = { class: "typo-heading-4 start-page-card__header" }, D = { class: "start-page-card__main-section" }, O = ["alt", "src"], L = { class: "typo-body-1 start-page-card__description" }, M = {
|
|
13
|
-
__name: "start-page-card",
|
|
14
|
-
props: {
|
|
15
|
-
card: {
|
|
16
|
-
type: Object,
|
|
17
|
-
required: !0
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup(e) {
|
|
21
|
-
const t = $(), c = e, i = () => t.push(c.card.route);
|
|
22
|
-
return (r, h) => {
|
|
23
|
-
const s = _("wt-icon"), b = _("wt-button");
|
|
24
|
-
return a(), d("article", x, [
|
|
25
|
-
o("header", C, [
|
|
26
|
-
e.card.disabled ? (a(), u(s, {
|
|
27
|
-
key: 0,
|
|
28
|
-
icon: "lock"
|
|
29
|
-
})) : v("", !0),
|
|
30
|
-
g(" " + l(e.card.name), 1)
|
|
31
|
-
]),
|
|
32
|
-
o("section", D, [
|
|
33
|
-
o("img", {
|
|
34
|
-
alt: e.card.name,
|
|
35
|
-
src: e.card.image
|
|
36
|
-
}, null, 8, O),
|
|
37
|
-
o("p", L, l(e.card.text), 1)
|
|
38
|
-
]),
|
|
39
|
-
o("footer", null, [
|
|
40
|
-
N(b, {
|
|
41
|
-
disabled: e.card.disabled,
|
|
42
|
-
class: "start-page-card__button",
|
|
43
|
-
color: "secondary",
|
|
44
|
-
wide: "",
|
|
45
|
-
onClick: i
|
|
46
|
-
}, {
|
|
47
|
-
default: f(() => [
|
|
48
|
-
g(l(r.$t("reusable.open")), 1)
|
|
49
|
-
], void 0, !0),
|
|
50
|
-
_: 1
|
|
51
|
-
}, 8, ["disabled"])
|
|
52
|
-
])
|
|
53
|
-
]);
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
}, B = /* @__PURE__ */ p(M, [["__scopeId", "data-v-e4560b27"]]), P = { class: "start-page-logo" }, j = ["src"], q = {
|
|
57
|
-
__name: "start-page-logo",
|
|
58
|
-
props: {
|
|
59
|
-
logo: {
|
|
60
|
-
type: String,
|
|
61
|
-
required: !0
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
setup(e) {
|
|
65
|
-
return (t, c) => (a(), d("div", P, [
|
|
66
|
-
o("img", { src: e.logo }, null, 8, j)
|
|
67
|
-
]));
|
|
68
|
-
}
|
|
69
|
-
}, K = /* @__PURE__ */ p(q, [["__scopeId", "data-v-187dc1b4"]]), F = { class: "wt-start-page" }, I = { class: "wt-start-page__wrapper" }, R = /* @__PURE__ */ k({
|
|
70
|
-
__name: "wt-start-page",
|
|
71
|
-
props: {
|
|
72
|
-
nav: {},
|
|
73
|
-
appLogo: {},
|
|
74
|
-
darkMode: { type: Boolean, default: !1 }
|
|
75
|
-
},
|
|
76
|
-
setup(e) {
|
|
77
|
-
const t = e;
|
|
78
|
-
w("darkMode", t.darkMode);
|
|
79
|
-
const c = m(() => t.darkMode ? t.appLogo.dark : t.appLogo.light), i = m(() => t.nav.map((r) => ({
|
|
80
|
-
...r,
|
|
81
|
-
image: t.darkMode ? r.images.dark : r.images.light
|
|
82
|
-
})));
|
|
83
|
-
return (r, h) => (a(), d("div", F, [
|
|
84
|
-
e.appLogo ? (a(), u(K, {
|
|
85
|
-
key: 0,
|
|
86
|
-
logo: c.value
|
|
87
|
-
}, null, 8, ["logo"])) : v("", !0),
|
|
88
|
-
o("div", I, [
|
|
89
|
-
(a(!0), d(E, null, S(i.value, (s) => (a(), u(B, {
|
|
90
|
-
key: s.value,
|
|
91
|
-
card: s
|
|
92
|
-
}, null, 8, ["card"]))), 128))
|
|
93
|
-
])
|
|
94
|
-
]));
|
|
95
|
-
}
|
|
96
|
-
}), A = /* @__PURE__ */ p(R, [["__scopeId", "data-v-85dd1b85"]]);
|
|
97
|
-
export {
|
|
98
|
-
A as default
|
|
99
|
-
};
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { resolveComponent as u, createBlock as d, openBlock as f, withCtx as c, createVNode as i } from "vue";
|
|
2
|
-
import { _ as h } from "./install-Cm-8fwtB.js";
|
|
3
|
-
const s = Object.freeze({
|
|
4
|
-
ONLINE: "online",
|
|
5
|
-
PAUSE: "pause",
|
|
6
|
-
OFFLINE: "offline",
|
|
7
|
-
BREAK_OUT: "break_out"
|
|
8
|
-
}), _ = (t) => {
|
|
9
|
-
if (!t) return "00:00:00";
|
|
10
|
-
let e = `${Math.floor(t / 3600)}`, l = `${Math.floor(t % 3600 / 60)}`, a = `${Math.floor(t % 3600 % 60)}`;
|
|
11
|
-
return e.length === 1 && (e = `0${e}`), l.length === 1 && (l = `0${l}`), a.length === 1 && (a = `0${a}`), `${e}:${l}:${a}`;
|
|
12
|
-
}, m = [
|
|
13
|
-
{
|
|
14
|
-
locale: "webitelUI.statusSelect.online",
|
|
15
|
-
color: "success",
|
|
16
|
-
value: s.ONLINE
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
locale: "webitelUI.statusSelect.pause",
|
|
20
|
-
color: "primary",
|
|
21
|
-
value: s.PAUSE
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
locale: "webitelUI.statusSelect.offline",
|
|
25
|
-
color: "disabled",
|
|
26
|
-
value: s.OFFLINE
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
locale: "webitelUI.statusSelect.breakOut",
|
|
30
|
-
color: "break-out",
|
|
31
|
-
value: s.BREAK_OUT
|
|
32
|
-
}
|
|
33
|
-
], O = {
|
|
34
|
-
name: "WtStatusSelect",
|
|
35
|
-
model: {
|
|
36
|
-
prop: "status",
|
|
37
|
-
event: "change"
|
|
38
|
-
},
|
|
39
|
-
/**
|
|
40
|
-
* @emits {string} change - Fires when status changes. Emits changed status value
|
|
41
|
-
* @emits {Event} closed - Fires when dropdown is closed
|
|
42
|
-
*/
|
|
43
|
-
props: {
|
|
44
|
-
/**
|
|
45
|
-
* Component is looking for value from AgentStatus enum
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @default AgentStatus.OFFLINE
|
|
48
|
-
*/
|
|
49
|
-
status: {
|
|
50
|
-
type: String,
|
|
51
|
-
default: s.OFFLINE
|
|
52
|
-
},
|
|
53
|
-
/**
|
|
54
|
-
* If seconds number, converts to hh:mm:ss format
|
|
55
|
-
* @type {string | number}
|
|
56
|
-
* @default 0
|
|
57
|
-
*/
|
|
58
|
-
statusDuration: {
|
|
59
|
-
type: [
|
|
60
|
-
String,
|
|
61
|
-
Number
|
|
62
|
-
],
|
|
63
|
-
default: 0
|
|
64
|
-
},
|
|
65
|
-
/**
|
|
66
|
-
* If passed, replaces default status-select options. Should have 3 required properties: "color", "text" and "value"
|
|
67
|
-
* @type {Array}
|
|
68
|
-
*/
|
|
69
|
-
options: {
|
|
70
|
-
type: Array
|
|
71
|
-
}
|
|
72
|
-
// size: {
|
|
73
|
-
// type: String,
|
|
74
|
-
// default: 'md',
|
|
75
|
-
// options: ['sm', 'md'],
|
|
76
|
-
// },
|
|
77
|
-
},
|
|
78
|
-
emits: [
|
|
79
|
-
"change",
|
|
80
|
-
"closed"
|
|
81
|
-
],
|
|
82
|
-
computed: {
|
|
83
|
-
selectedOption() {
|
|
84
|
-
return this.statusOptions.find((t) => t.value === this.status);
|
|
85
|
-
},
|
|
86
|
-
statusOptions() {
|
|
87
|
-
return this.options ? this.options : m.map((t) => ({
|
|
88
|
-
...t,
|
|
89
|
-
text: this.$t(t.locale)
|
|
90
|
-
}));
|
|
91
|
-
},
|
|
92
|
-
availableOptions() {
|
|
93
|
-
return this.statusOptions.reduce((t, e) => (this.status === e.value && e.value !== s.PAUSE || e.value === s.BREAK_OUT || t.push(e), t), []);
|
|
94
|
-
},
|
|
95
|
-
duration() {
|
|
96
|
-
return typeof this.statusDuration == "string" ? this.statusDuration : this.statusDuration !== void 0 ? _(this.statusDuration) : this.selectedOption.text;
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
methods: {
|
|
100
|
-
inputHandler(t) {
|
|
101
|
-
this.$emit("change", t.value);
|
|
102
|
-
},
|
|
103
|
-
closedHandler(t) {
|
|
104
|
-
this.$emit("closed", t);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
function v(t, e, l, a, b, o) {
|
|
109
|
-
const r = u("wt-indicator"), p = u("wt-select");
|
|
110
|
-
return f(), d(p, {
|
|
111
|
-
clearable: !1,
|
|
112
|
-
options: o.availableOptions,
|
|
113
|
-
searchable: !1,
|
|
114
|
-
value: o.selectedOption,
|
|
115
|
-
class: "wt-status-select",
|
|
116
|
-
"track-by": "value",
|
|
117
|
-
onClosed: o.closedHandler,
|
|
118
|
-
onInput: o.inputHandler
|
|
119
|
-
}, {
|
|
120
|
-
singleLabel: c(({ option: n }) => [
|
|
121
|
-
i(r, {
|
|
122
|
-
color: n.color,
|
|
123
|
-
text: o.duration
|
|
124
|
-
}, null, 8, ["color", "text"])
|
|
125
|
-
]),
|
|
126
|
-
option: c(({ option: n }) => [
|
|
127
|
-
i(r, {
|
|
128
|
-
color: n.color,
|
|
129
|
-
text: n.text
|
|
130
|
-
}, null, 8, ["color", "text"])
|
|
131
|
-
]),
|
|
132
|
-
_: 1
|
|
133
|
-
}, 8, ["options", "value", "onClosed", "onInput"]);
|
|
134
|
-
}
|
|
135
|
-
const g = /* @__PURE__ */ h(O, [["render", v], ["__scopeId", "data-v-580212cb"]]);
|
|
136
|
-
export {
|
|
137
|
-
g as default
|
|
138
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { computed as i, resolveComponent as w, createElementBlock as s, openBlock as p, createElementVNode as r, renderSlot as n, Fragment as h, renderList as f, createCommentVNode as y, createVNode as S, normalizeClass as C, withCtx as N, createTextVNode as V, toDisplayString as d } from "vue";
|
|
2
|
-
import { _ as k } from "./install-Cm-8fwtB.js";
|
|
3
|
-
const x = { class: "wt-stepper" }, b = { class: "wt-stepper-header" }, g = { class: "wt-stepper-steps" }, B = { class: "wt-stepper-steps__wrapper" }, E = { class: "wt-stepper-description" }, $ = {
|
|
4
|
-
__name: "wt-stepper",
|
|
5
|
-
props: {
|
|
6
|
-
/**
|
|
7
|
-
* An array of displayed steps. May include "name", "description", "completed"
|
|
8
|
-
* @type {Array}
|
|
9
|
-
*/
|
|
10
|
-
steps: {
|
|
11
|
-
type: Array,
|
|
12
|
-
required: !0
|
|
13
|
-
},
|
|
14
|
-
/**
|
|
15
|
-
* All past and active steps are marked with "accent-secondary-color"
|
|
16
|
-
* @type {number}
|
|
17
|
-
* @default 1
|
|
18
|
-
*/
|
|
19
|
-
activeStep: {
|
|
20
|
-
type: Number,
|
|
21
|
-
default: 1
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
setup(a) {
|
|
25
|
-
const e = a, l = i(
|
|
26
|
-
() => e.steps[e.activeStep - 1].description
|
|
27
|
-
), _ = i(
|
|
28
|
-
() => e.steps.map((t, o) => ({
|
|
29
|
-
...t,
|
|
30
|
-
completed: e.activeStep > o
|
|
31
|
-
}))
|
|
32
|
-
);
|
|
33
|
-
return (t, o) => {
|
|
34
|
-
const m = w("wt-chip");
|
|
35
|
-
return p(), s("div", x, [
|
|
36
|
-
r("div", b, [
|
|
37
|
-
r("div", g, [
|
|
38
|
-
(p(!0), s(h, null, f(_.value, ({ name: u, completed: c }, v) => (p(), s("div", B, [
|
|
39
|
-
v !== 0 ? (p(), s("div", {
|
|
40
|
-
key: 0,
|
|
41
|
-
class: C([{ "wt-stepper-steps__divider--completed": c }, "wt-stepper-steps__divider"])
|
|
42
|
-
}, null, 2)) : y("", !0),
|
|
43
|
-
S(m, {
|
|
44
|
-
color: c ? "primary" : "secondary",
|
|
45
|
-
class: "wt-stepper-steps__item"
|
|
46
|
-
}, {
|
|
47
|
-
default: N(() => [
|
|
48
|
-
V(d(u), 1)
|
|
49
|
-
], void 0, !0),
|
|
50
|
-
_: 2
|
|
51
|
-
}, 1032, ["color"])
|
|
52
|
-
]))), 256))
|
|
53
|
-
])
|
|
54
|
-
]),
|
|
55
|
-
n(t.$slots, "description", {}, () => [
|
|
56
|
-
r("p", E, d(l.value), 1)
|
|
57
|
-
], !0),
|
|
58
|
-
n(t.$slots, "main", {}, void 0, !0)
|
|
59
|
-
]);
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
}, A = /* @__PURE__ */ k($, [["__scopeId", "data-v-7b06c506"]]);
|
|
63
|
-
export {
|
|
64
|
-
A as default
|
|
65
|
-
};
|