master-components-react-ts 2.4.17 → 2.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +277 -277
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap";button.mc__MainButton-module__mainButton{width:100%;display:flex;padding:8px;justify-content:center;align-items:center;border-radius:6px;min-width:100px;outline:none;border:none;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}button.mc__MainButton-module__mainButton.mc__MainButton-module__sm{height:32px}button.mc__MainButton-module__mainButton.mc__MainButton-module__md{height:36px}button.mc__MainButton-module__mainButton.mc__MainButton-module__lg{height:40px}button.mc__MainButton-module__mainButton .mc__MainButton-module__mainButtonContent{width:100%;display:flex;align-items:center;justify-content:center;gap:8px}button.mc__MainButton-module__mainButton .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{overflow:hidden;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:450;line-height:24px;letter-spacing:.1px}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__neutral{background:#0058ff}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__neutral.mc__MainButton-module__loading{cursor:no-drop}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__neutral:hover:not(.mc__MainButton-module__disabled):not(.mc__MainButton-module__loading){background:#004fe5!important}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__neutral.mc__MainButton-module__disabled{background:#95969c;cursor:not-allowed}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__neutral.mc__MainButton-module__focused{outline:2px solid #dee9fc;outline-offset:0px;background:#0058ff}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__neutral .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#fff}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__positive{background:#328707}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__positive.mc__MainButton-module__loading{cursor:no-drop}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__positive:hover:not(.mc__MainButton-module__disabled):not(.mc__MainButton-module__loading){background:#266905!important}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__positive.mc__MainButton-module__disabled{background:#95969c;cursor:not-allowed}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__positive.mc__MainButton-module__focused{outline:2px solid #c3ebb0;outline-offset:0px;background:#328707}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__positive .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#fff}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__negative{background:#e3292f}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__negative.mc__MainButton-module__loading{cursor:no-drop}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__negative:hover:not(.mc__MainButton-module__disabled):not(.mc__MainButton-module__loading){background:#db1d23!important}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__negative.mc__MainButton-module__disabled{background:#95969c;cursor:not-allowed}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__negative.mc__MainButton-module__focused{outline:2px solid #fcdcdc;outline-offset:0px;background:#e3292f}button.mc__MainButton-module__mainButton.mc__MainButton-module__primary.mc__MainButton-module__negative .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#fff}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__neutral{background:#ecf3ff}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__neutral.mc__MainButton-module__loading{cursor:no-drop}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__neutral:hover:not(.mc__MainButton-module__disabled):not(.mc__MainButton-module__loading){background:#dee9fc!important}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__neutral.mc__MainButton-module__disabled{background:#f2f2f2;cursor:not-allowed}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__neutral.mc__MainButton-module__disabled .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#7a7b80}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__neutral.mc__MainButton-module__focused{outline-offset:0px;background:#ecf3ff;box-shadow:0 0 0 2px #0058ff}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__neutral .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#0058ff}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__positive{background:#effce8}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__positive.mc__MainButton-module__loading{cursor:no-drop}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__positive:hover:not(.mc__MainButton-module__disabled):not(.mc__MainButton-module__loading){background:#e0fad2!important}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__positive.mc__MainButton-module__disabled{background:#95969c;cursor:not-allowed}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__positive.mc__MainButton-module__focused{outline:2px solid #60bf30;outline-offset:0px;background:#effce8}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__positive .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#328707}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__negative{background:#fff2f2}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__negative.mc__MainButton-module__loading{cursor:no-drop}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__negative:hover:not(.mc__MainButton-module__disabled):not(.mc__MainButton-module__loading){background:#fcdcdc!important}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__negative.mc__MainButton-module__disabled{background:#95969c;cursor:not-allowed}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__negative.mc__MainButton-module__focused{outline:2px solid #ff5757;outline-offset:0px;background:#fff2f2}button.mc__MainButton-module__mainButton.mc__MainButton-module__secondary.mc__MainButton-module__negative .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#db1d23}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__neutral{background:#f2f2f2}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__neutral.mc__MainButton-module__loading{cursor:no-drop}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__neutral:hover:not(.mc__MainButton-module__disabled):not(.mc__MainButton-module__loading){background:#e6e6e6!important}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__neutral.mc__MainButton-module__disabled{background:#f2f2f2;cursor:not-allowed}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__neutral.mc__MainButton-module__disabled .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#7a7b80}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__neutral.mc__MainButton-module__focused{outline:2px solid #c1c2c7;outline-offset:0px;background:#f2f2f2}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__neutral .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#131314}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__positive{background:#fff}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__positive.mc__MainButton-module__loading{cursor:no-drop}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__positive:hover:not(.mc__MainButton-module__disabled):not(.mc__MainButton-module__loading){background:#effce8!important}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__positive.mc__MainButton-module__disabled{background:#fff;cursor:not-allowed}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__positive.mc__MainButton-module__disabled .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#7a7b80}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__positive.mc__MainButton-module__focused{outline:2px solid #91e766;outline-offset:0px;background:#fff}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__positive .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#328707}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__negative{background:#fff}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__negative.mc__MainButton-module__loading{cursor:no-drop}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__negative:hover:not(.mc__MainButton-module__disabled):not(.mc__MainButton-module__loading){background:#fff2f2!important}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__negative.mc__MainButton-module__disabled{background:#fff;cursor:not-allowed}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__negative.mc__MainButton-module__disabled .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#7a7b80}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__negative.mc__MainButton-module__focused{outline:2px solid #fcdcdc;outline-offset:0px;background:#fff}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiary.mc__MainButton-module__negative .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#e3292f}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV2{background:#fff}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV2.mc__MainButton-module__loading{cursor:no-drop}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV2:hover:not(.mc__MainButton-module__disabled):not(.mc__MainButton-module__loading){background:#ecf3ff!important}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV2.mc__MainButton-module__disabled{background:#f2f2f2;cursor:not-allowed}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV2.mc__MainButton-module__disabled .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#7a7b80}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV2.mc__MainButton-module__focused{outline:2px solid #dee9fc;outline-offset:0px;background:#fff}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV2 .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#0058ff}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV3{border:1px solid #e6e6e6;background:#fff}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV3.mc__MainButton-module__loading{cursor:no-drop}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV3:hover:not(.mc__MainButton-module__disabled):not(.mc__MainButton-module__loading){border-color:#c1c2c7!important}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV3.mc__MainButton-module__disabled{background:#fff;border:1px solid #e6e6e6;cursor:not-allowed}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV3.mc__MainButton-module__disabled .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#7a7b80}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV3.mc__MainButton-module__focused{border:1px solid transparent;outline:2px solid #dee9fc;outline-offset:0px;background:#fff}button.mc__MainButton-module__mainButton.mc__MainButton-module__tertiaryV3 .mc__MainButton-module__mainButtonContent .mc__MainButton-module__mainButtonLabel{color:#292d33}.mc__FormInput-module__inputWrapper{width:100%;display:flex;flex-direction:column;gap:10px}.mc__FormInput-module__inputWrapper.mc__FormInput-module__sm .mc__FormInput-module__formInputWrapper{height:36px}.mc__FormInput-module__inputWrapper.mc__FormInput-module__md .mc__FormInput-module__formInputWrapper{height:40px}.mc__FormInput-module__inputWrapper.mc__FormInput-module__disabled .mc__FormInput-module__formInputLabel{width:100%;overflow:hidden;color:#95969c;text-overflow:ellipsis;font-family:var(--font-inter-medium);font-size:12px;font-style:normal;font-weight:450;line-height:16px;letter-spacing:.1px}.mc__FormInput-module__inputWrapper.mc__FormInput-module__disabled .mc__FormInput-module__formInput{width:100%;overflow:hidden;color:#7a7b80;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__FormInput-module__inputWrapper.mc__FormInput-module__disabled .mc__FormInput-module__formInputHelperText{width:100%;overflow:hidden;color:#95969c;text-overflow:ellipsis;font-family:var(--font-inter-medium);font-size:12px;font-style:normal;font-weight:450;line-height:16px;letter-spacing:.1px}.mc__FormInput-module__inputWrapper.mc__FormInput-module__disabled .mc__FormInput-module__formInputWrapper{border-radius:6px;border:1px solid #e6e6e6;background:#fafafa}.mc__FormInput-module__inputWrapper.mc__FormInput-module__disabled .mc__FormInput-module__formInputWrapper .mc__FormInput-module__formInput{width:100%;overflow:hidden;color:#7a7b80;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px;cursor:not-allowed}.mc__FormInput-module__inputWrapper.mc__FormInput-module__disabled .mc__FormInput-module__formInputWrapper .mc__FormInput-module__formInput::placeholder{width:100%;overflow:hidden;color:#7a7b80;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputLabelWrapper{width:100%;display:flex;align-items:center;justify-content:space-between}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputLabelWrapper .mc__FormInput-module__formInputLabel{width:100%;overflow:hidden;color:#131314;font-family:var(--font-inter-medium);font-size:12px;font-style:normal;font-weight:450;line-height:16px;letter-spacing:.1px}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputLabelWrapper .mc__FormInput-module__formInputLabel .mc__FormInput-module__formInputRequired{overflow:hidden;color:#e3292f;text-overflow:ellipsis;font-family:var(--font-inter-medium);font-size:12px;font-style:normal;font-weight:450;line-height:16px;letter-spacing:.1px}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputLabelWrapper .mc__FormInput-module__formInputHelperSlot{display:flex;align-items:center;justify-content:center}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputWrapper{width:100%;display:flex;align-items:center;gap:8px;padding:8px;border-radius:6px;border:1px solid #e6e6e6;background:#fff}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputWrapper.mc__FormInput-module__errorState{border-radius:6px;background:#fff;outline:1px solid #f63e45;outline-offset:-1px;box-shadow:none}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputWrapper.mc__FormInput-module__focused{border-radius:6px;background:#fff;outline:2px solid #0058ff;outline-offset:-2px;box-shadow:none}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputWrapper.mc__FormInput-module__active{border-radius:6px;background:#fff;outline:1.5px solid #0058ff;outline-offset:-1.5px;box-shadow:0 0 0 2px #dee9fc}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputWrapper.mc__FormInput-module__errorFocused{border-radius:6px;background:#fff;outline:2px solid #f63e45;outline-offset:-2px;box-shadow:none}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputWrapper.mc__FormInput-module__errorActive{border-radius:6px;background:#fff;outline:1.5px solid #f63e45;outline-offset:-1.5px;box-shadow:0 0 0 2px #fcdcdd}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputWrapper input.mc__FormInput-module__formInput{border:none;outline:none;background-color:transparent;caret-color:#0058ff;width:100%;overflow:hidden;color:#131314;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputWrapper input.mc__FormInput-module__formInput::placeholder{width:100%;overflow:hidden;color:#646569;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputWrapper .mc__FormInput-module__formInputSlot{display:grid;place-items:center}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputHelperText{width:100%;overflow:hidden;color:#131314;text-overflow:ellipsis;font-family:var(--font-inter-medium);font-size:12px;font-style:normal;font-weight:450;line-height:16px;letter-spacing:.1px}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputHelperText.mc__FormInput-module__errorHelperText{width:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-inter-medium);font-size:12px;font-style:normal;font-weight:450;line-height:16px;letter-spacing:.1px;color:#e3292f}.mc__FormInput-module__inputWrapper .mc__FormInput-module__formInputHelperText.mc__FormInput-module__successHelperText{width:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-inter-medium);font-size:12px;font-style:normal;font-weight:450;line-height:16px;letter-spacing:.1px;color:#328707}.mc__Textarea-module__textareaContainer{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:.375rem;flex-shrink:0}.mc__Textarea-module__textareaContainer .mc__Textarea-module__textAreaLabel{justify-content:space-between;display:flex;align-items:center;gap:.125rem;width:100%}.mc__Textarea-module__textareaContainer .mc__Textarea-module__textAreaLabel p{width:100%;overflow:hidden;color:#131314;font-family:var(--font-inter-medium);font-size:12px;font-style:normal;font-weight:450;line-height:16px;letter-spacing:.1px}.mc__Textarea-module__textareaContainer .mc__Textarea-module__textAreaLabel .mc__Textarea-module__required{color:#d92d20;font-size:.875rem;font-family:var(--font-inter-regular);font-style:normal;font-weight:500;line-height:1.25rem}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap{display:inline-block;width:100%;position:relative}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap.mc__Textarea-module__resize textarea{resize:both}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap.mc__Textarea-module__resize: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%}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textareaIconClose{position:absolute;right:8px;top:8px;cursor:pointer}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textarea{border-radius:6px;border:1px solid #c1c2c7;background:#fff;padding:8px 12px;resize:none;width:100%;overflow:hidden;color:#131314;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textarea::-webkit-resizer{display:none}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textarea::-webkit-scrollbar{width:0}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textarea::-webkit-scrollbar-track{-webkit-box-shadow:none}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textarea::-webkit-scrollbar-thumb{background-color:none;outline:0}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textarea.mc__Textarea-module__errorState{border-radius:6px;background:#fff;outline:1px solid #f63e45;outline-offset:-1px;box-shadow:none}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textarea.mc__Textarea-module__focused{border-radius:6px;background:#fff;outline:2px solid #0058ff;outline-offset:-2px;box-shadow:none}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textarea.mc__Textarea-module__active{border-radius:6px;background:#fff;outline:1.5px solid #0058ff;outline-offset:-1.5px;box-shadow:0 0 0 2px #dee9fc}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textarea.mc__Textarea-module__errorFocused{border-radius:6px;background:#fff;outline:2px solid #f63e45;outline-offset:-2px;box-shadow:none}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textarea.mc__Textarea-module__errorActive{border-radius:6px;background:#fff;outline:1.5px solid #f63e45;outline-offset:-1.5px;box-shadow:0 0 0 2px #fcdcdd}.mc__Textarea-module__textareaContainer .mc__Textarea-module__wrap .mc__Textarea-module__textarea::placeholder{width:100%;overflow:hidden;color:#646569;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__Textarea-module__textareaContainer .mc__Textarea-module__textareaFooter{width:100%;display:flex;justify-content:flex-end;align-items:center}.mc__Textarea-module__textareaContainer .mc__Textarea-module__textareaFooter p{color:#131314;text-align:right;font-family:var(--font-inter-medium);font-size:12px;font-style:normal;font-weight:450;line-height:16px;letter-spacing:.1px}.mc__Toggle-module__toggleWrapper{position:relative;overflow:hidden;border-radius:13.333px;background:#c1c2c7;padding:4px;cursor:pointer}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__checked{background:#0058ff}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__error{background:#e3292f}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__disabled{background:#d4d5d6;cursor:not-allowed}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__disabled.mc__Toggle-module__checked{background:#95969c}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__sm{width:24px;height:16px}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__sm.mc__Toggle-module__checked .mc__Toggle-module__toggleState{left:calc(100% - 12px)}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__sm .mc__Toggle-module__toggleState{width:8px;height:8px}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__md{width:32px;height:20px}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__md.mc__Toggle-module__checked .mc__Toggle-module__toggleState{left:calc(100% - 16px)}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__md .mc__Toggle-module__toggleState{width:12px;height:12px}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__lg{width:40px;height:24px}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__lg .mc__Toggle-module__toggleState{width:16px;height:16px}.mc__Toggle-module__toggleWrapper.mc__Toggle-module__lg.mc__Toggle-module__checked .mc__Toggle-module__toggleState{left:calc(100% - 20px)}.mc__Toggle-module__toggleWrapper .mc__Toggle-module__toggleState{border-radius:8px;background:#fff;position:absolute;top:50%;left:4px;transform:translateY(-50%);transition:.2s all}.mc__Checkbox-module__checkboxWrapper{overflow:hidden;border:2px solid #c1c2c7;background:#fff;position:relative;padding:5px 4px;border-radius:3px;cursor:pointer;transition:.2;display:grid;place-items:center;width:18px;height:18px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.mc__Checkbox-module__checkboxWrapper .mc__Checkbox-module__checkMark{display:grid;place-items:center}.mc__Checkbox-module__checkboxWrapper .mc__Checkbox-module__checkMark svg{width:.625rem;user-select:none;pointer-events:none}.mc__Checkbox-module__checkboxWrapper.mc__Checkbox-module__error{border-color:#e3292f}.mc__Checkbox-module__checkboxWrapper.mc__Checkbox-module__error.mc__Checkbox-module__checked{background:#e3292f;border:none}.mc__Checkbox-module__checkboxWrapper.mc__Checkbox-module__checked{background:#0058ff;border:none}.mc__Checkbox-module__checkboxWrapper.mc__Checkbox-module__checked.mc__Checkbox-module__disabled{background:#95969c}.mc__Checkbox-module__checkboxWrapper.mc__Checkbox-module__disabled{cursor:not-allowed;border-color:#c1c2c7!important}.mc__Checkbox-module__Namespace_Hr.mc__Checkbox-module__checkboxWrapper.mc__Checkbox-module__checked{background:#32b45f;border:.0625rem solid #32b45f}.mc__Checkbox-module__Namespace_Hr.mc__Checkbox-module__checkboxWrapper.mc__Checkbox-module__checked:hover{background:#24994d;border:.0625rem solid #24994d}.mc__Checkbox-module__dark{background:#373a41;border:unset}.mc__Checkbox-module__dark.mc__Checkbox-module__checked{background:#0158ff;border:.0625rem solid #0158ff}.mc__Checkbox-module__dark.mc__Checkbox-module__checked.mc__Checkbox-module__disabled svg path{stroke:#d5d7da}.mc__Checkbox-module__dark.mc__Checkbox-module__disabled{background:#8d8d8d!important;border:.0625rem solid #373a41!important}.mc__Dropdown-module__dropdownWrapper{user-select:none;width:100%}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper{width:100%;cursor:pointer}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper .mc__Dropdown-module__dropdownInputSlot{display:flex;align-items:center;gap:2px;border-right:1px solid #e6e6e6}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper .mc__Dropdown-module__dropdownInputSlot p{overflow:hidden;color:#717680;font-feature-settings:"liga" off,"clig" off;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper .mc__Dropdown-module__dropdownInputSlot img{width:30px;height:30px;object-fit:contain}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper .mc__Dropdown-module__dropdownInputSlot .mc__Dropdown-module__dropdownRightIconArrow{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s ease-in-out;width:29px;height:24px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper .mc__Dropdown-module__dropdownInputSlot .mc__Dropdown-module__dropdownRightIconArrow.mc__Dropdown-module__focused{transform:rotate(180deg)}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper ul.mc__Dropdown-module__dropdownInputSlot{overflow:hidden;width:100%;display:flex;align-items:center;gap:6px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper ul.mc__Dropdown-module__dropdownInputSlot li.mc__Dropdown-module__dropdownInputSlotItem{border-radius:999px;background:#f2f2f2;min-width:80px;max-width:100px;display:flex;align-items:center;gap:6px;padding:6px 12px;cursor:default}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper ul.mc__Dropdown-module__dropdownInputSlot li.mc__Dropdown-module__dropdownInputSlotItem .mc__Dropdown-module__dropdownInputSlotItemLabel{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#131314;font-family:var(--font-inter-regular);font-size:12px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.1px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper ul.mc__Dropdown-module__dropdownInputSlot li.mc__Dropdown-module__dropdownInputSlotItem .mc__Dropdown-module__dropdownInputSlotItemClose{display:flex;justify-content:center;align-items:center;cursor:pointer}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper ul.mc__Dropdown-module__dropdownInputSlot li.mc__Dropdown-module__dropdownInputSlotItem.mc__Dropdown-module__dropdownInputSlotItemMore{justify-content:center;min-width:44px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper .mc__Dropdown-module__dropdownRightIcon{display:flex;align-items:center;gap:8px;margin:8px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper .mc__Dropdown-module__dropdownRightIcon .mc__Dropdown-module__dropdownRightIconClose{display:flex;align-items:center;justify-content:center;cursor:pointer}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper .mc__Dropdown-module__dropdownRightIcon .mc__Dropdown-module__dropdownRightIconArrow{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s ease-in-out}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownInputWrapper .mc__Dropdown-module__dropdownRightIcon.mc__Dropdown-module__focused .mc__Dropdown-module__dropdownRightIconArrow{transform:rotate(180deg)}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer{width:100%;z-index:500;padding:8px;border-radius:12px;border:1px solid #e6e6e6;background:#fff;box-shadow:0 2px 4px #1313140a;display:flex;flex-direction:column;gap:8px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList{width:100%;max-height:320px;overflow-y:auto;display:flex;flex-direction:column;align-items:flex-start;gap:2px;align-self:stretch}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem{width:100%;border-radius:4px;background:#fff;display:flex;padding:6px 16px 6px 6px;align-items:center;gap:8px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem.mc__Dropdown-module__selected{width:100%;border-radius:4px;background:#ecf3ff}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem.mc__Dropdown-module__selected .mc__Dropdown-module__dropdownItemLabel{width:100%}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem.mc__Dropdown-module__selected .mc__Dropdown-module__dropdownItemLabel p{width:100%;overflow:hidden;color:#0058ff!important;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem.mc__Dropdown-module__hovered{cursor:pointer}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem.mc__Dropdown-module__hovered:hover{background:#f2f2f2}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem.mc__Dropdown-module__disabled p:first-of-type{color:#95969c!important}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem .mc__Dropdown-module__itemCheckbox{display:flex;justify-content:center;align-items:center}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem .mc__Dropdown-module__dropdownItemLabel{width:calc(100% - 20px);display:flex;align-items:center;justify-content:space-between}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem .mc__Dropdown-module__dropdownItemLabel .mc__Dropdown-module__dropdownItemLabelInput{display:flex;align-items:center;gap:8px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem .mc__Dropdown-module__dropdownItemLabel .mc__Dropdown-module__dropdownItemLabelInput .mc__Dropdown-module__countryName{overflow:hidden;color:#131314;font-feature-settings:"liga" off,"clig" off;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem .mc__Dropdown-module__dropdownItemLabel .mc__Dropdown-module__dropdownItemLabelInput .mc__Dropdown-module__countryDialCode{overflow:hidden;color:#646569;font-feature-settings:"liga" off,"clig" off;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem .mc__Dropdown-module__dropdownItemLabel p:first-of-type:not(.mc__Dropdown-module__selectAll){width:100%}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem .mc__Dropdown-module__dropdownItemLabel p:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#131314;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__Dropdown-module__dropdownWrapper .mc__Dropdown-module__dropdownListContainer ul.mc__Dropdown-module__dropdownList li.mc__Dropdown-module__dropdownItem .mc__Dropdown-module__dropdownItemLabel p:last-of-type{overflow:hidden;color:#131314;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__TreeNode-module__treeNodeContainer{width:100%;display:flex;flex-direction:column;gap:.125rem}.mc__TreeNode-module__treeNodeContainer .mc__TreeNode-module__treeNodeItem{display:flex;flex-direction:column;gap:.125rem}.mc__TreeNode-module__treeNodeContainer .mc__TreeNode-module__treeNodeItem.mc__TreeNode-module__inDropDown{max-height:16rem;overflow:auto}.mc__TreeNode-module__treeNodeContainer .mc__TreeNode-module__treeNode{display:flex;flex-direction:column;gap:.125rem}.mc__TreeNode-module__treeNodeContainer .mc__TreeNode-module__treeNode.mc__TreeNode-module__visible{display:flex}.mc__TreeNode-module__treeNodeContainer .mc__TreeNode-module__treeNode.mc__TreeNode-module__hidden{display:none}.mc__TreeNode-module__treeNodeContainer .mc__TreeNode-module__treeNode .mc__TreeNode-module__labelRow{display:flex;align-items:center;gap:8px;border-radius:.375rem;background:#fff;padding:.5rem;cursor:pointer}.mc__TreeNode-module__treeNodeContainer .mc__TreeNode-module__treeNode .mc__TreeNode-module__labelRow:hover{background:#fafafa}.mc__TreeNode-module__treeNodeContainer .mc__TreeNode-module__treeNode .mc__TreeNode-module__labelRow .mc__TreeNode-module__label{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#131314;font-family:var(--font-inter-regular);font-size:12px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.1px}.mc__TreeNode-module__children{display:flex;flex-direction:column;gap:.125rem}.mc__TreeNode-module__dropdownListFooter{background-color:#fff;width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-top:2px solid #fafafa;margin-top:8px}.mc__TreeNode-module__dropdownListFooter span{font-size:.875rem;color:#3a3b3e;cursor:pointer}.mc__Radio-module__radioWrapper{width:24px;height:24px;border-radius:50%;overflow:hidden;position:relative;cursor:pointer;transition:.2s}.mc__Tooltip-module__tooltipContainer{position:relative}.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent{border-radius:.5rem;background:#181d27;padding:.75rem;max-width:200px;min-width:118px;position:absolute;z-index:99999;word-break:break-word}.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent.mc__Tooltip-module__withoutPointer:before{all:initial}.mc__Tooltip-module__tooltipContainer .mc__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}.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent.mc__Tooltip-module__top:before{top:100%;border-top-color:#181d27;left:var(--pointer-position)}.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent.mc__Tooltip-module__right:before{left:-6px;top:50%;transform:translate(0) translateY(-50%);border-right-color:#181d27}.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent.mc__Tooltip-module__bottom:before{bottom:100%;left:var(--pointer-position);border-bottom-color:#181d27}.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent.mc__Tooltip-module__left:before{left:auto;right:-12px;top:50%;transform:translate(0) translateY(-50%);border-left-color:#181d27}.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent .mc__Tooltip-module__tooltipTitle{width:100%;word-break:break-word;color:#fff;font-family:var(--font-inter-regular);font-size:.75rem;font-style:normal;font-weight:600;line-height:1.125rem}.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent .mc__Tooltip-module__tooltipText{width:100%;word-break:break-word;color:#ffffffe6;font-family:var(--font-inter-regular);font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}.mc__Tooltip-module__dark.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent{background:#fff}.mc__Tooltip-module__dark.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent.mc__Tooltip-module__top:before{border-top-color:#fff;left:var(--pointer-position)}.mc__Tooltip-module__dark.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent.mc__Tooltip-module__right:before{border-right-color:#fff}.mc__Tooltip-module__dark.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent.mc__Tooltip-module__bottom:before{border-bottom-color:#fff}.mc__Tooltip-module__dark.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent.mc__Tooltip-module__left:before{border-left-color:#fff}.mc__Tooltip-module__dark.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent .mc__Tooltip-module__tooltipTitle{color:#0c0e12}.mc__Tooltip-module__dark.mc__Tooltip-module__tooltipContainer .mc__Tooltip-module__tooltipContent .mc__Tooltip-module__tooltipText{color:#0c0e12e6}.mc__Popup-module__modalOverlay{width:100vw;height:100vh;display:grid;place-items:center;position:fixed;top:0;left:0;z-index:250;background:#0a0d12b3}.mc__Popup-module__modalOverlay ::-webkit-scrollbar{width:0}.mc__Popup-module__modalOverlay ::-webkit-scrollbar-track{-webkit-box-shadow:none}.mc__Popup-module__modalOverlay ::-webkit-scrollbar-thumb{background-color:none;outline:0}.mc__Popup-module__modalOverlay.mc__Popup-module__popupDrawerMode{overflow:hidden;place-items:end}.mc__Popup-module__modalOverlay.mc__Popup-module__popupDrawerMode .mc__Popup-module__popupContainer{min-height:unset;max-height:unset;min-width:17.5rem;height:100vh;animation:mc__Popup-module__EnterFromLeft .3s forwards}@keyframes mc__Popup-module__EnterFromLeft{0%{left:100%}to{left:0}}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer{padding:1.5rem;min-height:13.75rem;max-height:calc(100vh - 5.625rem);position:relative;transition:.2s;z-index:280;border-radius:.75rem;background:#fff;box-shadow:0 1.25rem 1.5rem -.25rem #0a0d1214,0 .5rem .5rem -.25rem #0a0d1208,0 .1875rem .1875rem -.0938rem #0a0d120a;animation:mc__Popup-module__fadeIn .3s forwards}@keyframes mc__Popup-module__fadeIn{0%{opacity:0}to{opacity:1}}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__closeButton{display:grid;place-items:center;cursor:pointer;position:absolute;top:1.25rem;right:1.5rem;z-index:14}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer.mc__Popup-module__withOptions{width:25rem}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer.mc__Popup-module__withOptions.mc__Popup-module__horizontal{width:34rem}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__popupHeader{width:100%;position:sticky;top:0;background:#fff;z-index:1}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__popupHeader .mc__Popup-module__popupTitle{margin-top:1rem}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__popupHeader .mc__Popup-module__popupTitle h2{color:#181d27;font-size:1.125rem;font-style:normal;font-weight:600;font-family:var(--font-inter-regular);line-height:1.75rem}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__popupHeader .mc__Popup-module__popupDescription{margin-top:.25rem}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__popupHeader .mc__Popup-module__popupDescription p{color:#535862;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem;font-family:var(--font-inter-regular)}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__popupHeader .mc__Popup-module__typeIcon{display:flex;align-items:center;justify-content:space-between}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__popupHeader .mc__Popup-module__typeIcon .mc__Popup-module__icon{display:grid;place-items:center;width:3rem;height:3rem;border-radius:624.9375rem}.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__templateWrapper{width:100%;position:relative}.mc__Popup-module__dark.mc__Popup-module__modalOverlay{background:#22262f75}.mc__Popup-module__dark.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer{background:#0c0e12;box-shadow:0 1.25rem 1.5rem -.25rem #0a0d1214,0 .5rem .5rem -.25rem #0a0d1208,0 .1875rem .1875rem -.0938rem #0a0d120a}.mc__Popup-module__dark.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__popupHeader{background:#0c0e12}.mc__Popup-module__dark.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__popupHeader .mc__Popup-module__popupTitle h2{color:#f7f7f7}.mc__Popup-module__dark.mc__Popup-module__modalOverlay .mc__Popup-module__popupContainer .mc__Popup-module__popupHeader .mc__Popup-module__popupDescription p{color:#94979c}.mc__NotificationToast-module__toastContainer{display:flex;flex-direction:column;gap:10px;position:fixed;z-index:9999999;width:328px}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast{padding:8px;border-radius:8px;width:100%}@keyframes mc__NotificationToast-module__fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes mc__NotificationToast-module__fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__fadeIn{animation:mc__NotificationToast-module__fadeIn .3s ease-out}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__fadeOut{animation:mc__NotificationToast-module__fadeOut .3s ease-in forwards}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__neutral{background:#131314}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__neutral.mc__NotificationToast-module__filled{border:1px solid #222224;background:#f2f2f2}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__neutral.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentLeftTextTitle,.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__neutral.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentRightUndoText,.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__neutral.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentLeftTextDescription{color:#131314!important}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__info{background:#0058ff}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__info.mc__NotificationToast-module__filled{border:1px solid #0058ff;background:#ecf3ff}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__info.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentLeftTextTitle,.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__info.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentRightUndoText,.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__info.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentLeftTextDescription{color:#0058ff!important}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__error{background:#e3292f}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__error.mc__NotificationToast-module__filled{border:1px solid #f63e45;background:#fff2f2}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__error.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentLeftTextTitle,.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__error.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentRightUndoText,.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__error.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentLeftTextDescription{color:#e3292f!important}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__success{background:#328707}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__success.mc__NotificationToast-module__filled{border:1px solid #399c08;background:#effce8}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__success.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentLeftTextTitle,.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__success.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentRightUndoText,.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast.mc__NotificationToast-module__success.mc__NotificationToast-module__filled .mc__NotificationToast-module__notificationToastContentLeftTextDescription{color:#328707!important}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast .mc__NotificationToast-module__notificationToastContent{width:100%;display:flex;align-items:center;justify-content:space-between}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast .mc__NotificationToast-module__notificationToastContent .mc__NotificationToast-module__notificationToastContentLeft{width:100%;display:flex;align-items:center;gap:8px}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast .mc__NotificationToast-module__notificationToastContent .mc__NotificationToast-module__notificationToastContentLeft .mc__NotificationToast-module__notificationToastContentInfoIcon{display:flex;align-items:center;justify-content:center}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast .mc__NotificationToast-module__notificationToastContent .mc__NotificationToast-module__notificationToastContentLeft .mc__NotificationToast-module__notificationToastContentLeftText{width:100%;display:flex;flex-direction:column;gap:10px}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast .mc__NotificationToast-module__notificationToastContent .mc__NotificationToast-module__notificationToastContentLeft .mc__NotificationToast-module__notificationToastContentLeftText .mc__NotificationToast-module__notificationToastContentLeftTextTitle{width:100%;overflow:hidden;color:#fff;text-overflow:ellipsis;font-family:var(--font-inter-medium);font-size:14px;font-style:normal;font-weight:450;letter-spacing:.1px}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast .mc__NotificationToast-module__notificationToastContent .mc__NotificationToast-module__notificationToastContentLeft .mc__NotificationToast-module__notificationToastContentLeftText .mc__NotificationToast-module__notificationToastContentLeftTextDescription{width:100%;color:#fff;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;letter-spacing:0px}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast .mc__NotificationToast-module__notificationToastContent .mc__NotificationToast-module__notificationToastContentRight{display:flex;align-items:center;gap:10px}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast .mc__NotificationToast-module__notificationToastContent .mc__NotificationToast-module__notificationToastContentRight *{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast .mc__NotificationToast-module__notificationToastContent .mc__NotificationToast-module__notificationToastContentRight .mc__NotificationToast-module__notificationToastContentRightUndoText{overflow:hidden;color:#fff;text-align:center;font-feature-settings:"liga" off,"clig" off;text-overflow:ellipsis;font-family:var(--font-inter-medium);font-size:14px;font-style:normal;font-weight:450;line-height:24px;letter-spacing:.1px;cursor:pointer}.mc__NotificationToast-module__toastContainer .mc__NotificationToast-module__notificationToast .mc__NotificationToast-module__notificationToastContent .mc__NotificationToast-module__notificationToastContentRight .mc__NotificationToast-module__notificationToastContentRightClose{display:flex;align-items:center;justify-content:center;cursor:pointer;padding-left:10px;border-left:2px solid rgba(255,255,255,.25)}.mc__TimePicker-module__timepickerWrapper{user-select:none;scroll-behavior:smooth;width:100%}.mc__TimePicker-module__timepickerWrapper *{scrollbar-width:none}.mc__TimePicker-module__timepickerWrapper *::-webkit-scrollbar{display:none}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerInputWrapper{width:100%}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerInputWrapper .mc__TimePicker-module__dropdownRightIcon{display:flex;align-items:center;gap:8px;margin:8px}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerInputWrapper .mc__TimePicker-module__dropdownRightIcon .mc__TimePicker-module__dropdownRightIconClose{display:flex;align-items:center;justify-content:center;cursor:pointer}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerInputWrapper .mc__TimePicker-module__dropdownRightIcon .mc__TimePicker-module__dropdownRightIconArrow{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s ease-in-out}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerInputWrapper .mc__TimePicker-module__dropdownRightIcon.mc__TimePicker-module__focused .mc__TimePicker-module__dropdownRightIconArrow{transform:rotate(180deg)}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper{width:218px;border-radius:12px;box-shadow:0 2px 4px #1313140a;border:1px solid #e6e6e6;background:#fff;display:flex;flex-direction:column;gap:8px;z-index:150}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownHeader{padding:8px 8px 0}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownHeader .mc__TimePicker-module__timepickerDropdownHeaderButtons{width:100%;display:flex;justify-content:space-between;gap:2px;border-radius:8px;background:#f2f2f2;padding:2px}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownHeader p{padding:5px 20px;color:#646569;font-feature-settings:"liga" off,"clig" off;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px;cursor:pointer}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownHeader p.mc__TimePicker-module__active{color:#131314;border-radius:6px;background:#fff;box-shadow:0 2px 4px #1313140a}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownBody{width:100%;display:flex;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownBody .mc__TimePicker-module__timepickerDropdownBodyHours{width:50%;display:flex;flex-direction:column;align-items:center;height:230px;overflow-y:auto;border-right:1px solid #e6e6e6;padding:8px}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownBody .mc__TimePicker-module__timepickerDropdownBodyMinutes{width:50%;display:flex;flex-direction:column;align-items:center;height:230px;overflow-y:auto;padding:8px}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownBody .mc__TimePicker-module__timepickerDropdownBodyAmPm{width:50%;display:flex;flex-direction:column;align-items:center;height:230px;overflow-y:auto;border-left:1px solid #e6e6e6;padding:8px}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownBody p{padding:6px 10px;border-radius:4px;cursor:pointer;width:100%;color:#131314;text-align:center;font-feature-settings:"liga" off,"clig" off;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownBody p:hover{background:#fafafa}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownBody p.mc__TimePicker-module__active{background:#ecf3ff;color:#0058ff}.mc__TimePicker-module__timepickerWrapper .mc__TimePicker-module__timepickerDropdownWrapper .mc__TimePicker-module__timepickerDropdownFooter{padding:8px}.mc__Datepicker-module__datepickerContainer{width:100%;user-select:none;scroll-behavior:smooth}.mc__Datepicker-module__datepickerContainer::-webkit-scrollbar{display:block!important;width:0}.mc__Datepicker-module__datepickerContainer::-webkit-scrollbar-thumb{opacity:0}.mc__Datepicker-module__datepickerContainer .mc__Datepicker-module__datepickerInputWrapper{width:100%;cursor:pointer}.mc__Datepicker-module__datepickerContainer .mc__Datepicker-module__datepickerInputWrapper .mc__Datepicker-module__datepickerLeftIcon{display:flex;align-items:center;justify-content:center}.mc__Datepicker-module__datepickerContainer .mc__Datepicker-module__datepickerInputWrapper .mc__Datepicker-module__datepickerRightIcon{display:flex;align-items:center;justify-content:center;cursor:pointer}.mc__Calendar-module__datePicker{z-index:500;position:absolute;left:0;top:calc(100% + 8px);display:flex;border-radius:.75rem;border:1px solid #e9eaeb;background:#fff;box-shadow:0 20px 24px -4px #0a0d1214,0 8px 8px -4px #0a0d1208,0 3px 3px -1.5px #0a0d120a;width:279px}.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendar,.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendarWithQuick{padding:1rem}.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendar .mc__Calendar-module__border,.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendarWithQuick .mc__Calendar-module__border{width:.0625rem;background-color:#e9eaeb;margin:0 8px}.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendar .mc__Calendar-module__calendarWrapper,.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendarWithQuick .mc__Calendar-module__calendarWrapper{width:100%;display:flex;flex-direction:row;justify-content:space-between}.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendar .mc__Calendar-module__quickPick,.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendarWithQuick .mc__Calendar-module__quickPick{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;min-width:160px}.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendar .mc__Calendar-module__quickPick li,.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendarWithQuick .mc__Calendar-module__quickPick li{width:100%;padding:8px;color:#414651;font-family:var(--font-inter-regular);font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem;border-radius:.375rem}.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendar .mc__Calendar-module__quickPick li:hover,.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendarWithQuick .mc__Calendar-module__quickPick li:hover{background:#fafafa;text-decoration:unset}.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendar{width:656px}.mc__Calendar-module__datePicker.mc__Calendar-module__dualCalendarWithQuick{width:848px}.mc__Calendar-module__datePicker .mc__Calendar-module__datePickerHeader{width:100%;display:flex;flex-direction:column;gap:8px;padding:8px}.mc__Calendar-module__datePicker .mc__Calendar-module__datePickerHeader span{color:#414651;text-align:center;font-size:1rem;font-style:normal;font-weight:600;line-height:1.5rem}.mc__Calendar-module__datePicker .mc__Calendar-module__div{width:100%}.mc__Calendar-module__datePicker .mc__Calendar-module__div span{font-family:var(--font-inter-regular)}.mc__Calendar-module__datePicker .mc__Calendar-module__currentDateHeader{overflow:hidden;color:#131314;text-align:center;font-feature-settings:"liga" off,"clig" off;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:450;line-height:24px;letter-spacing:.1px;padding:6px 16px;border-radius:6px;border:1px solid #e6e6e6;background:#fff;cursor:pointer}.mc__Calendar-module__datePicker .mc__Calendar-module__left,.mc__Calendar-module__datePicker .mc__Calendar-module__right{display:flex;justify-content:center;align-items:center;cursor:pointer}.mc__Calendar-module__datePicker .mc__Calendar-module__left .mc__Calendar-module__singleIcon,.mc__Calendar-module__datePicker .mc__Calendar-module__left .mc__Calendar-module__doubleIcon,.mc__Calendar-module__datePicker .mc__Calendar-module__right .mc__Calendar-module__singleIcon,.mc__Calendar-module__datePicker .mc__Calendar-module__right .mc__Calendar-module__doubleIcon{display:flex;justify-content:center;align-items:center}.mc__Calendar-module__datePicker .mc__Calendar-module__left .mc__Calendar-module__singleIcon:hover,.mc__Calendar-module__datePicker .mc__Calendar-module__left .mc__Calendar-module__doubleIcon:hover,.mc__Calendar-module__datePicker .mc__Calendar-module__right .mc__Calendar-module__singleIcon:hover,.mc__Calendar-module__datePicker .mc__Calendar-module__right .mc__Calendar-module__doubleIcon:hover{opacity:.6}.mc__Calendar-module__datePicker .mc__Calendar-module__left .mc__Calendar-module__doubleIcon svg:first-of-type,.mc__Calendar-module__datePicker .mc__Calendar-module__right .mc__Calendar-module__doubleIcon svg:first-of-type{margin-right:-15px}.mc__Calendar-module__datePicker .mc__Calendar-module__left span,.mc__Calendar-module__datePicker .mc__Calendar-module__right span{position:relative}.mc__Calendar-module__datePicker .mc__Calendar-module__left span:after,.mc__Calendar-module__datePicker .mc__Calendar-module__right span:after{position:absolute;top:4px;inset-inline-start:4px;display:inline-block;width:7px;height:7px;border:0 solid currentcolor;border-block-start-width:1.5px;border-block-end-width:0;border-inline-start-width:1.5px;border-inline-end-width:0;color:#a4a7ae;content:""}.mc__Calendar-module__datePicker .mc__Calendar-module__left span:before,.mc__Calendar-module__datePicker .mc__Calendar-module__right span:before{position:absolute;top:0;inset-inline-start:0;display:inline-block;width:7px;height:7px;border:0 solid currentcolor;border-block-start-width:1.5px;border-block-end-width:0;border-inline-start-width:1.5px;border-inline-end-width:0;color:#a4a7ae;content:""}.mc__Calendar-module__datePicker .mc__Calendar-module__calendarWrapper{padding:0 8px;width:100%;display:flex;flex-direction:column;justify-content:space-between}.mc__Calendar-module__datePicker table{border-collapse:collapse;border-spacing:0 0}.mc__Calendar-module__datePicker table thead{border-bottom:2px solid #e6e6e6}.mc__Calendar-module__datePicker table thead tr th{color:#7a7b80}.mc__Calendar-module__datePicker table tbody{margin-top:12px}.mc__Calendar-module__datePicker table .mc__Calendar-module__spacerRow td{height:4px;border:none;padding:0}.mc__Calendar-module__datePicker table th,.mc__Calendar-module__datePicker table td:not(.mc__Calendar-module__spacerRow td){text-align:center;color:#131314;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:450;line-height:24px;letter-spacing:.1px;width:36px;height:36px;padding:6px;border-radius:6px;background:#fff}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day{cursor:pointer;border-radius:6px;font-size:.875rem;line-height:1.25rem;box-sizing:border-box!important}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day:hover{background:#fafafa}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__today{position:relative}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__today:before{content:"";position:absolute;bottom:4px;left:50%;transform:translate(-50%);background-color:#0158ff;width:5px;height:5px;border-radius:50%;z-index:1}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__inRange{background:#f2f2f2}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__selected,.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__startDate,.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__endDate{background-color:#0158ff;color:#fff;position:relative}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__disabled{color:#a4a7ae;pointer-events:none;opacity:.4}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__endDate:before{background-color:#fafafa;width:20px;height:40px;position:absolute;top:0;inset-inline-start:0;inset-inline-end:0;z-index:-1;content:""}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__startDate:before{background-color:#fafafa;width:20px;height:40px;position:absolute;top:0;right:0;z-index:-1;content:""}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__endDate.mc__Calendar-module__startDate:before{content:none}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__otherMonth{color:#95969c;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:450;line-height:24px;letter-spacing:.1px}.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__otherMonth.mc__Calendar-module__startDate,.mc__Calendar-module__datePicker table td.mc__Calendar-module__day.mc__Calendar-module__otherMonth.mc__Calendar-module__endDate{color:#fff}.mc__Calendar-module__datePicker ul.mc__Calendar-module__monthsWrapper{width:100%;display:flex;flex-direction:column;gap:2px;height:257px;overflow:auto}.mc__Calendar-module__datePicker ul.mc__Calendar-module__monthsWrapper li.mc__Calendar-module__month{width:100%;border-radius:4px;background:#fff;padding:6px 10px;cursor:pointer;color:#131314;font-feature-settings:"liga" off,"clig" off;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.1px}.mc__Calendar-module__datePicker ul.mc__Calendar-module__monthsWrapper li.mc__Calendar-module__month.mc__Calendar-module__pickedMonth{background:#ecf3ff;color:#0158ff}.mc__Calendar-module__datePicker .mc__Calendar-module__buttonWrapper{margin-top:8px;padding:8px;border-top:1px solid #e6e6e6}.mc__Skeleton-module__skeleton{background-color:#e0e0e0;border-radius:4px;position:relative;overflow:hidden;display:grid;place-items:center}.mc__Skeleton-module__skeleton:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff0,#ffffff80,#fff0);animation:mc__Skeleton-module__shimmer 1.5s infinite}.mc__Skeleton-module__text{height:1rem;width:100%;margin:8px 0}.mc__Skeleton-module__avatar{height:40px;width:40px;border-radius:50%}@keyframes mc__Skeleton-module__shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.mc__Skeleton-module__dark.mc__Skeleton-module__skeleton{background-color:#5a5a5a}.mc__Skeleton-module__dark.mc__Skeleton-module__skeleton:after{background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.2) 50%,transparent 100%)}.mc__ActionDropdown-module__actionDropdownContainer{width:100%}.mc__ActionDropdown-module__actionDropdownContainer.mc__ActionDropdown-module__collapsed .mc__ActionDropdown-module__actionDropdownIcon{transform:rotate(180deg)}.mc__ActionDropdown-module__actionDropdownContainer .mc__ActionDropdown-module__actionDropdownContent{width:100%;border-radius:6px;background:#f2f2f2;display:flex;align-items:center;justify-content:space-between;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.mc__ActionDropdown-module__actionDropdownContainer .mc__ActionDropdown-module__actionDropdownContent .mc__ActionDropdown-module__actionDropdownTitle{width:90%;white-space:nowrap;overflow:hidden;color:#131314;font-feature-settings:"liga" off,"clig" off;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-weight:400;line-height:24px;letter-spacing:.1px;border-right:1px solid #ffffff;padding:8px 16px}.mc__ActionDropdown-module__actionDropdownContainer .mc__ActionDropdown-module__actionDropdownContent .mc__ActionDropdown-module__actionDropdownIcon{display:flex;align-items:center;justify-content:center;padding:8px;width:40px;height:40px;transition:transform .2s ease-in-out}.mc__ActionDropdown-module__actionDropdownContainer .mc__ActionDropdown-module__actionDropdownList{width:100%;border-radius:12px;border:1px solid #e6e6e6;background:#fff;box-shadow:0 2px 4px #1313140a;height:250px;overflow:auto;padding:8px;z-index:150}.mc__ActionDropdown-module__actionDropdownContainer .mc__ActionDropdown-module__actionDropdownList .mc__ActionDropdown-module__actionDropdownItem{width:100%;border-radius:4px;background:#fff;padding:6px 10px;overflow:hidden;color:#131314;font-feature-settings:"liga" off,"clig" off;text-overflow:ellipsis;font-family:var(--font-inter-regular);font-size:14px;font-weight:400;line-height:24px;letter-spacing:.1px;cursor:pointer}.mc__ActionDropdown-module__actionDropdownContainer .mc__ActionDropdown-module__actionDropdownList .mc__ActionDropdown-module__actionDropdownItem:hover,.mc__ActionDropdown-module__actionDropdownContainer .mc__ActionDropdown-module__actionDropdownList .mc__ActionDropdown-module__actionDropdownItem.mc__ActionDropdown-module__selected{border-radius:4px;background:#f2f2f2}.mc__InlineLoading-module__inlineLoadingWrapper{width:100%}.mc__InlineLoading-module__inlineLoadingWrapper div{display:flex;gap:.5rem}.mc__InlineLoading-module__inlineLoadingWrapper div.mc__InlineLoading-module__loading svg{animation:mc__InlineLoading-module__anim 1s infinite linear}@keyframes mc__InlineLoading-module__anim{to{transform:rotate(1turn)}}.mc__InlineLoading-module__inlineLoadingWrapper div span{color:#181d27;font-family:var(--font-inter-regular);font-size:var(--Font-size-text-md, 16px);font-style:normal;font-weight:400;line-height:1.125rem;font-size:.75rem}.mc__InlineLoading-module__dark.mc__InlineLoading-module__inlineLoadingWrapper span{color:#f7f7f7}.mc__Slider-module__sliderContainer{width:100%;display:flex;flex-direction:column;align-items:center}.mc__Slider-module__slider{position:relative;width:100%;height:4px;border-radius:50%;background:#e6e6e6;cursor:pointer}.mc__Slider-module__sliderProgress{position:absolute;height:4px;border-radius:624.9375rem;background:#0058ff}.mc__Slider-module__thumb{position:absolute;top:50%;width:20px;height:20px;cursor:grab;border-radius:999px;border:3px solid #fff;background:#0058ff;box-shadow:0 2px 4px #1313141f;padding:10px;transform:translate(-50%,-50%);z-index:2}.mc__Slider-module__thumb:active{cursor:grabbing}.mc__Slider-module__thumbLeft{z-index:3}.mc__Slider-module__thumbRight{z-index:4}.mc__Slider-module__thumbSingle{z-index:2}.mc__Slider-module__tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:8px;padding:4px 8px;border-radius:6px;background:#131314;box-shadow:0 2px 4px #1313140a,0 8px 16px #1313141a;color:#fff;font-size:13px;font-family:var(--font-inter-regular);font-style:normal;font-weight:450;line-height:20px;letter-spacing:0;z-index:1000;opacity:1;transition:opacity .2s ease-in-out,transform .2s ease-in-out;min-width:max-content;--arrow-position: 50%}.mc__Slider-module__tooltip:after{content:"";position:absolute;top:100%;left:var(--arrow-position);transform:translate(-50%);border:4px solid transparent;border-top-color:#181d27;transition:left .2s ease-in-out}.mc__Slider-module__values{margin-top:24px;display:flex;padding:.5rem .75rem;border-radius:.5rem;border:1px solid #e9eaeb;background:#fff}.mc__Slider-module__values span{color:#181d27;font-family:var(--font-inter-regular);font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.mc__Slider-module__values.mc__Slider-module__top{position:absolute;bottom:calc(100% + .375rem);right:50%;transform:translate(50%)}.mc__Slider-module__values.mc__Slider-module__top span{color:#414651;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:600;line-height:1.125rem}.mc__Slider-module__values.mc__Slider-module__bottom{position:absolute;top:20%;right:50%;transform:translate(50%)}.mc__Slider-module__values.mc__Slider-module__bottom span{color:#414651;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:600;line-height:1.125rem}.mc__FilterWithTags-module__filterWithTagsContainer{width:100%;display:flex;align-items:center}.mc__FilterWithTags-module__filterWithTagsContainer .mc__FilterWithTags-module__filterWithTagsButton{display:flex;align-items:center;justify-content:center;width:40px;height:40px;cursor:pointer}.mc__FilterWithTags-module__filterWithTagsContainer .mc__FilterWithTags-module__filterWithTagsPopupTitle{color:#181d27;font-family:var(--font-inter-semibold);font-size:20px;font-style:normal;font-weight:600;line-height:30px}.mc__FilterWithTags-module__filterWithTagsContainer .mc__FilterWithTags-module__filterWithTagsPopupContent{width:100%}.mc__FilterWithTags-module__filterWithTagsContainer .mc__FilterWithTags-module__filterWithTagsPopupContent.mc__FilterWithTags-module__filterWithTagsPopupContentDrawer{height:calc(100vh - 106px)}.mc__FilterWithTags-module__filterWithTagsContainer .mc__FilterWithTags-module__filterWithTagsPopupFooter{display:flex;align-items:center;justify-content:space-between;width:100%}.mc__FilterContent-module__filterContent{width:100%;display:flex;flex-direction:column;gap:16px;padding:16px 0}.mc__FilterContent-module__filterContent .mc__FilterContent-module__filterContentOptionHeader .mc__FilterContent-module__filterContentOptionTitle{color:#181d27;font-family:var(--font-inter-semibold);font-size:16px;font-style:normal;font-weight:600;line-height:24px}.mc__FilterContent-module__filterContent .mc__FilterContent-module__filterContentOption:not(.mc__FilterContent-module__filterContentOptionLast){padding-bottom:16px;border-bottom:1px solid #e9eaeb}.mc__Table-module__tableContainer *{font-family:var(--font-inter-regular)}.mc__Table-module__tableContainer *::-webkit-scrollbar{width:4px}.mc__Table-module__tableContainer *::-webkit-scrollbar-track{border-radius:1px;background-color:#f2f2f2}.mc__Table-module__tableContainer *::-webkit-scrollbar-thumb{border-radius:8px;background-color:#13131440}.mc__Table-module__tableContainer .mc__Table-module__tableWrapper{width:100%;overflow-x:auto;background-color:#fff;border:1px solid #e6e6e6;border-bottom:none;border-right:none}.mc__Table-module__tableContainer .mc__Table-module__tableWrapper::-webkit-scrollbar{height:4px}.mc__Table-module__tableContainer .mc__Table-module__tableWrapper::-webkit-scrollbar-track{border-radius:1px;background-color:#f2f2f2}.mc__Table-module__tableContainer .mc__Table-module__tableWrapper::-webkit-scrollbar-thumb{border-radius:8px;background-color:#13131440}.mc__Table-module__tableContainer .mc__Table-module__tableWrapper.mc__Table-module__resizing{user-select:none;cursor:col-resize}.mc__Table-module__tableContainer .mc__Table-module__table{width:100%;border-collapse:collapse;font-size:14px;font-weight:400;min-width:600px;color:#131314;background-color:#fff;table-layout:fixed}.mc__Table-module__tableContainer th,.mc__Table-module__tableContainer td{padding:12px 16px;border-bottom:1px solid #eaeaea;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-right:1px solid #e6e6e6}.mc__Table-module__tableContainer th{background-color:#fdfdfd;font-weight:550;font-size:14px;line-height:20px;color:#131314;letter-spacing:.1px;user-select:none;position:relative}.mc__Table-module__tableContainer .mc__Table-module__headerContent{display:flex;align-items:center;width:100%;overflow:hidden;text-overflow:ellipsis;gap:4px;font-family:var(--font-inter-semibold)}.mc__Table-module__tableContainer .mc__Table-module__resizeHandle{position:absolute;right:0;top:0;bottom:0;width:5px;background-color:transparent;cursor:col-resize;transition:background-color .2s ease;z-index:10}.mc__Table-module__tableContainer tr:hover td{background-color:#fcfcfc}.mc__Table-module__tableContainer .mc__Table-module__clickable:hover{cursor:pointer}.mc__Table-module__tableContainer .mc__Table-module__empty{text-align:center;color:#999;font-style:italic;padding:40px 0;font-size:15px;background-color:#fefefe}.mc__Table-module__tableContainer .mc__Table-module__checkboxHeader{width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important;text-align:center;overflow:hidden;white-space:normal!important;text-overflow:clip!important}.mc__Table-module__tableContainer .mc__Table-module__checkboxCell{width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important;text-align:center;overflow:visible!important;white-space:normal!important;text-overflow:clip!important}.mc__Table-module__tableContainer .mc__Table-module__checkbox{width:16px;height:16px;cursor:pointer;accent-color:#0058ff;appearance:none;-webkit-appearance:none;-moz-appearance:none;border:2px solid #c1c2c7;border-radius:3px;background-color:#fff;position:relative}.mc__Table-module__tableContainer .mc__Table-module__checkbox:checked{background-color:#0058ff;border-color:#0058ff}.mc__Table-module__tableContainer .mc__Table-module__checkbox:checked:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:8px;height:6px;background-color:#fff;mask:url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.7 0.3C7.3 -0.1 6.7 -0.1 6.3 0.3L3 3.6L1.7 2.3C1.3 1.9 0.7 1.9 0.3 2.3C-0.1 2.7 -0.1 3.3 0.3 3.7L2.3 5.7C2.5 5.9 2.7 6 3 6C3.3 6 3.5 5.9 3.7 5.7L7.7 1.7C8.1 1.3 8.1 0.7 7.7 0.3Z' fill='white'/%3E%3C/svg%3E") no-repeat center;mask-size:contain;-webkit-mask:url("data:image/svg+xml,%3Csvg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.7 0.3C7.3 -0.1 6.7 -0.1 6.3 0.3L3 3.6L1.7 2.3C1.3 1.9 0.7 1.9 0.3 2.3C-0.1 2.7 -0.1 3.3 0.3 3.7L2.3 5.7C2.5 5.9 2.7 6 3 6C3.3 6 3.5 5.9 3.7 5.7L7.7 1.7C8.1 1.3 8.1 0.7 7.7 0.3Z' fill='white'/%3E%3C/svg%3E") no-repeat center;-webkit-mask-size:contain}.mc__Table-module__tableContainer .mc__Table-module__checkbox:hover{border-color:#0058ff}.mc__Table-module__tableContainer .mc__Table-module__checkbox:focus{outline:2px solid rgba(0,88,255,.25);outline-offset:1px}.mc__Table-module__tableContainer .mc__Table-module__tableHeader{color:#131314;font-size:14px;line-height:24px;font-weight:550;margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;min-height:24px;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.mc__Table-module__tableContainer .mc__Table-module__tableHeader.mc__Table-module__visible{opacity:1;visibility:visible}.mc__Table-module__tableContainer .mc__Table-module__tableHeader .mc__Table-module__tableHeaderLeftContent{display:flex;align-items:center;gap:8px}.mc__Table-module__tableContainer .mc__Table-module__tableHeader .mc__Table-module__tableHeaderLeftContent .mc__Table-module__actionButton{display:flex;align-items:center;gap:8px;background-color:#f2f2f2;padding:6px 12px;border-radius:6px;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.1px}.mc__Table-module__tableContainer .mc__Table-module__tableHeader .mc__Table-module__tableHeaderLeftContent .mc__Table-module__actionButton:hover{cursor:pointer;background-color:#e6e6e6}.mc__Table-module__tableContainer .mc__Table-module__tableHeader .mc__Table-module__tableHeaderRightContent{display:flex;align-items:center}.mc__Table-module__tableContainer .mc__Table-module__tableHeader .mc__Table-module__tableHeaderSeparator{width:2px;height:20px;background-color:#d4d5d6;border-radius:2px}.mc__Table-module__tableContainer .mc__Table-module__paginationFooter{display:flex;align-items:center;justify-content:space-between;padding:16px 0}.mc__Table-module__tableContainer .mc__Table-module__paginationFooter .mc__Table-module__pagination{display:flex;align-items:center;gap:16px}.mc__Table-module__tableContainer .mc__Table-module__paginationFooter .mc__Table-module__pagination .mc__Table-module__paginationButton{background-color:transparent;border:none;border-radius:6px;padding:8px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;color:#131314;cursor:pointer;transition:all .2s ease}.mc__Table-module__tableContainer .mc__Table-module__paginationFooter .mc__Table-module__pagination .mc__Table-module__paginationButton:hover:not(:disabled){background-color:#f8f9fa;color:#0058ff}.mc__Table-module__tableContainer .mc__Table-module__paginationFooter .mc__Table-module__pagination .mc__Table-module__paginationButton:disabled{border-color:#e5e7eb;color:#9ca3af;cursor:not-allowed}.mc__Table-module__tableContainer .mc__Table-module__paginationFooter .mc__Table-module__pagination .mc__Table-module__paginationButton:disabled svg path{fill:#c1c2c7}.mc__Table-module__tableContainer .mc__Table-module__paginationFooter .mc__Table-module__pagination .mc__Table-module__paginationButton:focus{outline:2px solid rgba(0,88,255,.25);outline-offset:1px}.mc__Table-module__tableContainer .mc__Table-module__paginationFooter .mc__Table-module__pagination .mc__Table-module__paginationInfo{font-size:14px;color:#6b7280;font-weight:500;font-family:var(--font-inter-regular)}.mc__Table-module__tableContainer .mc__Table-module__paginationFooter .mc__Table-module__paginationRight{display:flex;align-items:center;gap:8px}.mc__Table-module__tableContainer .mc__Table-module__paginationFooter .mc__Table-module__paginationRight .mc__Table-module__paginationInfo,.mc__Table-module__tableContainer .mc__Table-module__paginationFooter .mc__Table-module__paginationRight .mc__Table-module__paginationSelectLabel{color:#73757a;font-size:14px;font-style:normal;font-weight:400;line-height:36px;letter-spacing:.14px}.mc__Table-module__tableContainer .mc__Table-module__paginationFooter .mc__Table-module__paginationRight .mc__Table-module__divider{font-weight:500;width:2px;height:16px;background-color:#ccc;border-radius:2px}.mc__Table-module__tableContainer .mc__Table-module__actionsHeader{width:48px!important;min-width:48px!important;max-width:48px!important;text-align:center;padding:0!important;overflow:hidden;white-space:normal!important;text-overflow:clip!important;justify-content:center}.mc__Table-module__tableContainer .mc__Table-module__actionsCell{width:48px!important;min-width:48px!important;max-width:48px!important;text-align:center;padding:0!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;position:relative}.mc__Table-module__tableContainer .mc__Table-module__actionsContainer{position:relative;display:flex;align-items:center;justify-content:center;height:100%}.mc__Table-module__tableContainer .mc__Table-module__actionsTrigger{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px;cursor:pointer;transition:background-color .2s ease}.mc__Table-module__tableContainer .mc__Table-module__actionsTrigger:hover{background-color:#f2f2f2}.mc__Table-module__tableContainer .mc__Table-module__actionsMenu{position:absolute;top:100%;right:0;background-color:#fff;border:1px solid #e6e6e6;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:1000;min-width:120px;overflow:hidden;margin-top:4px}.mc__Table-module__tableContainer .mc__Table-module__actionsMenu.mc__Table-module__actionsMenuFixed{position:fixed;margin-top:0;top:auto;right:auto}.mc__Table-module__tableContainer .mc__Table-module__actionItem{display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:14px;color:#131314;cursor:pointer;transition:background-color .2s ease;white-space:nowrap}.mc__Table-module__tableContainer .mc__Table-module__actionItem:hover{background-color:#f6f8ff}.mc__Table-module__tableContainer .mc__Table-module__actionItem:first-child{border-top-left-radius:8px;border-top-right-radius:8px}.mc__Table-module__tableContainer .mc__Table-module__actionItem:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.mc__Table-module__tableContainer .mc__Table-module__actionItem svg{flex-shrink:0}.mc__Table-module__tableContainer .mc__Table-module__rowsPerPageDropdown{position:relative;display:inline-block}.mc__Table-module__tableContainer .mc__Table-module__rowsPerPageList{position:absolute;left:0;background-color:#fff;border:1px solid #e6e6e6;border-radius:6px;box-shadow:0 4px 12px #00000026;z-index:1000;min-width:100%;margin:0;list-style:none;display:flex;flex-direction:column;gap:2px}.mc__Table-module__tableContainer .mc__Table-module__rowsPerPageList.mc__Table-module__openDownward{top:calc(100% + 4px)}.mc__Table-module__tableContainer .mc__Table-module__rowsPerPageList.mc__Table-module__openUpward{bottom:calc(100% + 4px)}.mc__Table-module__tableContainer .mc__Table-module__rowsPerPageOption{padding:8px 12px;font-size:14px;color:#131314;cursor:pointer;transition:background-color .2s ease;white-space:nowrap}.mc__Table-module__tableContainer .mc__Table-module__rowsPerPageOption:hover{background:#f2f2f2}.mc__Table-module__tableContainer .mc__Table-module__rowsPerPageOption.mc__Table-module__selected{background:#ecf3ff}.mc__Table-module__tableContainer .mc__Table-module__rowsPerPageOption:first-child{border-top-left-radius:6px;border-top-right-radius:6px}.mc__Table-module__tableContainer .mc__Table-module__rowsPerPageOption:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.mc__Table-module__tableContainer .mc__Table-module__gridHeader{display:flex;align-items:center;justify-content:space-between;padding:16px 0}.mc__Table-module__tableContainer .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration{display:flex;align-items:center;gap:8px;position:relative}.mc__Table-module__tableContainer .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration .mc__Table-module__columnConfigurationIcon{padding:8px;width:32px;height:32px;border-radius:8px;background-color:#fafafa;transition:background-color .2s ease;display:flex;align-items:center;justify-content:center}.mc__Table-module__tableContainer .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration .mc__Table-module__columnConfigurationIcon:hover{cursor:pointer;background-color:#f2f2f2}.mc__Table-module__tableContainer .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown{position:absolute;right:calc(100% - 8px);top:40px;width:200px;max-height:320px;overflow-y:auto;display:flex;flex-direction:column;align-items:flex-start;gap:2px;align-self:stretch;z-index:1500;padding:8px;border-radius:12px;border:1px solid #e6e6e6;background:#fff;box-shadow:0 2px 4px #1313140a}.mc__Table-module__tableContainer .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown li{width:100%;border-radius:4px;background:#fff;display:flex;padding:6px 16px 6px 6px;align-items:center;gap:8px;transition:all .2s ease}.mc__Table-module__tableContainer .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown li:hover{cursor:pointer;background-color:#f2f2f2}.mc__Table-module__tableContainer .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown li.mc__Table-module__dragging{opacity:.5;transform:rotate(2deg);background-color:#e3f2fd;border:1px dashed #2196f3}.mc__Table-module__tableContainer .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown li.mc__Table-module__dragOver{background-color:#f2f2f2;border-top:2px solid #0058ff}.mc__Table-module__tableContainer .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown li .mc__Table-module__columnConfigurationItemIcon{display:flex;align-items:center;justify-content:center;width:16px;height:16px;cursor:grab;padding:4px}.mc__Table-module__tableContainer .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown li .mc__Table-module__columnConfigurationItemIcon:active{cursor:grabbing}.mc__Table-module__tableContainer .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown li p{font-size:14px;font-weight:400;line-height:20px;letter-spacing:.1px;color:#131314}:root{--font-inter-regular: "Inter", system-ui, sans-serif;--font-inter-medium: "Inter", system-ui, sans-serif;--font-inter-semibold: "Inter", system-ui, sans-serif}`)),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
import { jsx as e, jsxs as l, Fragment as Mt } from "react/jsx-runtime";
|
|
3
|
-
import { useState as
|
|
3
|
+
import { useState as B, useRef as ie, useEffect as G, useContext as wt, createContext as yt, useCallback as je } from "react";
|
|
4
4
|
import N from "dayjs";
|
|
5
5
|
const Be = 50 / 2, Dt = ({ size: t = 24, strokeWidth: n = 5, linecap: o = "round", duration: r = 1, stroke: a = "#2753dd", ...h }) => {
|
|
6
6
|
const s = Be;
|
|
@@ -61,9 +61,9 @@ const Be = 50 / 2, Dt = ({ size: t = 24, strokeWidth: n = 5, linecap: o = "round
|
|
|
61
61
|
d: s = "M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",
|
|
62
62
|
stroke: i = "#A4A7AE",
|
|
63
63
|
strokeWidth: y = "1.66667",
|
|
64
|
-
strokeLinecap:
|
|
64
|
+
strokeLinecap: W = "round",
|
|
65
65
|
strokeLinejoin: g = "round"
|
|
66
|
-
}) => /* @__PURE__ */ e("svg", { xmlns: r, width: t, height: n, viewBox: a, fill: h, children: /* @__PURE__ */ e("path", { d: s, stroke: i, strokeWidth: y, strokeLinecap:
|
|
66
|
+
}) => /* @__PURE__ */ e("svg", { xmlns: r, width: t, height: n, viewBox: a, fill: h, children: /* @__PURE__ */ e("path", { d: s, stroke: i, strokeWidth: y, strokeLinecap: W, strokeLinejoin: g }) }), vt = ({ color: t = "#131314" }) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", color: t, children: /* @__PURE__ */ e(
|
|
67
67
|
"path",
|
|
68
68
|
{
|
|
69
69
|
fillRule: "evenodd",
|
|
@@ -254,7 +254,7 @@ const Be = 50 / 2, Dt = ({ size: t = 24, strokeWidth: n = 5, linecap: o = "round
|
|
|
254
254
|
colorType: s = "neutral",
|
|
255
255
|
buttonType: i = "primary",
|
|
256
256
|
withFocus: y = !1,
|
|
257
|
-
onlyIcon:
|
|
257
|
+
onlyIcon: W = !1,
|
|
258
258
|
customFocus: g,
|
|
259
259
|
disabled: I,
|
|
260
260
|
loading: k = !1,
|
|
@@ -266,15 +266,15 @@ const Be = 50 / 2, Dt = ({ size: t = 24, strokeWidth: n = 5, linecap: o = "round
|
|
|
266
266
|
rightSlotStyle: v,
|
|
267
267
|
onClick: L
|
|
268
268
|
}) => {
|
|
269
|
-
const [K,
|
|
270
|
-
I || k || (y &&
|
|
269
|
+
const [K, F] = B(g || !1), Z = ie(null), te = (S) => {
|
|
270
|
+
I || k || (y && F((ee) => !ee), L?.(S));
|
|
271
271
|
}, J = () => {
|
|
272
272
|
let S = "#ffffff";
|
|
273
273
|
return s === "neutral" && i !== "primary" && (S = "#0058FF"), s === "positive" && i !== "primary" && (S = "#328707"), s === "negative" && i !== "primary" && (S = "#E3292F"), S;
|
|
274
274
|
};
|
|
275
275
|
return G(() => {
|
|
276
276
|
const S = (ee) => {
|
|
277
|
-
!Z.current || I || ee.composedPath().includes(Z.current) ||
|
|
277
|
+
!Z.current || I || ee.composedPath().includes(Z.current) || F(!1);
|
|
278
278
|
};
|
|
279
279
|
return document.addEventListener("click", S), () => {
|
|
280
280
|
document.removeEventListener("click", S);
|
|
@@ -283,7 +283,7 @@ const Be = 50 / 2, Dt = ({ size: t = 24, strokeWidth: n = 5, linecap: o = "round
|
|
|
283
283
|
"button",
|
|
284
284
|
{
|
|
285
285
|
ref: Z,
|
|
286
|
-
style: { ...M, ...
|
|
286
|
+
style: { ...M, ...W && { minWidth: "initial" } },
|
|
287
287
|
type: h,
|
|
288
288
|
disabled: I,
|
|
289
289
|
className: `${Ie.mainButton} ${Ie[n]} ${k ? Ie.loading : ""} ${K ? Ie.focused : ""} ${Ie[i]} ${Ie[s]} ${I ? Ie.disabled : ""}`,
|
|
@@ -350,7 +350,7 @@ const un = "mc__FormInput-module__inputWrapper", mn = "mc__FormInput-module__sm"
|
|
|
350
350
|
withFocus: s = !0,
|
|
351
351
|
withActive: i = !0,
|
|
352
352
|
searchComponent: y = !1,
|
|
353
|
-
size:
|
|
353
|
+
size: W = "md",
|
|
354
354
|
toggleFocus: g = !1,
|
|
355
355
|
rightSlot: I,
|
|
356
356
|
leftSlot: k,
|
|
@@ -362,7 +362,7 @@ const un = "mc__FormInput-module__inputWrapper", mn = "mc__FormInput-module__sm"
|
|
|
362
362
|
customFocus: v = null,
|
|
363
363
|
focus: L = !1,
|
|
364
364
|
inputState: K = { error: !1, success: !1, loading: !1 },
|
|
365
|
-
inputSlot:
|
|
365
|
+
inputSlot: F,
|
|
366
366
|
onChange: Z,
|
|
367
367
|
onFocus: te,
|
|
368
368
|
onBlur: J,
|
|
@@ -371,16 +371,16 @@ const un = "mc__FormInput-module__inputWrapper", mn = "mc__FormInput-module__sm"
|
|
|
371
371
|
formInputWrapperStyle: z,
|
|
372
372
|
inputWrapperStyle: H,
|
|
373
373
|
formInputStyle: q,
|
|
374
|
-
helperTextStyle:
|
|
374
|
+
helperTextStyle: R,
|
|
375
375
|
labelStyle: w,
|
|
376
376
|
inputSlotStyle: C
|
|
377
377
|
}) => {
|
|
378
|
-
const u = ie(null), [m, x] =
|
|
378
|
+
const u = ie(null), [m, x] = B(p ?? ""), [U, E] = B(!1), [re, O] = B(!1), oe = (Q) => {
|
|
379
379
|
y && x(Q.target.value), Z?.(Q.target.value);
|
|
380
380
|
}, se = () => {
|
|
381
|
-
te?.(), !_ &&
|
|
381
|
+
te?.(), !_ && E(!0);
|
|
382
382
|
}, le = () => {
|
|
383
|
-
|
|
383
|
+
E(g ? v ?? !1 : !1), J?.();
|
|
384
384
|
}, fe = (Q) => {
|
|
385
385
|
const T = Q.currentTarget.value, f = T.length === 0;
|
|
386
386
|
M === "number" && (Q.keyCode === 69 || !f && (Q.keyCode === 187 || Q.keyCode === 107 || Q.keyCode === 189 || Q.keyCode === 109)) && Q.preventDefault(), Q.key === "Enter" && T && T.length > 0 && S?.();
|
|
@@ -390,8 +390,8 @@ const un = "mc__FormInput-module__inputWrapper", mn = "mc__FormInput-module__sm"
|
|
|
390
390
|
return G(() => {
|
|
391
391
|
ee?.(U);
|
|
392
392
|
}, [U]), G(() => {
|
|
393
|
-
v != null &&
|
|
394
|
-
}, [v]), /* @__PURE__ */ l("div", { className: `${me.inputWrapper} ${a ? me.disabled : ""} ${me[
|
|
393
|
+
v != null && E(v);
|
|
394
|
+
}, [v]), /* @__PURE__ */ l("div", { className: `${me.inputWrapper} ${a ? me.disabled : ""} ${me[W]}`, style: H ?? {}, children: [
|
|
395
395
|
t && /* @__PURE__ */ l("div", { className: me.formInputLabelWrapper, children: [
|
|
396
396
|
/* @__PURE__ */ l("label", { style: w ?? {}, className: me.formInputLabel, children: [
|
|
397
397
|
t,
|
|
@@ -405,11 +405,11 @@ const un = "mc__FormInput-module__inputWrapper", mn = "mc__FormInput-module__sm"
|
|
|
405
405
|
{
|
|
406
406
|
className: `${me.formInputWrapper} ${K.error ? me.errorState : ""} ${s && U ? K.error ? me.errorFocused : me.focused : ""} ${i && re ? K.error ? me.errorActive : me.active : ""} ${K.error ? me.error : ""} ${K.success ? me.success : ""}`,
|
|
407
407
|
style: z ?? {},
|
|
408
|
-
onClick: () => g &&
|
|
408
|
+
onClick: () => g && E((Q) => !Q),
|
|
409
409
|
children: [
|
|
410
410
|
k && /* @__PURE__ */ e("div", { className: me.formInputSlot, children: de(k) }),
|
|
411
411
|
y && /* @__PURE__ */ e("div", { className: me.formInputSlot, children: de(/* @__PURE__ */ e(St, {})) }),
|
|
412
|
-
|
|
412
|
+
F ? /* @__PURE__ */ e("div", { className: me.formInputSlot, style: C ?? {}, children: de(F) }) : /* @__PURE__ */ e(
|
|
413
413
|
"input",
|
|
414
414
|
{
|
|
415
415
|
className: me.formInput,
|
|
@@ -418,9 +418,9 @@ const un = "mc__FormInput-module__inputWrapper", mn = "mc__FormInput-module__sm"
|
|
|
418
418
|
type: M ?? "text",
|
|
419
419
|
value: y ? m : p,
|
|
420
420
|
onChange: (Q) => oe(Q),
|
|
421
|
-
onMouseDown: () => !_ &&
|
|
422
|
-
onMouseUp: () => !_ &&
|
|
423
|
-
onMouseLeave: () => !_ &&
|
|
421
|
+
onMouseDown: () => !_ && O(!0),
|
|
422
|
+
onMouseUp: () => !_ && O(!1),
|
|
423
|
+
onMouseLeave: () => !_ && O(!1),
|
|
424
424
|
onFocus: se,
|
|
425
425
|
onBlur: le,
|
|
426
426
|
disabled: a,
|
|
@@ -441,7 +441,7 @@ const un = "mc__FormInput-module__inputWrapper", mn = "mc__FormInput-module__sm"
|
|
|
441
441
|
o && /* @__PURE__ */ e(
|
|
442
442
|
"p",
|
|
443
443
|
{
|
|
444
|
-
style:
|
|
444
|
+
style: R ?? {},
|
|
445
445
|
className: `${me.formInputHelperText} ${K.error ? me.errorHelperText : K.success ? me.successHelperText : ""}`,
|
|
446
446
|
children: o
|
|
447
447
|
}
|
|
@@ -508,7 +508,7 @@ const Mn = "mc__Textarea-module__textareaContainer", Dn = "mc__Textarea-module__
|
|
|
508
508
|
maxLength: s = 20,
|
|
509
509
|
withFocus: i = !0,
|
|
510
510
|
withActive: y = !0,
|
|
511
|
-
withResize:
|
|
511
|
+
withResize: W = !0,
|
|
512
512
|
withClose: g = !0,
|
|
513
513
|
onChange: I,
|
|
514
514
|
onFocus: k,
|
|
@@ -521,7 +521,7 @@ const Mn = "mc__Textarea-module__textareaContainer", Dn = "mc__Textarea-module__
|
|
|
521
521
|
labelSlot: L,
|
|
522
522
|
textareaFooterStyle: K
|
|
523
523
|
}) => {
|
|
524
|
-
const
|
|
524
|
+
const F = ie(null), [Z, te] = B(!1), [J, S] = B(!1), ee = (m) => {
|
|
525
525
|
let x = m.target.value;
|
|
526
526
|
I && typeof I == "function" && I(x);
|
|
527
527
|
}, z = (m) => m, H = (m) => {
|
|
@@ -529,36 +529,36 @@ const Mn = "mc__Textarea-module__textareaContainer", Dn = "mc__Textarea-module__
|
|
|
529
529
|
}, q = (m) => {
|
|
530
530
|
te(!1), $ && typeof $ == "function" && $(m);
|
|
531
531
|
};
|
|
532
|
-
let
|
|
532
|
+
let R = !1;
|
|
533
533
|
G(() => {
|
|
534
|
-
if (!
|
|
535
|
-
const m =
|
|
534
|
+
if (!F.current) return;
|
|
535
|
+
const m = F.current.querySelector("textarea");
|
|
536
536
|
if (!m) return;
|
|
537
537
|
let x = !1;
|
|
538
538
|
const U = (re) => {
|
|
539
|
-
const
|
|
540
|
-
re.clientX >
|
|
541
|
-
},
|
|
542
|
-
x && (
|
|
539
|
+
const O = m.getBoundingClientRect();
|
|
540
|
+
re.clientX > O.right - 20 && re.clientY > O.bottom - 20 && (x = !0);
|
|
541
|
+
}, E = new ResizeObserver(() => {
|
|
542
|
+
x && (R = !0, x = !1);
|
|
543
543
|
});
|
|
544
|
-
return m.addEventListener("mousedown", U),
|
|
545
|
-
m.removeEventListener("mousedown", U),
|
|
544
|
+
return m.addEventListener("mousedown", U), E.observe(m), () => {
|
|
545
|
+
m.removeEventListener("mousedown", U), E.disconnect();
|
|
546
546
|
};
|
|
547
547
|
}, []);
|
|
548
548
|
const w = () => {
|
|
549
|
-
if (!
|
|
550
|
-
const m =
|
|
551
|
-
!m ||
|
|
549
|
+
if (!F.current) return;
|
|
550
|
+
const m = F.current.querySelector("textarea");
|
|
551
|
+
!m || R || (m.style.height = "auto", m.style.height = `${m.scrollHeight}px`);
|
|
552
552
|
};
|
|
553
553
|
G(() => {
|
|
554
|
-
if (!
|
|
555
|
-
const m =
|
|
556
|
-
|
|
554
|
+
if (!F.current) return;
|
|
555
|
+
const m = F.current.querySelector("textarea"), x = new ResizeObserver(() => {
|
|
556
|
+
R = m.offsetHeight < m.scrollHeight;
|
|
557
557
|
});
|
|
558
558
|
return x.observe(m), () => x.disconnect();
|
|
559
559
|
}, []);
|
|
560
560
|
const C = (m) => {
|
|
561
|
-
|
|
561
|
+
R = !1, I?.(m.target.value), w();
|
|
562
562
|
}, u = () => {
|
|
563
563
|
I && typeof I == "function" && I("");
|
|
564
564
|
};
|
|
@@ -573,7 +573,7 @@ const Mn = "mc__Textarea-module__textareaContainer", Dn = "mc__Textarea-module__
|
|
|
573
573
|
/* @__PURE__ */ e("span", { style: v ?? {}, className: Ce.required, children: p && "*" }),
|
|
574
574
|
L && z(L)
|
|
575
575
|
] }),
|
|
576
|
-
/* @__PURE__ */ l("div", { className: `${Ce.wrap} ${
|
|
576
|
+
/* @__PURE__ */ l("div", { className: `${Ce.wrap} ${W ? Ce.resize : ""}`, ref: F, children: [
|
|
577
577
|
/* @__PURE__ */ e(
|
|
578
578
|
"textarea",
|
|
579
579
|
{
|
|
@@ -669,16 +669,16 @@ const Xn = "mc__Checkbox-module__checkboxWrapper", Qn = "mc__Checkbox-module__ch
|
|
|
669
669
|
multipleChecked: s = !1,
|
|
670
670
|
activeStyle: i,
|
|
671
671
|
checkBoxStyle: y,
|
|
672
|
-
theme:
|
|
672
|
+
theme: W = "light"
|
|
673
673
|
}) => {
|
|
674
|
-
const g = nt(), [I, k] =
|
|
674
|
+
const g = nt(), [I, k] = B(!1), $ = () => {
|
|
675
675
|
a || o && typeof o == "function" && o(!t);
|
|
676
676
|
};
|
|
677
677
|
return /* @__PURE__ */ l(
|
|
678
678
|
"div",
|
|
679
679
|
{
|
|
680
680
|
style: I ? a ? { boxShadow: "none" } : i ?? {} : y ?? {},
|
|
681
|
-
className: `${
|
|
681
|
+
className: `${W === "dark" ? Pe.dark : ""} ${Pe[g]} ${Pe.checkboxWrapper} ${r === "error" ? Pe.error : ""} ${t ? Pe.checked : Pe.unChecked} ${a ? Pe.disabled : ""}`,
|
|
682
682
|
onMouseDown: () => k(!0),
|
|
683
683
|
onMouseUp: () => k(!1),
|
|
684
684
|
onMouseLeave: () => k(!1),
|
|
@@ -747,7 +747,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
747
747
|
withSelectAll: s = !1,
|
|
748
748
|
withClearAll: i = !1,
|
|
749
749
|
expandedNodes: y,
|
|
750
|
-
SearchValue:
|
|
750
|
+
SearchValue: W,
|
|
751
751
|
SelectedData: g,
|
|
752
752
|
treeContainerStyle: I,
|
|
753
753
|
treeNodeItemStyle: k,
|
|
@@ -757,33 +757,33 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
757
757
|
labelRowStyle: c,
|
|
758
758
|
collapseToggleStyle: _
|
|
759
759
|
}) => {
|
|
760
|
-
const [v, L] =
|
|
761
|
-
if (
|
|
762
|
-
const w = H &&
|
|
760
|
+
const [v, L] = B(t || []), K = (z, H, q = v) => q.map((R) => {
|
|
761
|
+
if (R.id === z) {
|
|
762
|
+
const w = H && R.children && R.children.length > 0;
|
|
763
763
|
return {
|
|
764
|
-
...
|
|
764
|
+
...R,
|
|
765
765
|
selected: H,
|
|
766
|
-
children: w ?
|
|
766
|
+
children: w ? F(R.children, H) : R.children || []
|
|
767
767
|
};
|
|
768
768
|
}
|
|
769
|
-
if (
|
|
770
|
-
const w = K(z, H,
|
|
769
|
+
if (R.children && R.children.length > 0) {
|
|
770
|
+
const w = K(z, H, R.children), u = w.filter((m) => m.selected).length === w.length && w.length > 0;
|
|
771
771
|
return {
|
|
772
|
-
...
|
|
772
|
+
...R,
|
|
773
773
|
selected: u,
|
|
774
774
|
children: w
|
|
775
775
|
};
|
|
776
776
|
}
|
|
777
|
-
return
|
|
778
|
-
}),
|
|
777
|
+
return R;
|
|
778
|
+
}), F = (z, H) => z.map((q) => ({
|
|
779
779
|
...q,
|
|
780
780
|
selected: H,
|
|
781
|
-
children: q.children ?
|
|
781
|
+
children: q.children ? F(q.children, H) : []
|
|
782
782
|
})), Z = (z, H) => {
|
|
783
783
|
const q = K(z, H);
|
|
784
784
|
L(q);
|
|
785
|
-
const
|
|
786
|
-
a?.(
|
|
785
|
+
const R = J(q);
|
|
786
|
+
a?.(R);
|
|
787
787
|
}, te = (z, H) => {
|
|
788
788
|
r?.(z, H);
|
|
789
789
|
}, J = (z) => {
|
|
@@ -792,10 +792,10 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
792
792
|
q.selected && H.push(q), q.children?.length && (H = [...H, ...J(q.children)]);
|
|
793
793
|
}), H;
|
|
794
794
|
}, S = () => {
|
|
795
|
-
const z =
|
|
795
|
+
const z = F(v, !1);
|
|
796
796
|
L(z), a?.([]);
|
|
797
797
|
}, ee = () => {
|
|
798
|
-
const z =
|
|
798
|
+
const z = F(v, !0);
|
|
799
799
|
L(z);
|
|
800
800
|
const H = J(z);
|
|
801
801
|
a?.(H);
|
|
@@ -813,7 +813,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
813
813
|
onCollapse: te,
|
|
814
814
|
depth: 0,
|
|
815
815
|
expandedNodes: y,
|
|
816
|
-
SearchValue:
|
|
816
|
+
SearchValue: W,
|
|
817
817
|
SelectedData: g,
|
|
818
818
|
treeContainerStyle: I,
|
|
819
819
|
treeNodeItemStyle: k,
|
|
@@ -827,7 +827,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
827
827
|
)) }),
|
|
828
828
|
h && /* @__PURE__ */ l("div", { className: Le.dropdownListFooter, style: $, children: [
|
|
829
829
|
i && /* @__PURE__ */ e("span", { onClick: S, style: M, children: "Clear All" }),
|
|
830
|
-
s &&
|
|
830
|
+
s && W === "" && /* @__PURE__ */ e("span", { onClick: ee, style: M, children: "Select All" })
|
|
831
831
|
] })
|
|
832
832
|
] });
|
|
833
833
|
}, kt = ({
|
|
@@ -840,7 +840,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
840
840
|
expandedNodes: s,
|
|
841
841
|
SearchValue: i,
|
|
842
842
|
SelectedData: y,
|
|
843
|
-
treeContainerStyle:
|
|
843
|
+
treeContainerStyle: W,
|
|
844
844
|
treeNodeItemStyle: g,
|
|
845
845
|
treeFooterStyle: I,
|
|
846
846
|
treeFooterTextStyle: k,
|
|
@@ -850,11 +850,11 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
850
850
|
}) => {
|
|
851
851
|
const c = s?.find((Z) => Z.id === t.id);
|
|
852
852
|
y?.find((Z) => Z.id === t.id);
|
|
853
|
-
const [_, v] =
|
|
853
|
+
const [_, v] = B(c ? !1 : o || !0), L = () => {
|
|
854
854
|
v((Z) => !Z), a?.(_, t);
|
|
855
855
|
}, K = () => {
|
|
856
856
|
n?.(t.id, !t.selected);
|
|
857
|
-
},
|
|
857
|
+
}, F = (Z) => {
|
|
858
858
|
let te = !1;
|
|
859
859
|
const J = (ee) => ee?.toLowerCase().replace(/\s/g, "") || "", S = (ee, z) => {
|
|
860
860
|
z.label && J(z.label).includes(J(ee)) && (te = !0), z.children?.forEach((H) => S(ee, H));
|
|
@@ -863,7 +863,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
863
863
|
};
|
|
864
864
|
return G(() => {
|
|
865
865
|
i && v(!1);
|
|
866
|
-
}, [i]), /* @__PURE__ */ l("div", { className: `${Le.treeNode} ${
|
|
866
|
+
}, [i]), /* @__PURE__ */ l("div", { className: `${Le.treeNode} ${F(i) ? Le.visible : Le.hidden}`, style: $, children: [
|
|
867
867
|
/* @__PURE__ */ l("div", { className: Le.labelRow, onClick: L, style: M, children: [
|
|
868
868
|
/* @__PURE__ */ e("div", { style: { display: "grid", placeItems: "center", marginLeft: `${h}rem` }, onClick: (Z) => Z.stopPropagation(), children: /* @__PURE__ */ e(Se, { checked: t?.selected ?? !1, change: K, ...r, withActive: !1 }) }),
|
|
869
869
|
/* @__PURE__ */ e("span", { className: Le.collapseToggle, style: p, children: /* @__PURE__ */ e(
|
|
@@ -892,7 +892,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
892
892
|
expandedNodes: s,
|
|
893
893
|
SearchValue: i,
|
|
894
894
|
SelectedData: y,
|
|
895
|
-
treeContainerStyle:
|
|
895
|
+
treeContainerStyle: W,
|
|
896
896
|
treeNodeItemStyle: g,
|
|
897
897
|
treeFooterStyle: I,
|
|
898
898
|
treeFooterTextStyle: k,
|
|
@@ -913,7 +913,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
913
913
|
withInput: s = !1,
|
|
914
914
|
withTree: i = !1,
|
|
915
915
|
withSelectAll: y = !0,
|
|
916
|
-
dropdownType:
|
|
916
|
+
dropdownType: W = "country",
|
|
917
917
|
closeOnScroll: g = !1,
|
|
918
918
|
onSelect: I,
|
|
919
919
|
onFocus: k,
|
|
@@ -925,7 +925,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
925
925
|
dropdownInputSlotStyle: v,
|
|
926
926
|
dropdownInputSlotItemStyle: L,
|
|
927
927
|
dropdownInputSlotItemLabelStyle: K,
|
|
928
|
-
dropdownInputSlotItemCloseStyle:
|
|
928
|
+
dropdownInputSlotItemCloseStyle: F,
|
|
929
929
|
dropdownInputSlotItemMoreStyle: Z,
|
|
930
930
|
dropdownItemStyle: te,
|
|
931
931
|
dropdownItemLabelStyle: J,
|
|
@@ -935,14 +935,14 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
935
935
|
treeProps: H,
|
|
936
936
|
...q
|
|
937
937
|
}) => {
|
|
938
|
-
const [
|
|
938
|
+
const [R, w] = B(!1), [C, u] = B(""), [m, x] = B(!1), [U, E] = B(!1), [re, O] = B(!1), oe = ie(null), se = ie(null), le = ie(null), fe = ie(null), [de, pe] = B([]), Q = ie([]), T = ie(0), [f, D] = B(""), [P, ae] = B(null), ne = (d) => `https://flagsapi.com/${d}/flat/64.png`, ge = (d) => {
|
|
939
939
|
if (d.selected = !d.selected, !a) {
|
|
940
940
|
I?.(d);
|
|
941
941
|
return;
|
|
942
942
|
}
|
|
943
|
-
Q.current = [...Q.current, ...de.filter((j) => j.selected == !0), ...de.filter((j) => j.id === d.id)], Q.current = bt(Q.current, "id").filter((j) => j.selected).filter((j) => j.id !== "SELECT_ALL"), d.id === "SELECT_ALL" ? (x(d.selected),
|
|
943
|
+
Q.current = [...Q.current, ...de.filter((j) => j.selected == !0), ...de.filter((j) => j.id === d.id)], Q.current = bt(Q.current, "id").filter((j) => j.selected).filter((j) => j.id !== "SELECT_ALL"), d.id === "SELECT_ALL" ? (x(d.selected), E(!0)) : (x(!1), I?.(Q.current), E(!1)), w((j) => !j);
|
|
944
944
|
}, _e = (d) => {
|
|
945
|
-
ae(d), I?.(d),
|
|
945
|
+
ae(d), I?.(d), O(!1);
|
|
946
946
|
}, we = () => {
|
|
947
947
|
if (!se.current || !oe.current) return;
|
|
948
948
|
const d = se.current, j = oe.current;
|
|
@@ -976,11 +976,11 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
976
976
|
j.id === "SELECT_ALL" ? j.selected = m : j.disabled || (j.selected = m);
|
|
977
977
|
}), Q.current = d.filter((j) => j.selected && j.id !== "SELECT_ALL"), I?.(Q.current);
|
|
978
978
|
}
|
|
979
|
-
}, [
|
|
979
|
+
}, [R]);
|
|
980
980
|
const Te = (d) => {
|
|
981
|
-
se.current && (d.composedPath().includes(se.current) ||
|
|
981
|
+
se.current && (d.composedPath().includes(se.current) || O(!1));
|
|
982
982
|
}, Ne = (d) => {
|
|
983
|
-
g && (!se.current || !oe.current || d.composedPath().includes(se.current) || d.composedPath().includes(oe.current) ||
|
|
983
|
+
g && (!se.current || !oe.current || d.composedPath().includes(se.current) || d.composedPath().includes(oe.current) || O(!1));
|
|
984
984
|
};
|
|
985
985
|
G(() => {
|
|
986
986
|
const d = () => {
|
|
@@ -1013,12 +1013,12 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
1013
1013
|
ref: se,
|
|
1014
1014
|
className: ue.dropdownInputWrapper,
|
|
1015
1015
|
style: _ ?? {},
|
|
1016
|
-
onClick: () => (
|
|
1016
|
+
onClick: () => (O((d) => !d), ve()),
|
|
1017
1017
|
children: /* @__PURE__ */ e(
|
|
1018
1018
|
Re,
|
|
1019
1019
|
{
|
|
1020
1020
|
...q,
|
|
1021
|
-
onFocusChange: (d) =>
|
|
1021
|
+
onFocusChange: (d) => O(d),
|
|
1022
1022
|
customFocus: re,
|
|
1023
1023
|
withActive: !1,
|
|
1024
1024
|
value: s ? C : P?.label ?? "",
|
|
@@ -1028,7 +1028,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
1028
1028
|
toggleFocus: !0,
|
|
1029
1029
|
formInputStyle: { cursor: s ? "text" : "pointer" },
|
|
1030
1030
|
leftSlot: s && /* @__PURE__ */ l("div", { className: ue.dropdownInputSlot, children: [
|
|
1031
|
-
|
|
1031
|
+
W === "currency" ? /* @__PURE__ */ e("p", { children: P?.label }) : /* @__PURE__ */ e("img", { src: ne(P?.code), alt: "flag" }),
|
|
1032
1032
|
/* @__PURE__ */ e("div", { className: `${ue.dropdownRightIconArrow} ${re ? ue.focused : ""}`, children: /* @__PURE__ */ e(ze, {}) })
|
|
1033
1033
|
] }),
|
|
1034
1034
|
rightSlot: /* @__PURE__ */ l("div", { className: `${ue.dropdownRightIcon} ${re ? ue.focused : ""}`, children: [
|
|
@@ -1036,7 +1036,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
1036
1036
|
"div",
|
|
1037
1037
|
{
|
|
1038
1038
|
onClick: (d) => {
|
|
1039
|
-
d.stopPropagation(), s ? (u(""),
|
|
1039
|
+
d.stopPropagation(), s ? (u(""), O(!1)) : ae(null);
|
|
1040
1040
|
},
|
|
1041
1041
|
className: ue.dropdownRightIconClose,
|
|
1042
1042
|
children: /* @__PURE__ */ e(Ke, {})
|
|
@@ -1060,7 +1060,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
1060
1060
|
/* @__PURE__ */ e(
|
|
1061
1061
|
"div",
|
|
1062
1062
|
{
|
|
1063
|
-
style:
|
|
1063
|
+
style: F ?? {},
|
|
1064
1064
|
className: ue.dropdownInputSlotItemClose,
|
|
1065
1065
|
onClick: (ce) => {
|
|
1066
1066
|
ce.stopPropagation(), ge(d);
|
|
@@ -1123,7 +1123,7 @@ const ro = "mc__Dropdown-module__dropdownWrapper", io = "mc__Dropdown-module__dr
|
|
|
1123
1123
|
s ? /* @__PURE__ */ l("div", { className: ue.dropdownItemLabelInput, children: [
|
|
1124
1124
|
/* @__PURE__ */ e("img", { src: ne(d.code), style: { width: "1.375rem", height: "1.375rem", objectFit: "contain" }, alt: d.name }),
|
|
1125
1125
|
/* @__PURE__ */ e("span", { title: d.name, className: ue.countryName, children: d.name || d.label }),
|
|
1126
|
-
/* @__PURE__ */ e("span", { className: ue.countryDialCode, children:
|
|
1126
|
+
/* @__PURE__ */ e("span", { className: ue.countryDialCode, children: W === "country" ? d.dialCode : d?.label })
|
|
1127
1127
|
] }) : /* @__PURE__ */ e(
|
|
1128
1128
|
"p",
|
|
1129
1129
|
{
|
|
@@ -1175,12 +1175,12 @@ ot.description = "A feature-rich dropdown component with multi-select, filtering
|
|
|
1175
1175
|
const Eo = "mc__Radio-module__radioWrapper", Oo = {
|
|
1176
1176
|
radioWrapper: Eo
|
|
1177
1177
|
}, rt = ({ checked: t, change: n, disabled: o, required: r, withUncheckState: a = !1, radioType: h = "default" }) => {
|
|
1178
|
-
nt(),
|
|
1178
|
+
nt(), B(!1);
|
|
1179
1179
|
const s = () => {
|
|
1180
1180
|
o || n?.(a ? !t : !0);
|
|
1181
1181
|
}, i = () => {
|
|
1182
|
-
let y = null,
|
|
1183
|
-
return t ? o ? y = /* @__PURE__ */ e(Wt, { color:
|
|
1182
|
+
let y = null, W = o ? "#95969C" : h === "error" ? "#E3292F" : "#0058FF";
|
|
1183
|
+
return t ? o ? y = /* @__PURE__ */ e(Wt, { color: W }) : y = /* @__PURE__ */ e(Rt, { color: W }) : o ? y = /* @__PURE__ */ e(Ft, { color: W }) : y = /* @__PURE__ */ e(Bt, { color: W }), y;
|
|
1184
1184
|
};
|
|
1185
1185
|
return /* @__PURE__ */ l("div", { className: Oo.radioWrapper, style: { cursor: o ? "not-allowed" : "pointer" }, onClick: s, children: [
|
|
1186
1186
|
/* @__PURE__ */ e("input", { type: "radio", checked: !0, readOnly: !0, hidden: !0, disabled: o ?? !1, required: r }),
|
|
@@ -1211,7 +1211,7 @@ const Vo = "mc__Tooltip-module__tooltipContainer", Zo = "mc__Tooltip-module__too
|
|
|
1211
1211
|
text: s,
|
|
1212
1212
|
customText: i,
|
|
1213
1213
|
tooltipContentStyle: y,
|
|
1214
|
-
tooltipTitlestyle:
|
|
1214
|
+
tooltipTitlestyle: W,
|
|
1215
1215
|
tooltipTextStyle: g,
|
|
1216
1216
|
tooltipContainerStyle: I,
|
|
1217
1217
|
pointerPosition: k = "10%",
|
|
@@ -1224,9 +1224,9 @@ const Vo = "mc__Tooltip-module__tooltipContainer", Zo = "mc__Tooltip-module__too
|
|
|
1224
1224
|
forceClose: L = !1,
|
|
1225
1225
|
onClick: K
|
|
1226
1226
|
}) => {
|
|
1227
|
-
const
|
|
1227
|
+
const F = ie(null), Z = ie(null);
|
|
1228
1228
|
let te;
|
|
1229
|
-
const [J, S] =
|
|
1229
|
+
const [J, S] = B(!1), ee = n || h || s || i, z = () => {
|
|
1230
1230
|
a === "hover" && ee && (te = setTimeout(() => {
|
|
1231
1231
|
S(!0);
|
|
1232
1232
|
}, o));
|
|
@@ -1236,12 +1236,12 @@ const Vo = "mc__Tooltip-module__tooltipContainer", Zo = "mc__Tooltip-module__too
|
|
|
1236
1236
|
}, o));
|
|
1237
1237
|
}, q = () => {
|
|
1238
1238
|
a === "click" && (K?.(), S((w) => !w));
|
|
1239
|
-
},
|
|
1240
|
-
const w =
|
|
1239
|
+
}, R = () => {
|
|
1240
|
+
const w = F.current, C = Z.current;
|
|
1241
1241
|
if (!C || !w) return;
|
|
1242
1242
|
const u = w.getBoundingClientRect(), m = C.getBoundingClientRect(), x = window.innerWidth, U = window.innerHeight;
|
|
1243
1243
|
C.style.position = "fixed";
|
|
1244
|
-
const
|
|
1244
|
+
const E = (se, le) => ({
|
|
1245
1245
|
fitsTop: se >= 0,
|
|
1246
1246
|
fitsBottom: se + m.height <= U,
|
|
1247
1247
|
fitsLeft: le >= 0,
|
|
@@ -1249,39 +1249,39 @@ const Vo = "mc__Tooltip-module__tooltipContainer", Zo = "mc__Tooltip-module__too
|
|
|
1249
1249
|
}), re = (se, le) => {
|
|
1250
1250
|
C.style.top = `${se}px`, C.style.left = `${le}px`;
|
|
1251
1251
|
};
|
|
1252
|
-
let
|
|
1252
|
+
let O, oe;
|
|
1253
1253
|
switch (r) {
|
|
1254
1254
|
case "top":
|
|
1255
|
-
|
|
1256
|
-
const se = O
|
|
1257
|
-
se.fitsTop || (
|
|
1255
|
+
O = u.top - m.height - 8 + p - c, oe = u.left + _ - v;
|
|
1256
|
+
const se = E(O, oe);
|
|
1257
|
+
se.fitsTop || (O = u.bottom + 8 + c - p), se.fitsLeft ? se.fitsRight || (oe = x - m.width) : oe = 0, re(O, oe);
|
|
1258
1258
|
break;
|
|
1259
1259
|
case "bottom":
|
|
1260
|
-
|
|
1261
|
-
const le = O
|
|
1262
|
-
le.fitsBottom || (
|
|
1260
|
+
O = u.bottom + 8 + c - p, oe = u.left + _ - v;
|
|
1261
|
+
const le = E(O, oe);
|
|
1262
|
+
le.fitsBottom || (O = u.top - m.height - 8 + p - c), le.fitsLeft ? le.fitsRight || (oe = x - m.width) : oe = 0, re(O, oe);
|
|
1263
1263
|
break;
|
|
1264
1264
|
case "left":
|
|
1265
|
-
|
|
1266
|
-
const fe = O
|
|
1267
|
-
fe.fitsLeft || (oe = u.right + 8 + v - _), fe.fitsTop ? fe.fitsBottom || (
|
|
1265
|
+
O = u.top + p - c, oe = u.left - m.width - 8 + _ - v;
|
|
1266
|
+
const fe = E(O, oe);
|
|
1267
|
+
fe.fitsLeft || (oe = u.right + 8 + v - _), fe.fitsTop ? fe.fitsBottom || (O = U - m.height) : O = 0, re(O, oe);
|
|
1268
1268
|
break;
|
|
1269
1269
|
case "right":
|
|
1270
|
-
|
|
1271
|
-
const de = O
|
|
1272
|
-
de.fitsRight || (oe = u.left - m.width - 8 + _ - v), de.fitsTop ? de.fitsBottom || (
|
|
1270
|
+
O = u.top + p - c, oe = u.right + 8 + v - _;
|
|
1271
|
+
const de = E(O, oe);
|
|
1272
|
+
de.fitsRight || (oe = u.left - m.width - 8 + _ - v), de.fitsTop ? de.fitsBottom || (O = U - m.height) : O = 0, re(O, oe);
|
|
1273
1273
|
break;
|
|
1274
1274
|
}
|
|
1275
1275
|
};
|
|
1276
1276
|
return G(() => {
|
|
1277
|
-
|
|
1278
|
-
}, [
|
|
1277
|
+
R();
|
|
1278
|
+
}, [F, J, t, r, n, i, h, s]), G(() => {
|
|
1279
1279
|
const w = (m) => {
|
|
1280
|
-
|
|
1280
|
+
F.current?.contains(m.target) || S(!1);
|
|
1281
1281
|
}, C = (m) => {
|
|
1282
|
-
m.composedPath().includes(
|
|
1282
|
+
m.composedPath().includes(F.current) || S(!1);
|
|
1283
1283
|
}, u = () => {
|
|
1284
|
-
J &&
|
|
1284
|
+
J && R();
|
|
1285
1285
|
};
|
|
1286
1286
|
return document.addEventListener("click", C), document.addEventListener("scroll", w, !0), window.addEventListener("resize", u), () => {
|
|
1287
1287
|
document.removeEventListener("scroll", w, !0), document.removeEventListener("click", C), window.removeEventListener("resize", u);
|
|
@@ -1294,7 +1294,7 @@ const Vo = "mc__Tooltip-module__tooltipContainer", Zo = "mc__Tooltip-module__too
|
|
|
1294
1294
|
}, [J]), /* @__PURE__ */ l(
|
|
1295
1295
|
"div",
|
|
1296
1296
|
{
|
|
1297
|
-
ref:
|
|
1297
|
+
ref: F,
|
|
1298
1298
|
className: `${M === "dark" ? xe.dark : ""} ${xe.tooltipContainer}`,
|
|
1299
1299
|
onClick: q,
|
|
1300
1300
|
onMouseEnter: z,
|
|
@@ -1320,7 +1320,7 @@ const Vo = "mc__Tooltip-module__tooltipContainer", Zo = "mc__Tooltip-module__too
|
|
|
1320
1320
|
className: `${xe.tooltipContent} ${r ? xe[r] : xe.bottom}`,
|
|
1321
1321
|
children: [
|
|
1322
1322
|
i && typeof i == "string" && i,
|
|
1323
|
-
h && h.length > 0 && typeof h == "string" && /* @__PURE__ */ e("h2", { className: xe.tooltipTitle, style:
|
|
1323
|
+
h && h.length > 0 && typeof h == "string" && /* @__PURE__ */ e("h2", { className: xe.tooltipTitle, style: W ?? {}, children: h }),
|
|
1324
1324
|
s && s.length > 0 && typeof s == "string" && /* @__PURE__ */ e("p", { className: xe.tooltipText, style: g ?? {}, children: s })
|
|
1325
1325
|
]
|
|
1326
1326
|
}
|
|
@@ -1372,7 +1372,7 @@ const Jo = "mc__Popup-module__modalOverlay", Go = "mc__Popup-module__popupDrawer
|
|
|
1372
1372
|
// "horizontal"
|
|
1373
1373
|
modalOverlayStyle: i,
|
|
1374
1374
|
popupContainerStyle: y,
|
|
1375
|
-
templateWrapperStyle:
|
|
1375
|
+
templateWrapperStyle: W,
|
|
1376
1376
|
closeButtonStyle: g
|
|
1377
1377
|
}) => {
|
|
1378
1378
|
const I = () => {
|
|
@@ -1409,7 +1409,7 @@ const Jo = "mc__Popup-module__modalOverlay", Go = "mc__Popup-module__popupDrawer
|
|
|
1409
1409
|
`,
|
|
1410
1410
|
children: [
|
|
1411
1411
|
/* @__PURE__ */ e("div", { className: Oe.closeButton, style: g ?? {}, onClick: I, children: /* @__PURE__ */ e(vt, { color: "#131314" }) }),
|
|
1412
|
-
/* @__PURE__ */ l("div", { className: Oe.templateWrapper, style:
|
|
1412
|
+
/* @__PURE__ */ l("div", { className: Oe.templateWrapper, style: W ?? {}, children: [
|
|
1413
1413
|
n && n,
|
|
1414
1414
|
r && r
|
|
1415
1415
|
] })
|
|
@@ -1465,11 +1465,11 @@ const rr = "mc__NotificationToast-module__toastContainer", ir = "mc__Notificatio
|
|
|
1465
1465
|
description: s,
|
|
1466
1466
|
customAction: i,
|
|
1467
1467
|
timeout: y = 4e3,
|
|
1468
|
-
children:
|
|
1468
|
+
children: W,
|
|
1469
1469
|
onUndo: g,
|
|
1470
1470
|
onClose: I
|
|
1471
1471
|
}) => {
|
|
1472
|
-
const [k, $] =
|
|
1472
|
+
const [k, $] = B("fadeIn");
|
|
1473
1473
|
G(() => {
|
|
1474
1474
|
const p = y, c = 300, _ = setTimeout(() => {
|
|
1475
1475
|
$("fadeOut"), setTimeout(() => {
|
|
@@ -1490,7 +1490,7 @@ const rr = "mc__NotificationToast-module__toastContainer", ir = "mc__Notificatio
|
|
|
1490
1490
|
/* @__PURE__ */ l("div", { className: ye.notificationToastContentLeftText, children: [
|
|
1491
1491
|
t && /* @__PURE__ */ e("p", { className: ye.notificationToastContentLeftTextTitle, children: t }),
|
|
1492
1492
|
s && /* @__PURE__ */ e("p", { className: ye.notificationToastContentLeftTextDescription, children: s }),
|
|
1493
|
-
|
|
1493
|
+
W && W
|
|
1494
1494
|
] })
|
|
1495
1495
|
] }),
|
|
1496
1496
|
/* @__PURE__ */ e("div", { className: ye.notificationToastContentDescription }),
|
|
@@ -1508,13 +1508,13 @@ const rr = "mc__NotificationToast-module__toastContainer", ir = "mc__Notificatio
|
|
|
1508
1508
|
}, Lt = yt(null);
|
|
1509
1509
|
let kr = 0;
|
|
1510
1510
|
const Lr = ({ children: t }) => {
|
|
1511
|
-
const [n, o] =
|
|
1511
|
+
const [n, o] = B([]), r = (h) => {
|
|
1512
1512
|
o((s) => {
|
|
1513
1513
|
const i = h.max ?? 1 / 0;
|
|
1514
1514
|
if (s.length >= i) return s;
|
|
1515
1515
|
const y = kr++;
|
|
1516
1516
|
return setTimeout(() => {
|
|
1517
|
-
o((
|
|
1517
|
+
o((W) => W.filter((g) => g.id !== y));
|
|
1518
1518
|
}, h.timeout || 4e3), [...s, { id: y, props: h }];
|
|
1519
1519
|
});
|
|
1520
1520
|
}, a = je(() => {
|
|
@@ -1598,7 +1598,7 @@ var Tt = { exports: {} };
|
|
|
1598
1598
|
(function(o, r) {
|
|
1599
1599
|
t.exports = r();
|
|
1600
1600
|
})(Er, function() {
|
|
1601
|
-
var o = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, r = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, a = /\d/, h = /\d\d/, s = /\d\d?/, i = /\d*[^-_:/,()\s\d]+/, y = {},
|
|
1601
|
+
var o = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, r = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, a = /\d/, h = /\d\d/, s = /\d\d?/, i = /\d*[^-_:/,()\s\d]+/, y = {}, W = function(c) {
|
|
1602
1602
|
return (c = +c) + (c > 68 ? 1900 : 2e3);
|
|
1603
1603
|
}, g = function(c) {
|
|
1604
1604
|
return function(_) {
|
|
@@ -1648,43 +1648,43 @@ var Tt = { exports: {} };
|
|
|
1648
1648
|
if (_ < 1) throw new Error();
|
|
1649
1649
|
this.month = _ % 12 || _;
|
|
1650
1650
|
}], Y: [/[+-]?\d+/, g("year")], YY: [h, function(c) {
|
|
1651
|
-
this.year =
|
|
1651
|
+
this.year = W(c);
|
|
1652
1652
|
}], YYYY: [/\d{4}/, g("year")], Z: I, ZZ: I };
|
|
1653
1653
|
function p(c) {
|
|
1654
1654
|
var _, v;
|
|
1655
1655
|
_ = c, v = y && y.formats;
|
|
1656
1656
|
for (var L = (c = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(ee, z, H) {
|
|
1657
1657
|
var q = H && H.toUpperCase();
|
|
1658
|
-
return z || v[H] || o[H] || v[q].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(
|
|
1658
|
+
return z || v[H] || o[H] || v[q].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(R, w, C) {
|
|
1659
1659
|
return w || C.slice(1);
|
|
1660
1660
|
});
|
|
1661
|
-
})).match(r), K = L.length,
|
|
1662
|
-
var Z = L[
|
|
1663
|
-
L[
|
|
1661
|
+
})).match(r), K = L.length, F = 0; F < K; F += 1) {
|
|
1662
|
+
var Z = L[F], te = M[Z], J = te && te[0], S = te && te[1];
|
|
1663
|
+
L[F] = S ? { regex: J, parser: S } : Z.replace(/^\[|\]$/g, "");
|
|
1664
1664
|
}
|
|
1665
1665
|
return function(ee) {
|
|
1666
1666
|
for (var z = {}, H = 0, q = 0; H < K; H += 1) {
|
|
1667
|
-
var
|
|
1668
|
-
if (typeof
|
|
1667
|
+
var R = L[H];
|
|
1668
|
+
if (typeof R == "string") q += R.length;
|
|
1669
1669
|
else {
|
|
1670
|
-
var w =
|
|
1670
|
+
var w = R.regex, C = R.parser, u = ee.slice(q), m = w.exec(u)[0];
|
|
1671
1671
|
C.call(z, m), ee = ee.replace(m, "");
|
|
1672
1672
|
}
|
|
1673
1673
|
}
|
|
1674
1674
|
return function(x) {
|
|
1675
1675
|
var U = x.afternoon;
|
|
1676
1676
|
if (U !== void 0) {
|
|
1677
|
-
var
|
|
1678
|
-
U ?
|
|
1677
|
+
var E = x.hours;
|
|
1678
|
+
U ? E < 12 && (x.hours += 12) : E === 12 && (x.hours = 0), delete x.afternoon;
|
|
1679
1679
|
}
|
|
1680
1680
|
}(z), z;
|
|
1681
1681
|
};
|
|
1682
1682
|
}
|
|
1683
1683
|
return function(c, _, v) {
|
|
1684
|
-
v.p.customParseFormat = !0, c && c.parseTwoDigitYear && (
|
|
1684
|
+
v.p.customParseFormat = !0, c && c.parseTwoDigitYear && (W = c.parseTwoDigitYear);
|
|
1685
1685
|
var L = _.prototype, K = L.parse;
|
|
1686
|
-
L.parse = function(
|
|
1687
|
-
var Z =
|
|
1686
|
+
L.parse = function(F) {
|
|
1687
|
+
var Z = F.date, te = F.utc, J = F.args;
|
|
1688
1688
|
this.$u = te;
|
|
1689
1689
|
var S = J[1];
|
|
1690
1690
|
if (typeof S == "string") {
|
|
@@ -1692,24 +1692,24 @@ var Tt = { exports: {} };
|
|
|
1692
1692
|
z && (q = J[2]), y = this.$locale(), !ee && q && (y = v.Ls[q]), this.$d = function(u, m, x, U) {
|
|
1693
1693
|
try {
|
|
1694
1694
|
if (["x", "X"].indexOf(m) > -1) return new Date((m === "X" ? 1e3 : 1) * u);
|
|
1695
|
-
var
|
|
1696
|
-
re && !
|
|
1695
|
+
var E = p(m)(u), re = E.year, O = E.month, oe = E.day, se = E.hours, le = E.minutes, fe = E.seconds, de = E.milliseconds, pe = E.zone, Q = E.week, T = /* @__PURE__ */ new Date(), f = oe || (re || O ? 1 : T.getDate()), D = re || T.getFullYear(), P = 0;
|
|
1696
|
+
re && !O || (P = O > 0 ? O - 1 : T.getMonth());
|
|
1697
1697
|
var ae, ne = se || 0, ge = le || 0, _e = fe || 0, we = de || 0;
|
|
1698
1698
|
return pe ? new Date(Date.UTC(D, P, f, ne, ge, _e, we + 60 * pe.offset * 1e3)) : x ? new Date(Date.UTC(D, P, f, ne, ge, _e, we)) : (ae = new Date(D, P, f, ne, ge, _e, we), Q && (ae = U(ae).week(Q).toDate()), ae);
|
|
1699
1699
|
} catch {
|
|
1700
1700
|
return /* @__PURE__ */ new Date("");
|
|
1701
1701
|
}
|
|
1702
1702
|
}(Z, S, te, v), this.init(), q && q !== !0 && (this.$L = this.locale(q).$L), H && Z != this.format(S) && (this.$d = /* @__PURE__ */ new Date("")), y = {};
|
|
1703
|
-
} else if (S instanceof Array) for (var
|
|
1703
|
+
} else if (S instanceof Array) for (var R = S.length, w = 1; w <= R; w += 1) {
|
|
1704
1704
|
J[1] = S[w - 1];
|
|
1705
1705
|
var C = v.apply(this, J);
|
|
1706
1706
|
if (C.isValid()) {
|
|
1707
1707
|
this.$d = C.$d, this.$L = C.$L, this.init();
|
|
1708
1708
|
break;
|
|
1709
1709
|
}
|
|
1710
|
-
w ===
|
|
1710
|
+
w === R && (this.$d = /* @__PURE__ */ new Date(""));
|
|
1711
1711
|
}
|
|
1712
|
-
else K.call(this,
|
|
1712
|
+
else K.call(this, F);
|
|
1713
1713
|
};
|
|
1714
1714
|
};
|
|
1715
1715
|
});
|
|
@@ -1727,9 +1727,9 @@ const at = ({
|
|
|
1727
1727
|
onChange: s,
|
|
1728
1728
|
onFocus: i,
|
|
1729
1729
|
onBlur: y,
|
|
1730
|
-
...
|
|
1730
|
+
...W
|
|
1731
1731
|
}) => {
|
|
1732
|
-
const g = ie(null), I = ie(null), [k, $] =
|
|
1732
|
+
const g = ie(null), I = ie(null), [k, $] = B(!1), [M, p] = B(n), c = Array.from({ length: 12 }, (C, u) => u < 10 ? `0${u}` : `${u}`), _ = Array.from({ length: 24 }, (C, u) => u < 10 ? `0${u}` : `${u}`), v = Array.from({ length: 60 }, (C, u) => u < 10 ? `0${u}` : `${u}`), [L, K] = B(""), [F, Z] = B(null), [te, J] = B(null), [S, ee] = B(o), z = () => {
|
|
1733
1733
|
if (!g.current || !I.current) return;
|
|
1734
1734
|
const C = g.current, u = I.current;
|
|
1735
1735
|
if (!u || !C) return;
|
|
@@ -1741,16 +1741,16 @@ const at = ({
|
|
|
1741
1741
|
});
|
|
1742
1742
|
}, q = () => {
|
|
1743
1743
|
i?.();
|
|
1744
|
-
},
|
|
1744
|
+
}, R = () => {
|
|
1745
1745
|
K(""), J(null), Z(null), ee("AM");
|
|
1746
1746
|
};
|
|
1747
1747
|
G(() => {
|
|
1748
1748
|
t && t.length > 0 && K(t);
|
|
1749
1749
|
}, [t]), G(() => {
|
|
1750
|
-
if (!te && !
|
|
1751
|
-
const C = parseInt(te ?? "0", 10), u = parseInt(
|
|
1750
|
+
if (!te && !F) return;
|
|
1751
|
+
const C = parseInt(te ?? "0", 10), u = parseInt(F ?? "0", 10), m = M === "12" ? S === "PM" && C < 12 ? C + 12 : S === "AM" && C === 12 ? 0 : C : C, x = N().hour(m).minute(u).format(M === "12" ? "hh:mm A" : "HH:mm");
|
|
1752
1752
|
K(x), r || s?.(x);
|
|
1753
|
-
}, [te,
|
|
1753
|
+
}, [te, F, S, M]);
|
|
1754
1754
|
const w = ie(!0);
|
|
1755
1755
|
return G(() => {
|
|
1756
1756
|
if (w.current) {
|
|
@@ -1775,7 +1775,7 @@ const at = ({
|
|
|
1775
1775
|
/* @__PURE__ */ e("div", { ref: g, className: he.timepickerInputWrapper, onClick: () => ($((C) => !C), H()), onFocus: q, children: /* @__PURE__ */ e(
|
|
1776
1776
|
Re,
|
|
1777
1777
|
{
|
|
1778
|
-
...
|
|
1778
|
+
...W,
|
|
1779
1779
|
onFocusChange: (C) => $(C),
|
|
1780
1780
|
customFocus: k,
|
|
1781
1781
|
withActive: !1,
|
|
@@ -1787,7 +1787,7 @@ const at = ({
|
|
|
1787
1787
|
"div",
|
|
1788
1788
|
{
|
|
1789
1789
|
onClick: (C) => {
|
|
1790
|
-
C.stopPropagation(),
|
|
1790
|
+
C.stopPropagation(), R();
|
|
1791
1791
|
},
|
|
1792
1792
|
className: he.dropdownRightIconClose,
|
|
1793
1793
|
children: /* @__PURE__ */ e(Ke, {})
|
|
@@ -1806,7 +1806,7 @@ const at = ({
|
|
|
1806
1806
|
{
|
|
1807
1807
|
className: M === "12" ? he.active : "",
|
|
1808
1808
|
onClick: () => {
|
|
1809
|
-
|
|
1809
|
+
R(), p("12");
|
|
1810
1810
|
},
|
|
1811
1811
|
children: "AM -PM"
|
|
1812
1812
|
}
|
|
@@ -1816,7 +1816,7 @@ const at = ({
|
|
|
1816
1816
|
{
|
|
1817
1817
|
className: M === "24" ? he.active : "",
|
|
1818
1818
|
onClick: () => {
|
|
1819
|
-
|
|
1819
|
+
R(), p("24");
|
|
1820
1820
|
},
|
|
1821
1821
|
children: "24 Hours"
|
|
1822
1822
|
}
|
|
@@ -1824,7 +1824,7 @@ const at = ({
|
|
|
1824
1824
|
] }) }),
|
|
1825
1825
|
/* @__PURE__ */ l("div", { className: he.timepickerDropdownBody, children: [
|
|
1826
1826
|
/* @__PURE__ */ e("div", { className: he.timepickerDropdownBodyHours, children: (M === "12" ? c : _).map((C) => /* @__PURE__ */ e("p", { className: te === C || L?.split(":")[0] === C ? he.active : "", onClick: () => J(C), children: C }, C)) }),
|
|
1827
|
-
/* @__PURE__ */ e("div", { className: he.timepickerDropdownBodyMinutes, children: v.map((C) => /* @__PURE__ */ e("p", { className:
|
|
1827
|
+
/* @__PURE__ */ e("div", { className: he.timepickerDropdownBodyMinutes, children: v.map((C) => /* @__PURE__ */ e("p", { className: F === C || L?.split(":")[1] === C ? he.active : "", onClick: () => Z(C), children: C }, C)) }),
|
|
1828
1828
|
M === "12" && /* @__PURE__ */ l("div", { className: he.timepickerDropdownBodyAmPm, children: [
|
|
1829
1829
|
/* @__PURE__ */ e("p", { className: S === "AM" ? he.active : "", onClick: () => ee("AM"), children: "AM" }, "AM"),
|
|
1830
1830
|
/* @__PURE__ */ e("p", { className: S === "PM" ? he.active : "", onClick: () => ee("PM"), children: "PM" }, "PM")
|
|
@@ -1881,7 +1881,7 @@ const wi = ({
|
|
|
1881
1881
|
namespace: s,
|
|
1882
1882
|
customYears: i,
|
|
1883
1883
|
setSelectedDate: y,
|
|
1884
|
-
IsFocused:
|
|
1884
|
+
IsFocused: W,
|
|
1885
1885
|
setIsFocused: g,
|
|
1886
1886
|
mode: I,
|
|
1887
1887
|
RangeSelection: k,
|
|
@@ -1893,7 +1893,7 @@ const wi = ({
|
|
|
1893
1893
|
CalendarRef: v,
|
|
1894
1894
|
defaultValue: L,
|
|
1895
1895
|
selectedStyle: K,
|
|
1896
|
-
endDateStyle:
|
|
1896
|
+
endDateStyle: F,
|
|
1897
1897
|
startDateStyle: Z,
|
|
1898
1898
|
inRangeStyle: te,
|
|
1899
1899
|
otherMonthStyle: J,
|
|
@@ -1902,9 +1902,9 @@ const wi = ({
|
|
|
1902
1902
|
quickPickStyle: z,
|
|
1903
1903
|
monthStyle: H
|
|
1904
1904
|
}) => {
|
|
1905
|
-
const q = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"],
|
|
1905
|
+
const q = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], R = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
|
1906
1906
|
N().year();
|
|
1907
|
-
const [w, C] =
|
|
1907
|
+
const [w, C] = B(""), u = ie([]), [m, x] = B(!1), U = (T) => {
|
|
1908
1908
|
if (i?.length && !i.includes(T.year().toString()))
|
|
1909
1909
|
return [];
|
|
1910
1910
|
const f = (T.startOf("month").day() + 6) % 7, D = T.endOf("month").date(), P = T.subtract(1, "month").endOf("month").date(), ae = [];
|
|
@@ -1931,7 +1931,7 @@ const wi = ({
|
|
|
1931
1931
|
ae.push(ne);
|
|
1932
1932
|
}
|
|
1933
1933
|
return ae;
|
|
1934
|
-
},
|
|
1934
|
+
}, E = U(r), re = M === "dual" ? U(r.add(1, "month")) : null, O = () => {
|
|
1935
1935
|
let T = [];
|
|
1936
1936
|
return n && Array.isArray(n) && n.length > 0 && n.forEach((f) => {
|
|
1937
1937
|
switch (f) {
|
|
@@ -2059,7 +2059,7 @@ const wi = ({
|
|
|
2059
2059
|
"div",
|
|
2060
2060
|
{
|
|
2061
2061
|
ref: v,
|
|
2062
|
-
className: `${s === "namespaceHr" ? X.namespaceHr : ""} ${X.datePicker} ${
|
|
2062
|
+
className: `${s === "namespaceHr" ? X.namespaceHr : ""} ${X.datePicker} ${W ? X.focused : ""} ${M === "dual" ? n && Array.isArray(n) && n.length > 0 ? X.dualCalendarWithQuick : X.dualCalendar : ""} `,
|
|
2063
2063
|
onClick: (T) => T.stopPropagation(),
|
|
2064
2064
|
style: M === "dual" && n && Array.isArray(n) && n.length > 0 ? { width: "848px" } : {},
|
|
2065
2065
|
children: /* @__PURE__ */ l("div", { className: X.div, children: [
|
|
@@ -2102,14 +2102,14 @@ const wi = ({
|
|
|
2102
2102
|
] }) : /* @__PURE__ */ e("div", { className: X.doubleIcon })
|
|
2103
2103
|
] })
|
|
2104
2104
|
] }),
|
|
2105
|
-
M === "single" && n && Array.isArray(n) && n.length > 0 && /* @__PURE__ */ e("ul", { className: X.quickPick, children:
|
|
2105
|
+
M === "single" && n && Array.isArray(n) && n.length > 0 && /* @__PURE__ */ e("ul", { className: X.quickPick, children: O().slice(0, 3).map((T) => /* @__PURE__ */ e("li", { style: z ?? {}, onClick: () => oe(T), children: T.name }, T.key)) })
|
|
2106
2106
|
] }),
|
|
2107
2107
|
/* @__PURE__ */ l("div", { className: X.calendarWrapper, children: [
|
|
2108
|
-
m ? /* @__PURE__ */ e("ul", { className: X.monthsWrapper, children:
|
|
2108
|
+
m ? /* @__PURE__ */ e("ul", { className: X.monthsWrapper, children: R.map((T) => /* @__PURE__ */ e("li", { className: `${X.month} ${w === T ? X.pickedMonth : ""}`, onClick: () => C(T), children: /* @__PURE__ */ e("div", { className: X.monthName, children: T }) })) }) : /* @__PURE__ */ l("table", { children: [
|
|
2109
2109
|
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: q.map((T) => /* @__PURE__ */ e("th", { style: ee ?? {}, children: T }, T)) }) }),
|
|
2110
2110
|
/* @__PURE__ */ l("tbody", { children: [
|
|
2111
2111
|
/* @__PURE__ */ e("tr", { className: X.spacerRow, children: /* @__PURE__ */ e("td", {}) }),
|
|
2112
|
-
|
|
2112
|
+
E.map((T, f) => /* @__PURE__ */ e("tr", { children: T.map(({ date: D, currentMonth: P }, ae) => {
|
|
2113
2113
|
const ne = k.start && k.end && D.isAfter(k.start, "day") && D.isBefore(k.end, "day"), ge = k.start && D.isSame(k.start, "day"), _e = k.end && D.isSame(k.end, "day"), we = I === "single" && h && D.isSame(h, "day"), ve = c && D.isBefore(N(c), "day"), Te = _ && D.isAfter(N(_), "day");
|
|
2114
2114
|
let Ne = !1;
|
|
2115
2115
|
if (p?.length === 2) {
|
|
@@ -2125,7 +2125,7 @@ const wi = ({
|
|
|
2125
2125
|
...D.isSame(N(), "day") ? S : {},
|
|
2126
2126
|
...ne ? te : {},
|
|
2127
2127
|
...ge ? Z : {},
|
|
2128
|
-
..._e ?
|
|
2128
|
+
..._e ? F : {},
|
|
2129
2129
|
...we ? K : {}
|
|
2130
2130
|
},
|
|
2131
2131
|
className: `${X.day}
|
|
@@ -2164,7 +2164,7 @@ const wi = ({
|
|
|
2164
2164
|
...D.isSame(N(), "day") ? S : {},
|
|
2165
2165
|
...ne ? te : {},
|
|
2166
2166
|
...ge ? Z : {},
|
|
2167
|
-
..._e ?
|
|
2167
|
+
..._e ? F : {},
|
|
2168
2168
|
...we ? K : {}
|
|
2169
2169
|
},
|
|
2170
2170
|
className: `${X.day}
|
|
@@ -2198,7 +2198,7 @@ const ct = ({
|
|
|
2198
2198
|
fixedDropdown: s = !0,
|
|
2199
2199
|
disabledDatesFrom: i,
|
|
2200
2200
|
disabledDatesTill: y,
|
|
2201
|
-
disabledDatesRange:
|
|
2201
|
+
disabledDatesRange: W,
|
|
2202
2202
|
datepickerStyle: g,
|
|
2203
2203
|
datepickerLabelStyle: I,
|
|
2204
2204
|
closeOnScroll: k = !0,
|
|
@@ -2210,7 +2210,7 @@ const ct = ({
|
|
|
2210
2210
|
inRangeStyle: v,
|
|
2211
2211
|
otherMonthStyle: L,
|
|
2212
2212
|
todayStyle: K,
|
|
2213
|
-
weekDayStyle:
|
|
2213
|
+
weekDayStyle: F,
|
|
2214
2214
|
quickPickStyle: Z,
|
|
2215
2215
|
monthStyle: te,
|
|
2216
2216
|
quickPick: J,
|
|
@@ -2219,22 +2219,22 @@ const ct = ({
|
|
|
2219
2219
|
disabled: z = !1,
|
|
2220
2220
|
...H
|
|
2221
2221
|
}) => {
|
|
2222
|
-
const q = nt(), [
|
|
2222
|
+
const q = nt(), [R, w] = B(!1), [C, u] = B(""), m = ie({ state: !1, value: "" }), x = ie(null), [U, E] = B(() => {
|
|
2223
2223
|
const f = N().year().toString();
|
|
2224
2224
|
return h?.length ? h.includes(f) ? N() : N(`${Math.min(...h.map(Number))}-01-01`) : N();
|
|
2225
2225
|
});
|
|
2226
2226
|
G(() => {
|
|
2227
2227
|
const f = N().year().toString();
|
|
2228
|
-
h?.length &&
|
|
2228
|
+
h?.length && E(h.includes(f) ? N() : N(`${Math.min(...h.map(Number))}-01-01`));
|
|
2229
2229
|
}, [h]);
|
|
2230
|
-
const [re,
|
|
2230
|
+
const [re, O] = B(""), [oe, se] = B({
|
|
2231
2231
|
start: null,
|
|
2232
2232
|
end: null
|
|
2233
2233
|
}), le = ie(null), fe = (f, D, P) => {
|
|
2234
2234
|
let ae = "", ne = { start: "", end: "" };
|
|
2235
2235
|
(S === "single" || typeof f == "string") && (ae = f, u(ae)), (S !== "single" || typeof f != "string") && (f?.start || f?.end ? ae = `${f?.start ? N(f?.start).format(n) : ""} / ${f?.end ? N(f?.end).format(n) : ""}` : ae = "", ne.start = f?.start ? N(f?.start).format(n) : "", ne.end = f?.end ? N(f?.end).format(n) : "", u(ae)), f?.end && w(!1), o && typeof o == "function" && !P && (o(ne.start !== "" ? ne : ae), m.current.value = ne.start !== "" ? ne : ae);
|
|
2236
2236
|
}, de = (f) => {
|
|
2237
|
-
f.stopPropagation(),
|
|
2237
|
+
f.stopPropagation(), O(""), m.current.value = "", u(""), se({
|
|
2238
2238
|
start: null,
|
|
2239
2239
|
end: null
|
|
2240
2240
|
}), o && typeof o == "function" && o("");
|
|
@@ -2258,20 +2258,20 @@ const ct = ({
|
|
|
2258
2258
|
m.current.value = t, m.current.state = !0, f && fe(f, !1, !0);
|
|
2259
2259
|
}
|
|
2260
2260
|
}, []), G(() => {
|
|
2261
|
-
|
|
2262
|
-
}, [x,
|
|
2261
|
+
R && T();
|
|
2262
|
+
}, [x, R]), G(() => {
|
|
2263
2263
|
const f = () => {
|
|
2264
|
-
|
|
2264
|
+
R && T();
|
|
2265
2265
|
};
|
|
2266
2266
|
return document.addEventListener("click", pe), document.addEventListener("wheel", Q), window.addEventListener("scroll", f), () => {
|
|
2267
2267
|
document.removeEventListener("click", pe), document.removeEventListener("wheel", Q), window.removeEventListener("scroll", f);
|
|
2268
2268
|
};
|
|
2269
|
-
}, [
|
|
2269
|
+
}, [R]), /* @__PURE__ */ l("div", { className: `${q === "namespaceHr" ? Ze.namespaceHr : ""} ${Ze.datepickerContainer}`, children: [
|
|
2270
2270
|
/* @__PURE__ */ e("div", { ref: le, className: Ze.datepickerInputWrapper, onClick: () => (w((f) => !f), T()), children: /* @__PURE__ */ e(
|
|
2271
2271
|
Re,
|
|
2272
2272
|
{
|
|
2273
2273
|
...H,
|
|
2274
|
-
customFocus:
|
|
2274
|
+
customFocus: R,
|
|
2275
2275
|
withActive: !1,
|
|
2276
2276
|
value: C,
|
|
2277
2277
|
toggleFocus: !0,
|
|
@@ -2281,7 +2281,7 @@ const ct = ({
|
|
|
2281
2281
|
readOnly: !0
|
|
2282
2282
|
}
|
|
2283
2283
|
) }),
|
|
2284
|
-
|
|
2284
|
+
R && /* @__PURE__ */ e(
|
|
2285
2285
|
wi,
|
|
2286
2286
|
{
|
|
2287
2287
|
namespace: q,
|
|
@@ -2289,15 +2289,15 @@ const ct = ({
|
|
|
2289
2289
|
CalendarRef: x,
|
|
2290
2290
|
disabledDatesFrom: i,
|
|
2291
2291
|
disabledDatesTill: y,
|
|
2292
|
-
disabledDatesRange:
|
|
2292
|
+
disabledDatesRange: W,
|
|
2293
2293
|
valueFormat: n,
|
|
2294
2294
|
onChange: (f) => fe(f, !1, !1),
|
|
2295
2295
|
customYears: h,
|
|
2296
2296
|
CurrentMonth: U,
|
|
2297
|
-
setCurrentMonth:
|
|
2297
|
+
setCurrentMonth: E,
|
|
2298
2298
|
SelectedDate: re,
|
|
2299
|
-
setSelectedDate:
|
|
2300
|
-
IsFocused:
|
|
2299
|
+
setSelectedDate: O,
|
|
2300
|
+
IsFocused: R,
|
|
2301
2301
|
setIsFocused: w,
|
|
2302
2302
|
quickPick: J,
|
|
2303
2303
|
mode: S,
|
|
@@ -2310,7 +2310,7 @@ const ct = ({
|
|
|
2310
2310
|
inRangeStyle: v,
|
|
2311
2311
|
otherMonthStyle: L,
|
|
2312
2312
|
todayStyle: K,
|
|
2313
|
-
weekDayStyle:
|
|
2313
|
+
weekDayStyle: F,
|
|
2314
2314
|
quickPickStyle: Z,
|
|
2315
2315
|
monthStyle: te
|
|
2316
2316
|
}
|
|
@@ -2369,8 +2369,8 @@ const Ti = "mc__ActionDropdown-module__actionDropdownContainer", Ii = "mc__Actio
|
|
|
2369
2369
|
actionDropdownItem: Di,
|
|
2370
2370
|
selected: Si
|
|
2371
2371
|
}, ut = ({ title: t, data: n, closeOnScroll: o = !1, onSelect: r }) => {
|
|
2372
|
-
const [a, h] =
|
|
2373
|
-
|
|
2372
|
+
const [a, h] = B(!1), s = ie(null), i = ie(null), [y, W] = B(null), g = (p) => {
|
|
2373
|
+
W(p), r?.(p), h(!1);
|
|
2374
2374
|
}, I = () => {
|
|
2375
2375
|
if (!s.current || !i.current) return;
|
|
2376
2376
|
const p = s.current, c = i.current;
|
|
@@ -2479,7 +2479,7 @@ const Wi = "mc__Slider-module__sliderContainer", Fi = "mc__Slider-module__slider
|
|
|
2479
2479
|
thumbSingle: zi,
|
|
2480
2480
|
tooltip: Ui
|
|
2481
2481
|
}, Yi = () => {
|
|
2482
|
-
const [t, n] =
|
|
2482
|
+
const [t, n] = B(), o = (r, a) => {
|
|
2483
2483
|
t && clearTimeout(t), n(
|
|
2484
2484
|
setTimeout(() => {
|
|
2485
2485
|
r();
|
|
@@ -2499,31 +2499,31 @@ const Wi = "mc__Slider-module__sliderContainer", Fi = "mc__Slider-module__slider
|
|
|
2499
2499
|
debounceTime: s,
|
|
2500
2500
|
onChange: i,
|
|
2501
2501
|
sliderContainerStyle: y,
|
|
2502
|
-
sliderStyle:
|
|
2502
|
+
sliderStyle: W,
|
|
2503
2503
|
sliderProgressStyle: g,
|
|
2504
2504
|
thumbStyle: I,
|
|
2505
2505
|
unit: k
|
|
2506
2506
|
}) => {
|
|
2507
|
-
const $ = ie(!0), M = h || n !== void 0 && o !== void 0, [p, c] =
|
|
2507
|
+
const $ = ie(!0), M = h || n !== void 0 && o !== void 0, [p, c] = B({
|
|
2508
2508
|
minValue: n ?? r,
|
|
2509
2509
|
maxValue: o ?? a,
|
|
2510
2510
|
singleValue: t ?? r
|
|
2511
|
-
}), [_, v] =
|
|
2511
|
+
}), [_, v] = B({
|
|
2512
2512
|
min: !1,
|
|
2513
2513
|
max: !1,
|
|
2514
2514
|
single: !1
|
|
2515
|
-
}), [L, K] =
|
|
2515
|
+
}), [L, K] = B({
|
|
2516
2516
|
min: !1,
|
|
2517
2517
|
max: !1,
|
|
2518
2518
|
single: !1
|
|
2519
|
-
}),
|
|
2519
|
+
}), F = Yi(), Z = ie(null), te = ie(null), J = ie(null), S = ie(null), ee = (w) => {
|
|
2520
2520
|
const u = Z.current?.getBoundingClientRect(), m = Math.min(Math.max(0, (w - u.left) / u.width), 1);
|
|
2521
2521
|
return Math.round(m * (a - r) + r);
|
|
2522
2522
|
}, z = (w) => (C) => {
|
|
2523
2523
|
C.preventDefault(), K((x) => ({ ...x, [w]: !0 })), v((x) => ({ ...x, [w]: !0 }));
|
|
2524
2524
|
const u = (x) => {
|
|
2525
2525
|
const U = ee(x.clientX);
|
|
2526
|
-
c((
|
|
2526
|
+
c((E) => w === "single" ? { ...E, singleValue: U } : w === "min" ? { ...E, minValue: Math.min(U, E.maxValue - 1) } : { ...E, maxValue: Math.max(U, E.minValue + 1) });
|
|
2527
2527
|
}, m = () => {
|
|
2528
2528
|
K((x) => ({ ...x, [w]: !1 })), v((x) => ({ ...x, [w]: !1 })), document.removeEventListener("mousemove", u), document.removeEventListener("mouseup", m);
|
|
2529
2529
|
};
|
|
@@ -2541,33 +2541,33 @@ const Wi = "mc__Slider-module__sliderContainer", Fi = "mc__Slider-module__slider
|
|
|
2541
2541
|
} : {
|
|
2542
2542
|
left: "0%",
|
|
2543
2543
|
width: `${(p.singleValue - r) / (a - r) * 100}%`
|
|
2544
|
-
},
|
|
2544
|
+
}, R = (w) => {
|
|
2545
2545
|
const C = w.current;
|
|
2546
2546
|
if (!C) return;
|
|
2547
2547
|
const u = C.getBoundingClientRect(), m = window.innerWidth, x = u.width;
|
|
2548
2548
|
C.style.transform = "translateX(-50%)";
|
|
2549
2549
|
let U = "50%";
|
|
2550
2550
|
if (u.right > m - 10) {
|
|
2551
|
-
const
|
|
2552
|
-
C.style.transform = `translateX(calc(-50% - ${
|
|
2551
|
+
const E = u.right - m + 10;
|
|
2552
|
+
C.style.transform = `translateX(calc(-50% - ${E}px))`;
|
|
2553
2553
|
const re = x - 10;
|
|
2554
|
-
U = `${Math.min(x / 2 +
|
|
2554
|
+
U = `${Math.min(x / 2 + E, re)}px`;
|
|
2555
2555
|
}
|
|
2556
2556
|
if (u.left < 10) {
|
|
2557
|
-
const
|
|
2558
|
-
C.style.transform = `translateX(calc(-50% + ${
|
|
2557
|
+
const E = 10 - u.left;
|
|
2558
|
+
C.style.transform = `translateX(calc(-50% + ${E}px))`, U = `${Math.max(x / 2 - E, 10)}px`;
|
|
2559
2559
|
}
|
|
2560
2560
|
C.style.setProperty("--arrow-position", U);
|
|
2561
2561
|
};
|
|
2562
2562
|
return G(() => {
|
|
2563
|
-
(_.min || L.min) &&
|
|
2563
|
+
(_.min || L.min) && R(te), (_.max || L.max) && R(J), (_.single || L.single) && R(S);
|
|
2564
2564
|
}, [p, _, L]), G(() => {
|
|
2565
2565
|
if ($.current) {
|
|
2566
2566
|
$.current = !1;
|
|
2567
2567
|
return;
|
|
2568
2568
|
}
|
|
2569
|
-
i && typeof i == "function" &&
|
|
2570
|
-
}, [p]), /* @__PURE__ */ e("div", { style: y ?? {}, className: `${ke.sliderContainer}`, children: /* @__PURE__ */ l("div", { ref: Z, style:
|
|
2569
|
+
i && typeof i == "function" && F(M ? () => i([p.minValue, p.maxValue]) : () => i(p.singleValue), s ?? 100);
|
|
2570
|
+
}, [p]), /* @__PURE__ */ e("div", { style: y ?? {}, className: `${ke.sliderContainer}`, children: /* @__PURE__ */ l("div", { ref: Z, style: W ?? {}, className: ke.slider, onMouseDown: H, children: [
|
|
2571
2571
|
/* @__PURE__ */ e("div", { className: ke.sliderProgress, style: { ...q, ...g ?? {} } }),
|
|
2572
2572
|
M ? /* @__PURE__ */ l(Mt, { children: [
|
|
2573
2573
|
/* @__PURE__ */ e(
|
|
@@ -2667,8 +2667,8 @@ const ji = "mc__FilterWithTags-module__filterWithTagsContainer", Ki = "mc__Filte
|
|
|
2667
2667
|
cancelButtonProps: s,
|
|
2668
2668
|
applyButtonProps: i
|
|
2669
2669
|
}) => {
|
|
2670
|
-
const [y,
|
|
2671
|
-
n &&
|
|
2670
|
+
const [y, W] = B(!1), g = () => {
|
|
2671
|
+
n && W(!0);
|
|
2672
2672
|
};
|
|
2673
2673
|
return /* @__PURE__ */ l("div", { className: He.filterWithTagsContainer, children: [
|
|
2674
2674
|
/* @__PURE__ */ e("div", { className: He.filterWithTagsContent, children: /* @__PURE__ */ e("div", { className: He.filterWithTagsButton, children: /* @__PURE__ */ e(
|
|
@@ -2682,7 +2682,7 @@ const ji = "mc__FilterWithTags-module__filterWithTagsContainer", Ki = "mc__Filte
|
|
|
2682
2682
|
...a
|
|
2683
2683
|
}
|
|
2684
2684
|
) }) }),
|
|
2685
|
-
/* @__PURE__ */ l(qe, { ...h, popupContainerStyle: { width: "725px" }, onClose: () =>
|
|
2685
|
+
/* @__PURE__ */ l(qe, { ...h, popupContainerStyle: { width: "725px" }, onClose: () => W(!1), visible: y, children: [
|
|
2686
2686
|
/* @__PURE__ */ e("h2", { className: He.filterWithTagsPopupTitle, children: "Filter" }),
|
|
2687
2687
|
/* @__PURE__ */ e("div", { className: `${He.filterWithTagsPopupContent} ${h?.mode === "drawer" ? He.filterWithTagsPopupContentDrawer : ""}`, children: /* @__PURE__ */ e(rl, { filterOptions: t }) }),
|
|
2688
2688
|
/* @__PURE__ */ l("div", { className: He.filterWithTagsPopupFooter, children: [
|
|
@@ -2753,14 +2753,14 @@ function Ye() {
|
|
|
2753
2753
|
return r;
|
|
2754
2754
|
}
|
|
2755
2755
|
const jl = (t, n = {}) => {
|
|
2756
|
-
const [o, r] =
|
|
2756
|
+
const [o, r] = B(() => {
|
|
2757
2757
|
const p = {};
|
|
2758
2758
|
return t.forEach((c) => {
|
|
2759
2759
|
c.key && (p[c.key] = n[c.key] || c.width || 200);
|
|
2760
2760
|
}), p;
|
|
2761
|
-
}), [a, h] =
|
|
2761
|
+
}), [a, h] = B(!1), [s, i] = B(null), [y, W] = B(0), [g, I] = B(0), k = je(
|
|
2762
2762
|
(p, c) => {
|
|
2763
|
-
console.log("Resize start for column:", c), p.preventDefault(), p.stopPropagation(), h(!0), i(c),
|
|
2763
|
+
console.log("Resize start for column:", c), p.preventDefault(), p.stopPropagation(), h(!0), i(c), W(p.clientX), I(o[c]);
|
|
2764
2764
|
},
|
|
2765
2765
|
[o]
|
|
2766
2766
|
), $ = je(
|
|
@@ -2790,7 +2790,7 @@ const jl = (t, n = {}) => {
|
|
|
2790
2790
|
};
|
|
2791
2791
|
};
|
|
2792
2792
|
function Kl({ currentValue: t, options: n, onChange: o }) {
|
|
2793
|
-
const [r, a] =
|
|
2793
|
+
const [r, a] = B(!1), [h, s] = B(!1), i = ie(null), y = ie(null);
|
|
2794
2794
|
G(() => {
|
|
2795
2795
|
if (r && i.current && y.current) {
|
|
2796
2796
|
const g = i.current.getBoundingClientRect(), I = y.current.offsetHeight, $ = window.innerHeight - g.bottom, M = g.top;
|
|
@@ -2804,7 +2804,7 @@ function Kl({ currentValue: t, options: n, onChange: o }) {
|
|
|
2804
2804
|
document.removeEventListener("mousedown", g);
|
|
2805
2805
|
};
|
|
2806
2806
|
}, []);
|
|
2807
|
-
const
|
|
2807
|
+
const W = (g) => {
|
|
2808
2808
|
o(g), a(!1);
|
|
2809
2809
|
};
|
|
2810
2810
|
return /* @__PURE__ */ l("div", { ref: i, className: Y.rowsPerPageDropdown, children: [
|
|
@@ -2836,7 +2836,7 @@ function Kl({ currentValue: t, options: n, onChange: o }) {
|
|
|
2836
2836
|
"li",
|
|
2837
2837
|
{
|
|
2838
2838
|
className: `${Y.rowsPerPageOption} ${g === t ? Y.selected : ""}`,
|
|
2839
|
-
onClick: () =>
|
|
2839
|
+
onClick: () => W(g),
|
|
2840
2840
|
role: "option",
|
|
2841
2841
|
"aria-selected": g === t,
|
|
2842
2842
|
children: g
|
|
@@ -2855,7 +2855,7 @@ const ft = ({
|
|
|
2855
2855
|
selectedRows: s = [],
|
|
2856
2856
|
onSelectionChange: i,
|
|
2857
2857
|
withSelectAll: y = !1,
|
|
2858
|
-
actionButtonText:
|
|
2858
|
+
actionButtonText: W,
|
|
2859
2859
|
actionButtonIcon: g,
|
|
2860
2860
|
onActionButtonClick: I,
|
|
2861
2861
|
actionButtons: k,
|
|
@@ -2868,7 +2868,7 @@ const ft = ({
|
|
|
2868
2868
|
currentPage: v = 0,
|
|
2869
2869
|
totalPages: L = 1,
|
|
2870
2870
|
onPageChange: K,
|
|
2871
|
-
showPagination:
|
|
2871
|
+
showPagination: F = !1,
|
|
2872
2872
|
// Rows per page props
|
|
2873
2873
|
rowsPerPage: Z = 10,
|
|
2874
2874
|
rowsPerPageOptions: te = [10, 20, 50, 100],
|
|
@@ -2879,81 +2879,81 @@ const ft = ({
|
|
|
2879
2879
|
// Row actions props
|
|
2880
2880
|
onRowEdit: H,
|
|
2881
2881
|
onRowDelete: q,
|
|
2882
|
-
rowActions:
|
|
2882
|
+
rowActions: R = []
|
|
2883
2883
|
}) => {
|
|
2884
|
-
const { columnWidths: w, isResizing: C, resizeColumn: u, handleResizeStart: m } = jl(n), x = ie(null), [U,
|
|
2884
|
+
const { columnWidths: w, isResizing: C, resizeColumn: u, handleResizeStart: m } = jl(n), x = ie(null), [U, E] = B(null), [re, O] = B(null), oe = ie({}), se = ie(null), le = ie(null), [fe, de] = B(!1), [pe, Q] = B(null), [T, f] = B(null), [D, P] = B(n);
|
|
2885
2885
|
G(() => {
|
|
2886
|
-
const b = n.map((
|
|
2887
|
-
...
|
|
2888
|
-
visible:
|
|
2886
|
+
const b = n.map((A) => ({
|
|
2887
|
+
...A,
|
|
2888
|
+
visible: A.visible !== void 0 ? A.visible : !0
|
|
2889
2889
|
}));
|
|
2890
2890
|
P(b);
|
|
2891
2891
|
}, [n]);
|
|
2892
|
-
const ae = (b,
|
|
2893
|
-
Q(
|
|
2894
|
-
}, ne = (b,
|
|
2895
|
-
b.preventDefault(), b.dataTransfer.dropEffect = "move",
|
|
2892
|
+
const ae = (b, A) => {
|
|
2893
|
+
Q(A), b.dataTransfer.effectAllowed = "move", b.dataTransfer.setData("text/html", b.currentTarget.outerHTML);
|
|
2894
|
+
}, ne = (b, A) => {
|
|
2895
|
+
b.preventDefault(), b.dataTransfer.dropEffect = "move", A !== pe && f(A);
|
|
2896
2896
|
}, ge = () => {
|
|
2897
2897
|
f(null);
|
|
2898
|
-
}, _e = (b,
|
|
2899
|
-
if (b.preventDefault(), pe === null || pe ===
|
|
2898
|
+
}, _e = (b, A) => {
|
|
2899
|
+
if (b.preventDefault(), pe === null || pe === A) {
|
|
2900
2900
|
Q(null), f(null);
|
|
2901
2901
|
return;
|
|
2902
2902
|
}
|
|
2903
|
-
const
|
|
2904
|
-
|
|
2905
|
-
const Ue = pe <
|
|
2906
|
-
|
|
2903
|
+
const V = [...D], be = V[pe];
|
|
2904
|
+
V.splice(pe, 1);
|
|
2905
|
+
const Ue = pe < A ? A - 1 : A;
|
|
2906
|
+
V.splice(Ue, 0, be), P(V), Q(null), f(null), p?.(V);
|
|
2907
2907
|
}, we = () => {
|
|
2908
2908
|
Q(null), f(null);
|
|
2909
2909
|
}, ve = (b) => {
|
|
2910
|
-
const
|
|
2911
|
-
P(
|
|
2910
|
+
const A = D.map((V) => V.key === b.key ? { ...V, visible: !V.visible } : V);
|
|
2911
|
+
P(A), c?.(A);
|
|
2912
2912
|
}, Te = D.filter((b) => b.visible), Ne = (b) => {
|
|
2913
|
-
i?.(b ? o.map((
|
|
2914
|
-
}, Me = (b,
|
|
2915
|
-
i?.(
|
|
2916
|
-
}, d = o.length > 0 && s.length === o.length, j = s.length > 0 && s.length < o.length, ce = (b,
|
|
2917
|
-
H?.(b,
|
|
2918
|
-
}, Xe = (b,
|
|
2919
|
-
q?.(b,
|
|
2913
|
+
i?.(b ? o.map((A, V) => A[t]) : []);
|
|
2914
|
+
}, Me = (b, A, V = null) => {
|
|
2915
|
+
i?.(A ? [...s, b] : s.filter((be) => be !== b), V);
|
|
2916
|
+
}, d = o.length > 0 && s.length === o.length, j = s.length > 0 && s.length < o.length, ce = (b, A) => {
|
|
2917
|
+
H?.(b, A);
|
|
2918
|
+
}, Xe = (b, A) => {
|
|
2919
|
+
q?.(b, A);
|
|
2920
2920
|
}, Qe = (b) => {
|
|
2921
|
-
const
|
|
2922
|
-
if (!
|
|
2923
|
-
const
|
|
2924
|
-
let Ve =
|
|
2925
|
-
Ve < 0 && (Ve =
|
|
2926
|
-
const Nt = be -
|
|
2927
|
-
return { top: _t ?
|
|
2928
|
-
}, xt = (b,
|
|
2929
|
-
if (b.stopPropagation(), U ===
|
|
2930
|
-
|
|
2921
|
+
const A = oe.current[b];
|
|
2922
|
+
if (!A) return null;
|
|
2923
|
+
const V = A.getBoundingClientRect(), be = window.innerHeight, Ue = window.innerWidth, Je = 120, Ge = 120;
|
|
2924
|
+
let Ve = V.right - Ge - 50;
|
|
2925
|
+
Ve < 0 && (Ve = V.left), Ve + Ge > Ue && (Ve = Ue - Ge - 10);
|
|
2926
|
+
const Nt = be - V.bottom, $t = V.top, _t = Nt < Je && $t >= Je;
|
|
2927
|
+
return { top: _t ? V.top - Je + 8 : V.bottom + 4, left: Ve, shouldOpenUpward: _t };
|
|
2928
|
+
}, xt = (b, A) => {
|
|
2929
|
+
if (b.stopPropagation(), U === A)
|
|
2930
|
+
E(null), O(null);
|
|
2931
2931
|
else {
|
|
2932
|
-
|
|
2933
|
-
const
|
|
2934
|
-
V
|
|
2932
|
+
E(A);
|
|
2933
|
+
const V = Qe(A);
|
|
2934
|
+
O(V);
|
|
2935
2935
|
}
|
|
2936
2936
|
};
|
|
2937
2937
|
return G(() => {
|
|
2938
2938
|
const b = (be) => {
|
|
2939
|
-
(!be.target || !be.target.closest(`.${Y.actionsCell}`)) && (
|
|
2940
|
-
},
|
|
2939
|
+
(!be.target || !be.target.closest(`.${Y.actionsCell}`)) && (E(null), O(null));
|
|
2940
|
+
}, A = () => {
|
|
2941
2941
|
if (U !== null) {
|
|
2942
2942
|
const be = Qe(U);
|
|
2943
|
-
|
|
2943
|
+
O(be);
|
|
2944
2944
|
}
|
|
2945
|
-
},
|
|
2945
|
+
}, V = () => {
|
|
2946
2946
|
if (U !== null) {
|
|
2947
2947
|
const be = Qe(U);
|
|
2948
|
-
|
|
2948
|
+
O(be);
|
|
2949
2949
|
}
|
|
2950
2950
|
};
|
|
2951
|
-
return document.addEventListener("click", b), window.addEventListener("scroll",
|
|
2952
|
-
document.removeEventListener("click", b), window.removeEventListener("scroll",
|
|
2951
|
+
return document.addEventListener("click", b), window.addEventListener("scroll", A, !0), window.addEventListener("resize", V), () => {
|
|
2952
|
+
document.removeEventListener("click", b), window.removeEventListener("scroll", A, !0), window.removeEventListener("resize", V);
|
|
2953
2953
|
};
|
|
2954
2954
|
}, [U]), G(() => {
|
|
2955
|
-
const b = (
|
|
2956
|
-
fe && se.current && le.current && !se.current.contains(
|
|
2955
|
+
const b = (A) => {
|
|
2956
|
+
fe && se.current && le.current && !se.current.contains(A.target) && !le.current.contains(A.target) && de(!1);
|
|
2957
2957
|
};
|
|
2958
2958
|
return document.addEventListener("click", b), () => {
|
|
2959
2959
|
document.removeEventListener("click", b);
|
|
@@ -2963,23 +2963,23 @@ const ft = ({
|
|
|
2963
2963
|
/* @__PURE__ */ e("div", { children: M }),
|
|
2964
2964
|
$ && /* @__PURE__ */ l("div", { className: Y.columnConfiguration, children: [
|
|
2965
2965
|
/* @__PURE__ */ e("div", { className: Y.columnConfigurationIcon, ref: se, onClick: () => de((b) => !b), children: /* @__PURE__ */ e(zt, {}) }),
|
|
2966
|
-
fe && /* @__PURE__ */ e("ul", { className: Y.columnConfigurationDropdown, ref: le, children: D.map((b,
|
|
2966
|
+
fe && /* @__PURE__ */ e("ul", { className: Y.columnConfigurationDropdown, ref: le, children: D.map((b, A) => /* @__PURE__ */ l(
|
|
2967
2967
|
"li",
|
|
2968
2968
|
{
|
|
2969
|
-
className: `${Y.columnConfigurationItem} ${pe ===
|
|
2969
|
+
className: `${Y.columnConfigurationItem} ${pe === A ? Y.dragging : ""} ${T === A ? Y.dragOver : ""}`,
|
|
2970
2970
|
draggable: !0,
|
|
2971
|
-
onDragStart: (
|
|
2972
|
-
onDragOver: (
|
|
2971
|
+
onDragStart: (V) => ae(V, A),
|
|
2972
|
+
onDragOver: (V) => ne(V, A),
|
|
2973
2973
|
onDragLeave: ge,
|
|
2974
|
-
onDrop: (
|
|
2974
|
+
onDrop: (V) => _e(V, A),
|
|
2975
2975
|
onDragEnd: we,
|
|
2976
2976
|
children: [
|
|
2977
2977
|
/* @__PURE__ */ e("div", { className: Y.columnConfigurationItemIcon, children: /* @__PURE__ */ e(Yt, {}) }),
|
|
2978
|
-
/* @__PURE__ */ e("div", { className: Y.columnConfigurationItemCheckbox, onClick: (
|
|
2978
|
+
/* @__PURE__ */ e("div", { className: Y.columnConfigurationItemCheckbox, onClick: (V) => V.stopPropagation(), children: /* @__PURE__ */ e(Se, { checked: b.visible, change: () => ve(b) }) }),
|
|
2979
2979
|
/* @__PURE__ */ e("p", { children: b.label })
|
|
2980
2980
|
]
|
|
2981
2981
|
},
|
|
2982
|
-
b.key || b.id ||
|
|
2982
|
+
b.key || b.id || A
|
|
2983
2983
|
)) })
|
|
2984
2984
|
] })
|
|
2985
2985
|
] }),
|
|
@@ -2995,11 +2995,11 @@ const ft = ({
|
|
|
2995
2995
|
" rows selected"
|
|
2996
2996
|
] }),
|
|
2997
2997
|
/* @__PURE__ */ e("div", { className: Y.tableHeaderSeparator }),
|
|
2998
|
-
Array.isArray(k) && k.length > 0 ? k.map((b,
|
|
2998
|
+
Array.isArray(k) && k.length > 0 ? k.map((b, A) => /* @__PURE__ */ l("div", { className: Y.actionButton, onClick: () => b.onClick?.(s), children: [
|
|
2999
2999
|
b.text,
|
|
3000
3000
|
b.icon
|
|
3001
|
-
] }, b.text ||
|
|
3002
|
-
|
|
3001
|
+
] }, b.text || A)) : /* @__PURE__ */ l("div", { className: Y.actionButton, onClick: () => I?.(s), children: [
|
|
3002
|
+
W || "Delete",
|
|
3003
3003
|
g && g
|
|
3004
3004
|
] })
|
|
3005
3005
|
] })
|
|
@@ -3071,7 +3071,7 @@ const ft = ({
|
|
|
3071
3071
|
className: Ye(Y.resizeHandle, {
|
|
3072
3072
|
[Y.resizing]: C && u === b.key
|
|
3073
3073
|
}),
|
|
3074
|
-
onMouseDown: (
|
|
3074
|
+
onMouseDown: (A) => m(A, b.key)
|
|
3075
3075
|
}
|
|
3076
3076
|
)
|
|
3077
3077
|
]
|
|
@@ -3086,24 +3086,24 @@ const ft = ({
|
|
|
3086
3086
|
}
|
|
3087
3087
|
) }) })
|
|
3088
3088
|
] }) }),
|
|
3089
|
-
/* @__PURE__ */ e("tbody", { children: o.length === 0 ? /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: y ? Te.length + 2 : Te.length + 1, className: Y.empty, children: "No data available" }) }) : o.map((b,
|
|
3089
|
+
/* @__PURE__ */ e("tbody", { children: o.length === 0 ? /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: y ? Te.length + 2 : Te.length + 1, className: Y.empty, children: "No data available" }) }) : o.map((b, A) => /* @__PURE__ */ l(
|
|
3090
3090
|
"tr",
|
|
3091
3091
|
{
|
|
3092
3092
|
className: Ye({ [Y.clickable]: !!r }),
|
|
3093
|
-
onClick: (
|
|
3094
|
-
|
|
3093
|
+
onClick: (V) => {
|
|
3094
|
+
V.target.type !== "checkbox" && !V.target.closest(`.${Y.actionsCell}`) && r?.(b, A);
|
|
3095
3095
|
},
|
|
3096
3096
|
children: [
|
|
3097
|
-
y && /* @__PURE__ */ e("td", { className: Y.checkboxCell, onClick: (
|
|
3098
|
-
Te.map((
|
|
3097
|
+
y && /* @__PURE__ */ e("td", { className: Y.checkboxCell, onClick: (V) => V.stopPropagation(), children: /* @__PURE__ */ e(Se, { checked: s.includes(b[t]), change: (V) => Me(b[t], V, b) }) }),
|
|
3098
|
+
Te.map((V) => /* @__PURE__ */ e("td", { style: { width: w[V.key] }, children: V.render ? V.render(b) : b[V.key] }, V.key)),
|
|
3099
3099
|
_ && /* @__PURE__ */ e("td", { className: Y.actionsCell, children: /* @__PURE__ */ e(
|
|
3100
3100
|
"div",
|
|
3101
3101
|
{
|
|
3102
3102
|
className: Y.actionsContainer,
|
|
3103
|
-
ref: (
|
|
3104
|
-
oe.current[
|
|
3103
|
+
ref: (V) => {
|
|
3104
|
+
oe.current[A] = V;
|
|
3105
3105
|
},
|
|
3106
|
-
children: /* @__PURE__ */ e("div", { className: Y.actionsTrigger, onClick: (
|
|
3106
|
+
children: /* @__PURE__ */ e("div", { className: Y.actionsTrigger, onClick: (V) => xt(V, A), children: /* @__PURE__ */ l("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3107
3107
|
/* @__PURE__ */ e(
|
|
3108
3108
|
"path",
|
|
3109
3109
|
{
|
|
@@ -3130,7 +3130,7 @@ const ft = ({
|
|
|
3130
3130
|
) })
|
|
3131
3131
|
]
|
|
3132
3132
|
},
|
|
3133
|
-
|
|
3133
|
+
A
|
|
3134
3134
|
)) })
|
|
3135
3135
|
] }) }),
|
|
3136
3136
|
U !== null && re && /* @__PURE__ */ l(
|
|
@@ -3149,7 +3149,7 @@ const ft = ({
|
|
|
3149
3149
|
{
|
|
3150
3150
|
className: Y.actionItem,
|
|
3151
3151
|
onClick: (b) => {
|
|
3152
|
-
b.stopPropagation(), ce(o[U], U),
|
|
3152
|
+
b.stopPropagation(), ce(o[U], U), E(null), O(null);
|
|
3153
3153
|
},
|
|
3154
3154
|
children: [
|
|
3155
3155
|
/* @__PURE__ */ e("svg", { width: "23", height: "23", viewBox: "0 0 23 23", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { transform: "scale(0.7)" }, children: /* @__PURE__ */ e(
|
|
@@ -3172,7 +3172,7 @@ const ft = ({
|
|
|
3172
3172
|
className: Y.actionItem,
|
|
3173
3173
|
style: { color: "#E3292F" },
|
|
3174
3174
|
onClick: (b) => {
|
|
3175
|
-
b.stopPropagation(), Xe(o[U], U),
|
|
3175
|
+
b.stopPropagation(), Xe(o[U], U), E(null), O(null);
|
|
3176
3176
|
},
|
|
3177
3177
|
children: [
|
|
3178
3178
|
/* @__PURE__ */ l("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
@@ -3213,24 +3213,24 @@ const ft = ({
|
|
|
3213
3213
|
]
|
|
3214
3214
|
}
|
|
3215
3215
|
),
|
|
3216
|
-
|
|
3216
|
+
R.map((b, A) => /* @__PURE__ */ l(
|
|
3217
3217
|
"div",
|
|
3218
3218
|
{
|
|
3219
3219
|
className: Y.actionItem,
|
|
3220
|
-
onClick: (
|
|
3221
|
-
|
|
3220
|
+
onClick: (V) => {
|
|
3221
|
+
V.stopPropagation(), b.onClick?.(o[U], U), E(null), O(null);
|
|
3222
3222
|
},
|
|
3223
3223
|
children: [
|
|
3224
3224
|
b.icon && /* @__PURE__ */ e("div", { children: b.icon }),
|
|
3225
3225
|
b.text
|
|
3226
3226
|
]
|
|
3227
3227
|
},
|
|
3228
|
-
|
|
3228
|
+
A
|
|
3229
3229
|
))
|
|
3230
3230
|
]
|
|
3231
3231
|
}
|
|
3232
3232
|
),
|
|
3233
|
-
|
|
3233
|
+
F && /* @__PURE__ */ l("div", { className: Y.paginationFooter, children: [
|
|
3234
3234
|
/* @__PURE__ */ l("div", { className: Y.pagination, children: [
|
|
3235
3235
|
/* @__PURE__ */ e("button", { className: Y.paginationButton, onClick: () => K?.(Math.max(v - 1, 0)), disabled: v === 0, children: /* @__PURE__ */ e("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { transform: "rotate(180deg)" }, children: /* @__PURE__ */ e(
|
|
3236
3236
|
"path",
|