@jetbrains/ring-ui 4.1.13 → 4.1.17

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 (269) hide show
  1. package/components/date-picker/date-picker.css +1 -0
  2. package/components/select/select.js +3 -1
  3. package/dist/_helpers/anchor.js +1 -1
  4. package/dist/_helpers/badge.js +1 -1
  5. package/dist/_helpers/button-group.js +1 -1
  6. package/dist/_helpers/button-set.js +1 -1
  7. package/dist/_helpers/button-toolbar.js +1 -1
  8. package/dist/_helpers/button__classes.js +1 -1
  9. package/dist/_helpers/card.js +1 -1
  10. package/dist/_helpers/checkbox.js +1 -1
  11. package/dist/_helpers/date-picker.js +1 -1
  12. package/dist/_helpers/dialog__body-scroll-preventer.js +3 -2
  13. package/dist/_helpers/error-message.js +1 -1
  14. package/dist/_helpers/footer.js +1 -1
  15. package/dist/_helpers/grid.js +1 -1
  16. package/dist/_helpers/group.js +1 -1
  17. package/dist/_helpers/header.js +1 -1
  18. package/dist/_helpers/icon.js +1 -1
  19. package/dist/_helpers/inject-styles.js +5 -5
  20. package/dist/_helpers/input.js +1 -1
  21. package/dist/_helpers/island.js +1 -1
  22. package/dist/_helpers/link.js +1 -1
  23. package/dist/_helpers/list.js +1 -1
  24. package/dist/_helpers/loader-screen.js +1 -1
  25. package/dist/_helpers/panel.js +1 -1
  26. package/dist/_helpers/query-assist__suggestions.js +1 -1
  27. package/dist/_helpers/radio.js +1 -1
  28. package/dist/_helpers/select__filter.js +2 -1
  29. package/dist/_helpers/services-link.js +2 -2
  30. package/dist/_helpers/sidebar.js +3 -2
  31. package/dist/_helpers/table.js +1 -1
  32. package/dist/_helpers/tabs.js +1 -1
  33. package/dist/_helpers/title.js +2 -1
  34. package/dist/alert/alert.js +3 -1
  35. package/dist/alert/container.js +1 -1
  36. package/dist/alert-service/alert-service.js +2 -0
  37. package/dist/analytics/analytics.js +5 -3
  38. package/dist/analytics/analytics__custom-plugin.js +2 -1
  39. package/dist/analytics/analytics__fus-plugin.js +1 -0
  40. package/dist/analytics/analytics__plugin-utils.js +4 -3
  41. package/dist/analytics-ng/analytics-ng.js +3 -2
  42. package/dist/auth/auth.js +2 -0
  43. package/dist/auth/auth__core.js +16 -12
  44. package/dist/auth/background-flow.js +2 -1
  45. package/dist/auth/down-notification.js +3 -1
  46. package/dist/auth/iframe-flow.js +2 -0
  47. package/dist/auth/landing.js +6 -4
  48. package/dist/auth/request-builder.js +1 -0
  49. package/dist/auth/response-parser.js +1 -0
  50. package/dist/auth/storage.js +2 -0
  51. package/dist/auth/token-validator.js +2 -0
  52. package/dist/auth/window-flow.js +2 -1
  53. package/dist/auth-dialog/auth-dialog.js +4 -2
  54. package/dist/auth-dialog-service/auth-dialog-service.js +2 -0
  55. package/dist/auth-ng/auth-ng.js +3 -1
  56. package/dist/autofocus-ng/autofocus-ng.js +1 -0
  57. package/dist/avatar/avatar-example-datauri.js +1 -23
  58. package/dist/avatar/avatar.js +5 -3
  59. package/dist/avatar/fallback-avatar.js +4 -3
  60. package/dist/avatar-editor-ng/avatar-editor-ng.js +2 -0
  61. package/dist/avatar-editor-ng/avatar-editor-ng__template.js +1 -28
  62. package/dist/avatar-ng/avatar-ng.js +2 -0
  63. package/dist/badge/badge.js +1 -0
  64. package/dist/badge-ng/badge-ng.js +1 -0
  65. package/dist/breadcrumb-ng/breadcrumb-ng.js +4 -28
  66. package/dist/button/button.js +2 -0
  67. package/dist/button-group-ng/button-group-ng.js +2 -1
  68. package/dist/button-ng/button-ng.js +5 -11
  69. package/dist/button-set-ng/button-set-ng.js +1 -1
  70. package/dist/button-toolbar-ng/button-toolbar-ng.js +1 -0
  71. package/dist/caret/caret.js +2 -0
  72. package/dist/checkbox/checkbox.js +2 -0
  73. package/dist/checkbox-ng/checkbox-ng.js +3 -20
  74. package/dist/code/code.js +4 -3
  75. package/dist/confirm/confirm.js +3 -1
  76. package/dist/confirm-ng/confirm-ng.js +2 -0
  77. package/dist/confirm-service/confirm-service.js +2 -0
  78. package/dist/content-layout/content-layout.js +1 -0
  79. package/dist/content-layout/sidebar.js +1 -0
  80. package/dist/data-list/data-list.js +2 -0
  81. package/dist/data-list/data-list.mock.js +1 -0
  82. package/dist/data-list/item.js +2 -0
  83. package/dist/data-list/selection.js +1 -0
  84. package/dist/data-list/title.js +2 -0
  85. package/dist/data-list-ng/data-list-ng.js +2 -0
  86. package/dist/date-picker/consts.js +2 -2
  87. package/dist/date-picker/date-input.js +3 -1
  88. package/dist/date-picker/date-picker.js +10 -8
  89. package/dist/date-picker/date-popup.js +2 -0
  90. package/dist/date-picker/day.js +1 -0
  91. package/dist/date-picker/month-names.js +1 -0
  92. package/dist/date-picker/month-slider.js +1 -0
  93. package/dist/date-picker/month.js +1 -0
  94. package/dist/date-picker/months.js +1 -0
  95. package/dist/date-picker/years.js +1 -0
  96. package/dist/dialog/dialog.js +2 -0
  97. package/dist/dialog/dialog__body-scroll-preventer.js +1 -0
  98. package/dist/dialog-ng/dialog-ng.js +11 -6
  99. package/dist/dialog-ng/dialog-ng__template.js +1 -69
  100. package/dist/docked-panel-ng/docked-panel-ng.js +2 -1
  101. package/dist/dropdown/anchor.js +2 -0
  102. package/dist/dropdown/dropdown.js +2 -0
  103. package/dist/dropdown-menu/dropdown-menu.js +3 -1
  104. package/dist/error-bubble/error-bubble.js +3 -1
  105. package/dist/error-message/error-message.js +3 -1
  106. package/dist/error-message-ng/error-message-ng.js +3 -21
  107. package/dist/footer/footer.js +1 -0
  108. package/dist/footer-ng/footer-ng.js +3 -14
  109. package/dist/form-ng/form-ng.js +2 -4
  110. package/dist/global/angular-component-factory.js +3 -2
  111. package/dist/global/conic-gradient.js +4 -4
  112. package/dist/global/create-stateful-context.js +3 -2
  113. package/dist/global/data-tests.js +2 -0
  114. package/dist/global/dom.js +1 -0
  115. package/dist/global/focus-sensor-hoc.js +1 -0
  116. package/dist/global/fuzzy-highlight.js +1 -1
  117. package/dist/global/inject-styles.js +5 -7
  118. package/dist/global/listeners.js +2 -0
  119. package/dist/global/memoize.js +2 -0
  120. package/dist/global/normalize-indent.js +2 -0
  121. package/dist/global/radial-gradient-mask.js +8 -19
  122. package/dist/global/react-dom-renderer.js +1 -0
  123. package/dist/global/rerender-hoc.js +2 -1
  124. package/dist/global/supports-css.js +2 -0
  125. package/dist/global/theme.js +1 -1
  126. package/dist/global/trivial-template-tag.js +2 -0
  127. package/dist/global/url.js +3 -1
  128. package/dist/grid/col.js +1 -1
  129. package/dist/grid/row.js +1 -1
  130. package/dist/group-ng/group-ng.js +1 -1
  131. package/dist/header/header.js +2 -0
  132. package/dist/header/logo.js +2 -0
  133. package/dist/header/profile.js +2 -0
  134. package/dist/header/services-link.js +1 -0
  135. package/dist/header/services.js +2 -0
  136. package/dist/header/smart-profile.js +7 -3
  137. package/dist/header/smart-services.js +3 -1
  138. package/dist/header/tray-icon.js +2 -0
  139. package/dist/heading/heading.js +3 -3
  140. package/dist/http/http.js +4 -2
  141. package/dist/http/http.mock.js +2 -0
  142. package/dist/hub-source/hub-source.js +1 -1
  143. package/dist/hub-source/hub-source__user.js +4 -2
  144. package/dist/hub-source/hub-source__users-groups.js +3 -2
  145. package/dist/icon/icon.js +3 -3
  146. package/dist/icon/icon__svg.js +2 -0
  147. package/dist/icon/index.js +2 -0
  148. package/dist/icon-ng/icon-ng.js +7 -5
  149. package/dist/input/input.js +4 -2
  150. package/dist/input-ng/input-ng.js +6 -61
  151. package/dist/island/adaptive-island-hoc.js +1 -0
  152. package/dist/island/content.js +1 -0
  153. package/dist/island/header.js +3 -2
  154. package/dist/island/island.js +1 -0
  155. package/dist/island-ng/island-content-ng.js +2 -16
  156. package/dist/island-ng/island-header-ng.js +2 -8
  157. package/dist/island-ng/island-ng-class-fixer.js +2 -0
  158. package/dist/island-ng/island-ng.js +2 -8
  159. package/dist/link/clickableLink.js +1 -0
  160. package/dist/link/link.js +1 -0
  161. package/dist/link-ng/link-ng.js +1 -4
  162. package/dist/list/list.js +10 -8
  163. package/dist/list/list__custom.js +1 -0
  164. package/dist/list/list__item.js +5 -3
  165. package/dist/list/list__link.js +1 -0
  166. package/dist/list/list__users-groups-source.js +3 -1
  167. package/dist/loader/loader.js +1 -0
  168. package/dist/loader/loader__core.js +5 -4
  169. package/dist/loader-inline/inject-styles.js +2 -0
  170. package/dist/loader-inline/loader-inline.js +3 -1
  171. package/dist/loader-inline-ng/loader-inline-ng.js +4 -2
  172. package/dist/loader-ng/loader-ng.js +1 -0
  173. package/dist/loader-screen/loader-screen.js +1 -0
  174. package/dist/loader-screen-ng/loader-screen-ng.js +2 -6
  175. package/dist/login-dialog/login-dialog.js +3 -1
  176. package/dist/login-dialog/service.js +2 -0
  177. package/dist/markdown/code.js +1 -0
  178. package/dist/markdown/link.js +1 -0
  179. package/dist/markdown/markdown.js +2 -1
  180. package/dist/message/message.js +11 -5
  181. package/dist/old-browsers-message/old-browsers-message.js +2 -1
  182. package/dist/old-browsers-message/old-browsers-message__stop.js +1 -0
  183. package/dist/old-browsers-message/white-list.js +1 -0
  184. package/dist/pager/pager.js +4 -2
  185. package/dist/pager-ng/pager-ng.js +2 -0
  186. package/dist/panel-ng/panel-ng.js +1 -0
  187. package/dist/permissions/permissions.js +1 -1
  188. package/dist/permissions-ng/permissions-ng.js +3 -1
  189. package/dist/place-under-ng/place-under-ng.js +3 -2
  190. package/dist/popup/popup.js +5 -3
  191. package/dist/popup/position.js +1 -0
  192. package/dist/popup-menu/popup-menu.js +2 -0
  193. package/dist/progress-bar/progress-bar.js +3 -2
  194. package/dist/progress-bar-ng/progress-bar-ng.js +1 -0
  195. package/dist/promised-click-ng/promised-click-ng.js +2 -0
  196. package/dist/proxy-attrs/proxy-attrs.js +5 -3
  197. package/dist/query-assist/query-assist.js +10 -6
  198. package/dist/query-assist/query-assist__suggestions.js +2 -0
  199. package/dist/query-assist-ng/query-assist-ng.js +2 -0
  200. package/dist/radio/radio.js +1 -0
  201. package/dist/radio/radio__item.js +1 -0
  202. package/dist/radio-ng/radio-ng.js +2 -18
  203. package/dist/save-field-ng/save-field-ng.js +3 -1
  204. package/dist/save-field-ng/save-field-ng__template.js +1 -32
  205. package/dist/select/select.js +13 -8
  206. package/dist/select/select__filter.js +2 -0
  207. package/dist/select/select__popup.js +3 -1
  208. package/dist/select-ng/select-ng.js +2 -0
  209. package/dist/select-ng/select-ng__lazy.js +2 -0
  210. package/dist/select-ng/select-ng__options.js +2 -2
  211. package/dist/shortcuts/shortcuts-hoc.js +1 -0
  212. package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +3 -0
  213. package/dist/shortcuts-hint-ng/shortcuts-hint-ng__template.js +1 -48
  214. package/dist/shortcuts-ng/shortcuts-ng.js +4 -3
  215. package/dist/sidebar-ng/sidebar-ng.js +2 -0
  216. package/dist/sidebar-ng/sidebar-ng__button-template.js +1 -18
  217. package/dist/sidebar-ng/sidebar-ng__template.js +1 -10
  218. package/dist/storage/storage.js +2 -0
  219. package/dist/storage/storage__fallback.js +4 -3
  220. package/dist/storage/storage__local.js +2 -0
  221. package/dist/style.css +1 -1
  222. package/dist/tab-trap/tab-trap.js +2 -1
  223. package/dist/table/cell.js +1 -0
  224. package/dist/table/disable-hover-hoc.js +1 -0
  225. package/dist/table/header-cell.js +2 -0
  226. package/dist/table/header.js +2 -0
  227. package/dist/table/multitable.js +1 -0
  228. package/dist/table/row-with-focus-sensor.js +2 -0
  229. package/dist/table/row.js +3 -1
  230. package/dist/table/selection-adapter.js +2 -0
  231. package/dist/table/selection-shortcuts-hoc.js +1 -0
  232. package/dist/table/selection.js +2 -0
  233. package/dist/table/smart-table.js +2 -0
  234. package/dist/table/table.js +2 -0
  235. package/dist/table-legacy-ng/table-legacy-ng.js +10 -45
  236. package/dist/table-legacy-ng/table-legacy-ng__pager.js +3 -7
  237. package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +2 -1
  238. package/dist/table-ng/smart-table-ng.js +2 -0
  239. package/dist/table-ng/table-ng.js +2 -0
  240. package/dist/tabs/collapsible-more.js +2 -0
  241. package/dist/tabs/collapsible-tab.js +1 -0
  242. package/dist/tabs/collapsible-tabs.js +2 -0
  243. package/dist/tabs/dumb-tabs.js +2 -0
  244. package/dist/tabs/smart-tabs.js +2 -0
  245. package/dist/tabs/tab-link.js +1 -0
  246. package/dist/tabs/tab.js +1 -0
  247. package/dist/tabs/tabs.js +2 -0
  248. package/dist/tabs-ng/tabs-ng.js +1 -0
  249. package/dist/tabs-ng/tabs-ng__template.js +1 -38
  250. package/dist/tag/tag.js +3 -1
  251. package/dist/tags-input/tags-input.js +4 -2
  252. package/dist/tags-input-ng/tags-input-ng.js +2 -0
  253. package/dist/tags-list/tags-list.js +3 -1
  254. package/dist/template-ng/template-ng.js +1 -0
  255. package/dist/text/text.js +1 -1
  256. package/dist/theme-ng/theme-ng.js +1 -0
  257. package/dist/toggle/toggle.js +2 -1
  258. package/dist/toggle-ng/toggle-ng.js +1 -0
  259. package/dist/tooltip/tooltip.js +9 -3
  260. package/dist/tooltip-ng/tooltip-ng.js +2 -0
  261. package/dist/user-agreement/service.js +2 -0
  262. package/dist/user-agreement/toolbox.eula.js +1 -160
  263. package/dist/user-agreement/user-agreement.js +3 -1
  264. package/dist/user-card/card.js +2 -0
  265. package/dist/user-card/smart-user-card-tooltip.js +2 -0
  266. package/dist/user-card/tooltip.js +2 -0
  267. package/dist/user-card/user-card.js +2 -0
  268. package/dist/user-card-ng/user-card-ng.js +2 -0
  269. package/package.json +14 -14
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import React, { Component, cloneElement } from 'react';
3
4
  import PropTypes from 'prop-types';
