@webitel/ui-sdk 26.2.71 → 26.2.73
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/{index-CLhoKzki.js → index-9Pw0rFs3.js} +1 -1
- package/dist/{index-x2Djqp3W.js → index-DNFAfaj_.js} +1 -1
- package/dist/{install-Cp4KnSCI.js → install-3hvxZD-d.js} +8992 -8249
- package/dist/{isObject-C_1aA257.js → isObject-wVEZ2feW.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +255 -255
- package/dist/useExpansion-BrQ40HiR.js +24 -0
- package/dist/{vidstack-Bq6c3Bam-CeA9TvJ4.js → vidstack-Bq6c3Bam-Bzu3z8RL.js} +2 -2
- package/dist/{vidstack-D2pY00kU-hPWR401d.js → vidstack-D2pY00kU-BMwqyCts.js} +2 -2
- package/dist/{vidstack-DDXt6fpN-DEjXPjHx.js → vidstack-DDXt6fpN-Ci0wQLtE.js} +1 -1
- package/dist/{vidstack-D_-9AA6_-Bh2Pn0IA.js → vidstack-D_-9AA6_-B1fis92j.js} +1 -1
- package/dist/{vidstack-DqAw8m9J-BSNVCj3S.js → vidstack-DqAw8m9J-BaNbbU_4.js} +1 -1
- package/dist/{vidstack-audio-C3of4Q-I.js → vidstack-audio-BQv7wuzC.js} +2 -2
- package/dist/{vidstack-dash-BD3CNy0Z.js → vidstack-dash-CnTFEK3_.js} +3 -3
- package/dist/{vidstack-google-cast-DXLqBW30.js → vidstack-google-cast-OqeuGUmR.js} +3 -3
- package/dist/{vidstack-hls-C6Az6tgn.js → vidstack-hls-Olj84Cya.js} +3 -3
- package/dist/{vidstack-video-CtScgimr.js → vidstack-video-DUcOiJA6.js} +2 -2
- package/dist/{vidstack-vimeo-dFXp7_Vx.js → vidstack-vimeo-wxs6GXBN.js} +3 -3
- package/dist/{vidstack-youtube-BF0J2izd.js → vidstack-youtube-BoW02Xa8.js} +2 -2
- package/dist/{wt-action-bar-BrFf9y4i.js → wt-action-bar-BSDkN8Tv.js} +1 -1
- package/dist/{wt-button-select-BQOYl5Z5.js → wt-button-select-DTISRdIu.js} +1 -1
- package/dist/{wt-chat-emoji-D9rZ4xfn.js → wt-chat-emoji-DMcY5x4C.js} +2 -2
- package/dist/{wt-confirm-dialog-DdRFwuNQ.js → wt-confirm-dialog-DbEwgg8g.js} +1 -1
- package/dist/{wt-context-menu-Dx-K-ACK.js → wt-context-menu-DraJ1v67.js} +1 -1
- package/dist/{wt-copy-action-BPMZsUtG.js → wt-copy-action-DNV-g3WL.js} +1 -1
- package/dist/{wt-datepicker-PK3BgSmp.js → wt-datepicker-BSuvObA9.js} +1 -1
- package/dist/{wt-display-chip-items-CAO8OLhX.js → wt-display-chip-items-D_i5evTA.js} +1 -1
- package/dist/{wt-dual-panel-CAh5CMKO.js → wt-dual-panel-CWn5sFE4.js} +1 -1
- package/dist/{wt-dummy-DMXuDlcb.js → wt-dummy-C8QrEk_7.js} +1 -1
- package/dist/{wt-error-page-UoX8GV8V.js → wt-error-page-D9isZLhE.js} +1 -1
- package/dist/wt-expansion-card-B2NKHL_c.js +63 -0
- package/dist/wt-expansion-panel-BMcCpQHO.js +54 -0
- package/dist/{wt-filters-panel-wrapper-GI9X-SaD.js → wt-filters-panel-wrapper-iEnXPeUj.js} +1 -1
- package/dist/{wt-galleria-DtJgf7Db.js → wt-galleria-CQjrrFqT.js} +1 -1
- package/dist/{wt-navigation-menu-CrDo7Vpq.js → wt-navigation-menu-DtWOqSsY.js} +1 -1
- package/dist/{wt-notifications-bar-CmUZpffK.js → wt-notifications-bar-OIiNJk7x.js} +2 -2
- package/dist/{wt-page-header-C7JiNmsy.js → wt-page-header-Cm-nxn11.js} +1 -1
- package/dist/{wt-pagination-CaOk680t.js → wt-pagination-CT4k9Pjg.js} +1 -1
- package/dist/{wt-player-Cs2dAT3H.js → wt-player-CPkBZrW6.js} +1 -1
- package/dist/{wt-search-bar-f1yQguL2.js → wt-search-bar-CrCt566v.js} +1 -1
- package/dist/{wt-selection-popup-CwjvQZ77.js → wt-selection-popup-Br7Y3VFt.js} +1 -1
- package/dist/{wt-start-page-CMGnK33r.js → wt-start-page-BHMUEaf2.js} +1 -1
- package/dist/{wt-status-select-C5RigMIl.js → wt-status-select-D9RqXS4c.js} +1 -1
- package/dist/{wt-stepper-1gbY9rv5.js → wt-stepper-DKfJsGiA.js} +1 -1
- package/dist/{wt-table-D6d0dRYQ.js → wt-table-D1HHq7oI.js} +1 -1
- package/dist/{wt-table-actions-BsjrniPP.js → wt-table-actions-qVHB4Q6S.js} +1 -1
- package/dist/{wt-table-column-select-JiD5kd7i.js → wt-table-column-select-ZVHxwl-b.js} +2 -2
- package/dist/{wt-tabs-DpxPfuRj.js → wt-tabs-BZCECjld.js} +1 -1
- package/dist/{wt-tags-input-CJpT_4mw.js → wt-tags-input-BnaHuEX3.js} +2 -2
- package/dist/{wt-timepicker-CtH8MdN-.js → wt-timepicker-Dc9cyISF.js} +1 -1
- package/dist/{wt-tree-C99Qwdwn.js → wt-tree-De8KBtVV.js} +2 -2
- package/dist/{wt-tree-table-3qAoEJ7m.js → wt-tree-table-Dzour1lc.js} +1 -1
- package/dist/{wt-type-extension-value-input-CfiVBG5u.js → wt-type-extension-value-input-B7misRhR.js} +2 -2
- package/dist/{wt-vidstack-player-B8Ilx2ml.js → wt-vidstack-player-D_NDC0fP.js} +9 -9
- package/package.json +1 -1
- package/src/components/index.js +5 -0
- package/src/components/wt-button/wt-button.vue +9 -13
- package/src/components/wt-expansion-card/_variables.css +6 -0
- package/src/components/wt-expansion-card/wt-expansion-card.vue +114 -0
- package/src/components/wt-expansion-panel/wt-expansion-panel.vue +51 -68
- package/src/composables/index.ts +1 -0
- package/src/composables/useExpansion/useExpansion.ts +34 -0
- package/src/install.ts +0 -1
- package/src/locale/i18n.js +1 -1
- package/src/modules/Notifications/store/NotificationsStoreModule.js +1 -1
- package/types/components/wt-expansion-card/wt-expansion-card.vue.d.ts +45 -0
- package/types/components/wt-expansion-panel/wt-expansion-panel.vue.d.ts +52 -15
- package/types/components/wt-select/wt-select-v2.vue.d.ts +2 -2
- package/types/components/wt-select/wt-select.vue.d.ts +1 -1
- package/types/composables/index.d.ts +1 -0
- package/types/composables/useExpansion/useExpansion.d.ts +7 -0
- package/types/locale/i18n.d.ts +1 -1
- package/types/modules/Notifications/store/NotificationsStoreModule.d.ts +1 -1
- package/dist/vuex.esm-bundler-D5BkZi23.js +0 -950
- package/dist/wt-expansion-panel-G7G1803j.js +0 -82
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { ref as w, watch as m, resolveComponent as v, createElementBlock as _, openBlock as x, normalizeClass as s, createElementVNode as a, withDirectives as h, withKeys as y, renderSlot as l, createVNode as c, normalizeProps as g, guardReactiveProps as z, withCtx as b, vShow as C } from "vue";
|
|
2
|
-
import { _ as E, W as $ } from "./install-Cp4KnSCI.js";
|
|
3
|
-
const k = { class: "wt-expansion-panel-actions" }, B = { class: "wt-expansion-panel-body" }, P = {
|
|
4
|
-
__name: "wt-expansion-panel",
|
|
5
|
-
props: {
|
|
6
|
-
/**
|
|
7
|
-
* Size of the expansion panel
|
|
8
|
-
* @type {string}
|
|
9
|
-
* @default 'md'
|
|
10
|
-
* @options ['sm', 'md']
|
|
11
|
-
*/
|
|
12
|
-
size: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: "md"
|
|
15
|
-
},
|
|
16
|
-
/**
|
|
17
|
-
* Whether the expansion panel is initially collapsed. Also, can force expansion state, if changed
|
|
18
|
-
* @type {boolean}
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
collapsed: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
default: !1
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
emits: [
|
|
27
|
-
"opened",
|
|
28
|
-
"closed"
|
|
29
|
-
],
|
|
30
|
-
setup(d, { emit: u }) {
|
|
31
|
-
const t = d, i = u, e = w(!t.collapsed);
|
|
32
|
-
function o() {
|
|
33
|
-
e.value || (e.value = !0, i("opened"));
|
|
34
|
-
}
|
|
35
|
-
function p() {
|
|
36
|
-
e.value && (e.value = !1, i("closed"));
|
|
37
|
-
}
|
|
38
|
-
function r() {
|
|
39
|
-
return e.value ? p() : o();
|
|
40
|
-
}
|
|
41
|
-
return m(
|
|
42
|
-
() => t.collapsed,
|
|
43
|
-
(n) => {
|
|
44
|
-
n ? p() : o();
|
|
45
|
-
}
|
|
46
|
-
), (n, S) => {
|
|
47
|
-
const f = v("wt-icon");
|
|
48
|
-
return x(), _("div", {
|
|
49
|
-
class: s([[`wt-expansion-panel--${t.size}`], "wt-expansion-panel"])
|
|
50
|
-
}, [
|
|
51
|
-
a("div", {
|
|
52
|
-
class: s([[t.size === "sm" ? "typo-subtitle-2" : "typo-subtitle-1"], "wt-expansion-panel-header"]),
|
|
53
|
-
tabindex: "0",
|
|
54
|
-
onClick: r,
|
|
55
|
-
onKeypress: y(r, ["enter"])
|
|
56
|
-
}, [
|
|
57
|
-
l(n.$slots, "title", {}, void 0, !0),
|
|
58
|
-
a("div", k, [
|
|
59
|
-
l(n.$slots, "actions", g(z({ open: o, opened: e.value })), void 0, !0),
|
|
60
|
-
c(f, {
|
|
61
|
-
class: s([{ "wt-expansion-panel-arrow--opened": e.value }, "wt-expansion-panel-arrow"]),
|
|
62
|
-
icon: "arrow-right"
|
|
63
|
-
}, null, 8, ["class"])
|
|
64
|
-
])
|
|
65
|
-
], 34),
|
|
66
|
-
h(c($, null, {
|
|
67
|
-
default: b(() => [
|
|
68
|
-
a("div", B, [
|
|
69
|
-
l(n.$slots, "default", {}, void 0, !0)
|
|
70
|
-
])
|
|
71
|
-
], void 0, !0),
|
|
72
|
-
_: 3
|
|
73
|
-
}, 512), [
|
|
74
|
-
[C, e.value]
|
|
75
|
-
])
|
|
76
|
-
], 2);
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
}, V = /* @__PURE__ */ E(P, [["__scopeId", "data-v-fa25d886"]]);
|
|
80
|
-
export {
|
|
81
|
-
V as default
|
|
82
|
-
};
|