@webitel/ui-sdk 1.0.45 → 1.0.46
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/img/sprite/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./account.svg";import"./adfs.svg";import"./app-navigator.svg";import"./arrow-down.svg";import"./arrow-left.svg";import"./arrow-right.svg";import"./arrow-up.svg";import"./attach.svg";import"./attention.svg";import"./back.svg";import"./bell.svg";import"./bell-badged.svg";import"./bucket.svg";import"./calendar.svg";import"./call.svg";import"./call--filled.svg";import"./call-add-to.svg";import"./call-add-to--filled.svg";import"./call-disconnect.svg";import"./call-disconnect--filled.svg";import"./call-end.svg";import"./call-end--filled.svg";import"./call-inbound.svg";import"./call-inbound--filled.svg";import"./call-missed.svg";import"./call-missed--filled.svg";import"./call-outbound.svg";import"./call-outbound--filled.svg";import"./call-ringing.svg";import"./call-ringing--filled.svg";import"./call-transfer.svg";import"./call-transfer--filled.svg";import"./chat.svg";import"./chat--filled.svg";import"./chat-emoji.svg";import"./chat-end.svg";import"./chat-end--filled.svg";import"./chat-group.svg";import"./chat-join.svg";import"./chat-message-status-read.svg";import"./chat-message-status-sent.svg";import"./chat-quick-response.svg";import"./chat-quick-response--filled.svg";import"./chat-reply.svg";import"./chat-send.svg";import"./chat-transfer.svg";import"./chat-transfer--filled.svg";import"./checkbox.svg";import"./checkbox--checked.svg";import"./checkbox--checked--filled.svg";import"./clear.svg";import"./close.svg";import"./close--filled.svg";import"./collapse.svg";import"./column-select.svg";import"./contacts.svg";import"./copy.svg";import"./docs.svg";import"./download.svg";import"./edit.svg";import"./expand.svg";import"./eye--closed.svg";import"./eye--opened.svg";import"./filter.svg";import"./generate.svg";import"./google.svg";import"./history.svg";import"./hold.svg";import"./lock.svg";import"./logout.svg";import"./menu.svg";import"./mail.svg";import"./mail--color.svg";import"./messenger-facebook.svg";import"./messenger-facebook--filled.svg";import"./messenger-infobip.svg";import"./messenger-telegram.svg";import"./messenger-telegram--filled.svg";import"./messenger-viber.svg";import"./messenger-viber--filled.svg";import"./messenger-web-chat.svg";import"./messenger-whatsapp.svg";import"./messenger-whatsapp--filled.svg";import"./mic.svg";import"./mic-muted.svg";import"./move.svg";import"./note.svg";import"./numpad.svg";import"./pause.svg";import"./play.svg";import"./plus.svg";import"./prompter.svg";import"./queue-member.svg";import"./radio.svg";import"./radio--checked.svg";import"./rec.svg";import"./rec-off.svg";import"./refresh.svg";import"./rounded-info.svg";import"./done.svg";import"./search.svg";import"./send-arrow.svg";import"./settings.svg";import"./sort-arrow-down.svg";import"./sort-arrow-up.svg";import"./sound-off.svg";import"./sound-on.svg";import"./star.svg";import"./star--filled.svg";import"./stop.svg";import"./tick.svg";import"./upload.svg";import"./video-off.svg";import"./video.svg";import"./zoom-in.svg";import"./zoom-out.svg";
|
|
1
|
+
import"./account.svg";import"./adfs.svg";import"./app-navigator.svg";import"./arrow-down.svg";import"./arrow-left.svg";import"./arrow-right.svg";import"./arrow-up.svg";import"./attach.svg";import"./attention.svg";import"./back.svg";import"./bell.svg";import"./bell-badged.svg";import"./bucket.svg";import"./calendar.svg";import"./call.svg";import"./call--filled.svg";import"./call-add-to.svg";import"./call-add-to--filled.svg";import"./call-disconnect.svg";import"./call-disconnect--filled.svg";import"./call-end.svg";import"./call-end--filled.svg";import"./call-inbound.svg";import"./call-inbound--filled.svg";import"./call-missed.svg";import"./call-missed--filled.svg";import"./call-outbound.svg";import"./call-outbound--filled.svg";import"./call-ringing.svg";import"./call-ringing--filled.svg";import"./call-transfer.svg";import"./call-transfer--filled.svg";import"./chat.svg";import"./chat--filled.svg";import"./chat-emoji.svg";import"./chat-end.svg";import"./chat-end--filled.svg";import"./chat-group.svg";import"./chat-join.svg";import"./chat-message-status-read.svg";import"./chat-message-status-sent.svg";import"./chat-quick-response.svg";import"./chat-quick-response--filled.svg";import"./chat-reply.svg";import"./chat-send.svg";import"./chat-transfer.svg";import"./chat-transfer--filled.svg";import"./checkbox.svg";import"./checkbox--checked.svg";import"./checkbox--checked--filled.svg";import"./clear.svg";import"./close.svg";import"./close--filled.svg";import"./collapse.svg";import"./column-select.svg";import"./contacts.svg";import"./copy.svg";import"./docs.svg";import"./download.svg";import"./edit.svg";import"./expand.svg";import"./eye--closed.svg";import"./eye--opened.svg";import"./filter.svg";import"./generate.svg";import"./google.svg";import"./history.svg";import"./hold.svg";import"./lock.svg";import"./logout.svg";import"./menu.svg";import"./mail.svg";import"./mail--color.svg";import"./messenger-facebook.svg";import"./messenger-facebook--filled.svg";import"./messenger-infobip.svg";import"./messenger-telegram.svg";import"./messenger-telegram--filled.svg";import"./messenger-viber.svg";import"./messenger-viber--filled.svg";import"./messenger-web-chat.svg";import"./messenger-whatsapp.svg";import"./messenger-whatsapp--filled.svg";import"./messenger-messenger.svg";import"./mic.svg";import"./mic-muted.svg";import"./move.svg";import"./note.svg";import"./numpad.svg";import"./pause.svg";import"./play.svg";import"./plus.svg";import"./prompter.svg";import"./queue-member.svg";import"./radio.svg";import"./radio--checked.svg";import"./rec.svg";import"./rec-off.svg";import"./refresh.svg";import"./rounded-info.svg";import"./done.svg";import"./search.svg";import"./send-arrow.svg";import"./settings.svg";import"./sort-arrow-down.svg";import"./sort-arrow-up.svg";import"./sound-off.svg";import"./sound-on.svg";import"./star.svg";import"./star--filled.svg";import"./stop.svg";import"./tick.svg";import"./upload.svg";import"./video-off.svg";import"./video.svg";import"./zoom-in.svg";import"./zoom-out.svg";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 1C5.80425 1 1 5.54026 1 11.67C1 14.8765 2.3145 17.6485 4.454 19.5625C4.63275 19.7221 4.74275 19.9476 4.74825 20.1896L4.80875 22.1476C4.81316 22.2916 4.85288 22.4324 4.92443 22.5575C4.99599 22.6826 5.09718 22.7883 5.21911 22.8651C5.34105 22.942 5.47999 22.9877 5.62374 22.9983C5.76748 23.0089 5.91163 22.984 6.0435 22.9258L8.227 21.9633C8.41125 21.8808 8.62025 21.8671 8.8155 21.9193C9.81925 22.1943 10.8863 22.3428 12 22.3428C18.1958 22.3428 23 17.8025 23 11.6728C23 5.54301 18.1958 1 12 1Z" fill="url(#paint0_radial_3780_7749)"/>
|
|
3
|
+
<path d="M5.3943 14.7912L8.62553 9.66517C8.74709 9.47218 8.90734 9.30649 9.09616 9.17855C9.28498 9.05062 9.49827 8.96322 9.72257 8.92187C9.94687 8.88052 10.1773 8.88613 10.3993 8.93833C10.6214 8.99054 10.8302 9.08821 11.0125 9.22517L13.5838 11.1529C13.6986 11.2389 13.8382 11.2851 13.9816 11.2846C14.125 11.2841 14.2643 11.2369 14.3785 11.1502L17.849 8.51567C18.311 8.16367 18.916 8.71917 18.608 9.21142L15.374 14.3347C15.2525 14.5277 15.0922 14.6934 14.9034 14.8213C14.7146 14.9492 14.5013 15.0366 14.277 15.078C14.0527 15.1193 13.8222 15.1137 13.6002 15.0615C13.3782 15.0093 13.1694 14.9116 12.987 14.7747L10.4158 12.8469C10.301 12.761 10.1613 12.7148 10.0179 12.7153C9.87455 12.7158 9.73522 12.7629 9.62103 12.8497L6.15054 15.4842C5.68855 15.8362 5.08355 15.2834 5.3943 14.7912V14.7912Z" fill="white"/>
|
|
4
|
+
<defs>
|
|
5
|
+
<radialGradient id="paint0_radial_3780_7749" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(4.685 23.0001) scale(24.2)">
|
|
6
|
+
<stop stop-color="#0099FF"/>
|
|
7
|
+
<stop offset="0.6" stop-color="#A033FF"/>
|
|
8
|
+
<stop offset="0.9" stop-color="#FF5280"/>
|
|
9
|
+
<stop offset="1" stop-color="#FF7061"/>
|
|
10
|
+
</radialGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowMount, mount, createLocalVue } from '@vue/test-utils';
|
|
2
|
-
import FloatingVue from 'floating-vue';
|
|
2
|
+
import FloatingVue, { Dropdown, Popper } from 'floating-vue';
|
|
3
3
|
import WtDatetimepicker from '../wt-datetimepicker.vue';
|
|
4
4
|
import WtLabel from '../../wt-label/wt-label.vue';
|
|
5
5
|
import WtIcon from '../../../atoms/wt-icon/wt-icon.vue';
|
|
@@ -50,28 +50,30 @@ describe('WtDatetimepicker', () => {
|
|
|
50
50
|
expect(wrapper.find('.wt-datetimepicker__form').isVisible()).toBe(true);
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
53
|
+
// dunno how to test content of VDropdown popper template :(
|
|
54
|
+
// it('Triggers change event after button "add" click', async () => {
|
|
55
|
+
// const now = Date.now();
|
|
56
|
+
// const wrapper = mount(WtDatetimepicker, {
|
|
57
|
+
// localVue,
|
|
58
|
+
// stubs: {
|
|
59
|
+
// WtLabel,
|
|
60
|
+
// WtIcon,
|
|
61
|
+
// WtButton,
|
|
62
|
+
// VDropdown: Dropdown,
|
|
63
|
+
// WtTimepicker: true,
|
|
64
|
+
// },
|
|
65
|
+
// propsData: {
|
|
66
|
+
// value: now,
|
|
67
|
+
// },
|
|
68
|
+
// });
|
|
69
|
+
// wrapper.setData({ isOpened: true });
|
|
70
|
+
// // wrapper.find('.wt-datetimepicker__preview').trigger('keyup.enter');
|
|
71
|
+
// await wrapper.vm.$nextTick();
|
|
72
|
+
// await wrapper.vm.$nextTick();
|
|
73
|
+
// await wrapper.vm.$nextTick();
|
|
74
|
+
// console.info(wrapper.html());
|
|
75
|
+
// expect(wrapper.find('.wt-datetimepicker__form').exists()).toBe(true);
|
|
76
|
+
// wrapper.find('.wt-datetimepicker__actions > .wt-button').trigger('click');
|
|
77
|
+
// expect(wrapper.emitted().change.pop()).toEqual([now]);
|
|
78
|
+
// });
|
|
77
79
|
});
|