@jetbrains/ring-ui 5.1.22 → 6.0.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 (829) hide show
  1. package/README.md +9 -5
  2. package/babel.config.js +0 -1
  3. package/components/alert/alert.css +12 -13
  4. package/components/alert/container.css +4 -6
  5. package/components/alert-service/alert-service.d.ts +4 -2
  6. package/components/alert-service/alert-service.js +3 -2
  7. package/components/alert-service/alert-service.stories.css +0 -3
  8. package/components/analytics/analytics.d.ts +0 -20
  9. package/components/analytics/analytics.js +0 -64
  10. package/components/analytics/analytics__custom-plugin.d.ts +0 -1
  11. package/components/analytics/analytics__custom-plugin.js +0 -3
  12. package/components/auth/down-notification.css +2 -4
  13. package/components/auth-dialog/auth-dialog.css +9 -11
  14. package/components/auth-dialog-service/auth-dialog-service.d.ts +1 -0
  15. package/components/auth-dialog-service/auth-dialog-service.js +4 -3
  16. package/components/badge/badge.css +1 -3
  17. package/components/button/button.css +10 -12
  18. package/components/button-group/button-group.css +1 -2
  19. package/components/button-set/button-set.css +1 -2
  20. package/components/button-toolbar/button-toolbar.css +1 -2
  21. package/components/checkbox/checkbox.css +3 -4
  22. package/components/code/code.css +3 -5
  23. package/components/confirm/confirm.css +1 -3
  24. package/components/confirm-service/confirm-service.d.ts +1 -1
  25. package/components/confirm-service/confirm-service.js +5 -4
  26. package/components/content-layout/content-layout.css +7 -7
  27. package/components/data-list/data-list.css +4 -5
  28. package/components/date-picker/date-picker.css +40 -41
  29. package/components/dialog/dialog.css +16 -13
  30. package/components/dropdown-menu/dropdown-menu.d.ts +11 -1
  31. package/components/editable-heading/editable-heading.css +5 -7
  32. package/components/error-bubble/error-bubble-legacy.css +6 -8
  33. package/components/error-bubble/error-bubble.css +6 -8
  34. package/components/footer/footer.css +6 -8
  35. package/components/form/form.css +31 -33
  36. package/components/form/form.stories.js +109 -99
  37. package/components/global/global.css +1 -7
  38. package/components/global/react-render-adapter.d.ts +1 -29
  39. package/components/global/react-render-adapter.js +3 -24
  40. package/components/global/rerender-hoc.d.ts +4 -35
  41. package/components/global/rerender-hoc.js +10 -24
  42. package/components/global/variables.css +1 -2
  43. package/components/global/variables.d.ts +0 -1
  44. package/components/global/variables_dark.css +71 -67
  45. package/components/grid/grid.css +6 -6
  46. package/components/group/group.css +1 -3
  47. package/components/header/header.css +12 -14
  48. package/components/header/services-link.js +3 -5
  49. package/components/header/services.css +12 -14
  50. package/components/header/smart-services.d.ts +2 -1
  51. package/components/heading/heading.css +24 -6
  52. package/components/http/http.d.ts +6 -6
  53. package/components/http/http.js +0 -12
  54. package/components/hub-source/hub-source.d.ts +8 -6
  55. package/components/icon/icon.css +2 -4
  56. package/components/input/input-legacy.css +2 -4
  57. package/components/input/input.css +8 -10
  58. package/components/input-size/input-size.css +4 -6
  59. package/components/input-size/input-size.stories.js +51 -197
  60. package/components/island/island.css +6 -7
  61. package/components/island-legacy/island-legacy.css +6 -8
  62. package/components/line/line.css +1 -3
  63. package/components/link/link.css +15 -39
  64. package/components/link/link.d.ts +4 -14
  65. package/components/link/link.js +5 -34
  66. package/components/list/consts.d.ts +11 -11
  67. package/components/list/consts.js +11 -15
  68. package/components/list/list.css +17 -20
  69. package/components/list/list.d.ts +13 -3
  70. package/components/loader/loader.css +1 -3
  71. package/components/loader-inline/loader-inline.css +5 -6
  72. package/components/login-dialog/login-dialog.css +1 -3
  73. package/components/login-dialog/service.js +5 -4
  74. package/components/markdown/markdown.css +53 -3
  75. package/components/markdown/markdown.d.ts +4 -7
  76. package/components/markdown/markdown.js +8 -27
  77. package/components/message/message.css +5 -8
  78. package/components/old-browsers-message/old-browsers-message.css +2 -4
  79. package/components/pager/pager.css +2 -4
  80. package/components/pager/pager.js +2 -8
  81. package/components/panel/panel.css +3 -5
  82. package/components/popup-menu/popup-menu.d.ts +22 -2
  83. package/components/progress-bar/progress-bar.css +3 -4
  84. package/components/query-assist/query-assist.css +3 -4
  85. package/components/query-assist/query-assist.d.ts +1 -28
  86. package/components/radio/radio.css +7 -10
  87. package/components/select/select-popup.css +9 -11
  88. package/components/select/select.css +13 -14
  89. package/components/select/select.d.ts +1 -28
  90. package/components/sidebar/sidebar.css +13 -15
  91. package/components/table/table.css +15 -17
  92. package/components/table-legacy/table-legacy.css +22 -24
  93. package/components/table-legacy/table-legacy__toolbar.css +2 -4
  94. package/components/tabs/collapsible-more.js +1 -1
  95. package/components/tabs/collapsible-tab.js +1 -1
  96. package/components/tabs/dumb-tabs.js +1 -1
  97. package/components/tabs/tab-link.js +7 -7
  98. package/components/tabs/tabs.css +3 -4
  99. package/components/tag/tag.css +12 -13
  100. package/components/tags-input/tags-input.css +1 -2
  101. package/components/tags-input/tags-input.d.ts +1 -28
  102. package/components/toggle/toggle.css +28 -23
  103. package/components/tooltip/tooltip.css +3 -5
  104. package/components/user-agreement/service.d.ts +3 -1
  105. package/components/user-agreement/service.js +8 -7
  106. package/components/user-agreement/user-agreement.css +2 -2
  107. package/components/user-agreement/user-agreement.d.ts +2 -3
  108. package/components/user-agreement/user-agreement.js +2 -4
  109. package/components/user-card/card.d.ts +2 -3
  110. package/components/user-card/card.js +8 -8
  111. package/components/user-card/user-card.css +3 -5
  112. package/package.json +22 -34
  113. package/webpack.config.js +1 -24
  114. package/components/analytics/analytics__fus-plugin.d.ts +0 -52
  115. package/components/analytics/analytics__fus-plugin.js +0 -22
  116. package/components/analytics/analytics__ga-plugin.d.ts +0 -27
  117. package/components/analytics/analytics__ga-plugin.js +0 -89
  118. package/components/analytics/analytics__plugin-utils.d.ts +0 -31
  119. package/components/analytics/analytics__plugin-utils.js +0 -92
  120. package/components/auth/landing-entry.d.ts +0 -3
  121. package/components/auth/landing-entry.js +0 -2
  122. package/components/auth/landing.d.ts +0 -2
  123. package/components/auth/landing.html +0 -12
  124. package/components/auth/landing.js +0 -26
  125. package/components/auth-ng/auth-ng.js +0 -143
  126. package/components/auth-ng/auth-ng.mock.js +0 -28
  127. package/components/auth-ng/auth-ng.stories.js +0 -41
  128. package/components/autofocus-ng/autofocus-ng.js +0 -51
  129. package/components/autofocus-ng/autofocus-ng.stories.js +0 -41
  130. package/components/autofocus-ng/autofocus-ng.test.js +0 -49
  131. package/components/avatar-editor-ng/avatar-editor-ng.css +0 -104
  132. package/components/avatar-editor-ng/avatar-editor-ng.js +0 -133
  133. package/components/avatar-editor-ng/avatar-editor-ng.stories.js +0 -41
  134. package/components/avatar-editor-ng/avatar-editor-ng__template.js +0 -28
  135. package/components/avatar-ng/avatar-ng.js +0 -7
  136. package/components/avatar-ng/avatar-ng.stories.js +0 -33
  137. package/components/badge-ng/badge-ng.js +0 -8
  138. package/components/badge-ng/badge-ng.stories.js +0 -32
  139. package/components/breadcrumb-ng/breadcrumb-ng.js +0 -60
  140. package/components/breadcrumb-ng/breadcrumb-ng.stories.js +0 -33
  141. package/components/breadcrumb-ng/breadcrumb.css +0 -70
  142. package/components/button-group-ng/button-group-ng.css +0 -4
  143. package/components/button-group-ng/button-group-ng.js +0 -43
  144. package/components/button-group-ng/button-group-ng.stories.js +0 -30
  145. package/components/button-ng/button-ng.css +0 -23
  146. package/components/button-ng/button-ng.js +0 -192
  147. package/components/button-ng/button-ng.stories.js +0 -114
  148. package/components/button-ng/button-ng.test.js +0 -95
  149. package/components/button-set-ng/button-set-ng.js +0 -22
  150. package/components/button-set-ng/button-set-ng.stories.js +0 -30
  151. package/components/button-toolbar-ng/button-toolbar-ng.js +0 -23
  152. package/components/button-toolbar-ng/button-toolbar-ng.stories.js +0 -35
  153. package/components/checkbox-ng/checkbox-ng.js +0 -64
  154. package/components/checkbox-ng/checkbox-ng.stories.js +0 -80
  155. package/components/checkbox-ng/checkbox-ng.test.js +0 -61
  156. package/components/compiler-ng/compiler-ng.js +0 -63
  157. package/components/compiler-ng/compiler-ng.stories.js +0 -32
  158. package/components/compiler-ng/compiler-ng.test.js +0 -207
  159. package/components/confirm-ng/confirm-ng.js +0 -30
  160. package/components/confirm-ng/confirm-ng.stories.js +0 -43
  161. package/components/data-list-ng/data-list-ng.js +0 -7
  162. package/components/data-list-ng/data-list-ng.stories.js +0 -54
  163. package/components/dialog-ng/dialog-ng.css +0 -98
  164. package/components/dialog-ng/dialog-ng.js +0 -606
  165. package/components/dialog-ng/dialog-ng.stories.js +0 -240
  166. package/components/dialog-ng/dialog-ng.test.js +0 -829
  167. package/components/dialog-ng/dialog-ng__template.js +0 -70
  168. package/components/docked-panel-ng/docked-panel-ng.css +0 -28
  169. package/components/docked-panel-ng/docked-panel-ng.js +0 -169
  170. package/components/docked-panel-ng/docked-panel-ng.stories.js +0 -39
  171. package/components/error-message-ng/error-message-ng.js +0 -50
  172. package/components/error-message-ng/error-message-ng.stories.js +0 -33
  173. package/components/error-page-ng/error-page-ng.css +0 -6
  174. package/components/error-page-ng/error-page-ng.js +0 -269
  175. package/components/error-page-ng/error-page-ng.stories.js +0 -31
  176. package/components/error-page-ng/error-page-ng.test.js +0 -138
  177. package/components/footer-ng/footer-ng.js +0 -61
  178. package/components/footer-ng/footer-ng.stories.js +0 -35
  179. package/components/footer-ng/footer-ng.test.js +0 -41
  180. package/components/form-ng/error-bubble-ng.css +0 -7
  181. package/components/form-ng/form-ng.js +0 -176
  182. package/components/form-ng/form-ng.stories.js +0 -73
  183. package/components/global/angular-component-factory.js +0 -93
  184. package/components/global/angular-component-factory.test.js +0 -138
  185. package/components/global/ring-angular-component.js +0 -13
  186. package/components/global/ring-angular-component.test.js +0 -32
  187. package/components/group-ng/group-ng.js +0 -16
  188. package/components/group-ng/group.stories.js +0 -29
  189. package/components/heading-ng/heading-ng.js +0 -8
  190. package/components/heading-ng/heading-ng.stories.js +0 -29
  191. package/components/icon-ng/icon-ng.js +0 -89
  192. package/components/icon-ng/icon-ng.stories.js +0 -34
  193. package/components/input-ng/input-ng.css +0 -7
  194. package/components/input-ng/input-ng.js +0 -160
  195. package/components/input-ng/input-ng.stories.js +0 -127
  196. package/components/input-ng/input-ng.test.js +0 -32
  197. package/components/island-ng/island-content-ng.js +0 -56
  198. package/components/island-ng/island-header-ng.js +0 -34
  199. package/components/island-ng/island-ng-class-fixer.js +0 -7
  200. package/components/island-ng/island-ng.js +0 -35
  201. package/components/island-ng/island-ng.stories.js +0 -54
  202. package/components/link/link__legacy.css +0 -29
  203. package/components/link-ng/link-ng.js +0 -26
  204. package/components/link-ng/link-ng.stories.js +0 -22
  205. package/components/link-ng/link-ng.test.js +0 -29
  206. package/components/loader-inline-ng/loader-inline-ng.js +0 -17
  207. package/components/loader-inline-ng/loader-inline-ng.stories.js +0 -28
  208. package/components/loader-inline-ng/loader-inline-ng.test.js +0 -28
  209. package/components/loader-ng/loader-ng.js +0 -37
  210. package/components/loader-ng/loader-ng.stories.js +0 -27
  211. package/components/loader-ng/loader-ng.test.js +0 -41
  212. package/components/loader-screen-ng/loader-screen-ng.js +0 -95
  213. package/components/loader-screen-ng/loader-screen-ng.stories.js +0 -30
  214. package/components/markdown/code.d.ts +0 -7
  215. package/components/markdown/code.js +0 -17
  216. package/components/markdown/heading.d.ts +0 -11
  217. package/components/markdown/heading.js +0 -9
  218. package/components/markdown/link.d.ts +0 -12
  219. package/components/markdown/link.js +0 -10
  220. package/components/message-bundle-ng/message-bundle-ng.js +0 -67
  221. package/components/pager-ng/pager-ng.js +0 -7
  222. package/components/pager-ng/pager-ng.stories.js +0 -37
  223. package/components/palette/palette.stories.js +0 -63
  224. package/components/panel-ng/panel-ng.js +0 -20
  225. package/components/permissions-ng/permissions-ng.css +0 -5
  226. package/components/permissions-ng/permissions-ng.js +0 -246
  227. package/components/permissions-ng/permissions-ng.stories.js +0 -49
  228. package/components/permissions-ng/permissions-ng.test.js +0 -82
  229. package/components/place-under-ng/place-under-ng.js +0 -190
  230. package/components/place-under-ng/place-under-ng.stories.js +0 -94
  231. package/components/place-under-ng/place-under-ng.test.js +0 -182
  232. package/components/progress-bar-ng/progress-bar-ng.js +0 -7
  233. package/components/progress-bar-ng/progress-bar-ng.stories.js +0 -52
  234. package/components/promised-click-ng/promised-click-ng.js +0 -118
  235. package/components/promised-click-ng/promised-click-ng.stories.js +0 -42
  236. package/components/promised-click-ng/promised-click-ng.test.js +0 -166
  237. package/components/proxy-attrs/proxy-attrs.js +0 -24
  238. package/components/proxy-attrs/proxy-attrs.test.js +0 -102
  239. package/components/query-assist-ng/query-assist-ng.js +0 -7
  240. package/components/query-assist-ng/query-assist-ng.stories.js +0 -89
  241. package/components/radio-ng/radio-ng.js +0 -61
  242. package/components/radio-ng/radio-ng.stories.js +0 -31
  243. package/components/radio-ng/radio-ng.test.js +0 -55
  244. package/components/save-field-ng/save-field-ng.css +0 -13
  245. package/components/save-field-ng/save-field-ng.js +0 -358
  246. package/components/save-field-ng/save-field-ng.stories.js +0 -221
  247. package/components/save-field-ng/save-field-ng__template.js +0 -32
  248. package/components/select-ng/select-ng.js +0 -561
  249. package/components/select-ng/select-ng.stories.js +0 -483
  250. package/components/select-ng/select-ng.test.js +0 -620
  251. package/components/select-ng/select-ng__lazy.js +0 -83
  252. package/components/select-ng/select-ng__lazy.test.js +0 -81
  253. package/components/select-ng/select-ng__options.js +0 -147
  254. package/components/shortcuts-hint-ng/shortcuts-hint-ng.css +0 -116
  255. package/components/shortcuts-hint-ng/shortcuts-hint-ng.js +0 -101
  256. package/components/shortcuts-hint-ng/shortcuts-hint-ng.stories.js +0 -126
  257. package/components/shortcuts-hint-ng/shortcuts-hint-ng.test.js +0 -113
  258. package/components/shortcuts-hint-ng/shortcuts-hint-ng__template.js +0 -48
  259. package/components/shortcuts-ng/shortcuts-ng.js +0 -285
  260. package/components/sidebar-ng/sidebar-ng.js +0 -99
  261. package/components/sidebar-ng/sidebar-ng.stories.js +0 -94
  262. package/components/sidebar-ng/sidebar-ng.test.js +0 -37
  263. package/components/sidebar-ng/sidebar-ng__button-template.js +0 -18
  264. package/components/sidebar-ng/sidebar-ng__template.js +0 -10
  265. package/components/table-legacy-ng/table-legacy-ng.js +0 -433
  266. package/components/table-legacy-ng/table-legacy-ng.stories.js +0 -192
  267. package/components/table-legacy-ng/table-legacy-ng.test.js +0 -296
  268. package/components/table-legacy-ng/table-legacy-ng__pager.js +0 -32
  269. package/components/table-legacy-ng/table-legacy-ng__selection-navigate-actions.js +0 -105
  270. package/components/table-legacy-ng/table-legacy-ng__selection.js +0 -165
  271. package/components/table-legacy-ng/table-legacy-ng__toolbar.js +0 -58
  272. package/components/table-ng/smart-table-ng.js +0 -7
  273. package/components/table-ng/table-ng.js +0 -7
  274. package/components/table-ng/table-ng.stories.js +0 -84
  275. package/components/tabs-ng/tabs-ng.js +0 -206
  276. package/components/tabs-ng/tabs-ng.stories.js +0 -30
  277. package/components/tabs-ng/tabs-ng.test.js +0 -76
  278. package/components/tabs-ng/tabs-ng__template.js +0 -38
  279. package/components/tags-input-ng/tags-input-ng.js +0 -7
  280. package/components/tags-input-ng/tags-input-ng.stories.js +0 -41
  281. package/components/template-ng/template-ng.js +0 -57
  282. package/components/template-ng/template-ng.stories.js +0 -32
  283. package/components/template-ng/template-ng.test.js +0 -97
  284. package/components/title-ng/title-ng.js +0 -120
  285. package/components/title-ng/title-ng.stories.js +0 -30
  286. package/components/title-ng/title-ng.test.js +0 -47
  287. package/components/toggle-ng/toggle-ng.js +0 -8
  288. package/components/toggle-ng/toggle-ng.stories.js +0 -22
  289. package/components/tooltip-ng/tooltip-ng.css +0 -25
  290. package/components/tooltip-ng/tooltip-ng.js +0 -100
  291. package/components/tooltip-ng/tooltip-ng.stories.js +0 -36
  292. package/components/tooltip-ng/tooltip-ng.test.js +0 -69
  293. package/components/user-card-ng/user-card-ng.js +0 -16
  294. package/components/user-card-ng/user-card-ng.stories.js +0 -66
  295. package/dist/_helpers/_rollupPluginBabelHelpers.js +0 -648
  296. package/dist/_helpers/anchor.js +0 -31
  297. package/dist/_helpers/badge.js +0 -3
  298. package/dist/_helpers/button-group.js +0 -3
  299. package/dist/_helpers/button-set.js +0 -3
  300. package/dist/_helpers/button-toolbar.js +0 -3
  301. package/dist/_helpers/button__classes.js +0 -34
  302. package/dist/_helpers/card.js +0 -132
  303. package/dist/_helpers/checkbox.js +0 -3
  304. package/dist/_helpers/control-label.js +0 -3
  305. package/dist/_helpers/date-picker.js +0 -3
  306. package/dist/_helpers/dialog__body-scroll-preventer.js +0 -54
  307. package/dist/_helpers/error-message.js +0 -3
  308. package/dist/_helpers/footer.js +0 -110
  309. package/dist/_helpers/grid.js +0 -3
  310. package/dist/_helpers/group.js +0 -3
  311. package/dist/_helpers/header.js +0 -3
  312. package/dist/_helpers/icon.js +0 -3
  313. package/dist/_helpers/input.js +0 -3
  314. package/dist/_helpers/island.js +0 -3
  315. package/dist/_helpers/link.js +0 -3
  316. package/dist/_helpers/list.js +0 -3
  317. package/dist/_helpers/loader-inline.js +0 -3
  318. package/dist/_helpers/loader-screen.js +0 -3
  319. package/dist/_helpers/panel.js +0 -3
  320. package/dist/_helpers/query-assist__suggestions.js +0 -102
  321. package/dist/_helpers/radio.js +0 -3
  322. package/dist/_helpers/select__filter.js +0 -94
  323. package/dist/_helpers/services-link.js +0 -50
  324. package/dist/_helpers/sidebar.js +0 -123
  325. package/dist/_helpers/table.js +0 -3
  326. package/dist/_helpers/tabs.js +0 -3
  327. package/dist/_helpers/theme.js +0 -95
  328. package/dist/_helpers/title.js +0 -103
  329. package/dist/alert/alert.d.ts +0 -113
  330. package/dist/alert/alert.js +0 -296
  331. package/dist/alert/container.d.ts +0 -15
  332. package/dist/alert/container.js +0 -52
  333. package/dist/alert-service/alert-service.d.ts +0 -34
  334. package/dist/alert-service/alert-service.js +0 -221
  335. package/dist/analytics/analytics.d.ts +0 -38
  336. package/dist/analytics/analytics.js +0 -108
  337. package/dist/analytics/analytics__custom-plugin.d.ts +0 -29
  338. package/dist/analytics/analytics__custom-plugin.js +0 -94
  339. package/dist/analytics/analytics__fus-plugin.d.ts +0 -52
  340. package/dist/analytics/analytics__fus-plugin.js +0 -38
  341. package/dist/analytics/analytics__ga-plugin.d.ts +0 -27
  342. package/dist/analytics/analytics__ga-plugin.js +0 -116
  343. package/dist/analytics/analytics__plugin-utils.d.ts +0 -31
  344. package/dist/analytics/analytics__plugin-utils.js +0 -100
  345. package/dist/auth/auth.d.ts +0 -3
  346. package/dist/auth/auth.js +0 -136
  347. package/dist/auth/auth__core.d.ts +0 -236
  348. package/dist/auth/auth__core.js +0 -1655
  349. package/dist/auth/background-flow.d.ts +0 -31
  350. package/dist/auth/background-flow.js +0 -147
  351. package/dist/auth/down-notification.d.ts +0 -15
  352. package/dist/auth/down-notification.js +0 -160
  353. package/dist/auth/iframe-flow.d.ts +0 -20
  354. package/dist/auth/iframe-flow.js +0 -198
  355. package/dist/auth/landing-entry.d.ts +0 -3
  356. package/dist/auth/landing-entry.js +0 -5
  357. package/dist/auth/landing.d.ts +0 -2
  358. package/dist/auth/landing.js +0 -158
  359. package/dist/auth/request-builder.d.ts +0 -48
  360. package/dist/auth/request-builder.js +0 -104
  361. package/dist/auth/response-parser.d.ts +0 -70
  362. package/dist/auth/response-parser.js +0 -138
  363. package/dist/auth/storage.d.ts +0 -112
  364. package/dist/auth/storage.js +0 -431
  365. package/dist/auth/token-validator.d.ts +0 -93
  366. package/dist/auth/token-validator.js +0 -269
  367. package/dist/auth/window-flow.d.ts +0 -26
  368. package/dist/auth/window-flow.js +0 -154
  369. package/dist/auth-dialog/auth-dialog.d.ts +0 -60
  370. package/dist/auth-dialog/auth-dialog.js +0 -221
  371. package/dist/auth-dialog-service/auth-dialog-service.d.ts +0 -5
  372. package/dist/auth-dialog-service/auth-dialog-service.js +0 -91
  373. package/dist/auth-ng/auth-ng.js +0 -232
  374. package/dist/auth-ng/auth-ng.mock.js +0 -29
  375. package/dist/autofocus-ng/autofocus-ng.js +0 -58
  376. package/dist/avatar/avatar-example-datauri.d.ts +0 -1
  377. package/dist/avatar/avatar-example-datauri.js +0 -4
  378. package/dist/avatar/avatar.d.ts +0 -52
  379. package/dist/avatar/avatar.js +0 -183
  380. package/dist/avatar/fallback-avatar.d.ts +0 -17
  381. package/dist/avatar/fallback-avatar.js +0 -151
  382. package/dist/avatar-editor-ng/avatar-editor-ng.js +0 -191
  383. package/dist/avatar-editor-ng/avatar-editor-ng__template.js +0 -3
  384. package/dist/avatar-ng/avatar-ng.js +0 -38
  385. package/dist/badge/badge.d.ts +0 -24
  386. package/dist/badge/badge.js +0 -59
  387. package/dist/badge-ng/badge-ng.js +0 -27
  388. package/dist/breadcrumb-ng/breadcrumb-ng.js +0 -46
  389. package/dist/button/button.d.ts +0 -67
  390. package/dist/button/button.js +0 -132
  391. package/dist/button/button__classes.d.ts +0 -2
  392. package/dist/button/button__classes.js +0 -2
  393. package/dist/button-group/button-group.d.ts +0 -18
  394. package/dist/button-group/button-group.js +0 -48
  395. package/dist/button-group/caption.d.ts +0 -8
  396. package/dist/button-group/caption.js +0 -30
  397. package/dist/button-group-ng/button-group-ng.js +0 -45
  398. package/dist/button-ng/button-ng.js +0 -201
  399. package/dist/button-set/button-set.d.ts +0 -16
  400. package/dist/button-set/button-set.js +0 -46
  401. package/dist/button-set-ng/button-set-ng.js +0 -17
  402. package/dist/button-toolbar/button-toolbar.d.ts +0 -16
  403. package/dist/button-toolbar/button-toolbar.js +0 -45
  404. package/dist/button-toolbar-ng/button-toolbar-ng.js +0 -23
  405. package/dist/caret/caret.d.ts +0 -66
  406. package/dist/caret/caret.js +0 -259
  407. package/dist/checkbox/checkbox.d.ts +0 -45
  408. package/dist/checkbox/checkbox.js +0 -130
  409. package/dist/checkbox-ng/checkbox-ng.js +0 -52
  410. package/dist/clipboard/clipboard-fallback.d.ts +0 -2
  411. package/dist/clipboard/clipboard-fallback.js +0 -42
  412. package/dist/clipboard/clipboard.d.ts +0 -5
  413. package/dist/clipboard/clipboard.js +0 -187
  414. package/dist/code/code.d.ts +0 -44
  415. package/dist/code/code.js +0 -191
  416. package/dist/compiler-ng/compiler-ng.js +0 -51
  417. package/dist/confirm/confirm.d.ts +0 -48
  418. package/dist/confirm/confirm.js +0 -155
  419. package/dist/confirm-ng/confirm-ng.js +0 -93
  420. package/dist/confirm-service/confirm-service.d.ts +0 -21
  421. package/dist/confirm-service/confirm-service.js +0 -142
  422. package/dist/content-layout/content-layout.d.ts +0 -26
  423. package/dist/content-layout/content-layout.js +0 -79
  424. package/dist/content-layout/sidebar.d.ts +0 -31
  425. package/dist/content-layout/sidebar.js +0 -7
  426. package/dist/contenteditable/contenteditable.d.ts +0 -47
  427. package/dist/contenteditable/contenteditable.js +0 -84
  428. package/dist/control-label/control-label.d.ts +0 -11
  429. package/dist/control-label/control-label.js +0 -35
  430. package/dist/data-list/data-list.d.ts +0 -85
  431. package/dist/data-list/data-list.js +0 -254
  432. package/dist/data-list/data-list.mock.d.ts +0 -16
  433. package/dist/data-list/data-list.mock.js +0 -197
  434. package/dist/data-list/item.d.ts +0 -50
  435. package/dist/data-list/item.js +0 -238
  436. package/dist/data-list/selection.d.ts +0 -16
  437. package/dist/data-list/selection.js +0 -148
  438. package/dist/data-list/title.d.ts +0 -26
  439. package/dist/data-list/title.js +0 -30
  440. package/dist/data-list-ng/data-list-ng.js +0 -84
  441. package/dist/date-picker/consts.d.ts +0 -98
  442. package/dist/date-picker/consts.js +0 -46
  443. package/dist/date-picker/date-input.d.ts +0 -47
  444. package/dist/date-picker/date-input.js +0 -180
  445. package/dist/date-picker/date-picker.d.ts +0 -77
  446. package/dist/date-picker/date-picker.js +0 -407
  447. package/dist/date-picker/date-popup.d.ts +0 -55
  448. package/dist/date-picker/date-popup.js +0 -491
  449. package/dist/date-picker/day.d.ts +0 -30
  450. package/dist/date-picker/day.js +0 -133
  451. package/dist/date-picker/formats.d.ts +0 -2
  452. package/dist/date-picker/formats.js +0 -3
  453. package/dist/date-picker/month-names.d.ts +0 -13
  454. package/dist/date-picker/month-names.js +0 -110
  455. package/dist/date-picker/month-slider.d.ts +0 -29
  456. package/dist/date-picker/month-slider.js +0 -93
  457. package/dist/date-picker/month.d.ts +0 -14
  458. package/dist/date-picker/month.js +0 -58
  459. package/dist/date-picker/months.d.ts +0 -11
  460. package/dist/date-picker/months.js +0 -133
  461. package/dist/date-picker/weekdays.d.ts +0 -13
  462. package/dist/date-picker/weekdays.js +0 -39
  463. package/dist/date-picker/years.d.ts +0 -25
  464. package/dist/date-picker/years.js +0 -134
  465. package/dist/dialog/dialog.d.ts +0 -64
  466. package/dist/dialog/dialog.js +0 -241
  467. package/dist/dialog/dialog__body-scroll-preventer.d.ts +0 -9
  468. package/dist/dialog/dialog__body-scroll-preventer.js +0 -6
  469. package/dist/dialog-ng/dialog-ng.js +0 -622
  470. package/dist/dialog-ng/dialog-ng__template.js +0 -3
  471. package/dist/docked-panel-ng/docked-panel-ng.js +0 -159
  472. package/dist/dropdown/anchor.d.ts +0 -11
  473. package/dist/dropdown/anchor.js +0 -25
  474. package/dist/dropdown/dropdown.d.ts +0 -87
  475. package/dist/dropdown/dropdown.js +0 -248
  476. package/dist/dropdown-menu/dropdown-menu.d.ts +0 -26
  477. package/dist/dropdown-menu/dropdown-menu.js +0 -201
  478. package/dist/editable-heading/editable-heading.d.ts +0 -32
  479. package/dist/editable-heading/editable-heading.js +0 -278
  480. package/dist/error-bubble/error-bubble.d.ts +0 -18
  481. package/dist/error-bubble/error-bubble.js +0 -88
  482. package/dist/error-message/error-message.d.ts +0 -27
  483. package/dist/error-message/error-message.js +0 -78
  484. package/dist/error-message-ng/error-message-ng.js +0 -41
  485. package/dist/footer/footer.d.ts +0 -28
  486. package/dist/footer/footer.js +0 -19
  487. package/dist/footer-ng/footer-ng.js +0 -86
  488. package/dist/form-ng/form-ng.js +0 -157
  489. package/dist/global/angular-component-factory.js +0 -99
  490. package/dist/global/compose.d.ts +0 -7
  491. package/dist/global/compose.js +0 -17
  492. package/dist/global/composeRefs.d.ts +0 -3
  493. package/dist/global/composeRefs.js +0 -19
  494. package/dist/global/controls-height.d.ts +0 -9
  495. package/dist/global/controls-height.js +0 -19
  496. package/dist/global/create-stateful-context.d.ts +0 -27
  497. package/dist/global/create-stateful-context.js +0 -49
  498. package/dist/global/data-tests.d.ts +0 -3
  499. package/dist/global/data-tests.js +0 -30
  500. package/dist/global/dom.d.ts +0 -37
  501. package/dist/global/dom.js +0 -151
  502. package/dist/global/focus-sensor-hoc.d.ts +0 -19
  503. package/dist/global/focus-sensor-hoc.js +0 -165
  504. package/dist/global/fuzzy-highlight.d.ts +0 -11
  505. package/dist/global/fuzzy-highlight.js +0 -90
  506. package/dist/global/get-event-key.d.ts +0 -2
  507. package/dist/global/get-event-key.js +0 -101
  508. package/dist/global/get-uid.d.ts +0 -1
  509. package/dist/global/get-uid.js +0 -22
  510. package/dist/global/inject-styles.d.ts +0 -3
  511. package/dist/global/inject-styles.js +0 -22
  512. package/dist/global/linear-function.d.ts +0 -6
  513. package/dist/global/linear-function.js +0 -15
  514. package/dist/global/listeners.d.ts +0 -8
  515. package/dist/global/listeners.js +0 -58
  516. package/dist/global/memoize.d.ts +0 -1
  517. package/dist/global/memoize.js +0 -23
  518. package/dist/global/normalize-indent.d.ts +0 -1
  519. package/dist/global/normalize-indent.js +0 -60
  520. package/dist/global/promise-with-timeout.d.ts +0 -5
  521. package/dist/global/promise-with-timeout.js +0 -19
  522. package/dist/global/prop-types.d.ts +0 -4
  523. package/dist/global/prop-types.js +0 -9
  524. package/dist/global/react-dom-renderer.d.ts +0 -16
  525. package/dist/global/react-dom-renderer.js +0 -54
  526. package/dist/global/react-render-adapter.d.ts +0 -29
  527. package/dist/global/react-render-adapter.js +0 -35
  528. package/dist/global/rerender-hoc.d.ts +0 -41
  529. package/dist/global/rerender-hoc.js +0 -57
  530. package/dist/global/ring-angular-component.js +0 -27
  531. package/dist/global/schedule-raf.d.ts +0 -1
  532. package/dist/global/schedule-raf.js +0 -28
  533. package/dist/global/sniffer.d.ts +0 -3
  534. package/dist/global/sniffer.js +0 -6
  535. package/dist/global/theme.d.ts +0 -21
  536. package/dist/global/theme.js +0 -42
  537. package/dist/global/trivial-template-tag.d.ts +0 -1
  538. package/dist/global/trivial-template-tag.js +0 -21
  539. package/dist/global/typescript-utils.d.ts +0 -2
  540. package/dist/global/typescript-utils.js +0 -8
  541. package/dist/global/url.d.ts +0 -57
  542. package/dist/global/url.js +0 -142
  543. package/dist/global/use-event-callback.d.ts +0 -1
  544. package/dist/global/use-event-callback.js +0 -17
  545. package/dist/global/variables.d.ts +0 -90
  546. package/dist/global/variables.js +0 -1
  547. package/dist/grid/col.d.ts +0 -31
  548. package/dist/grid/col.js +0 -80
  549. package/dist/grid/grid.d.ts +0 -14
  550. package/dist/grid/grid.js +0 -46
  551. package/dist/grid/row.d.ts +0 -40
  552. package/dist/grid/row.js +0 -75
  553. package/dist/group/group.d.ts +0 -12
  554. package/dist/group/group.js +0 -38
  555. package/dist/group-ng/group-ng.js +0 -11
  556. package/dist/header/header.d.ts +0 -34
  557. package/dist/header/header.js +0 -193
  558. package/dist/header/logo.d.ts +0 -14
  559. package/dist/header/logo.js +0 -52
  560. package/dist/header/profile.d.ts +0 -75
  561. package/dist/header/profile.js +0 -260
  562. package/dist/header/services-link.d.ts +0 -25
  563. package/dist/header/services-link.js +0 -18
  564. package/dist/header/services.d.ts +0 -33
  565. package/dist/header/services.js +0 -175
  566. package/dist/header/smart-profile.d.ts +0 -36
  567. package/dist/header/smart-profile.js +0 -307
  568. package/dist/header/smart-services.d.ts +0 -25
  569. package/dist/header/smart-services.js +0 -195
  570. package/dist/header/tray-icon.d.ts +0 -32
  571. package/dist/header/tray-icon.js +0 -58
  572. package/dist/header/tray.d.ts +0 -9
  573. package/dist/header/tray.js +0 -41
  574. package/dist/heading/heading.d.ts +0 -25
  575. package/dist/heading/heading.js +0 -70
  576. package/dist/heading-ng/heading-ng.js +0 -24
  577. package/dist/http/http.d.ts +0 -61
  578. package/dist/http/http.js +0 -398
  579. package/dist/http/http.mock.d.ts +0 -20
  580. package/dist/http/http.mock.js +0 -113
  581. package/dist/hub-source/hub-source.d.ts +0 -42
  582. package/dist/hub-source/hub-source.js +0 -217
  583. package/dist/hub-source/hub-source__user.d.ts +0 -4
  584. package/dist/hub-source/hub-source__user.js +0 -60
  585. package/dist/hub-source/hub-source__users-groups.d.ts +0 -24
  586. package/dist/hub-source/hub-source__users-groups.js +0 -86
  587. package/dist/i18n/i18n-context.d.ts +0 -13
  588. package/dist/i18n/i18n-context.js +0 -27
  589. package/dist/i18n/i18n.d.ts +0 -59
  590. package/dist/i18n/i18n.js +0 -139
  591. package/dist/icon/icon.d.ts +0 -43
  592. package/dist/icon/icon.js +0 -110
  593. package/dist/icon/icon__constants.d.ts +0 -30
  594. package/dist/icon/icon__constants.js +0 -34
  595. package/dist/icon/icon__svg.d.ts +0 -15
  596. package/dist/icon/icon__svg.js +0 -79
  597. package/dist/icon/index.d.ts +0 -2
  598. package/dist/icon/index.js +0 -18
  599. package/dist/icon-ng/icon-ng.js +0 -95
  600. package/dist/input/input.d.ts +0 -77
  601. package/dist/input/input.js +0 -255
  602. package/dist/input-ng/input-ng.js +0 -128
  603. package/dist/island/adaptive-island-hoc.d.ts +0 -61
  604. package/dist/island/adaptive-island-hoc.js +0 -53
  605. package/dist/island/content.d.ts +0 -43
  606. package/dist/island/content.js +0 -151
  607. package/dist/island/header.d.ts +0 -8
  608. package/dist/island/header.js +0 -100
  609. package/dist/island/island.d.ts +0 -78
  610. package/dist/island/island.js +0 -60
  611. package/dist/island-legacy/content-legacy.d.ts +0 -10
  612. package/dist/island-legacy/content-legacy.js +0 -34
  613. package/dist/island-legacy/header-legacy.d.ts +0 -10
  614. package/dist/island-legacy/header-legacy.js +0 -36
  615. package/dist/island-legacy/island-legacy.d.ts +0 -12
  616. package/dist/island-legacy/island-legacy.js +0 -36
  617. package/dist/island-ng/island-content-ng.js +0 -44
  618. package/dist/island-ng/island-header-ng.js +0 -29
  619. package/dist/island-ng/island-ng-class-fixer.js +0 -12
  620. package/dist/island-ng/island-ng.js +0 -27
  621. package/dist/link/clickableLink.d.ts +0 -20
  622. package/dist/link/clickableLink.js +0 -69
  623. package/dist/link/link.d.ts +0 -148
  624. package/dist/link/link.js +0 -126
  625. package/dist/link-ng/link-ng.js +0 -21
  626. package/dist/list/consts.d.ts +0 -77
  627. package/dist/list/consts.js +0 -31
  628. package/dist/list/list.d.ts +0 -195
  629. package/dist/list/list.js +0 -804
  630. package/dist/list/list__custom.d.ts +0 -6
  631. package/dist/list/list__custom.js +0 -92
  632. package/dist/list/list__hint.d.ts +0 -15
  633. package/dist/list/list__hint.js +0 -33
  634. package/dist/list/list__item.d.ts +0 -8
  635. package/dist/list/list__item.js +0 -239
  636. package/dist/list/list__link.d.ts +0 -9
  637. package/dist/list/list__link.js +0 -81
  638. package/dist/list/list__separator.d.ts +0 -5
  639. package/dist/list/list__separator.js +0 -39
  640. package/dist/list/list__title.d.ts +0 -5
  641. package/dist/list/list__title.js +0 -48
  642. package/dist/list/list__users-groups-source.d.ts +0 -27
  643. package/dist/list/list__users-groups-source.js +0 -197
  644. package/dist/loader/loader.d.ts +0 -28
  645. package/dist/loader/loader.js +0 -93
  646. package/dist/loader/loader__core.d.ts +0 -75
  647. package/dist/loader/loader__core.js +0 -327
  648. package/dist/loader-inline/loader-inline.d.ts +0 -18
  649. package/dist/loader-inline/loader-inline.js +0 -49
  650. package/dist/loader-inline-ng/loader-inline-ng.js +0 -14
  651. package/dist/loader-ng/loader-ng.js +0 -60
  652. package/dist/loader-screen/loader-screen.d.ts +0 -17
  653. package/dist/loader-screen/loader-screen.js +0 -63
  654. package/dist/loader-screen-ng/loader-screen-ng.js +0 -98
  655. package/dist/login-dialog/login-dialog.d.ts +0 -47
  656. package/dist/login-dialog/login-dialog.js +0 -218
  657. package/dist/login-dialog/service.d.ts +0 -2
  658. package/dist/login-dialog/service.js +0 -99
  659. package/dist/markdown/code.d.ts +0 -7
  660. package/dist/markdown/code.js +0 -52
  661. package/dist/markdown/heading.d.ts +0 -11
  662. package/dist/markdown/heading.js +0 -20
  663. package/dist/markdown/link.d.ts +0 -12
  664. package/dist/markdown/link.js +0 -34
  665. package/dist/markdown/markdown.d.ts +0 -15
  666. package/dist/markdown/markdown.js +0 -102
  667. package/dist/message/message.d.ts +0 -55
  668. package/dist/message/message.js +0 -268
  669. package/dist/message-bundle-ng/message-bundle-ng.js +0 -151
  670. package/dist/old-browsers-message/old-browsers-message.d.ts +0 -2
  671. package/dist/old-browsers-message/old-browsers-message.js +0 -92
  672. package/dist/old-browsers-message/old-browsers-message__stop.d.ts +0 -1
  673. package/dist/old-browsers-message/old-browsers-message__stop.js +0 -11
  674. package/dist/old-browsers-message/white-list.d.ts +0 -2
  675. package/dist/old-browsers-message/white-list.js +0 -37
  676. package/dist/pager/pager.d.ts +0 -78
  677. package/dist/pager/pager.js +0 -402
  678. package/dist/pager-ng/pager-ng.js +0 -131
  679. package/dist/panel/panel.d.ts +0 -12
  680. package/dist/panel/panel.js +0 -38
  681. package/dist/panel-ng/panel-ng.js +0 -26
  682. package/dist/permissions/permissions.d.ts +0 -111
  683. package/dist/permissions/permissions.js +0 -221
  684. package/dist/permissions/permissions__cache.d.ts +0 -93
  685. package/dist/permissions/permissions__cache.js +0 -257
  686. package/dist/permissions-ng/permissions-ng.js +0 -327
  687. package/dist/place-under-ng/place-under-ng.js +0 -157
  688. package/dist/popup/popup.consts.d.ts +0 -37
  689. package/dist/popup/popup.consts.js +0 -44
  690. package/dist/popup/popup.d.ts +0 -147
  691. package/dist/popup/popup.js +0 -424
  692. package/dist/popup/popup.target.d.ts +0 -7
  693. package/dist/popup/popup.target.js +0 -24
  694. package/dist/popup/position.d.ts +0 -30
  695. package/dist/popup/position.js +0 -271
  696. package/dist/popup-menu/popup-menu.d.ts +0 -60
  697. package/dist/popup-menu/popup-menu.js +0 -143
  698. package/dist/progress-bar/progress-bar.d.ts +0 -64
  699. package/dist/progress-bar/progress-bar.js +0 -120
  700. package/dist/progress-bar-ng/progress-bar-ng.js +0 -23
  701. package/dist/promised-click-ng/promised-click-ng.js +0 -138
  702. package/dist/proxy-attrs/proxy-attrs.js +0 -27
  703. package/dist/query-assist/query-assist.d.ts +0 -333
  704. package/dist/query-assist/query-assist.js +0 -1104
  705. package/dist/query-assist/query-assist__suggestions.d.ts +0 -29
  706. package/dist/query-assist/query-assist__suggestions.js +0 -77
  707. package/dist/query-assist-ng/query-assist-ng.js +0 -117
  708. package/dist/radio/radio.d.ts +0 -18
  709. package/dist/radio/radio.js +0 -49
  710. package/dist/radio/radio__item.d.ts +0 -28
  711. package/dist/radio/radio__item.js +0 -87
  712. package/dist/radio-ng/radio-ng.js +0 -47
  713. package/dist/save-field-ng/save-field-ng.js +0 -323
  714. package/dist/save-field-ng/save-field-ng__template.js +0 -3
  715. package/dist/select/select.d.ts +0 -303
  716. package/dist/select/select.js +0 -1316
  717. package/dist/select/select__filter.d.ts +0 -19
  718. package/dist/select/select__filter.js +0 -89
  719. package/dist/select/select__popup.d.ts +0 -166
  720. package/dist/select/select__popup.js +0 -636
  721. package/dist/select-ng/select-ng.js +0 -625
  722. package/dist/select-ng/select-ng__lazy.js +0 -203
  723. package/dist/select-ng/select-ng__options.js +0 -144
  724. package/dist/shortcuts/core.d.ts +0 -74
  725. package/dist/shortcuts/core.js +0 -249
  726. package/dist/shortcuts/shortcut-title.d.ts +0 -1
  727. package/dist/shortcuts/shortcut-title.js +0 -56
  728. package/dist/shortcuts/shortcuts-hoc.d.ts +0 -65
  729. package/dist/shortcuts/shortcuts-hoc.js +0 -61
  730. package/dist/shortcuts/shortcuts.d.ts +0 -28
  731. package/dist/shortcuts/shortcuts.js +0 -92
  732. package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +0 -155
  733. package/dist/shortcuts-hint-ng/shortcuts-hint-ng__template.js +0 -3
  734. package/dist/shortcuts-ng/shortcuts-ng.js +0 -263
  735. package/dist/sidebar-ng/sidebar-ng.js +0 -128
  736. package/dist/sidebar-ng/sidebar-ng__button-template.js +0 -3
  737. package/dist/sidebar-ng/sidebar-ng__template.js +0 -3
  738. package/dist/storage/storage.d.ts +0 -18
  739. package/dist/storage/storage.js +0 -94
  740. package/dist/storage/storage__fallback.d.ts +0 -79
  741. package/dist/storage/storage__fallback.js +0 -254
  742. package/dist/storage/storage__local.d.ts +0 -38
  743. package/dist/storage/storage__local.js +0 -219
  744. package/dist/style.css +0 -1
  745. package/dist/tab-trap/tab-trap.d.ts +0 -43
  746. package/dist/tab-trap/tab-trap.js +0 -180
  747. package/dist/table/cell.d.ts +0 -13
  748. package/dist/table/cell.js +0 -37
  749. package/dist/table/disable-hover-hoc.d.ts +0 -64
  750. package/dist/table/disable-hover-hoc.js +0 -62
  751. package/dist/table/header-cell.d.ts +0 -43
  752. package/dist/table/header-cell.js +0 -110
  753. package/dist/table/header.d.ts +0 -56
  754. package/dist/table/header.js +0 -153
  755. package/dist/table/multitable.d.ts +0 -25
  756. package/dist/table/multitable.js +0 -140
  757. package/dist/table/row-with-focus-sensor.d.ts +0 -18
  758. package/dist/table/row-with-focus-sensor.js +0 -119
  759. package/dist/table/row.d.ts +0 -59
  760. package/dist/table/row.js +0 -301
  761. package/dist/table/selection-adapter.d.ts +0 -5
  762. package/dist/table/selection-adapter.js +0 -14
  763. package/dist/table/selection-shortcuts-hoc.d.ts +0 -17
  764. package/dist/table/selection-shortcuts-hoc.js +0 -205
  765. package/dist/table/selection.d.ts +0 -47
  766. package/dist/table/selection.js +0 -257
  767. package/dist/table/smart-table.d.ts +0 -64
  768. package/dist/table/smart-table.js +0 -151
  769. package/dist/table/table.d.ts +0 -159
  770. package/dist/table/table.js +0 -465
  771. package/dist/table-legacy-ng/table-legacy-ng.js +0 -485
  772. package/dist/table-legacy-ng/table-legacy-ng__pager.js +0 -154
  773. package/dist/table-legacy-ng/table-legacy-ng__selection-navigate-actions.js +0 -115
  774. package/dist/table-legacy-ng/table-legacy-ng__selection.js +0 -195
  775. package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +0 -65
  776. package/dist/table-ng/smart-table-ng.js +0 -93
  777. package/dist/table-ng/table-ng.js +0 -92
  778. package/dist/tabs/collapsible-more.d.ts +0 -29
  779. package/dist/tabs/collapsible-more.js +0 -226
  780. package/dist/tabs/collapsible-tab.d.ts +0 -16
  781. package/dist/tabs/collapsible-tab.js +0 -95
  782. package/dist/tabs/collapsible-tabs.d.ts +0 -43
  783. package/dist/tabs/collapsible-tabs.js +0 -357
  784. package/dist/tabs/custom-item.d.ts +0 -9
  785. package/dist/tabs/custom-item.js +0 -11
  786. package/dist/tabs/dumb-tabs.d.ts +0 -35
  787. package/dist/tabs/dumb-tabs.js +0 -193
  788. package/dist/tabs/smart-tabs.d.ts +0 -20
  789. package/dist/tabs/smart-tabs.js +0 -144
  790. package/dist/tabs/tab-link.d.ts +0 -18
  791. package/dist/tabs/tab-link.js +0 -48
  792. package/dist/tabs/tab.d.ts +0 -27
  793. package/dist/tabs/tab.js +0 -41
  794. package/dist/tabs/tabs.d.ts +0 -7
  795. package/dist/tabs/tabs.js +0 -102
  796. package/dist/tabs-ng/tabs-ng.js +0 -187
  797. package/dist/tabs-ng/tabs-ng__template.js +0 -3
  798. package/dist/tag/tag.d.ts +0 -64
  799. package/dist/tag/tag.js +0 -214
  800. package/dist/tags-input/tags-input.d.ts +0 -165
  801. package/dist/tags-input/tags-input.js +0 -540
  802. package/dist/tags-input-ng/tags-input-ng.js +0 -125
  803. package/dist/tags-list/tags-list.d.ts +0 -46
  804. package/dist/tags-list/tags-list.js +0 -103
  805. package/dist/template-ng/template-ng.js +0 -68
  806. package/dist/text/text.d.ts +0 -23
  807. package/dist/text/text.js +0 -57
  808. package/dist/title-ng/title-ng.js +0 -108
  809. package/dist/toggle/toggle.d.ts +0 -39
  810. package/dist/toggle/toggle.js +0 -86
  811. package/dist/toggle-ng/toggle-ng.js +0 -27
  812. package/dist/tooltip/tooltip.d.ts +0 -65
  813. package/dist/tooltip/tooltip.js +0 -229
  814. package/dist/tooltip-ng/tooltip-ng.js +0 -120
  815. package/dist/user-agreement/service.d.ts +0 -67
  816. package/dist/user-agreement/service.js +0 -503
  817. package/dist/user-agreement/toolbox.eula.d.ts +0 -2
  818. package/dist/user-agreement/toolbox.eula.js +0 -3
  819. package/dist/user-agreement/user-agreement.d.ts +0 -61
  820. package/dist/user-agreement/user-agreement.js +0 -191
  821. package/dist/user-card/card.d.ts +0 -71
  822. package/dist/user-card/card.js +0 -82
  823. package/dist/user-card/smart-user-card-tooltip.d.ts +0 -20
  824. package/dist/user-card/smart-user-card-tooltip.js +0 -174
  825. package/dist/user-card/tooltip.d.ts +0 -36
  826. package/dist/user-card/tooltip.js +0 -146
  827. package/dist/user-card/user-card.d.ts +0 -11
  828. package/dist/user-card/user-card.js +0 -87
  829. package/dist/user-card-ng/user-card-ng.js +0 -97
