@jetbrains/ring-ui 4.2.7 → 4.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/auth/auth__core.js +5 -0
- package/components/auth/token-validator.js +4 -1
- package/components/pager/pager.js +14 -14
- package/dist/_helpers/_rollupPluginBabelHelpers.js +34 -0
- package/dist/_helpers/anchor.js +33 -0
- package/dist/_helpers/badge.js +3 -0
- package/dist/_helpers/button-group.js +3 -0
- package/dist/_helpers/button-set.js +3 -0
- package/dist/_helpers/button-toolbar.js +3 -0
- package/dist/_helpers/button__classes.js +39 -0
- package/dist/_helpers/card.js +75 -0
- package/dist/_helpers/checkbox.js +3 -0
- package/dist/_helpers/date-picker.js +3 -0
- package/dist/_helpers/dialog__body-scroll-preventer.js +58 -0
- package/dist/_helpers/error-message.js +3 -0
- package/dist/_helpers/footer.js +121 -0
- package/dist/_helpers/grid.js +3 -0
- package/dist/_helpers/group.js +3 -0
- package/dist/_helpers/header.js +3 -0
- package/dist/_helpers/icon.js +3 -0
- package/dist/_helpers/inject-styles.js +22 -0
- package/dist/_helpers/input.js +3 -0
- package/dist/_helpers/island.js +3 -0
- package/dist/_helpers/link.js +3 -0
- package/dist/_helpers/list.js +3 -0
- package/dist/_helpers/loader-screen.js +3 -0
- package/dist/_helpers/panel.js +3 -0
- package/dist/_helpers/query-assist__suggestions.js +95 -0
- package/dist/_helpers/radio.js +3 -0
- package/dist/_helpers/select__filter.js +77 -0
- package/dist/_helpers/services-link.js +40 -0
- package/dist/_helpers/sidebar.js +126 -0
- package/dist/_helpers/table.js +3 -0
- package/dist/_helpers/tabs.js +3 -0
- package/dist/_helpers/title.js +100 -0
- package/dist/alert/alert.js +262 -0
- package/dist/alert/container.js +48 -0
- package/dist/alert-service/alert-service.js +173 -0
- package/dist/analytics/analytics.js +118 -0
- package/dist/analytics/analytics__custom-plugin.js +128 -0
- package/dist/analytics/analytics__fus-plugin.js +102 -0
- package/dist/analytics/analytics__ga-plugin.js +75 -0
- package/dist/analytics/analytics__plugin-utils.js +80 -0
- package/dist/analytics-ng/analytics-ng.js +95 -0
- package/dist/auth/auth.js +96 -0
- package/dist/auth/auth__core.js +1065 -0
- package/dist/auth/background-flow.js +123 -0
- package/dist/auth/down-notification.js +117 -0
- package/dist/auth/iframe-flow.js +153 -0
- package/dist/auth/landing-entry.js +5 -0
- package/dist/auth/landing.js +90 -0
- package/dist/auth/request-builder.js +76 -0
- package/dist/auth/response-parser.js +118 -0
- package/dist/auth/storage.js +283 -0
- package/dist/auth/token-validator.js +180 -0
- package/dist/auth/window-flow.js +134 -0
- package/dist/auth-dialog/auth-dialog.js +180 -0
- package/dist/auth-dialog-service/auth-dialog-service.js +71 -0
- package/dist/auth-ng/auth-ng.js +206 -0
- package/dist/auth-ng/auth-ng.mock.js +33 -0
- package/dist/autofocus-ng/autofocus-ng.js +51 -0
- package/dist/avatar/avatar-example-datauri.js +4 -0
- package/dist/avatar/avatar.js +163 -0
- package/dist/avatar/fallback-avatar.js +142 -0
- package/dist/avatar-editor-ng/avatar-editor-ng.js +167 -0
- package/dist/avatar-editor-ng/avatar-editor-ng__template.js +3 -0
- package/dist/avatar-ng/avatar-ng.js +21 -0
- package/dist/badge/badge.js +51 -0
- package/dist/badge-ng/badge-ng.js +18 -0
- package/dist/breadcrumb-ng/breadcrumb-ng.js +37 -0
- package/dist/button/button.js +125 -0
- package/dist/button/button__classes.js +5 -0
- package/dist/button-group/button-group.js +30 -0
- package/dist/button-group/caption.js +24 -0
- package/dist/button-group-ng/button-group-ng.js +39 -0
- package/dist/button-ng/button-ng.js +217 -0
- package/dist/button-set/button-set.js +26 -0
- package/dist/button-set-ng/button-set-ng.js +19 -0
- package/dist/button-toolbar/button-toolbar.js +29 -0
- package/dist/button-toolbar-ng/button-toolbar-ng.js +24 -0
- package/dist/caret/caret.js +266 -0
- package/dist/checkbox/checkbox.js +110 -0
- package/dist/checkbox-ng/checkbox-ng.js +38 -0
- package/dist/code/code.js +137 -0
- package/dist/compiler-ng/compiler-ng.js +53 -0
- package/dist/confirm/confirm.js +127 -0
- package/dist/confirm-ng/confirm-ng.js +69 -0
- package/dist/confirm-service/confirm-service.js +117 -0
- package/dist/content-layout/content-layout.js +66 -0
- package/dist/content-layout/sidebar.js +7 -0
- package/dist/contenteditable/contenteditable.js +78 -0
- package/dist/data-list/data-list.js +208 -0
- package/dist/data-list/data-list.mock.js +191 -0
- package/dist/data-list/item.js +229 -0
- package/dist/data-list/selection.js +102 -0
- package/dist/data-list/title.js +20 -0
- package/dist/data-list-ng/data-list-ng.js +62 -0
- package/dist/date-picker/consts.js +69 -0
- package/dist/date-picker/date-input.js +175 -0
- package/dist/date-picker/date-picker.js +367 -0
- package/dist/date-picker/date-popup.js +483 -0
- package/dist/date-picker/day.js +120 -0
- package/dist/date-picker/formats.js +3 -0
- package/dist/date-picker/month-names.js +100 -0
- package/dist/date-picker/month-slider.js +84 -0
- package/dist/date-picker/month.js +55 -0
- package/dist/date-picker/months.js +122 -0
- package/dist/date-picker/weekdays.js +32 -0
- package/dist/date-picker/years.js +110 -0
- package/dist/dialog/dialog.js +205 -0
- package/dist/dialog/dialog__body-scroll-preventer.js +3 -0
- package/dist/dialog-ng/dialog-ng.js +604 -0
- package/dist/dialog-ng/dialog-ng__template.js +3 -0
- package/dist/docked-panel-ng/docked-panel-ng.js +171 -0
- package/dist/dropdown/anchor.js +19 -0
- package/dist/dropdown/dropdown.js +236 -0
- package/dist/dropdown-menu/dropdown-menu.js +177 -0
- package/dist/error-bubble/error-bubble.js +59 -0
- package/dist/error-message/error-message.js +57 -0
- package/dist/error-message-ng/error-message-ng.js +35 -0
- package/dist/footer/footer.js +12 -0
- package/dist/footer-ng/footer-ng.js +64 -0
- package/dist/form-ng/form-ng.js +167 -0
- package/dist/global/angular-component-factory.js +84 -0
- package/dist/global/compose.js +9 -0
- package/dist/global/composeRefs.js +15 -0
- package/dist/global/conic-gradient.js +35 -0
- package/dist/global/create-stateful-context.js +55 -0
- package/dist/global/data-tests.js +24 -0
- package/dist/global/dom.js +125 -0
- package/dist/global/focus-sensor-hoc.js +146 -0
- package/dist/global/fuzzy-highlight.js +67 -0
- package/dist/global/get-event-key.js +111 -0
- package/dist/global/get-uid.js +15 -0
- package/dist/global/inject-styles.js +15 -0
- package/dist/global/linear-function.js +17 -0
- package/dist/global/listeners.js +44 -0
- package/dist/global/memoize.js +20 -0
- package/dist/global/normalize-indent.js +30 -0
- package/dist/global/promise-with-timeout.js +17 -0
- package/dist/global/radial-gradient-mask.js +38 -0
- package/dist/global/react-dom-renderer.js +46 -0
- package/dist/global/react-render-adapter.js +41 -0
- package/dist/global/rerender-hoc.js +55 -0
- package/dist/global/ring-angular-component.js +24 -0
- package/dist/global/schedule-raf.js +31 -0
- package/dist/global/sniffer.js +6 -0
- package/dist/global/supports-css.js +22 -0
- package/dist/global/theme.js +54 -0
- package/dist/global/trivial-template-tag.js +17 -0
- package/dist/global/url.js +165 -0
- package/dist/global/variables_dark.js +57 -0
- package/dist/grid/col.js +60 -0
- package/dist/grid/grid.js +33 -0
- package/dist/grid/row.js +64 -0
- package/dist/group/group.js +31 -0
- package/dist/group-ng/group-ng.js +11 -0
- package/dist/header/header.js +150 -0
- package/dist/header/logo.js +40 -0
- package/dist/header/profile.js +219 -0
- package/dist/header/services-link.js +12 -0
- package/dist/header/services.js +138 -0
- package/dist/header/smart-profile.js +233 -0
- package/dist/header/smart-services.js +163 -0
- package/dist/header/tray-icon.js +47 -0
- package/dist/header/tray.js +31 -0
- package/dist/heading/heading.js +73 -0
- package/dist/http/http.js +218 -0
- package/dist/http/http.mock.js +67 -0
- package/dist/hub-source/hub-source.js +130 -0
- package/dist/hub-source/hub-source__user.js +30 -0
- package/dist/hub-source/hub-source__users-groups.js +63 -0
- package/dist/icon/icon.js +105 -0
- package/dist/icon/icon__constants.js +33 -0
- package/dist/icon/icon__svg.js +83 -0
- package/dist/icon/index.js +12 -0
- package/dist/icon-ng/icon-ng.js +91 -0
- package/dist/input/input.js +230 -0
- package/dist/input-ng/input-ng.js +111 -0
- package/dist/island/adaptive-island-hoc.js +48 -0
- package/dist/island/content.js +160 -0
- package/dist/island/header.js +84 -0
- package/dist/island/island.js +51 -0
- package/dist/island-legacy/content-legacy.js +26 -0
- package/dist/island-legacy/header-legacy.js +28 -0
- package/dist/island-legacy/island-legacy.js +28 -0
- package/dist/island-ng/island-content-ng.js +42 -0
- package/dist/island-ng/island-header-ng.js +26 -0
- package/dist/island-ng/island-ng-class-fixer.js +11 -0
- package/dist/island-ng/island-ng.js +25 -0
- package/dist/link/clickableLink.js +64 -0
- package/dist/link/link.js +115 -0
- package/dist/link-ng/link-ng.js +22 -0
- package/dist/list/consts.js +26 -0
- package/dist/list/list.js +822 -0
- package/dist/list/list__custom.js +86 -0
- package/dist/list/list__hint.js +26 -0
- package/dist/list/list__item.js +206 -0
- package/dist/list/list__link.js +65 -0
- package/dist/list/list__separator.js +30 -0
- package/dist/list/list__title.js +39 -0
- package/dist/list/list__users-groups-source.js +130 -0
- package/dist/loader/loader.js +71 -0
- package/dist/loader/loader__core.js +273 -0
- package/dist/loader-inline/inject-styles.js +13 -0
- package/dist/loader-inline/loader-inline.js +58 -0
- package/dist/loader-inline-ng/loader-inline-ng.js +44 -0
- package/dist/loader-ng/loader-ng.js +44 -0
- package/dist/loader-screen/loader-screen.js +44 -0
- package/dist/loader-screen-ng/loader-screen-ng.js +95 -0
- package/dist/login-dialog/login-dialog.js +188 -0
- package/dist/login-dialog/service.js +72 -0
- package/dist/markdown/code.js +31 -0
- package/dist/markdown/heading.js +23 -0
- package/dist/markdown/link.js +31 -0
- package/dist/markdown/markdown.js +74 -0
- package/dist/message/message.js +235 -0
- package/dist/message-bundle-ng/message-bundle-ng.js +111 -0
- package/dist/old-browsers-message/old-browsers-message.js +101 -0
- package/dist/old-browsers-message/old-browsers-message__stop.js +5 -0
- package/dist/old-browsers-message/white-list.js +34 -0
- package/dist/pager/pager.js +365 -0
- package/dist/pager-ng/pager-ng.js +100 -0
- package/dist/panel/panel.js +31 -0
- package/dist/panel-ng/panel-ng.js +17 -0
- package/dist/permissions/permissions.js +200 -0
- package/dist/permissions/permissions__cache.js +272 -0
- package/dist/permissions-ng/permissions-ng.js +277 -0
- package/dist/place-under-ng/place-under-ng.js +158 -0
- package/dist/popup/popup.consts.js +41 -0
- package/dist/popup/popup.js +396 -0
- package/dist/popup/popup.target.js +26 -0
- package/dist/popup/position.js +280 -0
- package/dist/popup-menu/popup-menu.js +117 -0
- package/dist/progress-bar/progress-bar.js +114 -0
- package/dist/progress-bar-ng/progress-bar-ng.js +17 -0
- package/dist/promised-click-ng/promised-click-ng.js +128 -0
- package/dist/proxy-attrs/proxy-attrs.js +21 -0
- package/dist/query-assist/query-assist.js +1096 -0
- package/dist/query-assist/query-assist__suggestions.js +49 -0
- package/dist/query-assist-ng/query-assist-ng.js +86 -0
- package/dist/radio/radio.js +42 -0
- package/dist/radio/radio__item.js +78 -0
- package/dist/radio-ng/radio-ng.js +47 -0
- package/dist/save-field-ng/save-field-ng.js +337 -0
- package/dist/save-field-ng/save-field-ng__template.js +3 -0
- package/dist/select/select.js +1357 -0
- package/dist/select/select__filter.js +56 -0
- package/dist/select/select__popup.js +553 -0
- package/dist/select-ng/select-ng.js +637 -0
- package/dist/select-ng/select-ng__lazy.js +169 -0
- package/dist/select-ng/select-ng__options.js +145 -0
- package/dist/shortcuts/core.js +245 -0
- package/dist/shortcuts/shortcut-title.js +51 -0
- package/dist/shortcuts/shortcuts-hoc.js +42 -0
- package/dist/shortcuts/shortcuts.js +72 -0
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +123 -0
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng__template.js +3 -0
- package/dist/shortcuts-ng/shortcuts-ng.js +262 -0
- package/dist/sidebar-ng/sidebar-ng.js +113 -0
- package/dist/sidebar-ng/sidebar-ng__button-template.js +3 -0
- package/dist/sidebar-ng/sidebar-ng__template.js +3 -0
- package/dist/storage/storage.js +59 -0
- package/dist/storage/storage__fallback.js +215 -0
- package/dist/storage/storage__local.js +154 -0
- package/dist/style.css +1 -0
- package/dist/tab-trap/tab-trap.js +177 -0
- package/dist/table/cell.js +26 -0
- package/dist/table/disable-hover-hoc.js +54 -0
- package/dist/table/header-cell.js +92 -0
- package/dist/table/header.js +193 -0
- package/dist/table/multitable.js +141 -0
- package/dist/table/row-with-focus-sensor.js +83 -0
- package/dist/table/row.js +278 -0
- package/dist/table/selection-adapter.js +16 -0
- package/dist/table/selection-shortcuts-hoc.js +215 -0
- package/dist/table/selection.js +223 -0
- package/dist/table/smart-table.js +125 -0
- package/dist/table/table.js +409 -0
- package/dist/table-legacy-ng/table-legacy-ng.js +468 -0
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +120 -0
- package/dist/table-legacy-ng/table-legacy-ng__selection-navigate-actions.js +123 -0
- package/dist/table-legacy-ng/table-legacy-ng__selection.js +179 -0
- package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +57 -0
- package/dist/table-ng/smart-table-ng.js +68 -0
- package/dist/table-ng/table-ng.js +67 -0
- package/dist/tabs/collapsible-more.js +198 -0
- package/dist/tabs/collapsible-tab.js +91 -0
- package/dist/tabs/collapsible-tabs.js +362 -0
- package/dist/tabs/custom-item.js +13 -0
- package/dist/tabs/dumb-tabs.js +164 -0
- package/dist/tabs/smart-tabs.js +106 -0
- package/dist/tabs/tab-link.js +42 -0
- package/dist/tabs/tab.js +33 -0
- package/dist/tabs/tabs.js +71 -0
- package/dist/tabs-ng/tabs-ng.js +194 -0
- package/dist/tabs-ng/tabs-ng__template.js +3 -0
- package/dist/tag/tag.js +197 -0
- package/dist/tags-input/tags-input.js +482 -0
- package/dist/tags-input-ng/tags-input-ng.js +93 -0
- package/dist/tags-list/tags-list.js +95 -0
- package/dist/template-ng/template-ng.js +71 -0
- package/dist/text/text.js +36 -0
- package/dist/theme-ng/theme-ng.js +45 -0
- package/dist/title-ng/title-ng.js +114 -0
- package/dist/toggle/toggle.js +78 -0
- package/dist/toggle-ng/toggle-ng.js +18 -0
- package/dist/tooltip/tooltip.js +209 -0
- package/dist/tooltip-ng/tooltip-ng.js +104 -0
- package/dist/user-agreement/service.js +412 -0
- package/dist/user-agreement/toolbox.eula.js +3 -0
- package/dist/user-agreement/user-agreement.js +169 -0
- package/dist/user-card/card.js +19 -0
- package/dist/user-card/smart-user-card-tooltip.js +114 -0
- package/dist/user-card/tooltip.js +95 -0
- package/dist/user-card/user-card.js +51 -0
- package/dist/user-card-ng/user-card-ng.js +62 -0
- package/package.json +2 -2
|
@@ -343,6 +343,11 @@ export default class Auth {
|
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
async handleInitValidationError(error) {
|
|
346
|
+
if (error.cause === 'invalid_client') {
|
|
347
|
+
// eslint-disable-next-line no-console
|
|
348
|
+
console.error('RingUI Auth: invalid client detected. Logging out', error);
|
|
349
|
+
return await this.logout();
|
|
350
|
+
}
|
|
346
351
|
// Redirect flow
|
|
347
352
|
if (error.authRedirect && this.config.redirect) {
|
|
348
353
|
return this.sendRedirect(error);
|
|
@@ -147,7 +147,10 @@ export default class TokenValidator {
|
|
|
147
147
|
TokenValidator.shouldRefreshToken(response.error)
|
|
148
148
|
) {
|
|
149
149
|
// Token expired
|
|
150
|
-
throw new TokenValidator.TokenValidationError(
|
|
150
|
+
throw new TokenValidator.TokenValidationError(
|
|
151
|
+
response.error || errorResponse.message,
|
|
152
|
+
errorResponse.data?.error
|
|
153
|
+
);
|
|
151
154
|
}
|
|
152
155
|
|
|
153
156
|
// Request unexpectedly failed
|
|
@@ -69,7 +69,7 @@ export default class Pager extends PureComponent {
|
|
|
69
69
|
return {selected, data};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
getPagesAmount() {
|
|
73
73
|
const {total, pageSize} = this.props;
|
|
74
74
|
return Math.ceil(total / pageSize);
|
|
75
75
|
}
|
|
@@ -89,7 +89,7 @@ export default class Pager extends PureComponent {
|
|
|
89
89
|
handleNextClick = () => {
|
|
90
90
|
const {currentPage, onLoadPage} = this.props;
|
|
91
91
|
const nextPage = currentPage + 1;
|
|
92
|
-
const total = this.
|
|
92
|
+
const total = this.getPagesAmount();
|
|
93
93
|
if (currentPage !== total) {
|
|
94
94
|
this.props.onPageChange(nextPage);
|
|
95
95
|
} else if (this.props.openTotal) {
|
|
@@ -154,7 +154,8 @@ export default class Pager extends PureComponent {
|
|
|
154
154
|
|
|
155
155
|
const prevLinkAvailable = this.props.currentPage !== 1;
|
|
156
156
|
|
|
157
|
-
const nextLinkAvailable = this.props.openTotal ||
|
|
157
|
+
const nextLinkAvailable = this.props.openTotal ||
|
|
158
|
+
this.props.currentPage !== this.getPagesAmount();
|
|
158
159
|
|
|
159
160
|
const nextIcon = (
|
|
160
161
|
<Icon glyph={chevronRightIcon} key="icon"/>
|
|
@@ -232,17 +233,16 @@ export default class Pager extends PureComponent {
|
|
|
232
233
|
|
|
233
234
|
getPagerContent() {
|
|
234
235
|
const {currentPage, visiblePagesLimit} = this.props;
|
|
235
|
-
const
|
|
236
|
+
const pagesAmount = this.getPagesAmount();
|
|
236
237
|
|
|
237
|
-
if (
|
|
238
|
+
if (pagesAmount < 2 && !this.props.openTotal) {
|
|
238
239
|
return null;
|
|
239
240
|
}
|
|
240
241
|
|
|
241
242
|
let start = 1;
|
|
242
|
-
let end =
|
|
243
|
+
let end = pagesAmount;
|
|
243
244
|
|
|
244
|
-
|
|
245
|
-
if (totalPages >= visiblePagesLimit + 6) {
|
|
245
|
+
if (pagesAmount >= visiblePagesLimit) {
|
|
246
246
|
const leftHalfFrameSize = Math.ceil(visiblePagesLimit / 2) - 1;
|
|
247
247
|
const rightHalfFrameSize = visiblePagesLimit - leftHalfFrameSize - 1;
|
|
248
248
|
|
|
@@ -255,8 +255,8 @@ export default class Pager extends PureComponent {
|
|
|
255
255
|
end += tail;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
if (end >
|
|
259
|
-
const tail = end -
|
|
258
|
+
if (end > pagesAmount) {
|
|
259
|
+
const tail = end - pagesAmount;
|
|
260
260
|
start -= tail;
|
|
261
261
|
end -= tail;
|
|
262
262
|
}
|
|
@@ -271,7 +271,7 @@ export default class Pager extends PureComponent {
|
|
|
271
271
|
buttons.push(this.getButton(i, i, i, i === currentPage));
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
const lastPageButtonAvailable = (end <
|
|
274
|
+
const lastPageButtonAvailable = (end < pagesAmount && !this.props.openTotal) ||
|
|
275
275
|
(this.props.openTotal && this.props.canLoadLastPageWithOpenTotal);
|
|
276
276
|
|
|
277
277
|
return (
|
|
@@ -292,9 +292,9 @@ export default class Pager extends PureComponent {
|
|
|
292
292
|
|
|
293
293
|
{buttons}
|
|
294
294
|
|
|
295
|
-
{end <
|
|
295
|
+
{end < pagesAmount && this.getButton(end + 1, '...')}
|
|
296
296
|
|
|
297
|
-
{end ===
|
|
297
|
+
{end === pagesAmount && this.props.openTotal && (
|
|
298
298
|
<Button
|
|
299
299
|
href={this.generateHref(end + 1)}
|
|
300
300
|
disabled={this.props.loader}
|
|
@@ -307,7 +307,7 @@ export default class Pager extends PureComponent {
|
|
|
307
307
|
(
|
|
308
308
|
<ButtonGroup>
|
|
309
309
|
{this.getButton(
|
|
310
|
-
this.props.openTotal ? -1 :
|
|
310
|
+
this.props.openTotal ? -1 : pagesAmount,
|
|
311
311
|
this.props.translations.lastPage
|
|
312
312
|
)}
|
|
313
313
|
</ButtonGroup>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
function _defineProperty(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
return obj;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function _extends() {
|
|
17
|
+
_extends = Object.assign || function (target) {
|
|
18
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
19
|
+
var source = arguments[i];
|
|
20
|
+
|
|
21
|
+
for (var key in source) {
|
|
22
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
23
|
+
target[key] = source[key];
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return target;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
return _extends.apply(this, arguments);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { _defineProperty as _, _extends as a };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
|
+
import React, { memo } from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import chevronDown from '@jetbrains/icons/chevron-10px';
|
|
5
|
+
import classNames from 'classnames';
|
|
6
|
+
import Icon from '../icon/icon.js';
|
|
7
|
+
import Button from '../button/button.js';
|
|
8
|
+
|
|
9
|
+
var modules_d9414203 = {"dropdown":"dropdown_rui_13c4","anchor":"anchor_rui_13c4","chevron":"chevron_rui_13c4"};
|
|
10
|
+
|
|
11
|
+
const Anchor = _ref => {
|
|
12
|
+
let {
|
|
13
|
+
children,
|
|
14
|
+
className,
|
|
15
|
+
...restProps
|
|
16
|
+
} = _ref;
|
|
17
|
+
return /*#__PURE__*/React.createElement(Button, _extends({
|
|
18
|
+
"data-test-ring-dropdown-anchor": true,
|
|
19
|
+
text: true,
|
|
20
|
+
className: classNames(modules_d9414203.anchor, className)
|
|
21
|
+
}, restProps), children, /*#__PURE__*/React.createElement(Icon, {
|
|
22
|
+
glyph: chevronDown,
|
|
23
|
+
className: modules_d9414203.chevron
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
Anchor.propTypes = {
|
|
28
|
+
children: PropTypes.node,
|
|
29
|
+
className: PropTypes.string
|
|
30
|
+
};
|
|
31
|
+
var Anchor$1 = /*#__PURE__*/memo(Anchor);
|
|
32
|
+
|
|
33
|
+
export { Anchor$1 as A, modules_d9414203 as m };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import classNames from 'classnames';
|
|
2
|
+
import Theme from '../global/theme.js';
|
|
3
|
+
|
|
4
|
+
var modules_e81895c9 = {"unit":"8px","button-shadow":"inset 0 0 0 1px","height":"24px","loaderWidth":"64px","light":"light_rui_0b90","active":"active_rui_0b90 active_rui_bbca","withIcon":"withIcon_rui_0b90","icon":"icon_rui_0b90","primary":"primary_rui_0b90","danger":"danger_rui_0b90","loaderBackground":"loaderBackground_rui_0b90","dark":"dark_rui_0b90","dropdownIcon":"dropdownIcon_rui_0b90","button":"button_rui_0b90 button_rui_bbca button_rui_b2a9 button_rui_f4fc","loader":"loader_rui_0b90","text":"text_rui_0b90","content":"content_rui_0b90","text-loading":"text-loading_rui_0b90","inline":"inline_rui_0b90","withNormalIconLight":"withNormalIconLight_rui_0b90","withNormalIconDark":"withNormalIconDark_rui_0b90","withDangerIconLight":"withDangerIconLight_rui_0b90","withDangerIconDark":"withDangerIconDark_rui_0b90","progress":"progress_rui_0b90","delayed":"delayed_rui_0b90","short":"short_rui_0b90"};
|
|
5
|
+
|
|
6
|
+
function getButtonClasses(_ref) {
|
|
7
|
+
let {
|
|
8
|
+
className,
|
|
9
|
+
active,
|
|
10
|
+
disabled,
|
|
11
|
+
loader,
|
|
12
|
+
primary,
|
|
13
|
+
short,
|
|
14
|
+
text,
|
|
15
|
+
inline,
|
|
16
|
+
danger,
|
|
17
|
+
delayed,
|
|
18
|
+
icon,
|
|
19
|
+
theme
|
|
20
|
+
} = _ref;
|
|
21
|
+
const withNormalIcon = icon && !active && !danger && !primary && !disabled;
|
|
22
|
+
return classNames(modules_e81895c9.button, className, modules_e81895c9[theme], {
|
|
23
|
+
[modules_e81895c9.active]: active,
|
|
24
|
+
[modules_e81895c9.danger]: danger,
|
|
25
|
+
[modules_e81895c9.delayed]: delayed,
|
|
26
|
+
[modules_e81895c9.withIcon]: icon,
|
|
27
|
+
[modules_e81895c9.withNormalIconLight]: withNormalIcon && theme === Theme.LIGHT,
|
|
28
|
+
[modules_e81895c9.withNormalIconDark]: withNormalIcon && theme === Theme.DARK,
|
|
29
|
+
[modules_e81895c9.withDangerIconLight]: icon && danger && theme === Theme.LIGHT,
|
|
30
|
+
[modules_e81895c9.withDangerIconDark]: icon && danger && theme === Theme.DARK,
|
|
31
|
+
[modules_e81895c9.loader]: loader && !icon,
|
|
32
|
+
[modules_e81895c9.primary]: primary,
|
|
33
|
+
[modules_e81895c9.short]: short,
|
|
34
|
+
[modules_e81895c9.text]: text,
|
|
35
|
+
[modules_e81895c9.inline]: inline
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { getButtonClasses as g, modules_e81895c9 as m };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { _ as _defineProperty, a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
|
+
import React, { PureComponent } from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
import Avatar, { Size } from '../avatar/avatar.js';
|
|
6
|
+
import Link from '../link/link.js';
|
|
7
|
+
import { m as modules_6c9187df } from './badge.js';
|
|
8
|
+
|
|
9
|
+
var modules_a4196c17 = {"unit":"8px","userCardSpaced":"userCardSpaced_rui_6e59","userInformationContainer":"userInformationContainer_rui_6e59","userInformation":"userInformation_rui_6e59","userName":"userName_rui_6e59","userActiveStatus":"userActiveStatus_rui_6e59","online":"online_rui_6e59"};
|
|
10
|
+
|
|
11
|
+
class UserCard extends PureComponent {
|
|
12
|
+
render() {
|
|
13
|
+
const {
|
|
14
|
+
children,
|
|
15
|
+
className,
|
|
16
|
+
user,
|
|
17
|
+
wording,
|
|
18
|
+
...restProps
|
|
19
|
+
} = this.props;
|
|
20
|
+
const classes = classNames(className, {});
|
|
21
|
+
const userActiveStatusClasses = classNames(modules_a4196c17.userActiveStatus, user.online ? modules_a4196c17.online : '');
|
|
22
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
23
|
+
className: classes
|
|
24
|
+
}, restProps), /*#__PURE__*/React.createElement("div", {
|
|
25
|
+
className: modules_a4196c17.userInformationContainer
|
|
26
|
+
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
27
|
+
size: Size.Size56,
|
|
28
|
+
url: user.avatarUrl
|
|
29
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
className: modules_a4196c17.userInformation
|
|
31
|
+
}, /*#__PURE__*/React.createElement("div", null, user.href && /*#__PURE__*/React.createElement(Link, {
|
|
32
|
+
href: user.href,
|
|
33
|
+
className: modules_a4196c17.userName
|
|
34
|
+
}, user.name), !user.href && /*#__PURE__*/React.createElement("span", {
|
|
35
|
+
className: modules_a4196c17.userName
|
|
36
|
+
}, user.name), user.banned && /*#__PURE__*/React.createElement("span", {
|
|
37
|
+
className: classNames(modules_6c9187df.badge, modules_6c9187df.invalid),
|
|
38
|
+
title: user.banReason
|
|
39
|
+
}, wording.banned)), /*#__PURE__*/React.createElement("div", null, typeof user.online === 'boolean' && /*#__PURE__*/React.createElement("span", {
|
|
40
|
+
className: userActiveStatusClasses,
|
|
41
|
+
title: user.online ? wording.online : wording.offline
|
|
42
|
+
}), user.login), user.email && /*#__PURE__*/React.createElement("div", null, user.email))), children);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
_defineProperty(UserCard, "propTypes", {
|
|
48
|
+
children: PropTypes.node,
|
|
49
|
+
className: PropTypes.string,
|
|
50
|
+
user: PropTypes.shape({
|
|
51
|
+
name: PropTypes.string.isRequired,
|
|
52
|
+
login: PropTypes.string.isRequired,
|
|
53
|
+
avatarUrl: PropTypes.string.isRequired,
|
|
54
|
+
email: PropTypes.string,
|
|
55
|
+
href: PropTypes.string,
|
|
56
|
+
online: PropTypes.bool,
|
|
57
|
+
banned: PropTypes.bool,
|
|
58
|
+
banReason: PropTypes.string
|
|
59
|
+
}).isRequired,
|
|
60
|
+
wording: PropTypes.shape({
|
|
61
|
+
banned: PropTypes.string.isRequired,
|
|
62
|
+
online: PropTypes.string.isRequired,
|
|
63
|
+
offline: PropTypes.string.isRequired
|
|
64
|
+
})
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
_defineProperty(UserCard, "defaultProps", {
|
|
68
|
+
wording: {
|
|
69
|
+
banned: 'banned',
|
|
70
|
+
online: 'online',
|
|
71
|
+
offline: 'offline'
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
export { UserCard as U, modules_a4196c17 as m };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_3199090e = {"unit":"8px","checkboxSize":"14px","checkbox":"checkbox_rui_d990","cell":"cell_rui_d990","icon":"icon_rui_d990","check":"check_rui_d990 icon_rui_d990","minus":"minus_rui_d990 icon_rui_d990","input":"input_rui_d990","focus":"focus_rui_d990","label":"label_rui_d990"};
|
|
2
|
+
|
|
3
|
+
export { modules_3199090e as m };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_0c7b7d96 = {"unit":"8px","footer-height":"64px","breakpoint-small":"640px","breakpoint-middle":"960px","breakpoint-large":"1200px","extra-small-screen-media":"(max-width: 639px)","small-screen-media":"(min-width: 640px) and (max-width: 959px)","middle-screen-media":"(min-width: 960px) and (max-width: 1199px)","large-screen-media":"(min-width: 1200px)","cellSize":"24px","calHeight":"288px","calWidth":"296px","yearHeight":"32px","yearWidth":"48px","clearfix":"clearfix_rui_e0bd","font":"font_rui_e0bd","font-lower":"font-lower_rui_e0bd font_rui_e0bd","font-smaller":"font-smaller_rui_e0bd font-lower_rui_e0bd font_rui_e0bd","font-smaller-lower":"font-smaller-lower_rui_e0bd font-smaller_rui_e0bd font-lower_rui_e0bd font_rui_e0bd","font-larger-lower":"font-larger-lower_rui_e0bd font-lower_rui_e0bd font_rui_e0bd","font-larger":"font-larger_rui_e0bd font-larger-lower_rui_e0bd font-lower_rui_e0bd font_rui_e0bd","thin-font":"thin-font_rui_e0bd","monospace-font":"monospace-font_rui_e0bd","ellipsis":"ellipsis_rui_e0bd","resetButton":"resetButton_rui_e0bd","container":"container_rui_e0bd","hoverable":"hoverable_rui_e0bd","datePicker":"datePicker_rui_e0bd","displayDate":"displayDate_rui_e0bd","displayRange":"displayRange_rui_e0bd","clear":"clear_rui_e0bd","datePopup":"datePopup_rui_e0bd","filterWrapper":"filterWrapper_rui_e0bd filterWrapper_rui_531d","filter":"filter_rui_e0bd filter_rui_531d","filterIcon":"filterIcon_rui_e0bd filterIcon_rui_531d","fromInput":"fromInput_rui_e0bd","fromInputWithDivider":"fromInputWithDivider_rui_e0bd","toInput":"toInput_rui_e0bd","dateInput":"dateInput_rui_e0bd","timeInputWithDivider":"timeInputWithDivider_rui_e0bd","weekdays":"weekdays_rui_e0bd","weekday":"weekday_rui_e0bd","weekend":"weekend_rui_e0bd","calendar":"calendar_rui_e0bd","months":"months_rui_e0bd","days":"days_rui_e0bd","month":"month_rui_e0bd","monthTitle":"monthTitle_rui_e0bd","day":"day_rui_e0bd resetButton_rui_8bff","between":"between_rui_e0bd","activeBetween":"activeBetween_rui_e0bd","current":"current_rui_e0bd","active":"active_rui_e0bd","disabled":"disabled_rui_e0bd","from":"from_rui_e0bd","to":"to_rui_e0bd","Monday":"Monday_rui_e0bd","spread":"spread_rui_e0bd","activeSpread":"activeSpread_rui_e0bd","first":"first_rui_e0bd","Tuesday":"Tuesday_rui_e0bd","Friday":"Friday_rui_e0bd","Saturday":"Saturday_rui_e0bd","Sunday":"Sunday_rui_e0bd","empty":"empty_rui_e0bd","today":"today_rui_e0bd","year":"year_rui_e0bd hoverable_rui_e0bd resetButton_rui_8bff","monthNames":"monthNames_rui_e0bd","monthName":"monthName_rui_e0bd hoverable_rui_e0bd resetButton_rui_8bff","monthSlider":"monthSlider_rui_e0bd resetButton_rui_8bff","dragging":"dragging_rui_e0bd","range":"range_rui_e0bd","years":"years_rui_e0bd","currentYear":"currentYear_rui_e0bd"};
|
|
2
|
+
|
|
3
|
+
export { modules_0c7b7d96 as m };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
|
+
import scrollbarWidth from 'scrollbar-width';
|
|
3
|
+
|
|
4
|
+
var modules_5e9b8c03 = {"unit":"8px","container":"container_rui_381e","innerContainer":"innerContainer_rui_381e","content":"content_rui_381e","panel":"panel_rui_381e","clickableOverlay":"clickableOverlay_rui_381e","closeIcon":"closeIcon_rui_381e","closeButton":"closeButton_rui_381e","closeButtonOutside":"closeButtonOutside_rui_381e","closeButtonInside":"closeButtonInside_rui_381e","documentWithoutScroll":"documentWithoutScroll_rui_381e","popupTarget":"popupTarget_rui_381e"};
|
|
5
|
+
|
|
6
|
+
const isPrevented = new Set();
|
|
7
|
+
let previousDocumentWidth = null;
|
|
8
|
+
|
|
9
|
+
const prevent = key => {
|
|
10
|
+
if (isPrevented.has(key)) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
isPrevented.add(key);
|
|
15
|
+
|
|
16
|
+
if (isPrevented.size > 1) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const documentHasScroll = document.documentElement.scrollHeight > window.innerHeight || getComputedStyle(document.documentElement).overflowY === 'scroll';
|
|
21
|
+
document.documentElement.classList.add(modules_5e9b8c03.documentWithoutScroll);
|
|
22
|
+
const scrollWidth = scrollbarWidth();
|
|
23
|
+
|
|
24
|
+
if (documentHasScroll && scrollWidth > 0) {
|
|
25
|
+
previousDocumentWidth = document.documentElement.style.width;
|
|
26
|
+
document.documentElement.style.width = "calc(100% - ".concat(scrollWidth, "px)");
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const reset = key => {
|
|
31
|
+
if (isPrevented.size === 0) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
isPrevented.delete(key);
|
|
36
|
+
|
|
37
|
+
if (isPrevented.size > 0) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
document.documentElement.classList.remove(modules_5e9b8c03.documentWithoutScroll);
|
|
42
|
+
|
|
43
|
+
if (previousDocumentWidth !== null) {
|
|
44
|
+
document.documentElement.style.width = previousDocumentWidth;
|
|
45
|
+
previousDocumentWidth = null;
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
const preventerFactory = key => {
|
|
50
|
+
const preventerKey = key || Math.random();
|
|
51
|
+
return {
|
|
52
|
+
prevent: () => prevent(preventerKey),
|
|
53
|
+
reset: () => reset(preventerKey)
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
var dialog__bodyScrollPreventer = preventerFactory('default-preventer');
|
|
57
|
+
|
|
58
|
+
export { dialog__bodyScrollPreventer as d, modules_5e9b8c03 as m, preventerFactory as p };
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import React, { memo, isValidElement } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
import Link from '../link/link.js';
|
|
5
|
+
|
|
6
|
+
var modules_7385b3fd = {"unit":"8px","footer-height":"64px","footer":"footer_rui_fade font_rui_8bff","footerFloating":"footerFloating_rui_fade footer_rui_fade font_rui_8bff","column":"column_rui_fade","columnItem":"columnItem_rui_fade","columnLeft":"columnLeft_rui_fade column_rui_fade","columnCenter":"columnCenter_rui_fade column_rui_fade","line":"line_rui_fade","columnRight":"columnRight_rui_fade column_rui_fade","lineCenter":"lineCenter_rui_fade"};
|
|
7
|
+
|
|
8
|
+
const FooterColumn = /*#__PURE__*/memo(function FooterColumn(_ref) {
|
|
9
|
+
let {
|
|
10
|
+
position,
|
|
11
|
+
children
|
|
12
|
+
} = _ref;
|
|
13
|
+
const classes = classNames({
|
|
14
|
+
[modules_7385b3fd.columnLeft]: position === 'left',
|
|
15
|
+
[modules_7385b3fd.columnCenter]: position === 'center',
|
|
16
|
+
[modules_7385b3fd.columnRight]: position === 'right'
|
|
17
|
+
});
|
|
18
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
19
|
+
className: classes
|
|
20
|
+
}, /*#__PURE__*/React.createElement("ul", {
|
|
21
|
+
className: modules_7385b3fd.columnItem
|
|
22
|
+
}, children));
|
|
23
|
+
});
|
|
24
|
+
FooterColumn.propTypes = {
|
|
25
|
+
position: PropTypes.string,
|
|
26
|
+
children: PropTypes.node
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Return copyright string
|
|
30
|
+
* @param year {int}
|
|
31
|
+
* @returns {string}
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
function copyright(year) {
|
|
35
|
+
const currentYear = new Date().getUTCFullYear();
|
|
36
|
+
const ndash = '–';
|
|
37
|
+
let ret = 'Copyright © ';
|
|
38
|
+
|
|
39
|
+
if (year >= currentYear) {
|
|
40
|
+
ret += year;
|
|
41
|
+
} else {
|
|
42
|
+
ret += year + ndash + currentYear;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return ret;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @constructor
|
|
49
|
+
* @extends {ReactComponent}
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
const FooterLine = /*#__PURE__*/memo(function FooterLine(props) {
|
|
53
|
+
const items = Array.isArray(props.item) ? props.item : [props.item];
|
|
54
|
+
|
|
55
|
+
function renderItem(item) {
|
|
56
|
+
if ( /*#__PURE__*/isValidElement(item)) {
|
|
57
|
+
return item;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const element = (item.copyright ? copyright(item.copyright) : '') + (item.label || item);
|
|
61
|
+
|
|
62
|
+
if (item.url) {
|
|
63
|
+
return /*#__PURE__*/React.createElement(Link, {
|
|
64
|
+
href: item.url,
|
|
65
|
+
target: item.target,
|
|
66
|
+
key: item.url + item.title,
|
|
67
|
+
title: item.title
|
|
68
|
+
}, element);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return element;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return /*#__PURE__*/React.createElement("li", {
|
|
75
|
+
className: modules_7385b3fd.line
|
|
76
|
+
}, items.map(renderItem));
|
|
77
|
+
});
|
|
78
|
+
FooterLine.propTypes = {
|
|
79
|
+
item: PropTypes.oneOfType([PropTypes.object, PropTypes.array, PropTypes.string])
|
|
80
|
+
};
|
|
81
|
+
const Footer = /*#__PURE__*/memo(function Footer(_ref2) {
|
|
82
|
+
let {
|
|
83
|
+
floating,
|
|
84
|
+
className,
|
|
85
|
+
left,
|
|
86
|
+
center,
|
|
87
|
+
right
|
|
88
|
+
} = _ref2;
|
|
89
|
+
|
|
90
|
+
function content(elements, position) {
|
|
91
|
+
if (!elements) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return /*#__PURE__*/React.createElement(FooterColumn, {
|
|
96
|
+
key: position,
|
|
97
|
+
position: position
|
|
98
|
+
}, elements.map((item, idx) => /*#__PURE__*/React.createElement(FooterLine // eslint-disable-next-line react/no-array-index-key
|
|
99
|
+
, {
|
|
100
|
+
key: idx,
|
|
101
|
+
item: item
|
|
102
|
+
})));
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
const classes = classNames(modules_7385b3fd.footer, className, {
|
|
106
|
+
[modules_7385b3fd.footerFloating]: floating
|
|
107
|
+
});
|
|
108
|
+
return /*#__PURE__*/React.createElement("footer", {
|
|
109
|
+
className: classes,
|
|
110
|
+
"data-test": "ring-footer"
|
|
111
|
+
}, [content(left, 'left'), content(center, 'center'), content(right, 'right')]);
|
|
112
|
+
});
|
|
113
|
+
Footer.propTypes = {
|
|
114
|
+
className: PropTypes.string,
|
|
115
|
+
floating: PropTypes.bool,
|
|
116
|
+
left: PropTypes.array,
|
|
117
|
+
center: PropTypes.array,
|
|
118
|
+
right: PropTypes.array
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
export { Footer as F, copyright as c, modules_7385b3fd as m };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_855170c0 = {"unit":"8px","breakpoint-small":"640px","breakpoint-middle":"960px","breakpoint-large":"1200px","large-screen-media":"(min-width: 1200px)","middle-screen-media":"(min-width: 960px) and (max-width: 1199px)","small-screen-media":"(min-width: 640px) and (max-width: 959px)","gutterWidth":"(8px*2)","gutterCompensation":"-8px","outerMargin":"16px","containerSmall":"656px","containerMedium":"976px","containerLarge":"1216px","width-1":"8.3333%","width-2":"16.6667%","width-3":"25%","width-4":"33.3333%","width-5":"41.6667%","width-6":"50%","width-7":"58.3333%","width-8":"66.6667%","width-9":"75%","width-10":"83.3333%","width-11":"91.6667%","width-12":"100%","container-fluid":"container-fluid_rui_a74c","container":"container_rui_a74c","row":"row_rui_a74c","reverse":"reverse_rui_a74c","col":"col_rui_a74c","col-xs":"col-xs_rui_a74c","col-xs-1":"col-xs-1_rui_a74c","col-xs-2":"col-xs-2_rui_a74c","col-xs-3":"col-xs-3_rui_a74c","col-xs-4":"col-xs-4_rui_a74c","col-xs-5":"col-xs-5_rui_a74c","col-xs-6":"col-xs-6_rui_a74c","col-xs-7":"col-xs-7_rui_a74c","col-xs-8":"col-xs-8_rui_a74c","col-xs-9":"col-xs-9_rui_a74c","col-xs-10":"col-xs-10_rui_a74c","col-xs-11":"col-xs-11_rui_a74c","col-xs-12":"col-xs-12_rui_a74c","col-xs-offset-0":"col-xs-offset-0_rui_a74c","col-xs-offset-1":"col-xs-offset-1_rui_a74c","col-xs-offset-2":"col-xs-offset-2_rui_a74c","col-xs-offset-3":"col-xs-offset-3_rui_a74c","col-xs-offset-4":"col-xs-offset-4_rui_a74c","col-xs-offset-5":"col-xs-offset-5_rui_a74c","col-xs-offset-6":"col-xs-offset-6_rui_a74c","col-xs-offset-7":"col-xs-offset-7_rui_a74c","col-xs-offset-8":"col-xs-offset-8_rui_a74c","col-xs-offset-9":"col-xs-offset-9_rui_a74c","col-xs-offset-10":"col-xs-offset-10_rui_a74c","col-xs-offset-11":"col-xs-offset-11_rui_a74c","col-xs-offset-12":"col-xs-offset-12_rui_a74c","start-xs":"start-xs_rui_a74c","center-xs":"center-xs_rui_a74c","end-xs":"end-xs_rui_a74c","top-xs":"top-xs_rui_a74c","middle-xs":"middle-xs_rui_a74c","baseline-xs":"baseline-xs_rui_a74c","bottom-xs":"bottom-xs_rui_a74c","around-xs":"around-xs_rui_a74c","between-xs":"between-xs_rui_a74c","first-xs":"first-xs_rui_a74c","last-xs":"last-xs_rui_a74c","col-sm":"col-sm_rui_a74c","col-sm-1":"col-sm-1_rui_a74c","col-sm-2":"col-sm-2_rui_a74c","col-sm-3":"col-sm-3_rui_a74c","col-sm-4":"col-sm-4_rui_a74c","col-sm-5":"col-sm-5_rui_a74c","col-sm-6":"col-sm-6_rui_a74c","col-sm-7":"col-sm-7_rui_a74c","col-sm-8":"col-sm-8_rui_a74c","col-sm-9":"col-sm-9_rui_a74c","col-sm-10":"col-sm-10_rui_a74c","col-sm-11":"col-sm-11_rui_a74c","col-sm-12":"col-sm-12_rui_a74c","col-sm-offset-0":"col-sm-offset-0_rui_a74c","col-sm-offset-1":"col-sm-offset-1_rui_a74c","col-sm-offset-2":"col-sm-offset-2_rui_a74c","col-sm-offset-3":"col-sm-offset-3_rui_a74c","col-sm-offset-4":"col-sm-offset-4_rui_a74c","col-sm-offset-5":"col-sm-offset-5_rui_a74c","col-sm-offset-6":"col-sm-offset-6_rui_a74c","col-sm-offset-7":"col-sm-offset-7_rui_a74c","col-sm-offset-8":"col-sm-offset-8_rui_a74c","col-sm-offset-9":"col-sm-offset-9_rui_a74c","col-sm-offset-10":"col-sm-offset-10_rui_a74c","col-sm-offset-11":"col-sm-offset-11_rui_a74c","col-sm-offset-12":"col-sm-offset-12_rui_a74c","start-sm":"start-sm_rui_a74c","center-sm":"center-sm_rui_a74c","end-sm":"end-sm_rui_a74c","top-sm":"top-sm_rui_a74c","middle-sm":"middle-sm_rui_a74c","baseline-sm":"baseline-sm_rui_a74c","bottom-sm":"bottom-sm_rui_a74c","around-sm":"around-sm_rui_a74c","between-sm":"between-sm_rui_a74c","first-sm":"first-sm_rui_a74c","last-sm":"last-sm_rui_a74c","col-md":"col-md_rui_a74c","col-md-1":"col-md-1_rui_a74c","col-md-2":"col-md-2_rui_a74c","col-md-3":"col-md-3_rui_a74c","col-md-4":"col-md-4_rui_a74c","col-md-5":"col-md-5_rui_a74c","col-md-6":"col-md-6_rui_a74c","col-md-7":"col-md-7_rui_a74c","col-md-8":"col-md-8_rui_a74c","col-md-9":"col-md-9_rui_a74c","col-md-10":"col-md-10_rui_a74c","col-md-11":"col-md-11_rui_a74c","col-md-12":"col-md-12_rui_a74c","col-md-offset-0":"col-md-offset-0_rui_a74c","col-md-offset-1":"col-md-offset-1_rui_a74c","col-md-offset-2":"col-md-offset-2_rui_a74c","col-md-offset-3":"col-md-offset-3_rui_a74c","col-md-offset-4":"col-md-offset-4_rui_a74c","col-md-offset-5":"col-md-offset-5_rui_a74c","col-md-offset-6":"col-md-offset-6_rui_a74c","col-md-offset-7":"col-md-offset-7_rui_a74c","col-md-offset-8":"col-md-offset-8_rui_a74c","col-md-offset-9":"col-md-offset-9_rui_a74c","col-md-offset-10":"col-md-offset-10_rui_a74c","col-md-offset-11":"col-md-offset-11_rui_a74c","col-md-offset-12":"col-md-offset-12_rui_a74c","start-md":"start-md_rui_a74c","center-md":"center-md_rui_a74c","end-md":"end-md_rui_a74c","top-md":"top-md_rui_a74c","middle-md":"middle-md_rui_a74c","baseline-md":"baseline-md_rui_a74c","bottom-md":"bottom-md_rui_a74c","around-md":"around-md_rui_a74c","between-md":"between-md_rui_a74c","first-md":"first-md_rui_a74c","last-md":"last-md_rui_a74c","col-lg":"col-lg_rui_a74c","col-lg-1":"col-lg-1_rui_a74c","col-lg-2":"col-lg-2_rui_a74c","col-lg-3":"col-lg-3_rui_a74c","col-lg-4":"col-lg-4_rui_a74c","col-lg-5":"col-lg-5_rui_a74c","col-lg-6":"col-lg-6_rui_a74c","col-lg-7":"col-lg-7_rui_a74c","col-lg-8":"col-lg-8_rui_a74c","col-lg-9":"col-lg-9_rui_a74c","col-lg-10":"col-lg-10_rui_a74c","col-lg-11":"col-lg-11_rui_a74c","col-lg-12":"col-lg-12_rui_a74c","col-lg-offset-0":"col-lg-offset-0_rui_a74c","col-lg-offset-1":"col-lg-offset-1_rui_a74c","col-lg-offset-2":"col-lg-offset-2_rui_a74c","col-lg-offset-3":"col-lg-offset-3_rui_a74c","col-lg-offset-4":"col-lg-offset-4_rui_a74c","col-lg-offset-5":"col-lg-offset-5_rui_a74c","col-lg-offset-6":"col-lg-offset-6_rui_a74c","col-lg-offset-7":"col-lg-offset-7_rui_a74c","col-lg-offset-8":"col-lg-offset-8_rui_a74c","col-lg-offset-9":"col-lg-offset-9_rui_a74c","col-lg-offset-10":"col-lg-offset-10_rui_a74c","col-lg-offset-11":"col-lg-offset-11_rui_a74c","col-lg-offset-12":"col-lg-offset-12_rui_a74c","start-lg":"start-lg_rui_a74c","center-lg":"center-lg_rui_a74c","end-lg":"end-lg_rui_a74c","top-lg":"top-lg_rui_a74c","middle-lg":"middle-lg_rui_a74c","baseline-lg":"baseline-lg_rui_a74c","bottom-lg":"bottom-lg_rui_a74c","around-lg":"around-lg_rui_a74c","between-lg":"between-lg_rui_a74c","first-lg":"first-lg_rui_a74c","last-lg":"last-lg_rui_a74c"};
|
|
2
|
+
|
|
3
|
+
export { modules_855170c0 as m };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_47759f5e = {"unit":"8px","height":"64px","compensate":"3px","compensated":"61px","light":"light_rui_1238","dark":"dark_rui_1238","header":"header_rui_1238","headerSpaced":"headerSpaced_rui_1238","logo":"logo_rui_1238","tray":"tray_rui_1238","trayItemContent":"trayItemContent_rui_1238","icon":"icon_rui_1238","main":"main_rui_1238","rotatable":"rotatable_rui_1238","rotated":"rotated_rui_1238","profileEmpty":"profileEmpty_rui_1238","profile":"profile_rui_1238 profileEmpty_rui_1238","avatarWrapper":"avatarWrapper_rui_1238 resetButton_rui_8bff","hasUpdates":"hasUpdates_rui_1238"};
|
|
2
|
+
|
|
3
|
+
export { modules_47759f5e as m };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_29747b80 = {"unit":"8px","icon":"icon_rui_2d39","glyph":"glyph_rui_2d39","compatibilityMode":"compatibilityMode_rui_2d39","gray":"gray_rui_2d39","hover":"hover_rui_2d39","green":"green_rui_2d39","magenta":"magenta_rui_2d39","red":"red_rui_2d39","blue":"blue_rui_2d39","white":"white_rui_2d39","loading":"loading_rui_2d39","icon-loading":"icon-loading_rui_2d39"};
|
|
2
|
+
|
|
3
|
+
export { modules_29747b80 as m };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { conicGradientWithMask } from '../global/conic-gradient.js';
|
|
2
|
+
import { injectRuleSet } from '../global/inject-styles.js';
|
|
3
|
+
import memoize from '../global/memoize.js';
|
|
4
|
+
import radialGradientMask from '../global/radial-gradient-mask.js';
|
|
5
|
+
import Theme from '../global/theme.js';
|
|
6
|
+
|
|
7
|
+
var modules_e49a3529 = {"unit":"8px","loader":"loader_rui_e6f2","spin":"spin_rui_e6f2","pulse":"pulse_rui_e6f2","children":"children_rui_e6f2"};
|
|
8
|
+
|
|
9
|
+
const IMAGE_SIZE = 32;
|
|
10
|
+
var injectStyles = memoize(() => {
|
|
11
|
+
const mask = radialGradientMask(modules_e49a3529.unit, {
|
|
12
|
+
/* eslint-disable no-magic-numbers */
|
|
13
|
+
transparent: "".concat(23 / 32 * 100, "%"),
|
|
14
|
+
white: "".concat(25 / 32 * 100, "%")
|
|
15
|
+
/* eslint-enable */
|
|
16
|
+
|
|
17
|
+
});
|
|
18
|
+
injectRuleSet(".".concat(modules_e49a3529.loader, "_").concat([Theme.LIGHT], "::after, .ring-loader-inline::after"), conicGradientWithMask(mask, '#ff00eb,#bd3bff,#008eff, #58ba00,#f48700,#ff00eb', IMAGE_SIZE));
|
|
19
|
+
injectRuleSet(".".concat(modules_e49a3529.loader, "_").concat([Theme.DARK], "::after, .ring-loader-inline_dark::after"), conicGradientWithMask(mask, '#ff2eef,#d178ff,#289fff,#88d444,#ffe000,#ff2eef', IMAGE_SIZE));
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
export { injectStyles as i, modules_e49a3529 as m };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_88cfaf40 = {"unit":"8px","iconOffset":"22px","container":"container_rui_e356 font-lower_rui_8bff font_rui_8bff","compact":"compact_rui_e356","input":"input_rui_e356","clearable":"clearable_rui_e356","light":"light_rui_e356","dark":"dark_rui_e356","withIcon":"withIcon_rui_e356","label":"label_rui_e356","icon":"icon_rui_e356","clear":"clear_rui_e356","empty":"empty_rui_e356","active":"active_rui_e356","noLabel":"noLabel_rui_e356","error":"error_rui_e356","underline":"underline_rui_e356","focusUnderline":"focusUnderline_rui_e356","errorUnderline":"errorUnderline_rui_e356","errorText":"errorText_rui_e356","sizeS":"sizeS_rui_e356","sizeM":"sizeM_rui_e356","sizeL":"sizeL_rui_e356","sizeFULL":"sizeFULL_rui_e356"};
|
|
2
|
+
|
|
3
|
+
export { modules_88cfaf40 as m };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_e6a056e1 = {"unit":"8px","gradientStart":"rgba(255, 255, 255, 0)","gradientStop":"var(--ring-content-background-color)","island":"island_rui_1d72","withTransparentBottomBorder":"withTransparentBottomBorder_rui_1d72","header":"header_rui_1d72 withTransparentBottomBorder_rui_1d72","withBottomBorder":"withBottomBorder_rui_1d72","title":"title_rui_1d72","narrowIsland":"narrowIsland_rui_1d72","content":"content_rui_1d72","scrollableWrapper":"scrollableWrapper_rui_1d72","withoutPaddings":"withoutPaddings_rui_1d72","contentWithTopFade":"contentWithTopFade_rui_1d72","contentWithBottomFade":"contentWithBottomFade_rui_1d72"};
|
|
2
|
+
|
|
3
|
+
export { modules_e6a056e1 as m };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_607b0772 = {"link":"link_rui_d382 link_rui_2b32","hover":"hover_rui_d382","inner":"inner_rui_d382","active":"active_rui_d382","compatibilityUnderlineMode":"compatibilityUnderlineMode_rui_d382","pseudo":"pseudo_rui_d382","text":"text_rui_d382","inherit":"inherit_rui_d382"};
|
|
2
|
+
|
|
3
|
+
export { modules_607b0772 as m };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_3b67a421 = {"unit":"8px","listSpacing":"8px","list":"list_rui_93ef","simpleInner":"simpleInner_rui_93ef","scrolling":"scrolling_rui_93ef","separator":"separator_rui_93ef","separator_first":"separator_first_rui_93ef","item":"item_rui_93ef","itemContainer":"itemContainer_rui_93ef","compact":"compact_rui_93ef","error":"error_rui_93ef","add":"add_rui_93ef","top":"top_rui_93ef","left":"left_rui_93ef","label":"label_rui_93ef","description":"description_rui_93ef","right":"right_rui_93ef","details":"details_rui_93ef","padded":"padded_rui_93ef","hint":"hint_rui_93ef","action":"action_rui_93ef","actionLink":"actionLink_rui_93ef","hover":"hover_rui_93ef","icon":"icon_rui_93ef","highlight":"highlight_rui_93ef","service":"service_rui_93ef","glyph":"glyph_rui_93ef","avatar":"avatar_rui_93ef glyph_rui_93ef","rightGlyph":"rightGlyph_rui_93ef glyph_rui_93ef","checkboxContainer":"checkboxContainer_rui_93ef","title":"title_rui_93ef","title_first":"title_first_rui_93ef","text":"text_rui_93ef","fade":"fade_rui_93ef","disabled":"disabled_rui_93ef"};
|
|
2
|
+
|
|
3
|
+
export { modules_3b67a421 as m };
|