4
5
  import classNames from 'classnames';
@@ -11,6 +12,7 @@ import 'util-deprecate';
11
12
  import '../icon/icon__constants.js';
12
13
  import '../_helpers/icon.js';
13
14
  import '../icon/icon__svg.js';
15
+ import 'core-js/modules/es.string.replace.js';
14
16
  import '../global/memoize.js';
15
17
  import '../button/button.js';
16
18
  import 'focus-visible';
@@ -6,6 +6,7 @@ import Dropdown from '../dropdown/dropdown.js';
6
6
  import PopupMenu from '../popup-menu/popup-menu.js';
7
7
  import getUID from '../global/get-uid.js';
8
8
  import { A as Anchor } from '../_helpers/anchor.js';
9
+ import 'core-js/modules/web.dom-collections.iterator.js';
9
10
  import 'classnames';
10
11
  import 'react-virtualized/dist/es/List';
11
12
  import 'react-virtualized/dist/es/AutoSizer';
@@ -32,6 +33,7 @@ import '../_helpers/list.js';
32
33
  import '../list/list__item.js';
33
34
  import '../avatar/avatar.js';
34
35
  import '../global/url.js';
36
+ import 'core-js/modules/es.string.replace.js';
35
37
  import '../avatar/fallback-avatar.js';
