beesoft-components 0.2.10 → 0.2.14
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/README.md +1 -0
- package/build/index.cjs.js +233 -96
- package/build/index.js +233 -96
- package/build/index.min.js +3 -3
- package/build/index.min.js.gz +0 -0
- package/package.json +1 -1
- package/types/src/components/form/content-editable-input/content-editable-input.component.d.ts +2 -0
- package/types/src/components/form/date-time/date-time-functions.d.ts +1 -0
- package/types/src/components/form/date-time/date-time.component.d.ts +2 -1
- package/types/src/components/form/date-time/date-time.reducer.d.ts +10 -6
package/build/index.js
CHANGED
|
@@ -2688,6 +2688,62 @@ FontAwesomeIcon.defaultProps = {
|
|
|
2688
2688
|
};
|
|
2689
2689
|
var convertCurry = convert.bind(null, React.createElement);
|
|
2690
2690
|
|
|
2691
|
+
/*!
|
|
2692
|
+
Copyright (c) 2018 Jed Watson.
|
|
2693
|
+
Licensed under the MIT License (MIT), see
|
|
2694
|
+
http://jedwatson.github.io/classnames
|
|
2695
|
+
*/
|
|
2696
|
+
|
|
2697
|
+
var classnames = createCommonjsModule(function (module) {
|
|
2698
|
+
/* global define */
|
|
2699
|
+
|
|
2700
|
+
(function () {
|
|
2701
|
+
|
|
2702
|
+
var hasOwn = {}.hasOwnProperty;
|
|
2703
|
+
|
|
2704
|
+
function classNames() {
|
|
2705
|
+
var classes = [];
|
|
2706
|
+
|
|
2707
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
2708
|
+
var arg = arguments[i];
|
|
2709
|
+
if (!arg) continue;
|
|
2710
|
+
|
|
2711
|
+
var argType = typeof arg;
|
|
2712
|
+
|
|
2713
|
+
if (argType === 'string' || argType === 'number') {
|
|
2714
|
+
classes.push(arg);
|
|
2715
|
+
} else if (Array.isArray(arg)) {
|
|
2716
|
+
if (arg.length) {
|
|
2717
|
+
var inner = classNames.apply(null, arg);
|
|
2718
|
+
if (inner) {
|
|
2719
|
+
classes.push(inner);
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
} else if (argType === 'object') {
|
|
2723
|
+
if (arg.toString === Object.prototype.toString) {
|
|
2724
|
+
for (var key in arg) {
|
|
2725
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
2726
|
+
classes.push(key);
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
} else {
|
|
2730
|
+
classes.push(arg.toString());
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
return classes.join(' ');
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2738
|
+
if (module.exports) {
|
|
2739
|
+
classNames.default = classNames;
|
|
2740
|
+
module.exports = classNames;
|
|
2741
|
+
} else {
|
|
2742
|
+
window.classNames = classNames;
|
|
2743
|
+
}
|
|
2744
|
+
}());
|
|
2745
|
+
});
|
|
2746
|
+
|
|
2691
2747
|
function toInteger(dirtyNumber) {
|
|
2692
2748
|
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|
|
2693
2749
|
return NaN;
|
|
@@ -3004,6 +3060,38 @@ function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
|
3004
3060
|
return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();
|
|
3005
3061
|
}
|
|
3006
3062
|
|
|
3063
|
+
/**
|
|
3064
|
+
* @name endOfMonth
|
|
3065
|
+
* @category Month Helpers
|
|
3066
|
+
* @summary Return the end of a month for the given date.
|
|
3067
|
+
*
|
|
3068
|
+
* @description
|
|
3069
|
+
* Return the end of a month for the given date.
|
|
3070
|
+
* The result will be in the local timezone.
|
|
3071
|
+
*
|
|
3072
|
+
* ### v2.0.0 breaking changes:
|
|
3073
|
+
*
|
|
3074
|
+
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
3075
|
+
*
|
|
3076
|
+
* @param {Date|Number} date - the original date
|
|
3077
|
+
* @returns {Date} the end of a month
|
|
3078
|
+
* @throws {TypeError} 1 argument required
|
|
3079
|
+
*
|
|
3080
|
+
* @example
|
|
3081
|
+
* // The end of a month for 2 September 2014 11:55:00:
|
|
3082
|
+
* const result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0))
|
|
3083
|
+
* //=> Tue Sep 30 2014 23:59:59.999
|
|
3084
|
+
*/
|
|
3085
|
+
|
|
3086
|
+
function endOfMonth(dirtyDate) {
|
|
3087
|
+
requiredArgs(1, arguments);
|
|
3088
|
+
var date = toDate(dirtyDate);
|
|
3089
|
+
var month = date.getMonth();
|
|
3090
|
+
date.setFullYear(date.getFullYear(), month + 1, 0);
|
|
3091
|
+
date.setHours(23, 59, 59, 999);
|
|
3092
|
+
return date;
|
|
3093
|
+
}
|
|
3094
|
+
|
|
3007
3095
|
/**
|
|
3008
3096
|
* @name eachDayOfInterval
|
|
3009
3097
|
* @category Interval Helpers
|
|
@@ -4135,6 +4223,36 @@ function subMonths(dirtyDate, dirtyAmount) {
|
|
|
4135
4223
|
return addMonths(dirtyDate, -amount);
|
|
4136
4224
|
}
|
|
4137
4225
|
|
|
4226
|
+
/**
|
|
4227
|
+
* @name isBefore
|
|
4228
|
+
* @category Common Helpers
|
|
4229
|
+
* @summary Is the first date before the second one?
|
|
4230
|
+
*
|
|
4231
|
+
* @description
|
|
4232
|
+
* Is the first date before the second one?
|
|
4233
|
+
*
|
|
4234
|
+
* ### v2.0.0 breaking changes:
|
|
4235
|
+
*
|
|
4236
|
+
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
4237
|
+
*
|
|
4238
|
+
* @param {Date|Number} date - the date that should be before the other one to return true
|
|
4239
|
+
* @param {Date|Number} dateToCompare - the date to compare with
|
|
4240
|
+
* @returns {Boolean} the first date is before the second date
|
|
4241
|
+
* @throws {TypeError} 2 arguments required
|
|
4242
|
+
*
|
|
4243
|
+
* @example
|
|
4244
|
+
* // Is 10 July 1989 before 11 February 1987?
|
|
4245
|
+
* var result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
|
4246
|
+
* //=> false
|
|
4247
|
+
*/
|
|
4248
|
+
|
|
4249
|
+
function isBefore(dirtyDate, dirtyDateToCompare) {
|
|
4250
|
+
requiredArgs(2, arguments);
|
|
4251
|
+
var date = toDate(dirtyDate);
|
|
4252
|
+
var dateToCompare = toDate(dirtyDateToCompare);
|
|
4253
|
+
return date.getTime() < dateToCompare.getTime();
|
|
4254
|
+
}
|
|
4255
|
+
|
|
4138
4256
|
// See issue: https://github.com/date-fns/date-fns/issues/376
|
|
4139
4257
|
|
|
4140
4258
|
function setUTCDay(dirtyDate, dirtyDay, dirtyOptions) {
|
|
@@ -7621,62 +7739,6 @@ function OverlayPanel(_a) {
|
|
|
7621
7739
|
return ReactDOM.createPortal(createElement(), appendTo);
|
|
7622
7740
|
}
|
|
7623
7741
|
|
|
7624
|
-
/*!
|
|
7625
|
-
Copyright (c) 2018 Jed Watson.
|
|
7626
|
-
Licensed under the MIT License (MIT), see
|
|
7627
|
-
http://jedwatson.github.io/classnames
|
|
7628
|
-
*/
|
|
7629
|
-
|
|
7630
|
-
var classnames = createCommonjsModule(function (module) {
|
|
7631
|
-
/* global define */
|
|
7632
|
-
|
|
7633
|
-
(function () {
|
|
7634
|
-
|
|
7635
|
-
var hasOwn = {}.hasOwnProperty;
|
|
7636
|
-
|
|
7637
|
-
function classNames() {
|
|
7638
|
-
var classes = [];
|
|
7639
|
-
|
|
7640
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
7641
|
-
var arg = arguments[i];
|
|
7642
|
-
if (!arg) continue;
|
|
7643
|
-
|
|
7644
|
-
var argType = typeof arg;
|
|
7645
|
-
|
|
7646
|
-
if (argType === 'string' || argType === 'number') {
|
|
7647
|
-
classes.push(arg);
|
|
7648
|
-
} else if (Array.isArray(arg)) {
|
|
7649
|
-
if (arg.length) {
|
|
7650
|
-
var inner = classNames.apply(null, arg);
|
|
7651
|
-
if (inner) {
|
|
7652
|
-
classes.push(inner);
|
|
7653
|
-
}
|
|
7654
|
-
}
|
|
7655
|
-
} else if (argType === 'object') {
|
|
7656
|
-
if (arg.toString === Object.prototype.toString) {
|
|
7657
|
-
for (var key in arg) {
|
|
7658
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
7659
|
-
classes.push(key);
|
|
7660
|
-
}
|
|
7661
|
-
}
|
|
7662
|
-
} else {
|
|
7663
|
-
classes.push(arg.toString());
|
|
7664
|
-
}
|
|
7665
|
-
}
|
|
7666
|
-
}
|
|
7667
|
-
|
|
7668
|
-
return classes.join(' ');
|
|
7669
|
-
}
|
|
7670
|
-
|
|
7671
|
-
if (module.exports) {
|
|
7672
|
-
classNames.default = classNames;
|
|
7673
|
-
module.exports = classNames;
|
|
7674
|
-
} else {
|
|
7675
|
-
window.classNames = classNames;
|
|
7676
|
-
}
|
|
7677
|
-
}());
|
|
7678
|
-
});
|
|
7679
|
-
|
|
7680
7742
|
/**
|
|
7681
7743
|
* Checks if `value` is the
|
|
7682
7744
|
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
@@ -8188,7 +8250,7 @@ function debounce(func, wait, options) {
|
|
|
8188
8250
|
var debounce_1 = debounce;
|
|
8189
8251
|
|
|
8190
8252
|
function ContentEditableInput(props, ref) {
|
|
8191
|
-
var value = props.value, _a = props.readOnly, readOnly = _a === void 0 ? false : _a, _b = props.debounceTime, debounceTime = _b === void 0 ? 500 : _b, _c = props.fillContainer, fillContainer = _c === void 0 ? true : _c, leftElement = props.leftElement, rightElement = props.rightElement, className = props.className, leftElementClassName = props.leftElementClassName, rightElementClassName = props.rightElementClassName, onFocus = props.onFocus, onInput = props.onInput, onElementCreate = props.onElementCreate, onLeftElementClick = props.onLeftElementClick, onRightElementClick = props.onRightElementClick;
|
|
8253
|
+
var value = props.value, _a = props.readOnly, readOnly = _a === void 0 ? false : _a, _b = props.debounceTime, debounceTime = _b === void 0 ? 500 : _b, _c = props.fillContainer, fillContainer = _c === void 0 ? true : _c, leftElement = props.leftElement, rightElement = props.rightElement, className = props.className, leftElementClassName = props.leftElementClassName, rightElementClassName = props.rightElementClassName, _d = props.isSingleLine, isSingleLine = _d === void 0 ? false : _d, _e = props.allowSingleLineScroll, allowSingleLineScroll = _e === void 0 ? false : _e, onFocus = props.onFocus, onInput = props.onInput, onElementCreate = props.onElementCreate, onLeftElementClick = props.onLeftElementClick, onRightElementClick = props.onRightElementClick;
|
|
8192
8254
|
var inputRef = useRef(null);
|
|
8193
8255
|
var onLeftElementClicked = function (event) {
|
|
8194
8256
|
if (onLeftElementClick) {
|
|
@@ -8211,8 +8273,13 @@ function ContentEditableInput(props, ref) {
|
|
|
8211
8273
|
}
|
|
8212
8274
|
}, debounceTime);
|
|
8213
8275
|
var onElementCreated = function (element) {
|
|
8214
|
-
if (element
|
|
8215
|
-
onElementCreate
|
|
8276
|
+
if (element) {
|
|
8277
|
+
if (onElementCreate) {
|
|
8278
|
+
onElementCreate(element);
|
|
8279
|
+
}
|
|
8280
|
+
if (element.offsetWidth < element.scrollWidth && value) {
|
|
8281
|
+
element.setAttribute('title', value);
|
|
8282
|
+
}
|
|
8216
8283
|
}
|
|
8217
8284
|
};
|
|
8218
8285
|
var focus = function () {
|
|
@@ -8222,7 +8289,10 @@ function ContentEditableInput(props, ref) {
|
|
|
8222
8289
|
useImperativeHandle(ref, function () { return ({
|
|
8223
8290
|
focus: focus,
|
|
8224
8291
|
}); });
|
|
8225
|
-
var classNames = classnames({ 'bsc-w-full ': fillContainer }, 'bsc-flex bsc-flex-row bsc-shadow-sm bsc-border bsc-border-solid bsc-border-gray-300 dark:bsc-border-white dark:bsc-bg-gray-900 dark:bsc-text-white bsc-rounded-md bsc-p-2',
|
|
8292
|
+
var classNames = classnames({ 'bsc-w-full ': fillContainer }, 'bsc-flex bsc-flex-row bsc-shadow-sm bsc-border bsc-border-solid bsc-border-gray-300 dark:bsc-border-white dark:bsc-bg-gray-900 dark:bsc-text-white bsc-rounded-md bsc-p-2', {
|
|
8293
|
+
'bsc-overflow-x-auto bsc-overflow-y-hidden bsc-whitespace-pre': isSingleLine && allowSingleLineScroll,
|
|
8294
|
+
'bsc-overflow-hidden bsc-whitespace-pre': isSingleLine && !allowSingleLineScroll,
|
|
8295
|
+
}, className);
|
|
8226
8296
|
var leftElementClasses = classnames('bsc-flex-shrink', { 'bsc-mr-2': leftElement }, leftElementClassName);
|
|
8227
8297
|
var rightElementClasses = classnames('bsc-flex-shrink', { 'bsc-ml-2': rightElement }, rightElementClassName);
|
|
8228
8298
|
return (jsxs("div", __assign({ className: classNames, ref: function (element) { return onElementCreated(element); } }, { children: [jsx("div", __assign({ className: leftElementClasses, onClick: onLeftElementClicked }, { children: leftElement }), void 0),
|
|
@@ -8386,6 +8456,9 @@ function getDefaultTime(locale) {
|
|
|
8386
8456
|
tempDate.setHours(0, 0, 0, 0);
|
|
8387
8457
|
return tempDate.toLocaleTimeString(locale.code);
|
|
8388
8458
|
}
|
|
8459
|
+
function isDateBetween(checkDate, startComparisonDate, endComparisonDate) {
|
|
8460
|
+
return checkDate.getTime() >= startComparisonDate.getTime() && checkDate.getTime() <= endComparisonDate.getTime();
|
|
8461
|
+
}
|
|
8389
8462
|
function loadLocale(localeToLoad) {
|
|
8390
8463
|
return new Promise(function (resolve, reject) {
|
|
8391
8464
|
import("date-fns/locale/" + localeToLoad)
|
|
@@ -8445,15 +8518,19 @@ var DateTimeActionType;
|
|
|
8445
8518
|
DateTimeActionType[DateTimeActionType["MonthSelector"] = 1] = "MonthSelector";
|
|
8446
8519
|
DateTimeActionType[DateTimeActionType["YearSelector"] = 2] = "YearSelector";
|
|
8447
8520
|
DateTimeActionType[DateTimeActionType["TimeSelector"] = 3] = "TimeSelector";
|
|
8448
|
-
DateTimeActionType[DateTimeActionType["
|
|
8449
|
-
DateTimeActionType[DateTimeActionType["
|
|
8450
|
-
DateTimeActionType[DateTimeActionType["
|
|
8451
|
-
DateTimeActionType[DateTimeActionType["
|
|
8452
|
-
DateTimeActionType[DateTimeActionType["
|
|
8453
|
-
DateTimeActionType[DateTimeActionType["
|
|
8521
|
+
DateTimeActionType[DateTimeActionType["DateRangeSelector"] = 4] = "DateRangeSelector";
|
|
8522
|
+
DateTimeActionType[DateTimeActionType["SetViewDate"] = 5] = "SetViewDate";
|
|
8523
|
+
DateTimeActionType[DateTimeActionType["SetSelectedDate"] = 6] = "SetSelectedDate";
|
|
8524
|
+
DateTimeActionType[DateTimeActionType["SetSelectedDateRange"] = 7] = "SetSelectedDateRange";
|
|
8525
|
+
DateTimeActionType[DateTimeActionType["SetSelectedStartDate"] = 8] = "SetSelectedStartDate";
|
|
8526
|
+
DateTimeActionType[DateTimeActionType["SetSelectedEndDate"] = 9] = "SetSelectedEndDate";
|
|
8527
|
+
DateTimeActionType[DateTimeActionType["ResetSelectedDateChanged"] = 10] = "ResetSelectedDateChanged";
|
|
8528
|
+
DateTimeActionType[DateTimeActionType["ResetSelectedDateRangeChanged"] = 11] = "ResetSelectedDateRangeChanged";
|
|
8529
|
+
DateTimeActionType[DateTimeActionType["ClearDates"] = 12] = "ClearDates";
|
|
8530
|
+
DateTimeActionType[DateTimeActionType["InitializeDates"] = 13] = "InitializeDates";
|
|
8454
8531
|
})(DateTimeActionType || (DateTimeActionType = {}));
|
|
8455
8532
|
var reducer = function (state, action) {
|
|
8456
|
-
var _a, _b, _c, _d, _e, _f;
|
|
8533
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
8457
8534
|
switch (action.type) {
|
|
8458
8535
|
case DateTimeActionType.DaySelector:
|
|
8459
8536
|
return __assign(__assign({}, state), { currentSelector: DateTimeActionType.DaySelector, currentViewDate: action.viewDate || state.currentViewDate });
|
|
@@ -8463,17 +8540,36 @@ var reducer = function (state, action) {
|
|
|
8463
8540
|
return __assign(__assign({}, state), { currentSelector: DateTimeActionType.YearSelector });
|
|
8464
8541
|
case DateTimeActionType.TimeSelector:
|
|
8465
8542
|
return __assign(__assign({}, state), { currentSelector: DateTimeActionType.TimeSelector });
|
|
8543
|
+
case DateTimeActionType.DateRangeSelector:
|
|
8544
|
+
return __assign(__assign({}, state), { currentSelector: DateTimeActionType.DateRangeSelector, currentViewDate: action.viewDate || state.currentViewDate });
|
|
8466
8545
|
case DateTimeActionType.SetViewDate:
|
|
8467
8546
|
return __assign(__assign({}, state), { currentViewDate: action.viewDate || new Date(), dateInitialized: true });
|
|
8468
8547
|
case DateTimeActionType.SetSelectedDate:
|
|
8469
|
-
return __assign(__assign({}, state), { selectedDate: action.selectedDate || state.selectedDate, selectedDateChanged:
|
|
8548
|
+
return __assign(__assign({}, state), { selectedDate: action.selectedDate || state.selectedDate, selectedDateChanged: !state.selectedDateChanged
|
|
8549
|
+
? ((_a = state.originalSetDate) === null || _a === void 0 ? void 0 : _a.getTime()) !== ((_b = action.selectedDate) === null || _b === void 0 ? void 0 : _b.getTime())
|
|
8550
|
+
: true });
|
|
8470
8551
|
case DateTimeActionType.SetSelectedDateRange:
|
|
8471
8552
|
return __assign(__assign({}, state), { selectedStartDate: action.selectedStartDate || state.selectedStartDate, selectedEndDate: action.selectedEndDate || state.selectedEndDate, selectedDateChanged: ((_c = state.originalSetStartDate) === null || _c === void 0 ? void 0 : _c.getTime()) !== ((_d = action.selectedStartDate) === null || _d === void 0 ? void 0 : _d.getTime()) ||
|
|
8472
8553
|
((_e = state.originalSetEndDate) === null || _e === void 0 ? void 0 : _e.getTime()) !== ((_f = action.selectedEndDate) === null || _f === void 0 ? void 0 : _f.getTime()) });
|
|
8554
|
+
case DateTimeActionType.SetSelectedStartDate:
|
|
8555
|
+
return __assign(__assign({}, state), { selectedStartDate: action.selectedStartDate, selectedEndDate: undefined, selectedDateChanged: !state.selectedDateChanged
|
|
8556
|
+
? ((_g = state.originalSetStartDate) === null || _g === void 0 ? void 0 : _g.getTime()) !== ((_h = action.selectedStartDate) === null || _h === void 0 ? void 0 : _h.getTime())
|
|
8557
|
+
: true });
|
|
8558
|
+
case DateTimeActionType.SetSelectedEndDate:
|
|
8559
|
+
return __assign(__assign({}, state), { selectedEndDate: action.selectedEndDate, selectedDateChanged: !state.selectedDateChanged
|
|
8560
|
+
? ((_j = state.originalSetEndDate) === null || _j === void 0 ? void 0 : _j.getTime()) !== ((_k = action.selectedEndDate) === null || _k === void 0 ? void 0 : _k.getTime())
|
|
8561
|
+
: true });
|
|
8473
8562
|
case DateTimeActionType.ResetSelectedDateChanged:
|
|
8474
8563
|
return __assign(__assign({}, state), { originalSetDate: action.selectedDate || state.selectedDate, selectedDateChanged: false });
|
|
8475
8564
|
case DateTimeActionType.ResetSelectedDateRangeChanged:
|
|
8476
8565
|
return __assign(__assign({}, state), { originalSetStartDate: action.selectedStartDate || state.selectedStartDate, originalSetEndDate: action.selectedEndDate || state.selectedEndDate, selectedDateChanged: false });
|
|
8566
|
+
case DateTimeActionType.ClearDates:
|
|
8567
|
+
return {
|
|
8568
|
+
currentSelector: state.currentSelector,
|
|
8569
|
+
currentViewDate: state.currentViewDate,
|
|
8570
|
+
selectedDateChanged: false,
|
|
8571
|
+
dateInitialized: true,
|
|
8572
|
+
};
|
|
8477
8573
|
case DateTimeActionType.InitializeDates:
|
|
8478
8574
|
var baseState = __assign(__assign({}, state), { currentViewDate: getInitialDate(action.initialDate), dateInitialized: true });
|
|
8479
8575
|
if (!Array.isArray(action.initialDate)) {
|
|
@@ -8498,10 +8594,10 @@ function DateTimeCalendar(_a) {
|
|
|
8498
8594
|
var _e = useState(false), isLocaleLoaded = _e[0], setIsLocaleLoaded = _e[1];
|
|
8499
8595
|
var loadedLocale = useRef();
|
|
8500
8596
|
var weekDaysRef = useRef();
|
|
8501
|
-
var
|
|
8502
|
-
var
|
|
8503
|
-
var
|
|
8504
|
-
|
|
8597
|
+
var _f = useState(), currentSelectedDate = _f[0], setCurrentSelectedDate = _f[1];
|
|
8598
|
+
var _g = useState(), selectedStartComparison = _g[0], setSelectedStartComparison = _g[1];
|
|
8599
|
+
var _h = useState(), selectedEndComparison = _h[0], setSelectedEndComparison = _h[1];
|
|
8600
|
+
useKeyDown(['Meta', 'Control']);
|
|
8505
8601
|
var context = useContext(DateTimeContext);
|
|
8506
8602
|
var viewTemplate = context.calendarTemplate;
|
|
8507
8603
|
var loadLocaleObject = function () { return __awaiter(_this, void 0, void 0, function () {
|
|
@@ -8535,14 +8631,25 @@ function DateTimeCalendar(_a) {
|
|
|
8535
8631
|
}, [viewDate, isLocaleLoaded]);
|
|
8536
8632
|
useEffect(function () {
|
|
8537
8633
|
if (selectedDate) {
|
|
8538
|
-
|
|
8634
|
+
setCurrentSelectedDate(new Date(selectedDate.getFullYear(), selectedDate.getMonth(), selectedDate.getDate()));
|
|
8635
|
+
}
|
|
8636
|
+
else {
|
|
8637
|
+
setCurrentSelectedDate(undefined);
|
|
8539
8638
|
}
|
|
8540
8639
|
}, [selectedDate]);
|
|
8541
8640
|
useEffect(function () {
|
|
8542
|
-
if (selectedStartDate
|
|
8543
|
-
setSelectedStartComparison(new Date(selectedStartDate.getFullYear(), selectedStartDate.getMonth(), selectedStartDate.getDate()).getTime());
|
|
8641
|
+
if (selectedStartDate) {
|
|
8642
|
+
setSelectedStartComparison(new Date(selectedStartDate.getFullYear(), selectedStartDate.getMonth(), selectedStartDate.getDate(), 0, 0, 0).getTime());
|
|
8643
|
+
}
|
|
8644
|
+
else {
|
|
8645
|
+
setSelectedStartComparison(undefined);
|
|
8646
|
+
}
|
|
8647
|
+
if (selectedEndDate) {
|
|
8544
8648
|
setSelectedEndComparison(new Date(selectedEndDate.getFullYear(), selectedEndDate.getMonth(), selectedEndDate.getDate(), 23, 59, 59).getTime());
|
|
8545
8649
|
}
|
|
8650
|
+
else {
|
|
8651
|
+
setSelectedEndComparison(undefined);
|
|
8652
|
+
}
|
|
8546
8653
|
}, [selectedStartDate, selectedEndDate]);
|
|
8547
8654
|
useEffect(function () {
|
|
8548
8655
|
if (loadedLocale.current && locale) {
|
|
@@ -8569,17 +8676,19 @@ function DateTimeCalendar(_a) {
|
|
|
8569
8676
|
else {
|
|
8570
8677
|
if (!onDateSelected)
|
|
8571
8678
|
throw new Error('Range selection mode requires onDateSelected to be set');
|
|
8572
|
-
if (!selectedStartDate || (selectedStartDate
|
|
8679
|
+
if (!selectedStartDate || isBefore(date, selectedStartDate)) {
|
|
8573
8680
|
onDateSelected(date);
|
|
8574
8681
|
}
|
|
8575
|
-
else if (selectedStartDate &&
|
|
8682
|
+
else if (selectedStartDate && !selectedEndDate) {
|
|
8576
8683
|
onDateSelected(date, { setEndDate: true });
|
|
8577
8684
|
}
|
|
8685
|
+
else if (selectedStartDate && selectedEndDate) {
|
|
8686
|
+
onDateSelected(date);
|
|
8687
|
+
}
|
|
8578
8688
|
}
|
|
8579
8689
|
};
|
|
8580
8690
|
var isSelectedDate = function (currentDate) {
|
|
8581
|
-
|
|
8582
|
-
return ((_a = selectedDateRef.current) === null || _a === void 0 ? void 0 : _a.toLocaleDateString()) === currentDate.toLocaleDateString();
|
|
8691
|
+
return (currentSelectedDate === null || currentSelectedDate === void 0 ? void 0 : currentSelectedDate.toLocaleDateString()) === currentDate.toLocaleDateString();
|
|
8583
8692
|
};
|
|
8584
8693
|
var isInSelectedDateRange = function (currentDate) {
|
|
8585
8694
|
if (selectedStartComparison && selectedEndComparison) {
|
|
@@ -8616,7 +8725,10 @@ function DateTimeCalendar(_a) {
|
|
|
8616
8725
|
},
|
|
8617
8726
|
_a[(context.colors.selectedDateColor || 'bsc-bg-blue-100') + " dark:bsc-bg-white dark:bsc-text-black bsc-rounded-full"] = column &&
|
|
8618
8727
|
column.dayValue &&
|
|
8619
|
-
((
|
|
8728
|
+
((currentSelectedDate && isSelectedDate(column.dayValue)) ||
|
|
8729
|
+
(selectedStartComparison &&
|
|
8730
|
+
!selectedEndComparison &&
|
|
8731
|
+
isSameDay(selectedStartComparison, column.dayValue)) ||
|
|
8620
8732
|
(selectedStartComparison && selectedEndComparison && isInSelectedDateRange(column.dayValue))),
|
|
8621
8733
|
_a['bsc-cursor-pointer'] = isSelectable,
|
|
8622
8734
|
_a['bsc-text-red-300 bsc-cursor-not-allowed'] = !isSelectable,
|
|
@@ -8738,14 +8850,13 @@ function DateTimeRangeSelector(_a) {
|
|
|
8738
8850
|
var onDateSelected = function (date, options) {
|
|
8739
8851
|
if (!options || !options.setEndDate) {
|
|
8740
8852
|
dispatcher({
|
|
8741
|
-
type: DateTimeActionType.
|
|
8853
|
+
type: DateTimeActionType.SetSelectedStartDate,
|
|
8742
8854
|
selectedStartDate: date,
|
|
8743
|
-
selectedEndDate: date,
|
|
8744
8855
|
});
|
|
8745
8856
|
}
|
|
8746
8857
|
else {
|
|
8747
8858
|
dispatcher({
|
|
8748
|
-
type: DateTimeActionType.
|
|
8859
|
+
type: DateTimeActionType.SetSelectedEndDate,
|
|
8749
8860
|
selectedEndDate: date,
|
|
8750
8861
|
});
|
|
8751
8862
|
}
|
|
@@ -8887,9 +8998,10 @@ function DateTimeYearSelector(_a) {
|
|
|
8887
8998
|
}
|
|
8888
8999
|
|
|
8889
9000
|
function DateTime(_a) {
|
|
8890
|
-
var
|
|
8891
|
-
var
|
|
8892
|
-
var _h = useState(),
|
|
9001
|
+
var _b;
|
|
9002
|
+
var value = _a.value, _c = _a.readOnly, readOnly = _c === void 0 ? false : _c, label = _a.label, _d = _a.useDefaultDateValue, useDefaultDateValue = _d === void 0 ? false : _d, locale = _a.locale, className = _a.className, _e = _a.dateSelection, dateSelection = _e === void 0 ? DateSelectionType.DateTime : _e, dateFormat = _a.dateFormat, timeConstraints = _a.timeConstraints, icon = _a.icon, _f = _a.iconPosition, iconPosition = _f === void 0 ? CalendarIconPosition.Right : _f, inputElement = _a.inputElement, _g = _a.colors, colors = _g === void 0 ? createDefaultColors() : _g, selectableDate = _a.selectableDate, isValidDate = _a.isValidDate, onChange = _a.onChange, calendarTemplate = _a.calendarTemplate, dateScrollerTemplate = _a.dateScrollerTemplate, inputTemplate = _a.inputTemplate;
|
|
9003
|
+
var _h = useState(false), selectorOpen = _h[0], setSelectorOpen = _h[1];
|
|
9004
|
+
var _j = useState(), dropDownTarget = _j[0], setDropDownTarget = _j[1];
|
|
8893
9005
|
var language = useRef(locale || getBrowserLanguage());
|
|
8894
9006
|
var loadedLocale = useRef();
|
|
8895
9007
|
var inputElementRef = useRef();
|
|
@@ -8990,21 +9102,42 @@ function DateTime(_a) {
|
|
|
8990
9102
|
selectedDateChanged: false,
|
|
8991
9103
|
dateInitialized: false,
|
|
8992
9104
|
};
|
|
8993
|
-
var
|
|
9105
|
+
var _k = useReducer(reducer, initialState), state = _k[0], dispatcher = _k[1];
|
|
8994
9106
|
var onFocus = function (event) {
|
|
8995
9107
|
setDropDownElement();
|
|
8996
9108
|
setSelectorOpen(true);
|
|
8997
9109
|
};
|
|
8998
9110
|
var onInput = function (event) {
|
|
8999
|
-
var
|
|
9111
|
+
var dateString = event.target.innerText;
|
|
9112
|
+
var inputDate = dateSelection !== DateSelectionType.DateRange ? parseDate(dateString) : parseDateRange(dateString);
|
|
9000
9113
|
if (inputDate) {
|
|
9114
|
+
if (!Array.isArray(inputDate)) {
|
|
9115
|
+
dispatcher({
|
|
9116
|
+
type: DateTimeActionType.SetViewDate,
|
|
9117
|
+
viewDate: inputDate,
|
|
9118
|
+
});
|
|
9119
|
+
dispatcher({
|
|
9120
|
+
type: DateTimeActionType.SetSelectedDate,
|
|
9121
|
+
selectedDate: inputDate,
|
|
9122
|
+
});
|
|
9123
|
+
}
|
|
9124
|
+
else {
|
|
9125
|
+
if (!isDateBetween(inputDate[0], startOfMonth(state.currentViewDate), endOfMonth(addMonths(state.currentViewDate, 1)))) {
|
|
9126
|
+
dispatcher({
|
|
9127
|
+
type: DateTimeActionType.SetViewDate,
|
|
9128
|
+
viewDate: inputDate[0],
|
|
9129
|
+
});
|
|
9130
|
+
}
|
|
9131
|
+
dispatcher({
|
|
9132
|
+
type: DateTimeActionType.SetSelectedDateRange,
|
|
9133
|
+
selectedStartDate: inputDate[0],
|
|
9134
|
+
selectedEndDate: inputDate[1],
|
|
9135
|
+
});
|
|
9136
|
+
}
|
|
9137
|
+
}
|
|
9138
|
+
else if (dateString === '') {
|
|
9001
9139
|
dispatcher({
|
|
9002
|
-
type: DateTimeActionType.
|
|
9003
|
-
viewDate: inputDate,
|
|
9004
|
-
});
|
|
9005
|
-
dispatcher({
|
|
9006
|
-
type: DateTimeActionType.SetSelectedDate,
|
|
9007
|
-
selectedDate: inputDate,
|
|
9140
|
+
type: DateTimeActionType.ClearDates,
|
|
9008
9141
|
});
|
|
9009
9142
|
}
|
|
9010
9143
|
};
|
|
@@ -9131,8 +9264,12 @@ function DateTime(_a) {
|
|
|
9131
9264
|
};
|
|
9132
9265
|
var defaultTemplate = function (props, children) { return (jsx(Fragment$1, { children: children }, void 0)); };
|
|
9133
9266
|
var template = inputTemplate || defaultTemplate;
|
|
9267
|
+
var inputStyles = classnames('bsc-text-left', (_b = {},
|
|
9268
|
+
_b["" + ((colors === null || colors === void 0 ? void 0 : colors.readOnlyInputBgColor) || 'bsc-bg-gray-200')] = readOnly,
|
|
9269
|
+
_b["" + ((colors === null || colors === void 0 ? void 0 : colors.inputBgColor) || 'bsc-bg-white')] = !readOnly,
|
|
9270
|
+
_b), "dark:bsc-bg-black " + (colors === null || colors === void 0 ? void 0 : colors.inputBorderColor) + " bc-dt-input", className);
|
|
9134
9271
|
return (jsx(DateTimeContext.Provider, __assign({ value: contextProps }, { children: jsxs("div", __assign({ className: "bc-date-time" }, { children: [jsxs(TemplateOutlet, __assign({ props: inputTemplateProps, template: template }, { children: [label && jsx("label", __assign({ className: "dark:bsc-text-white bc-dt-label" }, { children: label }), void 0),
|
|
9135
|
-
jsx(ContentEditableInput$1, __assign({ value: getValue(), readOnly: readOnly, className:
|
|
9272
|
+
jsx(ContentEditableInput$1, __assign({ value: getValue(), readOnly: readOnly, className: inputStyles, onFocus: onFocus, onInput: onInput, onElementCreate: onInputElementCreated }, inputProps), void 0)] }), void 0),
|
|
9136
9273
|
jsx(OverlayPanel, __assign({ visible: selectorOpen, target: dropDownTarget, shouldTargetCloseOverlay: false, shouldScrollCloseOverlay: true, hidden: onDateTimeHidden }, { children: jsxs(Fragment$1, { children: [state.currentSelector === DateTimeActionType.DaySelector &&
|
|
9137
9274
|
canShowDateSelectors &&
|
|
9138
9275
|
state.dateInitialized &&
|
|
@@ -9179,7 +9316,7 @@ function styleInject(css, ref) {
|
|
|
9179
9316
|
}
|
|
9180
9317
|
}
|
|
9181
9318
|
|
|
9182
|
-
var css_248z = "/*! tailwindcss v2.1.2 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n\n/*\nDocument\n========\n*/\n\n/**\nUse a better box model (opinionated).\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\n\n/**\nUse a more readable tab size (opinionated).\n*/\n\nhtml {\n -moz-tab-size: 4;\n tab-size: 4;\n}\n\n/**\n1. Correct the line height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n*/\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/*\nSections\n========\n*/\n\n/**\nRemove the margin in all browsers.\n*/\n\nbody {\n margin: 0;\n}\n\n/**\nImprove consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n*/\n\nbody {\n font-family:\n\t\tsystem-ui,\n\t\t-apple-system, /* Firefox supports this but not yet `system-ui` */\n\t\t'Segoe UI',\n\t\tRoboto,\n\t\tHelvetica,\n\t\tArial,\n\t\tsans-serif,\n\t\t'Apple Color Emoji',\n\t\t'Segoe UI Emoji';\n}\n\n/*\nGrouping content\n================\n*/\n\n/**\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n}\n\n/*\nText-level semantics\n====================\n*/\n\n/**\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr[title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/**\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n2. Correct the odd 'em' font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family:\n\t\tui-monospace,\n\t\tSFMono-Regular,\n\t\tConsolas,\n\t\t'Liberation Mono',\n\t\tMenlo,\n\t\tmonospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/**\nPrevent 'sub' and 'sup' elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\nTabular data\n============\n*/\n\n/**\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n}\n\n/*\nForms\n=====\n*/\n\n/**\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\nRemove the inheritance of text transform in Edge and Firefox.\n1. Remove the inheritance of text transform in Firefox.\n*/\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\nCorrect the inability to style clickable types in iOS and Safari.\n*/\n\nbutton,\n[type='button'] {\n -webkit-appearance: button;\n}\n\n/**\nRemove the inner border and padding in Firefox.\n*/\n\n/**\nRestore the focus styles unset by the previous rule.\n*/\n\n/**\nRemove the additional ':invalid' styles in Firefox.\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\n*/\n\n/**\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\n*/\n\nlegend {\n padding: 0;\n}\n\n/**\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n/**\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n/**\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n/**\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to 'inherit' in Safari.\n*/\n\n/*\nInteractive\n===========\n*/\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/**\n * Manually forked from SUIT CSS Base: https://github.com/suitcss/base\n * A thin layer on top of normalize.css that provides a starting point more\n * suitable for web applications.\n */\n\n/**\n * Removes the default spacing and border for appropriate elements.\n */\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nbutton {\n background-color: transparent;\n background-image: none;\n}\n\n/**\n * Work around a Firefox/IE bug where the transparent `button` background\n * results in a loss of the default `button` focus styles.\n */\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/**\n * Tailwind custom reset styles\n */\n\n/**\n * 1. Use the user's configured `sans` font-family (with Tailwind's default\n * sans-serif font stack as a fallback) as a sane default.\n * 2. Use Tailwind's default \"normal\" line-height so the user isn't forced\n * to override it to ensure consistency even when using the default theme.\n */\n\nhtml {\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 1 */\n line-height: 1.5; /* 2 */\n}\n\n/**\n * Inherit font-family and line-height from `html` so users can set them as\n * a class directly on the `html` element.\n */\n\nbody {\n font-family: inherit;\n line-height: inherit;\n}\n\n/**\n * 1. Prevent padding and border from affecting element width.\n *\n * We used to set this in the html element and inherit from\n * the parent element for everything else. This caused issues\n * in shadow-dom-enhanced elements like <details> where the content\n * is wrapped by a div with box-sizing set to `content-box`.\n *\n * https://github.com/mozdevs/cssremedy/issues/4\n *\n *\n * 2. Allow adding a border to an element by just adding a border-width.\n *\n * By default, the way the browser specifies that an element should have no\n * border is by setting it's border-style to `none` in the user-agent\n * stylesheet.\n *\n * In order to easily add borders to elements by just setting the `border-width`\n * property, we change the default border-style for all elements to `solid`, and\n * use border-width to hide them instead. This way our `border` utilities only\n * need to set the `border-width` property instead of the entire `border`\n * shorthand, making our border utilities much more straightforward to compose.\n *\n * https://github.com/tailwindcss/tailwindcss/pull/116\n */\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n/*\n * Ensure horizontal rules are visible by default\n */\n\nhr {\n border-top-width: 1px;\n}\n\n/**\n * Undo the `border-style: none` reset that Normalize applies to images so that\n * our `border-{width}` utilities have the expected effect.\n *\n * The Normalize reset is unnecessary for us since we default the border-width\n * to 0 on all elements.\n *\n * https://github.com/tailwindcss/tailwindcss/issues/362\n */\n\nimg {\n border-style: solid;\n}\n\ntextarea {\n resize: vertical;\n}\n\ninput::-webkit-input-placeholder, textarea::-webkit-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput:-ms-input-placeholder, textarea:-ms-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\nbutton {\n cursor: pointer;\n}\n\ntable {\n border-collapse: collapse;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/**\n * Reset links to optimize for opt-in styling instead of\n * opt-out.\n */\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/**\n * Reset form element properties that are easy to forget to\n * style explicitly so you don't inadvertently introduce\n * styles that deviate from your design system. These styles\n * supplement a partial reset that is already applied by\n * normalize.css.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n}\n\n/**\n * Use the configured 'mono' font family for elements that\n * are expected to be rendered with a monospace font, falling\n * back to the system monospace stack if there is no configured\n * 'mono' font family.\n */\n\npre,\ncode,\nkbd,\nsamp {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n/**\n * Make replaced elements `display: block` by default as that's\n * the behavior you want almost all of the time. Inspired by\n * CSS Remedy, with `svg` added as well.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block;\n vertical-align: middle;\n}\n\n/**\n * Constrain images and videos to the parent width and preserve\n * their intrinsic aspect ratio.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n.bsc-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-bg-gray-200 {\n --tw-bg-opacity: 1;\n background-color: rgba(229, 231, 235, var(--tw-bg-opacity));\n}\n\n.bsc-bg-gray-900 {\n --tw-bg-opacity: 1;\n background-color: rgba(17, 24, 39, var(--tw-bg-opacity));\n}\n\n.bsc-bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgba(239, 68, 68, var(--tw-bg-opacity));\n}\n\n.bsc-bg-green-100 {\n --tw-bg-opacity: 1;\n background-color: rgba(209, 250, 229, var(--tw-bg-opacity));\n}\n\n.bsc-bg-blue-100 {\n --tw-bg-opacity: 1;\n background-color: rgba(219, 234, 254, var(--tw-bg-opacity));\n}\n\n.bsc-bg-blue-200 {\n --tw-bg-opacity: 1;\n background-color: rgba(191, 219, 254, var(--tw-bg-opacity));\n}\n\n.hover\\:bsc-bg-gray-300:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(209, 213, 219, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-black {\n --tw-bg-opacity: 1;\n background-color: rgba(0, 0, 0, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-gray-900 {\n --tw-bg-opacity: 1;\n background-color: rgba(17, 24, 39, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:hover\\:bsc-bg-white:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-border-black {\n --tw-border-opacity: 1;\n border-color: rgba(0, 0, 0, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-300 {\n --tw-border-opacity: 1;\n border-color: rgba(209, 213, 219, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-400 {\n --tw-border-opacity: 1;\n border-color: rgba(156, 163, 175, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-500 {\n --tw-border-opacity: 1;\n border-color: rgba(107, 114, 128, var(--tw-border-opacity));\n}\n\n.bsc-dark .dark\\:bsc-border-white {\n --tw-border-opacity: 1;\n border-color: rgba(255, 255, 255, var(--tw-border-opacity));\n}\n\n.bsc-rounded-md {\n border-radius: 0.375rem;\n}\n\n.bsc-rounded-full {\n border-radius: 9999px;\n}\n\n.bsc-border-solid {\n border-style: solid;\n}\n\n.bsc-border-none {\n border-style: none;\n}\n\n.bsc-border {\n border-width: 1px;\n}\n\n.bsc-border-r {\n border-right-width: 1px;\n}\n\n.bsc-cursor-pointer {\n cursor: pointer;\n}\n\n.bsc-cursor-not-allowed {\n cursor: not-allowed;\n}\n\n.bsc-flex {\n display: -webkit-flex;\n display: flex;\n}\n\n.bsc-grid {\n display: grid;\n}\n\n.bsc-flex-row {\n -webkit-flex-direction: row;\n flex-direction: row;\n}\n\n.bsc-flex-col {\n -webkit-flex-direction: column;\n flex-direction: column;\n}\n\n.bsc-justify-center {\n -webkit-justify-content: center;\n justify-content: center;\n}\n\n.bsc-flex-grow {\n -webkit-flex-grow: 1;\n flex-grow: 1;\n}\n\n.bsc-flex-shrink {\n -webkit-flex-shrink: 1;\n flex-shrink: 1;\n}\n\n.bsc-font-bold {\n font-weight: 700;\n}\n\n.bsc-mr-2 {\n margin-right: 0.5rem;\n}\n\n.bsc-ml-2 {\n margin-left: 0.5rem;\n}\n\n.focus\\:bsc-outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.bsc-overflow-scroll {\n overflow: scroll;\n}\n\n.bsc-p-2 {\n padding: 0.5rem;\n}\n\n.bsc-p-4 {\n padding: 1rem;\n}\n\n.bsc-py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n.bsc-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.bsc-pr-4 {\n padding-right: 1rem;\n}\n\n.bsc-pl-4 {\n padding-left: 1rem;\n}\n\n.bsc-pb-8 {\n padding-bottom: 2rem;\n}\n\n.bsc-absolute {\n position: absolute;\n}\n\n* {\n --tw-shadow: 0 0 #0000;\n}\n\n.bsc-shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.bsc-shadow {\n --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n* {\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n}\n\n.bsc-text-left {\n text-align: left;\n}\n\n.bsc-text-center {\n text-align: center;\n}\n\n.bsc-text-gray-400 {\n --tw-text-opacity: 1;\n color: rgba(156, 163, 175, var(--tw-text-opacity));\n}\n\n.bsc-text-red-300 {\n --tw-text-opacity: 1;\n color: rgba(252, 165, 165, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:bsc-text-black {\n --tw-text-opacity: 1;\n color: rgba(0, 0, 0, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:bsc-text-white {\n --tw-text-opacity: 1;\n color: rgba(255, 255, 255, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:hover\\:bsc-text-black:hover {\n --tw-text-opacity: 1;\n color: rgba(0, 0, 0, var(--tw-text-opacity));\n}\n\n.bsc-w-full {\n width: 100%;\n}\n\n.bsc-gap-3 {\n gap: 0.75rem;\n}\n\n.bsc-gap-4 {\n gap: 1rem;\n}\n\n.bsc-grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n.bsc-grid-cols-7 {\n grid-template-columns: repeat(7, minmax(0, 1fr));\n}\n\n.bsc-col-span-4 {\n grid-column: span 4 / span 4;\n}\n\n@-webkit-keyframes bsc-spin {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes bsc-spin {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes bsc-ping {\n 75%, 100% {\n -webkit-transform: scale(2);\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@keyframes bsc-ping {\n 75%, 100% {\n -webkit-transform: scale(2);\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes bsc-pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@keyframes bsc-pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@-webkit-keyframes bsc-bounce {\n 0%, 100% {\n -webkit-transform: translateY(-25%);\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n -webkit-transform: none;\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n@keyframes bsc-bounce {\n 0%, 100% {\n -webkit-transform: translateY(-25%);\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n -webkit-transform: none;\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n\n@media (min-width: 640px) {\n}\n\n@media (min-width: 768px) {\n}\n\n@media (min-width: 1024px) {\n}\n\n@media (min-width: 1280px) {\n}\n\n@media (min-width: 1536px) {\n}\n";
|
|
9319
|
+
var css_248z = "/*! tailwindcss v2.1.2 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n\n/*\nDocument\n========\n*/\n\n/**\nUse a better box model (opinionated).\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\n\n/**\nUse a more readable tab size (opinionated).\n*/\n\nhtml {\n -moz-tab-size: 4;\n tab-size: 4;\n}\n\n/**\n1. Correct the line height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n*/\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/*\nSections\n========\n*/\n\n/**\nRemove the margin in all browsers.\n*/\n\nbody {\n margin: 0;\n}\n\n/**\nImprove consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n*/\n\nbody {\n font-family:\n\t\tsystem-ui,\n\t\t-apple-system, /* Firefox supports this but not yet `system-ui` */\n\t\t'Segoe UI',\n\t\tRoboto,\n\t\tHelvetica,\n\t\tArial,\n\t\tsans-serif,\n\t\t'Apple Color Emoji',\n\t\t'Segoe UI Emoji';\n}\n\n/*\nGrouping content\n================\n*/\n\n/**\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n}\n\n/*\nText-level semantics\n====================\n*/\n\n/**\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr[title] {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/**\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n2. Correct the odd 'em' font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family:\n\t\tui-monospace,\n\t\tSFMono-Regular,\n\t\tConsolas,\n\t\t'Liberation Mono',\n\t\tMenlo,\n\t\tmonospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/**\nPrevent 'sub' and 'sup' elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\nTabular data\n============\n*/\n\n/**\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n}\n\n/*\nForms\n=====\n*/\n\n/**\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\nRemove the inheritance of text transform in Edge and Firefox.\n1. Remove the inheritance of text transform in Firefox.\n*/\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\nCorrect the inability to style clickable types in iOS and Safari.\n*/\n\nbutton,\n[type='button'] {\n -webkit-appearance: button;\n}\n\n/**\nRemove the inner border and padding in Firefox.\n*/\n\n/**\nRestore the focus styles unset by the previous rule.\n*/\n\n/**\nRemove the additional ':invalid' styles in Firefox.\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\n*/\n\n/**\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\n*/\n\nlegend {\n padding: 0;\n}\n\n/**\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n/**\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n/**\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n/**\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to 'inherit' in Safari.\n*/\n\n/*\nInteractive\n===========\n*/\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/**\n * Manually forked from SUIT CSS Base: https://github.com/suitcss/base\n * A thin layer on top of normalize.css that provides a starting point more\n * suitable for web applications.\n */\n\n/**\n * Removes the default spacing and border for appropriate elements.\n */\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nbutton {\n background-color: transparent;\n background-image: none;\n}\n\n/**\n * Work around a Firefox/IE bug where the transparent `button` background\n * results in a loss of the default `button` focus styles.\n */\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/**\n * Tailwind custom reset styles\n */\n\n/**\n * 1. Use the user's configured `sans` font-family (with Tailwind's default\n * sans-serif font stack as a fallback) as a sane default.\n * 2. Use Tailwind's default \"normal\" line-height so the user isn't forced\n * to override it to ensure consistency even when using the default theme.\n */\n\nhtml {\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 1 */\n line-height: 1.5; /* 2 */\n}\n\n/**\n * Inherit font-family and line-height from `html` so users can set them as\n * a class directly on the `html` element.\n */\n\nbody {\n font-family: inherit;\n line-height: inherit;\n}\n\n/**\n * 1. Prevent padding and border from affecting element width.\n *\n * We used to set this in the html element and inherit from\n * the parent element for everything else. This caused issues\n * in shadow-dom-enhanced elements like <details> where the content\n * is wrapped by a div with box-sizing set to `content-box`.\n *\n * https://github.com/mozdevs/cssremedy/issues/4\n *\n *\n * 2. Allow adding a border to an element by just adding a border-width.\n *\n * By default, the way the browser specifies that an element should have no\n * border is by setting it's border-style to `none` in the user-agent\n * stylesheet.\n *\n * In order to easily add borders to elements by just setting the `border-width`\n * property, we change the default border-style for all elements to `solid`, and\n * use border-width to hide them instead. This way our `border` utilities only\n * need to set the `border-width` property instead of the entire `border`\n * shorthand, making our border utilities much more straightforward to compose.\n *\n * https://github.com/tailwindcss/tailwindcss/pull/116\n */\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n}\n\n/*\n * Ensure horizontal rules are visible by default\n */\n\nhr {\n border-top-width: 1px;\n}\n\n/**\n * Undo the `border-style: none` reset that Normalize applies to images so that\n * our `border-{width}` utilities have the expected effect.\n *\n * The Normalize reset is unnecessary for us since we default the border-width\n * to 0 on all elements.\n *\n * https://github.com/tailwindcss/tailwindcss/issues/362\n */\n\nimg {\n border-style: solid;\n}\n\ntextarea {\n resize: vertical;\n}\n\ninput::-webkit-input-placeholder, textarea::-webkit-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput:-ms-input-placeholder, textarea:-ms-input-placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n color: #9ca3af;\n}\n\nbutton {\n cursor: pointer;\n}\n\ntable {\n border-collapse: collapse;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/**\n * Reset links to optimize for opt-in styling instead of\n * opt-out.\n */\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/**\n * Reset form element properties that are easy to forget to\n * style explicitly so you don't inadvertently introduce\n * styles that deviate from your design system. These styles\n * supplement a partial reset that is already applied by\n * normalize.css.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n}\n\n/**\n * Use the configured 'mono' font family for elements that\n * are expected to be rendered with a monospace font, falling\n * back to the system monospace stack if there is no configured\n * 'mono' font family.\n */\n\npre,\ncode,\nkbd,\nsamp {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n}\n\n/**\n * Make replaced elements `display: block` by default as that's\n * the behavior you want almost all of the time. Inspired by\n * CSS Remedy, with `svg` added as well.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block;\n vertical-align: middle;\n}\n\n/**\n * Constrain images and videos to the parent width and preserve\n * their intrinsic aspect ratio.\n *\n * https://github.com/mozdevs/cssremedy/issues/14\n */\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n.bsc-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-bg-gray-200 {\n --tw-bg-opacity: 1;\n background-color: rgba(229, 231, 235, var(--tw-bg-opacity));\n}\n\n.bsc-bg-gray-900 {\n --tw-bg-opacity: 1;\n background-color: rgba(17, 24, 39, var(--tw-bg-opacity));\n}\n\n.bsc-bg-red-500 {\n --tw-bg-opacity: 1;\n background-color: rgba(239, 68, 68, var(--tw-bg-opacity));\n}\n\n.bsc-bg-green-100 {\n --tw-bg-opacity: 1;\n background-color: rgba(209, 250, 229, var(--tw-bg-opacity));\n}\n\n.bsc-bg-blue-100 {\n --tw-bg-opacity: 1;\n background-color: rgba(219, 234, 254, var(--tw-bg-opacity));\n}\n\n.bsc-bg-blue-200 {\n --tw-bg-opacity: 1;\n background-color: rgba(191, 219, 254, var(--tw-bg-opacity));\n}\n\n.hover\\:bsc-bg-gray-300:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(209, 213, 219, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-black {\n --tw-bg-opacity: 1;\n background-color: rgba(0, 0, 0, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:bsc-bg-gray-900 {\n --tw-bg-opacity: 1;\n background-color: rgba(17, 24, 39, var(--tw-bg-opacity));\n}\n\n.bsc-dark .dark\\:hover\\:bsc-bg-white:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(255, 255, 255, var(--tw-bg-opacity));\n}\n\n.bsc-border-transparent {\n border-color: transparent;\n}\n\n.bsc-border-black {\n --tw-border-opacity: 1;\n border-color: rgba(0, 0, 0, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-300 {\n --tw-border-opacity: 1;\n border-color: rgba(209, 213, 219, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-400 {\n --tw-border-opacity: 1;\n border-color: rgba(156, 163, 175, var(--tw-border-opacity));\n}\n\n.bsc-border-gray-500 {\n --tw-border-opacity: 1;\n border-color: rgba(107, 114, 128, var(--tw-border-opacity));\n}\n\n.bsc-dark .dark\\:bsc-border-white {\n --tw-border-opacity: 1;\n border-color: rgba(255, 255, 255, var(--tw-border-opacity));\n}\n\n.bsc-rounded-md {\n border-radius: 0.375rem;\n}\n\n.bsc-rounded-full {\n border-radius: 9999px;\n}\n\n.bsc-border-solid {\n border-style: solid;\n}\n\n.bsc-border-none {\n border-style: none;\n}\n\n.bsc-border {\n border-width: 1px;\n}\n\n.bsc-border-r {\n border-right-width: 1px;\n}\n\n.bsc-cursor-pointer {\n cursor: pointer;\n}\n\n.bsc-cursor-not-allowed {\n cursor: not-allowed;\n}\n\n.bsc-flex {\n display: flex;\n}\n\n.bsc-grid {\n display: grid;\n}\n\n.bsc-flex-row {\n flex-direction: row;\n}\n\n.bsc-flex-col {\n flex-direction: column;\n}\n\n.bsc-justify-center {\n justify-content: center;\n}\n\n.bsc-flex-grow {\n flex-grow: 1;\n}\n\n.bsc-flex-shrink {\n flex-shrink: 1;\n}\n\n.bsc-font-bold {\n font-weight: 700;\n}\n\n.bsc-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.bsc-mr-2 {\n margin-right: 0.5rem;\n}\n\n.bsc-ml-2 {\n margin-left: 0.5rem;\n}\n\n.focus\\:bsc-outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.bsc-overflow-hidden {\n overflow: hidden;\n}\n\n.bsc-overflow-scroll {\n overflow: scroll;\n}\n\n.bsc-overflow-x-auto {\n overflow-x: auto;\n}\n\n.bsc-overflow-y-hidden {\n overflow-y: hidden;\n}\n\n.bsc-p-2 {\n padding: 0.5rem;\n}\n\n.bsc-p-4 {\n padding: 1rem;\n}\n\n.bsc-py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n.bsc-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.bsc-pr-4 {\n padding-right: 1rem;\n}\n\n.bsc-pl-4 {\n padding-left: 1rem;\n}\n\n.bsc-pb-8 {\n padding-bottom: 2rem;\n}\n\n.bsc-absolute {\n position: absolute;\n}\n\n* {\n --tw-shadow: 0 0 #0000;\n}\n\n.bsc-shadow-sm {\n --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.bsc-shadow {\n --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n* {\n --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgba(59, 130, 246, 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n}\n\n.bsc-text-left {\n text-align: left;\n}\n\n.bsc-text-center {\n text-align: center;\n}\n\n.bsc-text-gray-400 {\n --tw-text-opacity: 1;\n color: rgba(156, 163, 175, var(--tw-text-opacity));\n}\n\n.bsc-text-red-300 {\n --tw-text-opacity: 1;\n color: rgba(252, 165, 165, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:bsc-text-black {\n --tw-text-opacity: 1;\n color: rgba(0, 0, 0, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:bsc-text-white {\n --tw-text-opacity: 1;\n color: rgba(255, 255, 255, var(--tw-text-opacity));\n}\n\n.bsc-dark .dark\\:hover\\:bsc-text-black:hover {\n --tw-text-opacity: 1;\n color: rgba(0, 0, 0, var(--tw-text-opacity));\n}\n\n.bsc-whitespace-pre {\n white-space: pre;\n}\n\n.bsc-w-24 {\n width: 6rem;\n}\n\n.bsc-w-full {\n width: 100%;\n}\n\n.bsc-gap-3 {\n gap: 0.75rem;\n}\n\n.bsc-gap-4 {\n gap: 1rem;\n}\n\n.bsc-grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n.bsc-grid-cols-7 {\n grid-template-columns: repeat(7, minmax(0, 1fr));\n}\n\n.bsc-col-span-4 {\n grid-column: span 4 / span 4;\n}\n\n@-webkit-keyframes bsc-spin {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes bsc-spin {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes bsc-ping {\n 75%, 100% {\n -webkit-transform: scale(2);\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@keyframes bsc-ping {\n 75%, 100% {\n -webkit-transform: scale(2);\n transform: scale(2);\n opacity: 0;\n }\n}\n\n@-webkit-keyframes bsc-pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@keyframes bsc-pulse {\n 50% {\n opacity: .5;\n }\n}\n\n@-webkit-keyframes bsc-bounce {\n 0%, 100% {\n -webkit-transform: translateY(-25%);\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n -webkit-transform: none;\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\n@keyframes bsc-bounce {\n 0%, 100% {\n -webkit-transform: translateY(-25%);\n transform: translateY(-25%);\n -webkit-animation-timing-function: cubic-bezier(0.8,0,1,1);\n animation-timing-function: cubic-bezier(0.8,0,1,1);\n }\n\n 50% {\n -webkit-transform: none;\n transform: none;\n -webkit-animation-timing-function: cubic-bezier(0,0,0.2,1);\n animation-timing-function: cubic-bezier(0,0,0.2,1);\n }\n}\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n\n@media (min-width: 640px) {\n}\n\n@media (min-width: 768px) {\n}\n\n@media (min-width: 1024px) {\n}\n\n@media (min-width: 1280px) {\n}\n\n@media (min-width: 1536px) {\n}\n";
|
|
9183
9320
|
styleInject(css_248z);
|
|
9184
9321
|
|
|
9185
9322
|
/*!
|