@jetbrains/ring-ui 4.1.0-beta.9 → 4.1.1

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 (354) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +17 -15
  3. package/babel.config.js +3 -2
  4. package/components/alert/alert.js +9 -3
  5. package/components/alert/container.css +1 -1
  6. package/components/alert-service/alert-service.examples.css +18 -0
  7. package/components/alert-service/alert-service.examples.js +21 -0
  8. package/components/alert-service/alert-service.js +10 -3
  9. package/components/analytics/analytics__fus-plugin.js +1 -1
  10. package/components/auth/auth.test.js +14 -7
  11. package/components/auth/auth__core.js +64 -33
  12. package/components/auth-dialog/auth-dialog.js +1 -0
  13. package/components/avatar/avatar.css +4 -1
  14. package/components/avatar/avatar.examples.js +3 -2
  15. package/components/avatar/avatar.js +31 -6
  16. package/components/avatar/fallback-avatar.js +136 -0
  17. package/components/avatar-editor-ng/avatar-editor-ng.css +2 -2
  18. package/components/avatar-editor-ng/avatar-editor-ng.js +2 -1
  19. package/components/avatar-editor-ng/{avatar-editor-ng.html → avatar-editor-ng__template.js} +2 -2
  20. package/components/button/button.css +2 -2
  21. package/components/button/button.js +4 -1
  22. package/components/button-group/button-group.js +1 -1
  23. package/components/button-group/caption.js +1 -1
  24. package/components/button-ng/button-ng.js +1 -1
  25. package/components/button-set-ng/button-set-ng.js +3 -1
  26. package/components/checkbox/checkbox.css +1 -1
  27. package/components/code/code.js +1 -1
  28. package/components/confirm/confirm.js +1 -0
  29. package/components/confirm-service/confirm-service.js +5 -5
  30. package/components/content-layout/content-layout.css +1 -1
  31. package/components/data-list/data-list.css +1 -1
  32. package/components/date-picker/date-input.js +5 -4
  33. package/components/date-picker/date-picker.css +34 -22
  34. package/components/date-picker/date-picker.js +16 -14
  35. package/components/date-picker/date-popup.js +22 -7
  36. package/components/date-picker/month-names.js +8 -5
  37. package/components/date-picker/month.js +6 -2
  38. package/components/date-picker/weekdays.js +10 -2
  39. package/components/dialog/dialog.examples.js +3 -1
  40. package/components/dialog/dialog.js +5 -2
  41. package/components/dialog/dialog.test.js +1 -1
  42. package/components/dialog/dialog__body-scroll-preventer.js +2 -2
  43. package/components/dialog-ng/dialog-ng.js +7 -8
  44. package/components/dialog-ng/{dialog-ng.html → dialog-ng__template.js} +2 -2
  45. package/components/dropdown/dropdown.examples.js +36 -1
  46. package/components/dropdown-menu/dropdown-menu.examples.js +47 -0
  47. package/components/dropdown-menu/dropdown-menu.js +117 -0
  48. package/components/dropdown-menu/dropdown-menu.test.js +76 -0
  49. package/components/error-bubble/error-bubble-legacy.css +1 -1
  50. package/components/error-bubble/error-bubble.css +1 -1
  51. package/components/error-bubble/error-bubble.examples.js +1 -1
  52. package/components/error-page/error-page.css +2 -2
  53. package/components/footer-ng/footer-ng.js +13 -3
  54. package/components/form/form.css +2 -2
  55. package/components/form-ng/form-ng.js +3 -1
  56. package/components/global/global.css +1 -1
  57. package/components/global/theme.js +1 -1
  58. package/components/global/variables.css +8 -1
  59. package/components/grid/grid.css +10 -9
  60. package/components/header/header.css +1 -1
  61. package/components/header/header.examples.js +7 -8
  62. package/components/header/profile.js +10 -11
  63. package/components/http/http.js +1 -1
  64. package/components/icon/icon.css +5 -4
  65. package/components/island/island.css +4 -3
  66. package/components/island-legacy/island-legacy.css +3 -1
  67. package/components/list/list.js +6 -1
  68. package/components/list/list__custom.js +9 -3
  69. package/components/list/list__item.js +8 -2
  70. package/components/list/list__link.js +2 -1
  71. package/components/loader-inline/loader-inline.css +1 -1
  72. package/components/loader-screen/loader-screen.css +1 -1
  73. package/components/message/message.css +1 -1
  74. package/components/message/message.examples.js +8 -5
  75. package/components/pager/pager.js +5 -3
  76. package/components/permissions/permissions.js +1 -1
  77. package/components/progress-bar/progress-bar.css +1 -1
  78. package/components/progress-bar/progress-bar.examples.js +3 -3
  79. package/components/progress-bar/progress-bar.js +5 -2
  80. package/components/progress-bar/progress-bar.test.js +12 -13
  81. package/components/progress-bar-ng/progress-bar-ng.examples.js +3 -3
  82. package/components/query-assist/query-assist.css +13 -3
  83. package/components/query-assist/query-assist.examples.js +3 -1
  84. package/components/query-assist/query-assist.js +56 -12
  85. package/components/query-assist/query-assist.test.js +37 -5
  86. package/components/save-field-ng/save-field-ng.css +0 -3
  87. package/components/save-field-ng/save-field-ng.js +3 -1
  88. package/components/save-field-ng/{save-field-ng.html → save-field-ng__template.js} +2 -2
  89. package/components/select/select.css +12 -7
  90. package/components/select/select.examples.js +13 -0
  91. package/components/select/select.js +30 -43
  92. package/components/select/select.test.js +4 -5
  93. package/components/shortcuts-hint-ng/shortcuts-hint-ng.css +1 -1
  94. package/components/shortcuts-hint-ng/shortcuts-hint-ng.js +1 -1
  95. package/components/shortcuts-hint-ng/{shortcuts-hint-ng.html → shortcuts-hint-ng__template.js} +2 -2
  96. package/components/sidebar/sidebar.css +1 -0
  97. package/components/sidebar-ng/sidebar-ng.js +6 -2
  98. package/components/sidebar-ng/{sidebar-ng__button.html → sidebar-ng__button-template.js} +2 -2
  99. package/components/sidebar-ng/{sidebar-ng.html → sidebar-ng__template.js} +2 -2
  100. package/components/table/row.js +2 -1
  101. package/components/table/table.css +2 -1
  102. package/components/table-legacy/table-legacy.css +2 -2
  103. package/components/table-legacy/table-legacy__toolbar.css +2 -2
  104. package/components/table-legacy-ng/table-legacy-ng.js +38 -5
  105. package/components/table-legacy-ng/table-legacy-ng__pager.js +7 -1
  106. package/components/tabs/collapsible-tab.js +2 -2
  107. package/components/tabs/collapsible-tabs.js +4 -8
  108. package/components/tabs/tab-link.js +4 -2
  109. package/components/tabs/tabs.css +27 -0
  110. package/components/tabs-ng/tabs-ng.js +4 -2
  111. package/components/tabs-ng/{tabs-ng.html → tabs-ng__template.js} +6 -2
  112. package/components/tag/tag.css +5 -2
  113. package/components/tag/tag.examples.js +3 -0
  114. package/components/tag/tag.js +19 -16
  115. package/components/tags-input/tag-input.examples.js +1 -1
  116. package/components/tags-input/tags-input.js +5 -2
  117. package/components/template-ng/template-ng.js +1 -1
  118. package/components/tooltip/tooltip.js +7 -2
  119. package/components/user-agreement/user-agreement.css +1 -1
  120. package/components/user-agreement/user-agreement.examples.js +7 -4
  121. package/components/user-agreement/user-agreement.js +1 -0
  122. package/package.json +75 -78
  123. package/webpack.config.js +14 -10
  124. package/components/button-set-ng/button-set-ng.html +0 -1
  125. package/components/footer-ng/footer-ng.html +0 -13
  126. package/components/form-ng/form-ng__error-bubble.html +0 -3
  127. package/components/table-legacy-ng/table-legacy-ng.html +0 -4
  128. package/components/table-legacy-ng/table-legacy-ng__column.html +0 -12
  129. package/components/table-legacy-ng/table-legacy-ng__header.html +0 -4
  130. package/components/table-legacy-ng/table-legacy-ng__pager.html +0 -7
  131. package/components/table-legacy-ng/table-legacy-ng__row.html +0 -12
  132. package/components/table-legacy-ng/table-legacy-ng__title.html +0 -9
  133. package/dist/_helpers/_rollupPluginBabelHelpers.js +0 -127
  134. package/dist/_helpers/anchor.js +0 -33
  135. package/dist/_helpers/badge.js +0 -3
  136. package/dist/_helpers/button__classes.js +0 -39
  137. package/dist/_helpers/caption.js +0 -25
  138. package/dist/_helpers/card.js +0 -77
  139. package/dist/_helpers/date-picker.js +0 -3
  140. package/dist/_helpers/dialog__body-scroll-preventer.js +0 -56
  141. package/dist/_helpers/grid.js +0 -3
  142. package/dist/_helpers/header.js +0 -3
  143. package/dist/_helpers/icon__svg.js +0 -83
  144. package/dist/_helpers/inject-styles.js +0 -22
  145. package/dist/_helpers/island.js +0 -3
  146. package/dist/_helpers/list.js +0 -3
  147. package/dist/_helpers/query-assist__suggestions.js +0 -95
  148. package/dist/_helpers/select__filter.js +0 -78
  149. package/dist/_helpers/services-link.js +0 -42
  150. package/dist/_helpers/sidebar.js +0 -127
  151. package/dist/_helpers/table.js +0 -3
  152. package/dist/_helpers/tabs.js +0 -3
  153. package/dist/_helpers/title.js +0 -99
  154. package/dist/alert/alert.js +0 -254
  155. package/dist/alert/container.js +0 -50
  156. package/dist/alert-service/alert-service.js +0 -159
  157. package/dist/analytics/analytics.js +0 -116
  158. package/dist/analytics/analytics__custom-plugin.js +0 -127
  159. package/dist/analytics/analytics__fus-plugin.js +0 -101
  160. package/dist/analytics/analytics__ga-plugin.js +0 -66
  161. package/dist/analytics/analytics__plugin-utils.js +0 -79
  162. package/dist/auth/auth.js +0 -90
  163. package/dist/auth/auth__core.js +0 -987
  164. package/dist/auth/background-flow.js +0 -123
  165. package/dist/auth/down-notification.js +0 -111
  166. package/dist/auth/iframe-flow.js +0 -147
  167. package/dist/auth/landing-entry.js +0 -5
  168. package/dist/auth/landing.js +0 -84
  169. package/dist/auth/request-builder.js +0 -75
  170. package/dist/auth/response-parser.js +0 -117
  171. package/dist/auth/storage.js +0 -279
  172. package/dist/auth/token-validator.js +0 -176
  173. package/dist/auth/window-flow.js +0 -133
  174. package/dist/auth-dialog/auth-dialog.js +0 -132
  175. package/dist/auth-dialog-service/auth-dialog-service.js +0 -67
  176. package/dist/avatar/avatar-example-datauri.js +0 -26
  177. package/dist/avatar/avatar.js +0 -155
  178. package/dist/badge/badge.js +0 -52
  179. package/dist/button/button.js +0 -117
  180. package/dist/button/button__classes.js +0 -5
  181. package/dist/button-group/button-group.js +0 -30
  182. package/dist/button-group/caption.js +0 -5
  183. package/dist/button-set/button-set.js +0 -27
  184. package/dist/button-toolbar/button-toolbar.js +0 -30
  185. package/dist/caret/caret.js +0 -264
  186. package/dist/checkbox/checkbox.js +0 -110
  187. package/dist/confirm/confirm.js +0 -122
  188. package/dist/confirm-service/confirm-service.js +0 -112
  189. package/dist/content-layout/content-layout.js +0 -67
  190. package/dist/content-layout/sidebar.js +0 -6
  191. package/dist/contenteditable/contenteditable.js +0 -81
  192. package/dist/data-list/data-list.js +0 -203
  193. package/dist/data-list/data-list.mock.js +0 -190
  194. package/dist/data-list/item.js +0 -225
  195. package/dist/data-list/selection.js +0 -101
  196. package/dist/data-list/title.js +0 -16
  197. package/dist/date-picker/consts.js +0 -70
  198. package/dist/date-picker/date-input.js +0 -169
  199. package/dist/date-picker/date-picker.js +0 -356
  200. package/dist/date-picker/date-popup.js +0 -459
  201. package/dist/date-picker/day.js +0 -119
  202. package/dist/date-picker/formats.js +0 -3
  203. package/dist/date-picker/month-names.js +0 -92
  204. package/dist/date-picker/month-slider.js +0 -83
  205. package/dist/date-picker/month.js +0 -48
  206. package/dist/date-picker/months.js +0 -121
  207. package/dist/date-picker/weekdays.js +0 -24
  208. package/dist/date-picker/years.js +0 -109
  209. package/dist/dialog/dialog.js +0 -197
  210. package/dist/dialog/dialog__body-scroll-preventer.js +0 -2
  211. package/dist/dropdown/anchor.js +0 -16
  212. package/dist/dropdown/dropdown.js +0 -236
  213. package/dist/error-bubble/error-bubble.js +0 -59
  214. package/dist/error-message/error-message.js +0 -55
  215. package/dist/footer/footer.js +0 -127
  216. package/dist/global/angular-component-factory.js +0 -83
  217. package/dist/global/compose.js +0 -9
  218. package/dist/global/composeRefs.js +0 -15
  219. package/dist/global/conic-gradient.js +0 -37
  220. package/dist/global/create-stateful-context.js +0 -54
  221. package/dist/global/data-tests.js +0 -22
  222. package/dist/global/dom.js +0 -124
  223. package/dist/global/focus-sensor-hoc.js +0 -147
  224. package/dist/global/fuzzy-highlight.js +0 -67
  225. package/dist/global/get-event-key.js +0 -111
  226. package/dist/global/get-uid.js +0 -15
  227. package/dist/global/inject-styles.js +0 -17
  228. package/dist/global/linear-function.js +0 -18
  229. package/dist/global/listeners.js +0 -42
  230. package/dist/global/memoize.js +0 -18
  231. package/dist/global/normalize-indent.js +0 -28
  232. package/dist/global/promise-with-timeout.js +0 -13
  233. package/dist/global/radial-gradient-mask.js +0 -49
  234. package/dist/global/react-dom-renderer.js +0 -45
  235. package/dist/global/rerender-hoc.js +0 -53
  236. package/dist/global/ring-angular-component.js +0 -24
  237. package/dist/global/schedule-raf.js +0 -31
  238. package/dist/global/sniffer.js +0 -6
  239. package/dist/global/supports-css.js +0 -20
  240. package/dist/global/theme.js +0 -56
  241. package/dist/global/trivial-template-tag.js +0 -15
  242. package/dist/global/url.js +0 -163
  243. package/dist/global/variables_dark.js +0 -57
  244. package/dist/grid/col.js +0 -62
  245. package/dist/grid/grid.js +0 -35
  246. package/dist/grid/row.js +0 -66
  247. package/dist/group/group.js +0 -34
  248. package/dist/header/header.js +0 -144
  249. package/dist/header/logo.js +0 -39
  250. package/dist/header/profile.js +0 -212
  251. package/dist/header/services-link.js +0 -10
  252. package/dist/header/services.js +0 -135
  253. package/dist/header/smart-profile.js +0 -227
  254. package/dist/header/smart-services.js +0 -159
  255. package/dist/header/tray-icon.js +0 -45
  256. package/dist/header/tray.js +0 -33
  257. package/dist/heading/heading.js +0 -76
  258. package/dist/http/http.js +0 -216
  259. package/dist/http/http.mock.js +0 -65
  260. package/dist/hub-source/hub-source.js +0 -130
  261. package/dist/hub-source/hub-source__user.js +0 -28
  262. package/dist/hub-source/hub-source__users-groups.js +0 -62
  263. package/dist/icon/icon.js +0 -105
  264. package/dist/icon/icon__constants.js +0 -33
  265. package/dist/icon/icon__svg.js +0 -6
  266. package/dist/icon/index.js +0 -9
  267. package/dist/input/input.js +0 -231
  268. package/dist/island/adaptive-island-hoc.js +0 -48
  269. package/dist/island/content.js +0 -158
  270. package/dist/island/header.js +0 -85
  271. package/dist/island/island.js +0 -53
  272. package/dist/island-legacy/content-legacy.js +0 -28
  273. package/dist/island-legacy/header-legacy.js +0 -30
  274. package/dist/island-legacy/island-legacy.js +0 -30
  275. package/dist/link/clickableLink.js +0 -65
  276. package/dist/link/link.js +0 -118
  277. package/dist/list/consts.js +0 -26
  278. package/dist/list/list.js +0 -800
  279. package/dist/list/list__custom.js +0 -82
  280. package/dist/list/list__hint.js +0 -26
  281. package/dist/list/list__item.js +0 -197
  282. package/dist/list/list__link.js +0 -65
  283. package/dist/list/list__separator.js +0 -30
  284. package/dist/list/list__title.js +0 -39
  285. package/dist/list/list__users-groups-source.js +0 -124
  286. package/dist/loader/loader.js +0 -72
  287. package/dist/loader/loader__core.js +0 -272
  288. package/dist/loader-inline/inject-styles.js +0 -11
  289. package/dist/loader-inline/loader-inline.js +0 -58
  290. package/dist/loader-screen/loader-screen.js +0 -46
  291. package/dist/login-dialog/login-dialog.js +0 -184
  292. package/dist/login-dialog/service.js +0 -67
  293. package/dist/message/message.js +0 -232
  294. package/dist/old-browsers-message/old-browsers-message.js +0 -101
  295. package/dist/old-browsers-message/old-browsers-message__stop.js +0 -5
  296. package/dist/old-browsers-message/white-list.js +0 -34
  297. package/dist/pager/pager.js +0 -352
  298. package/dist/panel/panel.js +0 -34
  299. package/dist/permissions/permissions.js +0 -200
  300. package/dist/permissions/permissions__cache.js +0 -272
  301. package/dist/popup/popup.consts.js +0 -41
  302. package/dist/popup/popup.js +0 -389
  303. package/dist/popup/popup.target.js +0 -27
  304. package/dist/popup/position.js +0 -280
  305. package/dist/popup-menu/popup-menu.js +0 -108
  306. package/dist/progress-bar/progress-bar.js +0 -111
  307. package/dist/proxy-attrs/proxy-attrs.js +0 -19
  308. package/dist/query-assist/query-assist.js +0 -1023
  309. package/dist/query-assist/query-assist__suggestions.js +0 -43
  310. package/dist/radio/radio.js +0 -39
  311. package/dist/radio/radio__item.js +0 -82
  312. package/dist/select/select.js +0 -1335
  313. package/dist/select/select__filter.js +0 -49
  314. package/dist/select/select__popup.js +0 -541
  315. package/dist/shortcuts/core.js +0 -245
  316. package/dist/shortcuts/shortcut-title.js +0 -51
  317. package/dist/shortcuts/shortcuts-hoc.js +0 -43
  318. package/dist/shortcuts/shortcuts.js +0 -72
  319. package/dist/storage/storage.js +0 -55
  320. package/dist/storage/storage__fallback.js +0 -214
  321. package/dist/storage/storage__local.js +0 -150
  322. package/dist/style.css +0 -1
  323. package/dist/tab-trap/tab-trap.js +0 -178
  324. package/dist/table/cell.js +0 -25
  325. package/dist/table/disable-hover-hoc.js +0 -53
  326. package/dist/table/header-cell.js +0 -91
  327. package/dist/table/header.js +0 -189
  328. package/dist/table/multitable.js +0 -140
  329. package/dist/table/row-with-focus-sensor.js +0 -79
  330. package/dist/table/row.js +0 -270
  331. package/dist/table/selection-adapter.js +0 -14
  332. package/dist/table/selection-shortcuts-hoc.js +0 -212
  333. package/dist/table/selection.js +0 -221
  334. package/dist/table/smart-table.js +0 -113
  335. package/dist/table/table.js +0 -405
  336. package/dist/tabs/collapsible-more.js +0 -193
  337. package/dist/tabs/collapsible-tab.js +0 -90
  338. package/dist/tabs/collapsible-tabs.js +0 -361
  339. package/dist/tabs/custom-item.js +0 -13
  340. package/dist/tabs/dumb-tabs.js +0 -159
  341. package/dist/tabs/smart-tabs.js +0 -102
  342. package/dist/tabs/tab-link.js +0 -35
  343. package/dist/tabs/tab.js +0 -32
  344. package/dist/tabs/tabs.js +0 -65
  345. package/dist/tag/tag.js +0 -190
  346. package/dist/tags-input/tags-input.js +0 -474
  347. package/dist/tags-list/tags-list.js +0 -94
  348. package/dist/text/text.js +0 -38
  349. package/dist/toggle/toggle.js +0 -80
  350. package/dist/tooltip/tooltip.js +0 -205
  351. package/dist/user-card/card.js +0 -14
  352. package/dist/user-card/smart-user-card-tooltip.js +0 -112
  353. package/dist/user-card/tooltip.js +0 -91
  354. package/dist/user-card/user-card.js +0 -46
