@jetbrains/ring-ui-built 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.
- package/LICENSE.txt +202 -0
- package/README.md +103 -0
- package/components/_helpers/_rollupPluginBabelHelpers.js +648 -0
- package/components/_helpers/anchor.js +31 -0
- package/components/_helpers/badge.js +3 -0
- package/components/_helpers/button__classes.js +34 -0
- package/components/_helpers/caption.js +31 -0
- package/components/_helpers/card.js +132 -0
- package/components/_helpers/date-picker.js +3 -0
- package/components/_helpers/dialog__body-scroll-preventer.js +54 -0
- package/components/_helpers/grid.js +3 -0
- package/components/_helpers/header.js +3 -0
- package/components/_helpers/heading.js +3 -0
- package/components/_helpers/icon__svg.js +75 -0
- package/components/_helpers/input.js +235 -0
- package/components/_helpers/island.js +3 -0
- package/components/_helpers/link.js +3 -0
- package/components/_helpers/list.js +3 -0
- package/components/_helpers/query-assist__suggestions.js +102 -0
- package/components/_helpers/select__filter.js +94 -0
- package/components/_helpers/services-link.js +48 -0
- package/components/_helpers/sidebar.js +123 -0
- package/components/_helpers/tab-link.js +34 -0
- package/components/_helpers/table.js +3 -0
- package/components/_helpers/theme.js +95 -0
- package/components/_helpers/title.js +103 -0
- package/components/alert/alert.d.ts +113 -0
- package/components/alert/alert.js +294 -0
- package/components/alert/container.d.ts +15 -0
- package/components/alert/container.js +52 -0
- package/components/alert-service/alert-service.d.ts +36 -0
- package/components/alert-service/alert-service.js +220 -0
- package/components/analytics/analytics.d.ts +18 -0
- package/components/analytics/analytics.js +31 -0
- package/components/analytics/analytics__custom-plugin.d.ts +28 -0
- package/components/analytics/analytics__custom-plugin.js +89 -0
- package/components/auth/auth.d.ts +3 -0
- package/components/auth/auth.js +133 -0
- package/components/auth/auth__core.d.ts +236 -0
- package/components/auth/auth__core.js +1653 -0
- package/components/auth/background-flow.d.ts +31 -0
- package/components/auth/background-flow.js +147 -0
- package/components/auth/down-notification.d.ts +15 -0
- package/components/auth/down-notification.js +157 -0
- package/components/auth/iframe-flow.d.ts +20 -0
- package/components/auth/iframe-flow.js +196 -0
- package/components/auth/request-builder.d.ts +48 -0
- package/components/auth/request-builder.js +104 -0
- package/components/auth/response-parser.d.ts +70 -0
- package/components/auth/response-parser.js +138 -0
- package/components/auth/storage.d.ts +112 -0
- package/components/auth/storage.js +429 -0
- package/components/auth/token-validator.d.ts +93 -0
- package/components/auth/token-validator.js +269 -0
- package/components/auth/window-flow.d.ts +26 -0
- package/components/auth/window-flow.js +154 -0
- package/components/auth-dialog/auth-dialog.d.ts +60 -0
- package/components/auth-dialog/auth-dialog.js +221 -0
- package/components/auth-dialog-service/auth-dialog-service.d.ts +6 -0
- package/components/auth-dialog-service/auth-dialog-service.js +92 -0
- package/components/avatar/avatar-example-datauri.d.ts +1 -0
- package/components/avatar/avatar-example-datauri.js +4 -0
- package/components/avatar/avatar.d.ts +52 -0
- package/components/avatar/avatar.js +183 -0
- package/components/avatar/fallback-avatar.d.ts +17 -0
- package/components/avatar/fallback-avatar.js +151 -0
- package/components/badge/badge.d.ts +24 -0
- package/components/badge/badge.js +59 -0
- package/components/button/button.d.ts +67 -0
- package/components/button/button.js +131 -0
- package/components/button/button__classes.d.ts +2 -0
- package/components/button/button__classes.js +2 -0
- package/components/button-group/button-group.d.ts +18 -0
- package/components/button-group/button-group.js +48 -0
- package/components/button-group/caption.d.ts +8 -0
- package/components/button-group/caption.js +5 -0
- package/components/button-set/button-set.d.ts +16 -0
- package/components/button-set/button-set.js +47 -0
- package/components/button-toolbar/button-toolbar.d.ts +16 -0
- package/components/button-toolbar/button-toolbar.js +46 -0
- package/components/caret/caret.d.ts +66 -0
- package/components/caret/caret.js +259 -0
- package/components/checkbox/checkbox.d.ts +45 -0
- package/components/checkbox/checkbox.js +130 -0
- package/components/clipboard/clipboard-fallback.d.ts +2 -0
- package/components/clipboard/clipboard-fallback.js +42 -0
- package/components/clipboard/clipboard.d.ts +5 -0
- package/components/clipboard/clipboard.js +185 -0
- package/components/code/code.d.ts +44 -0
- package/components/code/code.js +191 -0
- package/components/confirm/confirm.d.ts +48 -0
- package/components/confirm/confirm.js +153 -0
- package/components/confirm-service/confirm-service.d.ts +21 -0
- package/components/confirm-service/confirm-service.js +141 -0
- package/components/content-layout/content-layout.d.ts +26 -0
- package/components/content-layout/content-layout.js +79 -0
- package/components/content-layout/sidebar.d.ts +31 -0
- package/components/content-layout/sidebar.js +7 -0
- package/components/contenteditable/contenteditable.d.ts +47 -0
- package/components/contenteditable/contenteditable.js +84 -0
- package/components/control-label/control-label.d.ts +11 -0
- package/components/control-label/control-label.js +36 -0
- package/components/data-list/data-list.d.ts +85 -0
- package/components/data-list/data-list.js +251 -0
- package/components/data-list/data-list.mock.d.ts +16 -0
- package/components/data-list/data-list.mock.js +192 -0
- package/components/data-list/item.d.ts +50 -0
- package/components/data-list/item.js +235 -0
- package/components/data-list/selection.d.ts +16 -0
- package/components/data-list/selection.js +148 -0
- package/components/data-list/title.d.ts +26 -0
- package/components/data-list/title.js +28 -0
- package/components/date-picker/consts.d.ts +98 -0
- package/components/date-picker/consts.js +46 -0
- package/components/date-picker/date-input.d.ts +47 -0
- package/components/date-picker/date-input.js +177 -0
- package/components/date-picker/date-picker.d.ts +77 -0
- package/components/date-picker/date-picker.js +404 -0
- package/components/date-picker/date-popup.d.ts +55 -0
- package/components/date-picker/date-popup.js +488 -0
- package/components/date-picker/day.d.ts +30 -0
- package/components/date-picker/day.js +133 -0
- package/components/date-picker/formats.d.ts +2 -0
- package/components/date-picker/formats.js +3 -0
- package/components/date-picker/month-names.d.ts +13 -0
- package/components/date-picker/month-names.js +110 -0
- package/components/date-picker/month-slider.d.ts +29 -0
- package/components/date-picker/month-slider.js +93 -0
- package/components/date-picker/month.d.ts +14 -0
- package/components/date-picker/month.js +58 -0
- package/components/date-picker/months.d.ts +11 -0
- package/components/date-picker/months.js +133 -0
- package/components/date-picker/weekdays.d.ts +13 -0
- package/components/date-picker/weekdays.js +39 -0
- package/components/date-picker/years.d.ts +25 -0
- package/components/date-picker/years.js +134 -0
- package/components/dialog/dialog.d.ts +64 -0
- package/components/dialog/dialog.js +240 -0
- package/components/dialog/dialog__body-scroll-preventer.d.ts +9 -0
- package/components/dialog/dialog__body-scroll-preventer.js +6 -0
- package/components/dropdown/anchor.d.ts +11 -0
- package/components/dropdown/anchor.js +24 -0
- package/components/dropdown/dropdown.d.ts +87 -0
- package/components/dropdown/dropdown.js +247 -0
- package/components/dropdown-menu/dropdown-menu.d.ts +36 -0
- package/components/dropdown-menu/dropdown-menu.js +199 -0
- package/components/editable-heading/editable-heading.d.ts +32 -0
- package/components/editable-heading/editable-heading.js +276 -0
- package/components/error-bubble/error-bubble.d.ts +18 -0
- package/components/error-bubble/error-bubble.js +88 -0
- package/components/error-message/error-message.d.ts +27 -0
- package/components/error-message/error-message.js +78 -0
- package/components/footer/footer.d.ts +28 -0
- package/components/footer/footer.js +118 -0
- package/components/global/compose.d.ts +7 -0
- package/components/global/compose.js +17 -0
- package/components/global/composeRefs.d.ts +3 -0
- package/components/global/composeRefs.js +19 -0
- package/components/global/controls-height.d.ts +9 -0
- package/components/global/controls-height.js +19 -0
- package/components/global/create-stateful-context.d.ts +27 -0
- package/components/global/create-stateful-context.js +49 -0
- package/components/global/data-tests.d.ts +3 -0
- package/components/global/data-tests.js +30 -0
- package/components/global/dom.d.ts +37 -0
- package/components/global/dom.js +151 -0
- package/components/global/focus-sensor-hoc.d.ts +19 -0
- package/components/global/focus-sensor-hoc.js +165 -0
- package/components/global/fuzzy-highlight.d.ts +11 -0
- package/components/global/fuzzy-highlight.js +90 -0
- package/components/global/get-event-key.d.ts +2 -0
- package/components/global/get-event-key.js +101 -0
- package/components/global/get-uid.d.ts +1 -0
- package/components/global/get-uid.js +22 -0
- package/components/global/inject-styles.d.ts +3 -0
- package/components/global/inject-styles.js +22 -0
- package/components/global/linear-function.d.ts +6 -0
- package/components/global/linear-function.js +15 -0
- package/components/global/listeners.d.ts +8 -0
- package/components/global/listeners.js +58 -0
- package/components/global/memoize.d.ts +1 -0
- package/components/global/memoize.js +23 -0
- package/components/global/normalize-indent.d.ts +1 -0
- package/components/global/normalize-indent.js +60 -0
- package/components/global/promise-with-timeout.d.ts +5 -0
- package/components/global/promise-with-timeout.js +19 -0
- package/components/global/prop-types.d.ts +4 -0
- package/components/global/prop-types.js +9 -0
- package/components/global/react-dom-renderer.d.ts +16 -0
- package/components/global/react-dom-renderer.js +54 -0
- package/components/global/react-render-adapter.d.ts +1 -0
- package/components/global/react-render-adapter.js +6 -0
- package/components/global/rerender-hoc.d.ts +10 -0
- package/components/global/rerender-hoc.js +46 -0
- package/components/global/schedule-raf.d.ts +1 -0
- package/components/global/schedule-raf.js +28 -0
- package/components/global/sniffer.d.ts +3 -0
- package/components/global/sniffer.js +6 -0
- package/components/global/theme.d.ts +21 -0
- package/components/global/theme.js +42 -0
- package/components/global/trivial-template-tag.d.ts +1 -0
- package/components/global/trivial-template-tag.js +21 -0
- package/components/global/typescript-utils.d.ts +2 -0
- package/components/global/typescript-utils.js +8 -0
- package/components/global/url.d.ts +57 -0
- package/components/global/url.js +142 -0
- package/components/global/use-event-callback.d.ts +1 -0
- package/components/global/use-event-callback.js +17 -0
- package/components/global/variables.d.ts +89 -0
- package/components/global/variables.js +1 -0
- package/components/grid/col.d.ts +31 -0
- package/components/grid/col.js +80 -0
- package/components/grid/grid.d.ts +14 -0
- package/components/grid/grid.js +46 -0
- package/components/grid/row.d.ts +40 -0
- package/components/grid/row.js +75 -0
- package/components/group/group.d.ts +12 -0
- package/components/group/group.js +39 -0
- package/components/header/header.d.ts +34 -0
- package/components/header/header.js +189 -0
- package/components/header/logo.d.ts +14 -0
- package/components/header/logo.js +51 -0
- package/components/header/profile.d.ts +75 -0
- package/components/header/profile.js +258 -0
- package/components/header/services-link.d.ts +25 -0
- package/components/header/services-link.js +13 -0
- package/components/header/services.d.ts +33 -0
- package/components/header/services.js +174 -0
- package/components/header/smart-profile.d.ts +36 -0
- package/components/header/smart-profile.js +303 -0
- package/components/header/smart-services.d.ts +26 -0
- package/components/header/smart-services.js +192 -0
- package/components/header/tray-icon.d.ts +32 -0
- package/components/header/tray-icon.js +57 -0
- package/components/header/tray.d.ts +9 -0
- package/components/header/tray.js +41 -0
- package/components/heading/heading.d.ts +25 -0
- package/components/heading/heading.js +69 -0
- package/components/http/http.d.ts +61 -0
- package/components/http/http.js +386 -0
- package/components/http/http.mock.d.ts +20 -0
- package/components/http/http.mock.js +113 -0
- package/components/hub-source/hub-source.d.ts +44 -0
- package/components/hub-source/hub-source.js +217 -0
- package/components/hub-source/hub-source__user.d.ts +4 -0
- package/components/hub-source/hub-source__user.js +60 -0
- package/components/hub-source/hub-source__users-groups.d.ts +24 -0
- package/components/hub-source/hub-source__users-groups.js +86 -0
- package/components/i18n/i18n-context.d.ts +13 -0
- package/components/i18n/i18n-context.js +27 -0
- package/components/i18n/i18n.d.ts +59 -0
- package/components/i18n/i18n.js +139 -0
- package/components/icon/icon.d.ts +43 -0
- package/components/icon/icon.js +109 -0
- package/components/icon/icon__constants.d.ts +30 -0
- package/components/icon/icon__constants.js +34 -0
- package/components/icon/icon__svg.d.ts +15 -0
- package/components/icon/icon__svg.js +14 -0
- package/components/icon/index.d.ts +2 -0
- package/components/icon/index.js +17 -0
- package/components/input/input.d.ts +77 -0
- package/components/input/input.js +35 -0
- package/components/island/adaptive-island-hoc.d.ts +61 -0
- package/components/island/adaptive-island-hoc.js +53 -0
- package/components/island/content.d.ts +43 -0
- package/components/island/content.js +151 -0
- package/components/island/header.d.ts +8 -0
- package/components/island/header.js +100 -0
- package/components/island/island.d.ts +78 -0
- package/components/island/island.js +60 -0
- package/components/island-legacy/content-legacy.d.ts +10 -0
- package/components/island-legacy/content-legacy.js +34 -0
- package/components/island-legacy/header-legacy.d.ts +10 -0
- package/components/island-legacy/header-legacy.js +36 -0
- package/components/island-legacy/island-legacy.d.ts +12 -0
- package/components/island-legacy/island-legacy.js +36 -0
- package/components/link/clickableLink.d.ts +20 -0
- package/components/link/clickableLink.js +69 -0
- package/components/link/link.d.ts +138 -0
- package/components/link/link.js +86 -0
- package/components/list/consts.d.ts +77 -0
- package/components/list/consts.js +27 -0
- package/components/list/list.d.ts +205 -0
- package/components/list/list.js +802 -0
- package/components/list/list__custom.d.ts +6 -0
- package/components/list/list__custom.js +92 -0
- package/components/list/list__hint.d.ts +15 -0
- package/components/list/list__hint.js +33 -0
- package/components/list/list__item.d.ts +8 -0
- package/components/list/list__item.js +237 -0
- package/components/list/list__link.d.ts +9 -0
- package/components/list/list__link.js +76 -0
- package/components/list/list__separator.d.ts +5 -0
- package/components/list/list__separator.js +39 -0
- package/components/list/list__title.d.ts +5 -0
- package/components/list/list__title.js +48 -0
- package/components/list/list__users-groups-source.d.ts +27 -0
- package/components/list/list__users-groups-source.js +195 -0
- package/components/loader/loader.d.ts +28 -0
- package/components/loader/loader.js +93 -0
- package/components/loader/loader__core.d.ts +75 -0
- package/components/loader/loader__core.js +327 -0
- package/components/loader-inline/loader-inline.d.ts +18 -0
- package/components/loader-inline/loader-inline.js +50 -0
- package/components/loader-screen/loader-screen.d.ts +17 -0
- package/components/loader-screen/loader-screen.js +64 -0
- package/components/login-dialog/login-dialog.d.ts +47 -0
- package/components/login-dialog/login-dialog.js +216 -0
- package/components/login-dialog/service.d.ts +2 -0
- package/components/login-dialog/service.js +98 -0
- package/components/markdown/markdown.d.ts +12 -0
- package/components/markdown/markdown.js +43 -0
- package/components/message/message.d.ts +55 -0
- package/components/message/message.js +267 -0
- package/components/old-browsers-message/old-browsers-message.d.ts +2 -0
- package/components/old-browsers-message/old-browsers-message.js +92 -0
- package/components/old-browsers-message/old-browsers-message__stop.d.ts +1 -0
- package/components/old-browsers-message/old-browsers-message__stop.js +11 -0
- package/components/old-browsers-message/white-list.d.ts +2 -0
- package/components/old-browsers-message/white-list.js +37 -0
- package/components/pager/pager.d.ts +78 -0
- package/components/pager/pager.js +390 -0
- package/components/panel/panel.d.ts +12 -0
- package/components/panel/panel.js +39 -0
- package/components/permissions/permissions.d.ts +111 -0
- package/components/permissions/permissions.js +221 -0
- package/components/permissions/permissions__cache.d.ts +93 -0
- package/components/permissions/permissions__cache.js +257 -0
- package/components/popup/popup.consts.d.ts +37 -0
- package/components/popup/popup.consts.js +44 -0
- package/components/popup/popup.d.ts +147 -0
- package/components/popup/popup.js +424 -0
- package/components/popup/popup.target.d.ts +7 -0
- package/components/popup/popup.target.js +24 -0
- package/components/popup/position.d.ts +30 -0
- package/components/popup/position.js +271 -0
- package/components/popup-menu/popup-menu.d.ts +80 -0
- package/components/popup-menu/popup-menu.js +141 -0
- package/components/progress-bar/progress-bar.d.ts +64 -0
- package/components/progress-bar/progress-bar.js +120 -0
- package/components/query-assist/query-assist.d.ts +306 -0
- package/components/query-assist/query-assist.js +1098 -0
- package/components/query-assist/query-assist__suggestions.d.ts +29 -0
- package/components/query-assist/query-assist__suggestions.js +75 -0
- package/components/radio/radio.d.ts +18 -0
- package/components/radio/radio.js +48 -0
- package/components/radio/radio__item.d.ts +28 -0
- package/components/radio/radio__item.js +88 -0
- package/components/select/select.d.ts +276 -0
- package/components/select/select.js +1310 -0
- package/components/select/select__filter.d.ts +19 -0
- package/components/select/select__filter.js +85 -0
- package/components/select/select__popup.d.ts +166 -0
- package/components/select/select__popup.js +631 -0
- package/components/shortcuts/core.d.ts +74 -0
- package/components/shortcuts/core.js +249 -0
- package/components/shortcuts/shortcut-title.d.ts +1 -0
- package/components/shortcuts/shortcut-title.js +56 -0
- package/components/shortcuts/shortcuts-hoc.d.ts +65 -0
- package/components/shortcuts/shortcuts-hoc.js +61 -0
- package/components/shortcuts/shortcuts.d.ts +28 -0
- package/components/shortcuts/shortcuts.js +92 -0
- package/components/storage/storage.d.ts +18 -0
- package/components/storage/storage.js +92 -0
- package/components/storage/storage__fallback.d.ts +79 -0
- package/components/storage/storage__fallback.js +254 -0
- package/components/storage/storage__local.d.ts +38 -0
- package/components/storage/storage__local.js +217 -0
- package/components/style.css +1 -0
- package/components/tab-trap/tab-trap.d.ts +43 -0
- package/components/tab-trap/tab-trap.js +180 -0
- package/components/table/cell.d.ts +13 -0
- package/components/table/cell.js +37 -0
- package/components/table/disable-hover-hoc.d.ts +64 -0
- package/components/table/disable-hover-hoc.js +62 -0
- package/components/table/header-cell.d.ts +43 -0
- package/components/table/header-cell.js +109 -0
- package/components/table/header.d.ts +56 -0
- package/components/table/header.js +151 -0
- package/components/table/multitable.d.ts +25 -0
- package/components/table/multitable.js +140 -0
- package/components/table/row-with-focus-sensor.d.ts +18 -0
- package/components/table/row-with-focus-sensor.js +117 -0
- package/components/table/row.d.ts +59 -0
- package/components/table/row.js +299 -0
- package/components/table/selection-adapter.d.ts +5 -0
- package/components/table/selection-adapter.js +14 -0
- package/components/table/selection-shortcuts-hoc.d.ts +17 -0
- package/components/table/selection-shortcuts-hoc.js +205 -0
- package/components/table/selection.d.ts +47 -0
- package/components/table/selection.js +257 -0
- package/components/table/smart-table.d.ts +64 -0
- package/components/table/smart-table.js +149 -0
- package/components/table/table.d.ts +159 -0
- package/components/table/table.js +463 -0
- package/components/tabs/collapsible-more.d.ts +29 -0
- package/components/tabs/collapsible-more.js +222 -0
- package/components/tabs/collapsible-tab.d.ts +16 -0
- package/components/tabs/collapsible-tab.js +88 -0
- package/components/tabs/collapsible-tabs.d.ts +43 -0
- package/components/tabs/collapsible-tabs.js +354 -0
- package/components/tabs/custom-item.d.ts +9 -0
- package/components/tabs/custom-item.js +11 -0
- package/components/tabs/dumb-tabs.d.ts +35 -0
- package/components/tabs/dumb-tabs.js +189 -0
- package/components/tabs/smart-tabs.d.ts +20 -0
- package/components/tabs/smart-tabs.js +141 -0
- package/components/tabs/tab-link.d.ts +18 -0
- package/components/tabs/tab-link.js +13 -0
- package/components/tabs/tab.d.ts +27 -0
- package/components/tabs/tab.js +41 -0
- package/components/tabs/tabs.d.ts +7 -0
- package/components/tabs/tabs.js +99 -0
- package/components/tag/tag.d.ts +64 -0
- package/components/tag/tag.js +213 -0
- package/components/tags-input/tags-input.d.ts +138 -0
- package/components/tags-input/tags-input.js +534 -0
- package/components/tags-list/tags-list.d.ts +46 -0
- package/components/tags-list/tags-list.js +102 -0
- package/components/text/text.d.ts +23 -0
- package/components/text/text.js +57 -0
- package/components/toggle/toggle.d.ts +39 -0
- package/components/toggle/toggle.js +86 -0
- package/components/tooltip/tooltip.d.ts +65 -0
- package/components/tooltip/tooltip.js +229 -0
- package/components/user-agreement/service.d.ts +69 -0
- package/components/user-agreement/service.js +487 -0
- package/components/user-agreement/toolbox.eula.d.ts +2 -0
- package/components/user-agreement/toolbox.eula.js +3 -0
- package/components/user-agreement/user-agreement.d.ts +60 -0
- package/components/user-agreement/user-agreement.js +172 -0
- package/components/user-card/card.d.ts +70 -0
- package/components/user-card/card.js +80 -0
- package/components/user-card/smart-user-card-tooltip.d.ts +20 -0
- package/components/user-card/smart-user-card-tooltip.js +172 -0
- package/components/user-card/tooltip.d.ts +36 -0
- package/components/user-card/tooltip.js +144 -0
- package/components/user-card/user-card.d.ts +11 -0
- package/components/user-card/user-card.js +85 -0
- package/package.json +118 -0
- package/typings.d.ts +43 -0
@@ -0,0 +1,327 @@
|
|
1
|
+
import { _ as _defineProperty, d as _createClass, c as _classCallCheck } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
|
+
import 'core-js/modules/es.array.concat.js';
|
3
|
+
import 'core-js/modules/es.array.fill.js';
|
4
|
+
import 'core-js/modules/es.object.assign.js';
|
5
|
+
import 'core-js/modules/es.regexp.exec.js';
|
6
|
+
import 'core-js/modules/es.object.to-string.js';
|
7
|
+
import 'core-js/modules/web.dom-collections.for-each.js';
|
8
|
+
import 'core-js/modules/es.array.filter.js';
|
9
|
+
import { getPixelRatio } from '../global/dom.js';
|
10
|
+
import 'core-js/modules/es.string.split.js';
|
11
|
+
import 'core-js/modules/es.object.entries.js';
|
12
|
+
import 'core-js/modules/es.array.iterator.js';
|
13
|
+
import 'core-js/modules/es.set.js';
|
14
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
15
|
+
|
16
|
+
var modules_00b5ad26 = {"light":"light_rui_2ac4","canvas":"canvas_rui_47a4","animate":"animate_rui_47a4","rotation-keyframes":"rotation-keyframes_rui_47a4","text":"text_rui_47a4"};
|
17
|
+
|
18
|
+
var INITIAL_TICKS = 100;
|
19
|
+
var Particle = /*#__PURE__*/function () {
|
20
|
+
function Particle(_ref) {
|
21
|
+
var x = _ref.x,
|
22
|
+
y = _ref.y,
|
23
|
+
radius = _ref.radius,
|
24
|
+
color = _ref.color;
|
25
|
+
_classCallCheck(this, Particle);
|
26
|
+
_defineProperty(this, "radius", void 0);
|
27
|
+
_defineProperty(this, "x", void 0);
|
28
|
+
_defineProperty(this, "y", void 0);
|
29
|
+
_defineProperty(this, "color", void 0);
|
30
|
+
_defineProperty(this, "decay", void 0);
|
31
|
+
_defineProperty(this, "life", void 0);
|
32
|
+
this.radius = radius;
|
33
|
+
this.x = x;
|
34
|
+
this.y = y;
|
35
|
+
this.color = color;
|
36
|
+
this.decay = 0.01;
|
37
|
+
this.life = 1;
|
38
|
+
}
|
39
|
+
_createClass(Particle, [{
|
40
|
+
key: "step",
|
41
|
+
value: function step() {
|
42
|
+
this.life -= this.decay;
|
43
|
+
}
|
44
|
+
}, {
|
45
|
+
key: "isAlive",
|
46
|
+
value: function isAlive() {
|
47
|
+
return this.life >= 0;
|
48
|
+
}
|
49
|
+
}, {
|
50
|
+
key: "draw",
|
51
|
+
value: function draw(ctx) {
|
52
|
+
var alpha = this.life >= 0 ? this.life : 0;
|
53
|
+
ctx.fillStyle = "rgba(".concat(this.color.r, ", ").concat(this.color.g, ", ").concat(this.color.b, ", ").concat(alpha, ")");
|
54
|
+
ctx.beginPath();
|
55
|
+
ctx.arc(this.x + this.radius, this.y + this.radius, this.radius, 0, Math.PI * 2);
|
56
|
+
ctx.fill();
|
57
|
+
}
|
58
|
+
}]);
|
59
|
+
return Particle;
|
60
|
+
}();
|
61
|
+
var DETERMINISTIC_VALUE = 0.5;
|
62
|
+
function deterministic() {
|
63
|
+
return DETERMINISTIC_VALUE;
|
64
|
+
}
|
65
|
+
var LoaderCore = /*#__PURE__*/function () {
|
66
|
+
function LoaderCore(containerNode, props) {
|
67
|
+
var _this$ctx;
|
68
|
+
_classCallCheck(this, LoaderCore);
|
69
|
+
_defineProperty(this, "props", void 0);
|
70
|
+
_defineProperty(this, "canvas", void 0);
|
71
|
+
_defineProperty(this, "textNode", void 0);
|
72
|
+
_defineProperty(this, "ctx", void 0);
|
73
|
+
_defineProperty(this, "height", void 0);
|
74
|
+
_defineProperty(this, "width", void 0);
|
75
|
+
_defineProperty(this, "particles", void 0);
|
76
|
+
_defineProperty(this, "baseSpeed", void 0);
|
77
|
+
_defineProperty(this, "colorIndex", void 0);
|
78
|
+
_defineProperty(this, "maxRadius", void 0);
|
79
|
+
_defineProperty(this, "minRadius", void 0);
|
80
|
+
_defineProperty(this, "colorChangeTick", void 0);
|
81
|
+
_defineProperty(this, "x", void 0);
|
82
|
+
_defineProperty(this, "y", void 0);
|
83
|
+
_defineProperty(this, "radius", void 0);
|
84
|
+
_defineProperty(this, "hSpeed", void 0);
|
85
|
+
_defineProperty(this, "vSpeed", void 0);
|
86
|
+
_defineProperty(this, "radiusSpeed", void 0);
|
87
|
+
_defineProperty(this, "tick", void 0);
|
88
|
+
_defineProperty(this, "isRunning", void 0);
|
89
|
+
this.props = Object.assign({}, LoaderCore.defaultProps, props);
|
90
|
+
this.canvas = document.createElement('canvas');
|
91
|
+
this.canvas.dataset.test = 'ring-loader';
|
92
|
+
this.canvas.classList.add(modules_00b5ad26.canvas);
|
93
|
+
this.textNode = document.createElement('div');
|
94
|
+
this.textNode.dataset.test = 'ring-loader-text';
|
95
|
+
this.textNode.classList.add(modules_00b5ad26.text);
|
96
|
+
this.textNode.textContent = this.props.message ? this.props.message : '';
|
97
|
+
containerNode.appendChild(this.canvas);
|
98
|
+
containerNode.appendChild(this.textNode);
|
99
|
+
var pixelRatio = LoaderCore.getPixelRatio();
|
100
|
+
var canvasSize = this.props.size * pixelRatio;
|
101
|
+
this.canvas.width = canvasSize;
|
102
|
+
this.canvas.height = canvasSize;
|
103
|
+
//Fixate canvas physical size to avoid real size scaling
|
104
|
+
this.canvas.style.width = "".concat(this.props.size, "px");
|
105
|
+
this.canvas.style.height = "".concat(this.props.size, "px");
|
106
|
+
this.ctx = this.canvas.getContext('2d');
|
107
|
+
(_this$ctx = this.ctx) === null || _this$ctx === void 0 || _this$ctx.scale(pixelRatio, pixelRatio);
|
108
|
+
this.height = this.props.size;
|
109
|
+
this.width = this.props.size;
|
110
|
+
this.particles = [];
|
111
|
+
//Configuration
|
112
|
+
this.baseSpeed = 1.0;
|
113
|
+
this.colorIndex = 0;
|
114
|
+
this.maxRadius = 10;
|
115
|
+
this.minRadius = 6;
|
116
|
+
this.colorChangeTick = 40;
|
117
|
+
//State
|
118
|
+
this.x = 0;
|
119
|
+
this.y = 0;
|
120
|
+
this.radius = 8;
|
121
|
+
this.hSpeed = 1.5;
|
122
|
+
this.vSpeed = 0.5;
|
123
|
+
this.radiusSpeed = 0.05;
|
124
|
+
this.tick = 0;
|
125
|
+
this.prepareInitialState(INITIAL_TICKS);
|
126
|
+
this.isRunning = !this.props.stop;
|
127
|
+
if (this.isRunning) {
|
128
|
+
this.startAnimation();
|
129
|
+
} else {
|
130
|
+
this.draw();
|
131
|
+
}
|
132
|
+
}
|
133
|
+
_createClass(LoaderCore, [{
|
134
|
+
key: "prepareInitialState",
|
135
|
+
value: function prepareInitialState(ticks) {
|
136
|
+
for (var i = 0; i < ticks; i++) {
|
137
|
+
this.step();
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}, {
|
141
|
+
key: "handleLimits",
|
142
|
+
value: function handleLimits(coord, radius, speed, limit) {
|
143
|
+
var randomFunc = this.props.deterministic ? deterministic : Math.random;
|
144
|
+
var randomizedSpeedChange = randomFunc() - this.baseSpeed / 2;
|
145
|
+
if (coord + radius * 2 + this.baseSpeed >= limit) {
|
146
|
+
return -(this.baseSpeed + randomizedSpeedChange);
|
147
|
+
} else if (coord <= this.baseSpeed) {
|
148
|
+
return this.baseSpeed + randomizedSpeedChange;
|
149
|
+
}
|
150
|
+
return speed;
|
151
|
+
}
|
152
|
+
}, {
|
153
|
+
key: "calculateNextCoordinates",
|
154
|
+
value: function calculateNextCoordinates() {
|
155
|
+
this.x += this.hSpeed;
|
156
|
+
this.y += this.vSpeed;
|
157
|
+
this.hSpeed = this.handleLimits(this.x, this.radius, this.hSpeed, this.width);
|
158
|
+
this.vSpeed = this.handleLimits(this.y, this.radius, this.vSpeed, this.height);
|
159
|
+
}
|
160
|
+
}, {
|
161
|
+
key: "calculateNextRadius",
|
162
|
+
value: function calculateNextRadius() {
|
163
|
+
this.radius += this.radiusSpeed;
|
164
|
+
if (this.radius > this.maxRadius || this.radius < this.minRadius) {
|
165
|
+
this.radiusSpeed = -this.radiusSpeed;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}, {
|
169
|
+
key: "getNextColor",
|
170
|
+
value: function getNextColor() {
|
171
|
+
var colors = this.props.colors;
|
172
|
+
var currentColor = colors[this.colorIndex];
|
173
|
+
var nextColor = colors[this.colorIndex + 1] || colors[0];
|
174
|
+
return LoaderCore.calculateGradient(currentColor, nextColor, this.tick / this.colorChangeTick);
|
175
|
+
}
|
176
|
+
}, {
|
177
|
+
key: "nextTick",
|
178
|
+
value: function nextTick() {
|
179
|
+
this.tick++;
|
180
|
+
if (this.tick > this.colorChangeTick) {
|
181
|
+
this.tick = 0;
|
182
|
+
this.colorIndex++;
|
183
|
+
if (this.colorIndex > this.props.colors.length - 1) {
|
184
|
+
this.colorIndex = 0;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}, {
|
189
|
+
key: "step",
|
190
|
+
value: function step() {
|
191
|
+
this.nextTick();
|
192
|
+
this.calculateNextCoordinates();
|
193
|
+
this.calculateNextRadius();
|
194
|
+
this.particles.forEach(function (particle) {
|
195
|
+
return particle.step();
|
196
|
+
});
|
197
|
+
this.particles.push(new Particle({
|
198
|
+
x: this.x,
|
199
|
+
y: this.y,
|
200
|
+
radius: this.radius,
|
201
|
+
color: this.getNextColor()
|
202
|
+
}));
|
203
|
+
}
|
204
|
+
}, {
|
205
|
+
key: "removeDeadParticles",
|
206
|
+
value: function removeDeadParticles() {
|
207
|
+
this.particles = this.particles.filter(function (it) {
|
208
|
+
return it.isAlive();
|
209
|
+
});
|
210
|
+
}
|
211
|
+
}, {
|
212
|
+
key: "draw",
|
213
|
+
value: function draw() {
|
214
|
+
var ctx = this.ctx;
|
215
|
+
if (ctx == null) {
|
216
|
+
return;
|
217
|
+
}
|
218
|
+
ctx.clearRect(0, 0, this.width, this.height);
|
219
|
+
this.removeDeadParticles();
|
220
|
+
this.particles.forEach(function (particle) {
|
221
|
+
return particle.draw(ctx);
|
222
|
+
});
|
223
|
+
}
|
224
|
+
}, {
|
225
|
+
key: "loop",
|
226
|
+
value: function loop() {
|
227
|
+
var _this = this;
|
228
|
+
this.step();
|
229
|
+
this.draw();
|
230
|
+
if (this.isRunning) {
|
231
|
+
window.requestAnimationFrame(function () {
|
232
|
+
return _this.loop();
|
233
|
+
});
|
234
|
+
}
|
235
|
+
}
|
236
|
+
}, {
|
237
|
+
key: "updateMessage",
|
238
|
+
value: function updateMessage(text) {
|
239
|
+
this.textNode.textContent = text || '';
|
240
|
+
}
|
241
|
+
}, {
|
242
|
+
key: "stopAnimation",
|
243
|
+
value: function stopAnimation() {
|
244
|
+
this.isRunning = false;
|
245
|
+
this.canvas.classList.remove(modules_00b5ad26.animate);
|
246
|
+
}
|
247
|
+
}, {
|
248
|
+
key: "startAnimation",
|
249
|
+
value: function startAnimation() {
|
250
|
+
this.isRunning = true;
|
251
|
+
this.canvas.classList.add(modules_00b5ad26.animate);
|
252
|
+
this.loop();
|
253
|
+
}
|
254
|
+
}, {
|
255
|
+
key: "destroy",
|
256
|
+
value: function destroy() {
|
257
|
+
this.isRunning = false;
|
258
|
+
}
|
259
|
+
}], [{
|
260
|
+
key: "calculateGradient",
|
261
|
+
value: function calculateGradient(startColor, stopColor, position) {
|
262
|
+
var calculateChannelValue = function calculateChannelValue(a, b) {
|
263
|
+
return a + Math.round((b - a) * position);
|
264
|
+
};
|
265
|
+
return {
|
266
|
+
r: calculateChannelValue(startColor.r, stopColor.r),
|
267
|
+
g: calculateChannelValue(startColor.g, stopColor.g),
|
268
|
+
b: calculateChannelValue(startColor.b, stopColor.b)
|
269
|
+
};
|
270
|
+
}
|
271
|
+
}, {
|
272
|
+
key: "getPixelRatio",
|
273
|
+
value: function getPixelRatio$1() {
|
274
|
+
return getPixelRatio();
|
275
|
+
}
|
276
|
+
}]);
|
277
|
+
return LoaderCore;
|
278
|
+
}();
|
279
|
+
_defineProperty(LoaderCore, "defaultProps", {
|
280
|
+
size: 64,
|
281
|
+
stop: false,
|
282
|
+
deterministic: false,
|
283
|
+
colors: [{
|
284
|
+
r: 215,
|
285
|
+
g: 60,
|
286
|
+
b: 234
|
287
|
+
},
|
288
|
+
//#D73CEA
|
289
|
+
{
|
290
|
+
r: 145,
|
291
|
+
g: 53,
|
292
|
+
b: 224
|
293
|
+
},
|
294
|
+
//#9135E0
|
295
|
+
{
|
296
|
+
r: 88,
|
297
|
+
g: 72,
|
298
|
+
b: 224
|
299
|
+
},
|
300
|
+
//#5848F4
|
301
|
+
{
|
302
|
+
r: 37,
|
303
|
+
g: 183,
|
304
|
+
b: 255
|
305
|
+
},
|
306
|
+
//#25B7FF
|
307
|
+
{
|
308
|
+
r: 89,
|
309
|
+
g: 189,
|
310
|
+
b: 0
|
311
|
+
},
|
312
|
+
//#59BD00
|
313
|
+
{
|
314
|
+
r: 251,
|
315
|
+
g: 172,
|
316
|
+
b: 2
|
317
|
+
},
|
318
|
+
//#FBAC02
|
319
|
+
{
|
320
|
+
r: 227,
|
321
|
+
g: 37,
|
322
|
+
b: 129
|
323
|
+
} //#E32581
|
324
|
+
]
|
325
|
+
});
|
326
|
+
|
327
|
+
export { LoaderCore as default };
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import React, { HTMLAttributes, PureComponent } from 'react';
|
2
|
+
import PropTypes from 'prop-types';
|
3
|
+
export interface LoaderInlineProps extends HTMLAttributes<HTMLDivElement> {
|
4
|
+
'data-test'?: string | null | undefined;
|
5
|
+
}
|
6
|
+
/**
|
7
|
+
* @name Loader Inline
|
8
|
+
*/
|
9
|
+
declare class LoaderInline extends PureComponent<LoaderInlineProps> {
|
10
|
+
static propTypes: {
|
11
|
+
className: PropTypes.Requireable<string>;
|
12
|
+
'data-test': PropTypes.Requireable<string>;
|
13
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
14
|
+
};
|
15
|
+
render(): React.JSX.Element;
|
16
|
+
}
|
17
|
+
export type LoaderInlineAtrrs = JSX.LibraryManagedAttributes<typeof LoaderInline, LoaderInlineProps>;
|
18
|
+
export default LoaderInline;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
|
+
import React, { PureComponent } from 'react';
|
3
|
+
import classNames from 'classnames';
|
4
|
+
import PropTypes from 'prop-types';
|
5
|
+
import joinDataTestAttributes from '../global/data-tests.js';
|
6
|
+
import 'core-js/modules/es.array.reduce.js';
|
7
|
+
import 'core-js/modules/es.object.to-string.js';
|
8
|
+
import 'core-js/modules/es.object.entries.js';
|
9
|
+
import 'core-js/modules/es.array.concat.js';
|
10
|
+
|
11
|
+
var modules_e49a3529 = {"dark":"dark_rui_eb55","light":"light_rui_2ac4","loader":"loader_rui_e6f2","spin":"spin_rui_e6f2","pulse":"pulse_rui_e6f2","children":"children_rui_e6f2"};
|
12
|
+
|
13
|
+
var _excluded = ["className", "data-test", "children"];
|
14
|
+
/**
|
15
|
+
* @name Loader Inline
|
16
|
+
*/
|
17
|
+
var LoaderInline = /*#__PURE__*/function (_PureComponent) {
|
18
|
+
_inherits(LoaderInline, _PureComponent);
|
19
|
+
var _super = _createSuper(LoaderInline);
|
20
|
+
function LoaderInline() {
|
21
|
+
_classCallCheck(this, LoaderInline);
|
22
|
+
return _super.apply(this, arguments);
|
23
|
+
}
|
24
|
+
_createClass(LoaderInline, [{
|
25
|
+
key: "render",
|
26
|
+
value: function render() {
|
27
|
+
var _this$props = this.props,
|
28
|
+
className = _this$props.className,
|
29
|
+
dataTest = _this$props['data-test'],
|
30
|
+
children = _this$props.children,
|
31
|
+
restProps = _objectWithoutProperties(_this$props, _excluded);
|
32
|
+
var classes = classNames(modules_e49a3529.loader, className);
|
33
|
+
var loader = /*#__PURE__*/React.createElement("div", _extends({}, restProps, {
|
34
|
+
"data-test": joinDataTestAttributes('ring-loader-inline', dataTest),
|
35
|
+
className: classes
|
36
|
+
}));
|
37
|
+
return children ? /*#__PURE__*/React.createElement(React.Fragment, null, loader, /*#__PURE__*/React.createElement("span", {
|
38
|
+
className: modules_e49a3529.children
|
39
|
+
}, children)) : loader;
|
40
|
+
}
|
41
|
+
}]);
|
42
|
+
return LoaderInline;
|
43
|
+
}(PureComponent);
|
44
|
+
_defineProperty(LoaderInline, "propTypes", {
|
45
|
+
className: PropTypes.string,
|
46
|
+
'data-test': PropTypes.string,
|
47
|
+
children: PropTypes.node
|
48
|
+
});
|
49
|
+
|
50
|
+
export { LoaderInline as default };
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import React, { PureComponent } from 'react';
|
2
|
+
import PropTypes from 'prop-types';
|
3
|
+
import { LoaderProps } from '../loader/loader';
|
4
|
+
export interface LoaderScreenProps extends LoaderProps {
|
5
|
+
containerClassName?: string | null | undefined;
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* @name Loader Screen
|
9
|
+
*/
|
10
|
+
export default class LoaderScreen extends PureComponent<LoaderScreenProps> {
|
11
|
+
static propTypes: {
|
12
|
+
className: PropTypes.Requireable<string>;
|
13
|
+
containerClassName: PropTypes.Requireable<string>;
|
14
|
+
message: PropTypes.Requireable<string>;
|
15
|
+
};
|
16
|
+
render(): React.JSX.Element;
|
17
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
|
+
import React, { PureComponent } from 'react';
|
3
|
+
import classNames from 'classnames';
|
4
|
+
import PropTypes from 'prop-types';
|
5
|
+
import Loader from '../loader/loader.js';
|
6
|
+
import 'core-js/modules/es.array.concat.js';
|
7
|
+
import '../global/data-tests.js';
|
8
|
+
import 'core-js/modules/es.array.reduce.js';
|
9
|
+
import 'core-js/modules/es.object.to-string.js';
|
10
|
+
import 'core-js/modules/es.object.entries.js';
|
11
|
+
import '../loader/loader__core.js';
|
12
|
+
import 'core-js/modules/es.array.fill.js';
|
13
|
+
import 'core-js/modules/es.object.assign.js';
|
14
|
+
import 'core-js/modules/es.regexp.exec.js';
|
15
|
+
import 'core-js/modules/web.dom-collections.for-each.js';
|
16
|
+
import 'core-js/modules/es.array.filter.js';
|
17
|
+
import '../global/dom.js';
|
18
|
+
import 'core-js/modules/es.string.split.js';
|
19
|
+
import 'core-js/modules/es.array.iterator.js';
|
20
|
+
import 'core-js/modules/es.set.js';
|
21
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
22
|
+
|
23
|
+
var modules_122a82e9 = {"light":"light_rui_2ac4","loaderScreen":"loaderScreen_rui_c963","loader":"loader_rui_c963","loaderWithoutSpacing":"loaderWithoutSpacing_rui_c963"};
|
24
|
+
|
25
|
+
var _excluded = ["message", "className", "containerClassName"];
|
26
|
+
/**
|
27
|
+
* @name Loader Screen
|
28
|
+
*/
|
29
|
+
var LoaderScreen = /*#__PURE__*/function (_PureComponent) {
|
30
|
+
_inherits(LoaderScreen, _PureComponent);
|
31
|
+
var _super = _createSuper(LoaderScreen);
|
32
|
+
function LoaderScreen() {
|
33
|
+
_classCallCheck(this, LoaderScreen);
|
34
|
+
return _super.apply(this, arguments);
|
35
|
+
}
|
36
|
+
_createClass(LoaderScreen, [{
|
37
|
+
key: "render",
|
38
|
+
value: function render() {
|
39
|
+
var _this$props = this.props,
|
40
|
+
message = _this$props.message,
|
41
|
+
className = _this$props.className,
|
42
|
+
containerClassName = _this$props.containerClassName,
|
43
|
+
restProps = _objectWithoutProperties(_this$props, _excluded);
|
44
|
+
var containerClasses = classNames(containerClassName, modules_122a82e9.loaderScreen);
|
45
|
+
var loaderClasses = classNames(className, modules_122a82e9.loader, {
|
46
|
+
[modules_122a82e9.loaderWithoutSpacing]: !message
|
47
|
+
});
|
48
|
+
return /*#__PURE__*/React.createElement("div", {
|
49
|
+
className: containerClasses
|
50
|
+
}, /*#__PURE__*/React.createElement(Loader, _extends({}, restProps, {
|
51
|
+
message: message,
|
52
|
+
className: loaderClasses
|
53
|
+
})));
|
54
|
+
}
|
55
|
+
}]);
|
56
|
+
return LoaderScreen;
|
57
|
+
}(PureComponent);
|
58
|
+
_defineProperty(LoaderScreen, "propTypes", {
|
59
|
+
className: PropTypes.string,
|
60
|
+
containerClassName: PropTypes.string,
|
61
|
+
message: PropTypes.string
|
62
|
+
});
|
63
|
+
|
64
|
+
export { LoaderScreen as default };
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import React, { Component, ReactNode } from 'react';
|
2
|
+
import PropTypes from 'prop-types';
|
3
|
+
export interface LoginDialogProps {
|
4
|
+
onCancel: () => void;
|
5
|
+
show: boolean;
|
6
|
+
url: string;
|
7
|
+
renderFallbackLink: (loggingIn: boolean) => ReactNode;
|
8
|
+
showFallbackTimeout: number;
|
9
|
+
className?: string | undefined;
|
10
|
+
loader?: boolean | null | undefined;
|
11
|
+
loadingMessage?: string | null | undefined;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* @name Login Dialog
|
15
|
+
*/
|
16
|
+
export default class LoginDialog extends Component<LoginDialogProps> {
|
17
|
+
static propTypes: {
|
18
|
+
show: PropTypes.Requireable<boolean>;
|
19
|
+
className: PropTypes.Requireable<string>;
|
20
|
+
url: PropTypes.Requireable<string>;
|
21
|
+
loader: PropTypes.Requireable<boolean>;
|
22
|
+
loadingMessage: PropTypes.Requireable<string>;
|
23
|
+
showFallbackTimeout: PropTypes.Requireable<number>;
|
24
|
+
renderFallbackLink: PropTypes.Requireable<(...args: any[]) => any>;
|
25
|
+
onCancel: PropTypes.Validator<(...args: any[]) => any>;
|
26
|
+
};
|
27
|
+
static defaultProps: {
|
28
|
+
show: boolean;
|
29
|
+
url: string;
|
30
|
+
renderFallbackLink: () => null;
|
31
|
+
showFallbackTimeout: number;
|
32
|
+
};
|
33
|
+
state: {
|
34
|
+
loading: boolean;
|
35
|
+
loggingIn: boolean;
|
36
|
+
showFallbackLink: boolean;
|
37
|
+
height: number;
|
38
|
+
width: number;
|
39
|
+
};
|
40
|
+
componentDidMount(): void;
|
41
|
+
componentWillUnmount(): void;
|
42
|
+
showFallbackTimout?: number;
|
43
|
+
startFallbackCountdown(): void;
|
44
|
+
onMessage: (event: MessageEvent) => void;
|
45
|
+
render(): React.JSX.Element;
|
46
|
+
}
|
47
|
+
export type LoginDialogAttrs = JSX.LibraryManagedAttributes<typeof LoginDialog, LoginDialogProps>;
|