36
38
  import '../checkbox/checkbox.js';
37
39
  import '@jetbrains/icons/checkmark';
@@ -97,7 +99,7 @@ function DropdownAnchorWrapper(_ref) {
97
99
  ...anchorAriaProps
98
100
  }), [pinned, active, restProps, anchorAriaProps]);
99
101
  const anchorComponentProps = useMemo(() => ({ ...anchorProps,
100
- pinned: `${anchorProps.pinned}`
102
+ pinned: "".concat(anchorProps.pinned)
101
103
  }), [anchorProps]);
102
104
 
103
105
  if (typeof anchor === 'string') {
@@ -4,6 +4,8 @@ import PropTypes from 'prop-types';
4
4
  import classNames from 'classnames';
5
5
  import Popup from '../popup/popup.js';
6
6
  import { Directions } from '../popup/popup.consts.js';
7
+ import 'core-js/modules/web.dom-collections.iterator.js';
8
+ import 'core-js/modules/es.string.replace.js';
7
9
  import 'react-dom';
8
10
  import '../global/get-uid.js';
9
11
  import '../global/schedule-raf.js';
@@ -18,7 +20,7 @@ import '../tab-trap/tab-trap.js';
18
20
  import '../popup/position.js';
19
21
  import '../popup/popup.target.js';
20
22
 
21
- var modules_ee284100 = {"unit":"8px","errorBubblePopup":"errorBubblePopup_rui_6b9b","errorBubbleWrapper":"errorBubbleWrapper_rui_6b9b","errorBubble":"errorBubble_rui_6b9b"};
23
+ var modules_ee284100 = {"unit":"8px","errorBubblePopup":"errorBubblePopup_rui_733a","errorBubbleWrapper":"errorBubbleWrapper_rui_733a","errorBubble":"errorBubble_rui_733a"};
22
24
 
23
25
  /**
24
26
  * @name Error Bubble
@@ -8,7 +8,9 @@ import { m as modules_2c5e8509 } from '../_helpers/error-message.js';
8
8
  import 'util-deprecate';
9
9
  import '../_helpers/icon.js';
10
10
  import '../icon/icon__svg.js';
11
+ import 'core-js/modules/es.string.replace.js';
11
12
  import '../global/memoize.js';
13
+ import 'core-js/modules/web.dom-collections.iterator.js';
12
14
 
13
15
  /**
14
16
  * @name Error Message
@@ -36,7 +38,7 @@ class ErrorMessage extends Component {
36
38
  className: modules_2c5e8509.content
37
39
  }, /*#__PURE__*/React.createElement("div", {
38
40
  className: modules_2c5e8509.title
39
- }, code && `${code}:`, " ", message), description && /*#__PURE__*/React.createElement("div", {
41
+ }, code && "".concat(code, ":"), " ", message), description && /*#__PURE__*/React.createElement("div", {
40
42
  className: modules_2c5e8509.description
41
43
  }, description), children));
