@webitel/ui-sdk 26.6.46 → 26.6.48
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/{components-gi3TmScp.js → components-BvEqkYgM.js} +575 -606
- package/dist/{composables-BJtyGE9D.js → composables-BB80tQ5H.js} +1 -1
- package/dist/{debounce-DrmECuJ2.js → debounce-DPzXwiOS.js} +9 -4
- package/dist/eventBus-By3thVlR.js +31 -0
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +5015 -4022
- package/dist/ui-sdk.umd.cjs +918 -628
- package/dist/{useVidstackSrc-DfNrFbOO.js → useVidstackSrc-jCDCYTce.js} +1 -1
- package/dist/usetoast-BECIyaas.js +10 -0
- package/dist/{vidstack-Bq6c3Bam-3dCf_D36.js → vidstack-Bq6c3Bam-hoRopLll.js} +1 -1
- package/dist/{vidstack-D2pY00kU-DoW028io.js → vidstack-D2pY00kU-dXPuSPZl.js} +1 -1
- package/dist/{vidstack-audio-B58bvsna.js → vidstack-audio-CCSR8cXr.js} +1 -1
- package/dist/{vidstack-dash-CX-LTHx3.js → vidstack-dash-CNcNULYU.js} +2 -2
- package/dist/{vidstack-hls-CLzdTFu6.js → vidstack-hls-BP6P23Cc.js} +2 -2
- package/dist/{vidstack-video-XtP8iTBc.js → vidstack-video-IgjC6GLU.js} +2 -2
- package/dist/{wt-button-BJmzJIU6.js → wt-button-CZfPNaIj.js} +1 -1
- package/dist/{wt-chat-emoji-70Ip-iGR.js → wt-chat-emoji-D0e2D_oH.js} +571 -553
- package/dist/{wt-display-chip-items-7t7gfd-q.js → wt-display-chip-items-Df-7rB8U.js} +1 -1
- package/dist/{wt-expansion-card-Bvs6YO3O.js → wt-expansion-card-B9GnNWua.js} +1 -1
- package/dist/{wt-galleria-BXZJO_cB.js → wt-galleria-CbkWtFhM.js} +1 -1
- package/dist/{wt-icon-pxO7IjwV.js → wt-icon-DZxZg6ON.js} +2 -0
- package/dist/{wt-icon-btn-CjjI4cgE.js → wt-icon-btn-BUpa-fbk.js} +1 -1
- package/dist/wt-notifications-bar-CDTqa7M9.js +29 -0
- package/dist/{wt-pagination-BA_PZPIE.js → wt-pagination-CZuQFM3-.js} +1 -1
- package/dist/{wt-player-DROQ1CPs.js → wt-player-BxvfY3f0.js} +3 -3
- package/dist/{wt-search-bar-CWZdvAOf.js → wt-search-bar-CyMYRgHH.js} +1 -1
- package/dist/{wt-send-message-popup-Bg1K-tw8.js → wt-send-message-popup-D1z5Kbon.js} +1 -1
- package/dist/{wt-table-D4XANcJ1.js → wt-table-DRNWny3Q.js} +1 -1
- package/dist/wt-toast-m61COwji.js +44 -0
- package/dist/{wt-tree-table-MLET4gIv.js → wt-tree-table-2u2mPfO_.js} +1 -1
- package/dist/{wt-type-extension-value-input-DQhC5C4L.js → wt-type-extension-value-input-D2LEPL22.js} +1 -1
- package/dist/{wt-vidstack-player-CmdiCgCp.js → wt-vidstack-player-DTPlrBiG.js} +9 -9
- package/package.json +1 -1
- package/src/assets/icons/sprite/error.svg +4 -0
- package/src/assets/icons/sprite/index.ts +4 -0
- package/src/assets/icons/sprite/warning.svg +3 -0
- package/src/components/index.js +3 -3
- package/src/components/wt-notifications-bar/__tests__/WtNotificationsBar.spec.js +49 -46
- package/src/components/wt-notifications-bar/wt-notifications-bar.vue +24 -84
- package/src/components/wt-toast/__tests__/WtToast.spec.js +19 -0
- package/src/components/wt-toast/types/index.ts +11 -0
- package/src/components/wt-toast/wt-toast.vue +53 -0
- package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/components/time-group.vue +1 -0
- package/src/css/components-variables.css +0 -1
- package/src/enums/LoginOptions/LoginOptions.ts +7 -0
- package/src/enums/index.ts +2 -0
- package/src/plugins/primevue/primevue.plugin.js +4 -0
- package/src/plugins/primevue/theme/components/components.js +2 -0
- package/src/plugins/primevue/theme/components/toast/toast.js +26 -0
- package/types/components/wt-notifications-bar/wt-notifications-bar.vue.d.ts +1 -12
- package/types/components/wt-player/wt-player.vue.d.ts +1 -1
- package/types/components/wt-toast/types/index.d.ts +7 -0
- package/types/components/wt-toast/wt-toast.vue.d.ts +3 -0
- package/types/enums/LoginOptions/LoginOptions.d.ts +6 -0
- package/types/enums/index.d.ts +2 -1
- package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +5 -5
- package/types/plugins/primevue/theme/components/components.d.ts +2 -0
- package/types/plugins/primevue/theme/components/toast/toast.d.ts +223 -0
- package/dist/isObject-Dgs_L5xI.js +0 -11
- package/dist/logger-hl3ueNok.js +0 -47
- package/dist/wt-notifications-bar-BwO_qvrc.js +0 -52
- package/src/components/wt-notification/__tests__/WtNotification.spec.js +0 -28
- package/src/components/wt-notification/_variables.css +0 -9
- package/src/components/wt-notification/wt-notification.vue +0 -68
- package/types/components/wt-notification/wt-notification.vue.d.ts +0 -18
- /package/types/components/{wt-notification/__tests__/WtNotification.spec.d.ts → wt-toast/__tests__/WtToast.spec.d.ts} +0 -0
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<article class="wt-notification typo-body-1" @click="$emit('close')">
|
|
3
|
-
<wt-icon :color="notificationIconColor" :icon="notificationIcon" class="wt-notification__icon" />
|
|
4
|
-
|
|
5
|
-
<p class="wt-notification__text">
|
|
6
|
-
<slot />
|
|
7
|
-
</p>
|
|
8
|
-
</article>
|
|
9
|
-
</template>
|
|
10
|
-
|
|
11
|
-
<script>
|
|
12
|
-
export default {
|
|
13
|
-
name: 'WtNotification',
|
|
14
|
-
props: {
|
|
15
|
-
type: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: 'success',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
computed: {
|
|
21
|
-
notificationIcon() {
|
|
22
|
-
switch (this.type) {
|
|
23
|
-
case 'info':
|
|
24
|
-
return 'rounded-info';
|
|
25
|
-
case 'error':
|
|
26
|
-
return 'attention';
|
|
27
|
-
case 'warning':
|
|
28
|
-
return 'attention';
|
|
29
|
-
case 'success':
|
|
30
|
-
return 'done';
|
|
31
|
-
default:
|
|
32
|
-
return '';
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
notificationIconColor() {
|
|
36
|
-
return this.type || '';
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
</script>
|
|
41
|
-
|
|
42
|
-
<style scoped>
|
|
43
|
-
.wt-notification {
|
|
44
|
-
display: flex;
|
|
45
|
-
position: relative;
|
|
46
|
-
align-items: flex-start;
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
box-shadow: var(--elevation-1);
|
|
49
|
-
border-radius: var(--border-radius);
|
|
50
|
-
background: var(--wt-notification-bg-color);
|
|
51
|
-
padding: var(--wt-notification-padding);
|
|
52
|
-
width: fit-content;
|
|
53
|
-
min-width: var(--wt-notification-min-width);
|
|
54
|
-
max-width: var(--wt-notification-max-width);
|
|
55
|
-
color: var(--wt-notification-text-color);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.wt-notification__icon {
|
|
59
|
-
flex: 0 0 var(--icon-md-size);
|
|
60
|
-
margin-right: var(--wt-notification-icon-margin);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.wt-notification__text {
|
|
64
|
-
flex-grow: 1;
|
|
65
|
-
align-self: center;
|
|
66
|
-
margin: 0;
|
|
67
|
-
}
|
|
68
|
-
</style>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: typeof __VLS_export;
|
|
2
|
-
export default _default;
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
type: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
}>, {}, {}, {
|
|
9
|
-
notificationIcon(): "" | "done" | "rounded-info" | "attention";
|
|
10
|
-
notificationIconColor(): string;
|
|
11
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
type: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
}>> & Readonly<{}>, {
|
|
17
|
-
type: string;
|
|
18
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|