@jetbrains/ring-ui 4.1.0-beta.9 → 4.1.4
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/CHANGELOG.md +13 -0
- package/README.md +22 -16
- package/babel.config.js +3 -2
- package/components/alert/alert.js +9 -3
- package/components/alert/container.css +1 -1
- package/components/alert-service/alert-service.examples.css +18 -0
- package/components/alert-service/alert-service.examples.js +21 -0
- package/components/alert-service/alert-service.js +10 -3
- package/components/analytics/analytics__fus-plugin.js +1 -1
- package/components/auth/auth.test.js +14 -7
- package/components/auth/auth__core.js +64 -33
- package/components/auth-dialog/auth-dialog.js +1 -0
- package/components/avatar/avatar.css +4 -1
- package/components/avatar/avatar.examples.js +3 -2
- package/components/avatar/avatar.js +31 -6
- package/components/avatar/fallback-avatar.js +136 -0
- package/components/avatar-editor-ng/avatar-editor-ng.css +2 -2
- package/components/avatar-editor-ng/avatar-editor-ng.js +2 -1
- package/components/avatar-editor-ng/{avatar-editor-ng.html → avatar-editor-ng__template.js} +2 -2
- package/components/button/button.css +2 -2
- package/components/button/button.js +4 -1
- package/components/button-group/button-group.js +1 -1
- package/components/button-group/caption.js +1 -1
- package/components/button-ng/button-ng.js +1 -1
- package/components/button-set-ng/button-set-ng.js +3 -1
- package/components/checkbox/checkbox.css +1 -1
- package/components/code/code.js +1 -1
- package/components/confirm/confirm.js +1 -0
- package/components/confirm-service/confirm-service.js +5 -5
- package/components/content-layout/content-layout.css +1 -1
- package/components/data-list/data-list.css +1 -1
- package/components/date-picker/date-input.js +5 -4
- package/components/date-picker/date-picker.css +34 -22
- package/components/date-picker/date-picker.examples.js +1 -1
- package/components/date-picker/date-picker.js +16 -14
- package/components/date-picker/date-popup.js +22 -7
- package/components/date-picker/month-names.js +8 -5
- package/components/date-picker/month.js +6 -2
- package/components/date-picker/weekdays.js +10 -2
- package/components/dialog/dialog.examples.js +3 -1
- package/components/dialog/dialog.js +5 -2
- package/components/dialog/dialog.test.js +1 -1
- package/components/dialog/dialog__body-scroll-preventer.js +2 -2
- package/components/dialog-ng/dialog-ng.js +7 -8
- package/components/dialog-ng/{dialog-ng.html → dialog-ng__template.js} +2 -2
- package/components/dropdown/anchor.js +1 -0
- package/components/dropdown/dropdown.examples.js +36 -1
- package/components/dropdown-menu/dropdown-menu.examples.js +47 -0
- package/components/dropdown-menu/dropdown-menu.js +117 -0
- package/components/dropdown-menu/dropdown-menu.test.js +76 -0
- package/components/error-bubble/error-bubble-legacy.css +1 -1
- package/components/error-bubble/error-bubble.css +1 -1
- package/components/error-bubble/error-bubble.examples.js +1 -1
- package/components/error-page/error-page.css +2 -2
- package/components/footer-ng/footer-ng.js +13 -3
- package/components/form/form.css +2 -2
- package/components/form-ng/form-ng.js +3 -1
- package/components/global/global.css +1 -1
- package/components/global/theme.js +1 -1
- package/components/global/variables.css +8 -1
- package/components/grid/grid.css +10 -9
- package/components/header/header.css +1 -1
- package/components/header/header.examples.js +7 -8
- package/components/header/profile.js +10 -11
- package/components/http/http.js +1 -1
- package/components/icon/icon.css +5 -4
- package/components/island/island.css +4 -3
- package/components/island-legacy/island-legacy.css +3 -1
- package/components/list/list.js +6 -1
- package/components/list/list__custom.js +9 -3
- package/components/list/list__item.js +8 -2
- package/components/list/list__link.js +2 -1
- package/components/loader-inline/loader-inline.css +1 -1
- package/components/loader-screen/loader-screen.css +1 -1
- package/components/message/message.css +1 -1
- package/components/message/message.examples.js +8 -5
- package/components/pager/pager.js +5 -3
- package/components/permissions/permissions.js +1 -1
- package/components/progress-bar/progress-bar.css +1 -1
- package/components/progress-bar/progress-bar.examples.js +3 -3
- package/components/progress-bar/progress-bar.js +5 -2
- package/components/progress-bar/progress-bar.test.js +12 -13
- package/components/progress-bar-ng/progress-bar-ng.examples.js +3 -3
- package/components/query-assist/query-assist.css +13 -3
- package/components/query-assist/query-assist.examples.js +3 -1
- package/components/query-assist/query-assist.js +56 -12
- package/components/query-assist/query-assist.test.js +37 -5
- package/components/save-field-ng/save-field-ng.css +0 -3
- package/components/save-field-ng/save-field-ng.js +3 -1
- package/components/save-field-ng/{save-field-ng.html → save-field-ng__template.js} +2 -2
- package/components/select/select.css +12 -7
- package/components/select/select.examples.js +13 -0
- package/components/select/select.js +30 -43
- package/components/select/select.test.js +4 -5
- package/components/shortcuts-hint-ng/shortcuts-hint-ng.css +1 -1
- package/components/shortcuts-hint-ng/shortcuts-hint-ng.js +1 -1
- package/components/shortcuts-hint-ng/{shortcuts-hint-ng.html → shortcuts-hint-ng__template.js} +2 -2
- package/components/sidebar/sidebar.css +1 -0
- package/components/sidebar-ng/sidebar-ng.js +6 -2
- package/components/sidebar-ng/{sidebar-ng__button.html → sidebar-ng__button-template.js} +2 -2
- package/components/sidebar-ng/{sidebar-ng.html → sidebar-ng__template.js} +2 -2
- package/components/table/row.js +2 -1
- package/components/table/table.css +2 -1
- package/components/table-legacy/table-legacy.css +2 -2
- package/components/table-legacy/table-legacy__toolbar.css +2 -2
- package/components/table-legacy-ng/table-legacy-ng.js +38 -5
- package/components/table-legacy-ng/table-legacy-ng__pager.js +7 -1
- package/components/tabs/collapsible-tab.js +2 -2
- package/components/tabs/collapsible-tabs.js +4 -8
- package/components/tabs/dumb-tabs.js +1 -0
- package/components/tabs/tab-link.js +4 -2
- package/components/tabs/tabs.css +27 -0
- package/components/tabs-ng/tabs-ng.js +4 -2
- package/components/tabs-ng/{tabs-ng.html → tabs-ng__template.js} +6 -2
- package/components/tag/tag.css +5 -2
- package/components/tag/tag.examples.js +3 -0
- package/components/tag/tag.js +19 -16
- package/components/tags-input/tag-input.examples.js +1 -1
- package/components/tags-input/tags-input.js +5 -2
- package/components/template-ng/template-ng.js +1 -1
- package/components/tooltip/tooltip.js +7 -2
- package/components/user-agreement/user-agreement.css +1 -1
- package/components/user-agreement/user-agreement.examples.js +7 -4
- package/components/user-agreement/user-agreement.js +1 -0
- package/dist/_helpers/_rollupPluginBabelHelpers.js +1 -94
- package/dist/_helpers/anchor.js +6 -6
- package/dist/_helpers/badge.js +1 -1
- 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 +1 -1
- package/dist/_helpers/card.js +6 -8
- package/dist/_helpers/checkbox.js +3 -0
- package/dist/_helpers/date-picker.js +1 -1
- package/dist/_helpers/dialog__body-scroll-preventer.js +3 -2
- package/dist/_helpers/error-message.js +3 -0
- package/dist/_helpers/footer.js +121 -0
- package/dist/_helpers/grid.js +1 -1
- package/dist/_helpers/group.js +3 -0
- package/dist/_helpers/header.js +1 -1
- package/dist/_helpers/icon.js +3 -0
- package/dist/_helpers/inject-styles.js +1 -1
- package/dist/_helpers/input.js +3 -0
- package/dist/_helpers/island.js +1 -1
- package/dist/_helpers/link.js +3 -0
- package/dist/_helpers/list.js +1 -1
- package/dist/_helpers/loader-screen.js +3 -0
- package/dist/_helpers/panel.js +3 -0
- package/dist/_helpers/query-assist__suggestions.js +1 -1
- package/dist/_helpers/radio.js +3 -0
- package/dist/_helpers/select__filter.js +6 -8
- package/dist/_helpers/services-link.js +6 -8
- package/dist/_helpers/sidebar.js +6 -8
- package/dist/_helpers/table.js +1 -1
- package/dist/_helpers/tabs.js +1 -1
- package/dist/_helpers/title.js +1 -1
- package/dist/alert/alert.js +15 -9
- package/dist/alert/container.js +7 -9
- package/dist/alert-service/alert-service.js +24 -13
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/analytics__custom-plugin.js +1 -1
- package/dist/analytics/analytics__fus-plugin.js +2 -2
- package/dist/analytics/analytics__ga-plugin.js +1 -1
- package/dist/analytics/analytics__plugin-utils.js +1 -1
- package/dist/analytics-ng/analytics-ng.js +94 -0
- package/dist/auth/auth.js +7 -4
- package/dist/auth/auth__core.js +86 -48
- package/dist/auth/background-flow.js +1 -2
- package/dist/auth/down-notification.js +6 -3
- package/dist/auth/iframe-flow.js +5 -2
- package/dist/auth/landing-entry.js +1 -1
- package/dist/auth/landing.js +5 -2
- package/dist/auth/request-builder.js +1 -1
- package/dist/auth/response-parser.js +1 -1
- package/dist/auth/storage.js +3 -2
- package/dist/auth/token-validator.js +1 -1
- package/dist/auth/window-flow.js +1 -1
- package/dist/auth-dialog/auth-dialog.js +5 -3
- package/dist/auth-dialog-service/auth-dialog-service.js +6 -5
- package/dist/auth-ng/auth-ng.js +203 -0
- package/dist/auth-ng/auth-ng.mock.js +33 -0
- package/dist/autofocus-ng/autofocus-ng.js +50 -0
- package/dist/avatar/avatar.js +36 -30
- package/dist/avatar/fallback-avatar.js +141 -0
- package/dist/avatar-editor-ng/avatar-editor-ng.js +164 -0
- package/dist/avatar-editor-ng/avatar-editor-ng__template.js +30 -0
- package/dist/avatar-ng/avatar-ng.js +18 -0
- package/dist/badge/badge.js +6 -8
- package/dist/badge-ng/badge-ng.js +16 -0
- package/dist/breadcrumb-ng/breadcrumb-ng.js +61 -0
- package/dist/button/button.js +16 -10
- package/dist/button-group/button-group.js +4 -4
- package/dist/button-group/caption.js +24 -5
- package/dist/button-group-ng/button-group-ng.js +38 -0
- package/dist/button-ng/button-ng.js +223 -0
- package/dist/button-set/button-set.js +3 -4
- package/dist/button-set-ng/button-set-ng.js +19 -0
- package/dist/button-toolbar/button-toolbar.js +3 -4
- package/dist/button-toolbar-ng/button-toolbar-ng.js +23 -0
- package/dist/caret/caret.js +1 -1
- package/dist/checkbox/checkbox.js +9 -11
- package/dist/checkbox-ng/checkbox-ng.js +55 -0
- package/dist/code/code.js +136 -0
- package/dist/compiler-ng/compiler-ng.js +53 -0
- package/dist/confirm/confirm.js +6 -3
- package/dist/confirm-ng/confirm-ng.js +66 -0
- package/dist/confirm-service/confirm-service.js +12 -10
- package/dist/content-layout/content-layout.js +6 -8
- package/dist/contenteditable/contenteditable.js +13 -16
- package/dist/data-list/data-list.js +10 -7
- package/dist/data-list/data-list.mock.js +2 -2
- package/dist/data-list/item.js +5 -3
- package/dist/data-list/selection.js +1 -1
- package/dist/data-list/title.js +3 -1
- package/dist/data-list-ng/data-list-ng.js +59 -0
- package/dist/date-picker/consts.js +1 -2
- package/dist/date-picker/date-input.js +10 -6
- package/dist/date-picker/date-picker.js +38 -29
- package/dist/date-picker/date-popup.js +51 -28
- package/dist/date-picker/day.js +2 -2
- package/dist/date-picker/formats.js +1 -1
- package/dist/date-picker/month-names.js +16 -9
- package/dist/date-picker/month-slider.js +2 -2
- package/dist/date-picker/month.js +13 -7
- package/dist/date-picker/months.js +3 -3
- package/dist/date-picker/weekdays.js +12 -4
- package/dist/date-picker/years.js +2 -2
- package/dist/dialog/dialog.js +13 -10
- package/dist/dialog/dialog__body-scroll-preventer.js +1 -1
- package/dist/dialog-ng/dialog-ng.js +601 -0
- package/dist/dialog-ng/dialog-ng__template.js +71 -0
- package/dist/docked-panel-ng/docked-panel-ng.js +170 -0
- package/dist/dropdown/anchor.js +2 -1
- package/dist/dropdown/dropdown.js +8 -10
- package/dist/dropdown-menu/dropdown-menu.js +175 -0
- package/dist/error-bubble/error-bubble.js +7 -9
- package/dist/error-message/error-message.js +4 -4
- package/dist/error-message-ng/error-message-ng.js +53 -0
- package/dist/footer/footer.js +6 -122
- package/dist/footer-ng/footer-ng.js +75 -0
- package/dist/form-ng/form-ng.js +169 -0
- package/dist/global/angular-component-factory.js +1 -2
- package/dist/global/compose.js +1 -1
- package/dist/global/composeRefs.js +1 -1
- package/dist/global/conic-gradient.js +3 -5
- package/dist/global/create-stateful-context.js +1 -1
- package/dist/global/data-tests.js +1 -1
- package/dist/global/focus-sensor-hoc.js +9 -11
- package/dist/global/fuzzy-highlight.js +1 -1
- package/dist/global/get-event-key.js +1 -1
- package/dist/global/get-uid.js +1 -1
- package/dist/global/linear-function.js +1 -2
- package/dist/global/listeners.js +1 -1
- package/dist/global/memoize.js +1 -1
- package/dist/global/normalize-indent.js +1 -1
- package/dist/global/promise-with-timeout.js +1 -1
- package/dist/global/radial-gradient-mask.js +1 -1
- package/dist/global/react-dom-renderer.js +1 -1
- package/dist/global/rerender-hoc.js +3 -5
- package/dist/global/ring-angular-component.js +1 -1
- package/dist/global/schedule-raf.js +1 -1
- package/dist/global/sniffer.js +1 -1
- package/dist/global/supports-css.js +1 -1
- package/dist/global/theme.js +6 -8
- package/dist/global/trivial-template-tag.js +1 -1
- package/dist/global/variables_dark.js +1 -1
- package/dist/grid/col.js +6 -8
- package/dist/grid/grid.js +5 -7
- package/dist/grid/row.js +6 -8
- package/dist/group/group.js +7 -10
- package/dist/group-ng/group-ng.js +11 -0
- package/dist/header/header.js +29 -26
- package/dist/header/logo.js +8 -9
- package/dist/header/profile.js +37 -32
- package/dist/header/services-link.js +1 -0
- package/dist/header/services.js +10 -9
- package/dist/header/smart-profile.js +27 -24
- package/dist/header/smart-services.js +10 -9
- package/dist/header/tray-icon.js +12 -12
- package/dist/header/tray.js +6 -8
- package/dist/heading/heading.js +9 -12
- package/dist/http/http.js +37 -37
- package/dist/http/http.mock.js +4 -4
- package/dist/hub-source/hub-source.js +1 -1
- package/dist/hub-source/hub-source__users-groups.js +1 -1
- package/dist/icon/icon.js +8 -8
- package/dist/icon/icon__svg.js +81 -6
- package/dist/icon/index.js +2 -1
- package/dist/icon-ng/icon-ng.js +89 -0
- package/dist/input/input.js +9 -12
- package/dist/input-ng/input-ng.js +166 -0
- package/dist/island/adaptive-island-hoc.js +1 -2
- package/dist/island/content.js +6 -8
- package/dist/island/header.js +6 -8
- package/dist/island/island.js +6 -9
- package/dist/island-legacy/content-legacy.js +6 -8
- package/dist/island-legacy/header-legacy.js +6 -8
- package/dist/island-legacy/island-legacy.js +6 -8
- package/dist/island-ng/island-content-ng.js +56 -0
- package/dist/island-ng/island-header-ng.js +32 -0
- package/dist/island-ng/island-ng-class-fixer.js +9 -0
- package/dist/island-ng/island-ng.js +31 -0
- package/dist/link/clickableLink.js +6 -8
- package/dist/link/link.js +7 -11
- package/dist/link-ng/link-ng.js +25 -0
- package/dist/list/list.js +25 -13
- package/dist/list/list__custom.js +13 -10
- package/dist/list/list__hint.js +1 -1
- package/dist/list/list__item.js +20 -13
- package/dist/list/list__link.js +11 -12
- package/dist/list/list__separator.js +1 -1
- package/dist/list/list__title.js +1 -1
- package/dist/list/list__users-groups-source.js +11 -7
- package/dist/loader/loader.js +6 -8
- package/dist/loader/loader__core.js +2 -2
- package/dist/loader-inline/inject-styles.js +1 -1
- package/dist/loader-inline/loader-inline.js +6 -8
- package/dist/loader-inline-ng/loader-inline-ng.js +42 -0
- package/dist/loader-ng/loader-ng.js +43 -0
- package/dist/loader-screen/loader-screen.js +7 -10
- package/dist/loader-screen-ng/loader-screen-ng.js +99 -0
- package/dist/login-dialog/login-dialog.js +5 -3
- package/dist/login-dialog/service.js +7 -5
- package/dist/markdown/code.js +30 -0
- package/dist/markdown/heading.js +23 -0
- package/dist/markdown/link.js +30 -0
- package/dist/markdown/markdown.js +73 -0
- package/dist/message/message.js +5 -4
- package/dist/message-bundle-ng/message-bundle-ng.js +111 -0
- package/dist/old-browsers-message/old-browsers-message.js +0 -1
- package/dist/old-browsers-message/old-browsers-message__stop.js +0 -1
- package/dist/old-browsers-message/white-list.js +4 -5
- package/dist/pager/pager.js +18 -9
- package/dist/pager-ng/pager-ng.js +96 -0
- package/dist/panel/panel.js +7 -10
- package/dist/panel-ng/panel-ng.js +16 -0
- package/dist/permissions/permissions.js +1 -1
- package/dist/permissions/permissions__cache.js +1 -1
- package/dist/permissions-ng/permissions-ng.js +274 -0
- package/dist/place-under-ng/place-under-ng.js +157 -0
- package/dist/popup/popup.js +8 -8
- package/dist/popup/popup.target.js +4 -5
- package/dist/popup/position.js +1 -2
- package/dist/popup-menu/popup-menu.js +21 -14
- package/dist/progress-bar/progress-bar.js +12 -10
- package/dist/progress-bar-ng/progress-bar-ng.js +15 -0
- package/dist/promised-click-ng/promised-click-ng.js +126 -0
- package/dist/proxy-attrs/proxy-attrs.js +1 -1
- package/dist/query-assist/query-assist.js +97 -28
- package/dist/query-assist/query-assist__suggestions.js +5 -1
- package/dist/query-assist-ng/query-assist-ng.js +82 -0
- package/dist/radio/radio.js +7 -5
- package/dist/radio/radio__item.js +10 -15
- package/dist/radio-ng/radio-ng.js +63 -0
- package/dist/save-field-ng/save-field-ng.js +335 -0
- package/dist/save-field-ng/save-field-ng__template.js +34 -0
- package/dist/select/select.js +50 -49
- package/dist/select/select__filter.js +6 -1
- package/dist/select/select__popup.js +8 -3
- package/dist/select-ng/select-ng.js +621 -0
- package/dist/select-ng/select-ng__lazy.js +150 -0
- package/dist/select-ng/select-ng__options.js +145 -0
- package/dist/shortcuts/core.js +2 -2
- package/dist/shortcuts/shortcuts-hoc.js +6 -8
- package/dist/shortcuts/shortcuts.js +6 -6
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +120 -0
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng__template.js +50 -0
- package/dist/shortcuts-ng/shortcuts-ng.js +261 -0
- package/dist/sidebar-ng/sidebar-ng.js +111 -0
- package/dist/sidebar-ng/sidebar-ng__button-template.js +20 -0
- package/dist/sidebar-ng/sidebar-ng__template.js +12 -0
- package/dist/storage/storage.js +3 -2
- package/dist/storage/storage__fallback.js +1 -1
- package/dist/storage/storage__local.js +3 -2
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.js +7 -9
- package/dist/table/cell.js +2 -2
- package/dist/table/disable-hover-hoc.js +2 -2
- package/dist/table/header-cell.js +8 -9
- package/dist/table/header.js +5 -3
- package/dist/table/multitable.js +1 -1
- package/dist/table/row-with-focus-sensor.js +5 -3
- package/dist/table/row.js +11 -10
- package/dist/table/selection-adapter.js +1 -1
- package/dist/table/selection-shortcuts-hoc.js +8 -6
- package/dist/table/selection.js +1 -1
- package/dist/table/smart-table.js +14 -8
- package/dist/table/table.js +10 -11
- package/dist/table-legacy-ng/table-legacy-ng.js +501 -0
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +122 -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 +56 -0
- package/dist/table-ng/smart-table-ng.js +65 -0
- package/dist/table-ng/table-ng.js +64 -0
- package/dist/tabs/collapsible-more.js +9 -6
- package/dist/tabs/collapsible-tab.js +7 -7
- package/dist/tabs/collapsible-tabs.js +18 -19
- package/dist/tabs/dumb-tabs.js +12 -9
- package/dist/tabs/smart-tabs.js +11 -9
- package/dist/tabs/tab-link.js +13 -7
- package/dist/tabs/tab.js +1 -1
- package/dist/tabs/tabs.js +5 -1
- package/dist/tabs-ng/tabs-ng.js +193 -0
- package/dist/tabs-ng/tabs-ng__template.js +40 -0
- package/dist/tag/tag.js +20 -14
- package/dist/tags-input/tags-input.js +14 -10
- package/dist/tags-input-ng/tags-input-ng.js +89 -0
- package/dist/tags-list/tags-list.js +8 -9
- package/dist/template-ng/template-ng.js +70 -0
- package/dist/text/text.js +7 -9
- package/dist/theme-ng/theme-ng.js +44 -0
- package/dist/title-ng/title-ng.js +114 -0
- package/dist/toggle/toggle.js +8 -11
- package/dist/toggle-ng/toggle-ng.js +16 -0
- package/dist/tooltip/tooltip.js +14 -12
- package/dist/tooltip-ng/tooltip-ng.js +98 -0
- package/dist/user-agreement/service.js +409 -0
- package/dist/user-agreement/toolbox.eula.js +162 -0
- package/dist/user-agreement/user-agreement.js +167 -0
- package/dist/user-card/card.js +3 -0
- package/dist/user-card/smart-user-card-tooltip.js +14 -14
- package/dist/user-card/tooltip.js +9 -7
- package/dist/user-card/user-card.js +5 -2
- package/dist/user-card-ng/user-card-ng.js +59 -0
- package/package.json +81 -79
- package/webpack.config.js +14 -10
- package/components/button-set-ng/button-set-ng.html +0 -1
- package/components/footer-ng/footer-ng.html +0 -13
- package/components/form-ng/form-ng__error-bubble.html +0 -3
- package/components/table-legacy-ng/table-legacy-ng.html +0 -4
- package/components/table-legacy-ng/table-legacy-ng__column.html +0 -12
- package/components/table-legacy-ng/table-legacy-ng__header.html +0 -4
- package/components/table-legacy-ng/table-legacy-ng__pager.html +0 -7
- package/components/table-legacy-ng/table-legacy-ng__row.html +0 -12
- package/components/table-legacy-ng/table-legacy-ng__title.html +0 -9
- package/dist/_helpers/caption.js +0 -25
- package/dist/_helpers/icon__svg.js +0 -83
|
@@ -4,7 +4,7 @@ import memoize from '../global/memoize.js';
|
|
|
4
4
|
import radialGradientMask from '../global/radial-gradient-mask.js';
|
|
5
5
|
import Theme from '../global/theme.js';
|
|
6
6
|
|
|
7
|
-
var modules_e49a3529 = {"unit":"8px","loader":"
|
|
7
|
+
var modules_e49a3529 = {"unit":"8px","loader":"loader_rui_cdac","spin":"spin_rui_cdac","pulse":"pulse_rui_cdac","children":"children_rui_cdac"};
|
|
8
8
|
|
|
9
9
|
const IMAGE_SIZE = 32;
|
|
10
10
|
var injectStyles = memoize(() => {
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_88cfaf40 = {"unit":"8px","iconOffset":"22px","container":"container_rui_74bd fontLower_rui_750f font_rui_750f","compact":"compact_rui_74bd","input":"input_rui_74bd","withIcon":"withIcon_rui_74bd","label":"label_rui_74bd","icon":"icon_rui_74bd","clear":"clear_rui_74bd","active":"active_rui_74bd","empty":"empty_rui_74bd","noLabel":"noLabel_rui_74bd","light":"light_rui_74bd","dark":"dark_rui_74bd","error":"error_rui_74bd","underline":"underline_rui_74bd","focusUnderline":"focusUnderline_rui_74bd","errorUnderline":"errorUnderline_rui_74bd","errorText":"errorText_rui_74bd","sizeS":"sizeS_rui_74bd","sizeM":"sizeM_rui_74bd","sizeL":"sizeL_rui_74bd","sizeFULL":"sizeFULL_rui_74bd"};
|
|
2
|
+
|
|
3
|
+
export { modules_88cfaf40 as m };
|
package/dist/_helpers/island.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var modules_e6a056e1 = {"unit":"8px","gradientStart":"hsla(0,0%,100%,0)","gradientStop":"var(--ring-content-background-color)","island":"
|
|
1
|
+
var modules_e6a056e1 = {"unit":"8px","gradientStart":"hsla(0,0%,100%,0)","gradientStop":"var(--ring-content-background-color)","island":"island_rui_e5ae","withTransparentBottomBorder":"withTransparentBottomBorder_rui_e5ae","header":"header_rui_e5ae withTransparentBottomBorder_rui_e5ae","withBottomBorder":"withBottomBorder_rui_e5ae","title":"title_rui_e5ae","narrowIsland":"narrowIsland_rui_e5ae","content":"content_rui_e5ae","scrollableWrapper":"scrollableWrapper_rui_e5ae","withoutPaddings":"withoutPaddings_rui_e5ae","contentWithTopFade":"contentWithTopFade_rui_e5ae","contentWithBottomFade":"contentWithBottomFade_rui_e5ae"};
|
|
2
2
|
|
|
3
3
|
export { modules_e6a056e1 as m };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var modules_607b0772 = {"link":"link_rui_21bf link_rui_9b21","hover":"hover_rui_21bf","inner":"inner_rui_21bf","active":"active_rui_21bf","compatibilityUnderlineMode":"compatibilityUnderlineMode_rui_21bf","pseudo":"pseudo_rui_21bf","text":"text_rui_21bf","inherit":"inherit_rui_21bf"};
|
|
2
|
+
|
|
3
|
+
export { modules_607b0772 as m };
|
package/dist/_helpers/list.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var modules_3b67a421 = {"unit":"8px","listSpacing":"8px","
|
|
1
|
+
var modules_3b67a421 = {"unit":"8px","listSpacing":"8px","list":"list_rui_4737","simpleInner":"simpleInner_rui_4737","scrolling":"scrolling_rui_4737","separator":"separator_rui_4737","separator_first":"separator_first_rui_4737","item":"item_rui_4737","itemContainer":"itemContainer_rui_4737","compact":"compact_rui_4737","error":"error_rui_4737","add":"add_rui_4737","top":"top_rui_4737","left":"left_rui_4737","label":"label_rui_4737","description":"description_rui_4737","right":"right_rui_4737","details":"details_rui_4737","padded":"padded_rui_4737","hint":"hint_rui_4737","action":"action_rui_4737","actionLink":"actionLink_rui_4737","hover":"hover_rui_4737","icon":"icon_rui_4737","highlight":"highlight_rui_4737","service":"service_rui_4737","glyph":"glyph_rui_4737","avatar":"avatar_rui_4737 glyph_rui_4737","rightGlyph":"rightGlyph_rui_4737 glyph_rui_4737","checkboxContainer":"checkboxContainer_rui_4737","title":"title_rui_4737","title_first":"title_first_rui_4737","text":"text_rui_4737","fade":"fade_rui_4737","disabled":"disabled_rui_4737"};
|
|
2
2
|
|
|
3
3
|
export { modules_3b67a421 as m };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import List from '../list/list.js';
|
|
3
3
|
|
|
4
|
-
var modules_da7ab055 = {"unit":"8px","resetButton":"
|
|
4
|
+
var modules_da7ab055 = {"unit":"8px","resetButton":"resetButton_rui_750f","overInputZIndex":"2","inputGap":"24px","light":"light_rui_ec58","queryAssist":"queryAssist_rui_ec58 font_rui_750f","input":"input_rui_ec58","placeholder":"placeholder_rui_ec58 resetButton_rui_750f","letter-text":"letterText_rui_ec58","letterDefault":"letterDefault_rui_ec58","letter-field-name":"letterFieldName_rui_ec58","letter-field-value":"letterFieldValue_rui_ec58","letter-operator":"letterOperator_rui_ec58","letter-error":"letterError_rui_ec58","iconInner":"iconInner_rui_ec58","highlight":"highlight_rui_ec58","service":"service_rui_ec58","dark":"dark_rui_ec58","icon":"icon_rui_ec58","loader":"loader_rui_ec58","actions":"actions_rui_ec58","calc(8px * 3)":"calc_8px___3__rui_ec58","inputGap2":"inputGap2_rui_ec58","inputLeftGap":"inputLeftGap_rui_ec58","inputDisabled":"inputDisabled_rui_ec58","placeholderSpaced":"placeholderSpaced_rui_ec58","letter":"letter_rui_ec58","loaderOnTheRight":"loaderOnTheRight_rui_ec58","focusUnderline":"focusUnderline_rui_ec58"};
|
|
5
5
|
|
|
6
6
|
const ICON_ID_LENGTH = 44;
|
|
7
7
|
class QueryAssistSuggestions {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty, a as
|
|
1
|
+
import { _ as _defineProperty, a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
@@ -6,7 +6,7 @@ import Input from '../input/input.js';
|
|
|
6
6
|
import sniffr from '../global/sniffer.js';
|
|
7
7
|
import { ActiveItemContext } from '../list/list.js';
|
|
8
8
|
|
|
9
|
-
var modules_b607bec2 = {"unit":"8px","filterWithTags":"
|
|
9
|
+
var modules_b607bec2 = {"unit":"8px","filterWithTags":"filterWithTags_rui_7e99","filterWrapper":"filterWrapper_rui_7e99","filterWithTagsFocused":"filterWithTagsFocused_rui_7e99","filter":"filter_rui_7e99","filterIcon":"filterIcon_rui_7e99","bottomLine":"bottomLine_rui_7e99","message":"message_rui_7e99","selectAll":"selectAll_rui_7e99"};
|
|
10
10
|
|
|
11
11
|
function noop() {}
|
|
12
12
|
|
|
@@ -41,13 +41,11 @@ class SelectFilter extends Component {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
render() {
|
|
44
|
-
const
|
|
45
|
-
{
|
|
44
|
+
const {
|
|
46
45
|
className,
|
|
47
|
-
listId
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
listId,
|
|
47
|
+
...restProps
|
|
48
|
+
} = this.props;
|
|
51
49
|
const classes = classNames(modules_b607bec2.filter, className);
|
|
52
50
|
return /*#__PURE__*/React.createElement(ActiveItemContext.ValueContext.Consumer, null, activeItemId => /*#__PURE__*/React.createElement(Input, _extends({}, restProps, {
|
|
53
51
|
"aria-owns": listId,
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import Link from '../link/link.js';
|
|
5
5
|
|
|
6
|
-
var modules_74a7bf8b = {"unit":"8px","services":"
|
|
6
|
+
var modules_74a7bf8b = {"unit":"8px","services":"services_rui_5879","active":"active_rui_5879","item":"item_rui_5879","itemLogo":"itemLogo_rui_5879","activeItem":"activeItem_rui_5879 item_rui_5879 active_rui_5879","line":"line_rui_5879","itemStacked":"itemStacked_rui_5879","activeItemStacked":"activeItemStacked_rui_5879 itemStacked_rui_5879 active_rui_5879"};
|
|
7
7
|
|
|
8
8
|
class ServicesLink extends PureComponent {
|
|
9
9
|
render() {
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} =
|
|
14
|
-
props = _objectWithoutProperties(_this$props, ["service"]);
|
|
15
|
-
|
|
10
|
+
const {
|
|
11
|
+
service,
|
|
12
|
+
...props
|
|
13
|
+
} = this.props;
|
|
16
14
|
return /*#__PURE__*/React.createElement(Link, _extends({
|
|
17
15
|
target: "_self",
|
|
18
16
|
href: service.homeUrl
|
package/dist/_helpers/sidebar.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as _defineProperty, a as
|
|
1
|
+
import { _ as _defineProperty, a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import { Waypoint } from 'react-waypoint';
|
|
6
6
|
|
|
7
|
-
var modules_b8a9dd4f = {"unit":"8px","extra-small-screen-media":"(max-width:639px)","small-screen-media":"(min-width:640px) and (max-width:959px)","sidebarWidth":"240px","contentLayout":"
|
|
7
|
+
var modules_b8a9dd4f = {"unit":"8px","extra-small-screen-media":"(max-width:639px)","small-screen-media":"(min-width:640px) and (max-width:959px)","sidebarWidth":"240px","contentLayout":"contentLayout_rui_6771","contentLayoutContent":"contentLayoutContent_rui_6771","sidebarContainer":"sidebarContainer_rui_6771","sidebarContainerRight":"sidebarContainerRight_rui_6771","sidebar":"sidebar_rui_6771","sidebarRight":"sidebarRight_rui_6771","sidebarFixedTop":"sidebarFixedTop_rui_6771","sidebarFixedBottom":"sidebarFixedBottom_rui_6771","bottomMarker":"bottomMarker_rui_6771","contentLayoutResponsive":"contentLayoutResponsive_rui_6771"};
|
|
8
8
|
|
|
9
9
|
const ABOVE = 'above';
|
|
10
10
|
const INSIDE = 'inside';
|
|
@@ -66,17 +66,15 @@ class Sidebar extends Component {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
render() {
|
|
69
|
-
const
|
|
70
|
-
{
|
|
69
|
+
const {
|
|
71
70
|
right,
|
|
72
71
|
children,
|
|
73
72
|
className,
|
|
74
73
|
containerClassName,
|
|
75
74
|
fixedClassName,
|
|
76
|
-
contentNode
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
75
|
+
contentNode,
|
|
76
|
+
...restProps
|
|
77
|
+
} = this.props;
|
|
80
78
|
const {
|
|
81
79
|
topIsOutside,
|
|
82
80
|
bottomIsOutside,
|
package/dist/_helpers/table.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var modules_1db4bbca = {"unit":"8px","height":"32px","compensate":"2px","compensated":"30px","top":"-3px","row":"
|
|
1
|
+
var modules_1db4bbca = {"unit":"8px","height":"32px","compensate":"2px","compensated":"30px","top":"-3px","row":"row_rui_3e32","dragHandle":"dragHandle_rui_3e32","tableWrapper":"tableWrapper_rui_3e32","table":"table_rui_3e32","userSelectNone":"userSelectNone_rui_3e32","headerCell":"headerCell_rui_3e32 fontSmallerLower_rui_750f fontSmaller_rui_750f fontLower_rui_750f font_rui_750f","headerCellSorted":"headerCellSorted_rui_3e32","headerCellSortable":"headerCellSortable_rui_3e32","sorter":"sorter_rui_3e32","sortedUp":"sortedUp_rui_3e32","icon":"icon_rui_3e32","caption":"caption_rui_3e32","tableHead":"tableHead_rui_3e32","subHeaderFixed":"subHeaderFixed_rui_3e32","subHeader":"subHeader_rui_3e32","disabledHover":"disabledHover_rui_3e32","rowSelected":"rowSelected_rui_3e32","rowFocused":"rowFocused_rui_3e32","cell":"cell_rui_3e32 ellipsis_rui_750f","loadingOverlay":"loadingOverlay_rui_3e32","cellUnlimited":"cellUnlimited_rui_3e32","cellRight":"cellRight_rui_3e32","metaColumn":"metaColumn_rui_3e32","headerMetaColumn":"headerMetaColumn_rui_3e32","visibleDragHandle":"visibleDragHandle_rui_3e32","rowCollapseExpandButton":"rowCollapseExpandButton_rui_3e32","draggingRow":"draggingRow_rui_3e32","tableMessage":"tableMessage_rui_3e32"};
|
|
2
2
|
|
|
3
3
|
export { modules_1db4bbca as m };
|
package/dist/_helpers/tabs.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var modules_02138f4a = {"unit":"8px","line-shadow":"inset 0 -1px 0 0","selected-line-shadow":"inset 0 -3px 0 0","
|
|
1
|
+
var modules_02138f4a = {"unit":"8px","line-shadow":"inset 0 -1px 0 0","selected-line-shadow":"inset 0 -3px 0 0","tabs":"tabs_rui_cbfd font_rui_750f","titles":"titles_rui_cbfd","light":"light_rui_cbfd","dark":"dark_rui_cbfd","title":"title_rui_cbfd font_rui_750f","selected":"selected_rui_cbfd","collapsed":"collapsed_rui_cbfd","titleLegacy":"titleLegacy_rui_cbfd","visible":"visible_rui_cbfd","container":"container_rui_cbfd","hidden":"hidden_rui_cbfd","hiddenBold":"hiddenBold_rui_cbfd","hiddenRegular":"hiddenRegular_rui_cbfd","tabCounter":"tabCounter_rui_cbfd","autoCollapseContainer":"autoCollapseContainer_rui_cbfd","autoCollapse":"autoCollapse_rui_cbfd","rendered":"rendered_rui_cbfd","adjusted":"adjusted_rui_cbfd","measure":"measure_rui_cbfd","morePopup":"morePopup_rui_cbfd","chevron":"chevron_rui_cbfd","morePopupBeforeEnd":"morePopupBeforeEnd_rui_cbfd"};
|
|
2
2
|
|
|
3
3
|
export { modules_02138f4a as m };
|
package/dist/_helpers/title.js
CHANGED
|
@@ -6,7 +6,7 @@ import focusSensorHOC from '../global/focus-sensor-hoc.js';
|
|
|
6
6
|
import Checkbox from '../checkbox/checkbox.js';
|
|
7
7
|
import getUID from '../global/get-uid.js';
|
|
8
8
|
|
|
9
|
-
var modules_09d014b4 = {"unit":"8px","height":"32px","compensate":"2px","dataListWrapper":"
|
|
9
|
+
var modules_09d014b4 = {"unit":"8px","height":"32px","compensate":"2px","dataListWrapper":"dataListWrapper_rui_dd45","dataList":"dataList_rui_dd45","itemContent":"itemContent_rui_dd45","title":"title_rui_dd45","titleSelected":"titleSelected_rui_dd45","titleFocused":"titleFocused_rui_dd45","showMore":"showMore_rui_dd45","boxes":"boxes_rui_dd45","checkboxBox":"checkboxBox_rui_dd45","collapseButton":"collapseButton_rui_dd45","collapseIcon":"collapseIcon_rui_dd45","loadingOverlay":"loadingOverlay_rui_dd45","showMoreLoader":"showMoreLoader_rui_dd45"};
|
|
10
10
|
|
|
11
11
|
class Title extends PureComponent {
|
|
12
12
|
constructor() {
|
package/dist/alert/alert.js
CHANGED
|
@@ -13,7 +13,8 @@ import joinDataTestAttributes from '../global/data-tests.js';
|
|
|
13
13
|
export { default as Container } from './container.js';
|
|
14
14
|
import 'util-deprecate';
|
|
15
15
|
import '../icon/icon__constants.js';
|
|
16
|
-
import '../_helpers/
|
|
16
|
+
import '../_helpers/icon.js';
|
|
17
|
+
import '../icon/icon__svg.js';
|
|
17
18
|
import '../global/memoize.js';
|
|
18
19
|
import '../global/theme.js';
|
|
19
20
|
import '../_helpers/inject-styles.js';
|
|
@@ -25,7 +26,7 @@ import '../global/radial-gradient-mask.js';
|
|
|
25
26
|
import '../global/get-uid.js';
|
|
26
27
|
import 'react-dom';
|
|
27
28
|
|
|
28
|
-
var modules_e02b3280 = {"unit":"8px","animation-duration":".3s","animation-easing":"ease-out","
|
|
29
|
+
var modules_e02b3280 = {"unit":"8px","animation-duration":".3s","animation-easing":"ease-out","alert":"alert_rui_9b21","alertInline":"alertInline_rui_9b21","error":"error_rui_9b21","icon":"icon_rui_9b21","caption":"caption_rui_9b21","link":"link_rui_9b21","withCloseButton":"withCloseButton_rui_9b21","badge":"badge_rui_9b21","loader":"loader_rui_9b21","close":"close_rui_9b21","animationOpen":"animationOpen_rui_9b21","show":"show_rui_9b21","animationClosing":"animationClosing_rui_9b21","animationShaking":"animationShaking_rui_9b21","shaking":"shaking_rui_9b21"};
|
|
29
30
|
|
|
30
31
|
const ANIMATION_TIME = 500;
|
|
31
32
|
/**
|
|
@@ -86,13 +87,16 @@ class Alert extends PureComponent {
|
|
|
86
87
|
});
|
|
87
88
|
|
|
88
89
|
_defineProperty(this, "closeRequest", function () {
|
|
89
|
-
|
|
90
|
+
_this.startCloseAnimation();
|
|
90
91
|
|
|
91
|
-
_this.
|
|
92
|
+
return _this.props.onCloseRequest(...arguments);
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
_defineProperty(this, "startCloseAnimation", () => {
|
|
96
|
+
const height = getRect(this.node).height;
|
|
97
|
+
this.setState({
|
|
92
98
|
height
|
|
93
99
|
});
|
|
94
|
-
|
|
95
|
-
return _this.props.onCloseRequest(...arguments);
|
|
96
100
|
});
|
|
97
101
|
|
|
98
102
|
_defineProperty(this, "_handleCaptionsLinksClick", evt => {
|
|
@@ -123,6 +127,7 @@ class Alert extends PureComponent {
|
|
|
123
127
|
}
|
|
124
128
|
|
|
125
129
|
_close() {
|
|
130
|
+
this.startCloseAnimation();
|
|
126
131
|
setTimeout(() => {
|
|
127
132
|
this.props.onClose();
|
|
128
133
|
}, ANIMATION_TIME);
|
|
@@ -177,6 +182,7 @@ class Alert extends PureComponent {
|
|
|
177
182
|
inline,
|
|
178
183
|
isClosing,
|
|
179
184
|
isShaking,
|
|
185
|
+
closeButtonClassName,
|
|
180
186
|
showWithAnimation,
|
|
181
187
|
className,
|
|
182
188
|
'data-test': dataTest
|
|
@@ -200,7 +206,7 @@ class Alert extends PureComponent {
|
|
|
200
206
|
ref: this.storeAlertRef
|
|
201
207
|
}, this._getIcon(), this._getCaption(), this.props.closeable ? /*#__PURE__*/React.createElement("button", {
|
|
202
208
|
type: "button",
|
|
203
|
-
className: modules_e02b3280.close,
|
|
209
|
+
className: classNames(modules_e02b3280.close, closeButtonClassName),
|
|
204
210
|
"data-test": "alert-close",
|
|
205
211
|
"aria-label": "close alert",
|
|
206
212
|
onClick: this.closeRequest
|
|
@@ -233,6 +239,7 @@ _defineProperty(Alert, "propTypes", {
|
|
|
233
239
|
children: PropTypes.node,
|
|
234
240
|
className: PropTypes.string,
|
|
235
241
|
captionClassName: PropTypes.string,
|
|
242
|
+
closeButtonClassName: PropTypes.string,
|
|
236
243
|
'data-test': PropTypes.string
|
|
237
244
|
});
|
|
238
245
|
|
|
@@ -250,5 +257,4 @@ _defineProperty(Alert, "defaultProps", {
|
|
|
250
257
|
|
|
251
258
|
_defineProperty(Alert, "Type", Type);
|
|
252
259
|
|
|
253
|
-
export default
|
|
254
|
-
export { ANIMATION_TIME };
|
|
260
|
+
export { ANIMATION_TIME, Alert as default };
|
package/dist/alert/container.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent, Children, cloneElement } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
|
|
7
|
-
var modules_fc8df42d = {"unit":"8px","alert":"
|
|
7
|
+
var modules_fc8df42d = {"unit":"8px","alert":"alert_rui_9b21","alertContainer":"alertContainer_rui_3f27","alertInContainer":"alertInContainer_rui_3f27 alert_rui_9b21"};
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @name Alert Container
|
|
@@ -14,13 +14,11 @@ var modules_fc8df42d = {"unit":"8px","alert":"alert_alert__9b217ed4","alertConta
|
|
|
14
14
|
|
|
15
15
|
class Alerts extends PureComponent {
|
|
16
16
|
render() {
|
|
17
|
-
const
|
|
18
|
-
{
|
|
17
|
+
const {
|
|
19
18
|
children,
|
|
20
|
-
className
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
className,
|
|
20
|
+
...restProps
|
|
21
|
+
} = this.props;
|
|
24
22
|
const classes = classNames(modules_fc8df42d.alertContainer, className);
|
|
25
23
|
const show = Children.count(children) > 0;
|
|
26
24
|
|
|
@@ -47,4 +45,4 @@ _defineProperty(Alerts, "propTypes", {
|
|
|
47
45
|
className: PropTypes.string
|
|
48
46
|
});
|
|
49
47
|
|
|
50
|
-
export default
|
|
48
|
+
export { Alerts as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _defineProperty, a as
|
|
1
|
+
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { render } from 'react-dom';
|
|
4
4
|
import getUID from '../global/get-uid.js';
|
|
@@ -13,7 +13,8 @@ import '@jetbrains/icons/close';
|
|
|
13
13
|
import '../icon/icon.js';
|
|
14
14
|
import 'util-deprecate';
|
|
15
15
|
import '../icon/icon__constants.js';
|
|
16
|
-
import '../_helpers/
|
|
16
|
+
import '../_helpers/icon.js';
|
|
17
|
+
import '../icon/icon__svg.js';
|
|
17
18
|
import '../global/memoize.js';
|
|
18
19
|
import '../loader-inline/loader-inline.js';
|
|
19
20
|
import '../global/theme.js';
|
|
@@ -51,10 +52,9 @@ class AlertService {
|
|
|
51
52
|
return /*#__PURE__*/React.createElement(Alerts, null, alerts.map(alert => {
|
|
52
53
|
const {
|
|
53
54
|
message,
|
|
54
|
-
key
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
key,
|
|
56
|
+
...rest
|
|
57
|
+
} = alert;
|
|
58
58
|
return /*#__PURE__*/React.createElement(Alert, _extends({
|
|
59
59
|
key: key
|
|
60
60
|
}, rest), message);
|
|
@@ -103,7 +103,12 @@ class AlertService {
|
|
|
103
103
|
|
|
104
104
|
addAlert(message, type) {
|
|
105
105
|
let timeout = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.defaultTimeout;
|
|
106
|
-
let
|
|
106
|
+
let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
107
|
+
const {
|
|
108
|
+
onCloseRequest,
|
|
109
|
+
onClose,
|
|
110
|
+
...restOptions
|
|
111
|
+
} = options;
|
|
107
112
|
const sameAlert = this.findSameAlert(message, type);
|
|
108
113
|
|
|
109
114
|
if (sameAlert) {
|
|
@@ -113,16 +118,22 @@ class AlertService {
|
|
|
113
118
|
return sameAlert.key;
|
|
114
119
|
}
|
|
115
120
|
|
|
116
|
-
const alert =
|
|
121
|
+
const alert = {
|
|
117
122
|
key: getUID('alert-service-'),
|
|
118
123
|
message,
|
|
119
124
|
type,
|
|
120
125
|
timeout,
|
|
121
126
|
isClosing: false,
|
|
122
|
-
onCloseRequest: () =>
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
onCloseRequest: () => {
|
|
128
|
+
onCloseRequest && onCloseRequest();
|
|
129
|
+
this.startAlertClosing(alert);
|
|
130
|
+
},
|
|
131
|
+
onClose: () => {
|
|
132
|
+
onClose && onClose();
|
|
133
|
+
this.removeWithoutAnimation(alert.key);
|
|
134
|
+
},
|
|
135
|
+
...restOptions
|
|
136
|
+
};
|
|
126
137
|
this.showingAlerts = [alert, ...this.showingAlerts];
|
|
127
138
|
this.renderAlerts();
|
|
128
139
|
return alert.key;
|
|
@@ -156,4 +167,4 @@ class AlertService {
|
|
|
156
167
|
|
|
157
168
|
const alertService = new AlertService();
|
|
158
169
|
|
|
159
|
-
export default
|
|
170
|
+
export { alertService as default };
|
|
@@ -48,7 +48,7 @@ class AnalyticsFUSPlugin {
|
|
|
48
48
|
recorderVersion,
|
|
49
49
|
productCode: productId,
|
|
50
50
|
productBuild,
|
|
51
|
-
internal:
|
|
51
|
+
internal: isDevelopment,
|
|
52
52
|
groups,
|
|
53
53
|
useForSubdomains: true
|
|
54
54
|
});
|
|
@@ -98,4 +98,4 @@ class AnalyticsFUSPlugin {
|
|
|
98
98
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
export default
|
|
101
|
+
export { AnalyticsFUSPlugin as default };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import angular from 'angular';
|
|
2
|
+
import analyticsInstance from '../analytics/analytics.js';
|
|
3
|
+
import AnalyticsGAPlugin from '../analytics/analytics__ga-plugin.js';
|
|
4
|
+
import AnalyticsFUSPlugin from '../analytics/analytics__fus-plugin.js';
|
|
5
|
+
import AnalyticsCustomPlugin from '../analytics/analytics__custom-plugin.js';
|
|
6
|
+
import '../analytics/analytics__plugin-utils.js';
|
|
7
|
+
import '../global/sniffer.js';
|
|
8
|
+
import 'sniffr';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @name Analytics Ng
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
const angularModule = angular.module('Ring.analytics', []);
|
|
15
|
+
/**
|
|
16
|
+
* @name analyticsProvider
|
|
17
|
+
* @description Configures analytics with plugins.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
angularModule.provider('analytics', function provider() {
|
|
21
|
+
let configPlugins = [];
|
|
22
|
+
/**
|
|
23
|
+
* @param plugins
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
this.plugins = plugins => {
|
|
27
|
+
configPlugins = plugins;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
this.$get = ["$log", "$injector", function get($log, $injector) {
|
|
31
|
+
const loadedPlugins = [];
|
|
32
|
+
|
|
33
|
+
for (let i = 0; i < configPlugins.length; ++i) {
|
|
34
|
+
if (typeof configPlugins[i] === 'string') {
|
|
35
|
+
try {
|
|
36
|
+
const plugin = $injector.get(configPlugins[i]);
|
|
37
|
+
loadedPlugins.push(plugin);
|
|
38
|
+
$log.debug(`analytics: loaded plugin ${configPlugins[i]}`);
|
|
39
|
+
} catch (err) {
|
|
40
|
+
$log.debug(`analytics: unable to load factory ${configPlugins[i]}`);
|
|
41
|
+
}
|
|
42
|
+
} else {
|
|
43
|
+
loadedPlugins.push(configPlugins[i]);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
analyticsInstance.config(loadedPlugins);
|
|
48
|
+
return analyticsInstance;
|
|
49
|
+
}];
|
|
50
|
+
});
|
|
51
|
+
angularModule.constant('AnalyticsGAPlugin', AnalyticsGAPlugin);
|
|
52
|
+
angularModule.constant('AnalyticsCustomPlugin', AnalyticsCustomPlugin);
|
|
53
|
+
angularModule.constant('AnalyticsFUSPlugin', AnalyticsFUSPlugin);
|
|
54
|
+
/**
|
|
55
|
+
* Enable page tracking
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
angularModule.run(["$rootScope", "analytics", function analyticsRun($rootScope, analytics) {
|
|
59
|
+
$rootScope.$on('$routeChangeSuccess', (evt, current) => {
|
|
60
|
+
// eslint-disable-line angular/on-watch
|
|
61
|
+
|
|
62
|
+
/* eslint-disable angular/no-private-call */
|
|
63
|
+
if (current && current.$$route && current.$$route.originalPath) {
|
|
64
|
+
analytics.trackPageView(current.$$route.originalPath);
|
|
65
|
+
}
|
|
66
|
+
/* eslint-enable angular/no-private-call */
|
|
67
|
+
|
|
68
|
+
});
|
|
69
|
+
}]);
|
|
70
|
+
/**
|
|
71
|
+
* @ngdoc directive
|
|
72
|
+
* @name rg-analytics
|
|
73
|
+
*
|
|
74
|
+
* @description
|
|
75
|
+
* The `rg-analytics="<categoryName>:<eventName>"` sends categoryName and eventName to analytics server on
|
|
76
|
+
* user action, specified via attribute `rg-analytics-on` (e.g. rg-analytics-on='mouseover' means that analytics will be sent on mouseover,
|
|
77
|
+
* rg-analytics-on='click' - on click). If there is no attribute rg-analytics-on, the default value 'click' is used.
|
|
78
|
+
*/
|
|
79
|
+
|
|
80
|
+
angularModule.directive('rgAnalytics', ["analytics", function rgAnalyticsDirective(analytics) {
|
|
81
|
+
return {
|
|
82
|
+
restrict: 'A',
|
|
83
|
+
replace: false,
|
|
84
|
+
link: function link($scope, elem) {
|
|
85
|
+
const eventType = elem.attr('rg-analytics-on') || 'click';
|
|
86
|
+
angular.element(elem).bind(eventType, () => {
|
|
87
|
+
analytics.track(elem.attr('rg-analytics'));
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}]);
|
|
92
|
+
var analyticsNg = angularModule.name;
|
|
93
|
+
|
|
94
|
+
export { analyticsNg as default };
|
package/dist/auth/auth.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
1
|
import WindowFlow from './window-flow.js';
|
|
3
2
|
import onBackendDown from './down-notification.js';
|
|
4
3
|
import Auth from './auth__core.js';
|
|
5
4
|
export { DEFAULT_BACKGROUND_TIMEOUT, DEFAULT_EXPIRES_TIMEOUT, DOMAIN_USER_CHANGED_EVENT, LOGOUT_EVENT, LOGOUT_POSTPONED_EVENT, USER_CHANGED_EVENT, USER_CHANGE_POSTPONED_EVENT, default } from './auth__core.js';
|
|
5
|
+
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
6
6
|
import './response-parser.js';
|
|
7
7
|
import 'es6-error';
|
|
8
8
|
import '../global/url.js';
|
|
@@ -20,7 +20,8 @@ import '@jetbrains/icons/close';
|
|
|
20
20
|
import '../icon/icon.js';
|
|
21
21
|
import 'util-deprecate';
|
|
22
22
|
import '../icon/icon__constants.js';
|
|
23
|
-
import '../_helpers/
|
|
23
|
+
import '../_helpers/icon.js';
|
|
24
|
+
import '../icon/icon__svg.js';
|
|
24
25
|
import '../global/memoize.js';
|
|
25
26
|
import '../loader-inline/loader-inline.js';
|
|
26
27
|
import '../global/theme.js';
|
|
@@ -36,7 +37,9 @@ import '../alert/container.js';
|
|
|
36
37
|
import '../link/link.js';
|
|
37
38
|
import 'focus-visible';
|
|
38
39
|
import '../link/clickableLink.js';
|
|
40
|
+
import '../_helpers/link.js';
|
|
39
41
|
import '../group/group.js';
|
|
42
|
+
import '../_helpers/group.js';
|
|
40
43
|
import '../global/listeners.js';
|
|
41
44
|
import '../http/http.js';
|
|
42
45
|
import '../global/promise-with-timeout.js';
|
|
@@ -84,7 +87,7 @@ import './token-validator.js';
|
|
|
84
87
|
* Extend Auth config with non-required and not pure-JS stuff
|
|
85
88
|
*/
|
|
86
89
|
|
|
87
|
-
Auth.DEFAULT_CONFIG =
|
|
90
|
+
Auth.DEFAULT_CONFIG = { ...Auth.DEFAULT_CONFIG,
|
|
88
91
|
EmbeddedLoginFlow: WindowFlow,
|
|
89
92
|
onBackendDown: onBackendDown
|
|
90
|
-
}
|
|
93
|
+
};
|