rsuite 5.59.0 → 5.59.2
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/AvatarGroup/styles/index.css +2 -0
- package/AvatarGroup/styles/index.less +2 -0
- package/CHANGELOG.md +26 -0
- package/CheckPicker/styles/index.css +2 -0
- package/CheckTree/styles/index.css +2 -0
- package/CheckTreePicker/styles/index.css +2 -0
- package/Checkbox/styles/index.css +2 -0
- package/Checkbox/styles/index.less +2 -0
- package/DateRangePicker/styles/index.css +27 -0
- package/DateRangePicker/styles/index.less +27 -0
- package/MultiCascadeTree/styles/index.css +2 -0
- package/MultiCascader/styles/index.css +2 -0
- package/Placeholder/styles/index.css +42 -6
- package/Placeholder/styles/index.less +18 -9
- package/Placeholder/styles/mixin.less +7 -0
- package/Sidenav/styles/index.css +3 -0
- package/Sidenav/styles/index.less +4 -0
- package/TagInput/styles/index.css +2 -0
- package/TagPicker/styles/index.css +2 -0
- package/cjs/@types/common.d.ts +1 -1
- package/cjs/Avatar/Avatar.js +16 -8
- package/cjs/Avatar/useImage.js +0 -1
- package/cjs/AvatarGroup/AvatarGroup.d.ts +1 -0
- package/cjs/AvatarGroup/AvatarGroup.js +12 -12
- package/cjs/Calendar/CalendarContainer.js +4 -4
- package/cjs/Checkbox/Checkbox.js +1 -1
- package/cjs/DatePicker/DatePicker.d.ts +3 -38
- package/cjs/DatePicker/DatePicker.js +86 -137
- package/cjs/DatePicker/PredefinedRanges.d.ts +1 -1
- package/cjs/DatePicker/PredefinedRanges.js +3 -3
- package/cjs/DatePicker/Toolbar.d.ts +1 -1
- package/cjs/DatePicker/Toolbar.js +13 -12
- package/cjs/DatePicker/hooks/useFocus.d.ts +13 -0
- package/cjs/DatePicker/hooks/useFocus.js +96 -0
- package/cjs/DatePicker/hooks/useMonthView.d.ts +10 -0
- package/cjs/DatePicker/hooks/useMonthView.js +28 -0
- package/cjs/DatePicker/index.d.ts +2 -1
- package/cjs/DatePicker/types.d.ts +37 -0
- package/cjs/DatePicker/utils.d.ts +9 -0
- package/cjs/DatePicker/utils.js +20 -2
- package/cjs/DateRangePicker/DateRangePicker.d.ts +15 -3
- package/cjs/DateRangePicker/DateRangePicker.js +58 -68
- package/cjs/DateRangePicker/DateRangePickerContext.d.ts +4 -1
- package/cjs/DateRangePicker/DateRangePickerContext.js +4 -4
- package/cjs/DateRangePicker/Header.d.ts +11 -0
- package/cjs/DateRangePicker/Header.js +65 -0
- package/cjs/DateRangePicker/disabledDateUtils.d.ts +1 -1
- package/cjs/DateRangePicker/disabledDateUtils.js +1 -1
- package/cjs/DateRangePicker/index.js +5 -0
- package/cjs/Form/Form.d.ts +56 -39
- package/cjs/Form/Form.js +70 -208
- package/cjs/Form/FormContext.d.ts +13 -10
- package/cjs/Form/FormContext.js +11 -5
- package/cjs/Form/{useFormClassNames.d.ts → hooks/useFormClassNames.d.ts} +2 -2
- package/cjs/Form/{useFormClassNames.js → hooks/useFormClassNames.js} +2 -2
- package/cjs/Form/hooks/useFormRef.d.ts +55 -0
- package/cjs/Form/hooks/useFormRef.js +45 -0
- package/cjs/Form/hooks/useFormValidate.d.ts +19 -0
- package/cjs/Form/hooks/useFormValidate.js +157 -0
- package/cjs/Form/hooks/useFormValue.d.ts +7 -0
- package/cjs/Form/hooks/useFormValue.js +42 -0
- package/cjs/Form/{useSchemaModel.js → hooks/useSchemaModel.js} +5 -0
- package/cjs/Form/index.d.ts +3 -2
- package/cjs/Form/index.js +3 -9
- package/cjs/FormControl/FormControl.d.ts +1 -1
- package/cjs/FormControl/FormControl.js +51 -69
- package/cjs/FormControl/hooks/useField.d.ts +18 -0
- package/cjs/FormControl/hooks/useField.js +54 -0
- package/cjs/FormControl/hooks/useRegisterModel.d.ts +3 -0
- package/cjs/FormControl/hooks/useRegisterModel.js +22 -0
- package/cjs/FormControl/utils.d.ts +1 -0
- package/cjs/FormControl/utils.js +8 -0
- package/cjs/FormControlLabel/FormControlLabel.js +12 -9
- package/cjs/FormErrorMessage/FormErrorMessage.js +2 -5
- package/cjs/FormGroup/FormGroup.d.ts +18 -4
- package/cjs/FormGroup/FormGroup.js +28 -2
- package/cjs/FormGroup/index.d.ts +1 -0
- package/cjs/FormGroup/index.js +4 -3
- package/cjs/FormHelpText/FormHelpText.d.ts +2 -1
- package/cjs/FormHelpText/FormHelpText.js +16 -9
- package/cjs/Input/Input.js +4 -5
- package/cjs/Placeholder/PlaceholderGraph.d.ts +13 -1
- package/cjs/Placeholder/PlaceholderGrid.d.ts +27 -1
- package/cjs/Placeholder/PlaceholderGrid.js +10 -13
- package/cjs/Placeholder/PlaceholderParagraph.d.ts +24 -1
- package/cjs/Placeholder/PlaceholderParagraph.js +13 -9
- package/cjs/utils/dateUtils.d.ts +72 -10
- package/cjs/utils/dateUtils.js +88 -29
- package/dist/rsuite-no-reset-rtl.css +76 -6
- package/dist/rsuite-no-reset-rtl.min.css +1 -1
- package/dist/rsuite-no-reset-rtl.min.css.map +1 -1
- package/dist/rsuite-no-reset.css +76 -6
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +76 -6
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +76 -6
- package/dist/rsuite.js +221 -57
- package/dist/rsuite.js.map +1 -1
- package/dist/rsuite.min.css +1 -1
- package/dist/rsuite.min.css.map +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.LICENSE.txt +35 -0
- package/dist/rsuite.min.js.map +1 -1
- package/esm/@types/common.d.ts +1 -1
- package/esm/Avatar/Avatar.js +12 -4
- package/esm/Avatar/useImage.js +0 -1
- package/esm/AvatarGroup/AvatarGroup.d.ts +1 -0
- package/esm/AvatarGroup/AvatarGroup.js +12 -12
- package/esm/Calendar/CalendarContainer.js +5 -5
- package/esm/Checkbox/Checkbox.js +1 -1
- package/esm/DatePicker/DatePicker.d.ts +3 -38
- package/esm/DatePicker/DatePicker.js +88 -139
- package/esm/DatePicker/PredefinedRanges.d.ts +1 -1
- package/esm/DatePicker/PredefinedRanges.js +3 -3
- package/esm/DatePicker/Toolbar.d.ts +1 -1
- package/esm/DatePicker/Toolbar.js +13 -12
- package/esm/DatePicker/hooks/useFocus.d.ts +13 -0
- package/esm/DatePicker/hooks/useFocus.js +90 -0
- package/esm/DatePicker/hooks/useMonthView.d.ts +10 -0
- package/esm/DatePicker/hooks/useMonthView.js +22 -0
- package/esm/DatePicker/index.d.ts +2 -1
- package/esm/DatePicker/types.d.ts +37 -0
- package/esm/DatePicker/utils.d.ts +9 -0
- package/esm/DatePicker/utils.js +18 -2
- package/esm/DateRangePicker/DateRangePicker.d.ts +15 -3
- package/esm/DateRangePicker/DateRangePicker.js +61 -71
- package/esm/DateRangePicker/DateRangePickerContext.d.ts +4 -1
- package/esm/DateRangePicker/DateRangePickerContext.js +2 -2
- package/esm/DateRangePicker/Header.d.ts +11 -0
- package/esm/DateRangePicker/Header.js +59 -0
- package/esm/DateRangePicker/disabledDateUtils.d.ts +1 -1
- package/esm/DateRangePicker/disabledDateUtils.js +1 -1
- package/esm/DateRangePicker/index.js +4 -0
- package/esm/Form/Form.d.ts +56 -39
- package/esm/Form/Form.js +68 -205
- package/esm/Form/FormContext.d.ts +13 -10
- package/esm/Form/FormContext.js +6 -2
- package/esm/Form/{useFormClassNames.d.ts → hooks/useFormClassNames.d.ts} +2 -2
- package/esm/Form/{useFormClassNames.js → hooks/useFormClassNames.js} +2 -2
- package/esm/Form/hooks/useFormRef.d.ts +55 -0
- package/esm/Form/hooks/useFormRef.js +40 -0
- package/esm/Form/hooks/useFormValidate.d.ts +19 -0
- package/esm/Form/hooks/useFormValidate.js +152 -0
- package/esm/Form/hooks/useFormValue.d.ts +7 -0
- package/esm/Form/hooks/useFormValue.js +37 -0
- package/esm/Form/{useSchemaModel.js → hooks/useSchemaModel.js} +5 -0
- package/esm/Form/index.d.ts +3 -2
- package/esm/Form/index.js +1 -1
- package/esm/FormControl/FormControl.d.ts +1 -1
- package/esm/FormControl/FormControl.js +49 -67
- package/esm/FormControl/hooks/useField.d.ts +18 -0
- package/esm/FormControl/hooks/useField.js +48 -0
- package/esm/FormControl/hooks/useRegisterModel.d.ts +3 -0
- package/esm/FormControl/hooks/useRegisterModel.js +17 -0
- package/esm/FormControl/utils.d.ts +1 -0
- package/esm/FormControl/utils.js +4 -0
- package/esm/FormControlLabel/FormControlLabel.js +12 -8
- package/esm/FormErrorMessage/FormErrorMessage.js +2 -5
- package/esm/FormGroup/FormGroup.d.ts +18 -4
- package/esm/FormGroup/FormGroup.js +27 -1
- package/esm/FormGroup/index.d.ts +1 -0
- package/esm/FormGroup/index.js +1 -0
- package/esm/FormHelpText/FormHelpText.d.ts +2 -1
- package/esm/FormHelpText/FormHelpText.js +17 -9
- package/esm/Input/Input.js +4 -5
- package/esm/Placeholder/PlaceholderGraph.d.ts +13 -1
- package/esm/Placeholder/PlaceholderGrid.d.ts +27 -1
- package/esm/Placeholder/PlaceholderGrid.js +10 -13
- package/esm/Placeholder/PlaceholderParagraph.d.ts +24 -1
- package/esm/Placeholder/PlaceholderParagraph.js +12 -8
- package/esm/utils/dateUtils.d.ts +72 -10
- package/esm/utils/dateUtils.js +86 -28
- package/package.json +2 -2
- package/cjs/FormControl/useRegisterModel.d.ts +0 -4
- package/cjs/FormControl/useRegisterModel.js +0 -18
- package/esm/FormControl/useRegisterModel.d.ts +0 -4
- package/esm/FormControl/useRegisterModel.js +0 -13
- /package/cjs/Form/{useSchemaModel.d.ts → hooks/useSchemaModel.d.ts} +0 -0
- /package/esm/Form/{useSchemaModel.d.ts → hooks/useSchemaModel.d.ts} +0 -0
package/cjs/utils/dateUtils.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
5
|
exports.__esModule = true;
|
|
6
|
-
exports.
|
|
6
|
+
exports.disableTime = disableTime;
|
|
7
7
|
exports.getMonthView = getMonthView;
|
|
8
8
|
exports.copyTime = copyTime;
|
|
9
9
|
exports.reverseDateRangeOmitTime = reverseDateRangeOmitTime;
|
|
@@ -100,67 +100,116 @@ var _isLastDayOfMonth = _interopRequireDefault(require("date-fns/isLastDayOfMont
|
|
|
100
100
|
exports.isLastDayOfMonth = _isLastDayOfMonth.default;
|
|
101
101
|
var _lastDayOfMonth = _interopRequireDefault(require("date-fns/lastDayOfMonth"));
|
|
102
102
|
exports.lastDayOfMonth = _lastDayOfMonth.default;
|
|
103
|
-
var
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
var TimeProp;
|
|
104
|
+
(function (TimeProp) {
|
|
105
|
+
TimeProp["DisabledHours"] = "disabledHours";
|
|
106
|
+
TimeProp["DisabledMinutes"] = "disabledMinutes";
|
|
107
|
+
TimeProp["DisabledSeconds"] = "disabledSeconds";
|
|
108
|
+
TimeProp["ShouldDisableHour"] = "shouldDisableHour";
|
|
109
|
+
TimeProp["ShouldDisableMinute"] = "shouldDisableMinute";
|
|
110
|
+
TimeProp["ShouldDisableSecond"] = "shouldDisableSecond";
|
|
111
|
+
TimeProp["HideHours"] = "hideHours";
|
|
112
|
+
TimeProp["HideMinutes"] = "hideMinutes";
|
|
113
|
+
TimeProp["HideSeconds"] = "hideSeconds";
|
|
114
|
+
})(TimeProp || (TimeProp = {}));
|
|
115
|
+
var calendarOnlyProps = [TimeProp.DisabledHours, TimeProp.DisabledMinutes, TimeProp.DisabledSeconds, TimeProp.HideHours, TimeProp.HideMinutes, TimeProp.HideSeconds];
|
|
106
116
|
exports.calendarOnlyProps = calendarOnlyProps;
|
|
107
|
-
|
|
117
|
+
var HOURS_PATTERN = /(Hours?)/;
|
|
118
|
+
var MINUTES_PATTERN = /(Minutes?)/;
|
|
119
|
+
var SECONDS_PATTERN = /(Seconds?)/;
|
|
120
|
+
/**
|
|
121
|
+
* Verify that the time is valid.
|
|
122
|
+
*
|
|
123
|
+
* @param props - The calendar props.
|
|
124
|
+
* @param date - The date to check.
|
|
125
|
+
* @returns Whether the time is disabled.
|
|
126
|
+
*/
|
|
127
|
+
function disableTime(props, date) {
|
|
108
128
|
if (!date) {
|
|
109
129
|
return false;
|
|
110
130
|
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
131
|
+
var disabledTimeProps = [TimeProp.DisabledHours, TimeProp.DisabledMinutes, TimeProp.DisabledSeconds, TimeProp.ShouldDisableHour, TimeProp.ShouldDisableMinute, TimeProp.ShouldDisableSecond];
|
|
132
|
+
var calendarProps = (0, _pick.default)(props, disabledTimeProps);
|
|
133
|
+
var mapProps = new Map(Object.entries(calendarProps));
|
|
134
|
+
return Array.from(mapProps.keys()).some(function (key) {
|
|
135
|
+
if (HOURS_PATTERN.test(key)) {
|
|
136
|
+
var _mapProps$get;
|
|
137
|
+
return (_mapProps$get = mapProps.get(key)) === null || _mapProps$get === void 0 ? void 0 : _mapProps$get((0, _getHours.default)(date), date);
|
|
115
138
|
}
|
|
116
|
-
if (
|
|
117
|
-
var
|
|
118
|
-
return (
|
|
139
|
+
if (MINUTES_PATTERN.test(key)) {
|
|
140
|
+
var _mapProps$get2;
|
|
141
|
+
return (_mapProps$get2 = mapProps.get(key)) === null || _mapProps$get2 === void 0 ? void 0 : _mapProps$get2((0, _getMinutes.default)(date), date);
|
|
119
142
|
}
|
|
120
|
-
if (
|
|
121
|
-
var
|
|
122
|
-
return (
|
|
143
|
+
if (SECONDS_PATTERN.test(key)) {
|
|
144
|
+
var _mapProps$get3;
|
|
145
|
+
return (_mapProps$get3 = mapProps.get(key)) === null || _mapProps$get3 === void 0 ? void 0 : _mapProps$get3((0, _getSeconds.default)(date), date);
|
|
123
146
|
}
|
|
124
147
|
return false;
|
|
125
148
|
});
|
|
126
149
|
}
|
|
127
150
|
|
|
128
151
|
/**
|
|
129
|
-
*
|
|
152
|
+
* Omit the calendar-only props from an object.
|
|
130
153
|
*
|
|
131
|
-
* @param props
|
|
132
|
-
* @
|
|
154
|
+
* @param props - The object to omit props from.
|
|
155
|
+
* @returns The object with calendar-only props omitted.
|
|
133
156
|
*/
|
|
134
|
-
function disabledTime(props, date) {
|
|
135
|
-
var calendarProps = (0, _pick.default)(props, disabledTimeProps);
|
|
136
|
-
return validTime(calendarProps, date);
|
|
137
|
-
}
|
|
138
157
|
var omitHideDisabledProps = function omitHideDisabledProps(props) {
|
|
139
158
|
return (0, _omitBy.default)(props, function (_val, key) {
|
|
140
|
-
return key.startsWith('disabled') || key.startsWith('hide');
|
|
159
|
+
return key.startsWith('disabled') || key.startsWith('hide') || key.startsWith('shouldDisable');
|
|
141
160
|
});
|
|
142
161
|
};
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Check if the time should be rendered based on the format.
|
|
165
|
+
*
|
|
166
|
+
* @param format - The format string.
|
|
167
|
+
* @returns Whether the time should be rendered.
|
|
168
|
+
*/
|
|
143
169
|
exports.omitHideDisabledProps = omitHideDisabledProps;
|
|
144
170
|
var shouldRenderTime = function shouldRenderTime(format) {
|
|
145
171
|
return /([Hhms])/.test(format);
|
|
146
172
|
};
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Check if the month should be rendered based on the format.
|
|
176
|
+
*
|
|
177
|
+
* @param format - The format string.
|
|
178
|
+
* @returns Whether the month should be rendered.
|
|
179
|
+
*/
|
|
147
180
|
exports.shouldRenderTime = shouldRenderTime;
|
|
148
181
|
var shouldRenderMonth = function shouldRenderMonth(format) {
|
|
149
182
|
return /[Yy]/.test(format) && /[ML]/.test(format);
|
|
150
183
|
};
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Check if the date should be rendered based on the format.
|
|
187
|
+
*
|
|
188
|
+
* @param format - The format string.
|
|
189
|
+
* @returns Whether the date should be rendered.
|
|
190
|
+
*/
|
|
151
191
|
exports.shouldRenderMonth = shouldRenderMonth;
|
|
152
192
|
var shouldRenderDate = function shouldRenderDate(format) {
|
|
153
193
|
return /[Yy]/.test(format) && /[ML]/.test(format) && /[Dd]/.test(format);
|
|
154
|
-
};
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Check if only the time should be rendered based on the format.
|
|
198
|
+
*
|
|
199
|
+
* @param format - The format string.
|
|
200
|
+
* @returns Whether only the time should be rendered.
|
|
201
|
+
*/
|
|
155
202
|
exports.shouldRenderDate = shouldRenderDate;
|
|
156
203
|
var shouldOnlyRenderTime = function shouldOnlyRenderTime(format) {
|
|
157
204
|
return /([Hhms])/.test(format) && !/([YyMDd])/.test(format);
|
|
158
|
-
};
|
|
205
|
+
};
|
|
159
206
|
|
|
160
207
|
/**
|
|
161
|
-
* Get all weeks of
|
|
162
|
-
*
|
|
163
|
-
* @
|
|
208
|
+
* Get all weeks of a month.
|
|
209
|
+
*
|
|
210
|
+
* @param monthDate - The date of the month.
|
|
211
|
+
* @param isoWeek - Whether to use ISO week numbering.
|
|
212
|
+
* @returns An array of weeks in the month.
|
|
164
213
|
*/
|
|
165
214
|
exports.shouldOnlyRenderTime = shouldOnlyRenderTime;
|
|
166
215
|
function getMonthView(monthDate, isoWeek) {
|
|
@@ -184,7 +233,11 @@ function getMonthView(monthDate, isoWeek) {
|
|
|
184
233
|
}
|
|
185
234
|
|
|
186
235
|
/**
|
|
187
|
-
* Copy the time
|
|
236
|
+
* Copy the time from one date to another.
|
|
237
|
+
*
|
|
238
|
+
* @param from - The source date.
|
|
239
|
+
* @param to - The target date.
|
|
240
|
+
* @returns The target date with the time copied from the source date.
|
|
188
241
|
*/
|
|
189
242
|
function copyTime(_ref) {
|
|
190
243
|
var from = _ref.from,
|
|
@@ -201,6 +254,9 @@ function copyTime(_ref) {
|
|
|
201
254
|
|
|
202
255
|
/**
|
|
203
256
|
* Swap two dates without swapping the time.
|
|
257
|
+
*
|
|
258
|
+
* @param dateRange - The date range to reverse.
|
|
259
|
+
* @returns The reversed date range.
|
|
204
260
|
*/
|
|
205
261
|
function reverseDateRangeOmitTime(dateRange) {
|
|
206
262
|
var start = dateRange[0],
|
|
@@ -219,6 +275,9 @@ function reverseDateRangeOmitTime(dateRange) {
|
|
|
219
275
|
|
|
220
276
|
/**
|
|
221
277
|
* Get the time with AM and PM reversed.
|
|
278
|
+
*
|
|
279
|
+
* @param date - The date to reverse the time meridian.
|
|
280
|
+
* @returns The date with the time meridian reversed.
|
|
222
281
|
*/
|
|
223
282
|
var getReversedTimeMeridian = function getReversedTimeMeridian(date) {
|
|
224
283
|
var clonedDate = new Date(date.valueOf());
|
|
@@ -1678,6 +1678,8 @@ tbody.rs-anim-collapse.rs-anim-in {
|
|
|
1678
1678
|
-webkit-box-align: end;
|
|
1679
1679
|
-ms-flex-align: end;
|
|
1680
1680
|
align-items: flex-end;
|
|
1681
|
+
-ms-flex-wrap: wrap;
|
|
1682
|
+
flex-wrap: wrap;
|
|
1681
1683
|
}
|
|
1682
1684
|
.rs-avatar-group-stack .rs-avatar {
|
|
1683
1685
|
-webkit-box-sizing: content-box;
|
|
@@ -4029,6 +4031,8 @@ tbody.rs-anim-collapse.rs-anim-in {
|
|
|
4029
4031
|
left: -10px;
|
|
4030
4032
|
bottom: -10px;
|
|
4031
4033
|
right: -10px;
|
|
4034
|
+
min-width: 36px;
|
|
4035
|
+
min-height: 36px;
|
|
4032
4036
|
}
|
|
4033
4037
|
.rs-checkbox-control::before,
|
|
4034
4038
|
.rs-checkbox-control .rs-checkbox-inner::before,
|
|
@@ -4676,6 +4680,33 @@ label:hover .rs-checkbox-control .rs-checkbox-inner::before {
|
|
|
4676
4680
|
border-bottom: 1px solid #e5e5ea;
|
|
4677
4681
|
border-bottom: 1px solid var(--rs-border-primary);
|
|
4678
4682
|
}
|
|
4683
|
+
.rs-picker-daterange-header .rs-picker-header-date:focus {
|
|
4684
|
+
background-color: transparent;
|
|
4685
|
+
}
|
|
4686
|
+
.rs-picker-daterange-header.rs-picker-tab-active-end,
|
|
4687
|
+
.rs-picker-daterange-header.rs-picker-tab-active-start {
|
|
4688
|
+
position: relative;
|
|
4689
|
+
display: -webkit-box;
|
|
4690
|
+
display: -ms-flexbox;
|
|
4691
|
+
display: flex;
|
|
4692
|
+
-webkit-box-align: center;
|
|
4693
|
+
-ms-flex-align: center;
|
|
4694
|
+
align-items: center;
|
|
4695
|
+
-ms-flex-pack: distribute;
|
|
4696
|
+
justify-content: space-around;
|
|
4697
|
+
}
|
|
4698
|
+
.rs-picker-daterange-header.rs-picker-tab-active-end::after,
|
|
4699
|
+
.rs-picker-daterange-header.rs-picker-tab-active-start::after {
|
|
4700
|
+
content: ' ';
|
|
4701
|
+
position: absolute;
|
|
4702
|
+
width: 50%;
|
|
4703
|
+
bottom: -1px;
|
|
4704
|
+
border-bottom: 2px solid #3498ff;
|
|
4705
|
+
right: 0;
|
|
4706
|
+
}
|
|
4707
|
+
.rs-picker-daterange-header.rs-picker-tab-active-end::after {
|
|
4708
|
+
right: 50%;
|
|
4709
|
+
}
|
|
4679
4710
|
.rs-picker-daterange-calendar-group {
|
|
4680
4711
|
height: 274px;
|
|
4681
4712
|
min-width: 492px;
|
|
@@ -11274,12 +11305,40 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
11274
11305
|
background: var(--rs-bg-card);
|
|
11275
11306
|
position: absolute;
|
|
11276
11307
|
}
|
|
11277
|
-
.rs-placeholder-paragraph-
|
|
11308
|
+
.rs-placeholder-paragraph-group {
|
|
11278
11309
|
width: 100%;
|
|
11279
11310
|
}
|
|
11280
|
-
.rs-placeholder-paragraph-
|
|
11311
|
+
.rs-placeholder-paragraph .rs-placeholder-row:nth-child(9) {
|
|
11312
|
+
width: 75%;
|
|
11313
|
+
}
|
|
11314
|
+
.rs-placeholder-paragraph .rs-placeholder-row:nth-child(8) {
|
|
11315
|
+
width: 60%;
|
|
11316
|
+
}
|
|
11317
|
+
.rs-placeholder-paragraph .rs-placeholder-row:nth-child(7) {
|
|
11318
|
+
width: 85%;
|
|
11319
|
+
}
|
|
11320
|
+
.rs-placeholder-paragraph .rs-placeholder-row:nth-child(6) {
|
|
11321
|
+
width: 70%;
|
|
11322
|
+
}
|
|
11323
|
+
.rs-placeholder-paragraph .rs-placeholder-row:nth-child(5) {
|
|
11324
|
+
width: 90%;
|
|
11325
|
+
}
|
|
11326
|
+
.rs-placeholder-paragraph .rs-placeholder-row:nth-child(4) {
|
|
11327
|
+
width: 65%;
|
|
11328
|
+
}
|
|
11329
|
+
.rs-placeholder-paragraph .rs-placeholder-row:nth-child(3) {
|
|
11330
|
+
width: 80%;
|
|
11331
|
+
}
|
|
11332
|
+
.rs-placeholder-paragraph .rs-placeholder-row:nth-child(2) {
|
|
11333
|
+
width: 50%;
|
|
11334
|
+
}
|
|
11335
|
+
.rs-placeholder-paragraph .rs-placeholder-row:nth-child(1) {
|
|
11336
|
+
width: 100%;
|
|
11337
|
+
}
|
|
11338
|
+
.rs-placeholder-row {
|
|
11281
11339
|
background-color: #f2f2f5;
|
|
11282
11340
|
background-color: var(--rs-placeholder);
|
|
11341
|
+
width: 100%;
|
|
11283
11342
|
}
|
|
11284
11343
|
.rs-placeholder-grid-col {
|
|
11285
11344
|
-webkit-box-flex: 1;
|
|
@@ -11296,15 +11355,23 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
11296
11355
|
-ms-flex-align: end;
|
|
11297
11356
|
align-items: flex-end;
|
|
11298
11357
|
}
|
|
11299
|
-
.rs-placeholder-grid-col > p {
|
|
11300
|
-
background-color: #f2f2f5;
|
|
11301
|
-
background-color: var(--rs-placeholder);
|
|
11302
|
-
}
|
|
11303
11358
|
.rs-placeholder-grid-col:first-child {
|
|
11304
11359
|
-webkit-box-align: start;
|
|
11305
11360
|
-ms-flex-align: start;
|
|
11306
11361
|
align-items: flex-start;
|
|
11307
11362
|
}
|
|
11363
|
+
.rs-placeholder-grid-col .rs-placeholder-row {
|
|
11364
|
+
width: 30%;
|
|
11365
|
+
}
|
|
11366
|
+
.rs-placeholder-grid-col .rs-placeholder-row:nth-child(3) {
|
|
11367
|
+
width: 35%;
|
|
11368
|
+
}
|
|
11369
|
+
.rs-placeholder-grid-col .rs-placeholder-row:nth-child(2) {
|
|
11370
|
+
width: 25%;
|
|
11371
|
+
}
|
|
11372
|
+
.rs-placeholder-grid-col .rs-placeholder-row:nth-child(1) {
|
|
11373
|
+
width: 50%;
|
|
11374
|
+
}
|
|
11308
11375
|
.rs-placeholder-graph {
|
|
11309
11376
|
display: inline-block;
|
|
11310
11377
|
width: 100%;
|
|
@@ -12439,6 +12506,9 @@ textarea.rs-inline-edit-sm .rs-plaintext {
|
|
|
12439
12506
|
-webkit-transition: none;
|
|
12440
12507
|
transition: none;
|
|
12441
12508
|
}
|
|
12509
|
+
.rs-sidenav-nav .rs-dropdown-item {
|
|
12510
|
+
display: block;
|
|
12511
|
+
}
|
|
12442
12512
|
.rs-sidenav-nav > .rs-sidenav-item,
|
|
12443
12513
|
.rs-sidenav-nav > .rs-dropdown {
|
|
12444
12514
|
margin: 0 !important;
|