@textback/notification-widget 2.0.3 → 2.0.4-110501

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.
Files changed (126) hide show
  1. package/build/index.js +12 -0
  2. package/{release/builds/textback/notificationwidget/build → build}/sdk.js +2 -2
  3. package/package.json +2 -2
  4. package/src/widget/components/tb-notification-widget/index.js +22 -6
  5. package/src/widget/components/tb-nw-wahunter/index.js +4 -2
  6. package/src/widget/icons/tb-logo-dark-en.svg +17 -0
  7. package/src/widget/icons/tb-logo-dark-ru.svg +17 -0
  8. package/src/widget/icons/tb-logo-dark.svg +16 -0
  9. package/src/widget/icons/tb-logo-light-en.svg +17 -0
  10. package/src/widget/icons/tb-logo-light-ru.svg +17 -0
  11. package/src/widget/icons/tb-logo-white.svg +16 -0
  12. package/src/widget/icons/tb-logo.svg +15 -20
  13. package/release/builds/textback/notificationwidget/.eslintrc.js +0 -291
  14. package/release/builds/textback/notificationwidget/.gitlab-ci.yml +0 -34
  15. package/release/builds/textback/notificationwidget/build/index.js +0 -12
  16. package/release/builds/textback/notificationwidget/package-lock.json +0 -9985
  17. package/release/builds/textback/notificationwidget/package.json +0 -70
  18. package/release/builds/textback/notificationwidget/promote_tag.sh +0 -2
  19. package/release/builds/textback/notificationwidget/readme.md +0 -569
  20. package/release/builds/textback/notificationwidget/server.js +0 -224
  21. package/release/builds/textback/notificationwidget/src/libraries/ai.1.0.11.js +0 -4089
  22. package/release/builds/textback/notificationwidget/src/libraries/localization/getLocale.js +0 -17
  23. package/release/builds/textback/notificationwidget/src/libraries/localization/locales/.tern-port +0 -1
  24. package/release/builds/textback/notificationwidget/src/libraries/localization/locales/cs.js +0 -23
  25. package/release/builds/textback/notificationwidget/src/libraries/localization/locales/en.js +0 -23
  26. package/release/builds/textback/notificationwidget/src/libraries/localization/locales/index.js +0 -9
  27. package/release/builds/textback/notificationwidget/src/libraries/localization/locales/pl.js +0 -23
  28. package/release/builds/textback/notificationwidget/src/libraries/localization/locales/ro.js +0 -23
  29. package/release/builds/textback/notificationwidget/src/libraries/localization/locales/ru.js +0 -22
  30. package/release/builds/textback/notificationwidget/src/libraries/localization/locales/uk.js +0 -23
  31. package/release/builds/textback/notificationwidget/src/libraries/localization/text.js +0 -9
  32. package/release/builds/textback/notificationwidget/src/libraries/t.js +0 -82
  33. package/release/builds/textback/notificationwidget/src/sdk/channels/channel.js +0 -31
  34. package/release/builds/textback/notificationwidget/src/sdk/channels/facebook.js +0 -13
  35. package/release/builds/textback/notificationwidget/src/sdk/channels/factory.js +0 -34
  36. package/release/builds/textback/notificationwidget/src/sdk/channels/skype.js +0 -13
  37. package/release/builds/textback/notificationwidget/src/sdk/channels/telegram.js +0 -18
  38. package/release/builds/textback/notificationwidget/src/sdk/channels/viber.js +0 -13
  39. package/release/builds/textback/notificationwidget/src/sdk/channels/vk-modal/vk-modal.html +0 -17
  40. package/release/builds/textback/notificationwidget/src/sdk/channels/vk-modal/vk-modal.js +0 -25
  41. package/release/builds/textback/notificationwidget/src/sdk/channels/vk-modal/vk-modal.scss +0 -116
  42. package/release/builds/textback/notificationwidget/src/sdk/channels/vk.js +0 -195
  43. package/release/builds/textback/notificationwidget/src/sdk/channels/whatsapp.js +0 -27
  44. package/release/builds/textback/notificationwidget/src/sdk/channels/whatsappb.js +0 -27
  45. package/release/builds/textback/notificationwidget/src/sdk/events/observer.js +0 -46
  46. package/release/builds/textback/notificationwidget/src/sdk/index.js +0 -6
  47. package/release/builds/textback/notificationwidget/src/sdk/sdk.entry.js +0 -1
  48. package/release/builds/textback/notificationwidget/src/sdk/sdk.js +0 -67
  49. package/release/builds/textback/notificationwidget/src/sdk/utils/apiErrorHandler.js +0 -12
  50. package/release/builds/textback/notificationwidget/src/sdk/utils/appInsights.js +0 -88
  51. package/release/builds/textback/notificationwidget/src/sdk/utils/browserInfo.js +0 -9
  52. package/release/builds/textback/notificationwidget/src/sdk/utils/constants.js +0 -18
  53. package/release/builds/textback/notificationwidget/src/sdk/utils/cookies.js +0 -67
  54. package/release/builds/textback/notificationwidget/src/sdk/utils/find.js +0 -8
  55. package/release/builds/textback/notificationwidget/src/sdk/utils/loadConfig.js +0 -21
  56. package/release/builds/textback/notificationwidget/src/sdk/utils/loadDeepLink.js +0 -48
  57. package/release/builds/textback/notificationwidget/src/sdk/utils/loadScript.js +0 -26
  58. package/release/builds/textback/notificationwidget/src/sdk/utils/loadSubscriptions.js +0 -6
  59. package/release/builds/textback/notificationwidget/src/sdk/utils/parseQueryString.js +0 -34
  60. package/release/builds/textback/notificationwidget/src/sdk/utils/windowHelper.js +0 -25
  61. package/release/builds/textback/notificationwidget/src/sdk/widget/widget.js +0 -192
  62. package/release/builds/textback/notificationwidget/src/widget/components/index.js +0 -52
  63. package/release/builds/textback/notificationwidget/src/widget/components/tb-notification-button/facebook.js +0 -55
  64. package/release/builds/textback/notificationwidget/src/widget/components/tb-notification-button/index.js +0 -35
  65. package/release/builds/textback/notificationwidget/src/widget/components/tb-notification-button/styles.scss +0 -657
  66. package/release/builds/textback/notificationwidget/src/widget/components/tb-notification-button/telegram.js +0 -55
  67. package/release/builds/textback/notificationwidget/src/widget/components/tb-notification-button/viber.js +0 -57
  68. package/release/builds/textback/notificationwidget/src/widget/components/tb-notification-button/vk.js +0 -92
  69. package/release/builds/textback/notificationwidget/src/widget/components/tb-notification-button/whatsapp.js +0 -58
  70. package/release/builds/textback/notificationwidget/src/widget/components/tb-notification-button/whatsappb.js +0 -58
  71. package/release/builds/textback/notificationwidget/src/widget/components/tb-notification-widget/index.js +0 -678
  72. package/release/builds/textback/notificationwidget/src/widget/components/tb-notification-widget/normalize.scss +0 -395
  73. package/release/builds/textback/notificationwidget/src/widget/components/tb-notification-widget/styles.scss +0 -543
  74. package/release/builds/textback/notificationwidget/src/widget/components/tb-nw-wahunter/index.js +0 -259
  75. package/release/builds/textback/notificationwidget/src/widget/components/tb-nw-wahunter/styles.scss +0 -471
  76. package/release/builds/textback/notificationwidget/src/widget/config.js +0 -5
  77. package/release/builds/textback/notificationwidget/src/widget/icons/bell-icon.png +0 -0
  78. package/release/builds/textback/notificationwidget/src/widget/icons/broadcast-icon.png +0 -0
  79. package/release/builds/textback/notificationwidget/src/widget/icons/icon_chat_window.svg +0 -1
  80. package/release/builds/textback/notificationwidget/src/widget/icons/icon_close.svg +0 -1
  81. package/release/builds/textback/notificationwidget/src/widget/icons/icon_facebook.svg +0 -7
  82. package/release/builds/textback/notificationwidget/src/widget/icons/icon_facebook_circle.svg +0 -7
  83. package/release/builds/textback/notificationwidget/src/widget/icons/icon_instagram_circle.svg +0 -96
  84. package/release/builds/textback/notificationwidget/src/widget/icons/icon_skype.svg +0 -44
  85. package/release/builds/textback/notificationwidget/src/widget/icons/icon_skype_circle.svg +0 -46
  86. package/release/builds/textback/notificationwidget/src/widget/icons/icon_skype_new.svg +0 -114
  87. package/release/builds/textback/notificationwidget/src/widget/icons/icon_tg.svg +0 -25
  88. package/release/builds/textback/notificationwidget/src/widget/icons/icon_tg_circle.svg +0 -17
  89. package/release/builds/textback/notificationwidget/src/widget/icons/icon_viber.svg +0 -75
  90. package/release/builds/textback/notificationwidget/src/widget/icons/icon_viber_circle.svg +0 -67
  91. package/release/builds/textback/notificationwidget/src/widget/icons/icon_viber_new.svg +0 -102
  92. package/release/builds/textback/notificationwidget/src/widget/icons/icon_vk.svg +0 -14
  93. package/release/builds/textback/notificationwidget/src/widget/icons/icon_vk_circle.svg +0 -16
  94. package/release/builds/textback/notificationwidget/src/widget/icons/icon_whatsapp.svg +0 -147
  95. package/release/builds/textback/notificationwidget/src/widget/icons/icon_whatsapp_circle.svg +0 -4
  96. package/release/builds/textback/notificationwidget/src/widget/icons/icon_whatsapp_hollow.svg +0 -128
  97. package/release/builds/textback/notificationwidget/src/widget/icons/icon_whatsapp_new.svg +0 -127
  98. package/release/builds/textback/notificationwidget/src/widget/icons/icon_whatsappb.svg +0 -147
  99. package/release/builds/textback/notificationwidget/src/widget/icons/icon_whatsappb_circle.svg +0 -4
  100. package/release/builds/textback/notificationwidget/src/widget/icons/icon_whatsappb_new.svg +0 -127
  101. package/release/builds/textback/notificationwidget/src/widget/icons/paper-plane-arrow.svg +0 -3
  102. package/release/builds/textback/notificationwidget/src/widget/icons/paper-plane-icon.png +0 -0
  103. package/release/builds/textback/notificationwidget/src/widget/icons/tb-logo.svg +0 -21
  104. package/release/builds/textback/notificationwidget/src/widget/index.js +0 -29
  105. package/release/builds/textback/notificationwidget/src/widget/locales/cs.js +0 -42
  106. package/release/builds/textback/notificationwidget/src/widget/locales/en.js +0 -42
  107. package/release/builds/textback/notificationwidget/src/widget/locales/index.js +0 -9
  108. package/release/builds/textback/notificationwidget/src/widget/locales/pl.js +0 -42
  109. package/release/builds/textback/notificationwidget/src/widget/locales/ro.js +0 -41
  110. package/release/builds/textback/notificationwidget/src/widget/locales/ru.js +0 -41
  111. package/release/builds/textback/notificationwidget/src/widget/locales/uk.js +0 -41
  112. package/release/builds/textback/notificationwidget/src/widget/utils/cookiesEx.js +0 -41
  113. package/release/builds/textback/notificationwidget/src/widget/utils/getLocale.js +0 -17
  114. package/release/builds/textback/notificationwidget/src/widget/utils/stringifyAttributes.js +0 -19
  115. package/release/builds/textback/notificationwidget/src/widget/utils/text.js +0 -10
  116. package/release/builds/textback/notificationwidget/src/widget/utils/widgetsStorage.js +0 -28
  117. package/release/builds/textback/notificationwidget/src/widget/widget.entry.js +0 -3
  118. package/release/builds/textback/notificationwidget/tests/gf.html +0 -35
  119. package/release/builds/textback/notificationwidget/tests/gf.js +0 -22
  120. package/release/builds/textback/notificationwidget/tests/index.js +0 -62
  121. package/release/builds/textback/notificationwidget/views/examples.ejs +0 -51
  122. package/release/builds/textback/notificationwidget/views/sdk.html +0 -274
  123. package/release/builds/textback/notificationwidget/webpack.common.js +0 -72
  124. package/release/builds/textback/notificationwidget/webpack.dev.js +0 -15
  125. package/release/builds/textback/notificationwidget/webpack.prod.js +0 -10
  126. package/widget.tar.gz +0 -0
