@secondstaxorg/sscomp 1.6.76 → 1.6.78
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 +210 -193
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +130 -83
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +209 -192
- package/dist/index.min.js.map +1 -1
- package/package.json +2 -2
- package/types/components/DatePicker/style.d.ts +1 -0
- package/types/components/DatePicker/type.d.ts +7 -0
- package/types/components/DropdownList/style.d.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -16943,20 +16943,15 @@ const CurrencyPairsTable = (props) => {
|
|
|
16943
16943
|
)
|
|
16944
16944
|
};
|
|
16945
16945
|
|
|
16946
|
-
const InputLabel$
|
|
16946
|
+
const InputLabel$6 = styled.div`
|
|
16947
16947
|
display: flex;
|
|
16948
16948
|
flex-direction: column;
|
|
16949
16949
|
gap: 4px;
|
|
16950
16950
|
label{
|
|
16951
16951
|
color:${theme.colors["primary-900"]};
|
|
16952
|
-
font-weight: 500;
|
|
16953
|
-
font-family: "Circular Book Medium", sans-serif;
|
|
16954
16952
|
}
|
|
16955
16953
|
span{
|
|
16956
16954
|
color: ${theme.colors["neutral-600"]};
|
|
16957
|
-
font-size: 14px;
|
|
16958
|
-
line-height: 17px;
|
|
16959
|
-
font-weight: 400;
|
|
16960
16955
|
}
|
|
16961
16956
|
`;
|
|
16962
16957
|
|
|
@@ -16980,6 +16975,9 @@ const InputField$3 = styled.div`
|
|
|
16980
16975
|
&.success{
|
|
16981
16976
|
border-color: ${theme.colors["success-500"]};
|
|
16982
16977
|
}
|
|
16978
|
+
&.error{
|
|
16979
|
+
border-color: ${theme.colors["error-500"]};
|
|
16980
|
+
}
|
|
16983
16981
|
&.focused{
|
|
16984
16982
|
border-color: ${theme.colors["primary-500"]};
|
|
16985
16983
|
}
|
|
@@ -17008,6 +17006,19 @@ const InputField$3 = styled.div`
|
|
|
17008
17006
|
font-weight: 400;
|
|
17009
17007
|
line-height: 140%;
|
|
17010
17008
|
}
|
|
17009
|
+
|
|
17010
|
+
.sr-only{
|
|
17011
|
+
position: absolute;
|
|
17012
|
+
width: 1px;
|
|
17013
|
+
left: 0;
|
|
17014
|
+
top: 0;
|
|
17015
|
+
height: 1px;
|
|
17016
|
+
margin: -1px;
|
|
17017
|
+
overflow: hidden;
|
|
17018
|
+
clip: rect(0, 0, 0, 0);
|
|
17019
|
+
white-space: nowrap;
|
|
17020
|
+
border: 0;
|
|
17021
|
+
}
|
|
17011
17022
|
`;
|
|
17012
17023
|
|
|
17013
17024
|
const CalendarContainer$1 = styled.div`
|
|
@@ -17129,23 +17140,36 @@ button{
|
|
|
17129
17140
|
background: ${theme.colors["neutral-50"]};
|
|
17130
17141
|
}
|
|
17131
17142
|
}
|
|
17143
|
+
`;
|
|
17144
|
+
|
|
17145
|
+
const ErrorMessage$3 = styled.p`
|
|
17146
|
+
color: ${theme.colors["error-500"]};
|
|
17147
|
+
margin-top: 8px;
|
|
17148
|
+
display: flex;
|
|
17149
|
+
gap: 8px;
|
|
17150
|
+
justify-content: start;
|
|
17151
|
+
align-items: center;
|
|
17132
17152
|
`;
|
|
17133
17153
|
|
|
17134
17154
|
const _jsxFileName$L = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DatePicker\\DatePicker.tsx";
|
|
17135
17155
|
|
|
17156
|
+
|
|
17136
17157
|
/**
|
|
17137
17158
|
* Component for picking date
|
|
17138
17159
|
*/
|
|
17139
17160
|
const DatePicker = (props) => {
|
|
17140
|
-
const { onChange, label, subtext,disablePastDays,disableFutureDays ,placeholder,width} = props;
|
|
17161
|
+
const { onChange, label, subtext,disablePastDays,disableFutureDays ,placeholder,width,required} = props;
|
|
17141
17162
|
const [selectedDate, setSelectedDate] = React$1.useState(null);
|
|
17142
17163
|
const [isCalendarOpen, setIsCalendarOpen] = React$1.useState(false);
|
|
17164
|
+
const [validationStatus,setValidationStatus] = React$1.useState('');
|
|
17143
17165
|
|
|
17144
17166
|
const calendarRef = React$1.useRef(null);
|
|
17145
17167
|
|
|
17146
17168
|
React$1.useEffect(()=>{
|
|
17147
17169
|
document.addEventListener('click',function(e){
|
|
17148
|
-
|
|
17170
|
+
if (calendarRef.current){
|
|
17171
|
+
setIsCalendarOpen(calendarRef.current.contains(e.target));
|
|
17172
|
+
}
|
|
17149
17173
|
});
|
|
17150
17174
|
},[]);
|
|
17151
17175
|
|
|
@@ -17167,21 +17191,29 @@ const DatePicker = (props) => {
|
|
|
17167
17191
|
};
|
|
17168
17192
|
|
|
17169
17193
|
return (
|
|
17170
|
-
React$1.createElement('div', { style: style, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17194
|
+
React$1.createElement('div', { style: style, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 43}}
|
|
17171
17195
|
, label &&
|
|
17172
|
-
React$1.createElement(InputLabel$
|
|
17173
|
-
, React$1.createElement('label', {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17174
|
-
, subtext && React$1.createElement('span', {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17196
|
+
React$1.createElement(InputLabel$6, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 45}}
|
|
17197
|
+
, React$1.createElement('label', { className: "paragraph2Medium", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 46}}, label)
|
|
17198
|
+
, subtext && React$1.createElement('span', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 47}}, subtext)
|
|
17175
17199
|
)
|
|
17176
17200
|
|
|
17177
|
-
, React$1.createElement(DatePickerContainer, { ref: calendarRef, className:
|
|
17178
|
-
, React$1.createElement(InputField$3, { className: `${
|
|
17201
|
+
, React$1.createElement(DatePickerContainer, { ref: calendarRef, className: validationStatus, style: {width:width ? width : '100%'}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 50}}
|
|
17202
|
+
, React$1.createElement(InputField$3, { className: `${validationStatus} ${isCalendarOpen ? 'focused' : ''}`, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 51}}
|
|
17203
|
+
, React$1.createElement('input', { type: "text", className: "sr-only", required: required, value: !selectedDate ? '' : selectedDate , onChange: ()=>{}, onInvalid: ()=>{
|
|
17204
|
+
setValidationStatus('error');
|
|
17205
|
+
}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 52}})
|
|
17179
17206
|
, React$1.createElement('input', {
|
|
17180
17207
|
type: "text",
|
|
17181
17208
|
value: selectedDate ? selectedDate.toLocaleDateString('en-GB',options) : '',
|
|
17182
17209
|
readOnly: true,
|
|
17183
17210
|
placeholder: `${placeholder ? placeholder : 'Select date'}`,
|
|
17184
|
-
onClick: ()=>{setIsCalendarOpen(true);},
|
|
17211
|
+
onClick: ()=>{setIsCalendarOpen(true);},
|
|
17212
|
+
onBlur: ()=>{
|
|
17213
|
+
if (required && !selectedDate) {
|
|
17214
|
+
setValidationStatus('error');
|
|
17215
|
+
}
|
|
17216
|
+
}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 55}}
|
|
17185
17217
|
)
|
|
17186
17218
|
, React$1.createElement('button', { type: "button", onClick: ()=>{
|
|
17187
17219
|
if (isCalendarOpen){
|
|
@@ -17189,18 +17221,30 @@ const DatePicker = (props) => {
|
|
|
17189
17221
|
setIsCalendarOpen(false);
|
|
17190
17222
|
},50);
|
|
17191
17223
|
}
|
|
17192
|
-
}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17224
|
+
}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 67}}
|
|
17193
17225
|
/*calendar icon*/
|
|
17194
|
-
, React$1.createElement('svg', { width: "21", height: "22", viewBox: "0 0 21 22" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17195
|
-
, React$1.createElement('path', { d: "M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17226
|
+
, React$1.createElement('svg', { width: "21", height: "22", viewBox: "0 0 21 22" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 75}}
|
|
17227
|
+
, React$1.createElement('path', { d: "M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 76}})
|
|
17196
17228
|
)
|
|
17197
17229
|
)
|
|
17198
17230
|
)
|
|
17199
17231
|
, isCalendarOpen && (
|
|
17200
|
-
React$1.createElement('div', { style: {position:"absolute",marginTop:4}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17201
|
-
, React$1.createElement(Calendar, { onChange:
|
|
17232
|
+
React$1.createElement('div', { style: {position:"absolute",marginTop:4}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 81}}
|
|
17233
|
+
, React$1.createElement(Calendar, { onChange: (e)=>{
|
|
17234
|
+
handleDateChange(e);
|
|
17235
|
+
setValidationStatus('success');
|
|
17236
|
+
}, selected: selectedDate, disablePastDaysProp: !!disablePastDays, disableFutureDaysProp: !!disableFutureDays, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 82}})
|
|
17202
17237
|
)
|
|
17203
17238
|
)
|
|
17239
|
+
, required && validationStatus === 'error' &&
|
|
17240
|
+
React$1.createElement(ErrorMessage$3, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 89}}
|
|
17241
|
+
/*exclamation-triangle*/
|
|
17242
|
+
, React$1.createElement('svg', { width: "16", height: "14", viewBox: "0 0 16 14" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 91}}
|
|
17243
|
+
, React$1.createElement('path', { d: "M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z" , fill: "#F80000", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 92}})
|
|
17244
|
+
)
|
|
17245
|
+
, React$1.createElement('span', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 94}}, "This field is required" )
|
|
17246
|
+
)
|
|
17247
|
+
|
|
17204
17248
|
)
|
|
17205
17249
|
)
|
|
17206
17250
|
);
|
|
@@ -17271,7 +17315,7 @@ const Calendar = ({ onChange, selected,disablePastDaysProp,disableFutureDaysProp
|
|
|
17271
17315
|
for (let i = firstDay - 1; i >= 0; i--) {
|
|
17272
17316
|
const day = daysInPreviousMonth - i;
|
|
17273
17317
|
days.push(
|
|
17274
|
-
React$1.createElement('div', { key: `previous-day-${day}`, className: "calendar-day previous-month-day" , __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17318
|
+
React$1.createElement('div', { key: `previous-day-${day}`, className: "calendar-day previous-month-day" , __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 167}}
|
|
17275
17319
|
, day
|
|
17276
17320
|
)
|
|
17277
17321
|
);
|
|
@@ -17315,7 +17359,7 @@ const Calendar = ({ onChange, selected,disablePastDaysProp,disableFutureDaysProp
|
|
|
17315
17359
|
React$1.createElement('div', {
|
|
17316
17360
|
key: `current-day-${day}`,
|
|
17317
17361
|
className: `calendar-day ${dayClassName}`,
|
|
17318
|
-
onClick: handleClick, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17362
|
+
onClick: handleClick, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 208}}
|
|
17319
17363
|
|
|
17320
17364
|
, day
|
|
17321
17365
|
)
|
|
@@ -17327,7 +17371,7 @@ const Calendar = ({ onChange, selected,disablePastDaysProp,disableFutureDaysProp
|
|
|
17327
17371
|
const remainingDays = (7 - (days.length % 7)) % 7;
|
|
17328
17372
|
for (let day = 1; day <= remainingDays; day++) {
|
|
17329
17373
|
days.push(
|
|
17330
|
-
React$1.createElement('div', { key: `next-day-${day}`, className: "calendar-day next-month-day" , __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17374
|
+
React$1.createElement('div', { key: `next-day-${day}`, className: "calendar-day next-month-day" , __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 223}}
|
|
17331
17375
|
, day
|
|
17332
17376
|
)
|
|
17333
17377
|
);
|
|
@@ -17340,75 +17384,75 @@ const Calendar = ({ onChange, selected,disablePastDaysProp,disableFutureDaysProp
|
|
|
17340
17384
|
for (let year = currentYear - 10; year <= currentYear + 10; year++) {
|
|
17341
17385
|
const selectedClass = year===currentDate.getFullYear()?'selected-year':'';
|
|
17342
17386
|
years.push(
|
|
17343
|
-
React$1.createElement('div', { key: year, onClick: () => handleSelectYear(year), className: `year-option ${selectedClass}`, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17387
|
+
React$1.createElement('div', { key: year, onClick: () => handleSelectYear(year), className: `year-option ${selectedClass}`, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 236}}
|
|
17344
17388
|
, year
|
|
17345
17389
|
)
|
|
17346
17390
|
);
|
|
17347
17391
|
}
|
|
17348
17392
|
|
|
17349
17393
|
return (
|
|
17350
|
-
React$1.createElement('div', { className: "year-picker", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17351
|
-
, React$1.createElement('div', { className: "year-options", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17394
|
+
React$1.createElement('div', { className: "year-picker", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 243}}
|
|
17395
|
+
, React$1.createElement('div', { className: "year-options", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 244}}, years)
|
|
17352
17396
|
)
|
|
17353
17397
|
)
|
|
17354
17398
|
};
|
|
17355
17399
|
|
|
17356
17400
|
return (
|
|
17357
|
-
React$1.createElement(CalendarContainer$1, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17358
|
-
, React$1.createElement('div', { className: "header", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17401
|
+
React$1.createElement(CalendarContainer$1, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 250}}
|
|
17402
|
+
, React$1.createElement('div', { className: "header", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 251}}
|
|
17359
17403
|
, !calendarView &&
|
|
17360
|
-
React$1.createElement('button', { type: "button", onClick: handlePreviousYear, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17404
|
+
React$1.createElement('button', { type: "button", onClick: handlePreviousYear, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 253}}
|
|
17361
17405
|
/*circle arrow left*/
|
|
17362
|
-
, 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$L, lineNumber:
|
|
17363
|
-
, React$1.createElement('path', { 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" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17406
|
+
, 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$L, lineNumber: 255}}
|
|
17407
|
+
, React$1.createElement('path', { 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" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 256}})
|
|
17364
17408
|
)
|
|
17365
17409
|
)
|
|
17366
17410
|
|
|
17367
17411
|
, calendarView &&
|
|
17368
|
-
React$1.createElement('button', { type: "button", onClick: handlePreviousMonth, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17412
|
+
React$1.createElement('button', { type: "button", onClick: handlePreviousMonth, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 261}}
|
|
17369
17413
|
/*left angle*/
|
|
17370
|
-
, 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$L, lineNumber:
|
|
17371
|
-
, React$1.createElement('path', { 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" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17414
|
+
, 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$L, lineNumber: 263}}
|
|
17415
|
+
, React$1.createElement('path', { 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" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 264}})
|
|
17372
17416
|
)
|
|
17373
17417
|
)
|
|
17374
17418
|
|
|
17375
|
-
, React$1.createElement('button', { type: "button", className: "month-year", onClick: toggleYearPicker, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17419
|
+
, React$1.createElement('button', { type: "button", className: "month-year", onClick: toggleYearPicker, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 268}}
|
|
17376
17420
|
, currentDate.toLocaleString('en-us', { month: 'long', year: 'numeric' })
|
|
17377
|
-
, React$1.createElement('svg', { className: calendarView ? 'year-view' : '', width: "12", height: "8", viewBox: "0 0 12 8" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17378
|
-
, React$1.createElement('path', { 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" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17421
|
+
, React$1.createElement('svg', { className: calendarView ? 'year-view' : '', width: "12", height: "8", viewBox: "0 0 12 8" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 270}}
|
|
17422
|
+
, React$1.createElement('path', { 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" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 271}})
|
|
17379
17423
|
)
|
|
17380
17424
|
)
|
|
17381
17425
|
, calendarView &&
|
|
17382
|
-
React$1.createElement('button', { type: "button", onClick: handleNextMonth, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17426
|
+
React$1.createElement('button', { type: "button", onClick: handleNextMonth, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 275}}
|
|
17383
17427
|
/*right angle*/
|
|
17384
|
-
, 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$L, lineNumber:
|
|
17385
|
-
, React$1.createElement('path', { 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" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17428
|
+
, 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$L, lineNumber: 277}}
|
|
17429
|
+
, React$1.createElement('path', { 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" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 278}})
|
|
17386
17430
|
)
|
|
17387
17431
|
)
|
|
17388
17432
|
|
|
17389
17433
|
, !calendarView &&
|
|
17390
|
-
React$1.createElement('button', { type: "button", onClick: handleNextYear, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17434
|
+
React$1.createElement('button', { type: "button", onClick: handleNextYear, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 283}}
|
|
17391
17435
|
/*circle arrow right*/
|
|
17392
|
-
, 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$L, lineNumber:
|
|
17393
|
-
, React$1.createElement('path', { 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" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17436
|
+
, 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$L, lineNumber: 285}}
|
|
17437
|
+
, React$1.createElement('path', { 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" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 286}})
|
|
17394
17438
|
)
|
|
17395
17439
|
)
|
|
17396
17440
|
|
|
17397
17441
|
)
|
|
17398
17442
|
/*calendar view*/
|
|
17399
|
-
, React$1.createElement('div', { style: {display: calendarView ? 'block ' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17400
|
-
, React$1.createElement('div', { className: "weekdays", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17443
|
+
, React$1.createElement('div', { style: {display: calendarView ? 'block ' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 292}}
|
|
17444
|
+
, React$1.createElement('div', { className: "weekdays", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 293}}
|
|
17401
17445
|
, daysOfWeek.map((day) => (
|
|
17402
|
-
React$1.createElement('div', { key: day, className: "weekday", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17446
|
+
React$1.createElement('div', { key: day, className: "weekday", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 295}}
|
|
17403
17447
|
, day
|
|
17404
17448
|
)
|
|
17405
17449
|
))
|
|
17406
17450
|
)
|
|
17407
|
-
, React$1.createElement('div', { className: "days", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17451
|
+
, React$1.createElement('div', { className: "days", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 300}}, renderCalendar())
|
|
17408
17452
|
)
|
|
17409
17453
|
|
|
17410
17454
|
/*year picker*/
|
|
17411
|
-
, React$1.createElement('div', { style: {display: !calendarView ? 'block' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber:
|
|
17455
|
+
, React$1.createElement('div', { style: {display: !calendarView ? 'block' : 'none'}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 304}}
|
|
17412
17456
|
, renderYearPicker(currentYear)
|
|
17413
17457
|
)
|
|
17414
17458
|
)
|
|
@@ -17423,7 +17467,7 @@ const DateRangePickerComp = styled.div`
|
|
|
17423
17467
|
}
|
|
17424
17468
|
`;
|
|
17425
17469
|
|
|
17426
|
-
const InputLabel$
|
|
17470
|
+
const InputLabel$5 = styled.div`
|
|
17427
17471
|
display: flex;
|
|
17428
17472
|
flex-direction: column;
|
|
17429
17473
|
gap: 4px;
|
|
@@ -17954,7 +17998,7 @@ const DateRangePicker = ({ selectedDateRange,label,subtext ,placeholder,showActi
|
|
|
17954
17998
|
React$1.createElement(DateRangePickerComp, { className: "datepicker-comp", __self: undefined, __source: {fileName: _jsxFileName$K, lineNumber: 270}}
|
|
17955
17999
|
, React$1.createElement('div', { className: "input-field", __self: undefined, __source: {fileName: _jsxFileName$K, lineNumber: 271}}
|
|
17956
18000
|
, label &&
|
|
17957
|
-
React$1.createElement(InputLabel$
|
|
18001
|
+
React$1.createElement(InputLabel$5, {__self: undefined, __source: {fileName: _jsxFileName$K, lineNumber: 273}}
|
|
17958
18002
|
, React$1.createElement('label', {__self: undefined, __source: {fileName: _jsxFileName$K, lineNumber: 274}}, label)
|
|
17959
18003
|
, subtext && React$1.createElement('span', {__self: undefined, __source: {fileName: _jsxFileName$K, lineNumber: 275}}, subtext)
|
|
17960
18004
|
)
|
|
@@ -18091,6 +18135,12 @@ const DisplayField = (props) => {
|
|
|
18091
18135
|
)
|
|
18092
18136
|
};
|
|
18093
18137
|
|
|
18138
|
+
const InputLabel$4 = styled.div`
|
|
18139
|
+
label{
|
|
18140
|
+
color: ${theme.colors["neutral-900"]};
|
|
18141
|
+
}
|
|
18142
|
+
`;
|
|
18143
|
+
|
|
18094
18144
|
const FieldContainer$1 = styled.div`
|
|
18095
18145
|
display: flex;
|
|
18096
18146
|
flex-direction: column;
|
|
@@ -18300,14 +18350,16 @@ const DropdownList = (props) => {
|
|
|
18300
18350
|
}
|
|
18301
18351
|
|
|
18302
18352
|
return (
|
|
18303
|
-
React$1.createElement(FieldContainer$1, { style: {width:width ? width : '100%'}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18353
|
+
React$1.createElement(FieldContainer$1, { style: {width:width ? width : '100%'}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 58}}
|
|
18304
18354
|
, !disabled &&
|
|
18305
18355
|
React$1.createElement(React$1.Fragment, null
|
|
18306
18356
|
, label &&
|
|
18307
|
-
React$1.createElement(
|
|
18357
|
+
React$1.createElement(InputLabel$4, {__self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 62}}
|
|
18358
|
+
, React$1.createElement('label', { className: "paragraph2Medium", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 63}}, label)
|
|
18359
|
+
)
|
|
18308
18360
|
|
|
18309
|
-
, React$1.createElement(DropdownField, { className: selStatus, style: {borderColor:passedOption.value ? theme.colors["success-500"] : theme.colors["neutral-200"]}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18310
|
-
, React$1.createElement('input', { className: "sr-only", value: srVal, required: required, onChange: ()=>{}, onInvalid: ()=>{setSelStatus('error');}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18361
|
+
, React$1.createElement(DropdownField, { className: selStatus, style: {borderColor:passedOption.value ? theme.colors["success-500"] : theme.colors["neutral-200"]}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 66}}
|
|
18362
|
+
, React$1.createElement('input', { className: "sr-only", value: srVal, required: required, onChange: ()=>{}, onInvalid: ()=>{setSelStatus('error');}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 67}})
|
|
18311
18363
|
, React$1.createElement('button', { ref: buttonRef, type: "button", className: `dropdown-field ${err ? 'error' : ''}`, onBlur: ()=>{
|
|
18312
18364
|
if (!searchable){
|
|
18313
18365
|
setTimeout(()=>{
|
|
@@ -18327,23 +18379,23 @@ const DropdownList = (props) => {
|
|
|
18327
18379
|
}else {
|
|
18328
18380
|
setOpened(true);
|
|
18329
18381
|
}
|
|
18330
|
-
}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18382
|
+
}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 68}}
|
|
18331
18383
|
)
|
|
18332
18384
|
, searchable && opened &&
|
|
18333
18385
|
React$1.createElement('input', { type: "text", value: qryStr, onChange: (e)=>{filterList(e.target.value);}, className: `dropdown-field search-field ${err ? 'error' : ''}`, onFocus: ()=>{setOpened(true);}, onBlur: ()=>{
|
|
18334
18386
|
setTimeout(()=>{
|
|
18335
18387
|
setOpened(false);
|
|
18336
18388
|
},200);
|
|
18337
|
-
}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18389
|
+
}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 90}})
|
|
18338
18390
|
|
|
18339
|
-
, React$1.createElement('div', { style: {overflowX:'hidden'}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18391
|
+
, React$1.createElement('div', { style: {overflowX:'hidden'}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 96}}
|
|
18340
18392
|
/*<span className="paragraph2Regular">{initialText}</span>*/
|
|
18341
18393
|
/*{!passedOption.label &&
|
|
18342
18394
|
<>*/
|
|
18343
|
-
, React$1.createElement('span', { className: "paragraph2Regular", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18395
|
+
, React$1.createElement('span', { className: "paragraph2Regular", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 100}}, initText)
|
|
18344
18396
|
, !initText &&
|
|
18345
18397
|
React$1.createElement(React$1.Fragment, null
|
|
18346
|
-
, placeholder && React$1.createElement('span', { className: "paragraph2Regular placeholder" , __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18398
|
+
, placeholder && React$1.createElement('span', { className: "paragraph2Regular placeholder" , __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 103}}, placeholder)
|
|
18347
18399
|
)
|
|
18348
18400
|
|
|
18349
18401
|
/*</>
|
|
@@ -18354,15 +18406,15 @@ const DropdownList = (props) => {
|
|
|
18354
18406
|
buttonRef.current.focus();
|
|
18355
18407
|
setOpened(true);
|
|
18356
18408
|
}
|
|
18357
|
-
}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18358
|
-
, React$1.createElement('svg', { width: "12", height: "8", viewBox: "0 0 12 8" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18359
|
-
, React$1.createElement('path', { d: "M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18409
|
+
}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 109}}
|
|
18410
|
+
, React$1.createElement('svg', { width: "12", height: "8", viewBox: "0 0 12 8" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 115}}
|
|
18411
|
+
, React$1.createElement('path', { d: "M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 116}})
|
|
18360
18412
|
)
|
|
18361
18413
|
)
|
|
18362
18414
|
, opened &&
|
|
18363
18415
|
React$1.createElement(React$1.Fragment, null
|
|
18364
18416
|
, options && options.length > 0 &&
|
|
18365
|
-
React$1.createElement(OptionsList, {__self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18417
|
+
React$1.createElement(OptionsList, {__self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 122}}
|
|
18366
18418
|
, optionsRec.map((option, index) => (
|
|
18367
18419
|
React$1.createElement(DropdownOption, { key: index, onClick: ()=>{
|
|
18368
18420
|
// setPassedOption(option)
|
|
@@ -18376,7 +18428,7 @@ const DropdownList = (props) => {
|
|
|
18376
18428
|
returnedSelection(option);
|
|
18377
18429
|
},200);
|
|
18378
18430
|
setSrVal(option.value);
|
|
18379
|
-
}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18431
|
+
}, __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 124}}, React$1.createElement('span', { className: "paragraph2Regular", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 136}}, option.label))
|
|
18380
18432
|
))
|
|
18381
18433
|
)
|
|
18382
18434
|
|
|
@@ -18384,27 +18436,27 @@ const DropdownList = (props) => {
|
|
|
18384
18436
|
|
|
18385
18437
|
)
|
|
18386
18438
|
, selStatus === 'error' &&
|
|
18387
|
-
React$1.createElement('div', { className: "err-msg", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18388
|
-
, React$1.createElement('svg', { width: "16", height: "16", viewBox: "0 0 16 16" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18389
|
-
, React$1.createElement('g', { clipPath: "url(#clip0_299_2778)", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18390
|
-
, React$1.createElement('path', { d: "M8.00006 10.6667C7.86821 10.6667 7.73931 10.7058 7.62968 10.779C7.52005 10.8523 7.4346 10.9564 7.38414 11.0782C7.33368 11.2 7.32048 11.3341 7.3462 11.4634C7.37193 11.5927 7.43542 11.7115 7.52866 11.8048C7.62189 11.898 7.74068 11.9615 7.87 11.9872C7.99932 12.0129 8.13336 11.9997 8.25518 11.9493C8.377 11.8988 8.48112 11.8134 8.55437 11.7037C8.62763 11.5941 8.66673 11.4652 8.66673 11.3334C8.66673 11.1565 8.59649 10.987 8.47146 10.8619C8.34644 10.7369 8.17687 10.6667 8.00006 10.6667ZM15.1134 11.6467L9.74673 2.31335C9.57326 2.00236 9.31992 1.74332 9.01285 1.563C8.70579 1.38267 8.35615 1.2876 8.00006 1.2876C7.64396 1.2876 7.29433 1.38267 6.98726 1.563C6.6802 1.74332 6.42686 2.00236 6.25339 2.31335L0.92006 11.6467C0.74059 11.9494 0.644155 12.294 0.640489 12.6459C0.636824 12.9978 0.726058 13.3444 0.899184 13.6507C1.07231 13.9571 1.3232 14.2123 1.62652 14.3907C1.92984 14.5691 2.27485 14.6643 2.62673 14.6667H13.3734C13.7281 14.6702 14.0773 14.5793 14.3853 14.4033C14.6933 14.2273 14.949 13.9726 15.126 13.6652C15.3031 13.3579 15.3953 13.009 15.3931 12.6542C15.3908 12.2995 15.2943 11.9518 15.1134 11.6467ZM13.9601 12.98C13.9016 13.084 13.8164 13.1704 13.7132 13.2302C13.61 13.29 13.4927 13.321 13.3734 13.32H2.62673C2.50747 13.321 2.39013 13.29 2.28694 13.2302C2.18375 13.1704 2.0985 13.084 2.04006 12.98C1.98155 12.8787 1.95074 12.7637 1.95074 12.6467C1.95074 12.5297 1.98155 12.4147 2.04006 12.3134L7.37339 2.98002C7.42934 2.87082 7.51433 2.77917 7.61902 2.71518C7.72371 2.65119 7.84403 2.61733 7.96673 2.61733C8.08942 2.61733 8.20974 2.65119 8.31443 2.71518C8.41912 2.77917 8.50411 2.87082 8.56006 2.98002L13.9267 12.3134C13.9929 12.4132 14.0309 12.5291 14.0367 12.6488C14.0426 12.7684 14.0161 12.8875 13.9601 12.9934V12.98ZM8.00006 5.33335C7.82325 5.33335 7.65368 5.40359 7.52866 5.52861C7.40363 5.65364 7.33339 5.82321 7.33339 6.00002V8.66669C7.33339 8.8435 7.40363 9.01307 7.52866 9.13809C7.65368 9.26311 7.82325 9.33335 8.00006 9.33335C8.17687 9.33335 8.34644 9.26311 8.47146 9.13809C8.59649 9.01307 8.66673 8.8435 8.66673 8.66669V6.00002C8.66673 5.82321 8.59649 5.65364 8.47146 5.52861C8.34644 5.40359 8.17687 5.33335 8.00006 5.33335Z" , fill: "#F80000", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18439
|
+
React$1.createElement('div', { className: "err-msg", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 144}}
|
|
18440
|
+
, React$1.createElement('svg', { width: "16", height: "16", viewBox: "0 0 16 16" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 145}}
|
|
18441
|
+
, React$1.createElement('g', { clipPath: "url(#clip0_299_2778)", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 146}}
|
|
18442
|
+
, React$1.createElement('path', { d: "M8.00006 10.6667C7.86821 10.6667 7.73931 10.7058 7.62968 10.779C7.52005 10.8523 7.4346 10.9564 7.38414 11.0782C7.33368 11.2 7.32048 11.3341 7.3462 11.4634C7.37193 11.5927 7.43542 11.7115 7.52866 11.8048C7.62189 11.898 7.74068 11.9615 7.87 11.9872C7.99932 12.0129 8.13336 11.9997 8.25518 11.9493C8.377 11.8988 8.48112 11.8134 8.55437 11.7037C8.62763 11.5941 8.66673 11.4652 8.66673 11.3334C8.66673 11.1565 8.59649 10.987 8.47146 10.8619C8.34644 10.7369 8.17687 10.6667 8.00006 10.6667ZM15.1134 11.6467L9.74673 2.31335C9.57326 2.00236 9.31992 1.74332 9.01285 1.563C8.70579 1.38267 8.35615 1.2876 8.00006 1.2876C7.64396 1.2876 7.29433 1.38267 6.98726 1.563C6.6802 1.74332 6.42686 2.00236 6.25339 2.31335L0.92006 11.6467C0.74059 11.9494 0.644155 12.294 0.640489 12.6459C0.636824 12.9978 0.726058 13.3444 0.899184 13.6507C1.07231 13.9571 1.3232 14.2123 1.62652 14.3907C1.92984 14.5691 2.27485 14.6643 2.62673 14.6667H13.3734C13.7281 14.6702 14.0773 14.5793 14.3853 14.4033C14.6933 14.2273 14.949 13.9726 15.126 13.6652C15.3031 13.3579 15.3953 13.009 15.3931 12.6542C15.3908 12.2995 15.2943 11.9518 15.1134 11.6467ZM13.9601 12.98C13.9016 13.084 13.8164 13.1704 13.7132 13.2302C13.61 13.29 13.4927 13.321 13.3734 13.32H2.62673C2.50747 13.321 2.39013 13.29 2.28694 13.2302C2.18375 13.1704 2.0985 13.084 2.04006 12.98C1.98155 12.8787 1.95074 12.7637 1.95074 12.6467C1.95074 12.5297 1.98155 12.4147 2.04006 12.3134L7.37339 2.98002C7.42934 2.87082 7.51433 2.77917 7.61902 2.71518C7.72371 2.65119 7.84403 2.61733 7.96673 2.61733C8.08942 2.61733 8.20974 2.65119 8.31443 2.71518C8.41912 2.77917 8.50411 2.87082 8.56006 2.98002L13.9267 12.3134C13.9929 12.4132 14.0309 12.5291 14.0367 12.6488C14.0426 12.7684 14.0161 12.8875 13.9601 12.9934V12.98ZM8.00006 5.33335C7.82325 5.33335 7.65368 5.40359 7.52866 5.52861C7.40363 5.65364 7.33339 5.82321 7.33339 6.00002V8.66669C7.33339 8.8435 7.40363 9.01307 7.52866 9.13809C7.65368 9.26311 7.82325 9.33335 8.00006 9.33335C8.17687 9.33335 8.34644 9.26311 8.47146 9.13809C8.59649 9.01307 8.66673 8.8435 8.66673 8.66669V6.00002C8.66673 5.82321 8.59649 5.65364 8.47146 5.52861C8.34644 5.40359 8.17687 5.33335 8.00006 5.33335Z" , fill: "#F80000", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 147}})
|
|
18391
18443
|
)
|
|
18392
|
-
, React$1.createElement('defs', {__self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18393
|
-
, React$1.createElement('clipPath', { id: "clip0_299_2778", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18394
|
-
, React$1.createElement('rect', { width: "16", height: "16", fill: "white", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18444
|
+
, React$1.createElement('defs', {__self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 149}}
|
|
18445
|
+
, React$1.createElement('clipPath', { id: "clip0_299_2778", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 150}}
|
|
18446
|
+
, React$1.createElement('rect', { width: "16", height: "16", fill: "white", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 151}})
|
|
18395
18447
|
)
|
|
18396
18448
|
)
|
|
18397
18449
|
)
|
|
18398
|
-
, React$1.createElement('span', {__self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18450
|
+
, React$1.createElement('span', {__self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 155}}, "This field is required" )
|
|
18399
18451
|
)
|
|
18400
18452
|
|
|
18401
18453
|
)
|
|
18402
18454
|
|
|
18403
18455
|
, disabled &&
|
|
18404
|
-
React$1.createElement(DisabledContainer, {__self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18456
|
+
React$1.createElement(DisabledContainer, {__self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 161}}
|
|
18405
18457
|
, initText
|
|
18406
|
-
, 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$I, lineNumber:
|
|
18407
|
-
, React$1.createElement('path', { d: "M16.9999 9.16994C16.8126 8.98369 16.5591 8.87915 16.2949 8.87915C16.0308 8.87915 15.7773 8.98369 15.5899 9.16994L11.9999 12.7099L8.45995 9.16994C8.27259 8.98369 8.01913 8.87915 7.75495 8.87915C7.49076 8.87915 7.23731 8.98369 7.04995 9.16994C6.95622 9.26291 6.88183 9.37351 6.83106 9.49537C6.78029 9.61723 6.75415 9.74793 6.75415 9.87994C6.75415 10.012 6.78029 10.1427 6.83106 10.2645C6.88183 10.3864 6.95622 10.497 7.04995 10.5899L11.2899 14.8299C11.3829 14.9237 11.4935 14.9981 11.6154 15.0488C11.7372 15.0996 11.8679 15.1257 11.9999 15.1257C12.132 15.1257 12.2627 15.0996 12.3845 15.0488C12.5064 14.9981 12.617 14.9237 12.7099 14.8299L16.9999 10.5899C17.0937 10.497 17.1681 10.3864 17.2188 10.2645C17.2696 10.1427 17.2957 10.012 17.2957 9.87994C17.2957 9.74793 17.2696 9.61723 17.2188 9.49537C17.1681 9.37351 17.0937 9.26291 16.9999 9.16994Z" , fill: "#E8EEF7", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber:
|
|
18458
|
+
, 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$I, lineNumber: 163}}
|
|
18459
|
+
, React$1.createElement('path', { d: "M16.9999 9.16994C16.8126 8.98369 16.5591 8.87915 16.2949 8.87915C16.0308 8.87915 15.7773 8.98369 15.5899 9.16994L11.9999 12.7099L8.45995 9.16994C8.27259 8.98369 8.01913 8.87915 7.75495 8.87915C7.49076 8.87915 7.23731 8.98369 7.04995 9.16994C6.95622 9.26291 6.88183 9.37351 6.83106 9.49537C6.78029 9.61723 6.75415 9.74793 6.75415 9.87994C6.75415 10.012 6.78029 10.1427 6.83106 10.2645C6.88183 10.3864 6.95622 10.497 7.04995 10.5899L11.2899 14.8299C11.3829 14.9237 11.4935 14.9981 11.6154 15.0488C11.7372 15.0996 11.8679 15.1257 11.9999 15.1257C12.132 15.1257 12.2627 15.0996 12.3845 15.0488C12.5064 14.9981 12.617 14.9237 12.7099 14.8299L16.9999 10.5899C17.0937 10.497 17.1681 10.3864 17.2188 10.2645C17.2696 10.1427 17.2957 10.012 17.2957 9.87994C17.2957 9.74793 17.2696 9.61723 17.2188 9.49537C17.1681 9.37351 17.0937 9.26291 16.9999 9.16994Z" , fill: "#E8EEF7", __self: undefined, __source: {fileName: _jsxFileName$I, lineNumber: 164}})
|
|
18408
18460
|
)
|
|
18409
18461
|
)
|
|
18410
18462
|
|
|
@@ -21633,15 +21685,10 @@ const InputLabel$2 = styled.div`
|
|
|
21633
21685
|
flex-direction: column;
|
|
21634
21686
|
gap: 4px;
|
|
21635
21687
|
label{
|
|
21636
|
-
color
|
|
21637
|
-
font-weight: 500;
|
|
21638
|
-
font-family: "Circular Book Medium", sans-serif;
|
|
21688
|
+
color: ${theme.colors["neutral-900"]};
|
|
21639
21689
|
}
|
|
21640
21690
|
span{
|
|
21641
21691
|
color: ${theme.colors["neutral-600"]};
|
|
21642
|
-
font-size: 14px;
|
|
21643
|
-
line-height: 17px;
|
|
21644
|
-
font-weight: 400;
|
|
21645
21692
|
}
|
|
21646
21693
|
`;
|
|
21647
21694
|
|
|
@@ -21754,7 +21801,7 @@ const TextField = (props) => {
|
|
|
21754
21801
|
, label &&
|
|
21755
21802
|
React$1.createElement(InputLabel$2, {__self: undefined, __source: {fileName: _jsxFileName$m, lineNumber: 43}}
|
|
21756
21803
|
, React$1.createElement('label', { className: "paragraph2Medium", __self: undefined, __source: {fileName: _jsxFileName$m, lineNumber: 44}}, label)
|
|
21757
|
-
, subtext && React$1.createElement('span', {__self: undefined, __source: {fileName: _jsxFileName$m, lineNumber: 45}}, subtext)
|
|
21804
|
+
, subtext && React$1.createElement('span', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$m, lineNumber: 45}}, subtext)
|
|
21758
21805
|
)
|
|
21759
21806
|
|
|
21760
21807
|
, React$1.createElement(InputContainer$1, { className: `${borderColor} ${disabled ? 'disabled' : ''}`, style: {width:width ? width : '100%',border:disabled ? `1px solid ${theme.colors["neutral-100"]}` : ''}, __self: undefined, __source: {fileName: _jsxFileName$m, lineNumber: 48}}
|
|
@@ -21766,7 +21813,7 @@ const TextField = (props) => {
|
|
|
21766
21813
|
, React$1.createElement('svg', { width: "16", height: "14", viewBox: "0 0 16 14" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$m, lineNumber: 54}}
|
|
21767
21814
|
, React$1.createElement('path', { d: "M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z" , fill: "#F80000", __self: undefined, __source: {fileName: _jsxFileName$m, lineNumber: 55}})
|
|
21768
21815
|
)
|
|
21769
|
-
, errMsg ? errMsg : 'This field is required
|
|
21816
|
+
, errMsg ? errMsg : React$1.createElement('span', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$m, lineNumber: 57}}, "This field is required" )
|
|
21770
21817
|
)
|
|
21771
21818
|
|
|
21772
21819
|
)
|