@@ -1,127 +0,0 @@
1
- function ownKeys(object, enumerableOnly) {
2
- var keys = Object.keys(object);
3
-
4
- if (Object.getOwnPropertySymbols) {
5
- var symbols = Object.getOwnPropertySymbols(object);
6
-
7
- if (enumerableOnly) {
8
- symbols = symbols.filter(function (sym) {
9
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
10
- });
11
- }
12
-
13
- keys.push.apply(keys, symbols);
14
- }
15
-
16
- return keys;
17
- }
18
-
19
- function _objectSpread2(target) {
20
- for (var i = 1; i < arguments.length; i++) {
21
- var source = arguments[i] != null ? arguments[i] : {};
22
-
23
- if (i % 2) {
24
- ownKeys(Object(source), true).forEach(function (key) {
25
- _defineProperty(target, key, source[key]);
26
- });
27
- } else if (Object.getOwnPropertyDescriptors) {
28
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
29
- } else {
30
- ownKeys(Object(source)).forEach(function (key) {
31
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
32
- });
33
- }
34
- }
35
-
36
- return target;
37
- }
38
-
39
- function _defineProperty(obj, key, value) {
40
- if (key in obj) {
41
- Object.defineProperty(obj, key, {
42
- value: value,
43
- enumerable: true,
44
- configurable: true,
45
- writable: true
46
- });
47
- } else {
48
- obj[key] = value;
49
- }
50
-
51
- return obj;
52
- }
53
-
54
- function _extends() {
55
- _extends = Object.assign || function (target) {
56
- for (var i = 1; i < arguments.length; i++) {
57
- var source = arguments[i];
58
-
59
- for (var key in source) {
60
- if (Object.prototype.hasOwnProperty.call(source, key)) {
61
- target[key] = source[key];
62
- }
63
- }
64
- }
65
-
66
- return target;
67
- };
68
-
69
- return _extends.apply(this, arguments);
70
- }
71
-
72
- function _objectWithoutPropertiesLoose(source, excluded) {
73
- if (source == null) return {};
74
- var target = {};
75
- var sourceKeys = Object.keys(source);
76
- var key, i;
77
-
78
- for (i = 0; i < sourceKeys.length; i++) {
79
- key = sourceKeys[i];
80
- if (excluded.indexOf(key) >= 0) continue;
81
- target[key] = source[key];
82
- }
83
-
84
- return target;
85
- }
86
-
87
- function _objectWithoutProperties(source, excluded) {
88
- if (source == null) return {};
89
-
90
- var target = _objectWithoutPropertiesLoose(source, excluded);
91
-
92
- var key, i;
93
-
94
- if (Object.getOwnPropertySymbols) {
95
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
96
-
97
- for (i = 0; i < sourceSymbolKeys.length; i++) {
98
- key = sourceSymbolKeys[i];
99
- if (excluded.indexOf(key) >= 0) continue;
100
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
101
- target[key] = source[key];
102
- }
103
- }
104
-
105
- return target;
106
- }
107
-
108
- function _toPrimitive(input, hint) {
109
- if (typeof input !== "object" || input === null) return input;
110
- var prim = input[Symbol.toPrimitive];
111
-
112
- if (prim !== undefined) {
113
- var res = prim.call(input, hint || "default");
114
- if (typeof res !== "object") return res;
115
- throw new TypeError("@@toPrimitive must return a primitive value.");
116
- }
117
-
118
- return (hint === "string" ? String : Number)(input);
119
- }
120
-
121
- function _toPropertyKey(arg) {
122
- var key = _toPrimitive(arg, "string");
123
-
124
- return typeof key === "symbol" ? key : String(key);
125
- }
126
-
127
- export { _defineProperty as _, _objectWithoutProperties as a, _extends as b, _objectSpread2 as c, _toPropertyKey as d };
@@ -1,33 +0,0 @@
1
- import { a as _objectWithoutProperties, b as _extends } from './_rollupPluginBabelHelpers.js';
2
- import React, { memo } from 'react';
3
- import PropTypes from 'prop-types';
4
- import chevronDown from '@jetbrains/icons/chevron-10px';
5
- import classNames from 'classnames';
6
- import Icon from '../icon/icon.js';
7
- import Button from '../button/button.js';
8
-
9
- var modules_d9414203 = {"dropdown":"dropdown_dropdown__15def50d","anchor":"dropdown_anchor__15def50d","chevron":"dropdown_chevron__15def50d"};
10
-
11
- const Anchor = _ref => {
12
- let {
13
- children,
14
- className
15
- } = _ref,
16
- restProps = _objectWithoutProperties(_ref, ["children", "className"]);
17
-
18
- return /*#__PURE__*/React.createElement(Button, _extends({
19
- text: true,
20
- className: classNames(modules_d9414203.anchor, className)
21
- }, restProps), children, /*#__PURE__*/React.createElement(Icon, {
22
- glyph: chevronDown,
23
- className: modules_d9414203.chevron
24
- }));
25
- };
26
-
27
- Anchor.propTypes = {
28
- children: PropTypes.node,
29
- className: PropTypes.string
30
- };
31
- var Anchor$1 = /*#__PURE__*/memo(Anchor);
32
-
33
- export { Anchor$1 as A, modules_d9414203 as m };
@@ -1,3 +0,0 @@
1
- var modules_6c9187df = {"unit":"8px","badge":"badge_badge__e7eab608","gray":"badge_gray__e7eab608","valid":"badge_valid__e7eab608","invalid":"badge_invalid__e7eab608","disabled":"badge_disabled__e7eab608"};
2
-
3
- export { modules_6c9187df as m };
@@ -1,39 +0,0 @@
1
- import classNames from 'classnames';
2
- import Theme from '../global/theme.js';
3
-
4
- var modules_e81895c9 = {"unit":"8px","button-shadow":"inset 0 0 0 1px","height":"24px","loaderWidth":"64px","danger":"button_danger__d4d7e4da","light":"button_light__d4d7e4da","active":"button_active__d4d7e4da buttonGroup_active__e33e6cf7","withIcon":"button_withIcon__d4d7e4da","icon":"button_icon__d4d7e4da","primary":"button_primary__d4d7e4da","loaderBackground":"button_loaderBackground__d4d7e4da","dark":"button_dark__d4d7e4da","dropdownIcon":"button_dropdownIcon__d4d7e4da","button":"button_button__d4d7e4da buttonGroup_button__e33e6cf7 buttonSet_button__40c7f807 buttonToolbar_button__ec743009","loader":"button_loader__d4d7e4da","text":"button_text__d4d7e4da","content":"button_content__d4d7e4da","text-loading":"button_textLoading__d4d7e4da","inline":"button_inline__d4d7e4da","withNormalIconLight":"button_withNormalIconLight__d4d7e4da","withNormalIconDark":"button_withNormalIconDark__d4d7e4da","withDangerIconLight":"button_withDangerIconLight__d4d7e4da","withDangerIconDark":"button_withDangerIconDark__d4d7e4da","progress":"button_progress__d4d7e4da","delayed":"button_delayed__d4d7e4da","short":"button_short__d4d7e4da"};
5
-
6
- function getButtonClasses(_ref) {
7
- let {
8
- className,
9
- active,
10
- disabled,
11
- loader,
12
- primary,
13
- short,
14
- text,
15
- inline,
16
- danger,
17
- delayed,
18
- icon,
19
- theme
20
- } = _ref;
21
- const withNormalIcon = icon && !active && !danger && !primary && !disabled;
22
- return classNames(modules_e81895c9.button, className, modules_e81895c9[theme], {
23
- [modules_e81895c9.active]: active,
24
- [modules_e81895c9.danger]: danger,
25
- [modules_e81895c9.delayed]: delayed,
26
- [modules_e81895c9.withIcon]: icon,
27
- [modules_e81895c9.withNormalIconLight]: withNormalIcon && theme === Theme.LIGHT,
28
- [modules_e81895c9.withNormalIconDark]: withNormalIcon && theme === Theme.DARK,
29
- [modules_e81895c9.withDangerIconLight]: icon && danger && theme === Theme.LIGHT,
30
- [modules_e81895c9.withDangerIconDark]: icon && danger && theme === Theme.DARK,
31
- [modules_e81895c9.loader]: loader && !icon,
32
- [modules_e81895c9.primary]: primary,
33
- [modules_e81895c9.short]: short,
34
- [modules_e81895c9.text]: text,
35
- [modules_e81895c9.inline]: inline
36
- });
37
- }
38
-
39
- export { getButtonClasses as g, modules_e81895c9 as m };
@@ -1,25 +0,0 @@
1
- import { b as _extends, _ as _defineProperty } from './_rollupPluginBabelHelpers.js';
2
- import React, { PureComponent } from 'react';
3
- import PropTypes from 'prop-types';
4
- import classNames from 'classnames';
5
-
6
- var modules_1068e447 = {"unit":"8px","buttonGroup":"buttonGroup_buttonGroup__e33e6cf7 buttonToolbar_buttonGroup__ec743009","button":"buttonGroup_button__e33e6cf7","caption":"buttonGroup_caption__e33e6cf7 global_font__0f8f4370","active":"buttonGroup_active__e33e6cf7"};
7
-
8
- class Caption extends PureComponent {
9
- render() {
10
- const {
11
- className
12
- } = this.props;
13
- const classes = classNames(modules_1068e447.caption, className);
14
- return /*#__PURE__*/React.createElement("span", _extends({}, this.props, {
15
- className: classes
16
- }));
17
- }
18
-
19
- }
20
-
21
- _defineProperty(Caption, "propTypes", {
22
- className: PropTypes.node
23
- });
24
-
25
- export { Caption as C, modules_1068e447 as m };
@@ -1,77 +0,0 @@
1
- import { a as _objectWithoutProperties, b as _extends, _ as _defineProperty } from './_rollupPluginBabelHelpers.js';
2
- import React, { PureComponent } from 'react';
3
- import PropTypes from 'prop-types';
4
- import classNames from 'classnames';
5
- import Avatar, { Size } from '../avatar/avatar.js';
6
- import Link from '../link/link.js';
7
- import { m as modules_6c9187df } from './badge.js';
8
-
9
- var modules_a4196c17 = {"unit":"8px","userCardSpaced":"userCard_userCardSpaced__2a18ba49","userInformationContainer":"userCard_userInformationContainer__2a18ba49","userInformation":"userCard_userInformation__2a18ba49","userName":"userCard_userName__2a18ba49","userActiveStatus":"userCard_userActiveStatus__2a18ba49","online":"userCard_online__2a18ba49"};
10
-
11
- class UserCard extends PureComponent {
12
- render() {
13
- const _this$props = this.props,
14
- {
15
- children,
16
- className,
17
- user,
18
- wording
19
- } = _this$props,
20
- restProps = _objectWithoutProperties(_this$props, ["children", "className", "user", "wording"]);
21
-
22
- const classes = classNames(className, {});
23
- const userActiveStatusClasses = classNames(modules_a4196c17.userActiveStatus, user.online ? modules_a4196c17.online : '');
24
- return /*#__PURE__*/React.createElement("div", _extends({
25
- className: classes
26
- }, restProps), /*#__PURE__*/React.createElement("div", {
27
- className: modules_a4196c17.userInformationContainer
28
- }, /*#__PURE__*/React.createElement(Avatar, {
29
- size: Size.Size56,
30
- url: user.avatarUrl
31
- }), /*#__PURE__*/React.createElement("div", {
32
- className: modules_a4196c17.userInformation
33
- }, /*#__PURE__*/React.createElement("div", null, user.href && /*#__PURE__*/React.createElement(Link, {
34
- href: user.href,
35
- className: modules_a4196c17.userName
36
- }, user.name), !user.href && /*#__PURE__*/React.createElement("span", {
37
- className: modules_a4196c17.userName
38
- }, user.name), user.banned && /*#__PURE__*/React.createElement("span", {
39
- className: classNames(modules_6c9187df.badge, modules_6c9187df.invalid),
40
- title: user.banReason
41
- }, wording.banned)), /*#__PURE__*/React.createElement("div", null, typeof user.online === 'boolean' && /*#__PURE__*/React.createElement("span", {
42
- className: userActiveStatusClasses,
43
- title: user.online ? wording.online : wording.offline
44
- }), user.login), user.email && /*#__PURE__*/React.createElement("div", null, user.email))), children);
45
- }
46
-
47
- }
48
-
49
- _defineProperty(UserCard, "propTypes", {
50
- children: PropTypes.node,
51
- className: PropTypes.string,
52
- user: PropTypes.shape({
53
- name: PropTypes.string.isRequired,
54
- login: PropTypes.string.isRequired,
55
- avatarUrl: PropTypes.string.isRequired,
56
- email: PropTypes.string,
57
- href: PropTypes.string,
58
- online: PropTypes.bool,
59
- banned: PropTypes.bool,
60
- banReason: PropTypes.string
61
- }).isRequired,
62
- wording: PropTypes.shape({
63
- banned: PropTypes.string.isRequired,
64
- online: PropTypes.string.isRequired,
65
- offline: PropTypes.string.isRequired
66
- })
67
- });
68
-
69
- _defineProperty(UserCard, "defaultProps", {
70
- wording: {
71
- banned: 'banned',
72
- online: 'online',
73
- offline: 'offline'
74
- }
75
- });
76
-
77
- export { UserCard as U, modules_a4196c17 as m };
@@ -1,3 +0,0 @@
1
- var modules_0c7b7d96 = {"unit":"8px","resetButton":"global_resetButton__0f8f4370","cellSize":"24px","calHeight":"288px","calWidth":"296px","yearHeight":"32px","yearWidth":"48px","container":"datePicker_container__382b47f4","hoverable":"datePicker_hoverable__382b47f4","datePicker":"datePicker_datePicker__382b47f4","displayDate":"datePicker_displayDate__382b47f4","displayRange":"datePicker_displayRange__382b47f4","clear":"datePicker_clear__382b47f4","datePopup":"datePicker_datePopup__382b47f4","filterWrapper":"datePicker_filterWrapper__382b47f4 selectPopup_filterWrapper__7e997a1d","filter":"datePicker_filter__382b47f4 selectPopup_filter__7e997a1d","filterIcon":"datePicker_filterIcon__382b47f4 selectPopup_filterIcon__7e997a1d","fromInput":"datePicker_fromInput__382b47f4","fromInputWithDivider":"datePicker_fromInputWithDivider__382b47f4","toInput":"datePicker_toInput__382b47f4","dateInput":"datePicker_dateInput__382b47f4","timeInputWithDivider":"datePicker_timeInputWithDivider__382b47f4","weekdays":"datePicker_weekdays__382b47f4","weekday":"datePicker_weekday__382b47f4","weekend":"datePicker_weekend__382b47f4","calendar":"datePicker_calendar__382b47f4","months":"datePicker_months__382b47f4","days":"datePicker_days__382b47f4","month":"datePicker_month__382b47f4","monthTitle":"datePicker_monthTitle__382b47f4","day":"datePicker_day__382b47f4 global_resetButton__0f8f4370","between":"datePicker_between__382b47f4","activeBetween":"datePicker_activeBetween__382b47f4","current":"datePicker_current__382b47f4","active":"datePicker_active__382b47f4","disabled":"datePicker_disabled__382b47f4","from":"datePicker_from__382b47f4","to":"datePicker_to__382b47f4","Monday":"datePicker_Monday__382b47f4","spread":"datePicker_spread__382b47f4","activeSpread":"datePicker_activeSpread__382b47f4","first":"datePicker_first__382b47f4","Tuesday":"datePicker_Tuesday__382b47f4","Friday":"datePicker_Friday__382b47f4","Saturday":"datePicker_Saturday__382b47f4","Sunday":"datePicker_Sunday__382b47f4","empty":"datePicker_empty__382b47f4","today":"datePicker_today__382b47f4","year":"datePicker_year__382b47f4 datePicker_hoverable__382b47f4 global_resetButton__0f8f4370","monthNames":"datePicker_monthNames__382b47f4","monthName":"datePicker_monthName__382b47f4 datePicker_hoverable__382b47f4 global_resetButton__0f8f4370","monthSlider":"datePicker_monthSlider__382b47f4 global_resetButton__0f8f4370","dragging":"datePicker_dragging__382b47f4","range":"datePicker_range__382b47f4","years":"datePicker_years__382b47f4","currentYear":"datePicker_currentYear__382b47f4"};
2
-
3
- export { modules_0c7b7d96 as m };
@@ -1,56 +0,0 @@
1
- import scrollbarWidth from 'scrollbar-width';
2
-
3
- var modules_5e9b8c03 = {"unit":"8px","container":"dialog_container__16e57f84","innerContainer":"dialog_innerContainer__16e57f84","content":"dialog_content__16e57f84","panel":"dialog_panel__16e57f84","clickableOverlay":"dialog_clickableOverlay__16e57f84","closeIcon":"dialog_closeIcon__16e57f84","closeButton":"dialog_closeButton__16e57f84","closeButtonOutside":"dialog_closeButtonOutside__16e57f84","closeButtonInside":"dialog_closeButtonInside__16e57f84","documentWithoutScroll":"dialog_documentWithoutScroll__16e57f84","popupTarget":"dialog_popupTarget__16e57f84"};
4
-
5
- const isPrevented = new Set();
6
- let previousDocumentWidth = null;
7
-
8
- const prevent = key => {
9
- if (isPrevented.has(key)) {
10
- return;
11
- }
12
-
13
- isPrevented.add(key);
14
-
15
- if (isPrevented.size > 1) {
16
- return;
17
- }
18
-
19
- const documentHasScroll = document.documentElement.scrollHeight > window.innerHeight || getComputedStyle(document.documentElement).overflowY === 'scroll';
20
- document.documentElement.classList.add(modules_5e9b8c03.documentWithoutScroll);
21
- const scrollWidth = scrollbarWidth();
22
-
23
- if (documentHasScroll && scrollWidth > 0) {
24
- previousDocumentWidth = document.documentElement.style.width;
25
- document.documentElement.style.width = `calc(100% - ${scrollWidth}px)`;
26
- }
27
- };
28
-
29
- const reset = key => {
30
- if (isPrevented.size === 0) {
31
- return;
32
- }
33
-
34
- isPrevented.delete(key);
35
-
36
- if (isPrevented.size > 0) {
37
- return;
38
- }
39
-
40
- document.documentElement.classList.remove(modules_5e9b8c03.documentWithoutScroll);
41
-
42
- if (previousDocumentWidth !== null) {
43
- document.documentElement.style.width = previousDocumentWidth;
44
- previousDocumentWidth = null;
45
- }
46
- };
47
-
48
- const preventerFactory = key => {
49
- const preventerKey = key || Math.random();
50
- return {
51
- prevent: () => prevent(preventerKey),
52
- reset: () => reset(preventerKey)
53
- };
54
- };
55
-
56
- export { modules_5e9b8c03 as m, preventerFactory as p };
@@ -1,3 +0,0 @@
1
- var modules_855170c0 = {"unit":"8px","breakpoint-small":"640px","breakpoint-middle":"960px","breakpoint-large":"1200px","large-screen-media":"(min-width:1200px)","middle-screen-media":"(min-width:960px) and (max-width:1199px)","small-screen-media":"(min-width:640px) and (max-width:959px)","gutterWidth":"(8px*2)","gutterCompensation":"-8px","outerMargin":"16px","containerSmall":"656px","containerMedium":"976px","containerLarge":"1216px","width-1":"8.33333333%","width-2":"16.66666667%","width-3":"25%","width-4":"33.33333333%","width-5":"41.66666667%","width-6":"50%","width-7":"58.33333333%","width-8":"66.66666667%","width-9":"75%","width-10":"83.33333333%","width-11":"91.66666667%","width-12":"100%","container-fluid":"grid_containerFluid__55a0c0eb","container":"grid_container__55a0c0eb","row":"grid_row__55a0c0eb","reverse":"grid_reverse__55a0c0eb","col":"grid_col__55a0c0eb","col-xs":"grid_colXs__55a0c0eb","col-xs-1":"grid_colXs1__55a0c0eb","col-xs-2":"grid_colXs2__55a0c0eb","col-xs-3":"grid_colXs3__55a0c0eb","col-xs-4":"grid_colXs4__55a0c0eb","col-xs-5":"grid_colXs5__55a0c0eb","col-xs-6":"grid_colXs6__55a0c0eb","col-xs-7":"grid_colXs7__55a0c0eb","col-xs-8":"grid_colXs8__55a0c0eb","col-xs-9":"grid_colXs9__55a0c0eb","col-xs-10":"grid_colXs10__55a0c0eb","col-xs-11":"grid_colXs11__55a0c0eb","col-xs-12":"grid_colXs12__55a0c0eb","col-xs-offset-0":"grid_colXsOffset0__55a0c0eb","col-xs-offset-1":"grid_colXsOffset1__55a0c0eb","col-xs-offset-2":"grid_colXsOffset2__55a0c0eb","col-xs-offset-3":"grid_colXsOffset3__55a0c0eb","col-xs-offset-4":"grid_colXsOffset4__55a0c0eb","col-xs-offset-5":"grid_colXsOffset5__55a0c0eb","col-xs-offset-6":"grid_colXsOffset6__55a0c0eb","col-xs-offset-7":"grid_colXsOffset7__55a0c0eb","col-xs-offset-8":"grid_colXsOffset8__55a0c0eb","col-xs-offset-9":"grid_colXsOffset9__55a0c0eb","col-xs-offset-10":"grid_colXsOffset10__55a0c0eb","col-xs-offset-11":"grid_colXsOffset11__55a0c0eb","col-xs-offset-12":"grid_colXsOffset12__55a0c0eb","start-xs":"grid_startXs__55a0c0eb","center-xs":"grid_centerXs__55a0c0eb","end-xs":"grid_endXs__55a0c0eb","top-xs":"grid_topXs__55a0c0eb","middle-xs":"grid_middleXs__55a0c0eb","baseline-xs":"grid_baselineXs__55a0c0eb","bottom-xs":"grid_bottomXs__55a0c0eb","around-xs":"grid_aroundXs__55a0c0eb","between-xs":"grid_betweenXs__55a0c0eb","first-xs":"grid_firstXs__55a0c0eb","last-xs":"grid_lastXs__55a0c0eb","col-sm":"grid_colSm__55a0c0eb","col-sm-1":"grid_colSm1__55a0c0eb","col-sm-2":"grid_colSm2__55a0c0eb","col-sm-3":"grid_colSm3__55a0c0eb","col-sm-4":"grid_colSm4__55a0c0eb","col-sm-5":"grid_colSm5__55a0c0eb","col-sm-6":"grid_colSm6__55a0c0eb","col-sm-7":"grid_colSm7__55a0c0eb","col-sm-8":"grid_colSm8__55a0c0eb","col-sm-9":"grid_colSm9__55a0c0eb","col-sm-10":"grid_colSm10__55a0c0eb","col-sm-11":"grid_colSm11__55a0c0eb","col-sm-12":"grid_colSm12__55a0c0eb","col-sm-offset-0":"grid_colSmOffset0__55a0c0eb","col-sm-offset-1":"grid_colSmOffset1__55a0c0eb","col-sm-offset-2":"grid_colSmOffset2__55a0c0eb","col-sm-offset-3":"grid_colSmOffset3__55a0c0eb","col-sm-offset-4":"grid_colSmOffset4__55a0c0eb","col-sm-offset-5":"grid_colSmOffset5__55a0c0eb","col-sm-offset-6":"grid_colSmOffset6__55a0c0eb","col-sm-offset-7":"grid_colSmOffset7__55a0c0eb","col-sm-offset-8":"grid_colSmOffset8__55a0c0eb","col-sm-offset-9":"grid_colSmOffset9__55a0c0eb","col-sm-offset-10":"grid_colSmOffset10__55a0c0eb","col-sm-offset-11":"grid_colSmOffset11__55a0c0eb","col-sm-offset-12":"grid_colSmOffset12__55a0c0eb","start-sm":"grid_startSm__55a0c0eb","center-sm":"grid_centerSm__55a0c0eb","end-sm":"grid_endSm__55a0c0eb","top-sm":"grid_topSm__55a0c0eb","middle-sm":"grid_middleSm__55a0c0eb","baseline-sm":"grid_baselineSm__55a0c0eb","bottom-sm":"grid_bottomSm__55a0c0eb","around-sm":"grid_aroundSm__55a0c0eb","between-sm":"grid_betweenSm__55a0c0eb","first-sm":"grid_firstSm__55a0c0eb","last-sm":"grid_lastSm__55a0c0eb","col-md":"grid_colMd__55a0c0eb","col-md-1":"grid_colMd1__55a0c0eb","col-md-2":"grid_colMd2__55a0c0eb","col-md-3":"grid_colMd3__55a0c0eb","col-md-4":"grid_colMd4__55a0c0eb","col-md-5":"grid_colMd5__55a0c0eb","col-md-6":"grid_colMd6__55a0c0eb","col-md-7":"grid_colMd7__55a0c0eb","col-md-8":"grid_colMd8__55a0c0eb","col-md-9":"grid_colMd9__55a0c0eb","col-md-10":"grid_colMd10__55a0c0eb","col-md-11":"grid_colMd11__55a0c0eb","col-md-12":"grid_colMd12__55a0c0eb","col-md-offset-0":"grid_colMdOffset0__55a0c0eb","col-md-offset-1":"grid_colMdOffset1__55a0c0eb","col-md-offset-2":"grid_colMdOffset2__55a0c0eb","col-md-offset-3":"grid_colMdOffset3__55a0c0eb","col-md-offset-4":"grid_colMdOffset4__55a0c0eb","col-md-offset-5":"grid_colMdOffset5__55a0c0eb","col-md-offset-6":"grid_colMdOffset6__55a0c0eb","col-md-offset-7":"grid_colMdOffset7__55a0c0eb","col-md-offset-8":"grid_colMdOffset8__55a0c0eb","col-md-offset-9":"grid_colMdOffset9__55a0c0eb","col-md-offset-10":"grid_colMdOffset10__55a0c0eb","col-md-offset-11":"grid_colMdOffset11__55a0c0eb","col-md-offset-12":"grid_colMdOffset12__55a0c0eb","start-md":"grid_startMd__55a0c0eb","center-md":"grid_centerMd__55a0c0eb","end-md":"grid_endMd__55a0c0eb","top-md":"grid_topMd__55a0c0eb","middle-md":"grid_middleMd__55a0c0eb","baseline-md":"grid_baselineMd__55a0c0eb","bottom-md":"grid_bottomMd__55a0c0eb","around-md":"grid_aroundMd__55a0c0eb","between-md":"grid_betweenMd__55a0c0eb","first-md":"grid_firstMd__55a0c0eb","last-md":"grid_lastMd__55a0c0eb","col-lg":"grid_colLg__55a0c0eb","col-lg-1":"grid_colLg1__55a0c0eb","col-lg-2":"grid_colLg2__55a0c0eb","col-lg-3":"grid_colLg3__55a0c0eb","col-lg-4":"grid_colLg4__55a0c0eb","col-lg-5":"grid_colLg5__55a0c0eb","col-lg-6":"grid_colLg6__55a0c0eb","col-lg-7":"grid_colLg7__55a0c0eb","col-lg-8":"grid_colLg8__55a0c0eb","col-lg-9":"grid_colLg9__55a0c0eb","col-lg-10":"grid_colLg10__55a0c0eb","col-lg-11":"grid_colLg11__55a0c0eb","col-lg-12":"grid_colLg12__55a0c0eb","col-lg-offset-0":"grid_colLgOffset0__55a0c0eb","col-lg-offset-1":"grid_colLgOffset1__55a0c0eb","col-lg-offset-2":"grid_colLgOffset2__55a0c0eb","col-lg-offset-3":"grid_colLgOffset3__55a0c0eb","col-lg-offset-4":"grid_colLgOffset4__55a0c0eb","col-lg-offset-5":"grid_colLgOffset5__55a0c0eb","col-lg-offset-6":"grid_colLgOffset6__55a0c0eb","col-lg-offset-7":"grid_colLgOffset7__55a0c0eb","col-lg-offset-8":"grid_colLgOffset8__55a0c0eb","col-lg-offset-9":"grid_colLgOffset9__55a0c0eb","col-lg-offset-10":"grid_colLgOffset10__55a0c0eb","col-lg-offset-11":"grid_colLgOffset11__55a0c0eb","col-lg-offset-12":"grid_colLgOffset12__55a0c0eb","start-lg":"grid_startLg__55a0c0eb","center-lg":"grid_centerLg__55a0c0eb","end-lg":"grid_endLg__55a0c0eb","top-lg":"grid_topLg__55a0c0eb","middle-lg":"grid_middleLg__55a0c0eb","baseline-lg":"grid_baselineLg__55a0c0eb","bottom-lg":"grid_bottomLg__55a0c0eb","around-lg":"grid_aroundLg__55a0c0eb","between-lg":"grid_betweenLg__55a0c0eb","first-lg":"grid_firstLg__55a0c0eb","last-lg":"grid_lastLg__55a0c0eb"};
2
-
3
- export { modules_855170c0 as m };
@@ -1,3 +0,0 @@
1
- var modules_47759f5e = {"unit":"8px","resetButton":"global_resetButton__0f8f4370","height":"64px","compensate":"3px","compensated":"61px","light":"header_light__94080fda","dark":"header_dark__94080fda","header":"header_header__94080fda","headerSpaced":"header_headerSpaced__94080fda","logo":"header_logo__94080fda","tray":"header_tray__94080fda","trayItemContent":"header_trayItemContent__94080fda","icon":"header_icon__94080fda","main":"header_main__94080fda","rotatable":"header_rotatable__94080fda","rotated":"header_rotated__94080fda","profileEmpty":"header_profileEmpty__94080fda","profile":"header_profile__94080fda header_profileEmpty__94080fda","avatarWrapper":"header_avatarWrapper__94080fda global_resetButton__0f8f4370","hasUpdates":"header_hasUpdates__94080fda"};
2
-
3
- export { modules_47759f5e as m };
@@ -1,83 +0,0 @@
1
- import { a as _objectWithoutProperties, b as _extends } from './_rollupPluginBabelHelpers.js';
2
- import React, { memo } from 'react';
3
- import classNames from 'classnames';
4
- import PropTypes from 'prop-types';
5
- import memoize from '../global/memoize.js';
6
-
7
- var modules_29747b80 = {"unit":"8px","icon":"icon_icon__5d709605","glyph":"icon_glyph__5d709605","compatibilityMode":"icon_compatibilityMode__5d709605","gray":"icon_gray__5d709605","hover":"icon_hover__5d709605","green":"icon_green__5d709605","magenta":"icon_magenta__5d709605","red":"icon_red__5d709605","blue":"icon_blue__5d709605","white":"icon_white__5d709605","loading":"icon_loading__5d709605","icon-loading":"icon_iconLoading__5d709605"};
8
-
9
- function convertReactSVGDOMProperty(str) {
10
- return str.replace(/[-|:]([a-z])/g, g => g[1].toUpperCase());
11
- }
12
-
13
- function serializeAttrs(map) {
14
- const res = {};
15
-
16
- for (let i = 0; i < map.length; i++) {
17
- const key = map[i].name;
18
- let prop = key;
19
-
20
- if (key === 'class') {
21
- prop = 'className';
22
- } else if (!key.startsWith('data-')) {
23
- prop = convertReactSVGDOMProperty(key);
24
- }
25
-
26
- res[prop] = map[i].value;
27
- }
28
-
29
- return res;
30
- }
31
-
32
- function extractSVGProps(svgNode) {
33
- const map = svgNode.attributes;
34
- return map.length > 0 ? serializeAttrs(map) : null;
35
- }
36
-
37
- const getSVGFromSource = memoize(src => {
38
- const svgContainer = document.createElement('div');
39
- svgContainer.innerHTML = src;
40
- const svg = svgContainer.firstElementChild;
41
- svg.remove ? svg.remove() : svgContainer.removeChild(svg);
42
- return {
43
- props: extractSVGProps(svg),
44
- html: svg.innerHTML
45
- };
46
- });
47
-
48
- function isCompatibilityMode(iconSrc) {
49
- const hasWidth = /width="[\d\.]+"/ig.test(iconSrc);
50
- const hasHeight = /height="[\d\.]+"/ig.test(iconSrc);
51
- return !hasWidth || !hasHeight;
52
- }
53
-
54
- function IconSVG(_ref) {
55
- let {
56
- src,
57
- className
58
- } = _ref,
59
- rest = _objectWithoutProperties(_ref, ["src", "className"]);
60
-
61
- const glyphClasses = classNames(modules_29747b80.glyph, {
62
- [modules_29747b80.compatibilityMode]: isCompatibilityMode(src)
63
- }, className);
64
- const {
65
- props,
66
- html
67
- } = getSVGFromSource(src);
68
- return /*#__PURE__*/React.createElement("svg", _extends({}, props, rest, {
69
- className: glyphClasses,
70
- dangerouslySetInnerHTML: {
71
- __html: html
72
- }
73
- }));
74
- }
75
-
76
- IconSVG.propTypes = {
77
- className: PropTypes.string,
78
- src: PropTypes.string.isRequired,
79
- style: PropTypes.object
80
- };
81
- var IconSVG$1 = /*#__PURE__*/memo(IconSVG);
82
-
83
- export { IconSVG$1 as I, modules_29747b80 as m };
@@ -1,22 +0,0 @@
1
- import { conicGradientWithMask } from '../global/conic-gradient.js';
2
- import { injectRuleSet } from '../global/inject-styles.js';
3
- import memoize from '../global/memoize.js';
4
- import radialGradientMask from '../global/radial-gradient-mask.js';
5
- import Theme from '../global/theme.js';
6
-
7
- var modules_e49a3529 = {"unit":"8px","loader":"loaderInline_loader__9affcd5c","spin":"loaderInline_spin__9affcd5c","pulse":"loaderInline_pulse__9affcd5c","children":"loaderInline_children__9affcd5c"};
8
-
9
- const IMAGE_SIZE = 32;
10
- var injectStyles = memoize(() => {
11
- const mask = radialGradientMask(modules_e49a3529.unit, {
12
- /* eslint-disable no-magic-numbers */
13
- transparent: `${23 / 32 * 100}%`,
14
- white: `${25 / 32 * 100}%`
15
- /* eslint-enable */
16
-
17
- });
18
- injectRuleSet(`.${modules_e49a3529.loader}_${[Theme.LIGHT]}::after, .ring-loader-inline::after`, conicGradientWithMask(mask, '#ff00eb,#bd3bff,#008eff, #58ba00,#f48700,#ff00eb', IMAGE_SIZE));
19
- injectRuleSet(`.${modules_e49a3529.loader}_${[Theme.DARK]}::after, .ring-loader-inline_dark::after`, conicGradientWithMask(mask, '#ff2eef,#d178ff,#289fff,#88d444,#ffe000,#ff2eef', IMAGE_SIZE));
20
- });
21
-
22
- export { injectStyles as i, modules_e49a3529 as m };
@@ -1,3 +0,0 @@
1
- var modules_e6a056e1 = {"unit":"8px","gradientStart":"hsla(0,0%,100%,0)","gradientStop":"var(--ring-content-background-color)","island":"island_island__6134a6dd","withTransparentBottomBorder":"island_withTransparentBottomBorder__6134a6dd","header":"island_header__6134a6dd island_withTransparentBottomBorder__6134a6dd","withBottomBorder":"island_withBottomBorder__6134a6dd","title":"island_title__6134a6dd","narrowIsland":"island_narrowIsland__6134a6dd","content":"island_content__6134a6dd","scrollableWrapper":"island_scrollableWrapper__6134a6dd","withoutPaddings":"island_withoutPaddings__6134a6dd","contentWithTopFade":"island_contentWithTopFade__6134a6dd","contentWithBottomFade":"island_contentWithBottomFade__6134a6dd"};
2
-
3
- export { modules_e6a056e1 as m };
@@ -1,3 +0,0 @@
1
- var modules_3b67a421 = {"unit":"8px","listSpacing":"8px","error":"list_error__47370e13","list":"list_list__47370e13","simpleInner":"list_simpleInner__47370e13","scrolling":"list_scrolling__47370e13","separator":"list_separator__47370e13","separator_first":"list_separator_first__47370e13","item":"list_item__47370e13","itemContainer":"list_itemContainer__47370e13","compact":"list_compact__47370e13","add":"list_add__47370e13","top":"list_top__47370e13","left":"list_left__47370e13","label":"list_label__47370e13","description":"list_description__47370e13","right":"list_right__47370e13","details":"list_details__47370e13","padded":"list_padded__47370e13","hint":"list_hint__47370e13","action":"list_action__47370e13","actionLink":"list_actionLink__47370e13","hover":"list_hover__47370e13","icon":"list_icon__47370e13","highlight":"list_highlight__47370e13","service":"list_service__47370e13","glyph":"list_glyph__47370e13","avatar":"list_avatar__47370e13 list_glyph__47370e13","rightGlyph":"list_rightGlyph__47370e13 list_glyph__47370e13","checkboxContainer":"list_checkboxContainer__47370e13","title":"list_title__47370e13","title_first":"list_title_first__47370e13","text":"list_text__47370e13","fade":"list_fade__47370e13","disabled":"list_disabled__47370e13"};
2
-
3
- export { modules_3b67a421 as m };
@@ -1,95 +0,0 @@
1
- import React from 'react';
2
- import List from '../list/list.js';
3
-
4
- var modules_da7ab055 = {"unit":"8px","resetButton":"global_resetButton__0f8f4370","overInputZIndex":"2","inputGap":"24px","light":"queryAssist_light__072a13b4","queryAssist":"queryAssist_queryAssist__072a13b4 global_font__0f8f4370","input":"queryAssist_input__072a13b4","placeholder":"queryAssist_placeholder__072a13b4 global_resetButton__0f8f4370","letter-text":"queryAssist_letterText__072a13b4","letterDefault":"queryAssist_letterDefault__072a13b4","letter-field-name":"queryAssist_letterFieldName__072a13b4","letter-field-value":"queryAssist_letterFieldValue__072a13b4","letter-operator":"queryAssist_letterOperator__072a13b4","letter-error":"queryAssist_letterError__072a13b4","iconInner":"queryAssist_iconInner__072a13b4","highlight":"queryAssist_highlight__072a13b4","service":"queryAssist_service__072a13b4","dark":"queryAssist_dark__072a13b4","icon":"queryAssist_icon__072a13b4","loader":"queryAssist_loader__072a13b4","actions":"queryAssist_actions__072a13b4","calc(8px * 3)":"queryAssist_calc_8px___3___072a13b4","inputGap2":"queryAssist_inputGap2__072a13b4","inputLeftGap":"queryAssist_inputLeftGap__072a13b4","inputDisabled":"queryAssist_inputDisabled__072a13b4","placeholderSpaced":"queryAssist_placeholderSpaced__072a13b4","letter":"queryAssist_letter__072a13b4","loaderOnTheRight":"queryAssist_loaderOnTheRight__072a13b4","focusUnderline":"queryAssist_focusUnderline__072a13b4"};
5
-
6
- const ICON_ID_LENGTH = 44;
7
- class QueryAssistSuggestions {
8
- /*
9
- * Pay attention that this method produces not a 100% unique key.
10
- * Consider to use a unique identifier provided by a server.
11
- */
12
- static createKey(suggestion) {
13
- const {
14
- description,
15
- group,
16
- icon,
17
- option,
18
- prefix = '',
19
- suffix = ''
20
- } = suggestion;
21
- return prefix + option + suffix + group + description + (icon ? icon.substring(icon.length - ICON_ID_LENGTH) : '');
22
- }
23
-
24
- static renderLabel(suggestion) {
25
- const {
26
- className,
27
- matchingStart,
28
- matchingEnd,
29
- option,
30
- prefix = '',
31
- suffix = ''
32
- } = suggestion;
33
- let wrappedOption;
34
- let before = '';
35
- let after = '';
36
-
37
- if (matchingStart !== matchingEnd) {
38
- before = option.substring(0, matchingStart);
39
- wrappedOption = /*#__PURE__*/React.createElement("span", {
40
- className: modules_da7ab055.highlight
41
- }, option.substring(matchingStart, matchingEnd));
42
- after = option.substring(matchingEnd);
43
- } else {
44
- wrappedOption = option;
45
- }
46
-
47
- const wrappedPrefix = prefix && /*#__PURE__*/React.createElement("span", {
48
- className: modules_da7ab055.service
49
- }, prefix);
50
- const wrappedSuffix = suffix && /*#__PURE__*/React.createElement("span", {
51
- className: modules_da7ab055.service
52
- }, suffix);
53
- return /*#__PURE__*/React.createElement("span", {
54
- className: className
55
- }, wrappedPrefix, before, wrappedOption, after, wrappedSuffix);
56
- }
57
-
58
- static renderGroupSeparator(suggestion, prevSuggestion) {
59
- const {
60
- group,
61
- option
62
- } = suggestion;
63
- const {
64
- SEPARATOR
65
- } = List.ListProps.Type;
66
-
67
- if (prevSuggestion !== group) {
68
- return {
69
- key: option + group + SEPARATOR,
70
- description: group,
71
- rgItemType: SEPARATOR
72
- };
73
- }
74
-
75
- return null;
76
- }
77
-
78
- static renderList(suggestions, suggestionRenderer) {
79
- const renderedSuggestions = [];
80
- suggestions.forEach((suggestion, index, arr) => {
81
- const prevSuggestionGroup = arr[index - 1] && arr[index - 1].group;
82
- const groupSeparator = QueryAssistSuggestions.renderGroupSeparator(suggestion, prevSuggestionGroup);
83
-
84
- if (groupSeparator) {
85
- renderedSuggestions.push(groupSeparator);
86
- }
87
-
88
- renderedSuggestions.push(suggestionRenderer(suggestion));
89
- });
90
- return renderedSuggestions;
91
- }
92
-
93
- }
94
-
95
- export { QueryAssistSuggestions as Q, modules_da7ab055 as m };