@secondstaxorg/sscomp 1.8.28 → 1.8.29
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/dist/index.es.js +3 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +53 -30
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +3 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17256,6 +17256,7 @@ const CalendarContainer$1 = styled.div`
|
|
|
17256
17256
|
.previous-month-day,.next-month-day,.past-day,.future-day,.min-year,.max-year,.disabled-month,.disabled-year{
|
|
17257
17257
|
color: ${theme.colors["neutral-200"]};
|
|
17258
17258
|
cursor: default;
|
|
17259
|
+
background: none;
|
|
17259
17260
|
&:hover{
|
|
17260
17261
|
background: none;
|
|
17261
17262
|
}
|
|
@@ -17268,6 +17269,7 @@ const CalendarContainer$1 = styled.div`
|
|
|
17268
17269
|
.selected-day,.selected-day:hover,.selected-year,.selected-year:hover{
|
|
17269
17270
|
background: ${theme.colors["neutral-900"]} !important;
|
|
17270
17271
|
color: #ffffff;
|
|
17272
|
+
border-radius: 30px;
|
|
17271
17273
|
}
|
|
17272
17274
|
.current-day{
|
|
17273
17275
|
font-weight: bold;
|
|
@@ -17700,6 +17702,25 @@ const Calendar = ({onChange,selected,disablePastDaysProp,disableFutureDaysProp,n
|
|
|
17700
17702
|
}
|
|
17701
17703
|
}
|
|
17702
17704
|
|
|
17705
|
+
function disableInvalidFutureYears(year){
|
|
17706
|
+
const valFtrYr = new Date().getFullYear() + numInvalidFutureYearsProp; //valid future year
|
|
17707
|
+
|
|
17708
|
+
if (year <= valFtrYr){
|
|
17709
|
+
return 'disabled-year'
|
|
17710
|
+
}else {
|
|
17711
|
+
return ''
|
|
17712
|
+
}
|
|
17713
|
+
}
|
|
17714
|
+
|
|
17715
|
+
function disableInvalidPastYears(year){
|
|
17716
|
+
const valFtrYr = new Date().getFullYear() - numInvalidPastYearsProp; //valid future year
|
|
17717
|
+
if (year >= valFtrYr){
|
|
17718
|
+
return 'disabled-year'
|
|
17719
|
+
}else {
|
|
17720
|
+
return ''
|
|
17721
|
+
}
|
|
17722
|
+
}
|
|
17723
|
+
|
|
17703
17724
|
|
|
17704
17725
|
for (let year = currentYear - 10; year <= currentYear + 10; year++) {
|
|
17705
17726
|
const selectedClass = year === currentDate.getFullYear() ? ' selected-year' : '';
|
|
@@ -17707,100 +17728,102 @@ const Calendar = ({onChange,selected,disablePastDaysProp,disableFutureDaysProp,n
|
|
|
17707
17728
|
React$1.createElement('div', { key: year, onClick: () => {
|
|
17708
17729
|
if (disablePastYear(year) == 'disabled-year') return
|
|
17709
17730
|
if (disableFutureYear(year) == 'disabled-year') return
|
|
17731
|
+
if (disableInvalidPastYears(year) == 'disabled-year') return
|
|
17732
|
+
if (disableInvalidFutureYears(year) == 'disabled-year') return
|
|
17710
17733
|
handleSelectYear(year);
|
|
17711
|
-
}, className: `paragraph1Regular ${disablePastYear(year) || disableFutureYear(year) || 'year-option'}${selectedClass}`, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17734
|
+
}, className: `paragraph1Regular ${disablePastYear(year) || disableFutureYear(year) || disableInvalidFutureYears(year) ||disableInvalidPastYears(year) || 'year-option'}${selectedClass}`, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 425}}
|
|
17712
17735
|
, year
|
|
17713
17736
|
)
|
|
17714
17737
|
);
|
|
17715
17738
|
}
|
|
17716
17739
|
|
|
17717
17740
|
return (
|
|
17718
|
-
React$1.createElement('div', { className: "year-picker", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17719
|
-
, React$1.createElement('div', { className: "year-options", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17741
|
+
React$1.createElement('div', { className: "year-picker", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 438}}
|
|
17742
|
+
, React$1.createElement('div', { className: "year-options", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 439}}, years)
|
|
17720
17743
|
)
|
|
17721
17744
|
)
|
|
17722
17745
|
};
|
|
17723
17746
|
|
|
17724
17747
|
return (
|
|
17725
|
-
React$1.createElement(CalendarContainer$1, { className: "calendar-flyout", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17726
|
-
, React$1.createElement('div', { className: "header", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17748
|
+
React$1.createElement(CalendarContainer$1, { className: "calendar-flyout", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 445}}
|
|
17749
|
+
, React$1.createElement('div', { className: "header", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 446}}
|
|
17727
17750
|
, !calendarView && !monthPickerView &&
|
|
17728
|
-
React$1.createElement('button', { type: "button", onClick: handlePreviousYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17751
|
+
React$1.createElement('button', { type: "button", onClick: handlePreviousYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 448}}
|
|
17729
17752
|
/*circle arrow left*/
|
|
17730
|
-
, React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17753
|
+
, React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 450}}
|
|
17731
17754
|
, React$1.createElement('path', {
|
|
17732
17755
|
d: "M6.29 9.29C6.19896 9.3851 6.12759 9.49725 6.08 9.62C5.97998 9.86346 5.97998 10.1365 6.08 10.38C6.12759 10.5028 6.19896 10.6149 6.29 10.71L9.29 13.71C9.4783 13.8983 9.7337 14.0041 10 14.0041C10.2663 14.0041 10.5217 13.8983 10.71 13.71C10.8983 13.5217 11.0041 13.2663 11.0041 13C11.0041 12.7337 10.8983 12.4783 10.71 12.29L9.41 11H13C13.2652 11 13.5196 10.8946 13.7071 10.7071C13.8946 10.5196 14 10.2652 14 10C14 9.73478 13.8946 9.48043 13.7071 9.29289C13.5196 9.10536 13.2652 9 13 9H9.41L10.71 7.71C10.8037 7.61704 10.8781 7.50644 10.9289 7.38458C10.9797 7.26272 11.0058 7.13201 11.0058 7C11.0058 6.86799 10.9797 6.73728 10.9289 6.61542C10.8781 6.49356 10.8037 6.38296 10.71 6.29C10.617 6.19627 10.5064 6.12188 10.3846 6.07111C10.2627 6.02034 10.132 5.9942 10 5.9942C9.86799 5.9942 9.73728 6.02034 9.61542 6.07111C9.49356 6.12188 9.38296 6.19627 9.29 6.29L6.29 9.29ZM0 10C0 11.9778 0.58649 13.9112 1.6853 15.5557C2.78412 17.2002 4.3459 18.4819 6.17317 19.2388C8.00043 19.9957 10.0111 20.1937 11.9509 19.8079C13.8907 19.422 15.6725 18.4696 17.0711 17.0711C18.4696 15.6725 19.422 13.8907 19.8079 11.9509C20.1937 10.0111 19.9957 8.00043 19.2388 6.17317C18.4819 4.3459 17.2002 2.78412 15.5557 1.6853C13.9112 0.58649 11.9778 0 10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10ZM18 10C18 11.5823 17.5308 13.129 16.6518 14.4446C15.7727 15.7602 14.5233 16.7855 13.0615 17.391C11.5997 17.9965 9.99113 18.155 8.43928 17.8463C6.88743 17.5376 5.46197 16.7757 4.34315 15.6569C3.22433 14.538 2.4624 13.1126 2.15372 11.5607C1.84504 10.0089 2.00346 8.40034 2.60896 6.93853C3.21447 5.47672 4.23984 4.22729 5.55544 3.34824C6.87103 2.46919 8.41775 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10Z" ,
|
|
17733
|
-
fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17756
|
+
fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 451}})
|
|
17734
17757
|
)
|
|
17735
17758
|
)
|
|
17736
17759
|
|
|
17737
17760
|
, calendarView &&
|
|
17738
|
-
React$1.createElement('button', { type: "button", onClick: handlePreviousMonth, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17761
|
+
React$1.createElement('button', { type: "button", onClick: handlePreviousMonth, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 458}}
|
|
17739
17762
|
/*left angle*/
|
|
17740
|
-
, React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17763
|
+
, React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 460}}
|
|
17741
17764
|
, React$1.createElement('path', {
|
|
17742
17765
|
d: "M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z" ,
|
|
17743
|
-
fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17766
|
+
fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 461}})
|
|
17744
17767
|
)
|
|
17745
17768
|
)
|
|
17746
17769
|
|
|
17747
|
-
, React$1.createElement('div', { className: "month-year-area", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17770
|
+
, React$1.createElement('div', { className: "month-year-area", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 467}}
|
|
17748
17771
|
, monthPickerView &&
|
|
17749
|
-
React$1.createElement('button', { type: "button", className: "month-cls-btn", onClick: toggleMonthPicker, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17772
|
+
React$1.createElement('button', { type: "button", className: "month-cls-btn", onClick: toggleMonthPicker, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 469}}
|
|
17750
17773
|
/*times-icon*/
|
|
17751
|
-
, React$1.createElement('svg', { width: "24", height: "24", viewBox: "0 0 24 24" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17752
|
-
, React$1.createElement('path', { d: "M13.4099 11.9999L17.7099 7.70994C17.8982 7.52164 18.004 7.26624 18.004 6.99994C18.004 6.73364 17.8982 6.47825 17.7099 6.28994C17.5216 6.10164 17.2662 5.99585 16.9999 5.99585C16.7336 5.99585 16.4782 6.10164 16.2899 6.28994L11.9999 10.5899L7.70994 6.28994C7.52164 6.10164 7.26624 5.99585 6.99994 5.99585C6.73364 5.99585 6.47824 6.10164 6.28994 6.28994C6.10164 6.47825 5.99585 6.73364 5.99585 6.99994C5.99585 7.26624 6.10164 7.52164 6.28994 7.70994L10.5899 11.9999L6.28994 16.2899C6.19621 16.3829 6.12182 16.4935 6.07105 16.6154C6.02028 16.7372 5.99414 16.8679 5.99414 16.9999C5.99414 17.132 6.02028 17.2627 6.07105 17.3845C6.12182 17.5064 6.19621 17.617 6.28994 17.7099C6.3829 17.8037 6.4935 17.8781 6.61536 17.9288C6.73722 17.9796 6.86793 18.0057 6.99994 18.0057C7.13195 18.0057 7.26266 17.9796 7.38452 17.9288C7.50638 17.8781 7.61698 17.8037 7.70994 17.7099L11.9999 13.4099L16.2899 17.7099C16.3829 17.8037 16.4935 17.8781 16.6154 17.9288C16.7372 17.9796 16.8679 18.0057 16.9999 18.0057C17.132 18.0057 17.2627 17.9796 17.3845 17.9288C17.5064 17.8781 17.617 17.8037 17.7099 17.7099C17.8037 17.617 17.8781 17.5064 17.9288 17.3845C17.9796 17.2627 18.0057 17.132 18.0057 16.9999C18.0057 16.8679 17.9796 16.7372 17.9288 16.6154C17.8781 16.4935 17.8037 16.3829 17.7099 16.2899L13.4099 11.9999Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17774
|
+
, React$1.createElement('svg', { width: "24", height: "24", viewBox: "0 0 24 24" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 471}}
|
|
17775
|
+
, React$1.createElement('path', { d: "M13.4099 11.9999L17.7099 7.70994C17.8982 7.52164 18.004 7.26624 18.004 6.99994C18.004 6.73364 17.8982 6.47825 17.7099 6.28994C17.5216 6.10164 17.2662 5.99585 16.9999 5.99585C16.7336 5.99585 16.4782 6.10164 16.2899 6.28994L11.9999 10.5899L7.70994 6.28994C7.52164 6.10164 7.26624 5.99585 6.99994 5.99585C6.73364 5.99585 6.47824 6.10164 6.28994 6.28994C6.10164 6.47825 5.99585 6.73364 5.99585 6.99994C5.99585 7.26624 6.10164 7.52164 6.28994 7.70994L10.5899 11.9999L6.28994 16.2899C6.19621 16.3829 6.12182 16.4935 6.07105 16.6154C6.02028 16.7372 5.99414 16.8679 5.99414 16.9999C5.99414 17.132 6.02028 17.2627 6.07105 17.3845C6.12182 17.5064 6.19621 17.617 6.28994 17.7099C6.3829 17.8037 6.4935 17.8781 6.61536 17.9288C6.73722 17.9796 6.86793 18.0057 6.99994 18.0057C7.13195 18.0057 7.26266 17.9796 7.38452 17.9288C7.50638 17.8781 7.61698 17.8037 7.70994 17.7099L11.9999 13.4099L16.2899 17.7099C16.3829 17.8037 16.4935 17.8781 16.6154 17.9288C16.7372 17.9796 16.8679 18.0057 16.9999 18.0057C17.132 18.0057 17.2627 17.9796 17.3845 17.9288C17.5064 17.8781 17.617 17.8037 17.7099 17.7099C17.8037 17.617 17.8781 17.5064 17.9288 17.3845C17.9796 17.2627 18.0057 17.132 18.0057 16.9999C18.0057 16.8679 17.9796 16.7372 17.9288 16.6154C17.8781 16.4935 17.8037 16.3829 17.7099 16.2899L13.4099 11.9999Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 472}})
|
|
17753
17776
|
)
|
|
17754
17777
|
)
|
|
17755
17778
|
|
|
17756
|
-
, React$1.createElement('div', { className: "month-year-btn-container", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17757
|
-
, React$1.createElement('button', { type: "button", className: "month-year", onClick: toggleYearPicker, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17779
|
+
, React$1.createElement('div', { className: "month-year-btn-container", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 476}}
|
|
17780
|
+
, React$1.createElement('button', { type: "button", className: "month-year", onClick: toggleYearPicker, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 477}}
|
|
17758
17781
|
, currentDate.toLocaleString('en-us', {month: 'long', year: 'numeric'})
|
|
17759
17782
|
/*{currentYear}*/
|
|
17760
17783
|
, React$1.createElement('svg', { className: calendarView ? 'year-view' : '', width: "12", height: "8", viewBox: "0 0 12 8" ,
|
|
17761
|
-
fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17784
|
+
fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 480}}
|
|
17762
17785
|
, React$1.createElement('path', {
|
|
17763
17786
|
d: "M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z" ,
|
|
17764
|
-
fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17787
|
+
fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 482}})
|
|
17765
17788
|
)
|
|
17766
17789
|
)
|
|
17767
17790
|
)
|
|
17768
17791
|
)
|
|
17769
17792
|
, calendarView &&
|
|
17770
|
-
React$1.createElement('button', { type: "button", onClick: handleNextMonth, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17793
|
+
React$1.createElement('button', { type: "button", onClick: handleNextMonth, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 490}}
|
|
17771
17794
|
/*right angle*/
|
|
17772
|
-
, React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17795
|
+
, React$1.createElement('svg', { width: "8", height: "12", viewBox: "0 0 8 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 492}}
|
|
17773
17796
|
, React$1.createElement('path', {
|
|
17774
17797
|
d: "M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z" ,
|
|
17775
|
-
fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17798
|
+
fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 493}})
|
|
17776
17799
|
)
|
|
17777
17800
|
)
|
|
17778
17801
|
|
|
17779
17802
|
, !calendarView && !monthPickerView &&
|
|
17780
|
-
React$1.createElement('button', { type: "button", onClick: handleNextYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17803
|
+
React$1.createElement('button', { type: "button", onClick: handleNextYear, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 500}}
|
|
17781
17804
|
/*circle arrow right*/
|
|
17782
|
-
, React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17805
|
+
, React$1.createElement('svg', { width: "20", height: "20", viewBox: "0 0 20 20" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 502}}
|
|
17783
17806
|
, React$1.createElement('path', {
|
|
17784
17807
|
d: "M13.71 10.71C13.801 10.6149 13.8724 10.5028 13.92 10.38C14.02 10.1365 14.02 9.86347 13.92 9.62C13.8724 9.49725 13.801 9.38511 13.71 9.29L10.71 6.29C10.5217 6.1017 10.2663 5.99591 10 5.99591C9.7337 5.99591 9.47831 6.1017 9.29 6.29C9.1017 6.47831 8.99591 6.7337 8.99591 7C8.99591 7.26631 9.1017 7.5217 9.29 7.71L10.59 9H7C6.73479 9 6.48043 9.10536 6.2929 9.2929C6.10536 9.48043 6 9.73479 6 10C6 10.2652 6.10536 10.5196 6.2929 10.7071C6.48043 10.8946 6.73479 11 7 11H10.59L9.29 12.29C9.19628 12.383 9.12188 12.4936 9.07111 12.6154C9.02034 12.7373 8.99421 12.868 8.99421 13C8.99421 13.132 9.02034 13.2627 9.07111 13.3846C9.12188 13.5064 9.19628 13.617 9.29 13.71C9.38297 13.8037 9.49357 13.8781 9.61543 13.9289C9.73729 13.9797 9.86799 14.0058 10 14.0058C10.132 14.0058 10.2627 13.9797 10.3846 13.9289C10.5064 13.8781 10.617 13.8037 10.71 13.71L13.71 10.71ZM20 10C20 8.02219 19.4135 6.08879 18.3147 4.4443C17.2159 2.79981 15.6541 1.51809 13.8268 0.761209C11.9996 0.00433284 9.98891 -0.193701 8.0491 0.192152C6.10929 0.578004 4.32746 1.53041 2.92894 2.92894C1.53041 4.32746 0.578004 6.10929 0.192152 8.0491C-0.193701 9.98891 0.00433284 11.9996 0.761209 13.8268C1.51809 15.6541 2.79981 17.2159 4.4443 18.3147C6.08879 19.4135 8.02219 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10ZM2 10C2 8.41775 2.4692 6.87104 3.34825 5.55544C4.2273 4.23985 5.47673 3.21447 6.93854 2.60897C8.40035 2.00347 10.0089 1.84504 11.5607 2.15372C13.1126 2.4624 14.538 3.22433 15.6569 4.34315C16.7757 5.46197 17.5376 6.88743 17.8463 8.43928C18.155 9.99113 17.9965 11.5997 17.391 13.0615C16.7855 14.5233 15.7602 15.7727 14.4446 16.6518C13.129 17.5308 11.5823 18 10 18C7.87827 18 5.84344 17.1572 4.34315 15.6569C2.84286 14.1566 2 12.1217 2 10Z" ,
|
|
17785
|
-
fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17808
|
+
fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 503}})
|
|
17786
17809
|
)
|
|
17787
17810
|
)
|
|
17788
17811
|
|
|
17789
17812
|
)
|
|
17790
17813
|
/*calendar view*/
|
|
17791
|
-
, React$1.createElement('div', { style: {display: calendarView ? 'block ' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17792
|
-
, React$1.createElement('div', { className: "weekdays", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17814
|
+
, React$1.createElement('div', { style: {display: calendarView ? 'block ' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 511}}
|
|
17815
|
+
, React$1.createElement('div', { className: "weekdays", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 512}}
|
|
17793
17816
|
, daysOfWeek.map((day) => (
|
|
17794
|
-
React$1.createElement('div', { key: day, className: "weekday", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17817
|
+
React$1.createElement('div', { key: day, className: "weekday", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 514}}
|
|
17795
17818
|
, day
|
|
17796
17819
|
)
|
|
17797
17820
|
))
|
|
17798
17821
|
)
|
|
17799
|
-
, React$1.createElement('div', { className: "days", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17822
|
+
, React$1.createElement('div', { className: "days", __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 519}}, renderCalendar())
|
|
17800
17823
|
)
|
|
17801
17824
|
|
|
17802
17825
|
/*year picker*/
|
|
17803
|
-
, React$1.createElement('div', { style: {display: !calendarView ? 'block' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber:
|
|
17826
|
+
, React$1.createElement('div', { style: {display: !calendarView ? 'block' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 523}}
|
|
17804
17827
|
, monthPickerView && renderMonthPicker()
|
|
17805
17828
|
, !monthPickerView && renderYearPicker(currentYear)
|
|
17806
17829
|
)
|