@jetbrains/ring-ui-built 6.0.2 → 6.0.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/components/_helpers/_rollupPluginBabelHelpers.js +9 -12
- package/components/_helpers/anchor.js +1 -1
- package/components/_helpers/caption.js +1 -1
- package/components/_helpers/card.js +1 -1
- package/components/_helpers/icon__svg.js +1 -1
- package/components/_helpers/input.js +1 -1
- package/components/_helpers/query-assist__suggestions.js +1 -1
- package/components/_helpers/select__filter.js +1 -1
- package/components/_helpers/services-link.js +1 -1
- package/components/_helpers/sidebar.js +1 -1
- package/components/_helpers/tab-link.js +1 -1
- package/components/_helpers/theme.js +1 -1
- package/components/_helpers/title.js +1 -1
- package/components/alert/alert.js +1 -1
- package/components/alert/container.js +1 -1
- package/components/alert-service/alert-service.js +1 -1
- package/components/analytics/analytics.js +1 -1
- package/components/analytics/analytics__custom-plugin.js +1 -1
- package/components/auth/auth.js +1 -1
- package/components/auth/auth__core.js +1 -1
- package/components/auth/background-flow.js +1 -1
- package/components/auth/down-notification.js +1 -1
- package/components/auth/iframe-flow.js +1 -1
- package/components/auth/request-builder.js +1 -1
- package/components/auth/response-parser.js +1 -1
- package/components/auth/storage.js +1 -1
- package/components/auth/token-validator.js +1 -1
- package/components/auth/window-flow.js +1 -1
- package/components/auth-dialog/auth-dialog.js +1 -1
- package/components/auth-dialog-service/auth-dialog-service.js +1 -1
- package/components/avatar/avatar.js +1 -1
- package/components/avatar/fallback-avatar.js +1 -1
- package/components/badge/badge.js +1 -1
- package/components/button/button.js +1 -1
- package/components/button-group/button-group.js +1 -1
- package/components/button-set/button-set.js +1 -1
- package/components/button-toolbar/button-toolbar.js +1 -1
- package/components/caret/caret.js +1 -1
- package/components/checkbox/checkbox.js +1 -1
- package/components/clipboard/clipboard.js +1 -1
- package/components/code/code.js +1 -1
- package/components/collapse/collapse-content.d.ts +11 -0
- package/components/collapse/collapse-content.js +121 -0
- package/components/collapse/collapse-context.d.ts +10 -0
- package/components/collapse/collapse-context.js +12 -0
- package/components/collapse/collapse-control.d.ts +11 -0
- package/components/collapse/collapse-control.js +38 -0
- package/components/collapse/collapse.d.ts +12 -0
- package/components/collapse/collapse.js +41 -0
- package/components/collapse/consts.d.ts +4 -0
- package/components/collapse/consts.js +6 -0
- package/components/collapse/utils.d.ts +1 -0
- package/components/collapse/utils.js +5 -0
- package/components/confirm/confirm.js +1 -1
- package/components/confirm-service/confirm-service.js +1 -1
- package/components/content-layout/content-layout.js +1 -1
- package/components/contenteditable/contenteditable.js +1 -1
- package/components/control-label/control-label.js +1 -1
- package/components/data-list/data-list.js +1 -1
- package/components/data-list/item.js +1 -1
- package/components/data-list/selection.js +1 -1
- package/components/date-picker/consts.js +1 -1
- package/components/date-picker/date-input.js +1 -1
- package/components/date-picker/date-picker.js +8 -8
- package/components/date-picker/date-popup.js +5 -5
- package/components/date-picker/day.js +10 -10
- package/components/date-picker/month-names.js +7 -7
- package/components/date-picker/month-slider.js +4 -4
- package/components/date-picker/month.js +6 -6
- package/components/date-picker/months.js +7 -7
- package/components/date-picker/weekdays.js +4 -4
- package/components/date-picker/years.js +12 -12
- package/components/dialog/dialog.js +1 -1
- package/components/dropdown/dropdown.js +1 -1
- package/components/dropdown-menu/dropdown-menu.js +1 -1
- package/components/editable-heading/editable-heading.js +1 -1
- package/components/error-bubble/error-bubble.js +1 -1
- package/components/error-message/error-message.js +1 -1
- package/components/global/create-stateful-context.js +1 -1
- package/components/global/data-tests.js +1 -1
- package/components/global/dom.js +1 -1
- package/components/global/focus-sensor-hoc.js +1 -1
- package/components/global/inject-styles.js +1 -1
- package/components/global/listeners.js +1 -1
- package/components/global/react-dom-renderer.js +1 -1
- package/components/global/rerender-hoc.js +1 -1
- package/components/grid/col.js +1 -1
- package/components/grid/grid.js +1 -1
- package/components/grid/row.js +1 -1
- package/components/group/group.js +1 -1
- package/components/header/header.js +1 -1
- package/components/header/logo.js +1 -1
- package/components/header/profile.js +1 -1
- package/components/header/services.js +1 -1
- package/components/header/smart-profile.js +1 -1
- package/components/header/smart-services.js +1 -1
- package/components/header/tray-icon.js +1 -1
- package/components/header/tray.js +1 -1
- package/components/heading/heading.js +1 -1
- package/components/http/http.js +1 -1
- package/components/http/http.mock.js +1 -1
- package/components/hub-source/hub-source.js +1 -1
- package/components/hub-source/hub-source__user.js +1 -1
- package/components/hub-source/hub-source__users-groups.js +1 -1
- package/components/i18n/i18n.js +1 -1
- package/components/icon/icon.js +1 -1
- package/components/island/adaptive-island-hoc.js +1 -1
- package/components/island/content.js +1 -1
- package/components/island/header.js +1 -1
- package/components/island/island.js +1 -1
- package/components/island-legacy/content-legacy.js +1 -1
- package/components/island-legacy/header-legacy.js +1 -1
- package/components/island-legacy/island-legacy.js +1 -1
- package/components/link/clickableLink.js +1 -1
- package/components/link/link.js +1 -1
- package/components/list/list.js +1 -1
- package/components/list/list__custom.js +1 -1
- package/components/list/list__hint.js +1 -1
- package/components/list/list__item.js +1 -1
- package/components/list/list__link.js +1 -1
- package/components/list/list__separator.js +1 -1
- package/components/list/list__title.js +1 -1
- package/components/list/list__users-groups-source.js +1 -1
- package/components/loader/loader.js +1 -1
- package/components/loader/loader__core.js +1 -1
- package/components/loader-inline/loader-inline.js +1 -1
- package/components/loader-screen/loader-screen.js +1 -1
- package/components/login-dialog/login-dialog.js +1 -1
- package/components/login-dialog/service.js +1 -1
- package/components/markdown/markdown.js +1 -1
- package/components/message/message.js +1 -1
- package/components/old-browsers-message/white-list.js +3 -3
- package/components/pager/pager.js +1 -1
- package/components/panel/panel.js +1 -1
- package/components/permissions/permissions.js +1 -1
- package/components/permissions/permissions__cache.js +1 -1
- package/components/popup/popup.js +1 -1
- package/components/popup/popup.target.js +1 -1
- package/components/popup/position.js +1 -1
- package/components/popup-menu/popup-menu.js +1 -1
- package/components/progress-bar/progress-bar.js +1 -1
- package/components/query-assist/query-assist.js +1 -1
- package/components/radio/radio.js +1 -1
- package/components/radio/radio__item.js +1 -1
- package/components/select/select.js +1 -1
- package/components/select/select__popup.js +5 -5
- package/components/shortcuts/core.js +1 -1
- package/components/shortcuts/shortcuts-hoc.js +1 -1
- package/components/shortcuts/shortcuts.js +1 -1
- package/components/storage/storage__fallback.js +1 -1
- package/components/storage/storage__local.js +1 -1
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.js +1 -1
- package/components/table/cell.js +1 -1
- package/components/table/disable-hover-hoc.js +1 -1
- package/components/table/header-cell.js +1 -1
- package/components/table/header.js +1 -1
- package/components/table/multitable.js +1 -1
- package/components/table/row-with-focus-sensor.js +1 -1
- package/components/table/row.js +1 -1
- package/components/table/selection-shortcuts-hoc.js +1 -1
- package/components/table/selection.js +1 -1
- package/components/table/smart-table.js +1 -1
- package/components/table/table.js +1 -1
- package/components/tabs/collapsible-more.js +1 -1
- package/components/tabs/collapsible-tab.js +1 -1
- package/components/tabs/collapsible-tabs.js +1 -1
- package/components/tabs/dumb-tabs.js +1 -1
- package/components/tabs/smart-tabs.js +1 -1
- package/components/tabs/tab.js +1 -1
- package/components/tag/tag.js +1 -1
- package/components/tags-input/tags-input.js +2 -2
- package/components/tags-list/tags-list.js +1 -1
- package/components/text/text.js +1 -1
- package/components/toggle/toggle.js +1 -1
- package/components/tooltip/tooltip.js +1 -1
- package/components/user-agreement/service.js +1 -1
- package/components/user-agreement/user-agreement.js +1 -1
- package/components/user-card/smart-user-card-tooltip.js +46 -46
- package/components/user-card/tooltip.js +1 -1
- package/package.json +5 -5
@@ -0,0 +1,6 @@
|
|
1
|
+
var COLLAPSE_CONTROL_TEST_ID = 'ring-collapse-control';
|
2
|
+
var COLLAPSE_CONTENT_CONTAINER_TEST_ID = 'ring-collapse-content-container';
|
3
|
+
var COLLAPSE_CONTENT_TEST_ID = 'ring-collapse-content';
|
4
|
+
var BASE_ANIMATION_DURATION = 200;
|
5
|
+
|
6
|
+
export { BASE_ANIMATION_DURATION, COLLAPSE_CONTENT_CONTAINER_TEST_ID, COLLAPSE_CONTENT_TEST_ID, COLLAPSE_CONTROL_TEST_ID };
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const toPx: (value: number) => string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.symbol.js';
|
4
4
|
import 'core-js/modules/es.symbol.description.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { g as _objectWithoutProperties, h as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.symbol.js';
|
3
3
|
import 'core-js/modules/es.symbol.description.js';
|
4
4
|
import 'core-js/modules/es.object.to-string.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
4
4
|
import 'core-js/modules/es.promise.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty,
|
1
|
+
import { _ as _defineProperty, h as _objectSpread2, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { Component } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import { renderToStaticMarkup } from 'react-dom/server';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass, h as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.map.js';
|
4
4
|
import React, { Component, PureComponent } from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.map.js';
|
4
4
|
import React, { PureComponent } from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, l as _toConsumableArray, n as _get, o as _getPrototypeOf } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.iterator.js';
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
4
4
|
import 'core-js/modules/es.set.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as _inherits, b as _createSuper,
|
1
|
+
import { a as _inherits, b as _createSuper, f as _createClass, _ as _defineProperty, c as _classCallCheck, d as _assertThisInitialized } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.regexp.exec.js';
|
4
4
|
import 'core-js/modules/es.string.replace.js';
|
@@ -1,17 +1,17 @@
|
|
1
|
-
import { _ as _defineProperty,
|
1
|
+
import { _ as _defineProperty, k as _slicedToArray, m as _createForOfIteratorHelper, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass, g as _objectWithoutProperties, i as _extends, h as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.object.values.js';
|
4
4
|
import 'core-js/modules/es.array.map.js';
|
5
5
|
import React, { PureComponent } from 'react';
|
6
6
|
import PropTypes from 'prop-types';
|
7
7
|
import classNames from 'classnames';
|
8
|
-
import format from 'date-fns/format';
|
9
|
-
import isSameDay from 'date-fns/isSameDay';
|
10
|
-
import isSameMonth from 'date-fns/isSameMonth';
|
11
|
-
import isSameYear from 'date-fns/isSameYear';
|
12
|
-
import isValid from 'date-fns/isValid';
|
13
|
-
import parse from 'date-fns/parse';
|
14
|
-
import set from 'date-fns/set';
|
8
|
+
import { format } from 'date-fns/format';
|
9
|
+
import { isSameDay } from 'date-fns/isSameDay';
|
10
|
+
import { isSameMonth } from 'date-fns/isSameMonth';
|
11
|
+
import { isSameYear } from 'date-fns/isSameYear';
|
12
|
+
import { isValid } from 'date-fns/isValid';
|
13
|
+
import { parse } from 'date-fns/parse';
|
14
|
+
import { set } from 'date-fns/set';
|
15
15
|
import calendarIcon from '@jetbrains/icons/calendar';
|
16
16
|
import chevronDownIcon from '@jetbrains/icons/chevron-down';
|
17
17
|
import memoize from '../global/memoize.js';
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, h as _objectSpread2, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.reduce.js';
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
4
4
|
import 'core-js/modules/es.array.map.js';
|
5
5
|
import React, { Component } from 'react';
|
6
6
|
import PropTypes from 'prop-types';
|
7
|
-
import isAfter from 'date-fns/isAfter';
|
8
|
-
import isBefore from 'date-fns/isBefore';
|
9
|
-
import isSameDay from 'date-fns/isSameDay';
|
10
|
-
import startOfDay from 'date-fns/startOfDay';
|
7
|
+
import { isAfter } from 'date-fns/isAfter';
|
8
|
+
import { isBefore } from 'date-fns/isBefore';
|
9
|
+
import { isSameDay } from 'date-fns/isSameDay';
|
10
|
+
import { startOfDay } from 'date-fns/startOfDay';
|
11
11
|
import { set } from 'date-fns';
|
12
12
|
import memoize from '../global/memoize.js';
|
13
13
|
import DateInput from './date-input.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
4
4
|
import 'core-js/modules/es.array.includes.js';
|
@@ -6,15 +6,15 @@ import 'core-js/modules/es.string.includes.js';
|
|
6
6
|
import React, { Component } from 'react';
|
7
7
|
import PropTypes from 'prop-types';
|
8
8
|
import classNames from 'classnames';
|
9
|
-
import addDays from 'date-fns/addDays';
|
10
|
-
import format from 'date-fns/format';
|
11
|
-
import getDay from 'date-fns/getDay';
|
12
|
-
import getDate from 'date-fns/getDate';
|
13
|
-
import isAfter from 'date-fns/isAfter';
|
14
|
-
import isBefore from 'date-fns/isBefore';
|
15
|
-
import isSameDay from 'date-fns/isSameDay';
|
16
|
-
import isToday from 'date-fns/isToday';
|
17
|
-
import startOfDay from 'date-fns/startOfDay';
|
9
|
+
import { addDays } from 'date-fns/addDays';
|
10
|
+
import { format } from 'date-fns/format';
|
11
|
+
import { getDay } from 'date-fns/getDay';
|
12
|
+
import { getDate } from 'date-fns/getDate';
|
13
|
+
import { isAfter } from 'date-fns/isAfter';
|
14
|
+
import { isBefore } from 'date-fns/isBefore';
|
15
|
+
import { isSameDay } from 'date-fns/isSameDay';
|
16
|
+
import { isToday } from 'date-fns/isToday';
|
17
|
+
import { startOfDay } from 'date-fns/startOfDay';
|
18
18
|
import { dateType, weekdays } from './consts.js';
|
19
19
|
import { m as modules_0c7b7d96 } from '../_helpers/date-picker.js';
|
20
20
|
import 'core-js/modules/es.regexp.exec.js';
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import { _ as _defineProperty,
|
1
|
+
import { _ as _defineProperty, k as _slicedToArray, i as _extends, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.map.js';
|
4
4
|
import React, { PureComponent } from 'react';
|
5
5
|
import PropTypes from 'prop-types';
|
6
6
|
import classNames from 'classnames';
|
7
|
-
import endOfMonth from 'date-fns/endOfMonth';
|
8
|
-
import format from 'date-fns/format';
|
9
|
-
import isThisMonth from 'date-fns/isThisMonth';
|
10
|
-
import set from 'date-fns/set';
|
11
|
-
import startOfDay from 'date-fns/startOfDay';
|
12
|
-
import startOfYear from 'date-fns/startOfYear';
|
7
|
+
import { endOfMonth } from 'date-fns/endOfMonth';
|
8
|
+
import { format } from 'date-fns/format';
|
9
|
+
import { isThisMonth } from 'date-fns/isThisMonth';
|
10
|
+
import { set } from 'date-fns/set';
|
11
|
+
import { startOfDay } from 'date-fns/startOfDay';
|
12
|
+
import { startOfYear } from 'date-fns/startOfYear';
|
13
13
|
import linearFunction from '../global/linear-function.js';
|
14
14
|
import MonthSlider from './month-slider.js';
|
15
15
|
import { dateType, YEAR, MIDDLE_DAY, yearScrollSpeed } from './consts.js';
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.map.js';
|
4
4
|
import React, { PureComponent } from 'react';
|
5
5
|
import PropTypes from 'prop-types';
|
6
6
|
import classNames from 'classnames';
|
7
|
-
import addYears from 'date-fns/addYears';
|
8
|
-
import startOfDay from 'date-fns/startOfDay';
|
9
|
-
import subYears from 'date-fns/subYears';
|
7
|
+
import { addYears } from 'date-fns/addYears';
|
8
|
+
import { startOfDay } from 'date-fns/startOfDay';
|
9
|
+
import { subYears } from 'date-fns/subYears';
|
10
10
|
import linearFunction from '../global/linear-function.js';
|
11
11
|
import units, { dateType, yearScrollSpeed } from './consts.js';
|
12
12
|
import { m as modules_0c7b7d96 } from '../_helpers/date-picker.js';
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.map.js';
|
3
3
|
import React from 'react';
|
4
|
-
import addDays from 'date-fns/addDays';
|
5
|
-
import endOfMonth from 'date-fns/endOfMonth';
|
6
|
-
import format from 'date-fns/format';
|
7
|
-
import getDay from 'date-fns/getDay';
|
8
|
-
import setDay from 'date-fns/setDay';
|
4
|
+
import { addDays } from 'date-fns/addDays';
|
5
|
+
import { endOfMonth } from 'date-fns/endOfMonth';
|
6
|
+
import { format } from 'date-fns/format';
|
7
|
+
import { getDay } from 'date-fns/getDay';
|
8
|
+
import { setDay } from 'date-fns/setDay';
|
9
9
|
import PropTypes from 'prop-types';
|
10
10
|
import Day from './day.js';
|
11
11
|
import { dateType, weekdays, WEEK } from './consts.js';
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import {
|
1
|
+
import { i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.map.js';
|
3
3
|
import React, { useMemo, useRef, useEffect } from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
5
|
-
import addMonths from 'date-fns/addMonths';
|
6
|
-
import getDay from 'date-fns/getDay';
|
7
|
-
import getDaysInMonth from 'date-fns/getDaysInMonth';
|
8
|
-
import startOfMonth from 'date-fns/startOfMonth';
|
9
|
-
import subMonths from 'date-fns/subMonths';
|
10
|
-
import endOfMonth from 'date-fns/endOfMonth';
|
5
|
+
import { addMonths } from 'date-fns/addMonths';
|
6
|
+
import { getDay } from 'date-fns/getDay';
|
7
|
+
import { getDaysInMonth } from 'date-fns/getDaysInMonth';
|
8
|
+
import { startOfMonth } from 'date-fns/startOfMonth';
|
9
|
+
import { subMonths } from 'date-fns/subMonths';
|
10
|
+
import { endOfMonth } from 'date-fns/endOfMonth';
|
11
11
|
import scheduleRAF from '../global/schedule-raf.js';
|
12
12
|
import linearFunction from '../global/linear-function.js';
|
13
13
|
import useEventCallback from '../global/use-event-callback.js';
|
@@ -4,10 +4,10 @@ import 'core-js/modules/es.array.includes.js';
|
|
4
4
|
import 'core-js/modules/es.string.includes.js';
|
5
5
|
import React from 'react';
|
6
6
|
import classNames from 'classnames';
|
7
|
-
import getDay from 'date-fns/getDay';
|
8
|
-
import format from 'date-fns/format';
|
9
|
-
import setDay from 'date-fns/setDay';
|
10
|
-
import startOfDay from 'date-fns/startOfDay';
|
7
|
+
import { getDay } from 'date-fns/getDay';
|
8
|
+
import { format } from 'date-fns/format';
|
9
|
+
import { setDay } from 'date-fns/setDay';
|
10
|
+
import { startOfDay } from 'date-fns/startOfDay';
|
11
11
|
import PropTypes from 'prop-types';
|
12
12
|
import { weekdays } from './consts.js';
|
13
13
|
import { m as modules_0c7b7d96 } from '../_helpers/date-picker.js';
|
@@ -1,17 +1,17 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.map.js';
|
4
4
|
import React, { createRef, PureComponent } from 'react';
|
5
5
|
import PropTypes from 'prop-types';
|
6
6
|
import classNames from 'classnames';
|
7
|
-
import addYears from 'date-fns/addYears';
|
8
|
-
import getYear from 'date-fns/getYear';
|
9
|
-
import format from 'date-fns/format';
|
10
|
-
import isSameYear from 'date-fns/isSameYear';
|
11
|
-
import isThisYear from 'date-fns/isThisYear';
|
12
|
-
import
|
13
|
-
import startOfYear from 'date-fns/startOfYear';
|
14
|
-
import subYears from 'date-fns/subYears';
|
7
|
+
import { addYears } from 'date-fns/addYears';
|
8
|
+
import { getYear } from 'date-fns/getYear';
|
9
|
+
import { format } from 'date-fns/format';
|
10
|
+
import { isSameYear } from 'date-fns/isSameYear';
|
11
|
+
import { isThisYear } from 'date-fns/isThisYear';
|
12
|
+
import { setYear } from 'date-fns/setYear';
|
13
|
+
import { startOfYear } from 'date-fns/startOfYear';
|
14
|
+
import { subYears } from 'date-fns/subYears';
|
15
15
|
import linearFunction from '../global/linear-function.js';
|
16
16
|
import { m as modules_0c7b7d96 } from '../_helpers/date-picker.js';
|
17
17
|
import units, { dateType, yearDuration, DOUBLE, HALF } from './consts.js';
|
@@ -76,7 +76,7 @@ var Years = /*#__PURE__*/function (_PureComponent) {
|
|
76
76
|
}
|
77
77
|
}, {
|
78
78
|
key: "setYear",
|
79
|
-
value: function setYear(date) {
|
79
|
+
value: function setYear$1(date) {
|
80
80
|
if (scrollTO) {
|
81
81
|
window.clearTimeout(scrollTO);
|
82
82
|
scrollTO = null;
|
@@ -84,7 +84,7 @@ var Years = /*#__PURE__*/function (_PureComponent) {
|
|
84
84
|
this.setState({
|
85
85
|
scrollDate: null
|
86
86
|
});
|
87
|
-
this.props.onScroll(Number(
|
87
|
+
this.props.onScroll(Number(setYear(this.props.scrollDate, getYear(date))));
|
88
88
|
}
|
89
89
|
}, {
|
90
90
|
key: "render",
|
@@ -117,7 +117,7 @@ var Years = /*#__PURE__*/function (_PureComponent) {
|
|
117
117
|
[modules_0c7b7d96.today]: isThisYear(item)
|
118
118
|
}),
|
119
119
|
onClick: function handleClick() {
|
120
|
-
onScrollChange(Number(
|
120
|
+
onScrollChange(Number(setYear(scrollDate, getYear(item))));
|
121
121
|
}
|
122
122
|
}, format(item, 'yyyy'));
|
123
123
|
}));
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import React, { PureComponent } from 'react';
|
4
4
|
import { createPortal } from 'react-dom';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import React, { cloneElement, Component } from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { g as _objectWithoutProperties, h as _objectSpread2, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.object.assign.js';
|
3
3
|
import React, { useMemo, cloneElement } from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { g as _objectWithoutProperties, k as _slicedToArray, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.string.trim.js';
|
3
3
|
import React, { useCallback, useEffect } from 'react';
|
4
4
|
import classNames from 'classnames';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, h as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.map.js';
|
3
3
|
import React, { Children, cloneElement, PureComponent } from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.symbol.js';
|
3
3
|
import 'core-js/modules/es.symbol.description.js';
|
4
4
|
import React, { Component } from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { k as _slicedToArray } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { memo, createContext, useState, useContext, useEffect } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { l as _toConsumableArray,
|
1
|
+
import { l as _toConsumableArray, k as _slicedToArray } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.reduce.js';
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
4
4
|
import 'core-js/modules/es.object.entries.js';
|
package/components/global/dom.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { k as _slicedToArray, f as _createClass, c as _classCallCheck, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.object.assign.js';
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
4
4
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { h as _objectSpread2, g as _objectWithoutProperties, a as _inherits, b as _createSuper, c as _classCallCheck, _ as _defineProperty, d as _assertThisInitialized, f as _createClass, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import React, { Component } from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { k as _slicedToArray } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.map.js';
|
4
4
|
import 'core-js/modules/es.object.entries.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { f as _createClass, l as _toConsumableArray, c as _classCallCheck, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.iterator.js';
|
3
3
|
import 'core-js/modules/es.map.js';
|
4
4
|
import 'core-js/modules/es.object.to-string.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
4
4
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as _inherits, b as _createSuper, c as _classCallCheck, _ as _defineProperty,
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, _ as _defineProperty, d as _assertThisInitialized, f as _createClass, i as _extends, h as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import React, { forwardRef, Component } from 'react';
|
4
4
|
import composeRefs from './composeRefs.js';
|
package/components/grid/col.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, k as _slicedToArray } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.map.js';
|
3
3
|
import 'core-js/modules/es.array.filter.js';
|
4
4
|
import 'core-js/modules/es.object.to-string.js';
|
package/components/grid/grid.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { Component } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|
package/components/grid/row.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.reduce.js';
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
4
4
|
import 'core-js/modules/es.array.concat.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { Component } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { Component } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { PureComponent } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.filter.js';
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
4
4
|
import React, { Component, PureComponent } from 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass, g as _objectWithoutProperties, i as _extends, l as _toConsumableArray } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.sort.js';
|
4
4
|
import 'core-js/modules/es.array.filter.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, e as _asyncToGenerator, f as _createClass, g as _objectWithoutProperties, i as _extends, j as _regeneratorRuntime } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import React, { PureComponent } from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import React, { Component } from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty,
|
1
|
+
import { _ as _defineProperty, h as _objectSpread2, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { Component } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.map.js';
|
3
3
|
import React, { Children, Component } from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { memo } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|
package/components/http/http.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as _inherits, b as _createSuper, c as _classCallCheck, _ as _defineProperty,
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, _ as _defineProperty, d as _assertThisInitialized, f as _createClass, g as _objectWithoutProperties, h as _objectSpread2, k as _slicedToArray, e as _asyncToGenerator, j as _regeneratorRuntime } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.iterator.js';
|
4
4
|
import 'core-js/modules/es.object.to-string.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as _inherits, b as _createSuper, c as _classCallCheck, _ as _defineProperty,
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, _ as _defineProperty, d as _assertThisInitialized, f as _createClass, l as _toConsumableArray, h as _objectSpread2, m as _createForOfIteratorHelper } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.object.to-string.js';
|
3
3
|
import 'core-js/modules/es.promise.js';
|
4
4
|
import 'core-js/modules/es.array.iterator.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty,
|
1
|
+
import { _ as _defineProperty, f as _createClass, c as _classCallCheck, e as _asyncToGenerator, j as _regeneratorRuntime } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.object.assign.js';
|
4
4
|
import 'core-js/modules/es.array.index-of.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { e as _asyncToGenerator, j as _regeneratorRuntime } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import HTTP from '../http/http.js';
|
4
4
|
import 'core-js/modules/es.array.iterator.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { f as _createClass, c as _classCallCheck, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.object.assign.js';
|
3
3
|
import 'core-js/modules/es.array.concat.js';
|
4
4
|
import 'core-js/modules/es.array.index-of.js';
|
package/components/i18n/i18n.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { h as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.iterator.js';
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
4
4
|
import 'core-js/modules/es.set.js';
|
package/components/icon/icon.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { PureComponent } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|