master-components-react 1.8.0 → 1.9.0
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.MainButton-module__mainButton{border-radius:.5rem;min-width:7.75rem;border:.125rem solid rgba(255,255,255,.12);background:#7f56d9;display:flex;justify-content:center;align-items:center;padding:.5rem 1.25rem;cursor:pointer}.MainButton-module__mainButton:hover{background:#6941c6}.MainButton-module__mainButton:active{box-shadow:0 0 0 .0625rem #0a0d122e inset,0 -.125rem #0a0d120d inset,0 .0625rem .125rem #0a0d120d,0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.MainButton-module__mainButton.MainButton-module__sm{height:2.25rem}.MainButton-module__mainButton.MainButton-module__sm.MainButton-module__onlyIcon{height:2.25rem;width:2.25rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__sm .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__md{height:2.5rem}.MainButton-module__mainButton.MainButton-module__md.MainButton-module__onlyIcon{height:2.5rem;width:2.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__md .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__lg{height:2.75rem}.MainButton-module__mainButton.MainButton-module__lg.MainButton-module__onlyIcon{height:2.75rem;width:2.75rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__lg .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__xl{height:3rem}.MainButton-module__mainButton.MainButton-module__xl.MainButton-module__onlyIcon{height:3rem;width:3rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.5rem}.MainButton-module__mainButton.MainButton-module__xl2{height:3.75rem}.MainButton-module__mainButton.MainButton-module__xl2.MainButton-module__onlyIcon{height:3.5rem;width:3.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl2 .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1.125rem;line-height:1.75rem}.MainButton-module__mainButton.MainButton-module__disabled{border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#f5f5f5;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.MainButton-module__mainButton.MainButton-module__disabled .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#a4a7ae}.MainButton-module__mainButton .MainButton-module__buttonSlot{display:flex;align-items:center;gap:.5rem}.MainButton-module__mainButton .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#fff;font-family:Inter,sans-serif;font-style:normal;font-weight:400}.FormInput-module__inputWrapper{width:100%;display:grid}.FormInput-module__inputWrapper .FormInput-module__inputLabel{color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputLabel .FormInput-module__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer{place-items:center;position:relative;margin:.375rem 0;width:100%;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;display:flex;padding-left:.75rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent{width:100%;display:flex;align-items:center;flex-wrap:wrap}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent .FormInput-module__inputTags{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-right:.5rem;padding:.5rem 0}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent input{flex:1 0 100px;width:auto;background-color:transparent;width:100%;border:none;padding:.5rem 0;color:#181d27;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;outline:none}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent input::placeholder{color:#717680}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__error.FormInput-module__focused{outline-width:.125rem;outline-color:#f04438}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__rightIcon,.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__leftIcon{display:flex;justify-content:center;align-items:center}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__rightIcon{margin:0 .5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__leftIcon{margin-right:.375rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown{padding:.5rem .75rem;display:grid;place-items:center;position:relative;color:#414651;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;cursor:pointer;display:flex;align-items:center;gap:.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul{width:100%;position:absolute;left:50%;top:100%;transform:translate(-50%);max-height:9.375rem;overflow:hidden;background-color:#fff;border:.0625rem solid #d5d7da;border-radius:.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul li{padding:.375rem .75rem;width:100%;display:flex;flex-direction:column;font-size:.875rem;line-height:initial;cursor:pointer}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul li:hover{background-color:#d5d7da}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown.FormInput-module__http{cursor:initial;border-right:.0625rem solid #d5d7da;margin-right:.75rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__sm{min-height:2.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__md{min-height:2.75rem}.FormInput-module__inputWrapper .FormInput-module__withCopy{display:grid;place-items:center;position:relative;font-size:1rem;font-weight:400;line-height:1.5rem;gap:.5rem;display:flex;align-items:center;gap:.25rem;border-radius:0rem .5rem .5rem 0rem;border:.0625rem solid #d5d7da;background:#fff;padding:.625rem .875rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:600;line-height:1.25rem;cursor:pointer;-webkit-user-select:none;user-select:none}.FormInput-module__inputWrapper .FormInput-module__withCopy:hover{background:#f0f0f0}.FormInput-module__inputWrapper .FormInput-module__withCopy:active{background:#ececec}.FormInput-module__inputWrapper .FormInput-module__inputHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputHelperText.FormInput-module__error p{color:#d92d20}.Checkbox-module__checkboxWrapper{overflow:hidden;border:.0625rem solid #d1d5d6;background:#fff;position:relative;border-radius:.25rem;cursor:pointer;transition:.2;display:grid;place-items:center}.Checkbox-module__checkboxWrapper.Checkbox-module__sm{width:1rem;height:1rem}.Checkbox-module__checkboxWrapper.Checkbox-module__md{width:1.25rem;height:1.25rem}.Checkbox-module__checkboxWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark{display:grid;place-items:center}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark svg{width:.625rem;-webkit-user-select:none;user-select:none;pointer-events:none}.Checkbox-module__checkboxWrapper.Checkbox-module__checked,.Checkbox-module__checkboxWrapper.Checkbox-module__checked:hover{background:#7f56d9;border:.0625rem solid #7f56d9}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg{opacity:.4}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg path{stroke:#d5d7da}.Checkbox-module__checkboxWrapper.Checkbox-module__disabled{pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important;background:#fafafa!important;border:.0625rem solid #d5d7da!important}*{-webkit-user-select:none;user-select:none}.Tag-module__tagContainer{width:fit-content;display:flex;justify-content:center;align-items:center;gap:.375rem;border-radius:.375rem;border:1px solid #d5d7da;background:#fff;padding:.25rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__sm{padding:.5rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__md{padding:.125rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__lg{padding:.25rem}.Tag-module__tagContainer.Tag-module__sm{height:24px}.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagNumber{font-size:.75rem;line-height:1.125rem}.Tag-module__tagContainer.Tag-module__md{height:24px}.Tag-module__tagContainer.Tag-module__md .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__md .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer.Tag-module__lg{height:28px}.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer .Tag-module__tagLabel{white-space:nowrap;word-wrap:break-word;color:#414651;font-family:Inter,sans-serif}.Tag-module__tagContainer .Tag-module__tagNumber{display:flex;padding:0 5px;flex-direction:column;justify-content:center;align-items:center;border-radius:3px;background:#f5f5f5;color:#414651;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}.Tag-module__tagContainer .Tag-module__tagClose{display:grid;place-items:center;cursor:pointer}.Textarea-module__textareaContainer{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:.375rem;flex-shrink:0}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel{display:flex;align-items:center;gap:.125rem}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel p{font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel .Textarea-module__required{color:#7f56d9;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:500;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__wrap{position:relative;display:inline-block}.Textarea-module__textareaContainer .Textarea-module__wrap:after{content:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%3e%3cpath%20d='M10%202L2%2010'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3cpath%20d='M11%207L7%2011'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3c/svg%3e");width:.9375rem;background:transparent;position:absolute;right:.125rem;bottom:.3125rem;pointer-events:none;border-radius:25%}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;padding:.75rem .875rem;border:none;outline-color:#d5d7da;outline-width:.0625rem;outline-style:solid;position:relative;color:#181d27;font-size:1rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.5rem}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-resizer{display:none}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar{width:0}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar-track{-webkit-box-shadow:none}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar-thumb{background-color:none;outline:0}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__focused{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__error{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#fda29b;outline-width:.125rem;outline-style:solid}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__error.Textarea-module__focused{outline-color:#f04438}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::placeholder{color:#717680;font-size:1rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.5rem}.Textarea-module__textareaContainer .Textarea-module__helperTextStyle{color:#535862;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__helperTextStyle.Textarea-module__error{color:#d92d20}.Toggle-module__toggleWrapper{width:2.25rem;height:1.25rem;position:relative;overflow:hidden;background:#f5f5f5;border-radius:624.9375rem;cursor:pointer}.Toggle-module__toggleWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Toggle-module__toggleWrapper .Toggle-module__toggleState{width:1.125rem;height:1rem;width:1rem;border-radius:624.9375rem;background:#fff;transition:.2s;position:absolute;top:50%;left:.125rem;transform:translateY(-50%)}.Toggle-module__toggleWrapper.Toggle-module__checked{background:#7f56d9}.Toggle-module__toggleWrapper.Toggle-module__checked .Toggle-module__toggleState{left:calc(100% - 1.25rem)}.Toggle-module__toggleWrapper.Toggle-module__checked.Toggle-module__disabled{background:#f5f5f5;cursor:no-drop}.Toggle-module__toggleWrapper.Toggle-module__disabled{pointer-events:none;-webkit-user-select:none;user-select:none;background:#f5f5f5}.Toggle-module__toggleWrapper.Toggle-module__disabled .Toggle-module__toggleState{background:#fafafa}.Radio-module__radioWrapper{border-radius:50%;overflow:hidden;position:relative;border-radius:624.9375rem;border:.0625rem solid #d5d7da;cursor:pointer;transition:.2s}.Radio-module__radioWrapper.Radio-module__sm{width:1rem;height:1rem}.Radio-module__radioWrapper.Radio-module__md{width:1.25rem;height:1.25rem;transition:.2s}.Radio-module__radioWrapper.Radio-module__md.Radio-module__checked .Radio-module__innerCircle{width:.5rem;height:.5rem;transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState{width:100%;background:#10b77f;border-radius:50%;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState .Radio-module__innerCircle{border-radius:624.9375rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.375rem;height:.375rem;background-color:#fff}.Radio-module__radioWrapper.Radio-module__checked{background:#7f56d9;border:none}.Radio-module__radioWrapper.Radio-module__checked .Radio-module__radioState{opacity:1}.Radio-module__radioWrapper.Radio-module__disabled{pointer-events:none;background:#fafafa;border:.0625rem solid #d5d7da}.Radio-module__radioWrapper.Radio-module__disabled .Radio-module__radioState{background:#e9ebec}*{font-family:Inter,sans-serif;-webkit-user-select:none;user-select:none}*::-webkit-scrollbar{display:block!important}*::-webkit-scrollbar-thumb{border:.25rem solid #fff;opacity:.15;background:#00000026;border-radius:624.9375rem;height:7.75rem}.Dropdown-module__dropdownWrapper{width:100%;display:grid}.Dropdown-module__dropdownWrapper .Dropdown-module__placeHolder{color:#717680;text-overflow:ellipsis;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel{display:flex;align-items:center;gap:.125rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel .Dropdown-module__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer{place-items:center;margin:.375rem 0;width:100%;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;display:flex;padding-left:.75rem;padding-right:.75rem;position:relative}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags{width:100%}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__selectedList{font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#181d27}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__additional{color:#181d27;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#00adee}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer input{background-color:transparent;width:100%;border:none;padding:.5rem 0;color:#181d27;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;outline:none}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer input::placeholder{color:#717680}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList{width:100%;margin-top:.25rem;position:absolute;top:100%;left:0;border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#fff;box-shadow:0 .75rem 1rem -.25rem #0a0d1214,0 .25rem .375rem -.125rem #0a0d1208,0 .125rem .125rem -.0625rem #0a0d120a;display:flex;max-height:16rem;padding:.25rem;flex-direction:column;align-items:flex-start;flex:1 0 0;overflow:auto}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li{width:100%;padding:.5rem;gap:.5rem;flex:1 0 0;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li p{color:#181d27;font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li:hover{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__disabled{pointer-events:none;opacity:.6}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__selected{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error.Dropdown-module__focused{outline-width:.125rem;outline-color:#f04438}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled{pointer-events:none;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{min-height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{min-height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText.Dropdown-module__error p{color:#d92d20}`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
-
import ar, { useRef as
|
|
3
|
-
var
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.MainButton-module__mainButton{border-radius:.5rem;min-width:7.75rem;border:.125rem solid rgba(255,255,255,.12);background:#7f56d9;display:flex;justify-content:center;align-items:center;padding:.5rem 1.25rem;cursor:pointer}.MainButton-module__mainButton:hover{background:#6941c6}.MainButton-module__mainButton:active{box-shadow:0 0 0 .0625rem #0a0d122e inset,0 -.125rem #0a0d120d inset,0 .0625rem .125rem #0a0d120d,0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.MainButton-module__mainButton.MainButton-module__sm{height:2.25rem}.MainButton-module__mainButton.MainButton-module__sm.MainButton-module__onlyIcon{height:2.25rem;width:2.25rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__sm .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__md{height:2.5rem}.MainButton-module__mainButton.MainButton-module__md.MainButton-module__onlyIcon{height:2.5rem;width:2.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__md .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__lg{height:2.75rem}.MainButton-module__mainButton.MainButton-module__lg.MainButton-module__onlyIcon{height:2.75rem;width:2.75rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__lg .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__xl{height:3rem}.MainButton-module__mainButton.MainButton-module__xl.MainButton-module__onlyIcon{height:3rem;width:3rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.5rem}.MainButton-module__mainButton.MainButton-module__xl2{height:3.75rem}.MainButton-module__mainButton.MainButton-module__xl2.MainButton-module__onlyIcon{height:3.5rem;width:3.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl2 .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1.125rem;line-height:1.75rem}.MainButton-module__mainButton.MainButton-module__disabled{border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#f5f5f5;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.MainButton-module__mainButton.MainButton-module__disabled .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#a4a7ae}.MainButton-module__mainButton .MainButton-module__buttonSlot{display:flex;align-items:center;gap:.5rem}.MainButton-module__mainButton .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#fff;font-family:Inter,sans-serif;font-style:normal;font-weight:400}.FormInput-module__inputWrapper{width:100%;display:grid}.FormInput-module__inputWrapper .FormInput-module__inputLabel{color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputLabel .FormInput-module__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer{place-items:center;position:relative;margin:.375rem 0;width:100%;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;display:flex;padding-left:.75rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent{width:100%;display:flex;align-items:center;flex-wrap:wrap}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent .FormInput-module__inputTags{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-right:.5rem;padding:.5rem 0}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent input{flex:1 0 100px;width:auto;background-color:transparent;width:100%;border:none;padding:.5rem 0;color:#181d27;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;outline:none}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent input::placeholder{color:#717680}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__error.FormInput-module__focused{outline-width:.125rem;outline-color:#f04438}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__rightIcon,.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__leftIcon{display:flex;justify-content:center;align-items:center}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__rightIcon{margin:0 .5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__leftIcon{margin-right:.375rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown{padding:.5rem .75rem;display:grid;place-items:center;position:relative;color:#414651;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;cursor:pointer;display:flex;align-items:center;gap:.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul{width:100%;position:absolute;left:50%;top:100%;transform:translate(-50%);max-height:9.375rem;overflow:hidden;background-color:#fff;border:.0625rem solid #d5d7da;border-radius:.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul li{padding:.375rem .75rem;width:100%;display:flex;flex-direction:column;font-size:.875rem;line-height:initial;cursor:pointer}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul li:hover{background-color:#d5d7da}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown.FormInput-module__http{cursor:initial;border-right:.0625rem solid #d5d7da;margin-right:.75rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__sm{min-height:2.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__md{min-height:2.75rem}.FormInput-module__inputWrapper .FormInput-module__withCopy{display:grid;place-items:center;position:relative;font-size:1rem;font-weight:400;line-height:1.5rem;gap:.5rem;display:flex;align-items:center;gap:.25rem;border-radius:0rem .5rem .5rem 0rem;border:.0625rem solid #d5d7da;background:#fff;padding:.625rem .875rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:600;line-height:1.25rem;cursor:pointer;-webkit-user-select:none;user-select:none}.FormInput-module__inputWrapper .FormInput-module__withCopy:hover{background:#f0f0f0}.FormInput-module__inputWrapper .FormInput-module__withCopy:active{background:#ececec}.FormInput-module__inputWrapper .FormInput-module__inputHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputHelperText.FormInput-module__error p{color:#d92d20}.Checkbox-module__checkboxWrapper{overflow:hidden;border:.0625rem solid #d1d5d6;background:#fff;position:relative;border-radius:.25rem;cursor:pointer;transition:.2;display:grid;place-items:center}.Checkbox-module__checkboxWrapper.Checkbox-module__sm{width:1rem;height:1rem}.Checkbox-module__checkboxWrapper.Checkbox-module__md{width:1.25rem;height:1.25rem}.Checkbox-module__checkboxWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark{display:grid;place-items:center}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark svg{width:.625rem;-webkit-user-select:none;user-select:none;pointer-events:none}.Checkbox-module__checkboxWrapper.Checkbox-module__checked,.Checkbox-module__checkboxWrapper.Checkbox-module__checked:hover{background:#7f56d9;border:.0625rem solid #7f56d9}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg{opacity:.4}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg path{stroke:#d5d7da}.Checkbox-module__checkboxWrapper.Checkbox-module__disabled{pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important;background:#fafafa!important;border:.0625rem solid #d5d7da!important}*{-webkit-user-select:none;user-select:none}.Tag-module__tagContainer{width:fit-content;display:flex;justify-content:center;align-items:center;gap:.375rem;border-radius:.375rem;border:1px solid #d5d7da;background:#fff;padding:.25rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__sm{padding:.5rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__md{padding:.125rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__lg{padding:.25rem}.Tag-module__tagContainer.Tag-module__sm{height:24px}.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagNumber{font-size:.75rem;line-height:1.125rem}.Tag-module__tagContainer.Tag-module__md{height:24px}.Tag-module__tagContainer.Tag-module__md .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__md .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer.Tag-module__lg{height:28px}.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer .Tag-module__tagLabel{white-space:nowrap;word-wrap:break-word;color:#414651;font-family:Inter,sans-serif}.Tag-module__tagContainer .Tag-module__tagNumber{display:flex;padding:0 5px;flex-direction:column;justify-content:center;align-items:center;border-radius:3px;background:#f5f5f5;color:#414651;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}.Tag-module__tagContainer .Tag-module__tagClose{display:grid;place-items:center;cursor:pointer}.Textarea-module__textareaContainer{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:.375rem;flex-shrink:0}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel{display:flex;align-items:center;gap:.125rem}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel p{font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel .Textarea-module__required{color:#7f56d9;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:500;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__wrap{position:relative;display:inline-block}.Textarea-module__textareaContainer .Textarea-module__wrap:after{content:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%3e%3cpath%20d='M10%202L2%2010'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3cpath%20d='M11%207L7%2011'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3c/svg%3e");width:.9375rem;background:transparent;position:absolute;right:.125rem;bottom:.3125rem;pointer-events:none;border-radius:25%}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;padding:.75rem .875rem;border:none;outline-color:#d5d7da;outline-width:.0625rem;outline-style:solid;position:relative;color:#181d27;font-size:1rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.5rem}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-resizer{display:none}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar{width:0}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar-track{-webkit-box-shadow:none}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar-thumb{background-color:none;outline:0}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__focused{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__error{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#fda29b;outline-width:.125rem;outline-style:solid}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__error.Textarea-module__focused{outline-color:#f04438}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::placeholder{color:#717680;font-size:1rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.5rem}.Textarea-module__textareaContainer .Textarea-module__helperTextStyle{color:#535862;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__helperTextStyle.Textarea-module__error{color:#d92d20}.Toggle-module__toggleWrapper{width:2.25rem;height:1.25rem;position:relative;overflow:hidden;background:#f5f5f5;border-radius:624.9375rem;cursor:pointer}.Toggle-module__toggleWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Toggle-module__toggleWrapper .Toggle-module__toggleState{width:1.125rem;height:1rem;width:1rem;border-radius:624.9375rem;background:#fff;transition:.2s;position:absolute;top:50%;left:.125rem;transform:translateY(-50%)}.Toggle-module__toggleWrapper.Toggle-module__checked{background:#7f56d9}.Toggle-module__toggleWrapper.Toggle-module__checked .Toggle-module__toggleState{left:calc(100% - 1.25rem)}.Toggle-module__toggleWrapper.Toggle-module__checked.Toggle-module__disabled{background:#f5f5f5;cursor:no-drop}.Toggle-module__toggleWrapper.Toggle-module__disabled{pointer-events:none;-webkit-user-select:none;user-select:none;background:#f5f5f5}.Toggle-module__toggleWrapper.Toggle-module__disabled .Toggle-module__toggleState{background:#fafafa}.Radio-module__radioWrapper{border-radius:50%;overflow:hidden;position:relative;border-radius:624.9375rem;border:.0625rem solid #d5d7da;cursor:pointer;transition:.2s}.Radio-module__radioWrapper.Radio-module__sm{width:1rem;height:1rem}.Radio-module__radioWrapper.Radio-module__md{width:1.25rem;height:1.25rem;transition:.2s}.Radio-module__radioWrapper.Radio-module__md.Radio-module__checked .Radio-module__innerCircle{width:.5rem;height:.5rem;transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState{width:100%;background:#10b77f;border-radius:50%;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState .Radio-module__innerCircle{border-radius:624.9375rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.375rem;height:.375rem;background-color:#fff}.Radio-module__radioWrapper.Radio-module__checked{background:#7f56d9;border:none}.Radio-module__radioWrapper.Radio-module__checked .Radio-module__radioState{opacity:1}.Radio-module__radioWrapper.Radio-module__disabled{pointer-events:none;background:#fafafa;border:.0625rem solid #d5d7da}.Radio-module__radioWrapper.Radio-module__disabled .Radio-module__radioState{background:#e9ebec}*{font-family:Inter,sans-serif;-webkit-user-select:none;user-select:none}*::-webkit-scrollbar{display:block!important}*::-webkit-scrollbar-thumb{border:.25rem solid #fff;opacity:.15;background:#00000026;border-radius:624.9375rem;height:7.75rem}.Dropdown-module__dropdownWrapper{width:100%;display:grid}.Dropdown-module__dropdownWrapper .Dropdown-module__placeHolder{color:#717680;text-overflow:ellipsis;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel{display:flex;align-items:center;gap:.125rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel .Dropdown-module__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer{place-items:center;margin:.375rem 0;width:100%;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;display:flex;padding-left:.75rem;padding-right:.75rem;position:relative}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags{width:100%}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__selectedList{font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#181d27}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__additional{color:#181d27;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#00adee}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer input{background-color:transparent;width:100%;border:none;padding:.5rem 0;color:#181d27;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;outline:none}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer input::placeholder{color:#717680}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList{width:100%;margin-top:.25rem;position:absolute;top:100%;left:0;border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#fff;box-shadow:0 .75rem 1rem -.25rem #0a0d1214,0 .25rem .375rem -.125rem #0a0d1208,0 .125rem .125rem -.0625rem #0a0d120a;display:flex;max-height:16rem;padding:.25rem;flex-direction:column;align-items:flex-start;flex:1 0 0;overflow:auto}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li{width:100%;padding:.5rem;gap:.5rem;flex:1 0 0;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li p{color:#181d27;font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li:hover{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__disabled{pointer-events:none;opacity:.6}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__selected{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error.Dropdown-module__focused{outline-width:.125rem;outline-color:#f04438}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled{pointer-events:none;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{min-height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{min-height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText.Dropdown-module__error p{color:#d92d20}.Tooltip-module__tooltipContainer{position:relative;width:100%}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent{border-radius:.5rem;background:#181d27;padding:.75rem;width:320px;min-width:118px;position:absolute;z-index:99999;word-break:break-all}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent:before{content:" ";left:50%;border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-width:6px;margin-left:-6px}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__top{top:unset;bottom:calc(100% + 12px)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__top:before{top:100%;border-top-color:#181d27;left:var(--pointer-position)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__right{left:calc(100% + 30px);top:50%;transform:translate(0) translateY(-50%)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__right:before{left:-6px;top:50%;transform:translate(0) translateY(-50%);border-right-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__bottom{top:calc(100% + 12px);bottom:unset}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__bottom:before{bottom:100%;left:var(--pointer-position);border-bottom-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__left{left:unset;right:calc(100% + 12px);top:50%;transform:translateY(-50%)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__left:before{left:auto;right:-12px;top:50%;transform:translate(0) translateY(-50%);border-left-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent .Tooltip-module__tooltipTitle{width:100%;word-break:break-all;color:#fff;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:600;line-height:1.125rem}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent .Tooltip-module__tooltipText{width:100%;word-break:break-all;color:#ffffffe6;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
import ar, { useRef as G, useState as V, useEffect as ve } from "react";
|
|
3
|
+
var Xe = { exports: {} }, Se = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,21 +10,21 @@ var Ge = { exports: {} }, De = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
13
|
+
var or;
|
|
14
14
|
function Rr() {
|
|
15
|
-
if (
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
if (v && v.defaultProps) for (
|
|
23
|
-
return { $$typeof:
|
|
15
|
+
if (or) return Se;
|
|
16
|
+
or = 1;
|
|
17
|
+
var l = ar, u = Symbol.for("react.element"), s = Symbol.for("react.fragment"), C = Object.prototype.hasOwnProperty, g = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function j(v, c, h) {
|
|
19
|
+
var a, m = {}, R = null, k = null;
|
|
20
|
+
h !== void 0 && (R = "" + h), c.key !== void 0 && (R = "" + c.key), c.ref !== void 0 && (k = c.ref);
|
|
21
|
+
for (a in c) C.call(c, a) && !f.hasOwnProperty(a) && (m[a] = c[a]);
|
|
22
|
+
if (v && v.defaultProps) for (a in c = v.defaultProps, c) m[a] === void 0 && (m[a] = c[a]);
|
|
23
|
+
return { $$typeof: u, type: v, key: R, ref: k, props: m, _owner: g.current };
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return Se.Fragment = s, Se.jsx = j, Se.jsxs = j, Se;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Ae = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -34,54 +34,54 @@ var Ne = {};
|
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
|
-
var
|
|
38
|
-
function
|
|
39
|
-
return
|
|
40
|
-
var
|
|
41
|
-
function
|
|
37
|
+
var sr;
|
|
38
|
+
function kr() {
|
|
39
|
+
return sr || (sr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
+
var l = ar, u = Symbol.for("react.element"), s = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), v = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), w = Symbol.iterator, N = "@@iterator";
|
|
41
|
+
function B(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var r =
|
|
44
|
+
var r = w && e[w] || e[N];
|
|
45
45
|
return typeof r == "function" ? r : null;
|
|
46
46
|
}
|
|
47
|
-
var L =
|
|
47
|
+
var L = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
48
|
function b(e) {
|
|
49
49
|
{
|
|
50
|
-
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0),
|
|
51
|
-
o[
|
|
52
|
-
|
|
50
|
+
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
51
|
+
o[i - 1] = arguments[i];
|
|
52
|
+
H("error", e, o);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function H(e, r, o) {
|
|
56
56
|
{
|
|
57
|
-
var
|
|
57
|
+
var i = L.ReactDebugCurrentFrame, y = i.getStackAddendum();
|
|
58
58
|
y !== "" && (r += "%s", o = o.concat([y]));
|
|
59
|
-
var
|
|
60
|
-
return String(
|
|
59
|
+
var T = o.map(function(_) {
|
|
60
|
+
return String(_);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
T.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, T);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var $ = !1, ee = !1, oe = !1, se = !1, de = !1, re;
|
|
66
66
|
re = Symbol.for("react.module.reference");
|
|
67
67
|
function fe(e) {
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === C || e === f || de || e === g || e === h || e === a || se || e === k || $ || ee || oe || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === m || e.$$typeof === j || e.$$typeof === v || e.$$typeof === c || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
72
72
|
e.$$typeof === re || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
var
|
|
76
|
-
if (
|
|
77
|
-
return
|
|
74
|
+
function $e(e, r, o) {
|
|
75
|
+
var i = e.displayName;
|
|
76
|
+
if (i)
|
|
77
|
+
return i;
|
|
78
78
|
var y = r.displayName || r.name || "";
|
|
79
79
|
return y !== "" ? o + "(" + y + ")" : o;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function me(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function W(e) {
|
|
85
85
|
if (e == null)
|
|
86
86
|
return null;
|
|
87
87
|
if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -89,36 +89,36 @@ function Tr() {
|
|
|
89
89
|
if (typeof e == "string")
|
|
90
90
|
return e;
|
|
91
91
|
switch (e) {
|
|
92
|
-
case
|
|
92
|
+
case C:
|
|
93
93
|
return "Fragment";
|
|
94
|
-
case
|
|
94
|
+
case s:
|
|
95
95
|
return "Portal";
|
|
96
96
|
case f:
|
|
97
97
|
return "Profiler";
|
|
98
|
-
case
|
|
98
|
+
case g:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case
|
|
100
|
+
case h:
|
|
101
101
|
return "Suspense";
|
|
102
|
-
case
|
|
102
|
+
case a:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
107
|
case v:
|
|
108
108
|
var r = e;
|
|
109
|
-
return
|
|
110
|
-
case
|
|
109
|
+
return me(r) + ".Consumer";
|
|
110
|
+
case j:
|
|
111
111
|
var o = e;
|
|
112
|
-
return
|
|
113
|
-
case
|
|
114
|
-
return
|
|
112
|
+
return me(o._context) + ".Provider";
|
|
113
|
+
case c:
|
|
114
|
+
return $e(e, e.render, "ForwardRef");
|
|
115
115
|
case m:
|
|
116
|
-
var
|
|
117
|
-
return
|
|
118
|
-
case
|
|
119
|
-
var y = e,
|
|
116
|
+
var i = e.displayName || null;
|
|
117
|
+
return i !== null ? i : W(e.type) || "Memo";
|
|
118
|
+
case R: {
|
|
119
|
+
var y = e, T = y._payload, _ = y._init;
|
|
120
120
|
try {
|
|
121
|
-
return
|
|
121
|
+
return W(_(T));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,18 +126,18 @@ function Tr() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var
|
|
130
|
-
function
|
|
129
|
+
var Y = Object.assign, X = 0, Pe, xe, z, ae, I, te, Z;
|
|
130
|
+
function D() {
|
|
131
131
|
}
|
|
132
|
-
|
|
132
|
+
D.__reactDisabledLog = !0;
|
|
133
133
|
function ye() {
|
|
134
134
|
{
|
|
135
|
-
if (
|
|
136
|
-
|
|
135
|
+
if (X === 0) {
|
|
136
|
+
Pe = console.log, xe = console.info, z = console.warn, ae = console.error, I = console.group, te = console.groupCollapsed, Z = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: D,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -150,136 +150,136 @@ function Tr() {
|
|
|
150
150
|
groupEnd: e
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
X++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Oe() {
|
|
157
157
|
{
|
|
158
|
-
if (
|
|
158
|
+
if (X--, X === 0) {
|
|
159
159
|
var e = {
|
|
160
160
|
configurable: !0,
|
|
161
161
|
enumerable: !0,
|
|
162
162
|
writable: !0
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
|
-
log:
|
|
166
|
-
value:
|
|
165
|
+
log: Y({}, e, {
|
|
166
|
+
value: Pe
|
|
167
167
|
}),
|
|
168
|
-
info:
|
|
168
|
+
info: Y({}, e, {
|
|
169
169
|
value: xe
|
|
170
170
|
}),
|
|
171
|
-
warn:
|
|
172
|
-
value:
|
|
171
|
+
warn: Y({}, e, {
|
|
172
|
+
value: z
|
|
173
173
|
}),
|
|
174
|
-
error:
|
|
175
|
-
value:
|
|
174
|
+
error: Y({}, e, {
|
|
175
|
+
value: ae
|
|
176
176
|
}),
|
|
177
|
-
group:
|
|
178
|
-
value:
|
|
177
|
+
group: Y({}, e, {
|
|
178
|
+
value: I
|
|
179
179
|
}),
|
|
180
|
-
groupCollapsed:
|
|
180
|
+
groupCollapsed: Y({}, e, {
|
|
181
181
|
value: te
|
|
182
182
|
}),
|
|
183
|
-
groupEnd:
|
|
184
|
-
value:
|
|
183
|
+
groupEnd: Y({}, e, {
|
|
184
|
+
value: Z
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
X < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var U = L.ReactCurrentDispatcher, pe;
|
|
192
192
|
function ne(e, r, o) {
|
|
193
193
|
{
|
|
194
194
|
if (pe === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
197
|
} catch (y) {
|
|
198
|
-
var
|
|
199
|
-
pe =
|
|
198
|
+
var i = y.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
+
pe = i && i[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
202
|
` + pe + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var be = !1, le;
|
|
206
206
|
{
|
|
207
|
-
var
|
|
208
|
-
|
|
207
|
+
var Le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
+
le = new Le();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
if (!e ||
|
|
210
|
+
function Ce(e, r) {
|
|
211
|
+
if (!e || be)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
|
-
var o =
|
|
214
|
+
var o = le.get(e);
|
|
215
215
|
if (o !== void 0)
|
|
216
216
|
return o;
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
|
|
218
|
+
var i;
|
|
219
|
+
be = !0;
|
|
220
220
|
var y = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var T;
|
|
223
|
+
T = U.current, U.current = null, ye();
|
|
224
224
|
try {
|
|
225
225
|
if (r) {
|
|
226
|
-
var
|
|
226
|
+
var _ = function() {
|
|
227
227
|
throw Error();
|
|
228
228
|
};
|
|
229
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(_.prototype, "props", {
|
|
230
230
|
set: function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
}
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
|
-
Reflect.construct(
|
|
236
|
-
} catch (
|
|
237
|
-
|
|
235
|
+
Reflect.construct(_, []);
|
|
236
|
+
} catch (q) {
|
|
237
|
+
i = q;
|
|
238
238
|
}
|
|
239
|
-
Reflect.construct(e, [],
|
|
239
|
+
Reflect.construct(e, [], _);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
|
-
|
|
243
|
-
} catch (
|
|
244
|
-
|
|
242
|
+
_.call();
|
|
243
|
+
} catch (q) {
|
|
244
|
+
i = q;
|
|
245
245
|
}
|
|
246
|
-
e.call(
|
|
246
|
+
e.call(_.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
250
|
throw Error();
|
|
251
|
-
} catch (
|
|
252
|
-
|
|
251
|
+
} catch (q) {
|
|
252
|
+
i = q;
|
|
253
253
|
}
|
|
254
254
|
e();
|
|
255
255
|
}
|
|
256
|
-
} catch (
|
|
257
|
-
if (
|
|
258
|
-
for (var p =
|
|
259
|
-
`),
|
|
260
|
-
`),
|
|
261
|
-
|
|
262
|
-
for (;
|
|
263
|
-
if (p[
|
|
264
|
-
if (
|
|
256
|
+
} catch (q) {
|
|
257
|
+
if (q && i && typeof q.stack == "string") {
|
|
258
|
+
for (var p = q.stack.split(`
|
|
259
|
+
`), M = i.stack.split(`
|
|
260
|
+
`), E = p.length - 1, O = M.length - 1; E >= 1 && O >= 0 && p[E] !== M[O]; )
|
|
261
|
+
O--;
|
|
262
|
+
for (; E >= 1 && O >= 0; E--, O--)
|
|
263
|
+
if (p[E] !== M[O]) {
|
|
264
|
+
if (E !== 1 || O !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (
|
|
267
|
-
var
|
|
268
|
-
` + p[
|
|
269
|
-
return e.displayName &&
|
|
266
|
+
if (E--, O--, O < 0 || p[E] !== M[O]) {
|
|
267
|
+
var K = `
|
|
268
|
+
` + p[E].replace(" at new ", " at ");
|
|
269
|
+
return e.displayName && K.includes("<anonymous>") && (K = K.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, K), K;
|
|
270
270
|
}
|
|
271
|
-
while (
|
|
271
|
+
while (E >= 1 && O >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
be = !1, U.current = T, Oe(), Error.prepareStackTrace = y;
|
|
277
277
|
}
|
|
278
278
|
var we = e ? e.displayName || e.name : "", he = we ? ne(we) : "";
|
|
279
|
-
return typeof e == "function" &&
|
|
279
|
+
return typeof e == "function" && le.set(e, he), he;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
281
|
+
function ie(e, r, o) {
|
|
282
|
+
return Ce(e, !1);
|
|
283
283
|
}
|
|
284
284
|
function ue(e) {
|
|
285
285
|
var r = e.prototype;
|
|
@@ -289,63 +289,63 @@ function Tr() {
|
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return Ce(e, ue(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
294
|
return ne(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case
|
|
296
|
+
case h:
|
|
297
297
|
return ne("Suspense");
|
|
298
|
-
case
|
|
298
|
+
case a:
|
|
299
299
|
return ne("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
|
-
case
|
|
304
|
-
return
|
|
303
|
+
case c:
|
|
304
|
+
return ie(e.render);
|
|
305
305
|
case m:
|
|
306
306
|
return n(e.type, r, o);
|
|
307
|
-
case
|
|
308
|
-
var
|
|
307
|
+
case R: {
|
|
308
|
+
var i = e, y = i._payload, T = i._init;
|
|
309
309
|
try {
|
|
310
|
-
return n(
|
|
310
|
+
return n(T(y), r, o);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var x = Object.prototype.hasOwnProperty,
|
|
317
|
+
var x = Object.prototype.hasOwnProperty, P = {}, Q = L.ReactDebugCurrentFrame;
|
|
318
318
|
function ge(e) {
|
|
319
319
|
if (e) {
|
|
320
320
|
var r = e._owner, o = n(e.type, e._source, r ? r.type : null);
|
|
321
|
-
|
|
321
|
+
Q.setExtraStackFrame(o);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
Q.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Me(e, r, o, i, y) {
|
|
326
326
|
{
|
|
327
|
-
var
|
|
328
|
-
for (var
|
|
329
|
-
if (
|
|
327
|
+
var T = Function.call.bind(x);
|
|
328
|
+
for (var _ in e)
|
|
329
|
+
if (T(e, _)) {
|
|
330
330
|
var p = void 0;
|
|
331
331
|
try {
|
|
332
|
-
if (typeof e[
|
|
333
|
-
var
|
|
334
|
-
throw
|
|
332
|
+
if (typeof e[_] != "function") {
|
|
333
|
+
var M = Error((i || "React class") + ": " + o + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
|
+
throw M.name = "Invariant Violation", M;
|
|
335
335
|
}
|
|
336
|
-
p = e[
|
|
337
|
-
} catch (
|
|
338
|
-
p =
|
|
336
|
+
p = e[_](r, _, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
|
+
} catch (E) {
|
|
338
|
+
p = E;
|
|
339
339
|
}
|
|
340
|
-
p && !(p instanceof Error) && (ge(y), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",
|
|
340
|
+
p && !(p instanceof Error) && (ge(y), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", o, _, typeof p), ge(null)), p instanceof Error && !(p.message in P) && (P[p.message] = !0, ge(y), b("Failed %s type: %s", o, p.message), ge(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
345
|
-
function
|
|
346
|
-
return
|
|
344
|
+
var Be = Array.isArray;
|
|
345
|
+
function Fe(e) {
|
|
346
|
+
return Be(e);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function He(e) {
|
|
349
349
|
{
|
|
350
350
|
var r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
351
|
return o;
|
|
@@ -353,26 +353,26 @@ function Tr() {
|
|
|
353
353
|
}
|
|
354
354
|
function qe(e) {
|
|
355
355
|
try {
|
|
356
|
-
return
|
|
356
|
+
return Ne(e), !1;
|
|
357
357
|
} catch {
|
|
358
358
|
return !0;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ne(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function We(e) {
|
|
365
365
|
if (qe(e))
|
|
366
|
-
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
366
|
+
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Ne(e);
|
|
367
367
|
}
|
|
368
368
|
var ce = L.ReactCurrentOwner, Ve = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
|
|
375
|
-
function
|
|
373
|
+
}, De, d, S;
|
|
374
|
+
S = {};
|
|
375
|
+
function Ye(e) {
|
|
376
376
|
if (x.call(e, "ref")) {
|
|
377
377
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
378
378
|
if (r && r.isReactWarning)
|
|
@@ -380,7 +380,7 @@ function Tr() {
|
|
|
380
380
|
}
|
|
381
381
|
return e.ref !== void 0;
|
|
382
382
|
}
|
|
383
|
-
function
|
|
383
|
+
function cr(e) {
|
|
384
384
|
if (x.call(e, "key")) {
|
|
385
385
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
386
386
|
if (r && r.isReactWarning)
|
|
@@ -388,16 +388,16 @@ function Tr() {
|
|
|
388
388
|
}
|
|
389
389
|
return e.key !== void 0;
|
|
390
390
|
}
|
|
391
|
-
function
|
|
391
|
+
function dr(e, r) {
|
|
392
392
|
if (typeof e.ref == "string" && ce.current && r && ce.current.stateNode !== r) {
|
|
393
|
-
var o =
|
|
394
|
-
|
|
393
|
+
var o = W(ce.current.type);
|
|
394
|
+
S[o] || (b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W(ce.current.type), e.ref), S[o] = !0);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function
|
|
397
|
+
function fr(e, r) {
|
|
398
398
|
{
|
|
399
399
|
var o = function() {
|
|
400
|
-
|
|
400
|
+
De || (De = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
401
401
|
};
|
|
402
402
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
403
403
|
get: o,
|
|
@@ -405,10 +405,10 @@ function Tr() {
|
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function pr(e, r) {
|
|
409
409
|
{
|
|
410
410
|
var o = function() {
|
|
411
|
-
|
|
411
|
+
d || (d = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
412
412
|
};
|
|
413
413
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
414
414
|
get: o,
|
|
@@ -416,17 +416,17 @@ function Tr() {
|
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
var
|
|
419
|
+
var hr = function(e, r, o, i, y, T, _) {
|
|
420
420
|
var p = {
|
|
421
421
|
// This tag allows us to uniquely identify this as a React Element
|
|
422
|
-
$$typeof:
|
|
422
|
+
$$typeof: u,
|
|
423
423
|
// Built-in properties that belong on the element
|
|
424
424
|
type: e,
|
|
425
425
|
key: r,
|
|
426
426
|
ref: o,
|
|
427
|
-
props:
|
|
427
|
+
props: _,
|
|
428
428
|
// Record the component responsible for creating this element.
|
|
429
|
-
_owner:
|
|
429
|
+
_owner: T
|
|
430
430
|
};
|
|
431
431
|
return p._store = {}, Object.defineProperty(p._store, "validated", {
|
|
432
432
|
configurable: !1,
|
|
@@ -437,7 +437,7 @@ function Tr() {
|
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
|
-
value:
|
|
440
|
+
value: i
|
|
441
441
|
}), Object.defineProperty(p, "_source", {
|
|
442
442
|
configurable: !1,
|
|
443
443
|
enumerable: !1,
|
|
@@ -445,41 +445,41 @@ function Tr() {
|
|
|
445
445
|
value: y
|
|
446
446
|
}), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p;
|
|
447
447
|
};
|
|
448
|
-
function
|
|
448
|
+
function _r(e, r, o, i, y) {
|
|
449
449
|
{
|
|
450
|
-
var
|
|
451
|
-
o !== void 0 && (
|
|
452
|
-
for (
|
|
453
|
-
x.call(r,
|
|
450
|
+
var T, _ = {}, p = null, M = null;
|
|
451
|
+
o !== void 0 && (We(o), p = "" + o), cr(r) && (We(r.key), p = "" + r.key), Ye(r) && (M = r.ref, dr(r, y));
|
|
452
|
+
for (T in r)
|
|
453
|
+
x.call(r, T) && !Ve.hasOwnProperty(T) && (_[T] = r[T]);
|
|
454
454
|
if (e && e.defaultProps) {
|
|
455
|
-
var
|
|
456
|
-
for (
|
|
457
|
-
|
|
455
|
+
var E = e.defaultProps;
|
|
456
|
+
for (T in E)
|
|
457
|
+
_[T] === void 0 && (_[T] = E[T]);
|
|
458
458
|
}
|
|
459
|
-
if (p ||
|
|
460
|
-
var
|
|
461
|
-
p &&
|
|
459
|
+
if (p || M) {
|
|
460
|
+
var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
461
|
+
p && fr(_, O), M && pr(_, O);
|
|
462
462
|
}
|
|
463
|
-
return
|
|
463
|
+
return hr(e, p, M, y, i, ce.current, _);
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
var
|
|
466
|
+
var Ue = L.ReactCurrentOwner, ze = L.ReactDebugCurrentFrame;
|
|
467
467
|
function je(e) {
|
|
468
468
|
if (e) {
|
|
469
469
|
var r = e._owner, o = n(e.type, e._source, r ? r.type : null);
|
|
470
|
-
|
|
470
|
+
ze.setExtraStackFrame(o);
|
|
471
471
|
} else
|
|
472
|
-
|
|
472
|
+
ze.setExtraStackFrame(null);
|
|
473
473
|
}
|
|
474
|
-
var
|
|
475
|
-
|
|
476
|
-
function
|
|
477
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
474
|
+
var Ke;
|
|
475
|
+
Ke = !1;
|
|
476
|
+
function Je(e) {
|
|
477
|
+
return typeof e == "object" && e !== null && e.$$typeof === u;
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function Ze() {
|
|
480
480
|
{
|
|
481
|
-
if (
|
|
482
|
-
var e =
|
|
481
|
+
if (Ue.current) {
|
|
482
|
+
var e = W(Ue.current.type);
|
|
483
483
|
if (e)
|
|
484
484
|
return `
|
|
485
485
|
|
|
@@ -488,13 +488,13 @@ Check the render method of \`` + e + "`.";
|
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function vr(e) {
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
|
-
var
|
|
495
|
-
function
|
|
494
|
+
var Qe = {};
|
|
495
|
+
function mr(e) {
|
|
496
496
|
{
|
|
497
|
-
var r =
|
|
497
|
+
var r = Ze();
|
|
498
498
|
if (!r) {
|
|
499
499
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
500
500
|
o && (r = `
|
|
@@ -504,35 +504,35 @@ Check the top-level render call using <` + o + ">.");
|
|
|
504
504
|
return r;
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
function
|
|
507
|
+
function er(e, r) {
|
|
508
508
|
{
|
|
509
509
|
if (!e._store || e._store.validated || e.key != null)
|
|
510
510
|
return;
|
|
511
511
|
e._store.validated = !0;
|
|
512
|
-
var o =
|
|
513
|
-
if (
|
|
512
|
+
var o = mr(r);
|
|
513
|
+
if (Qe[o])
|
|
514
514
|
return;
|
|
515
|
-
|
|
516
|
-
var
|
|
517
|
-
e && e._owner && e._owner !==
|
|
515
|
+
Qe[o] = !0;
|
|
516
|
+
var i = "";
|
|
517
|
+
e && e._owner && e._owner !== Ue.current && (i = " It was passed a child from " + W(e._owner.type) + "."), je(e), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), je(null);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function rr(e, r) {
|
|
521
521
|
{
|
|
522
522
|
if (typeof e != "object")
|
|
523
523
|
return;
|
|
524
|
-
if (
|
|
524
|
+
if (Fe(e))
|
|
525
525
|
for (var o = 0; o < e.length; o++) {
|
|
526
|
-
var
|
|
527
|
-
|
|
526
|
+
var i = e[o];
|
|
527
|
+
Je(i) && er(i, r);
|
|
528
528
|
}
|
|
529
|
-
else if (
|
|
529
|
+
else if (Je(e))
|
|
530
530
|
e._store && (e._store.validated = !0);
|
|
531
531
|
else if (e) {
|
|
532
|
-
var y =
|
|
532
|
+
var y = B(e);
|
|
533
533
|
if (typeof y == "function" && y !== e.entries)
|
|
534
|
-
for (var
|
|
535
|
-
|
|
534
|
+
for (var T = y.call(e), _; !(_ = T.next()).done; )
|
|
535
|
+
Je(_.value) && er(_.value, r);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -544,18 +544,18 @@ Check the top-level render call using <` + o + ">.");
|
|
|
544
544
|
var o;
|
|
545
545
|
if (typeof r == "function")
|
|
546
546
|
o = r.propTypes;
|
|
547
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
547
|
+
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
548
548
|
// Inner props are checked in the reconciler.
|
|
549
549
|
r.$$typeof === m))
|
|
550
550
|
o = r.propTypes;
|
|
551
551
|
else
|
|
552
552
|
return;
|
|
553
553
|
if (o) {
|
|
554
|
-
var
|
|
555
|
-
|
|
556
|
-
} else if (r.PropTypes !== void 0 && !
|
|
557
|
-
|
|
558
|
-
var y =
|
|
554
|
+
var i = W(r);
|
|
555
|
+
Me(o, e.props, "prop", i, e);
|
|
556
|
+
} else if (r.PropTypes !== void 0 && !Ke) {
|
|
557
|
+
Ke = !0;
|
|
558
|
+
var y = W(r);
|
|
559
559
|
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
560
560
|
}
|
|
561
561
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -564,610 +564,610 @@ Check the top-level render call using <` + o + ">.");
|
|
|
564
564
|
function yr(e) {
|
|
565
565
|
{
|
|
566
566
|
for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
|
|
567
|
-
var
|
|
568
|
-
if (
|
|
569
|
-
je(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
567
|
+
var i = r[o];
|
|
568
|
+
if (i !== "children" && i !== "key") {
|
|
569
|
+
je(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), je(null);
|
|
570
570
|
break;
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
e.ref !== null && (je(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), je(null));
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
var
|
|
577
|
-
function
|
|
576
|
+
var tr = {};
|
|
577
|
+
function nr(e, r, o, i, y, T) {
|
|
578
578
|
{
|
|
579
|
-
var
|
|
580
|
-
if (!
|
|
579
|
+
var _ = fe(e);
|
|
580
|
+
if (!_) {
|
|
581
581
|
var p = "";
|
|
582
582
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (p += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
583
|
-
var
|
|
584
|
-
|
|
585
|
-
var
|
|
586
|
-
e === null ?
|
|
583
|
+
var M = vr();
|
|
584
|
+
M ? p += M : p += Ze();
|
|
585
|
+
var E;
|
|
586
|
+
e === null ? E = "null" : Fe(e) ? E = "array" : e !== void 0 && e.$$typeof === u ? (E = "<" + (W(e.type) || "Unknown") + " />", p = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, p);
|
|
587
587
|
}
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
590
|
-
return
|
|
591
|
-
if (
|
|
592
|
-
var
|
|
593
|
-
if (
|
|
594
|
-
if (
|
|
595
|
-
if (
|
|
596
|
-
for (var we = 0; we <
|
|
597
|
-
|
|
598
|
-
Object.freeze && Object.freeze(
|
|
588
|
+
var O = _r(e, r, o, y, T);
|
|
589
|
+
if (O == null)
|
|
590
|
+
return O;
|
|
591
|
+
if (_) {
|
|
592
|
+
var K = r.children;
|
|
593
|
+
if (K !== void 0)
|
|
594
|
+
if (i)
|
|
595
|
+
if (Fe(K)) {
|
|
596
|
+
for (var we = 0; we < K.length; we++)
|
|
597
|
+
rr(K[we], e);
|
|
598
|
+
Object.freeze && Object.freeze(K);
|
|
599
599
|
} else
|
|
600
600
|
b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
601
601
|
else
|
|
602
|
-
|
|
602
|
+
rr(K, e);
|
|
603
603
|
}
|
|
604
604
|
if (x.call(r, "key")) {
|
|
605
|
-
var he =
|
|
606
|
-
return
|
|
607
|
-
}),
|
|
608
|
-
if (!
|
|
609
|
-
var wr =
|
|
605
|
+
var he = W(e), q = Object.keys(r).filter(function(Tr) {
|
|
606
|
+
return Tr !== "key";
|
|
607
|
+
}), Ge = q.length > 0 ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
608
|
+
if (!tr[he + Ge]) {
|
|
609
|
+
var wr = q.length > 0 ? "{" + q.join(": ..., ") + ": ...}" : "{}";
|
|
610
610
|
b(`A props object containing a "key" prop is being spread into JSX:
|
|
611
611
|
let props = %s;
|
|
612
612
|
<%s {...props} />
|
|
613
613
|
React keys must be passed directly to JSX without using spread:
|
|
614
614
|
let props = %s;
|
|
615
|
-
<%s key={someKey} {...props} />`,
|
|
615
|
+
<%s key={someKey} {...props} />`, Ge, he, wr, he), tr[he + Ge] = !0;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
return e ===
|
|
618
|
+
return e === C ? yr(O) : xr(O), O;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
function mr(e, r, o) {
|
|
622
|
-
return tr(e, r, o, !0);
|
|
623
|
-
}
|
|
624
621
|
function br(e, r, o) {
|
|
625
|
-
return
|
|
622
|
+
return nr(e, r, o, !0);
|
|
623
|
+
}
|
|
624
|
+
function Cr(e, r, o) {
|
|
625
|
+
return nr(e, r, o, !1);
|
|
626
626
|
}
|
|
627
|
-
var gr =
|
|
628
|
-
|
|
629
|
-
}()),
|
|
627
|
+
var gr = Cr, jr = br;
|
|
628
|
+
Ae.Fragment = C, Ae.jsx = gr, Ae.jsxs = jr;
|
|
629
|
+
}()), Ae;
|
|
630
630
|
}
|
|
631
|
-
process.env.NODE_ENV === "production" ?
|
|
632
|
-
var t =
|
|
633
|
-
const
|
|
634
|
-
mainButton:
|
|
635
|
-
sm:
|
|
636
|
-
onlyIcon:
|
|
631
|
+
process.env.NODE_ENV === "production" ? Xe.exports = Rr() : Xe.exports = kr();
|
|
632
|
+
var t = Xe.exports;
|
|
633
|
+
const Er = "MainButton-module__mainButton", $r = "MainButton-module__sm", Pr = "MainButton-module__onlyIcon", Or = "MainButton-module__buttonSlot", Lr = "MainButton-module__buttonLabel", Fr = "MainButton-module__md", Nr = "MainButton-module__lg", Dr = "MainButton-module__xl", Sr = "MainButton-module__xl2", Ar = "MainButton-module__disabled", Te = {
|
|
634
|
+
mainButton: Er,
|
|
635
|
+
sm: $r,
|
|
636
|
+
onlyIcon: Pr,
|
|
637
637
|
buttonSlot: Or,
|
|
638
|
-
buttonLabel:
|
|
638
|
+
buttonLabel: Lr,
|
|
639
639
|
md: Fr,
|
|
640
|
-
lg:
|
|
640
|
+
lg: Nr,
|
|
641
641
|
xl: Dr,
|
|
642
|
-
xl2:
|
|
643
|
-
disabled:
|
|
644
|
-
},
|
|
645
|
-
label:
|
|
646
|
-
buttonType:
|
|
647
|
-
onClick:
|
|
648
|
-
size:
|
|
649
|
-
disabled:
|
|
642
|
+
xl2: Sr,
|
|
643
|
+
disabled: Ar
|
|
644
|
+
}, fn = ({
|
|
645
|
+
label: l,
|
|
646
|
+
buttonType: u = "button",
|
|
647
|
+
onClick: s,
|
|
648
|
+
size: C = "md",
|
|
649
|
+
disabled: g,
|
|
650
650
|
withIcons: f,
|
|
651
|
-
iconOne:
|
|
651
|
+
iconOne: j,
|
|
652
652
|
iconTwo: v,
|
|
653
|
-
onlyIcon:
|
|
654
|
-
buttonStyle:
|
|
655
|
-
labelStyle:
|
|
653
|
+
onlyIcon: c,
|
|
654
|
+
buttonStyle: h,
|
|
655
|
+
labelStyle: a,
|
|
656
656
|
buttonSlotStyle: m
|
|
657
657
|
}) => /* @__PURE__ */ t.jsx(
|
|
658
658
|
"button",
|
|
659
659
|
{
|
|
660
|
-
type:
|
|
661
|
-
style:
|
|
662
|
-
className: `${
|
|
660
|
+
type: u,
|
|
661
|
+
style: h && typeof h == "object" ? h : {},
|
|
662
|
+
className: `${Te.mainButton} ${c ? Te.onlyIcon : ""} ${C ? Te[C] : ""} ${g ? Te.disabled : ""}`,
|
|
663
663
|
onClick: () => {
|
|
664
|
-
|
|
664
|
+
s && typeof s == "function" && s();
|
|
665
665
|
},
|
|
666
|
-
children: /* @__PURE__ */ t.jsxs("div", { className:
|
|
667
|
-
|
|
668
|
-
!
|
|
666
|
+
children: /* @__PURE__ */ t.jsxs("div", { className: Te.buttonSlot, style: m ?? {}, children: [
|
|
667
|
+
c || f && j ? j : "",
|
|
668
|
+
!c && /* @__PURE__ */ t.jsx("span", { style: a ?? {}, className: Te.buttonLabel, children: l ?? "Button" }),
|
|
669
669
|
f && v ? v : ""
|
|
670
670
|
] })
|
|
671
671
|
}
|
|
672
|
-
),
|
|
673
|
-
inputWrapper:
|
|
674
|
-
inputLabel:
|
|
675
|
-
required:
|
|
676
|
-
inputContainer:
|
|
677
|
-
inputContent:
|
|
672
|
+
), Wr = "FormInput-module__inputWrapper", Ir = "FormInput-module__inputLabel", Mr = "FormInput-module__required", Br = "FormInput-module__inputContainer", Hr = "FormInput-module__inputContent", qr = "FormInput-module__inputTags", Vr = "FormInput-module__focused", Yr = "FormInput-module__error", Ur = "FormInput-module__rightIcon", Kr = "FormInput-module__leftIcon", Jr = "FormInput-module__inputDropDown", Gr = "FormInput-module__http", Xr = "FormInput-module__disabled", zr = "FormInput-module__sm", Zr = "FormInput-module__md", Qr = "FormInput-module__withCopy", et = "FormInput-module__inputHelperText", F = {
|
|
673
|
+
inputWrapper: Wr,
|
|
674
|
+
inputLabel: Ir,
|
|
675
|
+
required: Mr,
|
|
676
|
+
inputContainer: Br,
|
|
677
|
+
inputContent: Hr,
|
|
678
678
|
inputTags: qr,
|
|
679
679
|
focused: Vr,
|
|
680
|
-
error:
|
|
681
|
-
rightIcon:
|
|
682
|
-
leftIcon:
|
|
683
|
-
inputDropDown:
|
|
684
|
-
http:
|
|
685
|
-
disabled:
|
|
686
|
-
sm:
|
|
687
|
-
md:
|
|
688
|
-
withCopy:
|
|
689
|
-
inputHelperText:
|
|
690
|
-
},
|
|
680
|
+
error: Yr,
|
|
681
|
+
rightIcon: Ur,
|
|
682
|
+
leftIcon: Kr,
|
|
683
|
+
inputDropDown: Jr,
|
|
684
|
+
http: Gr,
|
|
685
|
+
disabled: Xr,
|
|
686
|
+
sm: zr,
|
|
687
|
+
md: Zr,
|
|
688
|
+
withCopy: Qr,
|
|
689
|
+
inputHelperText: et
|
|
690
|
+
}, lr = ({ width: l, height: u, color: s }) => /* @__PURE__ */ t.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: l ?? "12", height: u ?? "8", viewBox: "0 0 12 8", fill: "none", children: /* @__PURE__ */ t.jsx("path", { d: "M1 1.5L6 6.5L11 1.5", stroke: s ?? "#A4A7AE", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), rt = ({ width: l, height: u, color: s }) => /* @__PURE__ */ t.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: l ?? "20", height: u ?? "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
691
691
|
/* @__PURE__ */ t.jsx("g", { clipPath: "url(#clip0_444_26)", children: /* @__PURE__ */ t.jsx(
|
|
692
692
|
"path",
|
|
693
693
|
{
|
|
694
694
|
d: "M4.1665 12.5C3.38993 12.5 3.00165 12.5 2.69536 12.3732C2.28698 12.204 1.96253 11.8795 1.79337 11.4712C1.6665 11.1649 1.6665 10.7766 1.6665 10V4.33335C1.6665 3.39993 1.6665 2.93322 1.84816 2.5767C2.00795 2.2631 2.26292 2.00813 2.57652 1.84834C2.93304 1.66669 3.39975 1.66669 4.33317 1.66669H9.99984C10.7764 1.66669 11.1647 1.66669 11.471 1.79355C11.8794 1.96271 12.2038 2.28717 12.373 2.69555C12.4998 3.00183 12.4998 3.39012 12.4998 4.16669M10.1665 18.3334H15.6665C16.5999 18.3334 17.0666 18.3334 17.4232 18.1517C17.7368 17.9919 17.9917 17.7369 18.1515 17.4233C18.3332 17.0668 18.3332 16.6001 18.3332 15.6667V10.1667C18.3332 9.23327 18.3332 8.76656 18.1515 8.41004C17.9917 8.09643 17.7368 7.84147 17.4232 7.68168C17.0666 7.50002 16.5999 7.50002 15.6665 7.50002H10.1665C9.23308 7.50002 8.76637 7.50002 8.40985 7.68168C8.09625 7.84147 7.84128 8.09643 7.68149 8.41004C7.49984 8.76656 7.49984 9.23327 7.49984 10.1667V15.6667C7.49984 16.6001 7.49984 17.0668 7.68149 17.4233C7.84128 17.7369 8.09625 17.9919 8.40985 18.1517C8.76637 18.3334 9.23308 18.3334 10.1665 18.3334Z",
|
|
695
|
-
stroke:
|
|
695
|
+
stroke: s ?? "#414651",
|
|
696
696
|
strokeWidth: "1.66667",
|
|
697
697
|
strokeLinecap: "round",
|
|
698
698
|
strokeLinejoin: "round"
|
|
699
699
|
}
|
|
700
700
|
) }),
|
|
701
701
|
/* @__PURE__ */ t.jsx("defs", { children: /* @__PURE__ */ t.jsx("clipPath", { id: "clip0_444_26", children: /* @__PURE__ */ t.jsx("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
702
|
-
] }), ir = ({ width:
|
|
703
|
-
checkboxWrapper:
|
|
704
|
-
sm:
|
|
705
|
-
md:
|
|
706
|
-
checkMark:
|
|
702
|
+
] }), ir = ({ width: l, height: u, color: s }) => /* @__PURE__ */ t.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: l ?? "14", height: u ?? "14", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ t.jsx("path", { d: "M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5", stroke: s ?? "#A4A7AE", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), tt = "Checkbox-module__checkboxWrapper", nt = "Checkbox-module__sm", ot = "Checkbox-module__md", st = "Checkbox-module__checkMark", at = "Checkbox-module__checked", lt = "Checkbox-module__disabled", Re = {
|
|
703
|
+
checkboxWrapper: tt,
|
|
704
|
+
sm: nt,
|
|
705
|
+
md: ot,
|
|
706
|
+
checkMark: st,
|
|
707
707
|
checked: at,
|
|
708
|
-
disabled:
|
|
709
|
-
},
|
|
710
|
-
const
|
|
711
|
-
|
|
712
|
-
},
|
|
708
|
+
disabled: lt
|
|
709
|
+
}, ur = ({ color: l, width: u, height: s }) => /* @__PURE__ */ t.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: u ?? "12", height: s ?? "12", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ t.jsx("path", { d: "M10 3L4.5 8.5L2 6", stroke: l ?? "white", strokeWidth: "1.6666", strokeLinecap: "round", strokeLinejoin: "round" }) }), it = (l) => /* @__PURE__ */ t.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...l, width: "10", height: "2", viewBox: "0 0 10 2", fill: "none", children: /* @__PURE__ */ t.jsx("path", { d: "M1.5 1H8.5", stroke: "white", strokeWidth: "1.66666", strokeLinecap: "round", strokeLinejoin: "round" }) }), ut = ({ checked: l, change: u, disabled: s, required: C, multipleChecked: g, size: f, activeStyle: j, checkBoxStyle: v }) => {
|
|
710
|
+
const c = G(null), [h, a] = V(!1), m = () => {
|
|
711
|
+
u && typeof u == "function" && u(!l);
|
|
712
|
+
}, R = () => h ? j ?? {} : v ?? {};
|
|
713
713
|
return /* @__PURE__ */ t.jsxs(
|
|
714
714
|
"div",
|
|
715
715
|
{
|
|
716
|
-
style:
|
|
717
|
-
className: `${Re.checkboxWrapper} ${Re[f] ?? Re.md} ${
|
|
718
|
-
onMouseDown: () =>
|
|
719
|
-
onMouseUp: () =>
|
|
720
|
-
onMouseLeave: () =>
|
|
716
|
+
style: R(),
|
|
717
|
+
className: `${Re.checkboxWrapper} ${Re[f] ?? Re.md} ${l ? Re.checked : Re.unChecked} ${s ? Re.disabled : ""}`,
|
|
718
|
+
onMouseDown: () => a(!0),
|
|
719
|
+
onMouseUp: () => a(!1),
|
|
720
|
+
onMouseLeave: () => a(!1),
|
|
721
721
|
onClick: m,
|
|
722
722
|
children: [
|
|
723
|
-
/* @__PURE__ */ t.jsx("input", { ref:
|
|
724
|
-
|
|
723
|
+
/* @__PURE__ */ t.jsx("input", { ref: c, type: "checkbox", disabled: s, checked: l, hidden: !0, readOnly: !0, required: C ?? !1 }),
|
|
724
|
+
l ? g ? /* @__PURE__ */ t.jsx(it, {}) : /* @__PURE__ */ t.jsx(ur, {}) : ""
|
|
725
725
|
]
|
|
726
726
|
}
|
|
727
727
|
);
|
|
728
|
-
},
|
|
729
|
-
tagContainer:
|
|
730
|
-
onlyLabel:
|
|
731
|
-
sm:
|
|
732
|
-
md:
|
|
733
|
-
lg:
|
|
734
|
-
tagLabel:
|
|
735
|
-
tagNumber:
|
|
736
|
-
tagClose:
|
|
728
|
+
}, ct = "Tag-module__tagContainer", dt = "Tag-module__onlyLabel", ft = "Tag-module__sm", pt = "Tag-module__md", ht = "Tag-module__lg", _t = "Tag-module__tagLabel", vt = "Tag-module__tagNumber", mt = "Tag-module__tagClose", ke = {
|
|
729
|
+
tagContainer: ct,
|
|
730
|
+
onlyLabel: dt,
|
|
731
|
+
sm: ft,
|
|
732
|
+
md: pt,
|
|
733
|
+
lg: ht,
|
|
734
|
+
tagLabel: _t,
|
|
735
|
+
tagNumber: vt,
|
|
736
|
+
tagClose: mt
|
|
737
737
|
}, xt = ({
|
|
738
|
-
id:
|
|
739
|
-
label:
|
|
740
|
-
icon:
|
|
741
|
-
withClose:
|
|
742
|
-
withCheckbox:
|
|
738
|
+
id: l,
|
|
739
|
+
label: u,
|
|
740
|
+
icon: s,
|
|
741
|
+
withClose: C,
|
|
742
|
+
withCheckbox: g,
|
|
743
743
|
withNumber: f,
|
|
744
|
-
number:
|
|
744
|
+
number: j,
|
|
745
745
|
checkboxProps: v,
|
|
746
|
-
disable:
|
|
747
|
-
size:
|
|
748
|
-
onClose:
|
|
746
|
+
disable: c,
|
|
747
|
+
size: h,
|
|
748
|
+
onClose: a,
|
|
749
749
|
tagContainerStyle: m,
|
|
750
|
-
tagLabelStyle:
|
|
751
|
-
tagNumberStyle:
|
|
752
|
-
tagCloseStlye:
|
|
750
|
+
tagLabelStyle: R,
|
|
751
|
+
tagNumberStyle: k,
|
|
752
|
+
tagCloseStlye: w
|
|
753
753
|
}) => {
|
|
754
|
-
const
|
|
755
|
-
|
|
754
|
+
const N = () => !g && !s && !C && !f, B = () => s, L = () => {
|
|
755
|
+
a && typeof a == "function" && a(l ?? null);
|
|
756
756
|
};
|
|
757
|
-
return /* @__PURE__ */ t.jsxs("div", { style: m ?? {}, className: `${
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
f && /* @__PURE__ */ t.jsx("div", { style:
|
|
762
|
-
|
|
757
|
+
return /* @__PURE__ */ t.jsxs("div", { style: m ?? {}, className: `${ke.tagContainer} ${N() ? ke.onlyLabel : ""} ${ke[h ?? "md"]}`, children: [
|
|
758
|
+
g && /* @__PURE__ */ t.jsx(ut, { ...v }),
|
|
759
|
+
s && B(),
|
|
760
|
+
u && /* @__PURE__ */ t.jsx("p", { style: R ?? {}, className: ke.tagLabel, children: u ?? "" }),
|
|
761
|
+
f && /* @__PURE__ */ t.jsx("div", { style: k ?? {}, className: ke.tagNumber, children: j ?? "" }),
|
|
762
|
+
C && /* @__PURE__ */ t.jsx("div", { style: w ?? {}, className: ke.tagClose, onClick: L, children: /* @__PURE__ */ t.jsx(ir, { width: (w == null ? void 0 : w.width) ?? "14", height: (w == null ? void 0 : w.height) ?? "14", color: (w == null ? void 0 : w.color) ?? "#A4A7AE" }) })
|
|
763
763
|
] });
|
|
764
|
-
},
|
|
765
|
-
value:
|
|
766
|
-
label:
|
|
767
|
-
placeholder:
|
|
768
|
-
required:
|
|
769
|
-
disabled:
|
|
764
|
+
}, pn = ({
|
|
765
|
+
value: l,
|
|
766
|
+
label: u,
|
|
767
|
+
placeholder: s,
|
|
768
|
+
required: C,
|
|
769
|
+
disabled: g,
|
|
770
770
|
type: f,
|
|
771
|
-
size:
|
|
771
|
+
size: j,
|
|
772
772
|
onChange: v,
|
|
773
|
-
onFouce:
|
|
774
|
-
onBlur:
|
|
775
|
-
msg:
|
|
773
|
+
onFouce: c,
|
|
774
|
+
onBlur: h,
|
|
775
|
+
msg: a,
|
|
776
776
|
readOnly: m,
|
|
777
|
-
maxLength:
|
|
778
|
-
onlyText:
|
|
779
|
-
tagValues:
|
|
780
|
-
onRightIconIconClick:
|
|
781
|
-
onRightIconIconMouseEnter:
|
|
777
|
+
maxLength: R,
|
|
778
|
+
onlyText: k,
|
|
779
|
+
tagValues: w,
|
|
780
|
+
onRightIconIconClick: N,
|
|
781
|
+
onRightIconIconMouseEnter: B,
|
|
782
782
|
onRightIconIconMouseLeave: L,
|
|
783
783
|
onLeftIconIconClick: b,
|
|
784
|
-
onLeftIconIconMouseEnter:
|
|
785
|
-
onLeftIconIconMouseLeave:
|
|
784
|
+
onLeftIconIconMouseEnter: H,
|
|
785
|
+
onLeftIconIconMouseLeave: $,
|
|
786
786
|
onPressEnter: ee,
|
|
787
787
|
rightIcon: oe,
|
|
788
|
-
leftIcon:
|
|
788
|
+
leftIcon: se,
|
|
789
789
|
withDropDown: de,
|
|
790
790
|
dropdownData: re,
|
|
791
791
|
onSelectData: fe,
|
|
792
|
-
withTags:
|
|
793
|
-
tagProps:
|
|
794
|
-
withLink:
|
|
795
|
-
withCopy:
|
|
796
|
-
onCopy:
|
|
797
|
-
inputWrapperStyle:
|
|
792
|
+
withTags: $e,
|
|
793
|
+
tagProps: me,
|
|
794
|
+
withLink: W,
|
|
795
|
+
withCopy: Y,
|
|
796
|
+
onCopy: X,
|
|
797
|
+
inputWrapperStyle: Pe,
|
|
798
798
|
inputLabelStyle: xe,
|
|
799
|
-
requiredStyle:
|
|
800
|
-
inputContainerStyle:
|
|
801
|
-
leftIconStyle:
|
|
799
|
+
requiredStyle: z,
|
|
800
|
+
inputContainerStyle: ae,
|
|
801
|
+
leftIconStyle: I,
|
|
802
802
|
inputDropDownStyle: te,
|
|
803
|
-
ulStyle:
|
|
804
|
-
liStyle:
|
|
803
|
+
ulStyle: Z,
|
|
804
|
+
liStyle: D,
|
|
805
805
|
httpStyle: ye,
|
|
806
|
-
inputStyle:
|
|
807
|
-
rightIconStyle:
|
|
806
|
+
inputStyle: Oe,
|
|
807
|
+
rightIconStyle: U,
|
|
808
808
|
withCopyStyle: pe,
|
|
809
809
|
inputHelperTextStyle: ne
|
|
810
810
|
}) => {
|
|
811
|
-
const [
|
|
812
|
-
|
|
813
|
-
const ue =
|
|
814
|
-
let
|
|
815
|
-
|
|
816
|
-
},
|
|
817
|
-
|
|
818
|
-
},
|
|
819
|
-
|
|
820
|
-
},
|
|
821
|
-
const
|
|
822
|
-
f === "number" && (
|
|
811
|
+
const [be, le] = V(!1), Le = G(null), [Ce, ie] = V(!1);
|
|
812
|
+
V(!1);
|
|
813
|
+
const ue = G(null), n = G(null), [x, P] = V(!1), [Q, ge] = V(1), Me = (d) => {
|
|
814
|
+
let S = d.target.value;
|
|
815
|
+
S.length === 1 && (S = S.trim()), v && typeof v == "function" && v(k ? S.replace(/\d/g, "") : S);
|
|
816
|
+
}, Be = () => {
|
|
817
|
+
ie(!0), c && typeof c == "function" && c();
|
|
818
|
+
}, Fe = () => {
|
|
819
|
+
ie(!1), h && typeof h == "function" && h();
|
|
820
|
+
}, He = (d) => {
|
|
821
|
+
const S = d.target.value, Ye = S.length === 0;
|
|
822
|
+
f === "number" && (d.keyCode === 69 || !Ye && (d.keyCode === 187 || d.keyCode === 107 || d.keyCode === 189 || d.keyCode === 109)) && d.preventDefault(), d.key === "Enter" && S && S.length > 0 && ee && typeof ee == "function" && ee(S);
|
|
823
823
|
}, qe = () => {
|
|
824
|
-
|
|
825
|
-
},
|
|
826
|
-
let
|
|
827
|
-
return
|
|
828
|
-
}, ce = (
|
|
829
|
-
!
|
|
830
|
-
}, Ve = (
|
|
831
|
-
ge(
|
|
824
|
+
X && typeof X == "function" && X(l);
|
|
825
|
+
}, Ne = (d) => d, We = () => {
|
|
826
|
+
let d = {};
|
|
827
|
+
return Y && (d.borderTopRightRadius = 0, d.borderBottomRightRadius = 0, d.borderRight = 0), de && (d.paddingLeft = 0), { ...d, ...ae ?? {} };
|
|
828
|
+
}, ce = (d) => {
|
|
829
|
+
!d.composedPath().includes(n.current) && d.composedPath().includes(ue.current) || P(!1);
|
|
830
|
+
}, Ve = (d) => {
|
|
831
|
+
ge(d.id), P(!1), fe && typeof fe == "function" && fe(d);
|
|
832
832
|
};
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
}, [
|
|
833
|
+
ve(() => {
|
|
834
|
+
l && l.length === 0 && calculateWidth();
|
|
835
|
+
}, [l]), ve(() => (document.addEventListener("click", ce), () => {
|
|
836
836
|
document.removeEventListener("click", ce);
|
|
837
837
|
}), []);
|
|
838
|
-
const
|
|
839
|
-
return
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
}, 0) :
|
|
843
|
-
}, []), /* @__PURE__ */ t.jsxs("div", { className:
|
|
844
|
-
|
|
845
|
-
|
|
838
|
+
const De = G(!1);
|
|
839
|
+
return ve(() => {
|
|
840
|
+
De.current ? setTimeout(() => {
|
|
841
|
+
le((d) => !d);
|
|
842
|
+
}, 0) : De.current = !0;
|
|
843
|
+
}, []), /* @__PURE__ */ t.jsxs("div", { className: F.inputWrapper, style: Pe ?? {}, children: [
|
|
844
|
+
u && /* @__PURE__ */ t.jsxs("label", { className: F.inputLabel, style: xe ?? {}, children: [
|
|
845
|
+
u,
|
|
846
846
|
" ",
|
|
847
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
847
|
+
/* @__PURE__ */ t.jsx("span", { className: F.required, style: z ?? {}, children: C && "*" })
|
|
848
848
|
] }),
|
|
849
849
|
/* @__PURE__ */ t.jsxs("div", { style: { display: "flex", alignItems: "center" }, children: [
|
|
850
850
|
/* @__PURE__ */ t.jsxs(
|
|
851
851
|
"div",
|
|
852
852
|
{
|
|
853
|
-
style:
|
|
854
|
-
className: `${
|
|
853
|
+
style: We(),
|
|
854
|
+
className: `${F.inputContainer} ${Ce && !m ? F.focused : ""} ${g ? F.disabled : ""} ${a != null && a.error ? F.error : ""} ${F[j ?? "sm"]}`,
|
|
855
855
|
children: [
|
|
856
|
-
!de && !
|
|
856
|
+
!de && !W && se && /* @__PURE__ */ t.jsx(
|
|
857
857
|
"div",
|
|
858
858
|
{
|
|
859
|
-
className:
|
|
860
|
-
style:
|
|
859
|
+
className: F.leftIcon,
|
|
860
|
+
style: I ?? {},
|
|
861
861
|
onClick: () => {
|
|
862
862
|
b && typeof b == "function" && b();
|
|
863
863
|
},
|
|
864
864
|
onMouseEnter: () => {
|
|
865
|
-
|
|
865
|
+
H && typeof H == "function" && H();
|
|
866
866
|
},
|
|
867
867
|
onMouseLeave: () => {
|
|
868
|
-
|
|
868
|
+
$ && typeof $ == "function" && $();
|
|
869
869
|
},
|
|
870
|
-
children:
|
|
870
|
+
children: Ne(se)
|
|
871
871
|
}
|
|
872
872
|
),
|
|
873
|
-
!
|
|
874
|
-
re.find((
|
|
875
|
-
x && /* @__PURE__ */ t.jsx("ul", { ref: n, style:
|
|
876
|
-
/* @__PURE__ */ t.jsx(
|
|
873
|
+
!W && de && /* @__PURE__ */ t.jsxs("div", { className: F.inputDropDown, style: te ?? {}, onClick: () => P(!0), ref: ue, children: [
|
|
874
|
+
re.find((d) => d.id === Q).label,
|
|
875
|
+
x && /* @__PURE__ */ t.jsx("ul", { ref: n, style: Z ?? {}, children: re && re.length && re.map((d, S) => /* @__PURE__ */ t.jsx("li", { style: D ?? {}, onClick: () => Ve(d), children: (d == null ? void 0 : d.label) ?? "-" }, d.id)) }),
|
|
876
|
+
/* @__PURE__ */ t.jsx(lr, {})
|
|
877
877
|
] }),
|
|
878
|
-
|
|
879
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
880
|
-
|
|
878
|
+
W && /* @__PURE__ */ t.jsx("div", { className: `${F.inputDropDown} ${F.http}`, style: ye ?? {}, onClick: () => P(!0), ref: ue, children: "http://" }),
|
|
879
|
+
/* @__PURE__ */ t.jsxs("div", { className: F.inputContent, children: [
|
|
880
|
+
$e && w && w.length > 0 && /* @__PURE__ */ t.jsx("div", { className: F.inputTags, children: w.map((d, S) => /* @__PURE__ */ t.jsx("div", { className: F.inputSingleTags, children: /* @__PURE__ */ t.jsx(xt, { ...me, id: d, label: d, withClose: !0 }) }, S)) }),
|
|
881
881
|
/* @__PURE__ */ t.jsx(
|
|
882
882
|
"input",
|
|
883
883
|
{
|
|
884
|
-
ref:
|
|
885
|
-
style:
|
|
884
|
+
ref: Le,
|
|
885
|
+
style: Oe ?? {},
|
|
886
886
|
type: f ?? "text",
|
|
887
|
-
value:
|
|
888
|
-
onChange: (
|
|
889
|
-
onFocus:
|
|
890
|
-
onBlur:
|
|
891
|
-
disabled:
|
|
892
|
-
required:
|
|
893
|
-
onKeyDown:
|
|
887
|
+
value: l,
|
|
888
|
+
onChange: (d) => Me(d),
|
|
889
|
+
onFocus: Be,
|
|
890
|
+
onBlur: Fe,
|
|
891
|
+
disabled: g,
|
|
892
|
+
required: C,
|
|
893
|
+
onKeyDown: He,
|
|
894
894
|
readOnly: m,
|
|
895
895
|
spellCheck: !1,
|
|
896
|
-
placeholder:
|
|
896
|
+
placeholder: s ?? "",
|
|
897
897
|
autoComplete: "off",
|
|
898
|
-
maxLength:
|
|
898
|
+
maxLength: R
|
|
899
899
|
}
|
|
900
900
|
)
|
|
901
901
|
] }),
|
|
902
902
|
oe && /* @__PURE__ */ t.jsx(
|
|
903
903
|
"div",
|
|
904
904
|
{
|
|
905
|
-
className:
|
|
906
|
-
style:
|
|
905
|
+
className: F.rightIcon,
|
|
906
|
+
style: U ?? {},
|
|
907
907
|
onClick: () => {
|
|
908
|
-
|
|
908
|
+
N && typeof N == "function" && N();
|
|
909
909
|
},
|
|
910
910
|
onMouseEnter: () => {
|
|
911
|
-
|
|
911
|
+
B && typeof B == "function" && B();
|
|
912
912
|
},
|
|
913
913
|
onMouseLeave: () => {
|
|
914
914
|
L && typeof L == "function" && L();
|
|
915
915
|
},
|
|
916
|
-
children:
|
|
916
|
+
children: Ne(oe)
|
|
917
917
|
}
|
|
918
918
|
)
|
|
919
919
|
]
|
|
920
920
|
}
|
|
921
921
|
),
|
|
922
|
-
|
|
923
|
-
/* @__PURE__ */ t.jsx(
|
|
922
|
+
Y && /* @__PURE__ */ t.jsxs("div", { style: pe ?? {}, onClick: qe, className: F.withCopy, children: [
|
|
923
|
+
/* @__PURE__ */ t.jsx(rt, {}),
|
|
924
924
|
"Copy"
|
|
925
925
|
] })
|
|
926
926
|
] }),
|
|
927
|
-
|
|
927
|
+
a && (a == null ? void 0 : a.visible) && /* @__PURE__ */ t.jsx("div", { style: ne ?? {}, className: `${F.inputHelperText} ${a != null && a.error ? F.error : ""}`, children: /* @__PURE__ */ t.jsx("p", { style: (a == null ? void 0 : a.style) ?? {}, children: a.text }) })
|
|
928
928
|
] });
|
|
929
|
-
}, yt = "Textarea-module__textareaContainer",
|
|
929
|
+
}, yt = "Textarea-module__textareaContainer", bt = "Textarea-module__textAreaLabel", Ct = "Textarea-module__required", gt = "Textarea-module__wrap", jt = "Textarea-module__textarea", wt = "Textarea-module__focused", Tt = "Textarea-module__disabled", Rt = "Textarea-module__error", kt = "Textarea-module__helperTextStyle", J = {
|
|
930
930
|
textareaContainer: yt,
|
|
931
|
-
textAreaLabel:
|
|
932
|
-
required:
|
|
931
|
+
textAreaLabel: bt,
|
|
932
|
+
required: Ct,
|
|
933
933
|
wrap: gt,
|
|
934
934
|
textarea: jt,
|
|
935
935
|
focused: wt,
|
|
936
|
-
disabled:
|
|
936
|
+
disabled: Tt,
|
|
937
937
|
error: Rt,
|
|
938
|
-
helperTextStyle:
|
|
939
|
-
},
|
|
938
|
+
helperTextStyle: kt
|
|
939
|
+
}, Et = ({ width: l, height: u, color: s }) => /* @__PURE__ */ t.jsxs("svg", { width: l ?? "16", height: u ?? "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
940
940
|
/* @__PURE__ */ t.jsx("g", { id: "help-circle", clipPath: "url(#clip0_433_6293)", children: /* @__PURE__ */ t.jsx(
|
|
941
941
|
"path",
|
|
942
942
|
{
|
|
943
943
|
id: "Icon",
|
|
944
944
|
d: "M6.05992 5.99998C6.21665 5.55442 6.52602 5.17872 6.93322 4.9394C7.34042 4.70009 7.81918 4.61261 8.2847 4.69245C8.75022 4.7723 9.17246 5.01433 9.47664 5.37567C9.78081 5.737 9.94729 6.19433 9.94659 6.66665C9.94659 7.99998 7.94659 8.66665 7.94659 8.66665M7.99992 11.3333H8.00659M14.6666 7.99998C14.6666 11.6819 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6819 1.33325 7.99998C1.33325 4.31808 4.31802 1.33331 7.99992 1.33331C11.6818 1.33331 14.6666 4.31808 14.6666 7.99998Z",
|
|
945
|
-
stroke:
|
|
945
|
+
stroke: s ?? "#A4A7AE",
|
|
946
946
|
strokeWidth: "1.33333",
|
|
947
947
|
strokeLinecap: "round",
|
|
948
948
|
strokeLinejoin: "round"
|
|
949
949
|
}
|
|
950
950
|
) }),
|
|
951
|
-
/* @__PURE__ */ t.jsx("defs", { children: /* @__PURE__ */ t.jsx("clipPath", { id: "clip0_433_6293", children: /* @__PURE__ */ t.jsx("rect", { width:
|
|
952
|
-
] }),
|
|
953
|
-
placeholder:
|
|
954
|
-
label:
|
|
955
|
-
msg:
|
|
956
|
-
cols:
|
|
957
|
-
rows:
|
|
951
|
+
/* @__PURE__ */ t.jsx("defs", { children: /* @__PURE__ */ t.jsx("clipPath", { id: "clip0_433_6293", children: /* @__PURE__ */ t.jsx("rect", { width: l ?? "16", height: u ?? "16", fill: "white" }) }) })
|
|
952
|
+
] }), hn = ({
|
|
953
|
+
placeholder: l,
|
|
954
|
+
label: u,
|
|
955
|
+
msg: s,
|
|
956
|
+
cols: C,
|
|
957
|
+
rows: g,
|
|
958
958
|
value: f,
|
|
959
|
-
maxLength:
|
|
959
|
+
maxLength: j,
|
|
960
960
|
onChange: v,
|
|
961
|
-
onFocus:
|
|
962
|
-
onBlur:
|
|
963
|
-
disabled:
|
|
961
|
+
onFocus: c,
|
|
962
|
+
onBlur: h,
|
|
963
|
+
disabled: a,
|
|
964
964
|
required: m,
|
|
965
|
-
textareaContainerStyle:
|
|
966
|
-
textareaLabelStyle:
|
|
967
|
-
requiredStyle:
|
|
968
|
-
textareaStyle:
|
|
969
|
-
textareaHelperTextStyle:
|
|
965
|
+
textareaContainerStyle: R,
|
|
966
|
+
textareaLabelStyle: k,
|
|
967
|
+
requiredStyle: w,
|
|
968
|
+
textareaStyle: N,
|
|
969
|
+
textareaHelperTextStyle: B
|
|
970
970
|
}) => {
|
|
971
|
-
const [L, b] =
|
|
972
|
-
let
|
|
973
|
-
v && typeof v == "function" && v(
|
|
974
|
-
},
|
|
975
|
-
b(!0),
|
|
971
|
+
const [L, b] = V(!1), H = (oe) => {
|
|
972
|
+
let se = oe.target.value;
|
|
973
|
+
v && typeof v == "function" && v(se);
|
|
974
|
+
}, $ = () => {
|
|
975
|
+
b(!0), c && typeof c == "function" && c();
|
|
976
976
|
}, ee = () => {
|
|
977
|
-
b(!1),
|
|
977
|
+
b(!1), h && typeof h == "function" && h();
|
|
978
978
|
};
|
|
979
979
|
return /* @__PURE__ */ t.jsxs(
|
|
980
980
|
"div",
|
|
981
981
|
{
|
|
982
|
-
style:
|
|
983
|
-
className: `${
|
|
982
|
+
style: R ?? {},
|
|
983
|
+
className: `${J.textareaContainer} ${s != null && s.type && (s != null && s.visible) ? J[s == null ? void 0 : s.type] : ""} ${a ? J.disabled : null}`,
|
|
984
984
|
children: [
|
|
985
|
-
|
|
986
|
-
/* @__PURE__ */ t.jsx("p", { children:
|
|
987
|
-
/* @__PURE__ */ t.jsx("span", { style:
|
|
988
|
-
/* @__PURE__ */ t.jsx(
|
|
985
|
+
u && /* @__PURE__ */ t.jsxs("div", { style: k, className: J.textAreaLabel, children: [
|
|
986
|
+
/* @__PURE__ */ t.jsx("p", { children: u }),
|
|
987
|
+
/* @__PURE__ */ t.jsx("span", { style: w ?? {}, className: J.required, children: m && "*" }),
|
|
988
|
+
/* @__PURE__ */ t.jsx(Et, {})
|
|
989
989
|
] }),
|
|
990
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
990
|
+
/* @__PURE__ */ t.jsx("div", { className: J.wrap, children: /* @__PURE__ */ t.jsx(
|
|
991
991
|
"textarea",
|
|
992
992
|
{
|
|
993
|
-
style:
|
|
994
|
-
className: `${
|
|
993
|
+
style: N ?? {},
|
|
994
|
+
className: `${J.textarea} ${L ? J.focused : ""} ${a ? J.disabled : ""} ${s != null && s.error ? J.error : ""}`,
|
|
995
995
|
value: f,
|
|
996
|
-
placeholder:
|
|
997
|
-
cols:
|
|
998
|
-
rows:
|
|
999
|
-
maxLength:
|
|
1000
|
-
onFocus:
|
|
1001
|
-
disabled:
|
|
996
|
+
placeholder: l ?? "",
|
|
997
|
+
cols: C ?? "30",
|
|
998
|
+
rows: g ?? "5",
|
|
999
|
+
maxLength: j ?? null,
|
|
1000
|
+
onFocus: $,
|
|
1001
|
+
disabled: a,
|
|
1002
1002
|
onBlur: ee,
|
|
1003
|
-
onChange:
|
|
1003
|
+
onChange: H
|
|
1004
1004
|
}
|
|
1005
1005
|
) }),
|
|
1006
|
-
/* @__PURE__ */ t.jsx("div", { style:
|
|
1006
|
+
/* @__PURE__ */ t.jsx("div", { style: B ?? {}, className: `${J.helperTextStyle} ${s != null && s.error ? J.error : ""}`, children: /* @__PURE__ */ t.jsx("p", { style: (s == null ? void 0 : s.style) ?? {}, children: s.text }) })
|
|
1007
1007
|
]
|
|
1008
1008
|
}
|
|
1009
1009
|
);
|
|
1010
|
-
},
|
|
1011
|
-
toggleWrapper:
|
|
1012
|
-
toggleState:
|
|
1010
|
+
}, $t = "Toggle-module__toggleWrapper", Pt = "Toggle-module__toggleState", Ot = "Toggle-module__checked", Lt = "Toggle-module__disabled", Ie = {
|
|
1011
|
+
toggleWrapper: $t,
|
|
1012
|
+
toggleState: Pt,
|
|
1013
1013
|
checked: Ot,
|
|
1014
|
-
disabled:
|
|
1015
|
-
},
|
|
1016
|
-
checked:
|
|
1017
|
-
change:
|
|
1018
|
-
disabled:
|
|
1019
|
-
required:
|
|
1020
|
-
activeStyle:
|
|
1014
|
+
disabled: Lt
|
|
1015
|
+
}, _n = ({
|
|
1016
|
+
checked: l,
|
|
1017
|
+
change: u,
|
|
1018
|
+
disabled: s,
|
|
1019
|
+
required: C,
|
|
1020
|
+
activeStyle: g,
|
|
1021
1021
|
bgStyle: f,
|
|
1022
|
-
checkedBgStyle:
|
|
1022
|
+
checkedBgStyle: j,
|
|
1023
1023
|
disabledBgStyle: v,
|
|
1024
|
-
circleStyle:
|
|
1025
|
-
checkedCircleStyle:
|
|
1026
|
-
disabledCircleStyle:
|
|
1024
|
+
circleStyle: c,
|
|
1025
|
+
checkedCircleStyle: h,
|
|
1026
|
+
disabledCircleStyle: a
|
|
1027
1027
|
}) => {
|
|
1028
|
-
const [m,
|
|
1029
|
-
|
|
1030
|
-
},
|
|
1028
|
+
const [m, R] = V(!1), k = () => {
|
|
1029
|
+
u && typeof u == "function" && u(!l);
|
|
1030
|
+
}, w = () => {
|
|
1031
1031
|
if (m)
|
|
1032
|
-
return
|
|
1033
|
-
if (
|
|
1034
|
-
if (
|
|
1035
|
-
} else if (
|
|
1036
|
-
if (
|
|
1032
|
+
return g ?? {};
|
|
1033
|
+
if (l) {
|
|
1034
|
+
if (j) return j;
|
|
1035
|
+
} else if (l) {
|
|
1036
|
+
if (s && v)
|
|
1037
1037
|
return v;
|
|
1038
1038
|
} else if (f) return f;
|
|
1039
1039
|
return {};
|
|
1040
|
-
},
|
|
1041
|
-
if (
|
|
1042
|
-
if (
|
|
1043
|
-
} else if (
|
|
1044
|
-
if (
|
|
1045
|
-
return
|
|
1046
|
-
} else if (
|
|
1040
|
+
}, N = () => {
|
|
1041
|
+
if (l) {
|
|
1042
|
+
if (h) return h;
|
|
1043
|
+
} else if (l) {
|
|
1044
|
+
if (s && a)
|
|
1045
|
+
return a;
|
|
1046
|
+
} else if (c) return c;
|
|
1047
1047
|
return {};
|
|
1048
1048
|
};
|
|
1049
1049
|
return /* @__PURE__ */ t.jsx(
|
|
1050
1050
|
"div",
|
|
1051
1051
|
{
|
|
1052
|
-
style:
|
|
1053
|
-
onMouseDown: () =>
|
|
1054
|
-
onMouseUp: () =>
|
|
1055
|
-
onMouseLeave: () =>
|
|
1056
|
-
onClick:
|
|
1057
|
-
className: `${
|
|
1058
|
-
children: /* @__PURE__ */ t.jsx("div", { style:
|
|
1052
|
+
style: w(),
|
|
1053
|
+
onMouseDown: () => R(!0),
|
|
1054
|
+
onMouseUp: () => R(!1),
|
|
1055
|
+
onMouseLeave: () => R(!1),
|
|
1056
|
+
onClick: k,
|
|
1057
|
+
className: `${Ie.toggleWrapper} ${l ? Ie.checked : ""} ${s ? Ie.disabled : ""}`,
|
|
1058
|
+
children: /* @__PURE__ */ t.jsx("div", { style: N(), className: Ie.toggleState, children: /* @__PURE__ */ t.jsx("input", { type: "checkbox", checked: l, readOnly: !0, disabled: s ?? !1, hidden: !0, required: C ?? !1 }) })
|
|
1059
1059
|
}
|
|
1060
1060
|
);
|
|
1061
|
-
}, Ft = "Radio-module__radioWrapper",
|
|
1061
|
+
}, Ft = "Radio-module__radioWrapper", Nt = "Radio-module__sm", Dt = "Radio-module__md", St = "Radio-module__checked", At = "Radio-module__innerCircle", Wt = "Radio-module__radioState", It = "Radio-module__disabled", _e = {
|
|
1062
1062
|
radioWrapper: Ft,
|
|
1063
|
-
sm:
|
|
1063
|
+
sm: Nt,
|
|
1064
1064
|
md: Dt,
|
|
1065
|
-
checked:
|
|
1066
|
-
innerCircle:
|
|
1067
|
-
radioState:
|
|
1068
|
-
disabled:
|
|
1069
|
-
},
|
|
1070
|
-
|
|
1071
|
-
const
|
|
1072
|
-
|
|
1065
|
+
checked: St,
|
|
1066
|
+
innerCircle: At,
|
|
1067
|
+
radioState: Wt,
|
|
1068
|
+
disabled: It
|
|
1069
|
+
}, vn = ({ checked: l, change: u, disabled: s, isRequired: C, withUncheckState: g, size: f }) => {
|
|
1070
|
+
V(!1);
|
|
1071
|
+
const j = () => {
|
|
1072
|
+
u && typeof u == "function" && (g || !g && !l) && u(!0);
|
|
1073
1073
|
};
|
|
1074
|
-
return /* @__PURE__ */ t.jsxs("div", { className: `${_e.radioWrapper} ${_e[f] ?? _e.md} ${
|
|
1075
|
-
/* @__PURE__ */ t.jsx("input", { type: "radio", checked: !0, readOnly: !0, hidden: !0, disabled:
|
|
1074
|
+
return /* @__PURE__ */ t.jsxs("div", { className: `${_e.radioWrapper} ${_e[f] ?? _e.md} ${l ? _e.checked : ""} ${s ? _e.disabled : ""}`, onClick: j, children: [
|
|
1075
|
+
/* @__PURE__ */ t.jsx("input", { type: "radio", checked: !0, readOnly: !0, hidden: !0, disabled: s ?? !1, required: C ?? !1 }),
|
|
1076
1076
|
/* @__PURE__ */ t.jsx("div", { className: _e.radioState, children: /* @__PURE__ */ t.jsx("div", { className: _e.innerCircle }) })
|
|
1077
1077
|
] });
|
|
1078
|
-
},
|
|
1079
|
-
dropdownWrapper:
|
|
1080
|
-
placeHolder:
|
|
1081
|
-
dropdownLabel:
|
|
1078
|
+
}, Mt = "Dropdown-module__dropdownWrapper", Bt = "Dropdown-module__placeHolder", Ht = "Dropdown-module__dropdownLabel", qt = "Dropdown-module__required", Vt = "Dropdown-module__dropdownContainer", Yt = "Dropdown-module__sm", Ut = "Dropdown-module__md", Kt = "Dropdown-module__selectedTags", Jt = "Dropdown-module__selectedList", Gt = "Dropdown-module__additional", Xt = "Dropdown-module__dropdownList", zt = "Dropdown-module__disabled", Zt = "Dropdown-module__selected", Qt = "Dropdown-module__focused", en = "Dropdown-module__error", rn = "Dropdown-module__dropdownHelperText", A = {
|
|
1079
|
+
dropdownWrapper: Mt,
|
|
1080
|
+
placeHolder: Bt,
|
|
1081
|
+
dropdownLabel: Ht,
|
|
1082
1082
|
required: qt,
|
|
1083
1083
|
dropdownContainer: Vt,
|
|
1084
|
-
sm:
|
|
1085
|
-
md:
|
|
1086
|
-
selectedTags:
|
|
1087
|
-
selectedList:
|
|
1088
|
-
additional:
|
|
1089
|
-
dropdownList:
|
|
1090
|
-
disabled:
|
|
1091
|
-
selected:
|
|
1092
|
-
focused:
|
|
1093
|
-
error:
|
|
1094
|
-
dropdownHelperText:
|
|
1095
|
-
},
|
|
1096
|
-
label:
|
|
1097
|
-
disabled:
|
|
1098
|
-
required:
|
|
1099
|
-
size:
|
|
1100
|
-
placeholder:
|
|
1084
|
+
sm: Yt,
|
|
1085
|
+
md: Ut,
|
|
1086
|
+
selectedTags: Kt,
|
|
1087
|
+
selectedList: Jt,
|
|
1088
|
+
additional: Gt,
|
|
1089
|
+
dropdownList: Xt,
|
|
1090
|
+
disabled: zt,
|
|
1091
|
+
selected: Zt,
|
|
1092
|
+
focused: Qt,
|
|
1093
|
+
error: en,
|
|
1094
|
+
dropdownHelperText: rn
|
|
1095
|
+
}, mn = ({
|
|
1096
|
+
label: l,
|
|
1097
|
+
disabled: u,
|
|
1098
|
+
required: s,
|
|
1099
|
+
size: C = "md",
|
|
1100
|
+
placeholder: g = "placeholder",
|
|
1101
1101
|
msg: f,
|
|
1102
|
-
readOnly:
|
|
1102
|
+
readOnly: j,
|
|
1103
1103
|
data: v,
|
|
1104
|
-
onSelect:
|
|
1105
|
-
selectedOptionID:
|
|
1106
|
-
withFilter:
|
|
1104
|
+
onSelect: c,
|
|
1105
|
+
selectedOptionID: h,
|
|
1106
|
+
withFilter: a,
|
|
1107
1107
|
onSearch: m,
|
|
1108
|
-
pagination:
|
|
1109
|
-
withMultiSelect:
|
|
1110
|
-
skipSelected:
|
|
1111
|
-
labelIcon:
|
|
1112
|
-
closeIcon:
|
|
1108
|
+
pagination: R,
|
|
1109
|
+
withMultiSelect: k = !1,
|
|
1110
|
+
skipSelected: w,
|
|
1111
|
+
labelIcon: N,
|
|
1112
|
+
closeIcon: B,
|
|
1113
1113
|
iconDown: L,
|
|
1114
1114
|
onLabelIconClick: b,
|
|
1115
|
-
onLabelIconMouseEnter:
|
|
1116
|
-
onLabelIconMouseLeave:
|
|
1115
|
+
onLabelIconMouseEnter: H,
|
|
1116
|
+
onLabelIconMouseLeave: $,
|
|
1117
1117
|
dropdownWrapperStyle: ee,
|
|
1118
1118
|
dropdownLabelStyle: oe,
|
|
1119
|
-
requiredStyle:
|
|
1119
|
+
requiredStyle: se,
|
|
1120
1120
|
labelIconStyle: de,
|
|
1121
1121
|
dropdownContainerStyle: re,
|
|
1122
1122
|
placeHolderStyle: fe,
|
|
1123
|
-
selectedTagsStyle:
|
|
1124
|
-
selectedListStyle:
|
|
1125
|
-
additionalStyle:
|
|
1126
|
-
dropdownListStyle:
|
|
1127
|
-
listStyle:
|
|
1123
|
+
selectedTagsStyle: $e,
|
|
1124
|
+
selectedListStyle: me,
|
|
1125
|
+
additionalStyle: W,
|
|
1126
|
+
dropdownListStyle: Y,
|
|
1127
|
+
listStyle: X
|
|
1128
1128
|
}) => {
|
|
1129
|
-
const [
|
|
1130
|
-
|
|
1131
|
-
const
|
|
1132
|
-
const
|
|
1133
|
-
return n.filter((
|
|
1129
|
+
const [Pe, xe] = V(!1), [z, ae] = V(!1), I = G(v), [te, Z] = V("");
|
|
1130
|
+
V(null);
|
|
1131
|
+
const D = G([]), ye = G(null), Oe = G(null), U = G({}), pe = (n, x) => {
|
|
1132
|
+
const P = /* @__PURE__ */ new Set();
|
|
1133
|
+
return n.filter((Q) => P.has(Q[x]) ? !1 : (P.add(Q[x]), !0));
|
|
1134
1134
|
}, ne = (n) => {
|
|
1135
1135
|
var x;
|
|
1136
|
-
|
|
1137
|
-
n.id ===
|
|
1138
|
-
}),
|
|
1139
|
-
},
|
|
1140
|
-
|
|
1141
|
-
},
|
|
1142
|
-
n.stopPropagation(),
|
|
1143
|
-
},
|
|
1144
|
-
if (
|
|
1136
|
+
I.current.forEach((P) => {
|
|
1137
|
+
n.id === P.id ? P.selected = !0 : P.selected = !1;
|
|
1138
|
+
}), U.current = n, Z((x = U.current) == null ? void 0 : x.label), c && typeof c == "function" && c(U.current), ae(!1);
|
|
1139
|
+
}, be = (n) => {
|
|
1140
|
+
D.current = [...D.current, ...I.current.filter((x) => x.id === n.id)], n.selected = !n.selected, D.current = pe(D.current, "id").filter((x) => x.selected), c && typeof c == "function" && c(D.current), Z(D.current.map((x) => x.label).join(", ")), xe((x) => !x);
|
|
1141
|
+
}, le = (n) => {
|
|
1142
|
+
n.stopPropagation(), D.current = [], h = null, I.current && I.current.length > 0 && v.forEach((x) => x.selected = !1), c(k ? [] : {}), Z("");
|
|
1143
|
+
}, Le = (n) => {
|
|
1144
|
+
if (a && !R)
|
|
1145
1145
|
if (n && n.length > 0) {
|
|
1146
|
-
let x =
|
|
1147
|
-
var
|
|
1148
|
-
return (
|
|
1146
|
+
let x = I.current.filter((P) => {
|
|
1147
|
+
var Q;
|
|
1148
|
+
return (Q = P == null ? void 0 : P.label) == null ? void 0 : Q.toLowerCase().includes(n.toLowerCase());
|
|
1149
1149
|
});
|
|
1150
|
-
|
|
1150
|
+
I.current = x;
|
|
1151
1151
|
} else
|
|
1152
|
-
|
|
1153
|
-
m && typeof m == "function" && m(n),
|
|
1154
|
-
},
|
|
1155
|
-
if (
|
|
1156
|
-
let n = v.filter((x) => Number(x.id) === Number(
|
|
1157
|
-
n && n[0] && (
|
|
1152
|
+
I.current = v;
|
|
1153
|
+
m && typeof m == "function" && m(n), Z(n);
|
|
1154
|
+
}, Ce = () => {
|
|
1155
|
+
if (h || h === 0) {
|
|
1156
|
+
let n = v.filter((x) => Number(x.id) === Number(h));
|
|
1157
|
+
n && n[0] && (U.current = n[0], w ? (m && typeof m == "function" && m(U.current.label), Z(U.current.label), closeOnSelect && setCollapsed((x) => !1), withDropdownSearch && DropdownSearchValue && SetDropdownSearchValue("")) : ne(n[0]));
|
|
1158
1158
|
}
|
|
1159
|
-
},
|
|
1160
|
-
n.composedPath().includes(ye.current) ||
|
|
1159
|
+
}, ie = (n) => n, ue = (n) => {
|
|
1160
|
+
n.composedPath().includes(ye.current) || ae(!1);
|
|
1161
1161
|
};
|
|
1162
|
-
return
|
|
1163
|
-
|
|
1164
|
-
}, [
|
|
1162
|
+
return ve(() => {
|
|
1163
|
+
k || Ce();
|
|
1164
|
+
}, [h]), ve(() => (document.addEventListener("click", ue), () => {
|
|
1165
1165
|
document.removeEventListener("click", ue);
|
|
1166
|
-
}), []), /* @__PURE__ */ t.jsxs("div", { className:
|
|
1167
|
-
|
|
1168
|
-
|
|
1166
|
+
}), []), /* @__PURE__ */ t.jsxs("div", { className: A.dropdownWrapper, style: ee ?? {}, children: [
|
|
1167
|
+
l && /* @__PURE__ */ t.jsxs("label", { className: A.dropdownLabel, style: oe ?? {}, children: [
|
|
1168
|
+
l,
|
|
1169
1169
|
" ",
|
|
1170
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
1170
|
+
/* @__PURE__ */ t.jsx("span", { className: A.required, style: se ?? {}, children: s && "*" }),
|
|
1171
1171
|
/* @__PURE__ */ t.jsxs(
|
|
1172
1172
|
"span",
|
|
1173
1173
|
{
|
|
@@ -1176,14 +1176,14 @@ const kr = "MainButton-module__mainButton", Er = "MainButton-module__sm", $r = "
|
|
|
1176
1176
|
b && typeof b == "function" && b();
|
|
1177
1177
|
},
|
|
1178
1178
|
onMouseEnter: () => {
|
|
1179
|
-
|
|
1179
|
+
H && typeof H == "function" && H();
|
|
1180
1180
|
},
|
|
1181
1181
|
onMouseLeave: () => {
|
|
1182
|
-
|
|
1182
|
+
$ && typeof $ == "function" && $();
|
|
1183
1183
|
},
|
|
1184
1184
|
children: [
|
|
1185
1185
|
" ",
|
|
1186
|
-
|
|
1186
|
+
ie(N)
|
|
1187
1187
|
]
|
|
1188
1188
|
}
|
|
1189
1189
|
)
|
|
@@ -1192,23 +1192,23 @@ const kr = "MainButton-module__mainButton", Er = "MainButton-module__sm", $r = "
|
|
|
1192
1192
|
"div",
|
|
1193
1193
|
{
|
|
1194
1194
|
ref: ye,
|
|
1195
|
-
onClick: () =>
|
|
1196
|
-
className: `${
|
|
1195
|
+
onClick: () => ae((n) => !n),
|
|
1196
|
+
className: `${A.dropdownContainer} ${z && !j ? A.focused : ""} ${u ? A.disabled : ""} ${f != null && f.error ? A.error : ""} ${A[C]}`,
|
|
1197
1197
|
style: re ?? {},
|
|
1198
1198
|
children: [
|
|
1199
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
let
|
|
1203
|
-
return /* @__PURE__ */ t.jsxs("span", { className:
|
|
1199
|
+
/* @__PURE__ */ t.jsx("span", { className: A.placeHolder, style: fe ?? {}, children: te && te.length > 0 ? "" : g }),
|
|
1200
|
+
k && /* @__PURE__ */ t.jsxs("div", { className: A.selectedTags, style: $e ?? {}, children: [
|
|
1201
|
+
D.current.slice(0, 3).map((n, x) => {
|
|
1202
|
+
let P = D.current[D.current.length - 1];
|
|
1203
|
+
return /* @__PURE__ */ t.jsxs("span", { className: A.selectedList, style: me ?? {}, children: [
|
|
1204
1204
|
n.label,
|
|
1205
|
-
n.id !==
|
|
1205
|
+
n.id !== P.id && x !== 2 ? ", " : ""
|
|
1206
1206
|
] }, n == null ? void 0 : n.id);
|
|
1207
1207
|
}),
|
|
1208
|
-
|
|
1208
|
+
D.current.length > 3 && /* @__PURE__ */ t.jsxs("span", { className: A.additional, style: W ?? {}, children: [
|
|
1209
1209
|
" ",
|
|
1210
1210
|
"+(",
|
|
1211
|
-
|
|
1211
|
+
D.current.length - 3,
|
|
1212
1212
|
")"
|
|
1213
1213
|
] })
|
|
1214
1214
|
] }),
|
|
@@ -1216,61 +1216,118 @@ const kr = "MainButton-module__mainButton", Er = "MainButton-module__sm", $r = "
|
|
|
1216
1216
|
"input",
|
|
1217
1217
|
{
|
|
1218
1218
|
autoCorrect: "off",
|
|
1219
|
-
hidden:
|
|
1220
|
-
readOnly: !
|
|
1219
|
+
hidden: k,
|
|
1220
|
+
readOnly: !a || !z || k,
|
|
1221
1221
|
type: "text",
|
|
1222
1222
|
value: te,
|
|
1223
|
-
onChange: (n) =>
|
|
1223
|
+
onChange: (n) => Le(n.target.value)
|
|
1224
1224
|
},
|
|
1225
|
-
|
|
1225
|
+
h
|
|
1226
1226
|
),
|
|
1227
|
-
|
|
1227
|
+
z && I.current && I.current.length > 0 && /* @__PURE__ */ t.jsx("ul", { onClick: (n) => n.stopPropagation(), ref: Oe, className: A.dropdownList, style: Y ?? {}, children: I.current.map((n) => /* @__PURE__ */ t.jsxs(
|
|
1228
1228
|
"li",
|
|
1229
1229
|
{
|
|
1230
|
-
style:
|
|
1231
|
-
className: `${!(n != null && n.label) || n.label === void 0 || n != null && n.disabled ?
|
|
1230
|
+
style: X ?? {},
|
|
1231
|
+
className: `${!(n != null && n.label) || n.label === void 0 || n != null && n.disabled ? A.disabled : ""} ${n != null && n.selected ? A.selected : ""}`,
|
|
1232
1232
|
onClick: () => {
|
|
1233
|
-
|
|
1233
|
+
k ? be(n) : ne(n);
|
|
1234
1234
|
},
|
|
1235
1235
|
children: [
|
|
1236
1236
|
/* @__PURE__ */ t.jsxs("p", { children: [
|
|
1237
1237
|
" ",
|
|
1238
1238
|
n != null && n.label ? typeof n.label == "function" ? n.label() : n.label : "-"
|
|
1239
1239
|
] }),
|
|
1240
|
-
(n == null ? void 0 : n.selected) && /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(
|
|
1240
|
+
(n == null ? void 0 : n.selected) && /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(ur, { color: "#7F56D9", width: 20, height: 20 }) })
|
|
1241
1241
|
]
|
|
1242
1242
|
},
|
|
1243
1243
|
n == null ? void 0 : n.id
|
|
1244
1244
|
)) }),
|
|
1245
|
-
(
|
|
1245
|
+
(D.current.length > 0 || te.length) > 0 && /* @__PURE__ */ t.jsx("div", { onClick: (n) => le(n), style: { display: "grid", placeItems: "center", cursor: "pointer" }, children: B ? ie(B) : /* @__PURE__ */ t.jsx(ir, { width: 16, height: 16 }) }),
|
|
1246
1246
|
/* @__PURE__ */ t.jsx(
|
|
1247
1247
|
"div",
|
|
1248
1248
|
{
|
|
1249
1249
|
style: {
|
|
1250
1250
|
display: "grid",
|
|
1251
1251
|
placeItems: "center",
|
|
1252
|
-
transform:
|
|
1252
|
+
transform: z ? "rotate(180deg)" : "",
|
|
1253
1253
|
transition: "transform 0.2s ease-in-out",
|
|
1254
1254
|
// Add transition here
|
|
1255
1255
|
cursor: "pointer",
|
|
1256
1256
|
marginLeft: "10px"
|
|
1257
1257
|
},
|
|
1258
|
-
children: L ?
|
|
1258
|
+
children: L ? ie(L) : /* @__PURE__ */ t.jsx(lr, {})
|
|
1259
1259
|
}
|
|
1260
1260
|
)
|
|
1261
1261
|
]
|
|
1262
1262
|
}
|
|
1263
1263
|
),
|
|
1264
|
-
f && (f == null ? void 0 : f.visible) && /* @__PURE__ */ t.jsx("div", { className: `${
|
|
1264
|
+
f && (f == null ? void 0 : f.visible) && /* @__PURE__ */ t.jsx("div", { className: `${A.dropdownHelperText} ${f != null && f.error ? A.error : ""}`, children: !z && /* @__PURE__ */ t.jsx("p", { style: (f == null ? void 0 : f.style) ?? {}, children: f.text }) })
|
|
1265
|
+
] });
|
|
1266
|
+
}, tn = "Tooltip-module__tooltipContainer", nn = "Tooltip-module__tooltipContent", on = "Tooltip-module__top", sn = "Tooltip-module__right", an = "Tooltip-module__bottom", ln = "Tooltip-module__left", un = "Tooltip-module__tooltipTitle", cn = "Tooltip-module__tooltipText", Ee = {
|
|
1267
|
+
tooltipContainer: tn,
|
|
1268
|
+
tooltipContent: nn,
|
|
1269
|
+
top: on,
|
|
1270
|
+
right: sn,
|
|
1271
|
+
bottom: an,
|
|
1272
|
+
left: ln,
|
|
1273
|
+
tooltipTitle: un,
|
|
1274
|
+
tooltipText: cn
|
|
1275
|
+
}, xn = ({
|
|
1276
|
+
children: l,
|
|
1277
|
+
tooltipSlot: u,
|
|
1278
|
+
delay: s,
|
|
1279
|
+
placement: C = "top",
|
|
1280
|
+
trigger: g = "click",
|
|
1281
|
+
title: f,
|
|
1282
|
+
text: j,
|
|
1283
|
+
tooltipContentStyle: v,
|
|
1284
|
+
tooltipTitlestyle: c,
|
|
1285
|
+
tooltipTextStyle: h,
|
|
1286
|
+
pointerPosition: a = "10%"
|
|
1287
|
+
}) => {
|
|
1288
|
+
const m = G(null), R = G(null);
|
|
1289
|
+
let k;
|
|
1290
|
+
const [w, N] = V(!1), B = () => {
|
|
1291
|
+
g === "hover" && (k = setTimeout(() => {
|
|
1292
|
+
N(!0);
|
|
1293
|
+
}, s || 400));
|
|
1294
|
+
}, L = () => {
|
|
1295
|
+
g === "hover" && (clearInterval(k), N(!1));
|
|
1296
|
+
}, b = () => {
|
|
1297
|
+
g === "click" && N(($) => !$);
|
|
1298
|
+
}, H = ($) => {
|
|
1299
|
+
$.composedPath().includes(m.current) || N(!1);
|
|
1300
|
+
};
|
|
1301
|
+
return ve(() => (document.addEventListener("click", H), () => {
|
|
1302
|
+
document.removeEventListener("click", H);
|
|
1303
|
+
}), []), ve(() => {
|
|
1304
|
+
const $ = R.current;
|
|
1305
|
+
$ && $.style.setProperty("--pointer-position", `${a}`);
|
|
1306
|
+
}, [w]), /* @__PURE__ */ t.jsxs("div", { ref: m, className: Ee.tooltipContainer, onClick: b, onMouseEnter: B, onMouseLeave: L, children: [
|
|
1307
|
+
l,
|
|
1308
|
+
w && u ? u() : w && /* @__PURE__ */ t.jsxs(
|
|
1309
|
+
"div",
|
|
1310
|
+
{
|
|
1311
|
+
onClick: ($) => $.stopPropagation(),
|
|
1312
|
+
ref: R,
|
|
1313
|
+
style: v ?? {},
|
|
1314
|
+
className: `${Ee.tooltipContent} ${C ? Ee[C] : Ee.bottom}`,
|
|
1315
|
+
children: [
|
|
1316
|
+
f && f.length > 0 && /* @__PURE__ */ t.jsx("h2", { className: Ee.tooltipTitle, style: c ?? {}, children: f }),
|
|
1317
|
+
j && j.length > 0 && /* @__PURE__ */ t.jsx("p", { className: Ee.tooltipText, style: h ?? {}, children: j })
|
|
1318
|
+
]
|
|
1319
|
+
}
|
|
1320
|
+
)
|
|
1265
1321
|
] });
|
|
1266
1322
|
};
|
|
1267
1323
|
export {
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1324
|
+
ut as Checkbox,
|
|
1325
|
+
mn as Dropdown,
|
|
1326
|
+
pn as FormInput,
|
|
1327
|
+
fn as MainButton,
|
|
1328
|
+
vn as Radio,
|
|
1273
1329
|
xt as Tag,
|
|
1274
|
-
|
|
1275
|
-
|
|
1330
|
+
hn as Textarea,
|
|
1331
|
+
_n as Toggle,
|
|
1332
|
+
xn as Tooltip
|
|
1276
1333
|
};
|