beesoft-components 0.2.12 → 0.2.13
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/build/index.cjs.js +98 -20
- package/build/index.js +98 -20
- 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.reducer.d.ts +2 -1
package/build/index.cjs.js
CHANGED
|
@@ -3089,6 +3089,38 @@ function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
|
3089
3089
|
return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();
|
|
3090
3090
|
}
|
|
3091
3091
|
|
|
3092
|
+
/**
|
|
3093
|
+
* @name endOfMonth
|
|
3094
|
+
* @category Month Helpers
|
|
3095
|
+
* @summary Return the end of a month for the given date.
|
|
3096
|
+
*
|
|
3097
|
+
* @description
|
|
3098
|
+
* Return the end of a month for the given date.
|
|
3099
|
+
* The result will be in the local timezone.
|
|
3100
|
+
*
|
|
3101
|
+
* ### v2.0.0 breaking changes:
|
|
3102
|
+
*
|
|
3103
|
+
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
3104
|
+
*
|
|
3105
|
+
* @param {Date|Number} date - the original date
|
|
3106
|
+
* @returns {Date} the end of a month
|
|
3107
|
+
* @throws {TypeError} 1 argument required
|
|
3108
|
+
*
|
|
3109
|
+
* @example
|
|
3110
|
+
* // The end of a month for 2 September 2014 11:55:00:
|
|
3111
|
+
* const result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0))
|
|
3112
|
+
* //=> Tue Sep 30 2014 23:59:59.999
|
|
3113
|
+
*/
|
|
3114
|
+
|
|
3115
|
+
function endOfMonth(dirtyDate) {
|
|
3116
|
+
requiredArgs(1, arguments);
|
|
3117
|
+
var date = toDate(dirtyDate);
|
|
3118
|
+
var month = date.getMonth();
|
|
3119
|
+
date.setFullYear(date.getFullYear(), month + 1, 0);
|
|
3120
|
+
date.setHours(23, 59, 59, 999);
|
|
3121
|
+
return date;
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3092
3124
|
/**
|
|
3093
3125
|
* @name eachDayOfInterval
|
|
3094
3126
|
* @category Interval Helpers
|
|
@@ -8217,7 +8249,7 @@ function debounce(func, wait, options) {
|
|
|
8217
8249
|
var debounce_1 = debounce;
|
|
8218
8250
|
|
|
8219
8251
|
function ContentEditableInput(props, ref) {
|
|
8220
|
-
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;
|
|
8252
|
+
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;
|
|
8221
8253
|
var inputRef = React.useRef(null);
|
|
8222
8254
|
var onLeftElementClicked = function (event) {
|
|
8223
8255
|
if (onLeftElementClick) {
|
|
@@ -8240,8 +8272,13 @@ function ContentEditableInput(props, ref) {
|
|
|
8240
8272
|
}
|
|
8241
8273
|
}, debounceTime);
|
|
8242
8274
|
var onElementCreated = function (element) {
|
|
8243
|
-
if (element
|
|
8244
|
-
onElementCreate
|
|
8275
|
+
if (element) {
|
|
8276
|
+
if (onElementCreate) {
|
|
8277
|
+
onElementCreate(element);
|
|
8278
|
+
}
|
|
8279
|
+
if (element.offsetWidth < element.scrollWidth && value) {
|
|
8280
|
+
element.setAttribute('title', value);
|
|
8281
|
+
}
|
|
8245
8282
|
}
|
|
8246
8283
|
};
|
|
8247
8284
|
var focus = function () {
|
|
@@ -8251,7 +8288,10 @@ function ContentEditableInput(props, ref) {
|
|
|
8251
8288
|
React.useImperativeHandle(ref, function () { return ({
|
|
8252
8289
|
focus: focus,
|
|
8253
8290
|
}); });
|
|
8254
|
-
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',
|
|
8291
|
+
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
|
+
'bsc-overflow-x-auto bsc-overflow-y-hidden bsc-whitespace-pre': isSingleLine && allowSingleLineScroll,
|
|
8293
|
+
'bsc-overflow-hidden bsc-whitespace-pre': isSingleLine && !allowSingleLineScroll,
|
|
8294
|
+
}, className);
|
|
8255
8295
|
var leftElementClasses = classnames('bsc-flex-shrink', { 'bsc-mr-2': leftElement }, leftElementClassName);
|
|
8256
8296
|
var rightElementClasses = classnames('bsc-flex-shrink', { 'bsc-ml-2': rightElement }, rightElementClassName);
|
|
8257
8297
|
return (jsxRuntime.jsxs("div", __assign({ className: classNames, ref: function (element) { return onElementCreated(element); } }, { children: [jsxRuntime.jsx("div", __assign({ className: leftElementClasses, onClick: onLeftElementClicked }, { children: leftElement }), void 0),
|
|
@@ -8415,6 +8455,9 @@ function getDefaultTime(locale) {
|
|
|
8415
8455
|
tempDate.setHours(0, 0, 0, 0);
|
|
8416
8456
|
return tempDate.toLocaleTimeString(locale.code);
|
|
8417
8457
|
}
|
|
8458
|
+
function isDateBetween(checkDate, startComparisonDate, endComparisonDate) {
|
|
8459
|
+
return checkDate.getTime() >= startComparisonDate.getTime() && checkDate.getTime() <= endComparisonDate.getTime();
|
|
8460
|
+
}
|
|
8418
8461
|
function loadLocale(localeToLoad) {
|
|
8419
8462
|
return new Promise(function (resolve, reject) {
|
|
8420
8463
|
Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require("date-fns/locale/" + localeToLoad)); })
|
|
@@ -8479,7 +8522,8 @@ var DateTimeActionType;
|
|
|
8479
8522
|
DateTimeActionType[DateTimeActionType["SetSelectedDateRange"] = 6] = "SetSelectedDateRange";
|
|
8480
8523
|
DateTimeActionType[DateTimeActionType["ResetSelectedDateChanged"] = 7] = "ResetSelectedDateChanged";
|
|
8481
8524
|
DateTimeActionType[DateTimeActionType["ResetSelectedDateRangeChanged"] = 8] = "ResetSelectedDateRangeChanged";
|
|
8482
|
-
DateTimeActionType[DateTimeActionType["
|
|
8525
|
+
DateTimeActionType[DateTimeActionType["ClearDates"] = 9] = "ClearDates";
|
|
8526
|
+
DateTimeActionType[DateTimeActionType["InitializeDates"] = 10] = "InitializeDates";
|
|
8483
8527
|
})(DateTimeActionType || (DateTimeActionType = {}));
|
|
8484
8528
|
var reducer = function (state, action) {
|
|
8485
8529
|
var _a, _b, _c, _d, _e, _f;
|
|
@@ -8503,6 +8547,13 @@ var reducer = function (state, action) {
|
|
|
8503
8547
|
return __assign(__assign({}, state), { originalSetDate: action.selectedDate || state.selectedDate, selectedDateChanged: false });
|
|
8504
8548
|
case DateTimeActionType.ResetSelectedDateRangeChanged:
|
|
8505
8549
|
return __assign(__assign({}, state), { originalSetStartDate: action.selectedStartDate || state.selectedStartDate, originalSetEndDate: action.selectedEndDate || state.selectedEndDate, selectedDateChanged: false });
|
|
8550
|
+
case DateTimeActionType.ClearDates:
|
|
8551
|
+
return {
|
|
8552
|
+
currentSelector: state.currentSelector,
|
|
8553
|
+
currentViewDate: state.currentViewDate,
|
|
8554
|
+
selectedDateChanged: false,
|
|
8555
|
+
dateInitialized: true,
|
|
8556
|
+
};
|
|
8506
8557
|
case DateTimeActionType.InitializeDates:
|
|
8507
8558
|
var baseState = __assign(__assign({}, state), { currentViewDate: getInitialDate(action.initialDate), dateInitialized: true });
|
|
8508
8559
|
if (!Array.isArray(action.initialDate)) {
|
|
@@ -8527,9 +8578,9 @@ function DateTimeCalendar(_a) {
|
|
|
8527
8578
|
var _e = React.useState(false), isLocaleLoaded = _e[0], setIsLocaleLoaded = _e[1];
|
|
8528
8579
|
var loadedLocale = React.useRef();
|
|
8529
8580
|
var weekDaysRef = React.useRef();
|
|
8530
|
-
var
|
|
8531
|
-
var
|
|
8532
|
-
var
|
|
8581
|
+
var _f = React.useState(), currentSelectedDate = _f[0], setCurrentSelectedDate = _f[1];
|
|
8582
|
+
var _g = React.useState(), selectedStartComparison = _g[0], setSelectedStartComparison = _g[1];
|
|
8583
|
+
var _h = React.useState(), selectedEndComparison = _h[0], setSelectedEndComparison = _h[1];
|
|
8533
8584
|
var isShiftDown = useKeyDown(['Meta', 'Control']);
|
|
8534
8585
|
var context = React.useContext(DateTimeContext);
|
|
8535
8586
|
var viewTemplate = context.calendarTemplate;
|
|
@@ -8564,7 +8615,10 @@ function DateTimeCalendar(_a) {
|
|
|
8564
8615
|
}, [viewDate, isLocaleLoaded]);
|
|
8565
8616
|
React.useEffect(function () {
|
|
8566
8617
|
if (selectedDate) {
|
|
8567
|
-
|
|
8618
|
+
setCurrentSelectedDate(new Date(selectedDate.getFullYear(), selectedDate.getMonth(), selectedDate.getDate()));
|
|
8619
|
+
}
|
|
8620
|
+
else {
|
|
8621
|
+
setCurrentSelectedDate(undefined);
|
|
8568
8622
|
}
|
|
8569
8623
|
}, [selectedDate]);
|
|
8570
8624
|
React.useEffect(function () {
|
|
@@ -8572,6 +8626,10 @@ function DateTimeCalendar(_a) {
|
|
|
8572
8626
|
setSelectedStartComparison(new Date(selectedStartDate.getFullYear(), selectedStartDate.getMonth(), selectedStartDate.getDate()).getTime());
|
|
8573
8627
|
setSelectedEndComparison(new Date(selectedEndDate.getFullYear(), selectedEndDate.getMonth(), selectedEndDate.getDate(), 23, 59, 59).getTime());
|
|
8574
8628
|
}
|
|
8629
|
+
else {
|
|
8630
|
+
setSelectedStartComparison(undefined);
|
|
8631
|
+
setSelectedEndComparison(undefined);
|
|
8632
|
+
}
|
|
8575
8633
|
}, [selectedStartDate, selectedEndDate]);
|
|
8576
8634
|
React.useEffect(function () {
|
|
8577
8635
|
if (loadedLocale.current && locale) {
|
|
@@ -8607,8 +8665,7 @@ function DateTimeCalendar(_a) {
|
|
|
8607
8665
|
}
|
|
8608
8666
|
};
|
|
8609
8667
|
var isSelectedDate = function (currentDate) {
|
|
8610
|
-
|
|
8611
|
-
return ((_a = selectedDateRef.current) === null || _a === void 0 ? void 0 : _a.toLocaleDateString()) === currentDate.toLocaleDateString();
|
|
8668
|
+
return (currentSelectedDate === null || currentSelectedDate === void 0 ? void 0 : currentSelectedDate.toLocaleDateString()) === currentDate.toLocaleDateString();
|
|
8612
8669
|
};
|
|
8613
8670
|
var isInSelectedDateRange = function (currentDate) {
|
|
8614
8671
|
if (selectedStartComparison && selectedEndComparison) {
|
|
@@ -8645,7 +8702,7 @@ function DateTimeCalendar(_a) {
|
|
|
8645
8702
|
},
|
|
8646
8703
|
_a[(context.colors.selectedDateColor || 'bsc-bg-blue-100') + " dark:bsc-bg-white dark:bsc-text-black bsc-rounded-full"] = column &&
|
|
8647
8704
|
column.dayValue &&
|
|
8648
|
-
((
|
|
8705
|
+
((currentSelectedDate && isSelectedDate(column.dayValue)) ||
|
|
8649
8706
|
(selectedStartComparison && selectedEndComparison && isInSelectedDateRange(column.dayValue))),
|
|
8650
8707
|
_a['bsc-cursor-pointer'] = isSelectable,
|
|
8651
8708
|
_a['bsc-text-red-300 bsc-cursor-not-allowed'] = !isSelectable,
|
|
@@ -9026,15 +9083,36 @@ function DateTime(_a) {
|
|
|
9026
9083
|
setSelectorOpen(true);
|
|
9027
9084
|
};
|
|
9028
9085
|
var onInput = function (event) {
|
|
9029
|
-
var
|
|
9086
|
+
var dateString = event.target.innerText;
|
|
9087
|
+
var inputDate = dateSelection !== DateSelectionType.DateRange ? parseDate(dateString) : parseDateRange(dateString);
|
|
9030
9088
|
if (inputDate) {
|
|
9089
|
+
if (!Array.isArray(inputDate)) {
|
|
9090
|
+
dispatcher({
|
|
9091
|
+
type: DateTimeActionType.SetViewDate,
|
|
9092
|
+
viewDate: inputDate,
|
|
9093
|
+
});
|
|
9094
|
+
dispatcher({
|
|
9095
|
+
type: DateTimeActionType.SetSelectedDate,
|
|
9096
|
+
selectedDate: inputDate,
|
|
9097
|
+
});
|
|
9098
|
+
}
|
|
9099
|
+
else {
|
|
9100
|
+
if (!isDateBetween(inputDate[0], startOfMonth(state.currentViewDate), endOfMonth(addMonths(state.currentViewDate, 1)))) {
|
|
9101
|
+
dispatcher({
|
|
9102
|
+
type: DateTimeActionType.SetViewDate,
|
|
9103
|
+
viewDate: inputDate[0],
|
|
9104
|
+
});
|
|
9105
|
+
}
|
|
9106
|
+
dispatcher({
|
|
9107
|
+
type: DateTimeActionType.SetSelectedDateRange,
|
|
9108
|
+
selectedStartDate: inputDate[0],
|
|
9109
|
+
selectedEndDate: inputDate[1],
|
|
9110
|
+
});
|
|
9111
|
+
}
|
|
9112
|
+
}
|
|
9113
|
+
else if (dateString === '') {
|
|
9031
9114
|
dispatcher({
|
|
9032
|
-
type: DateTimeActionType.
|
|
9033
|
-
viewDate: inputDate,
|
|
9034
|
-
});
|
|
9035
|
-
dispatcher({
|
|
9036
|
-
type: DateTimeActionType.SetSelectedDate,
|
|
9037
|
-
selectedDate: inputDate,
|
|
9115
|
+
type: DateTimeActionType.ClearDates,
|
|
9038
9116
|
});
|
|
9039
9117
|
}
|
|
9040
9118
|
};
|
|
@@ -9213,7 +9291,7 @@ function styleInject(css, ref) {
|
|
|
9213
9291
|
}
|
|
9214
9292
|
}
|
|
9215
9293
|
|
|
9216
|
-
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: -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-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-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";
|
|
9294
|
+
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: -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-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";
|
|
9217
9295
|
styleInject(css_248z);
|
|
9218
9296
|
|
|
9219
9297
|
/*!
|
package/build/index.js
CHANGED
|
@@ -3060,6 +3060,38 @@ function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
|
3060
3060
|
return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();
|
|
3061
3061
|
}
|
|
3062
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
|
+
|
|
3063
3095
|
/**
|
|
3064
3096
|
* @name eachDayOfInterval
|
|
3065
3097
|
* @category Interval Helpers
|
|
@@ -8188,7 +8220,7 @@ function debounce(func, wait, options) {
|
|
|
8188
8220
|
var debounce_1 = debounce;
|
|
8189
8221
|
|
|
8190
8222
|
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;
|
|
8223
|
+
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
8224
|
var inputRef = useRef(null);
|
|
8193
8225
|
var onLeftElementClicked = function (event) {
|
|
8194
8226
|
if (onLeftElementClick) {
|
|
@@ -8211,8 +8243,13 @@ function ContentEditableInput(props, ref) {
|
|
|
8211
8243
|
}
|
|
8212
8244
|
}, debounceTime);
|
|
8213
8245
|
var onElementCreated = function (element) {
|
|
8214
|
-
if (element
|
|
8215
|
-
onElementCreate
|
|
8246
|
+
if (element) {
|
|
8247
|
+
if (onElementCreate) {
|
|
8248
|
+
onElementCreate(element);
|
|
8249
|
+
}
|
|
8250
|
+
if (element.offsetWidth < element.scrollWidth && value) {
|
|
8251
|
+
element.setAttribute('title', value);
|
|
8252
|
+
}
|
|
8216
8253
|
}
|
|
8217
8254
|
};
|
|
8218
8255
|
var focus = function () {
|
|
@@ -8222,7 +8259,10 @@ function ContentEditableInput(props, ref) {
|
|
|
8222
8259
|
useImperativeHandle(ref, function () { return ({
|
|
8223
8260
|
focus: focus,
|
|
8224
8261
|
}); });
|
|
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',
|
|
8262
|
+
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', {
|
|
8263
|
+
'bsc-overflow-x-auto bsc-overflow-y-hidden bsc-whitespace-pre': isSingleLine && allowSingleLineScroll,
|
|
8264
|
+
'bsc-overflow-hidden bsc-whitespace-pre': isSingleLine && !allowSingleLineScroll,
|
|
8265
|
+
}, className);
|
|
8226
8266
|
var leftElementClasses = classnames('bsc-flex-shrink', { 'bsc-mr-2': leftElement }, leftElementClassName);
|
|
8227
8267
|
var rightElementClasses = classnames('bsc-flex-shrink', { 'bsc-ml-2': rightElement }, rightElementClassName);
|
|
8228
8268
|
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 +8426,9 @@ function getDefaultTime(locale) {
|
|
|
8386
8426
|
tempDate.setHours(0, 0, 0, 0);
|
|
8387
8427
|
return tempDate.toLocaleTimeString(locale.code);
|
|
8388
8428
|
}
|
|
8429
|
+
function isDateBetween(checkDate, startComparisonDate, endComparisonDate) {
|
|
8430
|
+
return checkDate.getTime() >= startComparisonDate.getTime() && checkDate.getTime() <= endComparisonDate.getTime();
|
|
8431
|
+
}
|
|
8389
8432
|
function loadLocale(localeToLoad) {
|
|
8390
8433
|
return new Promise(function (resolve, reject) {
|
|
8391
8434
|
import("date-fns/locale/" + localeToLoad)
|
|
@@ -8450,7 +8493,8 @@ var DateTimeActionType;
|
|
|
8450
8493
|
DateTimeActionType[DateTimeActionType["SetSelectedDateRange"] = 6] = "SetSelectedDateRange";
|
|
8451
8494
|
DateTimeActionType[DateTimeActionType["ResetSelectedDateChanged"] = 7] = "ResetSelectedDateChanged";
|
|
8452
8495
|
DateTimeActionType[DateTimeActionType["ResetSelectedDateRangeChanged"] = 8] = "ResetSelectedDateRangeChanged";
|
|
8453
|
-
DateTimeActionType[DateTimeActionType["
|
|
8496
|
+
DateTimeActionType[DateTimeActionType["ClearDates"] = 9] = "ClearDates";
|
|
8497
|
+
DateTimeActionType[DateTimeActionType["InitializeDates"] = 10] = "InitializeDates";
|
|
8454
8498
|
})(DateTimeActionType || (DateTimeActionType = {}));
|
|
8455
8499
|
var reducer = function (state, action) {
|
|
8456
8500
|
var _a, _b, _c, _d, _e, _f;
|
|
@@ -8474,6 +8518,13 @@ var reducer = function (state, action) {
|
|
|
8474
8518
|
return __assign(__assign({}, state), { originalSetDate: action.selectedDate || state.selectedDate, selectedDateChanged: false });
|
|
8475
8519
|
case DateTimeActionType.ResetSelectedDateRangeChanged:
|
|
8476
8520
|
return __assign(__assign({}, state), { originalSetStartDate: action.selectedStartDate || state.selectedStartDate, originalSetEndDate: action.selectedEndDate || state.selectedEndDate, selectedDateChanged: false });
|
|
8521
|
+
case DateTimeActionType.ClearDates:
|
|
8522
|
+
return {
|
|
8523
|
+
currentSelector: state.currentSelector,
|
|
8524
|
+
currentViewDate: state.currentViewDate,
|
|
8525
|
+
selectedDateChanged: false,
|
|
8526
|
+
dateInitialized: true,
|
|
8527
|
+
};
|
|
8477
8528
|
case DateTimeActionType.InitializeDates:
|
|
8478
8529
|
var baseState = __assign(__assign({}, state), { currentViewDate: getInitialDate(action.initialDate), dateInitialized: true });
|
|
8479
8530
|
if (!Array.isArray(action.initialDate)) {
|
|
@@ -8498,9 +8549,9 @@ function DateTimeCalendar(_a) {
|
|
|
8498
8549
|
var _e = useState(false), isLocaleLoaded = _e[0], setIsLocaleLoaded = _e[1];
|
|
8499
8550
|
var loadedLocale = useRef();
|
|
8500
8551
|
var weekDaysRef = useRef();
|
|
8501
|
-
var
|
|
8502
|
-
var
|
|
8503
|
-
var
|
|
8552
|
+
var _f = useState(), currentSelectedDate = _f[0], setCurrentSelectedDate = _f[1];
|
|
8553
|
+
var _g = useState(), selectedStartComparison = _g[0], setSelectedStartComparison = _g[1];
|
|
8554
|
+
var _h = useState(), selectedEndComparison = _h[0], setSelectedEndComparison = _h[1];
|
|
8504
8555
|
var isShiftDown = useKeyDown(['Meta', 'Control']);
|
|
8505
8556
|
var context = useContext(DateTimeContext);
|
|
8506
8557
|
var viewTemplate = context.calendarTemplate;
|
|
@@ -8535,7 +8586,10 @@ function DateTimeCalendar(_a) {
|
|
|
8535
8586
|
}, [viewDate, isLocaleLoaded]);
|
|
8536
8587
|
useEffect(function () {
|
|
8537
8588
|
if (selectedDate) {
|
|
8538
|
-
|
|
8589
|
+
setCurrentSelectedDate(new Date(selectedDate.getFullYear(), selectedDate.getMonth(), selectedDate.getDate()));
|
|
8590
|
+
}
|
|
8591
|
+
else {
|
|
8592
|
+
setCurrentSelectedDate(undefined);
|
|
8539
8593
|
}
|
|
8540
8594
|
}, [selectedDate]);
|
|
8541
8595
|
useEffect(function () {
|
|
@@ -8543,6 +8597,10 @@ function DateTimeCalendar(_a) {
|
|
|
8543
8597
|
setSelectedStartComparison(new Date(selectedStartDate.getFullYear(), selectedStartDate.getMonth(), selectedStartDate.getDate()).getTime());
|
|
8544
8598
|
setSelectedEndComparison(new Date(selectedEndDate.getFullYear(), selectedEndDate.getMonth(), selectedEndDate.getDate(), 23, 59, 59).getTime());
|
|
8545
8599
|
}
|
|
8600
|
+
else {
|
|
8601
|
+
setSelectedStartComparison(undefined);
|
|
8602
|
+
setSelectedEndComparison(undefined);
|
|
8603
|
+
}
|
|
8546
8604
|
}, [selectedStartDate, selectedEndDate]);
|
|
8547
8605
|
useEffect(function () {
|
|
8548
8606
|
if (loadedLocale.current && locale) {
|
|
@@ -8578,8 +8636,7 @@ function DateTimeCalendar(_a) {
|
|
|
8578
8636
|
}
|
|
8579
8637
|
};
|
|
8580
8638
|
var isSelectedDate = function (currentDate) {
|
|
8581
|
-
|
|
8582
|
-
return ((_a = selectedDateRef.current) === null || _a === void 0 ? void 0 : _a.toLocaleDateString()) === currentDate.toLocaleDateString();
|
|
8639
|
+
return (currentSelectedDate === null || currentSelectedDate === void 0 ? void 0 : currentSelectedDate.toLocaleDateString()) === currentDate.toLocaleDateString();
|
|
8583
8640
|
};
|
|
8584
8641
|
var isInSelectedDateRange = function (currentDate) {
|
|
8585
8642
|
if (selectedStartComparison && selectedEndComparison) {
|
|
@@ -8616,7 +8673,7 @@ function DateTimeCalendar(_a) {
|
|
|
8616
8673
|
},
|
|
8617
8674
|
_a[(context.colors.selectedDateColor || 'bsc-bg-blue-100') + " dark:bsc-bg-white dark:bsc-text-black bsc-rounded-full"] = column &&
|
|
8618
8675
|
column.dayValue &&
|
|
8619
|
-
((
|
|
8676
|
+
((currentSelectedDate && isSelectedDate(column.dayValue)) ||
|
|
8620
8677
|
(selectedStartComparison && selectedEndComparison && isInSelectedDateRange(column.dayValue))),
|
|
8621
8678
|
_a['bsc-cursor-pointer'] = isSelectable,
|
|
8622
8679
|
_a['bsc-text-red-300 bsc-cursor-not-allowed'] = !isSelectable,
|
|
@@ -8997,15 +9054,36 @@ function DateTime(_a) {
|
|
|
8997
9054
|
setSelectorOpen(true);
|
|
8998
9055
|
};
|
|
8999
9056
|
var onInput = function (event) {
|
|
9000
|
-
var
|
|
9057
|
+
var dateString = event.target.innerText;
|
|
9058
|
+
var inputDate = dateSelection !== DateSelectionType.DateRange ? parseDate(dateString) : parseDateRange(dateString);
|
|
9001
9059
|
if (inputDate) {
|
|
9060
|
+
if (!Array.isArray(inputDate)) {
|
|
9061
|
+
dispatcher({
|
|
9062
|
+
type: DateTimeActionType.SetViewDate,
|
|
9063
|
+
viewDate: inputDate,
|
|
9064
|
+
});
|
|
9065
|
+
dispatcher({
|
|
9066
|
+
type: DateTimeActionType.SetSelectedDate,
|
|
9067
|
+
selectedDate: inputDate,
|
|
9068
|
+
});
|
|
9069
|
+
}
|
|
9070
|
+
else {
|
|
9071
|
+
if (!isDateBetween(inputDate[0], startOfMonth(state.currentViewDate), endOfMonth(addMonths(state.currentViewDate, 1)))) {
|
|
9072
|
+
dispatcher({
|
|
9073
|
+
type: DateTimeActionType.SetViewDate,
|
|
9074
|
+
viewDate: inputDate[0],
|
|
9075
|
+
});
|
|
9076
|
+
}
|
|
9077
|
+
dispatcher({
|
|
9078
|
+
type: DateTimeActionType.SetSelectedDateRange,
|
|
9079
|
+
selectedStartDate: inputDate[0],
|
|
9080
|
+
selectedEndDate: inputDate[1],
|
|
9081
|
+
});
|
|
9082
|
+
}
|
|
9083
|
+
}
|
|
9084
|
+
else if (dateString === '') {
|
|
9002
9085
|
dispatcher({
|
|
9003
|
-
type: DateTimeActionType.
|
|
9004
|
-
viewDate: inputDate,
|
|
9005
|
-
});
|
|
9006
|
-
dispatcher({
|
|
9007
|
-
type: DateTimeActionType.SetSelectedDate,
|
|
9008
|
-
selectedDate: inputDate,
|
|
9086
|
+
type: DateTimeActionType.ClearDates,
|
|
9009
9087
|
});
|
|
9010
9088
|
}
|
|
9011
9089
|
};
|
|
@@ -9184,7 +9262,7 @@ function styleInject(css, ref) {
|
|
|
9184
9262
|
}
|
|
9185
9263
|
}
|
|
9186
9264
|
|
|
9187
|
-
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: -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-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-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";
|
|
9265
|
+
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: -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-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";
|
|
9188
9266
|
styleInject(css_248z);
|
|
9189
9267
|
|
|
9190
9268
|
/*!
|