@@ -1,395 +0,0 @@
1
- /*based on*/
2
- /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
3
- tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inner {
4
- /**
5
- * Correct the font size and margin on `h1` elements within `section` and
6
- * `article` contexts in Chrome, Firefox, and Safari.
7
- */
8
-
9
- h1 {
10
- font-size: 2em;
11
- margin: 0.67em 0;
12
- }
13
-
14
- /* Grouping content
15
- ========================================================================== */
16
-
17
- /**
18
- * Add the correct display in IE 9-.
19
- * 1. Add the correct display in IE.
20
- */
21
-
22
- figcaption,
23
- figure,
24
- main { /* 1 */
25
- display: block;
26
- }
27
-
28
- /**
29
- * 1. Add the correct box sizing in Firefox.
30
- * 2. Show the overflow in Edge and IE.
31
- */
32
-
33
- hr {
34
- box-sizing: content-box; /* 1 */
35
- height: 0; /* 1 */
36
- overflow: visible; /* 2 */
37
- }
38
-
39
- /**
40
- * 1. Correct the inheritance and scaling of font size in all browsers.
41
- * 2. Correct the odd `em` font sizing in all browsers.
42
- */
43
-
44
- pre {
45
- font-family: monospace, monospace; /* 1 */
46
- font-size: 1em; /* 2 */
47
- }
48
-
49
- /* Text-level semantics
50
- ========================================================================== */
51
-
52
- /**
53
- * 1. Remove the gray background on active links in IE 10.
54
- * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
55
- */
56
-
57
- a {
58
- background-color: transparent; /* 1 */
59
- -webkit-text-decoration-skip: objects; /* 2 */
60
- }
61
-
62
- /**
63
- * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
64
- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
65
- */
66
-
67
- abbr[title] {
68
- border-bottom: none; /* 1 */
69
- text-decoration: underline; /* 2 */
70
- text-decoration: underline dotted; /* 2 */
71
- }
72
-
73
- /**
74
- * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
75
- */
76
-
77
- b,
78
- strong {
79
- font-weight: inherit;
80
- }
81
-
82
- /**
83
- * Add the correct font weight in Chrome, Edge, and Safari.
84
- */
85
-
86
- b,
87
- strong {
88
- font-weight: bolder;
89
- }
90
-
91
- /**
92
- * 1. Correct the inheritance and scaling of font size in all browsers.
93
- * 2. Correct the odd `em` font sizing in all browsers.
94
- */
95
-
96
- code,
97
- kbd,
98
- samp {
99
- font-family: monospace, monospace; /* 1 */
100
- font-size: 1em; /* 2 */
101
- }
102
-
103
- /**
104
- * Add the correct font style in Android 4.3-.
105
- */
106
-
107
- dfn {
108
- font-style: italic;
109
- }
110
-
111
- /**
112
- * Add the correct background and color in IE 9-.
113
- */
114
-
115
- mark {
116
- background-color: #ff0;
117
- color: #000;
118
- }
119
-
120
- /**
121
- * Add the correct font size in all browsers.
122
- */
123
-
124
- small {
125
- font-size: 80%;
126
- }
127
-
128
- /**
129
- * Prevent `sub` and `sup` elements from affecting the line height in
130
- * all browsers.
131
- */
132
-
133
- sub,
134
- sup {
135
- font-size: 75%;
136
- line-height: 0;
137
- position: relative;
138
- vertical-align: baseline;
139
- }
140
-
141
- sub {
142
- bottom: -0.25em;
143
- }
144
-
145
- sup {
146
- top: -0.5em;
147
- }
148
-
149
- /* Embedded content
150
- ========================================================================== */
151
-
152
- /**
153
- * Add the correct display in IE 9-.
154
- */
155
-
156
- audio,
157
- video {
158
- display: inline-block;
159
- }
160
-
161
- /**
162
- * Add the correct display in iOS 4-7.
163
- */
164
-
165
- audio:not([controls]) {
166
- display: none;
167
- height: 0;
168
- }
169
-
170
- /**
171
- * Remove the border on images inside links in IE 10-.
172
- */
173
-
174
- img {
175
- border-style: none;
176
- }
177
-
178
- /**
179
- * Hide the overflow in IE.
180
- */
181
-
182
- svg:not(:root) {
183
- overflow: hidden;
184
- }
185
-
186
- /* Forms
187
- ========================================================================== */
188
-
189
- /**
190
- * 1. Change the font styles in all browsers (opinionated).
191
- * 2. Remove the margin in Firefox and Safari.
192
- */
193
-
194
- button,
195
- input,
196
- optgroup,
197
- select,
198
- textarea {
199
- font-family: sans-serif; /* 1 */
200
- font-size: 100%; /* 1 */
201
- line-height: 1.15; /* 1 */
202
- margin: 0; /* 2 */
203
- }
204
-
205
- /**
206
- * Show the overflow in IE.
207
- * 1. Show the overflow in Edge.
208
- */
209
-
210
- button,
211
- input { /* 1 */
212
- overflow: visible;
213
- }
214
-
215
- /**
216
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
217
- * 1. Remove the inheritance of text transform in Firefox.
218
- */
219
-
220
- button,
221
- select { /* 1 */
222
- text-transform: none;
223
- }
224
-
225
- /**
226
- * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
227
- * controls in Android 4.
228
- * 2. Correct the inability to style clickable types in iOS and Safari.
229
- */
230
-
231
- button,
232
- html [type="button"], /* 1 */
233
- [type="reset"],
234
- [type="submit"] {
235
- -webkit-appearance: button; /* 2 */
236
- }
237
-
238
- /**
239
- * Remove the inner border and padding in Firefox.
240
- */
241
-
242
- button::-moz-focus-inner,
243
- [type="button"]::-moz-focus-inner,
244
- [type="reset"]::-moz-focus-inner,
245
- [type="submit"]::-moz-focus-inner {
246
- border-style: none;
247
- padding: 0;
248
- }
249
-
250
- /**
251
- * Restore the focus styles unset by the previous rule.
252
- */
253
-
254
- button:-moz-focusring,
255
- [type="button"]:-moz-focusring,
256
- [type="reset"]:-moz-focusring,
257
- [type="submit"]:-moz-focusring {
258
- outline: 1px dotted ButtonText;
259
- }
260
-
261
- /**
262
- * Correct the padding in Firefox.
263
- */
264
-
265
- fieldset {
266
- padding: 0.35em 0.75em 0.625em;
267
- }
268
-
269
- /**
270
- * 1. Correct the text wrapping in Edge and IE.
271
- * 2. Correct the color inheritance from `fieldset` elements in IE.
272
- * 3. Remove the padding so developers are not caught out when they zero out
273
- * `fieldset` elements in all browsers.
274
- */
275
-
276
- legend {
277
- box-sizing: border-box; /* 1 */
278
- color: inherit; /* 2 */
279
- display: table; /* 1 */
280
- max-width: 100%; /* 1 */
281
- padding: 0; /* 3 */
282
- white-space: normal; /* 1 */
283
- }
284
-
285
- /**
286
- * 1. Add the correct display in IE 9-.
287
- * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
288
- */
289
-
290
- progress {
291
- display: inline-block; /* 1 */
292
- vertical-align: baseline; /* 2 */
293
- }
294
-
295
- /**
296
- * Remove the default vertical scrollbar in IE.
297
- */
298
-
299
- textarea {
300
- overflow: auto;
301
- }
302
-
303
- /**
304
- * 1. Add the correct box sizing in IE 10-.
305
- * 2. Remove the padding in IE 10-.
306
- */
307
-
308
- [type="checkbox"],
309
- [type="radio"] {
310
- box-sizing: border-box; /* 1 */
311
- padding: 0; /* 2 */
312
- opacity: 1;
313
- }
314
-
315
- /**
316
- * Correct the cursor style of increment and decrement buttons in Chrome.
317
- */
318
-
319
- [type="number"]::-webkit-inner-spin-button,
320
- [type="number"]::-webkit-outer-spin-button {
321
- height: auto;
322
- }
323
-
324
- /**
325
- * 1. Correct the odd appearance in Chrome and Safari.
326
- * 2. Correct the outline style in Safari.
327
- */
328
-
329
- [type="search"] {
330
- -webkit-appearance: textfield; /* 1 */
331
- outline-offset: -2px; /* 2 */
332
- }
333
-
334
- /**
335
- * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
336
- */
337
-
338
- [type="search"]::-webkit-search-cancel-button,
339
- [type="search"]::-webkit-search-decoration {
340
- -webkit-appearance: none;
341
- }
342
-
343
- /**
344
- * 1. Correct the inability to style clickable types in iOS and Safari.
345
- * 2. Change font properties to `inherit` in Safari.
346
- */
347
-
348
- ::-webkit-file-upload-button {
349
- -webkit-appearance: button; /* 1 */
350
- font: inherit; /* 2 */
351
- }
352
-
353
- /* Interactive
354
- ========================================================================== */
355
-
356
- /*
357
- * Add the correct display in IE 9-.
358
- * 1. Add the correct display in Edge, IE, and Firefox.
359
- */
360
-
361
- details, /* 1 */
362
- menu {
363
- display: block;
364
- }
365
-
366
- /*
367
- * Add the correct display in all browsers.
368
- */
369
-
370
- summary {
371
- display: list-item;
372
- }
373
-
374
- /* Scripting
375
- ========================================================================== */
376
-
377
- /**
378
- * Add the correct display in IE.
379
- */
380
-
381
- template {
382
- display: none;
383
- }
384
-
385
- /* Hidden
386
- ========================================================================== */
387
-
388
- /**
389
- * Add the correct display in IE 10-.
390
- */
391
-
392
- [hidden] {
393
- display: none;
394
- }
395
- }