42
44
  }
@@ -2,6 +2,8 @@ import angular from 'angular';
2
2
  import IconNG from '../icon-ng/icon-ng.js';
3
3
  import LinkNG from '../link-ng/link-ng.js';
4
4
  import { m as modules_2c5e8509 } from '../_helpers/error-message.js';
5
+ import 'core-js/modules/es.string.replace.js';
6
+ import 'core-js/modules/web.dom-collections.iterator.js';
5
7
  import '../icon/icon__constants.js';
6
8
  import '../template-ng/template-ng.js';
7
9
  import '../_helpers/_rollupPluginBabelHelpers.js';
@@ -18,27 +20,7 @@ angularModule.directive('rgErrorMessage', function rgErrorMessageDirective() {
18
20
  return {
19
21
  replace: true,
20
22
  transclude: true,
21
- template: `
22
- <div class="${modules_2c5e8509.errorMessage}" data-test="ring-error-message">
23
-
24
- <rg-icon class="${modules_2c5e8509.icon}" glyph="{{icon}}" color="gray" size="64"></rg-icon>
25
-
26
- <div class="${modules_2c5e8509.content}">
27
- <div class="${modules_2c5e8509.title}" data-test="ring-error-message-title"
28
- ><span ng-if="code">{{ code }}:</span> {{ message }}</div>
29
-
30
- <div class="${modules_2c5e8509.description}" ng-transclude></div>
31
-
32
-
33
- <div ng-if="links">
34
- <span ng-repeat="link in links">
35
- <rg-link ng-if="link.target" ng-href="{{link.href}}" target="{{link.target}}">{{link.text}}</rg-link><rg-link
36
- ng-if="!link.target" ng-href="{{link.href}}">{{link.text}}</rg-link>{{$last ? '' : ','}}
37
- </span>
38
- </div>
39
- </div>
40
- </div>
41
- `,
23
+ template: "\n<div class=\"".concat(modules_2c5e8509.errorMessage, "\" data-test=\"ring-error-message\">\n\n <rg-icon class=\"").concat(modules_2c5e8509.icon, "\" glyph=\"{{icon}}\" color=\"gray\" size=\"64\"></rg-icon>\n \n <div class=\"").concat(modules_2c5e8509.content, "\">\n <div class=\"").concat(modules_2c5e8509.title, "\" data-test=\"ring-error-message-title\"\n ><span ng-if=\"code\">{{ code }}:</span> {{ message }}</div>\n \n <div class=\"").concat(modules_2c5e8509.description, "\" ng-transclude></div>\n \n \n <div ng-if=\"links\">\n <span ng-repeat=\"link in links\">\n <rg-link ng-if=\"link.target\" ng-href=\"{{link.href}}\" target=\"{{link.target}}\">{{link.text}}</rg-link><rg-link\n ng-if=\"!link.target\" ng-href=\"{{link.href}}\">{{link.text}}</rg-link>{{$last ? '' : ','}}\n </span>\n </div>\n </div>\n</div>\n "),
42
24
  restrict: 'E',
43
25
  scope: {
44
26
  code: '@',
@@ -6,6 +6,7 @@ export { c as copyright, F as default } from '../_helpers/footer.js';
6
6
  import '../_helpers/_rollupPluginBabelHelpers.js';
7
7
  import 'focus-visible';
8
8
  import '../global/memoize.js';
9
+ import 'core-js/modules/web.dom-collections.iterator.js';
9
10
  import '../global/data-tests.js';
10
11
  import '../link/clickableLink.js';
11
12
  import '../_helpers/link.js';
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import angular from 'angular';
3
4
  import RingAngularComponent from '../global/ring-angular-component.js';
4
5
  import { m as modules_7385b3fd, c as copyright } from '../_helpers/footer.js';
@@ -33,25 +34,13 @@ _defineProperty(rgFooterComponent, "transclude", {
33
34
  right: '?rgFooterRight'
34
35
  });
35
36
 
36
- _defineProperty(rgFooterComponent, "template", `<footer ng-class=":: $ctrl.styles.footer" data-test="ring-footer">
37
- <div ng-class=":: $ctrl.styles.columnLeft">
38
- <div ng-transclude="left" ng-class=":: $ctrl.styles.columnItem"></div>
39
- </div>
40
-
41
- <div ng-class=":: $ctrl.styles.columnCenter">
42
- <div ng-transclude="center" ng-class=":: $ctrl.styles.columnItem"></div>
43
- </div>
44
-
45
- <div ng-class=":: $ctrl.styles.columnRight">
46
- <div ng-transclude="right" ng-class=":: $ctrl.styles.columnItem"></div>
47
- </div>
48
- </footer>`);
37
+ _defineProperty(rgFooterComponent, "template", "<footer ng-class=\":: $ctrl.styles.footer\" data-test=\"ring-footer\">\n <div ng-class=\":: $ctrl.styles.columnLeft\">\n <div ng-transclude=\"left\" ng-class=\":: $ctrl.styles.columnItem\"></div>\n </div>\n\n <div ng-class=\":: $ctrl.styles.columnCenter\">\n <div ng-transclude=\"center\" ng-class=\":: $ctrl.styles.columnItem\"></div>\n </div>\n\n <div ng-class=\":: $ctrl.styles.columnRight\">\n <div ng-transclude=\"right\" ng-class=\":: $ctrl.styles.columnItem\"></div>\n </div>\n</footer>");
49
38
 
50
39
  class rgFooterLineComponent extends RingAngularComponent {}
51
40
 
52
41
  _defineProperty(rgFooterLineComponent, "transclude", true);
53
42
 
54
- _defineProperty(rgFooterLineComponent, "template", `<div class="${modules_7385b3fd.line}" ng-transclude></div>`);
43
+ _defineProperty(rgFooterLineComponent, "template", "<div class=\"".concat(modules_7385b3fd.line, "\" ng-transclude></div>"));
55
44
 
56
45
  class rgFooterCopyrightComponent extends RingAngularComponent {
57
46
  $onInit() {
@@ -9,7 +9,7 @@ import MessageBundle from '../message-bundle-ng/message-bundle-ng.js';
9
9
  const angularModule = angular.module('Ring.form', [MessageBundle, AngularElastic]);
10
10
  angularModule.factory('getFormErrorMessages', ["RingMessageBundle", function getFormErrorMessagesDirective(RingMessageBundle) {
11
11
  function msg(id, formError) {
12
- const messageBundleId = `form_${id}`;
12
+ const messageBundleId = "form_".concat(id);
13
13
 
14
14
  if (RingMessageBundle.hasOwnProperty(messageBundleId)) {
15
15
  return RingMessageBundle[messageBundleId]();
@@ -51,9 +51,7 @@ angularModule.directive('rgErrorBubble', ["getFormErrorMessages", function rgErr
51
51
  errorBubble: '&rgErrorBubble'
52
52
  },
53
53
  replace: true,
54
- template: `<div class="ring-error-bubble" ng-class="{ active: active, 'ring-error-bubble_material': material }" ng-style="style">
55
- <div ng-repeat="errorMessage in getFormErrorMessages(errorBubble().$error)">{{ errorMessage }}</div>
56
- </div>`,
54
+ template: "<div class=\"ring-error-bubble\" ng-class=\"{ active: active, 'ring-error-bubble_material': material }\" ng-style=\"style\">\n <div ng-repeat=\"errorMessage in getFormErrorMessages(errorBubble().$error)\">{{ errorMessage }}</div>\n</div>",
57
55
  link: function link(scope, iElement, iAttrs) {
58
56
  scope.style = {};
59
57
  const siblings = Array.from(iElement[0].parentNode.children);
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import angular from 'angular';
3
4
  import React from 'react';
4
5
  import { unmountComponentAtNode, render } from 'react-dom';
@@ -7,7 +8,7 @@ import Renderer from './react-dom-renderer.js';
7
8
  import 'prop-types';
8
9
 
9
10
  function getAngularComponentName(name) {
10
- return `rg${name}`;
11
+ return "rg".concat(name);
11
12
  }
12
13
 
13
14
  function createAngularComponent(Component) {
@@ -75,7 +76,7 @@ function createAngularComponent(Component) {
75
76
  }
76
77
 
77
78
  function angularComponentFactory(Component, name) {
78
- const angularModuleName = `Ring.${name[0].toLowerCase() + name.slice(1)}`;
79
+ const angularModuleName = "Ring.".concat(name[0].toLowerCase() + name.slice(1));
79
80
  return angular.module(angularModuleName, []).component(getAngularComponentName(name), createAngularComponent(Component));
80
81
  }
81
82
 
@@ -1,13 +1,15 @@
1
+ import 'core-js/modules/es.string.replace.js';
1
2
  import 'conic-gradient';
2
3
  import memoize from './memoize.js';
3
4
  import supportsCss from './supports-css.js';
5
+ import 'core-js/modules/web.dom-collections.iterator.js';
4
6
 
5
7
  const conicGradient = memoize(_ref => {
6
8
  let {
7
9
  stops,
8
10
  size
9
11
  } = _ref;
10
- return supportsCss('background-image: conic-gradient(white, black)') ? `conic-gradient(${stops})` : new ConicGradient({
12
+ return supportsCss('background-image: conic-gradient(white, black)') ? "conic-gradient(".concat(stops, ")") : new ConicGradient({
11
13
  stops,
12
14
  size
13
15
  });
@@ -21,9 +23,7 @@ const conicGradientWithMask = (mask, stops, size) => {
21
23
 
22
24
  if (!mask.supports && gradient instanceof ConicGradient) {
23
25
  Object.defineProperty(gradient, 'svg', {
24
- value: gradient.svg.replace('<image ', `
25
- ${mask.svgDefs}
26
- <image mask="url(#${mask.maskId})" `)
26
+ value: gradient.svg.replace('<image ', "\n ".concat(mask.svgDefs, " \n <image mask=\"url(#").concat(mask.maskId, ")\" "))
27
27
  });
28
28
  }
29
29
 
@@ -1,3 +1,4 @@
1
+ import 'core-js/modules/web.dom-collections.iterator.js';
1
2
  import React, { memo, createContext, useState, useContext, useEffect } from 'react';
2
3
  import PropTypes from 'prop-types';
3
4
 
@@ -21,7 +22,7 @@ function createStatefulContext(initialValue) {
21
22
  Provider.propTypes = {
22
23
  children: PropTypes.node
23
24
  };
24
- Provider.displayName = `${name}Provider`;
25
+ Provider.displayName = "".concat(name, "Provider");
25
26
 
26
27
  function useUpdate(value, skipUpdate) {
27
28
  const update = useContext(UpdateContext);
@@ -41,7 +42,7 @@ function createStatefulContext(initialValue) {
41
42
  return null;
42
43
  }
43
44
 
44
- Updater.displayName = `${name}Updater`;
45
+ Updater.displayName = "".concat(name, "Updater");
45
46
  return {
46
47
  ValueContext,
47
48
  UpdateContext,
@@ -1,3 +1,5 @@
1
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
+
1
3
  function expandMap(attrsMap) {
2
4
  return Object.entries(attrsMap).reduce((result, _ref) => {
3
5
  let [key, value] = _ref;
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
 
3
4
  /**
4
5
  * @name DOM
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import React, { Component } from 'react';
3
4
  import PropTypes from 'prop-types';
4
5
  import composeRefs from './composeRefs.js';
@@ -22,7 +22,7 @@ function fuzzyHighlight(needle, haystack) {
22
22
 
23
23
  if (nlen === hlen) {
24
24
  const matched = ndl === hstck;
25
- return result(matched, matched ? `${marker}${haystack}${marker}` : haystack);
25
+ return result(matched, matched ? "".concat(marker).concat(haystack).concat(marker) : haystack);
26
26
  }
27
27
 
28
28
  let highlight = '';
@@ -1,3 +1,5 @@
1
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
+
1
3
  const injectStyleSheet = styles => {
2
4
  const styleTag = document.createElement('style');
3
5
  styleTag.setAttribute('type', 'text/css');
@@ -5,13 +7,9 @@ const injectStyleSheet = styles => {
5
7
  document.head.appendChild(styleTag);
6
8
  return styleTag;
7
9
  };
8
- const injectRuleSet = (selector, declarations) => injectStyleSheet(`
9
- ${selector} {
10
- ${Object.entries(declarations).map(_ref => {
10
+ const injectRuleSet = (selector, declarations) => injectStyleSheet("\n".concat(selector, " {\n ").concat(Object.entries(declarations).map(_ref => {
11
11
  let [property, value] = _ref;
12
- return `${property}: ${value};`;
13
- }).join(`
14
- `)}
15
- }`);
12
+ return "".concat(property, ": ").concat(value, ";");
13
+ }).join("\n "), "\n}"));
16
14
 
17
15
  export { injectRuleSet, injectStyleSheet };
@@ -1,3 +1,5 @@
1
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
+
1
3
  class Listeners {
2
4
  constructor() {
3
5
  this.removeAll();
@@ -1,3 +1,5 @@
1
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
+
1
3
  function memoize(fn) {
2
4
  const primitiveCache = new Map();
3
5
  const objectCache = new WeakMap();
@@ -1,3 +1,5 @@
1
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
+
1
3
  function normalizeIndent(string) {
2
4
  const nonemptyRE = /\S/;
3
5
  const indentRE = /^\s*/;
@@ -1,13 +1,15 @@
1
+ import 'core-js/modules/web.dom-collections.iterator.js';
1
2
  import getUID from './get-uid.js';
2
3
  import supportsCss from './supports-css.js';
4
+ import 'core-js/modules/es.string.replace.js';
3
5
  import './memoize.js';
4
6
 
5
- const radialGradient = (length, stops) => `radial-gradient(${length}, ${Object.entries(stops).map(entry => entry.join(' ')).join(', ')})`;
7
+ const radialGradient = (length, stops) => "radial-gradient(".concat(length, ", ").concat(Object.entries(stops).map(entry => entry.join(' ')).join(', '), ")");
6
8
 
7
9
  var radialGradientMask = ((length, stops) => {
8
10
  for (const prefix of ['', '-webkit-']) {
9
- const property = `${prefix}mask-image`;
10
- const declaration = `${property}: radial-gradient(black, white)`;
11
+ const property = "".concat(prefix, "mask-image");
12
+ const declaration = "".concat(property, ": radial-gradient(black, white)");
11
13
 
12
14
  if (supportsCss(declaration)) {
13
15
  return {
@@ -21,23 +23,10 @@ var radialGradientMask = ((length, stops) => {
21
23
 
22
24
  const gradientId = getUID('gradient');
23
25
  const maskId = getUID('mask');
24
- const svgDefs = `
25
- <svg>
26
- <defs>
27
- <radialGradient id="${gradientId}">
28
- ${Object.entries(stops).map(_ref => {
26
+ const svgDefs = "\n <svg>\n <defs>\n <radialGradient id=\"".concat(gradientId, "\">\n ").concat(Object.entries(stops).map(_ref => {
29
27
  let [color, offset] = _ref;
30
- return `
31
- <stop offset="${offset}" stop-color="${color}"/>
32
- `;
33
- }).join('')}
34
- </radialGradient>
35
- <mask id="${maskId}">
36
- <rect height="100%" width="100%" fill="url(#${gradientId})"/>
37
- </mask>
38
- </defs>
39
- </svg>
40
- `;
28
+ return "\n <stop offset=\"".concat(offset, "\" stop-color=\"").concat(color, "\"/>\n ");
29
+ }).join(''), "\n </radialGradient>\n <mask id=\"").concat(maskId, "\">\n <rect height=\"100%\" width=\"100%\" fill=\"url(#").concat(gradientId, ")\"/>\n </mask>\n </defs>\n </svg>\n ");
41
30
  return {
42
31
  supports: false,
43
32
  css: {},
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import React, { Component } from 'react';
3
4
  import PropTypes from 'prop-types';
4
5
 
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import { createElement } from 'react';
3
4
  import { render } from 'react-dom';
4
5
 
@@ -37,7 +38,7 @@ function rerenderHOC(ComposedComponent) {
37
38
  container = this.node.parentNode;
38
39
  } finally {
39
40
  if (!container) {
40
- throw new Error(`${this.constructor.name} component isn't mounted`);
41
+ throw new Error("".concat(this.constructor.name, " component isn't mounted"));
41
42
  }
42
43
  }
43
44
 
@@ -1,3 +1,5 @@
1
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
+ import 'core-js/modules/es.string.replace.js';
1
3
  import memoize from './memoize.js';
2
4
 
3
5
  var supportsCss = memoize(declaration => {
@@ -34,7 +34,7 @@ const withTheme = function () {
34
34
  }));
35
35
  Object.assign(WithTheme, ComposedComponent);
36
36
  WithTheme.propTypes = ComposedComponent.propTypes;
37
- WithTheme.displayName = `withTheme(${getDisplayName(ComposedComponent)})`;
37
+ WithTheme.displayName = "withTheme(".concat(getDisplayName(ComposedComponent), ")");
38
38
  return WithTheme;
39
39
  };
40
40
  };
@@ -1,3 +1,5 @@
1
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
+
1
3
  const TWO = 2;
2
4
  function trivialTemplateTag(f) {
3
5
  return function (strings) {
@@ -1,3 +1,5 @@
1
+ import 'core-js/modules/es.string.replace.js';
2
+
1
3
  /**
2
4
  * @description Provides a set of utilities for URL manipulation.
3
5
  */
@@ -32,7 +34,7 @@ function getBaseURI() {
32
34
 
33
35
  function getAbsoluteBaseURL() {
34
36
  const baseUrl = getBaseURI();
35
- const host = `${window.location.protocol}//${window.location.host}`;
37
+ const host = "".concat(window.location.protocol, "//").concat(window.location.host);
36
38
  let uri;
37
39
 
38
40
  if (baseUrl) {
package/dist/grid/col.js CHANGED
@@ -22,7 +22,7 @@ const classMap = {
22
22
  */
23
23
 
24
24
  function getClassNames(props) {
25
- return Object.keys(props).filter(key => classMap[key]).map(key => modules_855170c0[Number.isInteger(props[key]) ? `${classMap[key]}-${props[key]}` : classMap[key]]);
25
+ return Object.keys(props).filter(key => classMap[key]).map(key => modules_855170c0[Number.isInteger(props[key]) ? "".concat(classMap[key], "-").concat(props[key]) : classMap[key]]);
26
26
  }
27
27
 
28
28
  class Col extends Component {
package/dist/grid/row.js CHANGED
@@ -19,7 +19,7 @@ const modifierKeys = ['start', 'center', 'end', // text-align, justify-content
19
19
  function getModifierClassNames(props) {
20
20
  return modifierKeys.reduce((result, key) => {
21
21
  if (props[key]) {
22
- return result.concat(modules_855170c0[`${key}-${props[key]}`]);
22
+ return result.concat(modules_855170c0["".concat(key, "-").concat(props[key])]);
23
23
  }
24
24
 
25
25
  return result;
@@ -4,7 +4,7 @@ import { m as modules_d9da30c7 } from '../_helpers/group.js';
4
4
  const angularModule = angular.module('Ring.group', []);
5
5
  angularModule.component('rgGroup', {
6
6
  transclude: true,
7
- template: `<span ng-transclude class="${modules_d9da30c7.group}"></span>`
7
+ template: "<span ng-transclude class=\"".concat(modules_d9da30c7.group, "\"></span>")
8
8
  });
9
9
  var groupNg = angularModule.name;
10
10
 
@@ -17,7 +17,9 @@ import 'util-deprecate';
17
17
  import '../icon/icon__constants.js';
18
18
  import '../_helpers/icon.js';
19
19
  import '../icon/icon__svg.js';
20
+ import 'core-js/modules/es.string.replace.js';
20
21
  import '../global/memoize.js';
22
+ import 'core-js/modules/web.dom-collections.iterator.js';
21
23
  import '../button/button.js';
22
24
  import 'focus-visible';
23
25
  import '@jetbrains/icons/chevron-10px';
@@ -8,7 +8,9 @@ import { Size } from '../icon/icon__constants.js';
8
8
  import 'util-deprecate';
9
9
  import '../_helpers/icon.js';
10
10
  import '../icon/icon__svg.js';
11
+ import 'core-js/modules/es.string.replace.js';
11
12
  import '../global/memoize.js';
13
+ import 'core-js/modules/web.dom-collections.iterator.js';
12
14
 
13
15
  class Logo extends PureComponent {
14
16
  render() {
@@ -7,7 +7,9 @@ import Button from '../button/button.js';
7
7
  import DropdownMenu from '../dropdown-menu/dropdown-menu.js';
8
8
  import PopupMenu from '../popup-menu/popup-menu.js';
9
9
  import { m as modules_47759f5e } from '../_helpers/header.js';
10
+ import 'core-js/modules/web.dom-collections.iterator.js';
10
11
  import '../global/url.js';
12
+ import 'core-js/modules/es.string.replace.js';
11
13
  import '../global/dom.js';
12
14
  import '../avatar/fallback-avatar.js';
13
15
  import '../global/get-uid.js';
@@ -6,6 +6,7 @@ export { S as default } from '../_helpers/services-link.js';
6
6
  import 'focus-visible';
7
7
  import 'classnames';
8
8
  import '../global/memoize.js';
9
+ import 'core-js/modules/web.dom-collections.iterator.js';
9
10
  import '../global/data-tests.js';
10
11
  import '../link/clickableLink.js';
11
12
  import '../_helpers/link.js';
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import React, { PureComponent } from 'react';
3
4
  import PropTypes from 'prop-types';
4
5
  import servicesIcon from '@jetbrains/icons/services-20px';
@@ -15,6 +16,7 @@ import 'util-deprecate';
15
16
  import '../icon/icon__constants.js';
16
17
  import '../_helpers/icon.js';
17
18
  import '../icon/icon__svg.js';
19
+ import 'core-js/modules/es.string.replace.js';
18
20
  import '../global/memoize.js';
19
21
  import '../button/button.js';
20
22
  import 'focus-visible';
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import React, { PureComponent } from 'react';
3
4
  import PropTypes from 'prop-types';
4
5
  import '../auth/auth.js';
@@ -7,6 +8,7 @@ import Profile from './profile.js';
7
8
  import Auth, { USER_CHANGED_EVENT, LOGOUT_POSTPONED_EVENT, USER_CHANGE_POSTPONED_EVENT } from '../auth/auth__core.js';
8
9
  import '../auth/window-flow.js';
9
10
  import '../auth/response-parser.js';
11
+ import 'core-js/modules/es.string.replace.js';
10
12
  import 'es6-error';
11
13
  import '../global/url.js';
12
14
  import '../auth/down-notification.js';
@@ -172,14 +174,16 @@ class SmartProfile extends PureComponent {
172
174
  }
173
175
 
174
176
  checkUserCertificateMismatch(user) {
177
+ var _userMeta$headers;
178
+
175
179
  const {
176
180
  auth,
177
181
  translations
178
182
  } = this.props;
179
183
  const userMeta = auth.http.getMetaForResponse(user);
180
184
 
181
- if (userMeta?.headers?.has(CERTIFICATE_MISMATCH_HEADER)) {
182
- const message = translations?.certificateMismatch || `You are authenticated as ${user.login || user.name}. To authenticate with the client certificate for your account, log out, then click the "Log in with certificate" option on the login page.`;
185
+ if (userMeta !== null && userMeta !== void 0 && (_userMeta$headers = userMeta.headers) !== null && _userMeta$headers !== void 0 && _userMeta$headers.has(CERTIFICATE_MISMATCH_HEADER)) {
186
+ const message = (translations === null || translations === void 0 ? void 0 : translations.certificateMismatch) || "You are authenticated as ".concat(user.login || user.name, ". To authenticate with the client certificate for your account, log out, then click the \"Log in with certificate\" option on the login page.");
183
187
  alertService.warning(message, 0);
184
188
  }
185
189
  }
@@ -196,7 +200,7 @@ class SmartProfile extends PureComponent {
196
200
  profileUrl,
197
201
  ...props
198
202
  } = this.props;
199
- const url = profileUrl || (user ? `${auth.config.serverUri}users/${user.id}` : '');
203
+ const url = profileUrl || (user ? "".concat(auth.config.serverUri, "users/").concat(user.id) : '');
200
204
  return /*#__PURE__*/React.createElement(Profile, _extends({
201
205
  onLogin: this.login,
202
206
  onLogout: this.logout,
@@ -1,4 +1,5 @@
1
1
  import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
2
+ import 'core-js/modules/web.dom-collections.iterator.js';
2
3
  import React, { Component } from 'react';
3
4
  import PropTypes from 'prop-types';
4
5
  import '../auth/auth.js';
@@ -7,6 +8,7 @@ import Services from './services.js';
7
8
  import Auth from '../auth/auth__core.js';
8
9
  import '../auth/window-flow.js';
9
10
  import '../auth/response-parser.js';
11
+ import 'core-js/modules/es.string.replace.js';
10
12
  import 'es6-error';
11
13
  import '../global/url.js';
12
14
  import '../auth/down-notification.js';
@@ -120,7 +122,7 @@ class SmartServices extends Component {
120
122
  }
121
123
 
122
124
  getServices(fields) {
123
- return this.http.get(`services/header?fields=${fields}`);
125
+ return this.http.get("services/header?fields=".concat(fields));
124
126
  }
125
127
 
126
128
  render() {
@@ -4,6 +4,7 @@ import PropTypes from 'prop-types';
4
4
  import classNames from 'classnames';
5
5
  import Button from '../button/button.js';
6
6
  import { m as modules_47759f5e } from '../_helpers/header.js';
7
+ import 'core-js/modules/web.dom-collections.iterator.js';
7
8
  import 'focus-visible';
8
9
  import '@jetbrains/icons/chevron-10px';
9
10
  import '../icon/icon.js';
@@ -11,6 +12,7 @@ import 'util-deprecate';
11
12
  import '../icon/icon__constants.js';
12
13
  import '../_helpers/icon.js';
13
14
  import '../icon/icon__svg.js';
15
+ import 'core-js/modules/es.string.replace.js';
14
16
  import '../global/memoize.js';
15
17
  import '../global/theme.js';
16
18
  import '../link/clickableLink.js';