@@ -1,158 +0,0 @@
1
- import { h as _asyncToGenerator, i as _regeneratorRuntime } from '../_helpers/_rollupPluginBabelHelpers.js';
2
- import TokenValidator from './token-validator.js';
3
- import AuthResponseParser from './response-parser.js';
4
- import './auth.js';
5
- import AuthStorage from './storage.js';
6
- import { DEFAULT_EXPIRES_TIMEOUT } from './auth__core.js';
7
- import 'core-js/modules/es.array.filter.js';
8
- import 'core-js/modules/es.object.to-string.js';
9
- import 'core-js/modules/es.array.includes.js';
10
- import 'core-js/modules/es.string.includes.js';
11
- import 'es6-error';
12
- import '../http/http.js';
13
- import 'core-js/modules/es.array.concat.js';
14
- import 'core-js/modules/es.array.iterator.js';
15
- import 'core-js/modules/es.weak-map.js';
16
- import 'core-js/modules/web.dom-collections.iterator.js';
17
- import 'core-js/modules/es.promise.js';
18
- import 'core-js/modules/web.dom-collections.for-each.js';
19
- import 'core-js/modules/es.object.entries.js';
20
- import 'core-js/modules/es.reflect.delete-property.js';
21
- import 'core-js/modules/es.array.index-of.js';
22
- import '../global/url.js';
23
- import 'core-js/modules/es.regexp.exec.js';
24
- import 'core-js/modules/es.string.match.js';
25
- import 'core-js/modules/es.string.replace.js';
26
- import 'core-js/modules/es.regexp.to-string.js';
27
- import './window-flow.js';
28
- import './down-notification.js';
29
- import 'react';
30
- import 'prop-types';
31
- import '../alert-service/alert-service.js';
32
- import 'core-js/modules/es.array.map.js';
33
- import '../global/react-render-adapter.js';
34
- import 'react-dom';
35
- import '../global/get-uid.js';
36
- import '../alert/alert.js';
37
- import 'core-js/modules/es.object.values.js';
38
- import 'classnames';
39
- import '@jetbrains/icons/exception';
40
- import '@jetbrains/icons/checkmark';
41
- import '@jetbrains/icons/warning';
42
- import '@jetbrains/icons/close';
43
- import '../icon/icon.js';
44
- import 'util-deprecate';
45
- import '../icon/icon__constants.js';
46
- import '../_helpers/icon.js';
47
- import '../icon/icon__svg.js';
48
- import 'core-js/modules/es.string.starts-with.js';
49
- import '../global/memoize.js';
50
- import 'core-js/modules/es.map.js';
51
- import '../loader-inline/loader-inline.js';
52
- import '../global/data-tests.js';
53
- import 'core-js/modules/es.array.reduce.js';
54
- import '../_helpers/loader-inline.js';
55
- import '../global/dom.js';
56
- import 'core-js/modules/es.object.assign.js';
57
- import 'core-js/modules/es.string.split.js';
58
- import 'core-js/modules/es.set.js';
59
- import '../button/button.js';
60
- import '@jetbrains/icons/chevron-10px';
61
- import '../link/clickableLink.js';
62
- import '../global/controls-height.js';
63
- import '../_helpers/button__classes.js';
64
- import '../_helpers/theme.js';
65
- import '../popup/popup.target.js';
66
- import '../popup/popup.js';
67
- import '../global/schedule-raf.js';
68
- import '../shortcuts/shortcuts.js';
69
- import '../shortcuts/core.js';
70
- import 'core-js/modules/es.array.slice.js';
71
- import 'core-js/modules/es.array.splice.js';
72
- import 'core-js/modules/es.array.find-index.js';
73
- import 'combokeys';
74
- import '../global/sniffer.js';
75
- import 'sniffr';
76
- import '../tab-trap/tab-trap.js';
77
- import '../popup/position.js';
78
- import 'core-js/modules/es.array.sort.js';
79
- import '../popup/popup.consts.js';
80
- import '../alert/container.js';
81
- import '../link/link.js';
82
- import '../_helpers/link.js';
83
- import '../group/group.js';
84
- import '../_helpers/group.js';
85
- import 'core-js/modules/web.url.js';
86
- import 'core-js/modules/web.url-search-params.js';
87
- import 'core-js/modules/es.string.search.js';
88
- import '../global/listeners.js';
89
- import '../global/promise-with-timeout.js';
90
- import '../i18n/i18n.js';
91
- import '../storage/storage.js';
92
- import '../storage/storage__local.js';
93
- import '../storage/storage__fallback.js';
94
- import 'deep-equal';
95
- import './request-builder.js';
96
- import 'simply-uuid';
97
- import './background-flow.js';
98
-
99
- var parser = new AuthResponseParser();
100
- var authResponse = parser.getAuthResponseFromURL();
101
- // eslint-disable-next-line consistent-this
102
- function parseAndStoreResponse(_x) {
103
- return _parseAndStoreResponse.apply(this, arguments);
104
- }
105
- function _parseAndStoreResponse() {
106
- _parseAndStoreResponse = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(clientId) {
107
- var _this$_storage;
108
- var storage, stateId, scope, expiresIn, accessToken, newState, scopes, effectiveExpiresIn, expires;
109
- return _regeneratorRuntime().wrap(function _callee$(_context) {
110
- while (1) switch (_context.prev = _context.next) {
111
- case 0:
112
- storage = new AuthStorage({
113
- messagePrefix: "".concat(clientId, "-message-"),
114
- stateKeyPrefix: "".concat(clientId, "-states-"),
115
- tokenKey: "".concat(clientId, "-token"),
116
- userKey: "".concat(clientId, "-user-")
117
- });
118
- if (authResponse) {
119
- _context.next = 3;
120
- break;
121
- }
122
- return _context.abrupt("return");
123
- case 3:
124
- stateId = authResponse.state, scope = authResponse.scope, expiresIn = authResponse.expiresIn, accessToken = authResponse.accessToken;
125
- _context.next = 6;
126
- return stateId && ((_this$_storage = this._storage) === null || _this$_storage === void 0 ? void 0 : _this$_storage.getState(stateId));
127
- case 6:
128
- _context.t0 = _context.sent;
129
- if (_context.t0) {
130
- _context.next = 9;
131
- break;
132
- }
133
- _context.t0 = {};
134
- case 9:
135
- newState = _context.t0;
136
- scopes = scope ? scope.split(' ') : newState.scopes || [];
137
- effectiveExpiresIn = expiresIn ? parseInt(expiresIn, 10) : DEFAULT_EXPIRES_TIMEOUT;
138
- expires = TokenValidator._epoch() + effectiveExpiresIn;
139
- if (!(accessToken != null)) {
140
- _context.next = 16;
141
- break;
142
- }
143
- _context.next = 16;
144
- return storage.saveToken({
145
- accessToken,
146
- scopes,
147
- expires
148
- });
149
- case 16:
150
- case "end":
151
- return _context.stop();
152
- }
153
- }, _callee, this);
154
- }));
155
- return _parseAndStoreResponse.apply(this, arguments);
156
- }
157
-
158
- export { parseAndStoreResponse as default };
@@ -1,48 +0,0 @@
1
- /// <reference types="typings" />
2
- import uuid from 'simply-uuid';
3
- import AuthStorage, { AuthState } from './storage';
4
- export interface AuthRequestBuilderConfig {
5
- authorization: string;
6
- redirectUri?: string | null | undefined;
7
- requestCredentials?: string | null | undefined;
8
- clientId?: string | null | undefined;
9
- scopes: readonly string[];
10
- redirect?: boolean | null | undefined;
11
- }
12
- export default class AuthRequestBuilder {
13
- config: AuthRequestBuilderConfig;
14
- storage: AuthStorage | undefined;
15
- /**
16
- * @param {{
17
- * authorization: string,
18
- * redirectUri: string?,
19
- * requestCredentials: string?,
20
- * clientId: string?,
21
- * scopes: string[]
22
- * }} config
23
- * @param {AuthStorage} storage
24
- */
25
- constructor(config: AuthRequestBuilderConfig, storage?: AuthStorage);
26
- /**
27
- * @return {string} random string used for state
28
- */
29
- static _uuid: typeof uuid.generate;
30
- /**
31
- * Save state and build an auth server redirect URL.
32
- *
33
- * @param {object=} extraParams additional query parameters for auth request
34
- * @param {object=} extraState additional state parameters to save
35
- * @return {Promise.<string>} promise that is resolved to authURL
36
- */
37
- prepareAuthRequest(extraParams?: Record<string, unknown> | null | undefined, extraState?: Partial<AuthState>): Promise<{
38
- url: string;
39
- stateId: string;
40
- }>;
41
- /**
42
- * @param {string} id
43
- * @param {StoredState} storedState
44
- * @return {Promise}
45
- * @private
46
- */
47
- _saveState(id: string, storedState: AuthState): Promise<void> | undefined;
48
- }
@@ -1,104 +0,0 @@
1
- import { _ as _defineProperty, d as _createClass, c as _classCallCheck, h as _asyncToGenerator, i as _regeneratorRuntime } from '../_helpers/_rollupPluginBabelHelpers.js';
2
- import 'core-js/modules/es.array.map.js';
3
- import 'core-js/modules/es.object.assign.js';
4
- import uuid from 'simply-uuid';
5
- import { encodeURL } from '../global/url.js';
6
- import 'core-js/modules/es.array.concat.js';
7
- import 'core-js/modules/es.regexp.exec.js';
8
- import 'core-js/modules/es.string.match.js';
9
- import 'core-js/modules/es.array.index-of.js';
10
- import 'core-js/modules/es.string.replace.js';
11
-
12
- var AuthRequestBuilder = /*#__PURE__*/function () {
13
- /**
14
- * @param {{
15
- * authorization: string,
16
- * redirectUri: string?,
17
- * requestCredentials: string?,
18
- * clientId: string?,
19
- * scopes: string[]
20
- * }} config
21
- * @param {AuthStorage} storage
22
- */
23
- function AuthRequestBuilder(config, storage) {
24
- _classCallCheck(this, AuthRequestBuilder);
25
- _defineProperty(this, "config", void 0);
26
- _defineProperty(this, "storage", void 0);
27
- this.config = config;
28
- this.storage = storage;
29
- }
30
- /**
31
- * @return {string} random string used for state
32
- */
33
- _createClass(AuthRequestBuilder, [{
34
- key: "prepareAuthRequest",
35
- value: (
36
- /**
37
- * Save state and build an auth server redirect URL.
38
- *
39
- * @param {object=} extraParams additional query parameters for auth request
40
- * @param {object=} extraState additional state parameters to save
41
- * @return {Promise.<string>} promise that is resolved to authURL
42
- */
43
- function () {
44
- var _prepareAuthRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(extraParams, extraState) {
45
- var stateId, scopes, request, authURL, state;
46
- return _regeneratorRuntime().wrap(function _callee$(_context) {
47
- while (1) switch (_context.prev = _context.next) {
48
- case 0:
49
- stateId = AuthRequestBuilder._uuid();
50
- scopes = this.config.scopes.map(function (scope) {
51
- return encodeURIComponent(scope);
52
- });
53
- /* eslint-disable camelcase */
54
- request = Object.assign({
55
- response_type: 'token',
56
- state: stateId,
57
- redirect_uri: this.config.redirectUri,
58
- request_credentials: this.config.requestCredentials,
59
- client_id: this.config.clientId,
60
- scope: scopes.join(' ')
61
- }, extraParams || {});
62
- /* eslint-enable camelcase */
63
- authURL = encodeURL(this.config.authorization, request);
64
- state = Object.assign({
65
- restoreLocation: window.location.href,
66
- scopes: this.config.scopes
67
- }, extraState || {});
68
- _context.next = 7;
69
- return this._saveState(stateId, state);
70
- case 7:
71
- return _context.abrupt("return", {
72
- url: authURL,
73
- stateId
74
- });
75
- case 8:
76
- case "end":
77
- return _context.stop();
78
- }
79
- }, _callee, this);
80
- }));
81
- function prepareAuthRequest(_x, _x2) {
82
- return _prepareAuthRequest.apply(this, arguments);
83
- }
84
- return prepareAuthRequest;
85
- }()
86
- /**
87
- * @param {string} id
88
- * @param {StoredState} storedState
89
- * @return {Promise}
90
- * @private
91
- */
92
- )
93
- }, {
94
- key: "_saveState",
95
- value: function _saveState(id, storedState) {
96
- var _this$storage;
97
- return (_this$storage = this.storage) === null || _this$storage === void 0 ? void 0 : _this$storage.saveState(id, storedState);
98
- }
99
- }]);
100
- return AuthRequestBuilder;
101
- }();
102
- _defineProperty(AuthRequestBuilder, "_uuid", uuid.generate);
103
-
104
- export { AuthRequestBuilder as default };
@@ -1,70 +0,0 @@
1
- import ExtendableError from 'es6-error';
2
- export interface AuthResponse {
3
- accessToken?: string;
4
- state?: string;
5
- token_type?: string;
6
- expiresIn?: string;
7
- scope?: string;
8
- error?: string | Error;
9
- errorDescription?: string;
10
- errorUri?: string;
11
- restoreAuthState?: string;
12
- }
13
- export declare class AuthError extends ExtendableError {
14
- code: string | Error | AuthError | undefined;
15
- uri: string | undefined;
16
- stateId: string | undefined;
17
- constructor(authResponse?: AuthResponse);
18
- }
19
- /**
20
- * @typedef {Object} AuthResponse
21
- * @property {?string} accessToken
22
- * @property {?string} state
23
- * @property {?string} token_type
24
- * @property {?string} expiresIn
25
- * @property {?string} scope
26
- * @property {?string} error
27
- */
28
- export default class AuthResponseParser {
29
- readonly _authResponse: AuthResponse;
30
- constructor();
31
- static AuthError: typeof AuthError;
32
- static convertKey(key: string): string;
33
- /**
34
- * Check if the hash contains an access token.
35
- * If it does, return auth response. Otherwise return undefined.
36
- * Always clears the hash part of the URL.
37
- *
38
- * @throws {Error} if the auth server returned an error
39
- * @return {?AuthResponse}
40
- */
41
- getAuthResponseFromURL(): AuthResponse | null;
42
- /**
43
- * Validates given authResponse.
44
- * If it contains a token - returns the token, if an error is found - throws the error,
45
- * otherwise - null
46
- * Always clears the hash part of the URL.
47
- *
48
- * @param authResponse {AuthResponse} parsed authResponse
49
- * @throws {Error} if the auth server returned an error
50
- * @return {?AuthResponse}
51
- */
52
- validateAuthResponse(authResponse: AuthResponse): AuthResponse | null;
53
- /**
54
- * Reads the current accessToken from the URL.
55
- * Doesn't modify URL
56
- *
57
- * @return {AuthResponse}
58
- */
59
- readAuthResponseFromURL(): AuthResponse;
60
- /**
61
- * @return {string} part of the URL after # sign.
62
- * @private
63
- */
64
- getHash(): string | null;
65
- /**
66
- * Current page location.
67
- * @return {string}
68
- */
69
- getLocation(): string | null;
70
- }
@@ -1,138 +0,0 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, g as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
- import 'core-js/modules/es.object.to-string.js';
3
- import 'core-js/modules/web.dom-collections.for-each.js';
4
- import 'core-js/modules/es.array.index-of.js';
5
- import 'core-js/modules/es.regexp.exec.js';
6
- import 'core-js/modules/es.string.replace.js';
7
- import 'core-js/modules/es.regexp.to-string.js';
8
- import ExtendableError from 'es6-error';
9
- import { parseQueryString } from '../global/url.js';
10
- import 'core-js/modules/es.array.concat.js';
11
- import 'core-js/modules/es.string.match.js';
12
-
13
- var AuthError = /*#__PURE__*/function (_ExtendableError) {
14
- _inherits(AuthError, _ExtendableError);
15
- var _super = _createSuper(AuthError);
16
- // Supports weird IE 11 failing test issue
17
- function AuthError() {
18
- var _this;
19
- var authResponse = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
20
- _classCallCheck(this, AuthError);
21
- _this = _super.call(this, authResponse.errorDescription);
22
- _defineProperty(_assertThisInitialized(_this), "code", void 0);
23
- _defineProperty(_assertThisInitialized(_this), "uri", void 0);
24
- _defineProperty(_assertThisInitialized(_this), "stateId", void 0);
25
- _this.code = authResponse.error;
26
- _this.uri = authResponse.errorUri;
27
- _this.stateId = authResponse.state;
28
- return _this;
29
- }
30
- return _createClass(AuthError);
31
- }(ExtendableError);
32
- /**
33
- * @typedef {Object} AuthResponse
34
- * @property {?string} accessToken
35
- * @property {?string} state
36
- * @property {?string} token_type
37
- * @property {?string} expiresIn
38
- * @property {?string} scope
39
- * @property {?string} error
40
- */
41
- var AuthResponseParser = /*#__PURE__*/function () {
42
- function AuthResponseParser() {
43
- _classCallCheck(this, AuthResponseParser);
44
- _defineProperty(this, "_authResponse", void 0);
45
- this._authResponse = this.readAuthResponseFromURL();
46
- }
47
- _createClass(AuthResponseParser, [{
48
- key: "getAuthResponseFromURL",
49
- value:
50
- /**
51
- * Check if the hash contains an access token.
52
- * If it does, return auth response. Otherwise return undefined.
53
- * Always clears the hash part of the URL.
54
- *
55
- * @throws {Error} if the auth server returned an error
56
- * @return {?AuthResponse}
57
- */
58
- function getAuthResponseFromURL() {
59
- return this.validateAuthResponse(this._authResponse);
60
- }
61
- /**
62
- * Validates given authResponse.
63
- * If it contains a token - returns the token, if an error is found - throws the error,
64
- * otherwise - null
65
- * Always clears the hash part of the URL.
66
- *
67
- * @param authResponse {AuthResponse} parsed authResponse
68
- * @throws {Error} if the auth server returned an error
69
- * @return {?AuthResponse}
70
- */
71
- }, {
72
- key: "validateAuthResponse",
73
- value: function validateAuthResponse(authResponse) {
74
- // Check for errors
75
- if (authResponse.error) {
76
- throw new AuthResponseParser.AuthError(authResponse);
77
- }
78
- // If there is no token in the hash
79
- if (!authResponse.accessToken) {
80
- return null;
81
- }
82
- return _objectSpread2(_objectSpread2({}, authResponse), {}, {
83
- accessToken: authResponse.accessToken
84
- });
85
- }
86
- /**
87
- * Reads the current accessToken from the URL.
88
- * Doesn't modify URL
89
- *
90
- * @return {AuthResponse}
91
- */
92
- }, {
93
- key: "readAuthResponseFromURL",
94
- value: function readAuthResponseFromURL() {
95
- var authResponse = {};
96
- var rawAuthResponse = parseQueryString(this.getHash());
97
- Object.keys(rawAuthResponse).forEach(function (key) {
98
- if (key.indexOf('_') !== -1) {
99
- authResponse[AuthResponseParser.convertKey(key)] = rawAuthResponse[key];
100
- return;
101
- }
102
- authResponse[key] = rawAuthResponse[key];
103
- });
104
- return authResponse;
105
- }
106
- /**
107
- * @return {string} part of the URL after # sign.
108
- * @private
109
- */
110
- }, {
111
- key: "getHash",
112
- value: function getHash() {
113
- // Because of stupid Firefox bug — https://bugzilla.mozilla.org/show_bug.cgi?id=483304
114
- var location = this.getLocation();
115
- return location && location.replace(/^[^#]*#?/, '');
116
- }
117
- /**
118
- * Current page location.
119
- * @return {string}
120
- */
121
- }, {
122
- key: "getLocation",
123
- value: function getLocation() {
124
- return window.location.toString();
125
- }
126
- }], [{
127
- key: "convertKey",
128
- value: function convertKey(key) {
129
- return key.replace(/_([a-z])/g, function (_, letter) {
130
- return letter.toUpperCase();
131
- });
132
- }
133
- }]);
134
- return AuthResponseParser;
135
- }();
136
- _defineProperty(AuthResponseParser, "AuthError", AuthError);
137
-
138
- export { AuthError, AuthResponseParser as default };
@@ -1,112 +0,0 @@
1
- import { StorageClass, StorageInterface } from '../storage/storage';
2
- import { AuthUser } from './auth__core';
3
- import { AuthResponse } from './response-parser';
4
- export interface StoredToken {
5
- accessToken: string;
6
- scopes?: string[];
7
- expires?: number;
8
- lifeTime?: number;
9
- waitForRedirectTimeout?: number;
10
- }
11
- export interface AuthState extends AuthResponse {
12
- restoreLocation?: string;
13
- scopes?: string[];
14
- nonRedirect?: boolean | null | undefined;
15
- created?: number;
16
- }
17
- export interface AuthStorageConfig {
18
- stateKeyPrefix?: string | null | undefined;
19
- tokenKey?: string | null | undefined;
20
- messagePrefix?: string | null | undefined;
21
- userKey?: string | null | undefined;
22
- stateTTL?: number | null | undefined;
23
- storage?: StorageClass | null | undefined;
24
- stateQuota?: number | null | undefined;
25
- }
26
- export default class AuthStorage<M = unknown> {
27
- messagePrefix: string;
28
- stateKeyPrefix: string;
29
- tokenKey: string;
30
- userKey: string;
31
- stateTTL: number;
32
- stateQuota: number;
33
- private _lastMessage;
34
- _stateStorage: StorageInterface;
35
- _tokenStorage: StorageInterface;
36
- _messagesStorage: StorageInterface;
37
- private _currentUserStorage;
38
- /**
39
- * Custom storage for Auth
40
- * @param {{stateKeyPrefix: string, tokenKey: string, onTokenRemove: Function}} config
41
- */
42
- constructor(config: AuthStorageConfig);
43
- /**
44
- * Add token change listener
45
- * @param {function(string)} fn Token change listener
46
- * @return {function()} remove listener function
47
- */
48
- onTokenChange(fn: (token: StoredToken | null) => void): () => void;
49
- /**
50
- * Add state change listener
51
- * @param {string} stateKey State key
52
- * @param {function(string)} fn State change listener
53
- * @return {function()} remove listener function
54
- */
55
- onStateChange(stateKey: string, fn: (state: AuthState | null) => void): () => void;
56
- /**
57
- * Add state change listener
58
- * @param {string} key State key
59
- * @param {function(string)} fn State change listener
60
- * @return {function()} remove listener function
61
- */
62
- onMessage(key: string, fn: (message: M | null) => void): () => void;
63
- sendMessage(key: string, message?: M | null): void;
64
- /**
65
- * Save authentication request state.
66
- *
67
- * @param {string} id Unique state identifier
68
- * @param {StoredState} state State to store
69
- * @param {boolean=} dontCleanAndRetryOnFail If falsy then remove all stored states and try again to save state
70
- */
71
- saveState(id: string, state: AuthState, dontCleanAndRetryOnFail?: boolean): Promise<void>;
72
- /**
73
- * Remove all stored states
74
- *
75
- * @return {Promise} promise that is resolved when OLD states [and some selected] are removed
76
- */
77
- cleanStates(removeStateId?: string): Promise<0 | void[] | undefined>;
78
- /**
79
- * Get state by id and remove stored states from the storage.
80
- *
81
- * @param {string} id unique state identifier
82
- * @return {Promise.<StoredState>}
83
- */
84
- getState(id: string): Promise<AuthState | null>;
85
- /**
86
- * @param {StoredToken} token
87
- * @return {Promise} promise that is resolved when the token is saved
88
- */
89
- saveToken(token: StoredToken): Promise<StoredToken | null>;
90
- /**
91
- * @return {Promise.<StoredToken>} promise that is resolved to the stored token
92
- */
93
- getToken(): Promise<StoredToken | null>;
94
- /**
95
- * Remove stored token if any.
96
- * @return {Promise} promise that is resolved when the token is wiped.
97
- */
98
- wipeToken(): Promise<void>;
99
- /**
100
- * @param {function} loadUser user loader
101
- * @return {Promise.<object>>} promise that is resolved to stored current user
102
- */
103
- getCachedUser(loadUser: () => Promise<AuthUser | null>): Promise<AuthUser | null>;
104
- /**
105
- * Remove cached user if any
106
- */
107
- wipeCachedCurrentUser(): Promise<void>;
108
- /**
109
- * Wipes cache if user has changed
110
- */
111
- onUserChanged(): void;
112
- }