master-components-react-ts 2.6.4 → 2.6.5
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 +865 -865
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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 .mc__Dropdown-module__dropdownItemLabelText{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 .mc__Dropdown-module__dropdownItemLabelText{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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__dropdownItemLabelText,.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__dropdownItemLabelTextCount{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:222px;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:596px}.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{width:100%;height:100%}.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%;height: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}.mc__Table-module__tableContainer th{cursor:pointer}.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__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;max-width:400px}.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}.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__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__pageNumber{min-width:32px!important;height:32px!important;padding:4px 8px!important;font-size:14px!important;font-weight:500!important;border-radius:6px!important}.mc__Table-module__pageNumber.mc__Table-module__active{background-color:#0058ff!important;color:#fff!important}.mc__Table-module__pageNumber.mc__Table-module__active:hover{background-color:#0048cc!important;color:#fff!important}.mc__Table-module__pageNumber:hover:not(.mc__Table-module__active):not(:disabled){background-color:#f8f9fa!important;color:#0058ff!important}.mc__Table-module__ellipsis{display:flex;align-items:center;justify-content:center;min-width:32px;height:32px;font-size:14px;color:#6b7280;font-weight:500;padding:0 4px}.mc__Table-module__actionsHeader .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__actionsHeader .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__actionsHeader .mc__Table-module__actionsContainer{position:relative;display:flex;align-items:center;justify-content:center;height:100%}.mc__Table-module__actionsHeader .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__actionsHeader .mc__Table-module__actionsTrigger:hover{background-color:#f2f2f2}.mc__Table-module__actionsHeader .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__actionsHeader .mc__Table-module__actionsMenu.mc__Table-module__actionsMenuFixed{position:fixed;margin-top:0;top:auto;right:auto}.mc__Table-module__actionsHeader .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__actionsHeader .mc__Table-module__actionItem:hover{background-color:#f6f8ff}.mc__Table-module__actionsHeader .mc__Table-module__actionItem:first-child{border-top-left-radius:8px;border-top-right-radius:8px}.mc__Table-module__actionsHeader .mc__Table-module__actionItem:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.mc__Table-module__actionsHeader .mc__Table-module__actionItem svg{flex-shrink:0}.mc__Table-module__actionsHeader .mc__Table-module__gridHeader{display:flex;align-items:center;justify-content:space-between;padding:16px 0}.mc__Table-module__actionsHeader .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration{display:flex;align-items:center;gap:8px;position:relative}.mc__Table-module__actionsHeader .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__actionsHeader .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration .mc__Table-module__columnConfigurationIcon:hover{cursor:pointer;background-color:#f2f2f2}.mc__Table-module__actionsHeader .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__actionsHeader .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__actionsHeader .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown li:hover{cursor:pointer;background-color:#f2f2f2}.mc__Table-module__actionsHeader .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__actionsHeader .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__actionsHeader .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__actionsHeader .mc__Table-module__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown li .mc__Table-module__columnConfigurationItemIcon:active{cursor:grabbing}.mc__Table-module__actionsHeader .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}.mc__Table-module__rowsPerPageDropdown{position:relative;display:inline-block}.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__rowsPerPageList.mc__Table-module__openDownward{top:calc(100% + 4px)}.mc__Table-module__rowsPerPageList.mc__Table-module__openUpward{bottom:calc(100% + 4px)}.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__rowsPerPageOption:hover{background:#f2f2f2}.mc__Table-module__rowsPerPageOption.mc__Table-module__selected{background:#ecf3ff}.mc__Table-module__rowsPerPageOption:first-child{border-top-left-radius:6px;border-top-right-radius:6px}.mc__Table-module__rowsPerPageOption:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}: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}.mc__DropdownPill-module__dropdownPill{cursor:pointer;width:100%;border-radius:4px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:6px 10px;gap:8px}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected{width:100%;border-radius:4px}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected .mc__DropdownPill-module__dropdownItemLabel{width:100%}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected .mc__DropdownPill-module__dropdownItemLabel p{width:100%;overflow:hidden;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__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected.mc__DropdownPill-module__defaultSelected{background:#ecf3ff}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected.mc__DropdownPill-module__defaultSelected p{color:#0058ff!important}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected.mc__DropdownPill-module__altSelected{background:#0058ff}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected.mc__DropdownPill-module__altSelected p{color:#fff!important}.mc__DropdownPill-module__dropdownPill:hover{background:#f2f2f2}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__disabled p:first-of-type{color:#95969c!important}.mc__DropdownPill-module__dropdownPill .mc__DropdownPill-module__dropdownPillText{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}`)),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { jsx as e, jsxs as
|
|
3
|
-
import { useState as Z, useRef as ae, useEffect as ne, useContext as $t, createContext as Mt, useCallback as
|
|
4
|
-
import
|
|
5
|
-
const Ye = 50 / 2,
|
|
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 .mc__Dropdown-module__dropdownItemLabelText{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 .mc__Dropdown-module__dropdownItemLabelText{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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__dropdownItemLabelText,.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__dropdownItemLabelTextCount{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:222px;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:596px}.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{width:100%;height:100%}.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%;height: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}.mc__Table-module__tableContainer th{cursor:pointer}.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__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;max-width:400px}.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}.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__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__pageNumber{min-width:32px!important;height:32px!important;padding:4px 8px!important;font-size:14px!important;font-weight:500!important;border-radius:6px!important}.mc__Table-module__pageNumber.mc__Table-module__active{background-color:#0058ff!important;color:#fff!important}.mc__Table-module__pageNumber.mc__Table-module__active:hover{background-color:#0048cc!important;color:#fff!important}.mc__Table-module__pageNumber:hover:not(.mc__Table-module__active):not(:disabled){background-color:#f8f9fa!important;color:#0058ff!important}.mc__Table-module__ellipsis{display:flex;align-items:center;justify-content:center;min-width:32px;height:32px;font-size:14px;color:#6b7280;font-weight:500;padding:0 4px}.mc__Table-module__actionsHeader .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__actionsHeader .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__actionsHeader .mc__Table-module__actionsContainer{position:relative;display:flex;align-items:center;justify-content:center;height:100%}.mc__Table-module__actionsHeader .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__actionsHeader .mc__Table-module__actionsTrigger:hover{background-color:#f2f2f2}.mc__Table-module__actionsHeader .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__actionsHeader .mc__Table-module__actionsMenu.mc__Table-module__actionsMenuFixed{position:fixed;margin-top:0;top:auto;right:auto}.mc__Table-module__actionsHeader .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__actionsHeader .mc__Table-module__actionItem:hover{background-color:#f6f8ff}.mc__Table-module__actionsHeader .mc__Table-module__actionItem:first-child{border-top-left-radius:8px;border-top-right-radius:8px}.mc__Table-module__actionsHeader .mc__Table-module__actionItem:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.mc__Table-module__actionsHeader .mc__Table-module__actionItem svg{flex-shrink:0}.mc__Table-module__gridHeader{display:flex;align-items:center;justify-content:space-between;padding:16px 0}.mc__Table-module__gridHeader .mc__Table-module__columnConfiguration{display:flex;align-items:center;gap:8px;position:relative}.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__gridHeader .mc__Table-module__columnConfiguration .mc__Table-module__columnConfigurationIcon:hover{cursor:pointer;background-color:#f2f2f2}.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__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__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown li:hover{cursor:pointer;background-color:#f2f2f2}.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__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__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__gridHeader .mc__Table-module__columnConfiguration ul.mc__Table-module__columnConfigurationDropdown li .mc__Table-module__columnConfigurationItemIcon:active{cursor:grabbing}.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}.mc__Table-module__rowsPerPageDropdown{position:relative;display:inline-block}.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__rowsPerPageList.mc__Table-module__openDownward{top:calc(100% + 4px)}.mc__Table-module__rowsPerPageList.mc__Table-module__openUpward{bottom:calc(100% + 4px)}.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__rowsPerPageOption:hover{background:#f2f2f2}.mc__Table-module__rowsPerPageOption.mc__Table-module__selected{background:#ecf3ff}.mc__Table-module__rowsPerPageOption:first-child{border-top-left-radius:6px;border-top-right-radius:6px}.mc__Table-module__rowsPerPageOption:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}: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}.mc__DropdownPill-module__dropdownPill{cursor:pointer;width:100%;border-radius:4px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:6px 10px;gap:8px}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected{width:100%;border-radius:4px}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected .mc__DropdownPill-module__dropdownItemLabel{width:100%}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected .mc__DropdownPill-module__dropdownItemLabel p{width:100%;overflow:hidden;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__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected.mc__DropdownPill-module__defaultSelected{background:#ecf3ff}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected.mc__DropdownPill-module__defaultSelected p{color:#0058ff!important}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected.mc__DropdownPill-module__altSelected{background:#0058ff}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__selected.mc__DropdownPill-module__altSelected p{color:#fff!important}.mc__DropdownPill-module__dropdownPill:hover{background:#f2f2f2}.mc__DropdownPill-module__dropdownPill.mc__DropdownPill-module__disabled p:first-of-type{color:#95969c!important}.mc__DropdownPill-module__dropdownPill .mc__DropdownPill-module__dropdownPillText{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}`)),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import { jsx as e, jsxs as i, Fragment as ot } from "react/jsx-runtime";
|
|
3
|
+
import { useState as Z, useRef as ae, useEffect as ne, useContext as $t, createContext as Mt, useCallback as nt } from "react";
|
|
4
|
+
import D from "dayjs";
|
|
5
|
+
const Ye = 50 / 2, Bt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round", duration: r = 1, stroke: s = "#2753dd", ...m }) => {
|
|
6
6
|
const a = Ye;
|
|
7
|
-
return /* @__PURE__ */ e("svg", { ...m, viewBox: `0 0 ${Ye * 2} ${Ye * 2}`, width: t, height: t, children: /* @__PURE__ */
|
|
7
|
+
return /* @__PURE__ */ e("svg", { ...m, viewBox: `0 0 ${Ye * 2} ${Ye * 2}`, width: t, height: t, children: /* @__PURE__ */ i(
|
|
8
8
|
"circle",
|
|
9
9
|
{
|
|
10
10
|
fill: "none",
|
|
@@ -23,16 +23,16 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
23
23
|
type: "rotate",
|
|
24
24
|
from: `0 ${a} ${a}`,
|
|
25
25
|
to: `360 ${a} ${a}`,
|
|
26
|
-
dur: `${
|
|
26
|
+
dur: `${r * 4 / 3}s`,
|
|
27
27
|
repeatCount: "indefinite"
|
|
28
28
|
}
|
|
29
29
|
),
|
|
30
|
-
/* @__PURE__ */ e("animate", { attributeName: "stroke-dasharray", values: "1,200; 89,200; 89 200;", dur: `${
|
|
31
|
-
/* @__PURE__ */ e("animate", { attributeName: "stroke-dashoffset", values: "0;-35;-124;", dur: `${
|
|
30
|
+
/* @__PURE__ */ e("animate", { attributeName: "stroke-dasharray", values: "1,200; 89,200; 89 200;", dur: `${r}s`, repeatCount: "indefinite" }),
|
|
31
|
+
/* @__PURE__ */ e("animate", { attributeName: "stroke-dashoffset", values: "0;-35;-124;", dur: `${r}s`, repeatCount: "indefinite" })
|
|
32
32
|
]
|
|
33
33
|
}
|
|
34
34
|
) });
|
|
35
|
-
}, Et = ({ size: t = "15", color: o = "#717680" }) => /* @__PURE__ */
|
|
35
|
+
}, Et = ({ size: t = "15", color: o = "#717680" }) => /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, viewBox: "0 0 16 16", fill: "none", children: [
|
|
36
36
|
/* @__PURE__ */ e(
|
|
37
37
|
"path",
|
|
38
38
|
{
|
|
@@ -55,15 +55,15 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
55
55
|
width: t = "14",
|
|
56
56
|
height: o = "14",
|
|
57
57
|
color: n = "#A4A7AE",
|
|
58
|
-
xmlns:
|
|
58
|
+
xmlns: r = "http://www.w3.org/2000/svg",
|
|
59
59
|
viewBox: s = "0 0 14 14",
|
|
60
60
|
fill: m = "none",
|
|
61
61
|
d: a = "M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",
|
|
62
62
|
stroke: l = "#A4A7AE",
|
|
63
|
-
strokeWidth:
|
|
63
|
+
strokeWidth: b = "1.66667",
|
|
64
64
|
strokeLinecap: P = "round",
|
|
65
|
-
strokeLinejoin:
|
|
66
|
-
}) => /* @__PURE__ */ e("svg", { xmlns:
|
|
65
|
+
strokeLinejoin: v = "round"
|
|
66
|
+
}) => /* @__PURE__ */ e("svg", { xmlns: r, width: t, height: o, viewBox: s, fill: m, children: /* @__PURE__ */ e("path", { d: a, stroke: l, strokeWidth: b, strokeLinecap: P, strokeLinejoin: v }) }), Dt = ({ 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",
|
|
@@ -71,7 +71,7 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
71
71
|
d: "M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L6 4.58579L10.2929 0.292893C10.6834 -0.0976311 11.3166 -0.0976311 11.7071 0.292893C12.0976 0.683417 12.0976 1.31658 11.7071 1.70711L7.41421 6L11.7071 10.2929C12.0976 10.6834 12.0976 11.3166 11.7071 11.7071C11.3166 12.0976 10.6834 12.0976 10.2929 11.7071L6 7.41421L1.70711 11.7071C1.31658 12.0976 0.683417 12.0976 0.292893 11.7071C-0.0976311 11.3166 -0.0976311 10.6834 0.292893 10.2929L4.58579 6L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z",
|
|
72
72
|
fill: t
|
|
73
73
|
}
|
|
74
|
-
) }),
|
|
74
|
+
) }), lt = ({ width: t = "20", height: o = "20", color: n = "#C1C2C7" }) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: o, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e(
|
|
75
75
|
"path",
|
|
76
76
|
{
|
|
77
77
|
fillRule: "evenodd",
|
|
@@ -87,8 +87,8 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
87
87
|
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",
|
|
88
88
|
fill: n
|
|
89
89
|
}
|
|
90
|
-
) }), Ot = ({ width: t = "8", height: o = "2", color: n = "#ffffff" }) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: o, viewBox: "0 0 8 2", fill: "none", children: /* @__PURE__ */ e("rect", { width: t, height: o, rx: "1", fill: n }) }), Zt = ({ size: t = "24", color: o = "#0058FF" }) => /* @__PURE__ */
|
|
91
|
-
/* @__PURE__ */
|
|
90
|
+
) }), Ot = ({ width: t = "8", height: o = "2", color: n = "#ffffff" }) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: o, viewBox: "0 0 8 2", fill: "none", children: /* @__PURE__ */ e("rect", { width: t, height: o, rx: "1", fill: n }) }), Zt = ({ size: t = "24", color: o = "#0058FF" }) => /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, viewBox: `0 0 ${t} ${t}`, fill: "none", children: [
|
|
91
|
+
/* @__PURE__ */ i("g", { clipPath: "url(#clip0_118_485)", children: [
|
|
92
92
|
/* @__PURE__ */ e(
|
|
93
93
|
"path",
|
|
94
94
|
{
|
|
@@ -99,7 +99,7 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
99
99
|
/* @__PURE__ */ e("path", { d: "M12 17C14.7614 17 17 14.7614 17 12C17 9.23858 14.7614 7 12 7C9.23858 7 7 9.23858 7 12C7 14.7614 9.23858 17 12 17Z", fill: o })
|
|
100
100
|
] }),
|
|
101
101
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_118_485", children: /* @__PURE__ */ e("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
102
|
-
] }), zt = ({ size: t = "24", color: o = "#C1C2C7" }) => /* @__PURE__ */
|
|
102
|
+
] }), zt = ({ size: t = "24", color: o = "#C1C2C7" }) => /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, viewBox: `0 0 ${t} ${t}`, fill: "none", children: [
|
|
103
103
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_118_495)", children: /* @__PURE__ */ e(
|
|
104
104
|
"path",
|
|
105
105
|
{
|
|
@@ -108,8 +108,8 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
108
108
|
}
|
|
109
109
|
) }),
|
|
110
110
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_118_495", children: /* @__PURE__ */ e("rect", { width: t, height: t, fill: "white" }) }) })
|
|
111
|
-
] }), Yt = ({ size: t = "24", color: o = "#95969C" }) => /* @__PURE__ */
|
|
112
|
-
/* @__PURE__ */
|
|
111
|
+
] }), Yt = ({ size: t = "24", color: o = "#95969C" }) => /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, viewBox: `0 0 ${t} ${t}`, fill: "none", children: [
|
|
112
|
+
/* @__PURE__ */ i("g", { clipPath: "url(#clip0_118_531)", children: [
|
|
113
113
|
/* @__PURE__ */ e(
|
|
114
114
|
"path",
|
|
115
115
|
{
|
|
@@ -120,7 +120,7 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
120
120
|
/* @__PURE__ */ e("path", { d: "M12 17C14.7614 17 17 14.7614 17 12C17 9.23858 14.7614 7 12 7C9.23858 7 7 9.23858 7 12C7 14.7614 9.23858 17 12 17Z", fill: o })
|
|
121
121
|
] }),
|
|
122
122
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_118_531", children: /* @__PURE__ */ e("rect", { width: t, height: t, fill: "white" }) }) })
|
|
123
|
-
] }), Ut = ({ size: t = "24", color: o = "#C1C2C7" }) => /* @__PURE__ */
|
|
123
|
+
] }), Ut = ({ size: t = "24", color: o = "#C1C2C7" }) => /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, viewBox: `0 0 ${t} ${t}`, fill: "none", children: [
|
|
124
124
|
/* @__PURE__ */ e("g", { clipPath: "url(#clip0_118_495)", children: /* @__PURE__ */ e(
|
|
125
125
|
"path",
|
|
126
126
|
{
|
|
@@ -151,7 +151,7 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
151
151
|
d: "M1.66699 10C1.66699 5.39763 5.39795 1.66667 10.0003 1.66667C14.6027 1.66667 18.3337 5.39763 18.3337 10C18.3337 14.6024 14.6027 18.3333 10.0003 18.3333C5.39795 18.3333 1.66699 14.6024 1.66699 10ZM13.0896 8.92259C13.415 8.59716 13.415 8.06952 13.0896 7.74408C12.7641 7.41865 12.2365 7.41865 11.9111 7.74408L9.16699 10.4882L8.08958 9.41075C7.76414 9.08531 7.23651 9.08531 6.91107 9.41075C6.58563 9.73619 6.58563 10.2638 6.91107 10.5893L8.57774 12.2559C8.90317 12.5814 9.43081 12.5814 9.75625 12.2559L13.0896 8.92259Z",
|
|
152
152
|
fill: t
|
|
153
153
|
}
|
|
154
|
-
) }), Kt = ({ width: t = "16", height: o = "16", color: n = "#C1C2C7" }) => /* @__PURE__ */
|
|
154
|
+
) }), Kt = ({ width: t = "16", height: o = "16", color: n = "#C1C2C7" }) => /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: o, viewBox: "0 0 16 16", fill: "none", children: [
|
|
155
155
|
/* @__PURE__ */ e("path", { d: "M1.33333 5.5H14.6667V7.16667H1.33333V5.5Z", fill: n }),
|
|
156
156
|
/* @__PURE__ */ e(
|
|
157
157
|
"path",
|
|
@@ -196,7 +196,7 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
196
196
|
d: "M10.0001 18.3332C14.6025 18.3332 18.3334 14.6022 18.3334 9.99984C18.3334 5.39746 14.6025 1.6665 10.0001 1.6665C5.39771 1.6665 1.66675 5.39746 1.66675 9.99984C1.66675 14.6022 5.39771 18.3332 10.0001 18.3332ZM8.08934 6.91058C7.7639 6.58514 7.23626 6.58514 6.91083 6.91058C6.58539 7.23602 6.58539 7.76366 6.91083 8.08909L8.82157 9.99984L6.91083 11.9106C6.58539 12.236 6.58539 12.7637 6.91083 13.0891C7.23626 13.4145 7.7639 13.4145 8.08934 13.0891L10.0001 11.1783L11.9108 13.0891C12.2363 13.4145 12.7639 13.4145 13.0893 13.0891C13.4148 12.7637 13.4148 12.236 13.0893 11.9106L11.1786 9.99984L13.0893 8.08909C13.4148 7.76366 13.4148 7.23602 13.0893 6.91058C12.7639 6.58514 12.2363 6.58514 11.9108 6.91058L10.0001 8.82133L8.08934 6.91058Z",
|
|
197
197
|
fill: o
|
|
198
198
|
}
|
|
199
|
-
) }), Qt = () => /* @__PURE__ */
|
|
199
|
+
) }), Qt = () => /* @__PURE__ */ i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
200
200
|
/* @__PURE__ */ e(
|
|
201
201
|
"path",
|
|
202
202
|
{
|
|
@@ -226,14 +226,14 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
226
226
|
fill: "#15181A",
|
|
227
227
|
d: "M2 1a1 1 0 11-2 0 1 1 0 012 0zM6 1a1 1 0 11-2 0 1 1 0 012 0zM2 5a1 1 0 11-2 0 1 1 0 012 0zM6 5a1 1 0 11-2 0 1 1 0 012 0zM2 9a1 1 0 11-2 0 1 1 0 012 0zM6 9a1 1 0 11-2 0 1 1 0 012 0z"
|
|
228
228
|
}
|
|
229
|
-
) }), eo = "mc__MainButton-module__mainButton", to = "mc__MainButton-module__sm", oo = "mc__MainButton-module__md", no = "mc__MainButton-module__lg", lo = "mc__MainButton-module__mainButtonContent",
|
|
229
|
+
) }), eo = "mc__MainButton-module__mainButton", to = "mc__MainButton-module__sm", oo = "mc__MainButton-module__md", no = "mc__MainButton-module__lg", lo = "mc__MainButton-module__mainButtonContent", ro = "mc__MainButton-module__mainButtonLabel", io = "mc__MainButton-module__primary", so = "mc__MainButton-module__neutral", ao = "mc__MainButton-module__loading", co = "mc__MainButton-module__disabled", uo = "mc__MainButton-module__focused", po = "mc__MainButton-module__positive", mo = "mc__MainButton-module__negative", ho = "mc__MainButton-module__secondary", fo = "mc__MainButton-module__tertiary", _o = "mc__MainButton-module__tertiaryV2", Co = "mc__MainButton-module__tertiaryV3", Le = {
|
|
230
230
|
mainButton: eo,
|
|
231
231
|
sm: to,
|
|
232
232
|
md: oo,
|
|
233
233
|
lg: no,
|
|
234
234
|
mainButtonContent: lo,
|
|
235
|
-
mainButtonLabel:
|
|
236
|
-
primary:
|
|
235
|
+
mainButtonLabel: ro,
|
|
236
|
+
primary: io,
|
|
237
237
|
neutral: so,
|
|
238
238
|
loading: ao,
|
|
239
239
|
disabled: co,
|
|
@@ -248,18 +248,18 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
248
248
|
label: t,
|
|
249
249
|
size: o = "md",
|
|
250
250
|
leftSlot: n,
|
|
251
|
-
rightSlot:
|
|
251
|
+
rightSlot: r,
|
|
252
252
|
buttonSlot: s,
|
|
253
253
|
type: m = "button",
|
|
254
254
|
colorType: a = "neutral",
|
|
255
255
|
buttonType: l = "primary",
|
|
256
|
-
withFocus:
|
|
256
|
+
withFocus: b = !1,
|
|
257
257
|
onlyIcon: P = !1,
|
|
258
|
-
customFocus:
|
|
259
|
-
disabled:
|
|
260
|
-
loading:
|
|
261
|
-
spaceBetween:
|
|
262
|
-
customLoader:
|
|
258
|
+
customFocus: v,
|
|
259
|
+
disabled: S,
|
|
260
|
+
loading: k = !1,
|
|
261
|
+
spaceBetween: $ = !1,
|
|
262
|
+
customLoader: W,
|
|
263
263
|
buttonStyle: w,
|
|
264
264
|
mainButtonContentStyle: d,
|
|
265
265
|
mainButtonLabelStyle: _,
|
|
@@ -267,15 +267,15 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
267
267
|
rightSlotStyle: p,
|
|
268
268
|
onClick: V
|
|
269
269
|
}) => {
|
|
270
|
-
const [J, U] = Z(
|
|
271
|
-
|
|
270
|
+
const [J, U] = Z(v || !1), O = ae(null), le = (j) => {
|
|
271
|
+
S || k || (b && U((ee) => !ee), V?.(j));
|
|
272
272
|
}, K = () => {
|
|
273
273
|
let j = "#ffffff";
|
|
274
274
|
return a === "neutral" && l !== "primary" && (j = "#0058FF"), a === "positive" && l !== "primary" && (j = "#328707"), a === "negative" && l !== "primary" && (j = "#E3292F"), j;
|
|
275
275
|
};
|
|
276
276
|
return ne(() => {
|
|
277
277
|
const j = (ee) => {
|
|
278
|
-
!O.current ||
|
|
278
|
+
!O.current || S || ee.composedPath().includes(O.current) || U(!1);
|
|
279
279
|
};
|
|
280
280
|
return document.addEventListener("click", j), () => {
|
|
281
281
|
document.removeEventListener("click", j);
|
|
@@ -286,13 +286,13 @@ const Ye = 50 / 2, Wt = ({ size: t = 24, strokeWidth: o = 5, linecap: n = "round
|
|
|
286
286
|
ref: O,
|
|
287
287
|
style: { ...w, ...P && { minWidth: "initial" } },
|
|
288
288
|
type: m,
|
|
289
|
-
disabled:
|
|
290
|
-
className: `${Le.mainButton} ${Le[o]} ${
|
|
289
|
+
disabled: S,
|
|
290
|
+
className: `${Le.mainButton} ${Le[o]} ${k ? Le.loading : ""} ${J ? Le.focused : ""} ${Le[l]} ${Le[a]} ${S ? Le.disabled : ""}`,
|
|
291
291
|
onClick: le,
|
|
292
|
-
children:
|
|
292
|
+
children: k ? W || /* @__PURE__ */ e(Bt, { size: 20, stroke: K() }) : s || /* @__PURE__ */ i("div", { className: Le.mainButtonContent, style: { ...d, justifyContent: $ ? "space-between" : "center" }, children: [
|
|
293
293
|
n && /* @__PURE__ */ e("div", { className: Le.leftSlot, style: y, children: n }),
|
|
294
294
|
/* @__PURE__ */ e("p", { className: Le.mainButtonLabel, style: _, children: t }),
|
|
295
|
-
|
|
295
|
+
r && /* @__PURE__ */ e("div", { className: Le.rightSlot, style: p, children: r })
|
|
296
296
|
] })
|
|
297
297
|
}
|
|
298
298
|
);
|
|
@@ -346,18 +346,18 @@ const go = "mc__FormInput-module__inputWrapper", wo = "mc__FormInput-module__sm"
|
|
|
346
346
|
label: t,
|
|
347
347
|
placeholder: o,
|
|
348
348
|
helperText: n,
|
|
349
|
-
required:
|
|
349
|
+
required: r = !1,
|
|
350
350
|
disabled: s = !1,
|
|
351
351
|
readOnly: m = !1,
|
|
352
352
|
withFocus: a = !0,
|
|
353
353
|
withActive: l = !0,
|
|
354
|
-
searchComponent:
|
|
354
|
+
searchComponent: b = !1,
|
|
355
355
|
size: P = "md",
|
|
356
|
-
toggleFocus:
|
|
357
|
-
rightSlot:
|
|
358
|
-
leftSlot:
|
|
359
|
-
helperSlot:
|
|
360
|
-
type:
|
|
356
|
+
toggleFocus: v = !1,
|
|
357
|
+
rightSlot: S,
|
|
358
|
+
leftSlot: k,
|
|
359
|
+
helperSlot: $,
|
|
360
|
+
type: W = "text",
|
|
361
361
|
value: w,
|
|
362
362
|
maxLength: d,
|
|
363
363
|
forDropdown: _ = !1,
|
|
@@ -374,58 +374,58 @@ const go = "mc__FormInput-module__inputWrapper", wo = "mc__FormInput-module__sm"
|
|
|
374
374
|
formInputStyle: z,
|
|
375
375
|
helperTextStyle: F,
|
|
376
376
|
labelStyle: Y,
|
|
377
|
-
inputSlotStyle:
|
|
377
|
+
inputSlotStyle: L
|
|
378
378
|
}) => {
|
|
379
|
-
const g = ae(null), [h, R] = Z(w ?? ""), [f,
|
|
380
|
-
|
|
379
|
+
const g = ae(null), [h, R] = Z(w ?? ""), [f, B] = Z(!1), [Q, de] = Z(!1), re = (G) => {
|
|
380
|
+
b && R(G.target.value), J?.(G.target.value);
|
|
381
381
|
}, me = () => {
|
|
382
|
-
U?.(), !_ &&
|
|
383
|
-
},
|
|
384
|
-
|
|
382
|
+
U?.(), !_ && B(!0);
|
|
383
|
+
}, ie = () => {
|
|
384
|
+
B(v ? y ?? !1 : !1), O?.();
|
|
385
385
|
}, E = (G) => {
|
|
386
386
|
const _e = G.currentTarget.value, A = _e.length === 0;
|
|
387
|
-
|
|
387
|
+
W === "number" && (G.keyCode === 69 || !A && (G.keyCode === 187 || G.keyCode === 107 || G.keyCode === 189 || G.keyCode === 109)) && G.preventDefault(), G.key === "Enter" && _e && _e.length > 0 && le?.();
|
|
388
388
|
}, se = (G) => typeof G == "function" ? G(w) : G, ue = () => {
|
|
389
|
-
|
|
389
|
+
b && (R(""), J?.(""));
|
|
390
390
|
};
|
|
391
391
|
return ne(() => {
|
|
392
392
|
K?.(f);
|
|
393
393
|
}, [f]), ne(() => {
|
|
394
|
-
y != null &&
|
|
395
|
-
}, [y]), /* @__PURE__ */
|
|
396
|
-
t && /* @__PURE__ */
|
|
397
|
-
/* @__PURE__ */
|
|
394
|
+
y != null && B(y);
|
|
395
|
+
}, [y]), /* @__PURE__ */ i("div", { className: `${pe.inputWrapper} ${s ? pe.disabled : ""} ${pe[P]}`, style: ee ?? {}, children: [
|
|
396
|
+
t && /* @__PURE__ */ i("div", { className: pe.formInputLabelWrapper, children: [
|
|
397
|
+
/* @__PURE__ */ i("label", { style: Y ?? {}, className: pe.formInputLabel, children: [
|
|
398
398
|
t,
|
|
399
399
|
" ",
|
|
400
|
-
typeof t == "string" &&
|
|
400
|
+
typeof t == "string" && r && /* @__PURE__ */ e("span", { className: pe.formInputRequired, children: "*" })
|
|
401
401
|
] }),
|
|
402
|
-
|
|
402
|
+
$ && /* @__PURE__ */ e("div", { className: pe.formInputHelperSlot, children: se($) })
|
|
403
403
|
] }),
|
|
404
|
-
/* @__PURE__ */
|
|
404
|
+
/* @__PURE__ */ i(
|
|
405
405
|
"div",
|
|
406
406
|
{
|
|
407
407
|
className: `${pe.formInputWrapper} ${p.error ? pe.errorState : ""} ${a && f ? p.error ? pe.errorFocused : pe.focused : ""} ${l && Q ? p.error ? pe.errorActive : pe.active : ""} ${p.error ? pe.error : ""} ${p.success ? pe.success : ""}`,
|
|
408
408
|
style: j ?? {},
|
|
409
|
-
onClick: () =>
|
|
409
|
+
onClick: () => v && B((G) => !G),
|
|
410
410
|
children: [
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
V ? /* @__PURE__ */ e("div", { className: pe.formInputSlot, style:
|
|
411
|
+
k && /* @__PURE__ */ e("div", { className: pe.formInputSlot, children: se(k) }),
|
|
412
|
+
b && /* @__PURE__ */ e("div", { className: pe.formInputSlot, children: se(/* @__PURE__ */ e(Et, {})) }),
|
|
413
|
+
V ? /* @__PURE__ */ e("div", { className: pe.formInputSlot, style: L ?? {}, children: se(V) }) : /* @__PURE__ */ e(
|
|
414
414
|
"input",
|
|
415
415
|
{
|
|
416
416
|
className: pe.formInput,
|
|
417
417
|
ref: g,
|
|
418
418
|
style: z ?? {},
|
|
419
|
-
type:
|
|
420
|
-
value:
|
|
421
|
-
onChange: (G) =>
|
|
419
|
+
type: W ?? "text",
|
|
420
|
+
value: b ? h : w,
|
|
421
|
+
onChange: (G) => re(G),
|
|
422
422
|
onMouseDown: () => !_ && de(!0),
|
|
423
423
|
onMouseUp: () => !_ && de(!1),
|
|
424
424
|
onMouseLeave: () => !_ && de(!1),
|
|
425
425
|
onFocus: me,
|
|
426
|
-
onBlur:
|
|
426
|
+
onBlur: ie,
|
|
427
427
|
disabled: s,
|
|
428
|
-
required:
|
|
428
|
+
required: r,
|
|
429
429
|
onKeyDown: E,
|
|
430
430
|
readOnly: m,
|
|
431
431
|
spellCheck: !1,
|
|
@@ -434,8 +434,8 @@ const go = "mc__FormInput-module__inputWrapper", wo = "mc__FormInput-module__sm"
|
|
|
434
434
|
maxLength: d
|
|
435
435
|
}
|
|
436
436
|
),
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
S && /* @__PURE__ */ e("div", { style: b ? { cursor: "pointer" } : {}, className: pe.formInputSlot, children: se(S) }),
|
|
438
|
+
b && /* @__PURE__ */ e("div", { className: pe.formInputSlot, children: /* @__PURE__ */ e("div", { onClick: ue, style: b ? { cursor: "pointer" } : {}, className: pe.formInputSlot, children: h?.length > 0 ? se(/* @__PURE__ */ e(lt, {})) : null }) })
|
|
439
439
|
]
|
|
440
440
|
}
|
|
441
441
|
),
|
|
@@ -486,9 +486,9 @@ ze.propKeys = [
|
|
|
486
486
|
];
|
|
487
487
|
ze.displayName = "Input";
|
|
488
488
|
ze.description = "A flexible input component with search functionality, validation states, and custom slots.";
|
|
489
|
-
const
|
|
490
|
-
textareaContainer:
|
|
491
|
-
textAreaLabel:
|
|
489
|
+
const Wo = "mc__Textarea-module__textareaContainer", Bo = "mc__Textarea-module__textAreaLabel", Eo = "mc__Textarea-module__required", Fo = "mc__Textarea-module__wrap", Vo = "mc__Textarea-module__resize", Oo = "mc__Textarea-module__textareaIconClose", Zo = "mc__Textarea-module__textarea", zo = "mc__Textarea-module__focused", Yo = "mc__Textarea-module__active", Uo = "mc__Textarea-module__errorFocused", jo = "mc__Textarea-module__errorActive", qo = "mc__Textarea-module__textareaFooter", ye = {
|
|
490
|
+
textareaContainer: Wo,
|
|
491
|
+
textAreaLabel: Bo,
|
|
492
492
|
required: Eo,
|
|
493
493
|
wrap: Fo,
|
|
494
494
|
resize: Vo,
|
|
@@ -503,18 +503,18 @@ const Bo = "mc__Textarea-module__textareaContainer", Wo = "mc__Textarea-module__
|
|
|
503
503
|
placeholder: t,
|
|
504
504
|
label: o,
|
|
505
505
|
cols: n = 30,
|
|
506
|
-
rows:
|
|
506
|
+
rows: r = 5,
|
|
507
507
|
value: s,
|
|
508
508
|
inputState: m = { error: !1, success: !0 },
|
|
509
509
|
maxLength: a,
|
|
510
510
|
withMaxLength: l = !1,
|
|
511
|
-
withFocus:
|
|
511
|
+
withFocus: b = !0,
|
|
512
512
|
withActive: P = !0,
|
|
513
|
-
withResize:
|
|
514
|
-
withClose:
|
|
515
|
-
onChange:
|
|
516
|
-
onFocus:
|
|
517
|
-
onBlur:
|
|
513
|
+
withResize: v = !0,
|
|
514
|
+
withClose: S = !0,
|
|
515
|
+
onChange: k,
|
|
516
|
+
onFocus: $,
|
|
517
|
+
onBlur: W,
|
|
518
518
|
disabled: w,
|
|
519
519
|
required: d,
|
|
520
520
|
textareaContainerStyle: _,
|
|
@@ -524,24 +524,24 @@ const Bo = "mc__Textarea-module__textareaContainer", Wo = "mc__Textarea-module__
|
|
|
524
524
|
textareaFooterStyle: J
|
|
525
525
|
}) => {
|
|
526
526
|
const U = ae(null), [O, le] = Z(!1), [K, j] = Z(!1), ee = (f) => {
|
|
527
|
-
let
|
|
528
|
-
|
|
527
|
+
let B = f.target.value;
|
|
528
|
+
k && typeof k == "function" && k(B);
|
|
529
529
|
}, z = (f) => f, F = (f) => {
|
|
530
|
-
le(!0),
|
|
530
|
+
le(!0), $ && typeof $ == "function" && $(f);
|
|
531
531
|
}, Y = (f) => {
|
|
532
|
-
le(!1),
|
|
532
|
+
le(!1), W && typeof W == "function" && W(f);
|
|
533
533
|
};
|
|
534
|
-
let
|
|
534
|
+
let L = !1;
|
|
535
535
|
ne(() => {
|
|
536
536
|
if (!U.current) return;
|
|
537
537
|
const f = U.current.querySelector("textarea");
|
|
538
538
|
if (!f) return;
|
|
539
|
-
let
|
|
540
|
-
const Q = (
|
|
539
|
+
let B = !1;
|
|
540
|
+
const Q = (re) => {
|
|
541
541
|
const me = f.getBoundingClientRect();
|
|
542
|
-
|
|
542
|
+
re.clientX > me.right - 20 && re.clientY > me.bottom - 20 && (B = !0);
|
|
543
543
|
}, de = new ResizeObserver(() => {
|
|
544
|
-
|
|
544
|
+
B && (L = !0, B = !1);
|
|
545
545
|
});
|
|
546
546
|
return f.addEventListener("mousedown", Q), de.observe(f), () => {
|
|
547
547
|
f.removeEventListener("mousedown", Q), de.disconnect();
|
|
@@ -550,40 +550,40 @@ const Bo = "mc__Textarea-module__textareaContainer", Wo = "mc__Textarea-module__
|
|
|
550
550
|
const g = () => {
|
|
551
551
|
if (!U.current) return;
|
|
552
552
|
const f = U.current.querySelector("textarea");
|
|
553
|
-
!f ||
|
|
553
|
+
!f || L || (f.style.height = "auto", f.style.height = `${f.scrollHeight}px`);
|
|
554
554
|
};
|
|
555
555
|
ne(() => {
|
|
556
556
|
if (!U.current) return;
|
|
557
|
-
const f = U.current.querySelector("textarea"),
|
|
558
|
-
|
|
557
|
+
const f = U.current.querySelector("textarea"), B = new ResizeObserver(() => {
|
|
558
|
+
L = f.offsetHeight < f.scrollHeight;
|
|
559
559
|
});
|
|
560
|
-
return
|
|
560
|
+
return B.observe(f), () => B.disconnect();
|
|
561
561
|
}, []);
|
|
562
562
|
const h = (f) => {
|
|
563
|
-
|
|
563
|
+
L = !1, k?.(f.target.value), g();
|
|
564
564
|
}, R = () => {
|
|
565
|
-
|
|
565
|
+
k && typeof k == "function" && k("");
|
|
566
566
|
};
|
|
567
|
-
return /* @__PURE__ */
|
|
567
|
+
return /* @__PURE__ */ i(
|
|
568
568
|
"div",
|
|
569
569
|
{
|
|
570
570
|
style: _ ?? {},
|
|
571
571
|
className: `${ye.textareaContainer} ${m.error ? ye.error : ""} ${w ? ye.disabled : null}`,
|
|
572
572
|
children: [
|
|
573
|
-
o && /* @__PURE__ */
|
|
573
|
+
o && /* @__PURE__ */ i("div", { style: y, className: ye.textAreaLabel, children: [
|
|
574
574
|
/* @__PURE__ */ e("p", { children: o }),
|
|
575
575
|
/* @__PURE__ */ e("span", { style: p ?? {}, className: ye.required, children: d && "*" }),
|
|
576
576
|
V && z(V)
|
|
577
577
|
] }),
|
|
578
|
-
/* @__PURE__ */
|
|
578
|
+
/* @__PURE__ */ i("div", { className: `${ye.wrap} ${v ? ye.resize : ""}`, ref: U, children: [
|
|
579
579
|
/* @__PURE__ */ e(
|
|
580
580
|
"textarea",
|
|
581
581
|
{
|
|
582
|
-
className: `${ye.textarea} ${O ? ye.focused : ""} ${w ? ye.disabled : ""} ${
|
|
582
|
+
className: `${ye.textarea} ${O ? ye.focused : ""} ${w ? ye.disabled : ""} ${b && O ? m.error ? ye.errorFocused : ye.focused : ""} ${P && K ? m.error ? ye.errorActive : ye.active : ""} ${m.error ? ye.error : ""} ${m.success ? ye.success : ""}`,
|
|
583
583
|
value: s,
|
|
584
584
|
placeholder: t ?? "",
|
|
585
585
|
cols: n,
|
|
586
|
-
rows:
|
|
586
|
+
rows: r,
|
|
587
587
|
maxLength: l ? a : void 0,
|
|
588
588
|
onInput: h,
|
|
589
589
|
onFocus: F,
|
|
@@ -595,9 +595,9 @@ const Bo = "mc__Textarea-module__textareaContainer", Wo = "mc__Textarea-module__
|
|
|
595
595
|
onMouseLeave: () => j(!1)
|
|
596
596
|
}
|
|
597
597
|
),
|
|
598
|
-
|
|
598
|
+
S && s && /* @__PURE__ */ e("div", { className: ye.textareaIconClose, onClick: R, children: /* @__PURE__ */ e(Xt, {}) })
|
|
599
599
|
] }),
|
|
600
|
-
l && /* @__PURE__ */ e("div", { style: J ?? {}, className: ye.textareaFooter, children: /* @__PURE__ */
|
|
600
|
+
l && /* @__PURE__ */ e("div", { style: J ?? {}, className: ye.textareaFooter, children: /* @__PURE__ */ i("p", { children: [
|
|
601
601
|
s?.length,
|
|
602
602
|
"/",
|
|
603
603
|
a
|
|
@@ -641,13 +641,13 @@ const Ko = "mc__Toggle-module__toggleWrapper", Xo = "mc__Toggle-module__checked"
|
|
|
641
641
|
toggleState: en,
|
|
642
642
|
md: tn,
|
|
643
643
|
lg: on
|
|
644
|
-
}, dt = ({ checked: t, change: o, disabled: n = !1, size:
|
|
644
|
+
}, dt = ({ checked: t, change: o, disabled: n = !1, size: r = "md", toggleType: s = "default", required: m = !1 }) => /* @__PURE__ */ e(
|
|
645
645
|
"div",
|
|
646
646
|
{
|
|
647
647
|
onClick: () => {
|
|
648
648
|
n || o?.(!t);
|
|
649
649
|
},
|
|
650
|
-
className: `${qe.toggleWrapper} ${s === "error" ? qe.error : ""} ${qe[
|
|
650
|
+
className: `${qe.toggleWrapper} ${s === "error" ? qe.error : ""} ${qe[r]} ${t ? qe.checked : ""} ${n ? qe.disabled : ""}`,
|
|
651
651
|
children: /* @__PURE__ */ e("div", { className: qe.toggleState, children: /* @__PURE__ */ e("input", { type: "checkbox", checked: t, readOnly: !0, disabled: n ?? !1, hidden: !0, required: m }) })
|
|
652
652
|
}
|
|
653
653
|
);
|
|
@@ -662,30 +662,30 @@ const nn = "mc__Checkbox-module__checkboxWrapper", ln = "mc__Checkbox-module__ch
|
|
|
662
662
|
disabled: an,
|
|
663
663
|
namespaceHr: cn,
|
|
664
664
|
dark: dn
|
|
665
|
-
}, un = Mt("namespaceNebi"), ut = () => $t(un),
|
|
665
|
+
}, un = Mt("namespaceNebi"), ut = () => $t(un), We = ({
|
|
666
666
|
checked: t,
|
|
667
667
|
ref: o,
|
|
668
668
|
change: n,
|
|
669
|
-
type:
|
|
669
|
+
type: r = "default",
|
|
670
670
|
disabled: s = !1,
|
|
671
671
|
required: m = !1,
|
|
672
672
|
multipleChecked: a = !1,
|
|
673
673
|
activeStyle: l,
|
|
674
|
-
checkBoxStyle:
|
|
674
|
+
checkBoxStyle: b,
|
|
675
675
|
theme: P = "light"
|
|
676
676
|
}) => {
|
|
677
|
-
const
|
|
677
|
+
const v = ut(), [S, k] = Z(!1), $ = () => {
|
|
678
678
|
s || n && typeof n == "function" && n(!t);
|
|
679
679
|
};
|
|
680
|
-
return /* @__PURE__ */
|
|
680
|
+
return /* @__PURE__ */ i(
|
|
681
681
|
"div",
|
|
682
682
|
{
|
|
683
|
-
style:
|
|
684
|
-
className: `${P === "dark" ? Fe.dark : ""} ${Fe[
|
|
685
|
-
onMouseDown: () =>
|
|
686
|
-
onMouseUp: () =>
|
|
687
|
-
onMouseLeave: () =>
|
|
688
|
-
onClick:
|
|
683
|
+
style: S ? s ? { boxShadow: "none" } : l ?? {} : b ?? {},
|
|
684
|
+
className: `${P === "dark" ? Fe.dark : ""} ${Fe[v]} ${Fe.checkboxWrapper} ${r === "error" ? Fe.error : ""} ${t ? Fe.checked : Fe.unChecked} ${s ? Fe.disabled : ""}`,
|
|
685
|
+
onMouseDown: () => k(!0),
|
|
686
|
+
onMouseUp: () => k(!1),
|
|
687
|
+
onMouseLeave: () => k(!1),
|
|
688
|
+
onClick: $,
|
|
689
689
|
children: [
|
|
690
690
|
/* @__PURE__ */ e("input", { ref: o, type: "checkbox", disabled: s, checked: t ?? !1, hidden: !0, readOnly: !0, required: m ?? !1 }),
|
|
691
691
|
t ? a ? /* @__PURE__ */ e(Ot, {}) : /* @__PURE__ */ e(Vt, {}) : ""
|
|
@@ -693,9 +693,9 @@ const nn = "mc__Checkbox-module__checkboxWrapper", ln = "mc__Checkbox-module__ch
|
|
|
693
693
|
}
|
|
694
694
|
);
|
|
695
695
|
};
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
696
|
+
We.propKeys = ["ref", "checked", "change", "type", "disabled", "required", "multipleChecked", "activeStyle", "checkBoxStyle", "theme"];
|
|
697
|
+
We.displayName = "Checkbox";
|
|
698
|
+
We.description = "A checkbox component with support for checked, indeterminate states and custom styling.";
|
|
699
699
|
const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dropdownInputWrapper", hn = "mc__Dropdown-module__dropdownInputSlot", fn = "mc__Dropdown-module__dropdownRightIconArrow", _n = "mc__Dropdown-module__focused", Cn = "mc__Dropdown-module__dropdownInputSlotItem", gn = "mc__Dropdown-module__dropdownInputSlotItemLabel", wn = "mc__Dropdown-module__dropdownInputSlotItemClose", yn = "mc__Dropdown-module__dropdownInputSlotItemMore", vn = "mc__Dropdown-module__dropdownRightIcon", bn = "mc__Dropdown-module__dropdownRightIconClose", kn = "mc__Dropdown-module__dropdownListContainer", Ln = "mc__Dropdown-module__dropdownList", xn = "mc__Dropdown-module__dropdownItem", Tn = "mc__Dropdown-module__selected", In = "mc__Dropdown-module__dropdownItemLabel", Nn = "mc__Dropdown-module__hovered", $n = "mc__Dropdown-module__disabled", Mn = "mc__Dropdown-module__dropdownItemLabelText", Dn = "mc__Dropdown-module__itemCheckbox", Sn = "mc__Dropdown-module__dropdownItemLabelInput", Pn = "mc__Dropdown-module__countryName", Hn = "mc__Dropdown-module__countryDialCode", Rn = "mc__Dropdown-module__dropdownItemLabelTextCount", ce = {
|
|
700
700
|
dropdownWrapper: pn,
|
|
701
701
|
dropdownInputWrapper: mn,
|
|
@@ -723,7 +723,7 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
723
723
|
dropdownItemLabelTextCount: Rn
|
|
724
724
|
}, at = (t, o) => {
|
|
725
725
|
const n = /* @__PURE__ */ new Set();
|
|
726
|
-
return t.filter((
|
|
726
|
+
return t.filter((r) => n.has(r[o]) ? !1 : (n.add(r[o]), !0));
|
|
727
727
|
}, pt = (t) => {
|
|
728
728
|
const o = [];
|
|
729
729
|
if (!t) return o;
|
|
@@ -733,10 +733,10 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
733
733
|
(s === "auto" || s === "scroll") && n.scrollHeight > n.clientHeight && o.push(n), n = n.parentElement;
|
|
734
734
|
}
|
|
735
735
|
return o.push(window), o;
|
|
736
|
-
}, An = "mc__TreeNode-module__treeNodeContainer",
|
|
736
|
+
}, An = "mc__TreeNode-module__treeNodeContainer", Wn = "mc__TreeNode-module__treeNodeItem", Bn = "mc__TreeNode-module__inDropDown", En = "mc__TreeNode-module__treeNode", Fn = "mc__TreeNode-module__visible", Vn = "mc__TreeNode-module__hidden", On = "mc__TreeNode-module__labelRow", Zn = "mc__TreeNode-module__label", zn = "mc__TreeNode-module__children", Yn = "mc__TreeNode-module__dropdownListFooter", ke = {
|
|
737
737
|
treeNodeContainer: An,
|
|
738
|
-
treeNodeItem:
|
|
739
|
-
inDropDown:
|
|
738
|
+
treeNodeItem: Wn,
|
|
739
|
+
inDropDown: Bn,
|
|
740
740
|
treeNode: En,
|
|
741
741
|
visible: Fn,
|
|
742
742
|
hidden: Vn,
|
|
@@ -754,52 +754,52 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
754
754
|
data: t,
|
|
755
755
|
defaultCollapsed: o = !0,
|
|
756
756
|
checkboxProps: n,
|
|
757
|
-
onCollapse:
|
|
757
|
+
onCollapse: r,
|
|
758
758
|
onSelect: s,
|
|
759
759
|
fromDropdown: m = !1,
|
|
760
760
|
withSelectAll: a = !1,
|
|
761
761
|
withClearAll: l = !1,
|
|
762
|
-
expandedNodes:
|
|
762
|
+
expandedNodes: b,
|
|
763
763
|
SearchValue: P,
|
|
764
|
-
SelectedData:
|
|
765
|
-
treeContainerStyle:
|
|
766
|
-
treeNodeItemStyle:
|
|
767
|
-
treeFooterStyle:
|
|
768
|
-
treeFooterTextStyle:
|
|
764
|
+
SelectedData: v,
|
|
765
|
+
treeContainerStyle: S,
|
|
766
|
+
treeNodeItemStyle: k,
|
|
767
|
+
treeFooterStyle: $,
|
|
768
|
+
treeFooterTextStyle: W,
|
|
769
769
|
treeNodeStyle: w,
|
|
770
770
|
labelRowStyle: d,
|
|
771
771
|
collapseToggleStyle: _,
|
|
772
772
|
checkIndividualItems: y = !1
|
|
773
773
|
}) => {
|
|
774
|
-
const [p, V] = Z(t || []), J = (z, F, Y = p) => Y.map((
|
|
775
|
-
if (
|
|
774
|
+
const [p, V] = Z(t || []), J = (z, F, Y = p) => Y.map((L) => {
|
|
775
|
+
if (L.id === z) {
|
|
776
776
|
if (y)
|
|
777
777
|
return {
|
|
778
|
-
...
|
|
778
|
+
...L,
|
|
779
779
|
selected: F
|
|
780
780
|
};
|
|
781
|
-
const g =
|
|
781
|
+
const g = L.children && L.children.length > 0;
|
|
782
782
|
return {
|
|
783
|
-
...
|
|
783
|
+
...L,
|
|
784
784
|
selected: F,
|
|
785
|
-
children: g ? U(
|
|
785
|
+
children: g ? U(L.children, F) : L.children || []
|
|
786
786
|
};
|
|
787
787
|
}
|
|
788
|
-
if (
|
|
789
|
-
const g = J(z, F,
|
|
788
|
+
if (L.children && L.children.length > 0) {
|
|
789
|
+
const g = J(z, F, L.children);
|
|
790
790
|
if (y)
|
|
791
791
|
return {
|
|
792
|
-
...
|
|
792
|
+
...L,
|
|
793
793
|
children: g
|
|
794
794
|
};
|
|
795
795
|
const R = g.filter((f) => f.selected).length === g.length && g.length > 0;
|
|
796
796
|
return {
|
|
797
|
-
...
|
|
797
|
+
...L,
|
|
798
798
|
selected: R,
|
|
799
799
|
children: g
|
|
800
800
|
};
|
|
801
801
|
}
|
|
802
|
-
return
|
|
802
|
+
return L;
|
|
803
803
|
}), U = (z, F) => z.map((Y) => ({
|
|
804
804
|
...Y,
|
|
805
805
|
selected: F,
|
|
@@ -807,10 +807,10 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
807
807
|
})), O = (z, F) => {
|
|
808
808
|
const Y = J(z, F);
|
|
809
809
|
V(Y);
|
|
810
|
-
const
|
|
811
|
-
s?.(
|
|
810
|
+
const L = K(Y);
|
|
811
|
+
s?.(L);
|
|
812
812
|
}, le = (z, F) => {
|
|
813
|
-
|
|
813
|
+
r?.(z, F);
|
|
814
814
|
}, K = (z) => {
|
|
815
815
|
let F = [];
|
|
816
816
|
return z.forEach((Y) => {
|
|
@@ -827,8 +827,8 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
827
827
|
};
|
|
828
828
|
return ne(() => {
|
|
829
829
|
V(t || []);
|
|
830
|
-
}, [t]), /* @__PURE__ */
|
|
831
|
-
/* @__PURE__ */ e("div", { className: `${ke.treeNodeItem} ${m ? ke.inDropDown : ""}`, style:
|
|
830
|
+
}, [t]), /* @__PURE__ */ i("div", { className: `${ke.treeNodeContainer}`, style: S, children: [
|
|
831
|
+
/* @__PURE__ */ e("div", { className: `${ke.treeNodeItem} ${m ? ke.inDropDown : ""}`, style: k, children: p.map((z) => /* @__PURE__ */ e(
|
|
832
832
|
St,
|
|
833
833
|
{
|
|
834
834
|
node: z,
|
|
@@ -837,13 +837,13 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
837
837
|
checkboxProps: n,
|
|
838
838
|
onCollapse: le,
|
|
839
839
|
depth: 0,
|
|
840
|
-
expandedNodes:
|
|
840
|
+
expandedNodes: b,
|
|
841
841
|
SearchValue: P,
|
|
842
|
-
SelectedData:
|
|
843
|
-
treeContainerStyle:
|
|
844
|
-
treeNodeItemStyle:
|
|
845
|
-
treeFooterStyle:
|
|
846
|
-
treeFooterTextStyle:
|
|
842
|
+
SelectedData: v,
|
|
843
|
+
treeContainerStyle: S,
|
|
844
|
+
treeNodeItemStyle: k,
|
|
845
|
+
treeFooterStyle: $,
|
|
846
|
+
treeFooterTextStyle: W,
|
|
847
847
|
treeNodeStyle: w,
|
|
848
848
|
labelRowStyle: d,
|
|
849
849
|
collapseToggleStyle: _,
|
|
@@ -851,32 +851,32 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
851
851
|
},
|
|
852
852
|
z.id
|
|
853
853
|
)) }),
|
|
854
|
-
m && /* @__PURE__ */
|
|
855
|
-
l && /* @__PURE__ */ e("span", { onClick: j, style:
|
|
856
|
-
a && P === "" && /* @__PURE__ */ e("span", { onClick: ee, style:
|
|
854
|
+
m && /* @__PURE__ */ i("div", { className: ke.dropdownListFooter, style: $, children: [
|
|
855
|
+
l && /* @__PURE__ */ e("span", { onClick: j, style: W, children: "Clear All" }),
|
|
856
|
+
a && P === "" && /* @__PURE__ */ e("span", { onClick: ee, style: W, children: "Select All" })
|
|
857
857
|
] })
|
|
858
858
|
] });
|
|
859
859
|
}, St = ({
|
|
860
860
|
node: t,
|
|
861
861
|
onSelect: o,
|
|
862
862
|
defaultCollapsed: n,
|
|
863
|
-
checkboxProps:
|
|
863
|
+
checkboxProps: r,
|
|
864
864
|
onCollapse: s,
|
|
865
865
|
depth: m,
|
|
866
866
|
expandedNodes: a,
|
|
867
867
|
SearchValue: l,
|
|
868
|
-
SelectedData:
|
|
868
|
+
SelectedData: b,
|
|
869
869
|
treeContainerStyle: P,
|
|
870
|
-
treeNodeItemStyle:
|
|
871
|
-
treeFooterStyle:
|
|
872
|
-
treeFooterTextStyle:
|
|
873
|
-
treeNodeStyle:
|
|
874
|
-
labelRowStyle:
|
|
870
|
+
treeNodeItemStyle: v,
|
|
871
|
+
treeFooterStyle: S,
|
|
872
|
+
treeFooterTextStyle: k,
|
|
873
|
+
treeNodeStyle: $,
|
|
874
|
+
labelRowStyle: W,
|
|
875
875
|
collapseToggleStyle: w,
|
|
876
876
|
checkIndividualItems: d
|
|
877
877
|
}) => {
|
|
878
878
|
const _ = a?.find((O) => O.id === t.id);
|
|
879
|
-
|
|
879
|
+
b?.find((O) => O.id === t.id);
|
|
880
880
|
const [y, p] = Z(_ ? !1 : n || !0), V = () => {
|
|
881
881
|
p((O) => !O), s?.(y, t);
|
|
882
882
|
}, J = () => {
|
|
@@ -890,9 +890,9 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
890
890
|
};
|
|
891
891
|
return ne(() => {
|
|
892
892
|
l && p(!1);
|
|
893
|
-
}, [l]), /* @__PURE__ */
|
|
894
|
-
/* @__PURE__ */
|
|
895
|
-
/* @__PURE__ */ e("div", { style: { display: "grid", placeItems: "center", marginLeft: `${m}rem` }, onClick: (O) => O.stopPropagation(), children: /* @__PURE__ */ e(
|
|
893
|
+
}, [l]), /* @__PURE__ */ i("div", { className: `${ke.treeNode} ${U(l) ? ke.visible : ke.hidden}`, style: $, children: [
|
|
894
|
+
/* @__PURE__ */ i("div", { className: ke.labelRow, onClick: V, style: W, children: [
|
|
895
|
+
/* @__PURE__ */ e("div", { style: { display: "grid", placeItems: "center", marginLeft: `${m}rem` }, onClick: (O) => O.stopPropagation(), children: /* @__PURE__ */ e(We, { checked: t?.selected ?? !1, change: J, ...r, withActive: !1 }) }),
|
|
896
896
|
/* @__PURE__ */ e("span", { className: ke.collapseToggle, style: w, children: /* @__PURE__ */ e(
|
|
897
897
|
"div",
|
|
898
898
|
{
|
|
@@ -913,18 +913,18 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
913
913
|
node: O,
|
|
914
914
|
onSelect: o,
|
|
915
915
|
defaultCollapsed: n,
|
|
916
|
-
checkboxProps:
|
|
916
|
+
checkboxProps: r,
|
|
917
917
|
onCollapse: s,
|
|
918
918
|
depth: m + 1,
|
|
919
919
|
expandedNodes: a,
|
|
920
920
|
SearchValue: l,
|
|
921
|
-
SelectedData:
|
|
921
|
+
SelectedData: b,
|
|
922
922
|
treeContainerStyle: P,
|
|
923
|
-
treeNodeItemStyle:
|
|
924
|
-
treeFooterStyle:
|
|
925
|
-
treeFooterTextStyle:
|
|
926
|
-
treeNodeStyle:
|
|
927
|
-
labelRowStyle:
|
|
923
|
+
treeNodeItemStyle: v,
|
|
924
|
+
treeFooterStyle: S,
|
|
925
|
+
treeFooterTextStyle: k,
|
|
926
|
+
treeNodeStyle: $,
|
|
927
|
+
labelRowStyle: W,
|
|
928
928
|
collapseToggleStyle: w,
|
|
929
929
|
checkIndividualItems: d
|
|
930
930
|
},
|
|
@@ -935,18 +935,18 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
935
935
|
data: t,
|
|
936
936
|
withFilter: o = !0,
|
|
937
937
|
withClose: n = !0,
|
|
938
|
-
disableAll:
|
|
938
|
+
disableAll: r = !1,
|
|
939
939
|
withMultiselect: s = !1,
|
|
940
940
|
selectedOptionID: m,
|
|
941
941
|
withInput: a = !1,
|
|
942
942
|
withTree: l = !1,
|
|
943
|
-
withSelectAll:
|
|
943
|
+
withSelectAll: b = !0,
|
|
944
944
|
dropdownType: P = "country",
|
|
945
|
-
closeOnScroll:
|
|
946
|
-
customSelectedSlot:
|
|
947
|
-
onSelect:
|
|
948
|
-
onFocus:
|
|
949
|
-
onBlur:
|
|
945
|
+
closeOnScroll: v = !1,
|
|
946
|
+
customSelectedSlot: S,
|
|
947
|
+
onSelect: k,
|
|
948
|
+
onFocus: $,
|
|
949
|
+
onBlur: W,
|
|
950
950
|
onValueChange: w,
|
|
951
951
|
onApply: d,
|
|
952
952
|
customInputSlot: _,
|
|
@@ -963,11 +963,11 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
963
963
|
dropdownItemLabelTextStyle: z,
|
|
964
964
|
dropdownListStyle: F,
|
|
965
965
|
treeProps: Y,
|
|
966
|
-
withApply:
|
|
966
|
+
withApply: L = !1,
|
|
967
967
|
applyButtonProps: g = { label: "Apply" },
|
|
968
968
|
...h
|
|
969
969
|
}) => {
|
|
970
|
-
const [R, f] = Z(!1), [
|
|
970
|
+
const [R, f] = Z(!1), [B, Q] = Z(""), [de, re] = Z(!1), [me, ie] = Z(!1), [E, se] = Z(!1), ue = ae(null), G = ae(null), _e = ae(null), A = ae(null), [C, M] = Z([]), T = ae([]), te = ae(0), [oe, we] = Z(""), [fe, ge] = Z(null), Me = (u) => `https://flagsapi.com/${u}/flat/64.png`, He = (u, x) => {
|
|
971
971
|
u.forEach((X) => {
|
|
972
972
|
X.selected = x.some((Pe) => Pe.id === X.id), X.children && Array.isArray(X.children) && He(X.children, x);
|
|
973
973
|
});
|
|
@@ -978,16 +978,16 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
978
978
|
// Include the parent item
|
|
979
979
|
...X.children || []
|
|
980
980
|
// Spread the children
|
|
981
|
-
]), x = at(x, "id"), He(C, x), T.current = x,
|
|
981
|
+
]), x = at(x, "id"), He(C, x), T.current = x, k?.(u), f((X) => !X);
|
|
982
982
|
}, Re = (u) => {
|
|
983
983
|
if (u.selected = !u.selected, !s && !l) {
|
|
984
|
-
|
|
984
|
+
k?.(u);
|
|
985
985
|
return;
|
|
986
986
|
}
|
|
987
|
-
T.current = [...T.current, ...C.filter((x) => x.selected == !0), ...C.filter((x) => x.id === u.id)], T.current = at(T.current, "id").filter((x) => x.selected).filter((x) => x.id !== "SELECT_ALL"), u.id === "SELECT_ALL" ? (
|
|
987
|
+
T.current = [...T.current, ...C.filter((x) => x.selected == !0), ...C.filter((x) => x.id === u.id)], T.current = at(T.current, "id").filter((x) => x.selected).filter((x) => x.id !== "SELECT_ALL"), u.id === "SELECT_ALL" ? (re(u.selected), ie(!0)) : (re(!1), k?.(T.current), ie(!1)), f((x) => !x);
|
|
988
988
|
}, Ie = (u) => {
|
|
989
|
-
ge(u),
|
|
990
|
-
},
|
|
989
|
+
ge(u), k?.(u), se(!1);
|
|
990
|
+
}, Be = () => {
|
|
991
991
|
d?.(), se(!1);
|
|
992
992
|
}, Ee = () => {
|
|
993
993
|
if (!G.current || !ue.current) return;
|
|
@@ -1006,23 +1006,23 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
1006
1006
|
E && Se();
|
|
1007
1007
|
}, [ue, E]), ne(() => {
|
|
1008
1008
|
if (l || (T.current = t?.length ? t.filter((X) => X.selected) : []), !s && !l) {
|
|
1009
|
-
|
|
1009
|
+
M(t);
|
|
1010
1010
|
return;
|
|
1011
1011
|
}
|
|
1012
|
-
const u = t?.some((X) => "selected" in X), x =
|
|
1013
|
-
u ?
|
|
1012
|
+
const u = t?.some((X) => "selected" in X), x = b && s ? [{ id: "SELECT_ALL", label: "Select All", selected: de }] : [];
|
|
1013
|
+
u ? M([...x, ...t]) : (t?.forEach((X) => {
|
|
1014
1014
|
X.selected = !1;
|
|
1015
|
-
}),
|
|
1015
|
+
}), M([...x, ...t])), Se();
|
|
1016
1016
|
}, [JSON.stringify(t)]), ne(() => {
|
|
1017
|
-
!s && !l || t?.every((u) => u.selected) ||
|
|
1017
|
+
!s && !l || t?.every((u) => u.selected) || re(!1);
|
|
1018
1018
|
}, [T.current.length]), ne(() => {
|
|
1019
1019
|
!s && !l && m && ge(t?.find((u) => u.id === m));
|
|
1020
1020
|
}, [m]), ne(() => {
|
|
1021
1021
|
if (!(!s && !l) && C.length > 0 && me) {
|
|
1022
1022
|
const u = C.map((x) => x.id === "SELECT_ALL" ? { ...x, selected: de } : x.disabled ? x : { ...x, selected: de });
|
|
1023
|
-
|
|
1023
|
+
M(u), t?.forEach((x) => {
|
|
1024
1024
|
x.id === "SELECT_ALL" ? x.selected = de : x.disabled || (x.selected = de);
|
|
1025
|
-
}), T.current = u.filter((x) => x.selected && x.id !== "SELECT_ALL"),
|
|
1025
|
+
}), T.current = u.filter((x) => x.selected && x.id !== "SELECT_ALL"), k?.(T.current);
|
|
1026
1026
|
}
|
|
1027
1027
|
}, [R]);
|
|
1028
1028
|
const Xe = (u) => {
|
|
@@ -1032,7 +1032,7 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
1032
1032
|
const u = () => {
|
|
1033
1033
|
E && Se();
|
|
1034
1034
|
}, x = () => {
|
|
1035
|
-
|
|
1035
|
+
v ? se(!1) : u();
|
|
1036
1036
|
};
|
|
1037
1037
|
document.addEventListener("click", Xe);
|
|
1038
1038
|
let X = [];
|
|
@@ -1047,7 +1047,7 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
1047
1047
|
}), window.addEventListener("resize", u)), () => {
|
|
1048
1048
|
document.removeEventListener("click", Xe), X.forEach((Pe) => Pe.removeEventListener("scroll", x)), window.removeEventListener("resize", u);
|
|
1049
1049
|
};
|
|
1050
|
-
}, [E,
|
|
1050
|
+
}, [E, v]), ne(() => {
|
|
1051
1051
|
if (!s && !l) return;
|
|
1052
1052
|
const u = () => {
|
|
1053
1053
|
const x = G.current?.getBoundingClientRect();
|
|
@@ -1063,8 +1063,8 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
1063
1063
|
tt.current = !1;
|
|
1064
1064
|
return;
|
|
1065
1065
|
}
|
|
1066
|
-
E ||
|
|
1067
|
-
}, [E]), /* @__PURE__ */
|
|
1066
|
+
E || W?.(), E && $?.();
|
|
1067
|
+
}, [E]), /* @__PURE__ */ i("div", { className: `${ce.dropdownWrapper}`, style: y ?? {}, children: [
|
|
1068
1068
|
/* @__PURE__ */ e(
|
|
1069
1069
|
"div",
|
|
1070
1070
|
{
|
|
@@ -1079,34 +1079,34 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
1079
1079
|
onFocusChange: (u) => se(u),
|
|
1080
1080
|
customFocus: E,
|
|
1081
1081
|
withActive: !1,
|
|
1082
|
-
value: a ?
|
|
1082
|
+
value: a ? B : fe?.label ?? "",
|
|
1083
1083
|
onChange: (u) => {
|
|
1084
1084
|
Q(u), w?.(u);
|
|
1085
1085
|
},
|
|
1086
1086
|
toggleFocus: !0,
|
|
1087
1087
|
formInputStyle: { cursor: a ? "text" : "pointer" },
|
|
1088
|
-
leftSlot: a && /* @__PURE__ */
|
|
1088
|
+
leftSlot: a && /* @__PURE__ */ i("div", { className: ce.dropdownInputSlot, children: [
|
|
1089
1089
|
P === "currency" ? /* @__PURE__ */ e("p", { children: fe?.label }) : /* @__PURE__ */ e("img", { src: Me(fe?.code), alt: "flag" }),
|
|
1090
1090
|
/* @__PURE__ */ e("div", { className: `${ce.dropdownRightIconArrow} ${E ? ce.focused : ""}`, children: /* @__PURE__ */ e(et, {}) })
|
|
1091
1091
|
] }),
|
|
1092
|
-
rightSlot: /* @__PURE__ */
|
|
1093
|
-
n && (a ?
|
|
1092
|
+
rightSlot: /* @__PURE__ */ i("div", { className: `${ce.dropdownRightIcon} ${E ? ce.focused : ""}`, children: [
|
|
1093
|
+
n && (a ? B : !s && !l && fe) && /* @__PURE__ */ e(
|
|
1094
1094
|
"div",
|
|
1095
1095
|
{
|
|
1096
1096
|
onClick: (u) => {
|
|
1097
|
-
u.stopPropagation(), a ? (Q(""), se(!1), w?.("")) : (ge(null),
|
|
1097
|
+
u.stopPropagation(), a ? (Q(""), se(!1), w?.("")) : (ge(null), k?.(null));
|
|
1098
1098
|
},
|
|
1099
1099
|
className: ce.dropdownRightIconClose,
|
|
1100
|
-
children: /* @__PURE__ */ e(
|
|
1100
|
+
children: /* @__PURE__ */ e(lt, {})
|
|
1101
1101
|
}
|
|
1102
1102
|
),
|
|
1103
1103
|
!a && /* @__PURE__ */ e("div", { className: ce.dropdownRightIconArrow, children: /* @__PURE__ */ e(et, {}) })
|
|
1104
1104
|
] }),
|
|
1105
1105
|
readOnly: !a,
|
|
1106
1106
|
forDropdown: !0,
|
|
1107
|
-
inputSlotStyle: { width: "100%", placeItems:
|
|
1108
|
-
inputSlot:
|
|
1109
|
-
T.current.slice(0, te.current).map((u, x) => /* @__PURE__ */
|
|
1107
|
+
inputSlotStyle: { width: "100%", placeItems: S ? "initial" : "center" },
|
|
1108
|
+
inputSlot: S || ((l || s) && T.current.length > 0 ? _ || /* @__PURE__ */ i("ul", { className: ce.dropdownInputSlot, style: V ?? {}, children: [
|
|
1109
|
+
T.current.slice(0, te.current).map((u, x) => /* @__PURE__ */ i(
|
|
1110
1110
|
"li",
|
|
1111
1111
|
{
|
|
1112
1112
|
ref: A,
|
|
@@ -1136,7 +1136,7 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
1136
1136
|
)
|
|
1137
1137
|
}
|
|
1138
1138
|
),
|
|
1139
|
-
t && t.length > 0 && E && /* @__PURE__ */
|
|
1139
|
+
t && t.length > 0 && E && /* @__PURE__ */ i("div", { ref: ue, onClick: (u) => u.stopPropagation(), className: ce.dropdownListContainer, children: [
|
|
1140
1140
|
o && /* @__PURE__ */ e(
|
|
1141
1141
|
ze,
|
|
1142
1142
|
{
|
|
@@ -1159,26 +1159,26 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
1159
1159
|
},
|
|
1160
1160
|
...Y
|
|
1161
1161
|
}
|
|
1162
|
-
) : /* @__PURE__ */ e("ul", { onClick: (u) => u.stopPropagation(), className: ce.dropdownList, ref: _e, style: F ?? {}, children: C.filter((u) => u?.label?.toLowerCase().includes(oe.toLowerCase())).map((u, x) => /* @__PURE__ */
|
|
1162
|
+
) : /* @__PURE__ */ e("ul", { onClick: (u) => u.stopPropagation(), className: ce.dropdownList, ref: _e, style: F ?? {}, children: C.filter((u) => u?.label?.toLowerCase().includes(oe.toLowerCase())).map((u, x) => /* @__PURE__ */ i(
|
|
1163
1163
|
"li",
|
|
1164
1164
|
{
|
|
1165
1165
|
style: { ...K, cursor: !s && !l && u?.disabled ? "not-allowed" : "pointer" },
|
|
1166
|
-
className: `${ce.dropdownItem} ${!s && !l && fe?.id === u.id ? ce.selected : ""} ${!u?.label || u.label === void 0 ||
|
|
1166
|
+
className: `${ce.dropdownItem} ${!s && !l && fe?.id === u.id ? ce.selected : ""} ${!u?.label || u.label === void 0 || r || u?.disabled ? ce.disabled : ""} ${!s && !l && !u?.disabled ? ce.hovered : ""}`,
|
|
1167
1167
|
onClick: (X) => {
|
|
1168
1168
|
X.stopPropagation(), !s && !l && !u?.disabled && Ie(u);
|
|
1169
1169
|
},
|
|
1170
1170
|
children: [
|
|
1171
1171
|
(s || l) && !u.noCheckbox && /* @__PURE__ */ e("div", { className: ce.itemCheckbox, style: ee ?? {}, children: /* @__PURE__ */ e(
|
|
1172
|
-
|
|
1172
|
+
We,
|
|
1173
1173
|
{
|
|
1174
1174
|
multipleChecked: u.id === "SELECT_ALL",
|
|
1175
|
-
disabled:
|
|
1175
|
+
disabled: r || u?.disabled,
|
|
1176
1176
|
checked: u?.selected,
|
|
1177
1177
|
change: () => Re(u)
|
|
1178
1178
|
}
|
|
1179
1179
|
) }),
|
|
1180
|
-
/* @__PURE__ */
|
|
1181
|
-
a ? /* @__PURE__ */
|
|
1180
|
+
/* @__PURE__ */ i("div", { className: ce.dropdownItemLabel, style: j ?? {}, children: [
|
|
1181
|
+
a ? /* @__PURE__ */ i("div", { className: ce.dropdownItemLabelInput, children: [
|
|
1182
1182
|
/* @__PURE__ */ e("img", { src: Me(u.code), style: { width: "1.375rem", height: "1.375rem", objectFit: "contain" }, alt: u.name }),
|
|
1183
1183
|
/* @__PURE__ */ e("span", { title: u.name, className: ce.countryName, children: u.name || u.label }),
|
|
1184
1184
|
/* @__PURE__ */ e("span", { className: ce.countryDialCode, children: P === "country" ? u.dialCode : u?.label })
|
|
@@ -1197,7 +1197,7 @@ const pn = "mc__Dropdown-module__dropdownWrapper", mn = "mc__Dropdown-module__dr
|
|
|
1197
1197
|
},
|
|
1198
1198
|
x
|
|
1199
1199
|
)) }, C.length),
|
|
1200
|
-
|
|
1200
|
+
L && (s || l) && /* @__PURE__ */ e(Te, { ...g, onClick: Be })
|
|
1201
1201
|
] })
|
|
1202
1202
|
] });
|
|
1203
1203
|
};
|
|
@@ -1234,23 +1234,23 @@ mt.displayName = "Dropdown";
|
|
|
1234
1234
|
mt.description = "A feature-rich dropdown component with multi-select, filtering, and smart positioning capabilities.";
|
|
1235
1235
|
const qn = "mc__Radio-module__radioWrapper", Kn = {
|
|
1236
1236
|
radioWrapper: qn
|
|
1237
|
-
}, ht = ({ checked: t, change: o, disabled: n, required:
|
|
1237
|
+
}, ht = ({ checked: t, change: o, disabled: n, required: r, withUncheckState: s = !1, radioType: m = "default" }) => {
|
|
1238
1238
|
ut(), Z(!1);
|
|
1239
1239
|
const a = () => {
|
|
1240
1240
|
n || o?.(s ? !t : !0);
|
|
1241
1241
|
}, l = () => {
|
|
1242
|
-
let
|
|
1243
|
-
return t ? n ?
|
|
1242
|
+
let b = null, P = n ? "#95969C" : m === "error" ? "#E3292F" : "#0058FF";
|
|
1243
|
+
return t ? n ? b = /* @__PURE__ */ e(Yt, { color: P }) : b = /* @__PURE__ */ e(Zt, { color: P }) : n ? b = /* @__PURE__ */ e(Ut, { color: P }) : b = /* @__PURE__ */ e(zt, { color: P }), b;
|
|
1244
1244
|
};
|
|
1245
|
-
return /* @__PURE__ */
|
|
1246
|
-
/* @__PURE__ */ e("input", { type: "radio", checked: !0, readOnly: !0, hidden: !0, disabled: n ?? !1, required:
|
|
1245
|
+
return /* @__PURE__ */ i("div", { className: Kn.radioWrapper, style: { cursor: n ? "not-allowed" : "pointer" }, onClick: a, children: [
|
|
1246
|
+
/* @__PURE__ */ e("input", { type: "radio", checked: !0, readOnly: !0, hidden: !0, disabled: n ?? !1, required: r }),
|
|
1247
1247
|
l()
|
|
1248
1248
|
] });
|
|
1249
1249
|
};
|
|
1250
1250
|
ht.propKeys = ["checked", "change", "disabled", "required", "withUncheckState", "radioType"];
|
|
1251
1251
|
ht.displayName = "Radio";
|
|
1252
1252
|
ht.description = "A radio button component with customizable states and uncheck functionality for form selections.";
|
|
1253
|
-
const Xn = "mc__Tooltip-module__tooltipContainer", Qn = "mc__Tooltip-module__tooltipContent", Jn = "mc__Tooltip-module__withoutPointer", Gn = "mc__Tooltip-module__top", el = "mc__Tooltip-module__right", tl = "mc__Tooltip-module__bottom", ol = "mc__Tooltip-module__left", nl = "mc__Tooltip-module__tooltipTitle", ll = "mc__Tooltip-module__tooltipText",
|
|
1253
|
+
const Xn = "mc__Tooltip-module__tooltipContainer", Qn = "mc__Tooltip-module__tooltipContent", Jn = "mc__Tooltip-module__withoutPointer", Gn = "mc__Tooltip-module__top", el = "mc__Tooltip-module__right", tl = "mc__Tooltip-module__bottom", ol = "mc__Tooltip-module__left", nl = "mc__Tooltip-module__tooltipTitle", ll = "mc__Tooltip-module__tooltipText", rl = "mc__Tooltip-module__dark", xe = {
|
|
1254
1254
|
tooltipContainer: Xn,
|
|
1255
1255
|
tooltipContent: Qn,
|
|
1256
1256
|
withoutPointer: Jn,
|
|
@@ -1260,23 +1260,23 @@ const Xn = "mc__Tooltip-module__tooltipContainer", Qn = "mc__Tooltip-module__too
|
|
|
1260
1260
|
left: ol,
|
|
1261
1261
|
tooltipTitle: nl,
|
|
1262
1262
|
tooltipText: ll,
|
|
1263
|
-
dark:
|
|
1264
|
-
},
|
|
1263
|
+
dark: rl
|
|
1264
|
+
}, rt = ({
|
|
1265
1265
|
children: t,
|
|
1266
1266
|
tooltipSlot: o,
|
|
1267
1267
|
delay: n = 400,
|
|
1268
|
-
placement:
|
|
1268
|
+
placement: r = "top",
|
|
1269
1269
|
trigger: s = "hover",
|
|
1270
1270
|
title: m,
|
|
1271
1271
|
text: a,
|
|
1272
1272
|
customText: l,
|
|
1273
|
-
tooltipStyleType:
|
|
1273
|
+
tooltipStyleType: b = "default",
|
|
1274
1274
|
tooltipContentStyle: P,
|
|
1275
|
-
tooltipTitlestyle:
|
|
1276
|
-
tooltipTextStyle:
|
|
1277
|
-
tooltipContainerStyle:
|
|
1278
|
-
pointerPosition:
|
|
1279
|
-
withPointer:
|
|
1275
|
+
tooltipTitlestyle: v,
|
|
1276
|
+
tooltipTextStyle: S,
|
|
1277
|
+
tooltipContainerStyle: k,
|
|
1278
|
+
pointerPosition: $ = "10%",
|
|
1279
|
+
withPointer: W = !1,
|
|
1280
1280
|
theme: w,
|
|
1281
1281
|
topCustomOffset: d = 0,
|
|
1282
1282
|
bottomCustomOffset: _ = 0,
|
|
@@ -1297,52 +1297,52 @@ const Xn = "mc__Tooltip-module__tooltipContainer", Qn = "mc__Tooltip-module__too
|
|
|
1297
1297
|
}, n));
|
|
1298
1298
|
}, Y = () => {
|
|
1299
1299
|
s === "click" && (J?.(), j((h) => !h));
|
|
1300
|
-
},
|
|
1300
|
+
}, L = () => {
|
|
1301
1301
|
const h = U.current, R = O.current;
|
|
1302
1302
|
if (!R || !h) return;
|
|
1303
|
-
const f = h.getBoundingClientRect(),
|
|
1303
|
+
const f = h.getBoundingClientRect(), B = R.getBoundingClientRect(), Q = window.innerWidth, de = window.innerHeight;
|
|
1304
1304
|
R.style.position = "fixed";
|
|
1305
|
-
const
|
|
1305
|
+
const re = (se, ue) => ({
|
|
1306
1306
|
fitsTop: se >= 0,
|
|
1307
|
-
fitsBottom: se +
|
|
1307
|
+
fitsBottom: se + B.height <= de,
|
|
1308
1308
|
fitsLeft: ue >= 0,
|
|
1309
|
-
fitsRight: ue +
|
|
1309
|
+
fitsRight: ue + B.width <= Q
|
|
1310
1310
|
}), me = (se, ue) => {
|
|
1311
1311
|
R.style.top = `${se}px`, R.style.left = `${ue}px`;
|
|
1312
1312
|
};
|
|
1313
|
-
let
|
|
1314
|
-
switch (
|
|
1313
|
+
let ie, E;
|
|
1314
|
+
switch (r) {
|
|
1315
1315
|
case "top":
|
|
1316
|
-
|
|
1317
|
-
const se = ie
|
|
1318
|
-
se.fitsTop || (
|
|
1316
|
+
ie = f.top - B.height - 8 + d - _, E = f.left + y - p;
|
|
1317
|
+
const se = re(ie, E);
|
|
1318
|
+
se.fitsTop || (ie = f.bottom + 8 + _ - d), se.fitsLeft ? se.fitsRight || (E = Q - B.width) : E = 0, me(ie, E);
|
|
1319
1319
|
break;
|
|
1320
1320
|
case "bottom":
|
|
1321
|
-
|
|
1322
|
-
const ue = ie
|
|
1323
|
-
ue.fitsBottom || (
|
|
1321
|
+
ie = f.bottom + 8 + _ - d, E = f.left + y - p;
|
|
1322
|
+
const ue = re(ie, E);
|
|
1323
|
+
ue.fitsBottom || (ie = f.top - B.height - 8 + d - _), ue.fitsLeft ? ue.fitsRight || (E = Q - B.width) : E = 0, me(ie, E);
|
|
1324
1324
|
break;
|
|
1325
1325
|
case "left":
|
|
1326
|
-
|
|
1327
|
-
const G = ie
|
|
1328
|
-
G.fitsLeft || (E = f.right + 8 + p - y), G.fitsTop ? G.fitsBottom || (
|
|
1326
|
+
ie = f.top + d - _, E = f.left - B.width - 8 + y - p;
|
|
1327
|
+
const G = re(ie, E);
|
|
1328
|
+
G.fitsLeft || (E = f.right + 8 + p - y), G.fitsTop ? G.fitsBottom || (ie = de - B.height) : ie = 0, me(ie, E);
|
|
1329
1329
|
break;
|
|
1330
1330
|
case "right":
|
|
1331
|
-
|
|
1332
|
-
const _e = ie
|
|
1333
|
-
_e.fitsRight || (E = f.left -
|
|
1331
|
+
ie = f.top + d - _, E = f.right + 8 + p - y;
|
|
1332
|
+
const _e = re(ie, E);
|
|
1333
|
+
_e.fitsRight || (E = f.left - B.width - 8 + y - p), _e.fitsTop ? _e.fitsBottom || (ie = de - B.height) : ie = 0, me(ie, E);
|
|
1334
1334
|
break;
|
|
1335
1335
|
}
|
|
1336
1336
|
};
|
|
1337
1337
|
ne(() => {
|
|
1338
|
-
|
|
1339
|
-
}, [U, K, t,
|
|
1340
|
-
const h = (
|
|
1341
|
-
U.current?.contains(
|
|
1342
|
-
}, R = (
|
|
1343
|
-
|
|
1338
|
+
L();
|
|
1339
|
+
}, [U, K, t, r, o, l, m, a]), ne(() => {
|
|
1340
|
+
const h = (B) => {
|
|
1341
|
+
U.current?.contains(B.target) || j(!1);
|
|
1342
|
+
}, R = (B) => {
|
|
1343
|
+
B.composedPath().includes(U.current) || j(!1);
|
|
1344
1344
|
}, f = () => {
|
|
1345
|
-
K &&
|
|
1345
|
+
K && L();
|
|
1346
1346
|
};
|
|
1347
1347
|
return document.addEventListener("click", R), document.addEventListener("scroll", h, !0), window.addEventListener("resize", f), () => {
|
|
1348
1348
|
document.removeEventListener("scroll", h, !0), document.removeEventListener("click", R), window.removeEventListener("resize", f);
|
|
@@ -1351,18 +1351,18 @@ const Xn = "mc__Tooltip-module__tooltipContainer", Qn = "mc__Tooltip-module__too
|
|
|
1351
1351
|
V && j(!1);
|
|
1352
1352
|
}, [V]), ne(() => {
|
|
1353
1353
|
const h = O.current;
|
|
1354
|
-
h && (h.style.setProperty("--pointer-position", `${
|
|
1354
|
+
h && (h.style.setProperty("--pointer-position", `${$}`), W || h.classList.add(xe.withoutPointer));
|
|
1355
1355
|
}, [K]);
|
|
1356
1356
|
const g = () => ({
|
|
1357
1357
|
...P,
|
|
1358
|
-
...
|
|
1358
|
+
...b === "secondary" && {
|
|
1359
1359
|
borderRadius: "12px",
|
|
1360
1360
|
border: "1px solid #E6E6E6",
|
|
1361
1361
|
background: "#FFF",
|
|
1362
1362
|
padding: "6px"
|
|
1363
1363
|
}
|
|
1364
1364
|
});
|
|
1365
|
-
return /* @__PURE__ */
|
|
1365
|
+
return /* @__PURE__ */ i(
|
|
1366
1366
|
"div",
|
|
1367
1367
|
{
|
|
1368
1368
|
ref: U,
|
|
@@ -1370,7 +1370,7 @@ const Xn = "mc__Tooltip-module__tooltipContainer", Qn = "mc__Tooltip-module__too
|
|
|
1370
1370
|
onClick: Y,
|
|
1371
1371
|
onMouseEnter: z,
|
|
1372
1372
|
onMouseLeave: F,
|
|
1373
|
-
style:
|
|
1373
|
+
style: k ?? {},
|
|
1374
1374
|
children: [
|
|
1375
1375
|
t,
|
|
1376
1376
|
K && o ? /* @__PURE__ */ e(
|
|
@@ -1379,20 +1379,20 @@ const Xn = "mc__Tooltip-module__tooltipContainer", Qn = "mc__Tooltip-module__too
|
|
|
1379
1379
|
style: g(),
|
|
1380
1380
|
onClick: (h) => h.stopPropagation(),
|
|
1381
1381
|
ref: O,
|
|
1382
|
-
className: `${xe.tooltipContent} ${
|
|
1382
|
+
className: `${xe.tooltipContent} ${r ? xe[r] : xe.bottom}`,
|
|
1383
1383
|
children: o
|
|
1384
1384
|
}
|
|
1385
|
-
) : K && /* @__PURE__ */
|
|
1385
|
+
) : K && /* @__PURE__ */ i(
|
|
1386
1386
|
"div",
|
|
1387
1387
|
{
|
|
1388
1388
|
style: g(),
|
|
1389
1389
|
onClick: (h) => h.stopPropagation(),
|
|
1390
1390
|
ref: O,
|
|
1391
|
-
className: `${xe.tooltipContent} ${
|
|
1391
|
+
className: `${xe.tooltipContent} ${r ? xe[r] : xe.bottom}`,
|
|
1392
1392
|
children: [
|
|
1393
1393
|
l && typeof l == "string" && l,
|
|
1394
|
-
m && m.length > 0 && typeof m == "string" && /* @__PURE__ */ e("h2", { className: xe.tooltipTitle, style:
|
|
1395
|
-
a && a.length > 0 && typeof a == "string" && /* @__PURE__ */ e("p", { className: xe.tooltipText, style:
|
|
1394
|
+
m && m.length > 0 && typeof m == "string" && /* @__PURE__ */ e("h2", { className: xe.tooltipTitle, style: v ?? {}, children: m }),
|
|
1395
|
+
a && a.length > 0 && typeof a == "string" && /* @__PURE__ */ e("p", { className: xe.tooltipText, style: S ?? {}, children: a })
|
|
1396
1396
|
]
|
|
1397
1397
|
}
|
|
1398
1398
|
)
|
|
@@ -1400,7 +1400,7 @@ const Xn = "mc__Tooltip-module__tooltipContainer", Qn = "mc__Tooltip-module__too
|
|
|
1400
1400
|
}
|
|
1401
1401
|
);
|
|
1402
1402
|
};
|
|
1403
|
-
|
|
1403
|
+
rt.propKeys = [
|
|
1404
1404
|
"children",
|
|
1405
1405
|
"tooltipSlot",
|
|
1406
1406
|
"delay",
|
|
@@ -1423,10 +1423,10 @@ lt.propKeys = [
|
|
|
1423
1423
|
"forceClose",
|
|
1424
1424
|
"onClick"
|
|
1425
1425
|
];
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
const
|
|
1429
|
-
modalOverlay:
|
|
1426
|
+
rt.displayName = "Tooltip";
|
|
1427
|
+
rt.description = "A contextual popup component with multiple triggers and smart positioning for displaying helpful information.";
|
|
1428
|
+
const il = "mc__Popup-module__modalOverlay", sl = "mc__Popup-module__popupDrawerMode", al = "mc__Popup-module__popupContainer", cl = "mc__Popup-module__closeButton", dl = "mc__Popup-module__horizontal", ul = "mc__Popup-module__templateWrapper", Ke = {
|
|
1429
|
+
modalOverlay: il,
|
|
1430
1430
|
popupDrawerMode: sl,
|
|
1431
1431
|
popupContainer: al,
|
|
1432
1432
|
closeButton: cl,
|
|
@@ -1436,53 +1436,53 @@ const rl = "mc__Popup-module__modalOverlay", sl = "mc__Popup-module__popupDrawer
|
|
|
1436
1436
|
visible: t,
|
|
1437
1437
|
template: o,
|
|
1438
1438
|
mode: n,
|
|
1439
|
-
children:
|
|
1439
|
+
children: r,
|
|
1440
1440
|
onClickOutside: s,
|
|
1441
1441
|
onClose: m,
|
|
1442
1442
|
widthType: a,
|
|
1443
1443
|
// "horizontal"
|
|
1444
1444
|
modalOverlayStyle: l,
|
|
1445
|
-
popupContainerStyle:
|
|
1445
|
+
popupContainerStyle: b,
|
|
1446
1446
|
templateWrapperStyle: P,
|
|
1447
|
-
closeButtonStyle:
|
|
1447
|
+
closeButtonStyle: v
|
|
1448
1448
|
}) => {
|
|
1449
|
-
const
|
|
1449
|
+
const S = () => {
|
|
1450
1450
|
m && typeof m == "function" && m();
|
|
1451
|
-
},
|
|
1452
|
-
|
|
1451
|
+
}, k = ae(null), $ = (W) => {
|
|
1452
|
+
W.target === k.current && s && typeof s == "function" && s();
|
|
1453
1453
|
};
|
|
1454
1454
|
return ne(() => {
|
|
1455
1455
|
if (t) {
|
|
1456
|
-
const
|
|
1456
|
+
const W = document.body.style.overflow;
|
|
1457
1457
|
return document.body.style.overflow = "hidden", () => {
|
|
1458
|
-
document.body.style.overflow =
|
|
1458
|
+
document.body.style.overflow = W;
|
|
1459
1459
|
};
|
|
1460
1460
|
}
|
|
1461
|
-
}, [t]), ne(() => (document.addEventListener("click",
|
|
1462
|
-
document.removeEventListener("click",
|
|
1461
|
+
}, [t]), ne(() => (document.addEventListener("click", $), () => {
|
|
1462
|
+
document.removeEventListener("click", $);
|
|
1463
1463
|
}), []), t && /* @__PURE__ */ e(
|
|
1464
1464
|
"div",
|
|
1465
1465
|
{
|
|
1466
|
-
ref:
|
|
1466
|
+
ref: k,
|
|
1467
1467
|
style: l ?? {},
|
|
1468
1468
|
className: `
|
|
1469
1469
|
${Ke.modalOverlay}
|
|
1470
1470
|
${n === "drawer" ? Ke.popupDrawerMode : ""}
|
|
1471
1471
|
`,
|
|
1472
|
-
children: /* @__PURE__ */
|
|
1472
|
+
children: /* @__PURE__ */ i(
|
|
1473
1473
|
"div",
|
|
1474
1474
|
{
|
|
1475
|
-
style:
|
|
1475
|
+
style: b ?? {},
|
|
1476
1476
|
className: `
|
|
1477
1477
|
mcPopup_global
|
|
1478
1478
|
${Ke.popupContainer}
|
|
1479
1479
|
${a === "horizontal" ? Ke.horizontal : ""}
|
|
1480
1480
|
`,
|
|
1481
1481
|
children: [
|
|
1482
|
-
/* @__PURE__ */ e("div", { className: Ke.closeButton, style:
|
|
1483
|
-
/* @__PURE__ */
|
|
1482
|
+
/* @__PURE__ */ e("div", { className: Ke.closeButton, style: v ?? {}, onClick: S, children: /* @__PURE__ */ e(Dt, { color: "#131314" }) }),
|
|
1483
|
+
/* @__PURE__ */ i("div", { className: Ke.templateWrapper, style: P ?? {}, children: [
|
|
1484
1484
|
o && o,
|
|
1485
|
-
|
|
1485
|
+
r && r
|
|
1486
1486
|
] })
|
|
1487
1487
|
]
|
|
1488
1488
|
}
|
|
@@ -1530,45 +1530,45 @@ const pl = "mc__NotificationToast-module__toastContainer", ml = "mc__Notificatio
|
|
|
1530
1530
|
title: t,
|
|
1531
1531
|
colorType: o = "neutral",
|
|
1532
1532
|
filled: n = !1,
|
|
1533
|
-
withClose:
|
|
1533
|
+
withClose: r = !1,
|
|
1534
1534
|
withUndo: s = !1,
|
|
1535
1535
|
withInfoIcon: m = !0,
|
|
1536
1536
|
description: a,
|
|
1537
1537
|
customAction: l,
|
|
1538
|
-
timeout:
|
|
1538
|
+
timeout: b = 4e3,
|
|
1539
1539
|
children: P,
|
|
1540
|
-
onUndo:
|
|
1541
|
-
onClose:
|
|
1540
|
+
onUndo: v,
|
|
1541
|
+
onClose: S
|
|
1542
1542
|
}) => {
|
|
1543
|
-
const [
|
|
1543
|
+
const [k, $] = Z("fadeIn");
|
|
1544
1544
|
ne(() => {
|
|
1545
|
-
const w =
|
|
1546
|
-
|
|
1547
|
-
|
|
1545
|
+
const w = b, d = 300, _ = setTimeout(() => {
|
|
1546
|
+
$("fadeOut"), setTimeout(() => {
|
|
1547
|
+
S?.();
|
|
1548
1548
|
}, d);
|
|
1549
1549
|
}, w);
|
|
1550
1550
|
return () => {
|
|
1551
1551
|
clearTimeout(_);
|
|
1552
1552
|
};
|
|
1553
|
-
}, [
|
|
1554
|
-
const
|
|
1553
|
+
}, [S]);
|
|
1554
|
+
const W = () => {
|
|
1555
1555
|
let w = {};
|
|
1556
1556
|
return a && (w.padding = "12px"), w;
|
|
1557
1557
|
};
|
|
1558
|
-
return /* @__PURE__ */ e("div", { className: `${ve.notificationToast} ${ve[o]} ${n ? "" : ve.filled} ${ve[
|
|
1559
|
-
/* @__PURE__ */
|
|
1558
|
+
return /* @__PURE__ */ e("div", { className: `${ve.notificationToast} ${ve[o]} ${n ? "" : ve.filled} ${ve[k]}`, style: W(), children: /* @__PURE__ */ i("div", { className: ve.notificationToastContent, style: a ? { alignItems: "flex-start" } : {}, children: [
|
|
1559
|
+
/* @__PURE__ */ i("div", { className: ve.notificationToastContentLeft, style: a ? { alignItems: "flex-start" } : {}, children: [
|
|
1560
1560
|
m && /* @__PURE__ */ e("div", { className: ve.notificationToastContentInfoIcon, children: o === "success" ? /* @__PURE__ */ e(qt, { color: n ? "#fff" : "#328707" }) : /* @__PURE__ */ e(jt, { color: n ? "#fff" : o === "neutral" ? "#131314" : o === "error" ? "#E3292F" : "#0058FF" }) }),
|
|
1561
|
-
/* @__PURE__ */
|
|
1561
|
+
/* @__PURE__ */ i("div", { className: ve.notificationToastContentLeftText, children: [
|
|
1562
1562
|
t && /* @__PURE__ */ e("p", { className: ve.notificationToastContentLeftTextTitle, children: t }),
|
|
1563
1563
|
a && /* @__PURE__ */ e("p", { className: ve.notificationToastContentLeftTextDescription, children: a }),
|
|
1564
1564
|
P && P
|
|
1565
1565
|
] })
|
|
1566
1566
|
] }),
|
|
1567
1567
|
/* @__PURE__ */ e("div", { className: ve.notificationToastContentDescription }),
|
|
1568
|
-
/* @__PURE__ */
|
|
1568
|
+
/* @__PURE__ */ i("div", { className: ve.notificationToastContentRight, children: [
|
|
1569
1569
|
l && l,
|
|
1570
|
-
!a && s && /* @__PURE__ */ e("p", { className: ve.notificationToastContentRightUndoText, onClick: () =>
|
|
1571
|
-
|
|
1570
|
+
!a && s && /* @__PURE__ */ e("p", { className: ve.notificationToastContentRightUndoText, onClick: () => v?.(), children: "Undo" }),
|
|
1571
|
+
r && /* @__PURE__ */ e("div", { className: ve.notificationToastContentRightClose, style: a || !s ? { border: "none" } : {}, onClick: () => S?.(), children: /* @__PURE__ */ e(
|
|
1572
1572
|
Dt,
|
|
1573
1573
|
{
|
|
1574
1574
|
color: n ? "#fff" : o === "neutral" ? "#131314" : o === "error" ? "#E3292F" : o === "info" ? "#0058FF" : "#328707"
|
|
@@ -1579,16 +1579,16 @@ const pl = "mc__NotificationToast-module__toastContainer", ml = "mc__Notificatio
|
|
|
1579
1579
|
}, Pt = Mt(null);
|
|
1580
1580
|
let Dl = 0;
|
|
1581
1581
|
const Sl = ({ children: t }) => {
|
|
1582
|
-
const [o, n] = Z([]),
|
|
1582
|
+
const [o, n] = Z([]), r = (m) => {
|
|
1583
1583
|
n((a) => {
|
|
1584
1584
|
const l = m.max ?? 1 / 0;
|
|
1585
1585
|
if (a.length >= l) return a;
|
|
1586
|
-
const
|
|
1586
|
+
const b = Dl++;
|
|
1587
1587
|
return setTimeout(() => {
|
|
1588
|
-
n((P) => P.filter((
|
|
1589
|
-
}, m.timeout || 4e3), [...a, { id:
|
|
1588
|
+
n((P) => P.filter((v) => v.id !== b));
|
|
1589
|
+
}, m.timeout || 4e3), [...a, { id: b, props: m }];
|
|
1590
1590
|
});
|
|
1591
|
-
}, s =
|
|
1591
|
+
}, s = nt(() => {
|
|
1592
1592
|
if (o.length > 0)
|
|
1593
1593
|
switch (o[0]?.props?.position) {
|
|
1594
1594
|
case "top-left":
|
|
@@ -1607,14 +1607,14 @@ const Sl = ({ children: t }) => {
|
|
|
1607
1607
|
return {};
|
|
1608
1608
|
}
|
|
1609
1609
|
}, [o.length]);
|
|
1610
|
-
return /* @__PURE__ */
|
|
1610
|
+
return /* @__PURE__ */ i(Pt.Provider, { value: { showToast: r }, children: [
|
|
1611
1611
|
t,
|
|
1612
1612
|
o.length > 0 && /* @__PURE__ */ e("div", { className: ve.toastContainer, style: s(), children: o.map(({ id: m, props: a }) => /* @__PURE__ */ e(
|
|
1613
1613
|
Ml,
|
|
1614
1614
|
{
|
|
1615
1615
|
...a,
|
|
1616
1616
|
onClose: () => {
|
|
1617
|
-
n((l) => l.filter((
|
|
1617
|
+
n((l) => l.filter((b) => b.id !== m));
|
|
1618
1618
|
}
|
|
1619
1619
|
},
|
|
1620
1620
|
m
|
|
@@ -1643,13 +1643,13 @@ ft.propKeys = [
|
|
|
1643
1643
|
];
|
|
1644
1644
|
ft.displayName = "Notification Toast";
|
|
1645
1645
|
ft.description = "A function to create a notification toast.";
|
|
1646
|
-
const Pl = "mc__TimePicker-module__timepickerWrapper", Hl = "mc__TimePicker-module__timepickerInputWrapper", Rl = "mc__TimePicker-module__dropdownRightIcon", Al = "mc__TimePicker-module__dropdownRightIconClose",
|
|
1646
|
+
const Pl = "mc__TimePicker-module__timepickerWrapper", Hl = "mc__TimePicker-module__timepickerInputWrapper", Rl = "mc__TimePicker-module__dropdownRightIcon", Al = "mc__TimePicker-module__dropdownRightIconClose", Wl = "mc__TimePicker-module__dropdownRightIconArrow", Bl = "mc__TimePicker-module__focused", El = "mc__TimePicker-module__timepickerDropdownWrapper", Fl = "mc__TimePicker-module__timepickerDropdownHeader", Vl = "mc__TimePicker-module__timepickerDropdownHeaderButtons", Ol = "mc__TimePicker-module__active", Zl = "mc__TimePicker-module__timepickerDropdownBody", zl = "mc__TimePicker-module__timepickerDropdownBodyHours", Yl = "mc__TimePicker-module__timepickerDropdownBodyMinutes", Ul = "mc__TimePicker-module__timepickerDropdownBodyAmPm", jl = "mc__TimePicker-module__timepickerDropdownFooter", Ce = {
|
|
1647
1647
|
timepickerWrapper: Pl,
|
|
1648
1648
|
timepickerInputWrapper: Hl,
|
|
1649
1649
|
dropdownRightIcon: Rl,
|
|
1650
1650
|
dropdownRightIconClose: Al,
|
|
1651
|
-
dropdownRightIconArrow:
|
|
1652
|
-
focused:
|
|
1651
|
+
dropdownRightIconArrow: Wl,
|
|
1652
|
+
focused: Bl,
|
|
1653
1653
|
timepickerDropdownWrapper: El,
|
|
1654
1654
|
timepickerDropdownHeader: Fl,
|
|
1655
1655
|
timepickerDropdownHeaderButtons: Vl,
|
|
@@ -1666,26 +1666,26 @@ function Kl(t) {
|
|
|
1666
1666
|
}
|
|
1667
1667
|
var Ht = { exports: {} };
|
|
1668
1668
|
(function(t, o) {
|
|
1669
|
-
(function(n,
|
|
1670
|
-
t.exports =
|
|
1669
|
+
(function(n, r) {
|
|
1670
|
+
t.exports = r();
|
|
1671
1671
|
})(ql, function() {
|
|
1672
|
-
var n = { 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" },
|
|
1672
|
+
var n = { 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, s = /\d/, m = /\d\d/, a = /\d\d?/, l = /\d*[^-_:/,()\s\d]+/, b = {}, P = function(d) {
|
|
1673
1673
|
return (d = +d) + (d > 68 ? 1900 : 2e3);
|
|
1674
|
-
},
|
|
1674
|
+
}, v = function(d) {
|
|
1675
1675
|
return function(_) {
|
|
1676
1676
|
this[d] = +_;
|
|
1677
1677
|
};
|
|
1678
|
-
},
|
|
1678
|
+
}, S = [/[+-]\d\d:?(\d\d)?|Z/, function(d) {
|
|
1679
1679
|
(this.zone || (this.zone = {})).offset = function(_) {
|
|
1680
1680
|
if (!_ || _ === "Z") return 0;
|
|
1681
1681
|
var y = _.match(/([+-]|\d\d)/g), p = 60 * y[1] + (+y[2] || 0);
|
|
1682
1682
|
return p === 0 ? 0 : y[0] === "+" ? -p : p;
|
|
1683
1683
|
}(d);
|
|
1684
|
-
}],
|
|
1685
|
-
var _ =
|
|
1684
|
+
}], k = function(d) {
|
|
1685
|
+
var _ = b[d];
|
|
1686
1686
|
return _ && (_.indexOf ? _ : _.s.concat(_.f));
|
|
1687
|
-
},
|
|
1688
|
-
var y, p =
|
|
1687
|
+
}, $ = function(d, _) {
|
|
1688
|
+
var y, p = b.meridiem;
|
|
1689
1689
|
if (p) {
|
|
1690
1690
|
for (var V = 1; V <= 24; V += 1) if (d.indexOf(p(V, 0, _)) > -1) {
|
|
1691
1691
|
y = V > 12;
|
|
@@ -1693,10 +1693,10 @@ var Ht = { exports: {} };
|
|
|
1693
1693
|
}
|
|
1694
1694
|
} else y = d === (_ ? "pm" : "PM");
|
|
1695
1695
|
return y;
|
|
1696
|
-
},
|
|
1697
|
-
this.afternoon =
|
|
1696
|
+
}, W = { A: [l, function(d) {
|
|
1697
|
+
this.afternoon = $(d, !1);
|
|
1698
1698
|
}], a: [l, function(d) {
|
|
1699
|
-
this.afternoon =
|
|
1699
|
+
this.afternoon = $(d, !0);
|
|
1700
1700
|
}], Q: [s, function(d) {
|
|
1701
1701
|
this.month = 3 * (d - 1) + 1;
|
|
1702
1702
|
}], S: [s, function(d) {
|
|
@@ -1705,32 +1705,32 @@ var Ht = { exports: {} };
|
|
|
1705
1705
|
this.milliseconds = 10 * +d;
|
|
1706
1706
|
}], SSS: [/\d{3}/, function(d) {
|
|
1707
1707
|
this.milliseconds = +d;
|
|
1708
|
-
}], s: [a,
|
|
1709
|
-
var _ =
|
|
1708
|
+
}], s: [a, v("seconds")], ss: [a, v("seconds")], m: [a, v("minutes")], mm: [a, v("minutes")], H: [a, v("hours")], h: [a, v("hours")], HH: [a, v("hours")], hh: [a, v("hours")], D: [a, v("day")], DD: [m, v("day")], Do: [l, function(d) {
|
|
1709
|
+
var _ = b.ordinal, y = d.match(/\d+/);
|
|
1710
1710
|
if (this.day = y[0], _) for (var p = 1; p <= 31; p += 1) _(p).replace(/\[|\]/g, "") === d && (this.day = p);
|
|
1711
|
-
}], w: [a,
|
|
1712
|
-
var _ =
|
|
1711
|
+
}], w: [a, v("week")], ww: [m, v("week")], M: [a, v("month")], MM: [m, v("month")], MMM: [l, function(d) {
|
|
1712
|
+
var _ = k("months"), y = (k("monthsShort") || _.map(function(p) {
|
|
1713
1713
|
return p.slice(0, 3);
|
|
1714
1714
|
})).indexOf(d) + 1;
|
|
1715
1715
|
if (y < 1) throw new Error();
|
|
1716
1716
|
this.month = y % 12 || y;
|
|
1717
1717
|
}], MMMM: [l, function(d) {
|
|
1718
|
-
var _ =
|
|
1718
|
+
var _ = k("months").indexOf(d) + 1;
|
|
1719
1719
|
if (_ < 1) throw new Error();
|
|
1720
1720
|
this.month = _ % 12 || _;
|
|
1721
|
-
}], Y: [/[+-]?\d+/,
|
|
1721
|
+
}], Y: [/[+-]?\d+/, v("year")], YY: [m, function(d) {
|
|
1722
1722
|
this.year = P(d);
|
|
1723
|
-
}], YYYY: [/\d{4}/,
|
|
1723
|
+
}], YYYY: [/\d{4}/, v("year")], Z: S, ZZ: S };
|
|
1724
1724
|
function w(d) {
|
|
1725
1725
|
var _, y;
|
|
1726
|
-
_ = d, y =
|
|
1726
|
+
_ = d, y = b && b.formats;
|
|
1727
1727
|
for (var p = (d = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(j, ee, z) {
|
|
1728
1728
|
var F = z && z.toUpperCase();
|
|
1729
|
-
return ee || y[z] || n[z] || y[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(Y,
|
|
1730
|
-
return
|
|
1729
|
+
return ee || y[z] || n[z] || y[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(Y, L, g) {
|
|
1730
|
+
return L || g.slice(1);
|
|
1731
1731
|
});
|
|
1732
|
-
})).match(
|
|
1733
|
-
var U = p[J], O =
|
|
1732
|
+
})).match(r), V = p.length, J = 0; J < V; J += 1) {
|
|
1733
|
+
var U = p[J], O = W[U], le = O && O[0], K = O && O[1];
|
|
1734
1734
|
p[J] = K ? { regex: le, parser: K } : U.replace(/^\[|\]$/g, "");
|
|
1735
1735
|
}
|
|
1736
1736
|
return function(j) {
|
|
@@ -1738,15 +1738,15 @@ var Ht = { exports: {} };
|
|
|
1738
1738
|
var Y = p[z];
|
|
1739
1739
|
if (typeof Y == "string") F += Y.length;
|
|
1740
1740
|
else {
|
|
1741
|
-
var
|
|
1741
|
+
var L = Y.regex, g = Y.parser, h = j.slice(F), R = L.exec(h)[0];
|
|
1742
1742
|
g.call(ee, R), j = j.replace(R, "");
|
|
1743
1743
|
}
|
|
1744
1744
|
}
|
|
1745
1745
|
return function(f) {
|
|
1746
|
-
var
|
|
1747
|
-
if (
|
|
1746
|
+
var B = f.afternoon;
|
|
1747
|
+
if (B !== void 0) {
|
|
1748
1748
|
var Q = f.hours;
|
|
1749
|
-
|
|
1749
|
+
B ? Q < 12 && (f.hours += 12) : Q === 12 && (f.hours = 0), delete f.afternoon;
|
|
1750
1750
|
}
|
|
1751
1751
|
}(ee), ee;
|
|
1752
1752
|
};
|
|
@@ -1760,25 +1760,25 @@ var Ht = { exports: {} };
|
|
|
1760
1760
|
var K = le[1];
|
|
1761
1761
|
if (typeof K == "string") {
|
|
1762
1762
|
var j = le[2] === !0, ee = le[3] === !0, z = j || ee, F = le[2];
|
|
1763
|
-
ee && (F = le[2]),
|
|
1763
|
+
ee && (F = le[2]), b = this.$locale(), !j && F && (b = y.Ls[F]), this.$d = function(h, R, f, B) {
|
|
1764
1764
|
try {
|
|
1765
1765
|
if (["x", "X"].indexOf(R) > -1) return new Date((R === "X" ? 1e3 : 1) * h);
|
|
1766
|
-
var Q = w(R)(h), de = Q.year,
|
|
1767
|
-
de && !
|
|
1768
|
-
var te, oe =
|
|
1769
|
-
return G ? new Date(Date.UTC(
|
|
1766
|
+
var Q = w(R)(h), de = Q.year, re = Q.month, me = Q.day, ie = Q.hours, E = Q.minutes, se = Q.seconds, ue = Q.milliseconds, G = Q.zone, _e = Q.week, A = /* @__PURE__ */ new Date(), C = me || (de || re ? 1 : A.getDate()), M = de || A.getFullYear(), T = 0;
|
|
1767
|
+
de && !re || (T = re > 0 ? re - 1 : A.getMonth());
|
|
1768
|
+
var te, oe = ie || 0, we = E || 0, fe = se || 0, ge = ue || 0;
|
|
1769
|
+
return G ? new Date(Date.UTC(M, T, C, oe, we, fe, ge + 60 * G.offset * 1e3)) : f ? new Date(Date.UTC(M, T, C, oe, we, fe, ge)) : (te = new Date(M, T, C, oe, we, fe, ge), _e && (te = B(te).week(_e).toDate()), te);
|
|
1770
1770
|
} catch {
|
|
1771
1771
|
return /* @__PURE__ */ new Date("");
|
|
1772
1772
|
}
|
|
1773
|
-
}(U, K, O, y), this.init(), F && F !== !0 && (this.$L = this.locale(F).$L), z && U != this.format(K) && (this.$d = /* @__PURE__ */ new Date("")),
|
|
1774
|
-
} else if (K instanceof Array) for (var Y = K.length,
|
|
1775
|
-
le[1] = K[
|
|
1773
|
+
}(U, K, O, y), this.init(), F && F !== !0 && (this.$L = this.locale(F).$L), z && U != this.format(K) && (this.$d = /* @__PURE__ */ new Date("")), b = {};
|
|
1774
|
+
} else if (K instanceof Array) for (var Y = K.length, L = 1; L <= Y; L += 1) {
|
|
1775
|
+
le[1] = K[L - 1];
|
|
1776
1776
|
var g = y.apply(this, le);
|
|
1777
1777
|
if (g.isValid()) {
|
|
1778
1778
|
this.$d = g.$d, this.$L = g.$L, this.init();
|
|
1779
1779
|
break;
|
|
1780
1780
|
}
|
|
1781
|
-
|
|
1781
|
+
L === Y && (this.$d = /* @__PURE__ */ new Date(""));
|
|
1782
1782
|
}
|
|
1783
1783
|
else V.call(this, J);
|
|
1784
1784
|
};
|
|
@@ -1787,24 +1787,24 @@ var Ht = { exports: {} };
|
|
|
1787
1787
|
})(Ht);
|
|
1788
1788
|
var Xl = Ht.exports;
|
|
1789
1789
|
const _t = /* @__PURE__ */ Kl(Xl);
|
|
1790
|
-
|
|
1790
|
+
D.extend(_t);
|
|
1791
1791
|
const Ct = ({
|
|
1792
1792
|
value: t,
|
|
1793
1793
|
defaultTimeType: o = "24",
|
|
1794
1794
|
defaultAmPm: n = "AM",
|
|
1795
|
-
withConfirm:
|
|
1795
|
+
withConfirm: r = !0,
|
|
1796
1796
|
closeOnScroll: s = !1,
|
|
1797
1797
|
onChange: m,
|
|
1798
1798
|
onFocus: a,
|
|
1799
1799
|
onBlur: l,
|
|
1800
|
-
...
|
|
1800
|
+
...b
|
|
1801
1801
|
}) => {
|
|
1802
|
-
const P = ae(null),
|
|
1803
|
-
if (!P.current || !
|
|
1804
|
-
const g = P.current, h =
|
|
1802
|
+
const P = ae(null), v = ae(null), [S, k] = Z(!1), [$, W] = Z(o), w = Array.from({ length: 12 }, (g, h) => h < 10 ? `0${h}` : `${h}`), d = Array.from({ length: 24 }, (g, h) => h < 10 ? `0${h}` : `${h}`), _ = Array.from({ length: 60 }, (g, h) => h < 10 ? `0${h}` : `${h}`), [y, p] = Z(""), [V, J] = Z(null), [U, O] = Z(null), [le, K] = Z(n), j = () => {
|
|
1803
|
+
if (!P.current || !v.current) return;
|
|
1804
|
+
const g = P.current, h = v.current;
|
|
1805
1805
|
if (!h || !g) return;
|
|
1806
|
-
const R = g.getBoundingClientRect(), f = window.innerHeight,
|
|
1807
|
-
h.style.position = "fixed", R.bottom + h.offsetHeight > f ? (h.style.top = `${R.top - h.offsetHeight + 20}px`, h.style.bottom = "unset") : (h.style.top = `${R.bottom + 8}px`, h.style.bottom = "unset"), R.right + R.width >
|
|
1806
|
+
const R = g.getBoundingClientRect(), f = window.innerHeight, B = window.innerWidth;
|
|
1807
|
+
h.style.position = "fixed", R.bottom + h.offsetHeight > f ? (h.style.top = `${R.top - h.offsetHeight + 20}px`, h.style.bottom = "unset") : (h.style.top = `${R.bottom + 8}px`, h.style.bottom = "unset"), R.right + R.width > B - 120 ? h.style.left = `${R.left + R.width - h.offsetWidth}px` : h.style.left = `${R.left}px`;
|
|
1808
1808
|
}, ee = () => {
|
|
1809
1809
|
requestAnimationFrame(() => {
|
|
1810
1810
|
j();
|
|
@@ -1818,31 +1818,31 @@ const Ct = ({
|
|
|
1818
1818
|
t && t.length > 0 && p(t);
|
|
1819
1819
|
}, [t]), ne(() => {
|
|
1820
1820
|
if (!U && !V) return;
|
|
1821
|
-
const g = parseInt(U ?? "0", 10), h = parseInt(V ?? "0", 10), R =
|
|
1822
|
-
p(f),
|
|
1823
|
-
}, [U, V, le,
|
|
1821
|
+
const g = parseInt(U ?? "0", 10), h = parseInt(V ?? "0", 10), R = $ === "12" ? le === "PM" && g < 12 ? g + 12 : le === "AM" && g === 12 ? 0 : g : g, f = D().hour(R).minute(h).format($ === "12" ? "hh:mm A" : "HH:mm");
|
|
1822
|
+
p(f), r || m?.(f);
|
|
1823
|
+
}, [U, V, le, $]);
|
|
1824
1824
|
const Y = ae(!0);
|
|
1825
1825
|
ne(() => {
|
|
1826
1826
|
if (Y.current) {
|
|
1827
1827
|
Y.current = !1;
|
|
1828
1828
|
return;
|
|
1829
1829
|
}
|
|
1830
|
-
|
|
1831
|
-
}, [
|
|
1830
|
+
S || l?.();
|
|
1831
|
+
}, [S]), ne(() => {
|
|
1832
1832
|
ee();
|
|
1833
|
-
}, [P,
|
|
1834
|
-
const
|
|
1835
|
-
!P.current || !
|
|
1833
|
+
}, [P, S]);
|
|
1834
|
+
const L = (g) => {
|
|
1835
|
+
!P.current || !v.current || g.composedPath().includes(P.current) || g.composedPath().includes(v.current) || k(!1);
|
|
1836
1836
|
};
|
|
1837
1837
|
return ne(() => {
|
|
1838
1838
|
const g = () => {
|
|
1839
|
-
|
|
1839
|
+
S && ee();
|
|
1840
1840
|
}, h = () => {
|
|
1841
|
-
s ?
|
|
1841
|
+
s ? k(!1) : g();
|
|
1842
1842
|
};
|
|
1843
|
-
document.addEventListener("click",
|
|
1843
|
+
document.addEventListener("click", L);
|
|
1844
1844
|
let R = [];
|
|
1845
|
-
return
|
|
1845
|
+
return S && (ee(), R = pt(P.current), R.forEach((f) => {
|
|
1846
1846
|
f.addEventListener(
|
|
1847
1847
|
"scroll",
|
|
1848
1848
|
h,
|
|
@@ -1851,27 +1851,27 @@ const Ct = ({
|
|
|
1851
1851
|
}
|
|
1852
1852
|
);
|
|
1853
1853
|
}), window.addEventListener("resize", g)), () => {
|
|
1854
|
-
document.removeEventListener("click",
|
|
1854
|
+
document.removeEventListener("click", L), R.forEach((f) => f.removeEventListener("scroll", h)), window.removeEventListener("resize", g);
|
|
1855
1855
|
};
|
|
1856
|
-
}, [
|
|
1856
|
+
}, [S, s]), /* @__PURE__ */ i("div", { className: `${Ce.timepickerWrapper} ${S ? Ce.focused : ""}`, children: [
|
|
1857
1857
|
/* @__PURE__ */ e(
|
|
1858
1858
|
"div",
|
|
1859
1859
|
{
|
|
1860
1860
|
ref: P,
|
|
1861
1861
|
className: Ce.timepickerInputWrapper,
|
|
1862
|
-
onClick: () => (
|
|
1862
|
+
onClick: () => (k((g) => !g), ee()),
|
|
1863
1863
|
onFocus: z,
|
|
1864
1864
|
children: /* @__PURE__ */ e(
|
|
1865
1865
|
ze,
|
|
1866
1866
|
{
|
|
1867
|
-
...
|
|
1868
|
-
onFocusChange: (g) =>
|
|
1869
|
-
customFocus:
|
|
1867
|
+
...b,
|
|
1868
|
+
onFocusChange: (g) => k(g),
|
|
1869
|
+
customFocus: S,
|
|
1870
1870
|
withActive: !1,
|
|
1871
1871
|
value: y,
|
|
1872
1872
|
toggleFocus: !0,
|
|
1873
1873
|
formInputStyle: { cursor: "pointer" },
|
|
1874
|
-
rightSlot: /* @__PURE__ */
|
|
1874
|
+
rightSlot: /* @__PURE__ */ i("div", { className: `${Ce.dropdownRightIcon} ${S ? Ce.focused : ""}`, children: [
|
|
1875
1875
|
y && /* @__PURE__ */ e(
|
|
1876
1876
|
"div",
|
|
1877
1877
|
{
|
|
@@ -1879,7 +1879,7 @@ const Ct = ({
|
|
|
1879
1879
|
g.stopPropagation(), F();
|
|
1880
1880
|
},
|
|
1881
1881
|
className: Ce.dropdownRightIconClose,
|
|
1882
|
-
children: /* @__PURE__ */ e(
|
|
1882
|
+
children: /* @__PURE__ */ e(lt, {})
|
|
1883
1883
|
}
|
|
1884
1884
|
),
|
|
1885
1885
|
/* @__PURE__ */ e("div", { className: Ce.dropdownRightIconArrow, children: /* @__PURE__ */ e(et, {}) })
|
|
@@ -1890,14 +1890,14 @@ const Ct = ({
|
|
|
1890
1890
|
)
|
|
1891
1891
|
}
|
|
1892
1892
|
),
|
|
1893
|
-
|
|
1894
|
-
/* @__PURE__ */ e("div", { className: Ce.timepickerDropdownHeader, children: /* @__PURE__ */
|
|
1893
|
+
S && /* @__PURE__ */ i("div", { ref: v, className: Ce.timepickerDropdownWrapper, children: [
|
|
1894
|
+
/* @__PURE__ */ e("div", { className: Ce.timepickerDropdownHeader, children: /* @__PURE__ */ i("div", { className: Ce.timepickerDropdownHeaderButtons, children: [
|
|
1895
1895
|
/* @__PURE__ */ e(
|
|
1896
1896
|
"p",
|
|
1897
1897
|
{
|
|
1898
|
-
className:
|
|
1898
|
+
className: $ === "12" ? Ce.active : "",
|
|
1899
1899
|
onClick: () => {
|
|
1900
|
-
F(),
|
|
1900
|
+
F(), W("12");
|
|
1901
1901
|
},
|
|
1902
1902
|
children: "AM -PM"
|
|
1903
1903
|
}
|
|
@@ -1905,79 +1905,79 @@ const Ct = ({
|
|
|
1905
1905
|
/* @__PURE__ */ e(
|
|
1906
1906
|
"p",
|
|
1907
1907
|
{
|
|
1908
|
-
className:
|
|
1908
|
+
className: $ === "24" ? Ce.active : "",
|
|
1909
1909
|
onClick: () => {
|
|
1910
|
-
F(),
|
|
1910
|
+
F(), W("24");
|
|
1911
1911
|
},
|
|
1912
1912
|
children: "24 Hours"
|
|
1913
1913
|
}
|
|
1914
1914
|
)
|
|
1915
1915
|
] }) }),
|
|
1916
|
-
/* @__PURE__ */
|
|
1917
|
-
/* @__PURE__ */ e("div", { className: Ce.timepickerDropdownBodyHours, children: (
|
|
1916
|
+
/* @__PURE__ */ i("div", { className: Ce.timepickerDropdownBody, children: [
|
|
1917
|
+
/* @__PURE__ */ e("div", { className: Ce.timepickerDropdownBodyHours, children: ($ === "12" ? w : d).map((g) => /* @__PURE__ */ e("p", { className: U === g || y?.split(":")[0] === g ? Ce.active : "", onClick: () => O(g), children: g }, g)) }),
|
|
1918
1918
|
/* @__PURE__ */ e("div", { className: Ce.timepickerDropdownBodyMinutes, children: _.map((g) => /* @__PURE__ */ e("p", { className: V === g || y?.split(":")[1] === g ? Ce.active : "", onClick: () => J(g), children: g }, g)) }),
|
|
1919
|
-
|
|
1919
|
+
$ === "12" && /* @__PURE__ */ i("div", { className: Ce.timepickerDropdownBodyAmPm, children: [
|
|
1920
1920
|
/* @__PURE__ */ e("p", { className: le === "AM" ? Ce.active : "", onClick: () => K("AM"), children: "AM" }, "AM"),
|
|
1921
1921
|
/* @__PURE__ */ e("p", { className: le === "PM" ? Ce.active : "", onClick: () => K("PM"), children: "PM" }, "PM")
|
|
1922
1922
|
] })
|
|
1923
1923
|
] }),
|
|
1924
|
-
|
|
1924
|
+
r && /* @__PURE__ */ e("div", { className: Ce.timepickerDropdownFooter, children: /* @__PURE__ */ e(Te, { label: "Confirm time", onClick: () => m?.(y) }) })
|
|
1925
1925
|
] })
|
|
1926
1926
|
] });
|
|
1927
1927
|
};
|
|
1928
1928
|
Ct.propKeys = ["value", "defaultTimeType", "defaultAmPm", "withConfirm", "onChange", "onFocus", "onBlur", "closeOnScroll"];
|
|
1929
1929
|
Ct.displayName = "Timepicker";
|
|
1930
1930
|
Ct.description = "A time selection component with 12/24 hour formats and optional confirmation for precise time input.";
|
|
1931
|
-
const Ql = "mc__Datepicker-module__datepickerContainer", Jl = "mc__Datepicker-module__datepickerInputWrapper", Gl = "mc__Datepicker-module__datepickerLeftIcon",
|
|
1931
|
+
const Ql = "mc__Datepicker-module__datepickerContainer", Jl = "mc__Datepicker-module__datepickerInputWrapper", Gl = "mc__Datepicker-module__datepickerLeftIcon", er = "mc__Datepicker-module__datepickerRightIcon", Je = {
|
|
1932
1932
|
datepickerContainer: Ql,
|
|
1933
1933
|
datepickerInputWrapper: Jl,
|
|
1934
1934
|
datepickerLeftIcon: Gl,
|
|
1935
|
-
datepickerRightIcon:
|
|
1936
|
-
},
|
|
1937
|
-
datePicker:
|
|
1938
|
-
dualCalendar:
|
|
1939
|
-
dualCalendarWithQuick:
|
|
1940
|
-
border:
|
|
1941
|
-
calendarWrapper:
|
|
1942
|
-
quickPick:
|
|
1943
|
-
datePickerHeader:
|
|
1944
|
-
div:
|
|
1945
|
-
currentDateHeader:
|
|
1946
|
-
left:
|
|
1947
|
-
right:
|
|
1948
|
-
singleIcon:
|
|
1949
|
-
doubleIcon:
|
|
1950
|
-
spacerRow:
|
|
1951
|
-
day:
|
|
1952
|
-
today:
|
|
1953
|
-
inRange:
|
|
1954
|
-
selected:
|
|
1955
|
-
startDate:
|
|
1956
|
-
endDate:
|
|
1957
|
-
disabled:
|
|
1958
|
-
otherMonth:
|
|
1959
|
-
monthsWrapper:
|
|
1960
|
-
month:
|
|
1961
|
-
pickedMonth:
|
|
1962
|
-
buttonWrapper:
|
|
1935
|
+
datepickerRightIcon: er
|
|
1936
|
+
}, tr = "mc__Calendar-module__datePicker", or = "mc__Calendar-module__dualCalendar", nr = "mc__Calendar-module__dualCalendarWithQuick", lr = "mc__Calendar-module__border", rr = "mc__Calendar-module__calendarWrapper", ir = "mc__Calendar-module__quickPick", sr = "mc__Calendar-module__datePickerHeader", ar = "mc__Calendar-module__div", cr = "mc__Calendar-module__currentDateHeader", dr = "mc__Calendar-module__left", ur = "mc__Calendar-module__right", pr = "mc__Calendar-module__singleIcon", mr = "mc__Calendar-module__doubleIcon", hr = "mc__Calendar-module__spacerRow", fr = "mc__Calendar-module__day", _r = "mc__Calendar-module__today", Cr = "mc__Calendar-module__inRange", gr = "mc__Calendar-module__selected", wr = "mc__Calendar-module__startDate", yr = "mc__Calendar-module__endDate", vr = "mc__Calendar-module__disabled", br = "mc__Calendar-module__otherMonth", kr = "mc__Calendar-module__monthsWrapper", Lr = "mc__Calendar-module__month", xr = "mc__Calendar-module__pickedMonth", Tr = "mc__Calendar-module__buttonWrapper", q = {
|
|
1937
|
+
datePicker: tr,
|
|
1938
|
+
dualCalendar: or,
|
|
1939
|
+
dualCalendarWithQuick: nr,
|
|
1940
|
+
border: lr,
|
|
1941
|
+
calendarWrapper: rr,
|
|
1942
|
+
quickPick: ir,
|
|
1943
|
+
datePickerHeader: sr,
|
|
1944
|
+
div: ar,
|
|
1945
|
+
currentDateHeader: cr,
|
|
1946
|
+
left: dr,
|
|
1947
|
+
right: ur,
|
|
1948
|
+
singleIcon: pr,
|
|
1949
|
+
doubleIcon: mr,
|
|
1950
|
+
spacerRow: hr,
|
|
1951
|
+
day: fr,
|
|
1952
|
+
today: _r,
|
|
1953
|
+
inRange: Cr,
|
|
1954
|
+
selected: gr,
|
|
1955
|
+
startDate: wr,
|
|
1956
|
+
endDate: yr,
|
|
1957
|
+
disabled: vr,
|
|
1958
|
+
otherMonth: br,
|
|
1959
|
+
monthsWrapper: kr,
|
|
1960
|
+
month: Lr,
|
|
1961
|
+
pickedMonth: xr,
|
|
1962
|
+
buttonWrapper: Tr
|
|
1963
1963
|
};
|
|
1964
|
-
|
|
1965
|
-
const
|
|
1964
|
+
D.extend(_t);
|
|
1965
|
+
const Ir = ({
|
|
1966
1966
|
valueFormat: t,
|
|
1967
1967
|
quickPick: o,
|
|
1968
1968
|
onChange: n,
|
|
1969
|
-
CurrentMonth:
|
|
1969
|
+
CurrentMonth: r,
|
|
1970
1970
|
setCurrentMonth: s,
|
|
1971
1971
|
SelectedDate: m,
|
|
1972
1972
|
namespace: a,
|
|
1973
1973
|
customYears: l,
|
|
1974
|
-
setSelectedDate:
|
|
1974
|
+
setSelectedDate: b,
|
|
1975
1975
|
IsFocused: P,
|
|
1976
|
-
setIsFocused:
|
|
1977
|
-
mode:
|
|
1978
|
-
RangeSelection:
|
|
1979
|
-
setRangeSelection:
|
|
1980
|
-
pickerType:
|
|
1976
|
+
setIsFocused: v,
|
|
1977
|
+
mode: S,
|
|
1978
|
+
RangeSelection: k,
|
|
1979
|
+
setRangeSelection: $,
|
|
1980
|
+
pickerType: W,
|
|
1981
1981
|
disabledDatesRange: w,
|
|
1982
1982
|
disabledDatesTill: d,
|
|
1983
1983
|
disabledDatesFrom: _,
|
|
@@ -1994,18 +1994,18 @@ const Ii = ({
|
|
|
1994
1994
|
monthStyle: z
|
|
1995
1995
|
}) => {
|
|
1996
1996
|
const F = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], Y = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
|
1997
|
-
|
|
1998
|
-
const [
|
|
1997
|
+
D().year();
|
|
1998
|
+
const [L, g] = Z(""), h = ae([]), [R, f] = Z(!1), B = (A) => {
|
|
1999
1999
|
if (l?.length && !l.includes(A.year().toString()))
|
|
2000
2000
|
return [];
|
|
2001
|
-
const C = (A.startOf("month").day() + 6) % 7,
|
|
2001
|
+
const C = (A.startOf("month").day() + 6) % 7, M = A.endOf("month").date(), T = A.subtract(1, "month").endOf("month").date(), te = [];
|
|
2002
2002
|
let oe = [], we = 1;
|
|
2003
2003
|
for (let ge = 0; ge < C; ge++)
|
|
2004
2004
|
oe.push({
|
|
2005
2005
|
date: A.subtract(1, "month").date(T - C + ge + 1),
|
|
2006
2006
|
currentMonth: !1
|
|
2007
2007
|
});
|
|
2008
|
-
for (; we <=
|
|
2008
|
+
for (; we <= M; )
|
|
2009
2009
|
oe.push({ date: A.date(we++), currentMonth: !0 }), oe.length === 7 && (te.push(oe), oe = []);
|
|
2010
2010
|
let fe = 1;
|
|
2011
2011
|
for (; te.length < 5; )
|
|
@@ -2022,7 +2022,7 @@ const Ii = ({
|
|
|
2022
2022
|
te.push(oe);
|
|
2023
2023
|
}
|
|
2024
2024
|
return te;
|
|
2025
|
-
}, Q =
|
|
2025
|
+
}, Q = B(r), de = W === "dual" ? B(r.add(1, "month")) : null, re = () => {
|
|
2026
2026
|
let A = [];
|
|
2027
2027
|
return o && Array.isArray(o) && o.length > 0 && o.forEach((C) => {
|
|
2028
2028
|
switch (C) {
|
|
@@ -2057,57 +2057,57 @@ const Ii = ({
|
|
|
2057
2057
|
}), h.current = at(h.current, "key"), A = h.current, A;
|
|
2058
2058
|
}, me = (A) => {
|
|
2059
2059
|
let C = { start: "", end: "" };
|
|
2060
|
-
switch (
|
|
2060
|
+
switch (b(null), A.key?.toLowerCase()) {
|
|
2061
2061
|
case "today":
|
|
2062
|
-
|
|
2063
|
-
start:
|
|
2064
|
-
end:
|
|
2065
|
-
}), C.start =
|
|
2062
|
+
$({
|
|
2063
|
+
start: D(),
|
|
2064
|
+
end: D()
|
|
2065
|
+
}), C.start = D();
|
|
2066
2066
|
break;
|
|
2067
2067
|
case "yesterday":
|
|
2068
|
-
|
|
2069
|
-
start:
|
|
2070
|
-
end:
|
|
2071
|
-
}), C.start =
|
|
2068
|
+
b(D().subtract(1, "day")), $({
|
|
2069
|
+
start: D().subtract(1, "day"),
|
|
2070
|
+
end: D().subtract(1, "day")
|
|
2071
|
+
}), C.start = D().subtract(1, "day");
|
|
2072
2072
|
break;
|
|
2073
2073
|
case "thisweek":
|
|
2074
|
-
|
|
2075
|
-
start:
|
|
2076
|
-
end:
|
|
2077
|
-
}), C.start =
|
|
2074
|
+
$({
|
|
2075
|
+
start: D().startOf("week"),
|
|
2076
|
+
end: D().endOf("week")
|
|
2077
|
+
}), C.start = D().startOf("week"), C.end = D().endOf("week");
|
|
2078
2078
|
break;
|
|
2079
2079
|
case "lastweek":
|
|
2080
|
-
|
|
2081
|
-
start:
|
|
2082
|
-
end:
|
|
2083
|
-
}), C.start =
|
|
2080
|
+
$({
|
|
2081
|
+
start: D().subtract(1, "week").startOf("week"),
|
|
2082
|
+
end: D().subtract(1, "week").endOf("week")
|
|
2083
|
+
}), C.start = D().subtract(1, "week").startOf("week"), C.end = D().subtract(1, "week").endOf("week");
|
|
2084
2084
|
break;
|
|
2085
2085
|
case "thismonth":
|
|
2086
|
-
|
|
2087
|
-
start:
|
|
2088
|
-
end:
|
|
2089
|
-
}), C.start =
|
|
2086
|
+
$({
|
|
2087
|
+
start: D().startOf("month"),
|
|
2088
|
+
end: D().endOf("month")
|
|
2089
|
+
}), C.start = D().startOf("month"), C.end = D().endOf("month");
|
|
2090
2090
|
break;
|
|
2091
2091
|
case "lastmonth":
|
|
2092
|
-
|
|
2093
|
-
start:
|
|
2094
|
-
end:
|
|
2095
|
-
}), C.start =
|
|
2092
|
+
$({
|
|
2093
|
+
start: D().subtract(1, "month").startOf("month"),
|
|
2094
|
+
end: D().subtract(1, "month").endOf("month")
|
|
2095
|
+
}), C.start = D().subtract(1, "month").startOf("month"), C.end = D().subtract(1, "month").endOf("month");
|
|
2096
2096
|
break;
|
|
2097
2097
|
case "thisyear":
|
|
2098
|
-
|
|
2099
|
-
start:
|
|
2100
|
-
end:
|
|
2101
|
-
}), C.start =
|
|
2098
|
+
$({
|
|
2099
|
+
start: D().startOf("year"),
|
|
2100
|
+
end: D().endOf("year")
|
|
2101
|
+
}), C.start = D().startOf("year"), C.end = D().endOf("year");
|
|
2102
2102
|
break;
|
|
2103
2103
|
case "lastyear":
|
|
2104
|
-
|
|
2105
|
-
start:
|
|
2106
|
-
end:
|
|
2107
|
-
}), C.start =
|
|
2104
|
+
$({
|
|
2105
|
+
start: D().subtract(1, "year").startOf("year"),
|
|
2106
|
+
end: D().subtract(1, "year").endOf("year")
|
|
2107
|
+
}), C.start = D().subtract(1, "year").startOf("year"), C.end = D().subtract(1, "year").endOf("year");
|
|
2108
2108
|
break;
|
|
2109
2109
|
case "alltime":
|
|
2110
|
-
|
|
2110
|
+
$({
|
|
2111
2111
|
start: "",
|
|
2112
2112
|
end: ""
|
|
2113
2113
|
}), C.start = "", C.end = "";
|
|
@@ -2117,15 +2117,15 @@ const Ii = ({
|
|
|
2117
2117
|
break;
|
|
2118
2118
|
}
|
|
2119
2119
|
if (n && typeof n == "function") {
|
|
2120
|
-
const
|
|
2120
|
+
const M = {
|
|
2121
2121
|
start: C.start ? C.start : "",
|
|
2122
2122
|
end: C.end ? C.end : ""
|
|
2123
2123
|
};
|
|
2124
|
-
|
|
2124
|
+
v(!1), n(M.end === "" ? M.start : M);
|
|
2125
2125
|
}
|
|
2126
|
-
},
|
|
2127
|
-
}, E = (A, C,
|
|
2128
|
-
C || s(A.startOf("month")),
|
|
2126
|
+
}, ie = () => {
|
|
2127
|
+
}, E = (A, C, M = !1) => {
|
|
2128
|
+
C || s(A.startOf("month")), S === "range" ? $((T) => !T.start || T.start && T.end ? (n && typeof n == "function" && n({
|
|
2129
2129
|
start: A ?? "",
|
|
2130
2130
|
end: ""
|
|
2131
2131
|
}), { start: A ?? "", end: "" }) : T.start && !T.end ? A.isBefore(T.start, "day") ? (n && typeof n == "function" && n({
|
|
@@ -2134,78 +2134,78 @@ const Ii = ({
|
|
|
2134
2134
|
}), { start: A ?? "", end: T?.start ?? "" }) : (n({
|
|
2135
2135
|
...T,
|
|
2136
2136
|
end: A ?? ""
|
|
2137
|
-
}), { ...T, end: A ?? "" }) : T) : (
|
|
2137
|
+
}), { ...T, end: A ?? "" }) : T) : ($({ start: null, end: null }), b(A), M || (v(!1), n && typeof n == "function" && n(A.format(t))));
|
|
2138
2138
|
}, se = () => {
|
|
2139
|
-
s(
|
|
2139
|
+
s(r.add(1, "month"));
|
|
2140
2140
|
}, ue = () => {
|
|
2141
|
-
s(
|
|
2141
|
+
s(r.subtract(1, "month"));
|
|
2142
2142
|
}, G = () => {
|
|
2143
|
-
s(
|
|
2143
|
+
s(r.add(1, "year"));
|
|
2144
2144
|
}, _e = () => {
|
|
2145
|
-
s(
|
|
2145
|
+
s(r.subtract(1, "year"));
|
|
2146
2146
|
};
|
|
2147
2147
|
return ne(() => {
|
|
2148
|
-
p?.state && (Array.isArray(p?.value) ?
|
|
2148
|
+
p?.state && (Array.isArray(p?.value) ? $({ start: D(p?.value[0], t), end: D(p?.value[1], t) }) : E(D(p.value), !1, !0), p.state = !1);
|
|
2149
2149
|
}, []), /* @__PURE__ */ e(
|
|
2150
2150
|
"div",
|
|
2151
2151
|
{
|
|
2152
2152
|
ref: y,
|
|
2153
|
-
className: `${a === "namespaceHr" ? q.namespaceHr : ""} ${q.datePicker} ${P ? q.focused : ""} ${
|
|
2153
|
+
className: `${a === "namespaceHr" ? q.namespaceHr : ""} ${q.datePicker} ${P ? q.focused : ""} ${W === "dual" ? o && Array.isArray(o) && o.length > 0 ? q.dualCalendarWithQuick : q.dualCalendar : ""} `,
|
|
2154
2154
|
onClick: (A) => A.stopPropagation(),
|
|
2155
|
-
style:
|
|
2156
|
-
children: /* @__PURE__ */
|
|
2157
|
-
|
|
2158
|
-
/* @__PURE__ */
|
|
2159
|
-
/* @__PURE__ */
|
|
2160
|
-
(!l || l.length > 1) && (!l ||
|
|
2155
|
+
style: W === "dual" ? { paddingBottom: "0" } : {},
|
|
2156
|
+
children: /* @__PURE__ */ i("div", { className: q.div, children: [
|
|
2157
|
+
W === "dual" ? /* @__PURE__ */ i("div", { style: { width: "100%", display: "flex", justifyContent: "space-between" }, children: [
|
|
2158
|
+
/* @__PURE__ */ i("div", { style: { width: "50%", display: "flex", alignItems: "center", justifyContent: "flex-start", gap: "30px" }, children: [
|
|
2159
|
+
/* @__PURE__ */ i("div", { className: q.left, children: [
|
|
2160
|
+
(!l || l.length > 1) && (!l || r.year() > Math.min(...l.map(Number))) ? /* @__PURE__ */ i("div", { className: q.doubleIcon, onClick: _e, children: [
|
|
2161
2161
|
/* @__PURE__ */ e(Ue, {}),
|
|
2162
2162
|
/* @__PURE__ */ e(Ue, {})
|
|
2163
2163
|
] }) : /* @__PURE__ */ e("div", { style: { width: "20px", height: "20px" } }),
|
|
2164
|
-
!l || l &&
|
|
2164
|
+
!l || l && r.format("MMMM YYYY") !== `January ${Math.min(...l.map(Number))}` ? /* @__PURE__ */ e("div", { className: q.singleIcon, onClick: ue, children: /* @__PURE__ */ e(Ue, {}) }) : /* @__PURE__ */ e("div", { style: { width: "20px", height: "20px" } })
|
|
2165
2165
|
] }),
|
|
2166
|
-
/* @__PURE__ */ e("div", { className: q.currentDateHeader, style: z ?? {}, onClick:
|
|
2166
|
+
/* @__PURE__ */ e("div", { className: q.currentDateHeader, style: z ?? {}, onClick: ie, children: l && l.length === 1 ? r.format("MMMM") : r.format("MMMM YYYY") })
|
|
2167
2167
|
] }),
|
|
2168
|
-
/* @__PURE__ */
|
|
2169
|
-
/* @__PURE__ */ e("div", { className: q.currentDateHeader, style: z ?? {}, onClick:
|
|
2170
|
-
/* @__PURE__ */
|
|
2171
|
-
!l || l &&
|
|
2172
|
-
(!l || l.length > 1) && (!l ||
|
|
2168
|
+
/* @__PURE__ */ i("div", { style: { width: "50%", display: "flex", alignItems: "center", justifyContent: "flex-end", gap: "30px" }, children: [
|
|
2169
|
+
/* @__PURE__ */ e("div", { className: q.currentDateHeader, style: z ?? {}, onClick: ie, children: l && l.length === 1 ? r.add(1, "month").format("MMMM") : r.add(1, "month").format("MMMM YYYY") }),
|
|
2170
|
+
/* @__PURE__ */ i("div", { className: q.right, children: [
|
|
2171
|
+
!l || l && r.format("MMMM YYYY") !== `December ${Math.max(...l.map(Number))}` ? /* @__PURE__ */ e("div", { className: q.singleIcon, onClick: se, children: /* @__PURE__ */ e(je, {}) }) : /* @__PURE__ */ e("div", { style: { width: "20px", height: "20px" } }),
|
|
2172
|
+
(!l || l.length > 1) && (!l || r.year() < Math.max(...l.map(Number))) ? /* @__PURE__ */ i("div", { className: q.doubleIcon, onClick: G, children: [
|
|
2173
2173
|
/* @__PURE__ */ e(je, {}),
|
|
2174
2174
|
/* @__PURE__ */ e(je, {})
|
|
2175
2175
|
] }) : /* @__PURE__ */ e("div", { style: { width: "20px", height: "20px" } })
|
|
2176
2176
|
] })
|
|
2177
2177
|
] })
|
|
2178
|
-
] }) : /* @__PURE__ */
|
|
2179
|
-
/* @__PURE__ */
|
|
2180
|
-
/* @__PURE__ */
|
|
2181
|
-
(!l || l.length > 1) && (!l ||
|
|
2178
|
+
] }) : /* @__PURE__ */ i("div", { className: q.datePickerHeader, children: [
|
|
2179
|
+
/* @__PURE__ */ i("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
|
|
2180
|
+
/* @__PURE__ */ i("div", { className: q.left, children: [
|
|
2181
|
+
(!l || l.length > 1) && (!l || r.year() > Math.min(...l.map(Number))) ? /* @__PURE__ */ i("div", { className: q.doubleIcon, onClick: _e, children: [
|
|
2182
2182
|
/* @__PURE__ */ e(Ue, {}),
|
|
2183
2183
|
/* @__PURE__ */ e(Ue, {})
|
|
2184
2184
|
] }) : /* @__PURE__ */ e("div", { style: { width: "20px", height: "20px" } }),
|
|
2185
|
-
!l || l &&
|
|
2185
|
+
!l || l && r.format("MMMM YYYY") !== `January ${Math.min(...l.map(Number))}` ? /* @__PURE__ */ e("div", { className: q.singleIcon, onClick: ue, children: /* @__PURE__ */ e(Ue, {}) }) : /* @__PURE__ */ e("div", { style: { width: "20px", height: "20px" } })
|
|
2186
2186
|
] }),
|
|
2187
|
-
/* @__PURE__ */ e("div", { className: q.currentDateHeader, style: z ?? {}, onClick:
|
|
2188
|
-
/* @__PURE__ */
|
|
2189
|
-
!l || l &&
|
|
2190
|
-
(!l || l.length > 1) && (!l ||
|
|
2187
|
+
/* @__PURE__ */ e("div", { className: q.currentDateHeader, style: z ?? {}, onClick: ie, children: l && l.length === 1 ? r.format("MMMM") : r.format("MMMM YYYY") }),
|
|
2188
|
+
/* @__PURE__ */ i("div", { className: q.right, children: [
|
|
2189
|
+
!l || l && r.format("MMMM YYYY") !== `December ${Math.max(...l.map(Number))}` ? /* @__PURE__ */ e("div", { className: q.singleIcon, onClick: se, children: /* @__PURE__ */ e(je, {}) }) : /* @__PURE__ */ e("div", { style: { width: "20px", height: "20px" } }),
|
|
2190
|
+
(!l || l.length > 1) && (!l || r.year() < Math.max(...l.map(Number))) ? /* @__PURE__ */ i("div", { className: q.doubleIcon, onClick: G, children: [
|
|
2191
2191
|
/* @__PURE__ */ e(je, {}),
|
|
2192
2192
|
/* @__PURE__ */ e(je, {})
|
|
2193
2193
|
] }) : /* @__PURE__ */ e("div", { className: q.doubleIcon })
|
|
2194
2194
|
] })
|
|
2195
2195
|
] }),
|
|
2196
|
-
|
|
2196
|
+
W === "single" && o && Array.isArray(o) && o.length > 0 && /* @__PURE__ */ e("ul", { className: q.quickPick, children: re().slice(0, 3).map((A) => /* @__PURE__ */ e("li", { style: ee ?? {}, onClick: () => me(A), children: A.name }, A.key)) })
|
|
2197
2197
|
] }),
|
|
2198
|
-
/* @__PURE__ */
|
|
2199
|
-
R ? /* @__PURE__ */ e("ul", { className: q.monthsWrapper, children: Y.map((A) => /* @__PURE__ */ e("li", { className: `${q.month} ${
|
|
2198
|
+
/* @__PURE__ */ i("div", { className: q.calendarWrapper, children: [
|
|
2199
|
+
R ? /* @__PURE__ */ e("ul", { className: q.monthsWrapper, children: Y.map((A) => /* @__PURE__ */ e("li", { className: `${q.month} ${L === A ? q.pickedMonth : ""}`, onClick: () => g(A), children: /* @__PURE__ */ e("div", { className: q.monthName, children: A }) })) }) : /* @__PURE__ */ i("table", { children: [
|
|
2200
2200
|
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: F.map((A) => /* @__PURE__ */ e("th", { style: j ?? {}, children: A }, A)) }) }),
|
|
2201
|
-
/* @__PURE__ */
|
|
2201
|
+
/* @__PURE__ */ i("tbody", { children: [
|
|
2202
2202
|
/* @__PURE__ */ e("tr", { className: q.spacerRow, children: /* @__PURE__ */ e("td", {}) }),
|
|
2203
|
-
Q.map((A, C) => /* @__PURE__ */ e("tr", { children: A.map(({ date:
|
|
2204
|
-
const oe =
|
|
2203
|
+
Q.map((A, C) => /* @__PURE__ */ e("tr", { children: A.map(({ date: M, currentMonth: T }, te) => {
|
|
2204
|
+
const oe = k.start && k.end && M.isAfter(k.start, "day") && M.isBefore(k.end, "day"), we = k.start && M.isSame(k.start, "day"), fe = k.end && M.isSame(k.end, "day"), ge = S === "single" && m && M.isSame(m, "day"), Me = d && M.isBefore(D(d), "day"), He = _ && M.isAfter(D(_), "day");
|
|
2205
2205
|
let De = !1;
|
|
2206
2206
|
if (w?.length === 2) {
|
|
2207
|
-
const [Ie,
|
|
2208
|
-
De =
|
|
2207
|
+
const [Ie, Be] = w.map((Ee) => D(Ee));
|
|
2208
|
+
De = M.isAfter(Ie.subtract(1, "day")) && M.isBefore(Be.add(1, "day"));
|
|
2209
2209
|
}
|
|
2210
2210
|
const Re = He || Me || De;
|
|
2211
2211
|
return /* @__PURE__ */ e(
|
|
@@ -2213,7 +2213,7 @@ const Ii = ({
|
|
|
2213
2213
|
{
|
|
2214
2214
|
style: {
|
|
2215
2215
|
...T ? {} : le,
|
|
2216
|
-
|
|
2216
|
+
...M.isSame(D(), "day") ? K : {},
|
|
2217
2217
|
...oe ? O : {},
|
|
2218
2218
|
...we ? U : {},
|
|
2219
2219
|
...fe ? J : {},
|
|
@@ -2221,30 +2221,30 @@ const Ii = ({
|
|
|
2221
2221
|
},
|
|
2222
2222
|
className: `${q.day}
|
|
2223
2223
|
${T ? "" : q.otherMonth}
|
|
2224
|
-
${T &&
|
|
2224
|
+
${T && M.isSame(D(), "day") ? q.today : ""}
|
|
2225
2225
|
${T && oe ? q.inRange : ""}
|
|
2226
2226
|
${T && we ? q.startDate : ""}
|
|
2227
2227
|
${T && fe ? q.endDate : ""}
|
|
2228
2228
|
${!T && !oe && !fe ? "" : ge ? q.selected : ""}
|
|
2229
2229
|
${Re ? q.disabled : ""}`,
|
|
2230
|
-
onClick: () => E(
|
|
2231
|
-
children:
|
|
2230
|
+
onClick: () => E(M, T),
|
|
2231
|
+
children: M.date()
|
|
2232
2232
|
},
|
|
2233
2233
|
te
|
|
2234
2234
|
);
|
|
2235
2235
|
}) }, C))
|
|
2236
2236
|
] })
|
|
2237
2237
|
] }),
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2238
|
+
W === "single" && /* @__PURE__ */ e("div", { className: q.buttonWrapper, children: /* @__PURE__ */ e(Te, { label: "Current date", onClick: () => E(D(), !0) }) }),
|
|
2239
|
+
W === "dual" && /* @__PURE__ */ e("div", { className: q.border }),
|
|
2240
|
+
W === "dual" && /* @__PURE__ */ i("table", { children: [
|
|
2241
2241
|
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: F.map((A) => /* @__PURE__ */ e("th", { style: j ?? {}, children: A }, A)) }) }),
|
|
2242
|
-
/* @__PURE__ */ e("tbody", { children: de?.map((A, C) => /* @__PURE__ */ e("tr", { children: A.map(({ date:
|
|
2243
|
-
const oe =
|
|
2242
|
+
/* @__PURE__ */ e("tbody", { children: de?.map((A, C) => /* @__PURE__ */ e("tr", { children: A.map(({ date: M, currentMonth: T }, te) => {
|
|
2243
|
+
const oe = k.start && k.end && M.isAfter(k.start, "day") && M.isBefore(k.end, "day"), we = k.start && M.isSame(k.start, "day"), fe = k.end && M.isSame(k.end, "day"), ge = S === "single" && m && M.isSame(m, "day"), Me = d && M.isBefore(D(d), "day"), He = _ && M.isAfter(D(_), "day");
|
|
2244
2244
|
let De = !1;
|
|
2245
2245
|
if (w?.length === 2) {
|
|
2246
|
-
const [Ie,
|
|
2247
|
-
De =
|
|
2246
|
+
const [Ie, Be] = w.map((Ee) => D(Ee));
|
|
2247
|
+
De = M.isAfter(Ie.subtract(1, "day")) && M.isBefore(Be.add(1, "day"));
|
|
2248
2248
|
}
|
|
2249
2249
|
const Re = He || Me || De;
|
|
2250
2250
|
return /* @__PURE__ */ e(
|
|
@@ -2252,7 +2252,7 @@ const Ii = ({
|
|
|
2252
2252
|
{
|
|
2253
2253
|
style: {
|
|
2254
2254
|
...T ? {} : le,
|
|
2255
|
-
|
|
2255
|
+
...M.isSame(D(), "day") ? K : {},
|
|
2256
2256
|
...oe ? O : {},
|
|
2257
2257
|
...we ? U : {},
|
|
2258
2258
|
...fe ? J : {},
|
|
@@ -2260,42 +2260,42 @@ const Ii = ({
|
|
|
2260
2260
|
},
|
|
2261
2261
|
className: `${q.day}
|
|
2262
2262
|
${T ? "" : q.otherMonth}
|
|
2263
|
-
${T &&
|
|
2263
|
+
${T && M.isSame(D(), "day") ? q.today : ""}
|
|
2264
2264
|
${T && oe ? q.inRange : ""}
|
|
2265
2265
|
${T && we ? q.startDate : ""}
|
|
2266
2266
|
${T && fe ? q.endDate : ""}
|
|
2267
2267
|
${!T && !oe && !fe ? "" : ge ? q.selected : ""}
|
|
2268
2268
|
${Re ? q.disabled : ""}`,
|
|
2269
|
-
onClick: () => E(
|
|
2270
|
-
children:
|
|
2269
|
+
onClick: () => E(M, T),
|
|
2270
|
+
children: M.date()
|
|
2271
2271
|
},
|
|
2272
2272
|
te
|
|
2273
2273
|
);
|
|
2274
2274
|
}) }, C)) })
|
|
2275
2275
|
] })
|
|
2276
2276
|
] }),
|
|
2277
|
-
|
|
2277
|
+
W === "dual" && /* @__PURE__ */ e("div", { className: q.buttonWrapper, children: /* @__PURE__ */ e(Te, { label: "Current date", buttonStyle: { width: "30%", margin: "6px auto 0 auto" }, onClick: () => E(D(), !0) }) })
|
|
2278
2278
|
] })
|
|
2279
2279
|
}
|
|
2280
2280
|
);
|
|
2281
2281
|
};
|
|
2282
|
-
|
|
2282
|
+
D.extend(_t);
|
|
2283
2283
|
const gt = ({
|
|
2284
2284
|
defaultValue: t,
|
|
2285
2285
|
valueFormat: o = "DD-MM-YYYY",
|
|
2286
2286
|
onChange: n,
|
|
2287
|
-
onBlur:
|
|
2287
|
+
onBlur: r,
|
|
2288
2288
|
onFocus: s,
|
|
2289
2289
|
customYears: m,
|
|
2290
2290
|
fixedDropdown: a = !0,
|
|
2291
2291
|
disabledDatesFrom: l,
|
|
2292
|
-
disabledDatesTill:
|
|
2292
|
+
disabledDatesTill: b,
|
|
2293
2293
|
disabledDatesRange: P,
|
|
2294
|
-
datepickerStyle:
|
|
2295
|
-
datepickerLabelStyle:
|
|
2296
|
-
closeOnScroll:
|
|
2297
|
-
requiredStyle:
|
|
2298
|
-
datepickerHelperTextStyle:
|
|
2294
|
+
datepickerStyle: v,
|
|
2295
|
+
datepickerLabelStyle: S,
|
|
2296
|
+
closeOnScroll: k = !1,
|
|
2297
|
+
requiredStyle: $,
|
|
2298
|
+
datepickerHelperTextStyle: W,
|
|
2299
2299
|
selectedStyle: w,
|
|
2300
2300
|
endDateStyle: d,
|
|
2301
2301
|
startDateStyle: _,
|
|
@@ -2311,40 +2311,40 @@ const gt = ({
|
|
|
2311
2311
|
disabled: ee = !1,
|
|
2312
2312
|
...z
|
|
2313
2313
|
}) => {
|
|
2314
|
-
const F = ut(), [Y,
|
|
2315
|
-
const C =
|
|
2316
|
-
return m?.length ? m.includes(C) ?
|
|
2314
|
+
const F = ut(), [Y, L] = Z(!1), [g, h] = Z(""), R = ae({ state: !1, value: "" }), f = ae(null), [B, Q] = Z(() => {
|
|
2315
|
+
const C = D().year().toString();
|
|
2316
|
+
return m?.length ? m.includes(C) ? D() : D(`${Math.min(...m.map(Number))}-01-01`) : D();
|
|
2317
2317
|
});
|
|
2318
2318
|
ne(() => {
|
|
2319
|
-
const C =
|
|
2320
|
-
m?.length && Q(m.includes(C) ?
|
|
2319
|
+
const C = D().year().toString();
|
|
2320
|
+
m?.length && Q(m.includes(C) ? D() : D(`${Math.min(...m.map(Number))}-01-01`));
|
|
2321
2321
|
}, [m]);
|
|
2322
|
-
const [de,
|
|
2322
|
+
const [de, re] = Z(""), [me, ie] = Z({
|
|
2323
2323
|
start: null,
|
|
2324
2324
|
end: null
|
|
2325
|
-
}), E = ae(null), se = (C,
|
|
2325
|
+
}), E = ae(null), se = (C, M, T) => {
|
|
2326
2326
|
let te = "", oe = { start: "", end: "" };
|
|
2327
|
-
(K === "single" || typeof C == "string") && (te = C, h(te)), (K !== "single" || typeof C != "string") && (C?.start || C?.end ? te = `${C?.start ?
|
|
2327
|
+
(K === "single" || typeof C == "string") && (te = C, h(te)), (K !== "single" || typeof C != "string") && (C?.start || C?.end ? te = `${C?.start ? D(C?.start).format(o) : ""} / ${C?.end ? D(C?.end).format(o) : ""}` : te = "", oe.start = C?.start ? D(C?.start).format(o) : "", oe.end = C?.end ? D(C?.end).format(o) : "", h(te)), C?.end && L(!1), n && typeof n == "function" && !T && (n(oe.start !== "" ? oe : te), R.current.value = oe.start !== "" ? oe : te);
|
|
2328
2328
|
}, ue = (C) => {
|
|
2329
|
-
C.stopPropagation(),
|
|
2329
|
+
C.stopPropagation(), re(""), R.current.value = "", h(""), ie({
|
|
2330
2330
|
start: null,
|
|
2331
2331
|
end: null
|
|
2332
2332
|
}), n && typeof n == "function" && n("");
|
|
2333
2333
|
}, G = (C) => {
|
|
2334
|
-
E.current && (C.composedPath().includes(E.current) ||
|
|
2334
|
+
E.current && (C.composedPath().includes(E.current) || L(!1));
|
|
2335
2335
|
}, _e = () => {
|
|
2336
2336
|
if (!E.current || !f.current) return;
|
|
2337
|
-
const C = E.current,
|
|
2338
|
-
if (
|
|
2337
|
+
const C = E.current, M = f.current;
|
|
2338
|
+
if (!M || !C) return;
|
|
2339
2339
|
const T = C.getBoundingClientRect(), te = window.innerHeight, oe = window.innerWidth;
|
|
2340
|
-
|
|
2340
|
+
M.style.position = "fixed", T.bottom + M.offsetHeight > te ? (M.style.top = `${T.top - M.offsetHeight + 20}px`, M.style.bottom = "unset") : (M.style.top = `${T.bottom + 8}px`, M.style.bottom = "unset"), T.right + T.width > oe - 120 ? M.style.left = `${T.left + T.width - M.offsetWidth}px` : M.style.left = `${T.left}px`;
|
|
2341
2341
|
};
|
|
2342
2342
|
ne(() => {
|
|
2343
2343
|
if (t && t.length > 0 && R.current.value === "") {
|
|
2344
2344
|
let C = Array.isArray(t) ? {
|
|
2345
|
-
start: t[0] ?
|
|
2346
|
-
end: t[1] ?
|
|
2347
|
-
} :
|
|
2345
|
+
start: t[0] ? D(t[0], o) : "",
|
|
2346
|
+
end: t[1] ? D(t[1], o) : null
|
|
2347
|
+
} : D(t, o).format(o);
|
|
2348
2348
|
R.current.value = t, R.current.state = !0, C && se(C, !1, !0);
|
|
2349
2349
|
}
|
|
2350
2350
|
}, []);
|
|
@@ -2358,24 +2358,24 @@ const gt = ({
|
|
|
2358
2358
|
}, [f, Y]), ne(() => {
|
|
2359
2359
|
const C = () => {
|
|
2360
2360
|
Y && A();
|
|
2361
|
-
},
|
|
2362
|
-
|
|
2361
|
+
}, M = () => {
|
|
2362
|
+
k ? L(!1) : C();
|
|
2363
2363
|
};
|
|
2364
2364
|
document.addEventListener("click", G);
|
|
2365
2365
|
let T = [];
|
|
2366
2366
|
return Y && (A(), T = pt(f.current), T.forEach((te) => {
|
|
2367
2367
|
te.addEventListener(
|
|
2368
2368
|
"scroll",
|
|
2369
|
-
|
|
2369
|
+
M,
|
|
2370
2370
|
{
|
|
2371
2371
|
passive: !0
|
|
2372
2372
|
}
|
|
2373
2373
|
);
|
|
2374
2374
|
}), window.addEventListener("resize", C)), () => {
|
|
2375
|
-
document.removeEventListener("click", G), T.forEach((te) => te.removeEventListener("scroll",
|
|
2375
|
+
document.removeEventListener("click", G), T.forEach((te) => te.removeEventListener("scroll", M)), window.removeEventListener("resize", C);
|
|
2376
2376
|
};
|
|
2377
|
-
}, [Y,
|
|
2378
|
-
/* @__PURE__ */ e("div", { ref: E, className: Je.datepickerInputWrapper, onClick: () => (
|
|
2377
|
+
}, [Y, k]), /* @__PURE__ */ i("div", { className: `${F === "namespaceHr" ? Je.namespaceHr : ""} ${Je.datepickerContainer}`, children: [
|
|
2378
|
+
/* @__PURE__ */ e("div", { ref: E, className: Je.datepickerInputWrapper, onClick: () => (L((C) => !C), A()), children: /* @__PURE__ */ e(
|
|
2379
2379
|
ze,
|
|
2380
2380
|
{
|
|
2381
2381
|
...z,
|
|
@@ -2385,32 +2385,32 @@ const gt = ({
|
|
|
2385
2385
|
toggleFocus: !0,
|
|
2386
2386
|
formInputStyle: { cursor: "pointer" },
|
|
2387
2387
|
leftSlot: /* @__PURE__ */ e("div", { className: Je.datepickerLeftIcon, children: /* @__PURE__ */ e(Kt, {}) }),
|
|
2388
|
-
rightSlot: /* @__PURE__ */ e("div", { className: `${Je.datepickerRightIcon}`, onClick: ue, children: g && /* @__PURE__ */ e(
|
|
2388
|
+
rightSlot: /* @__PURE__ */ e("div", { className: `${Je.datepickerRightIcon}`, onClick: ue, children: g && /* @__PURE__ */ e(lt, {}) }),
|
|
2389
2389
|
readOnly: !0
|
|
2390
2390
|
}
|
|
2391
2391
|
) }),
|
|
2392
2392
|
Y && /* @__PURE__ */ e(
|
|
2393
|
-
|
|
2393
|
+
Ir,
|
|
2394
2394
|
{
|
|
2395
2395
|
namespace: F,
|
|
2396
2396
|
defaultValue: R.current,
|
|
2397
2397
|
CalendarRef: f,
|
|
2398
2398
|
disabledDatesFrom: l,
|
|
2399
|
-
disabledDatesTill:
|
|
2399
|
+
disabledDatesTill: b,
|
|
2400
2400
|
disabledDatesRange: P,
|
|
2401
2401
|
valueFormat: o,
|
|
2402
2402
|
onChange: (C) => se(C, !1, !1),
|
|
2403
2403
|
customYears: m,
|
|
2404
|
-
CurrentMonth:
|
|
2404
|
+
CurrentMonth: B,
|
|
2405
2405
|
setCurrentMonth: Q,
|
|
2406
2406
|
SelectedDate: de,
|
|
2407
|
-
setSelectedDate:
|
|
2407
|
+
setSelectedDate: re,
|
|
2408
2408
|
IsFocused: Y,
|
|
2409
|
-
setIsFocused:
|
|
2409
|
+
setIsFocused: L,
|
|
2410
2410
|
quickPick: le,
|
|
2411
2411
|
mode: K,
|
|
2412
2412
|
RangeSelection: me,
|
|
2413
|
-
setRangeSelection:
|
|
2413
|
+
setRangeSelection: ie,
|
|
2414
2414
|
pickerType: j,
|
|
2415
2415
|
selectedStyle: w,
|
|
2416
2416
|
endDateStyle: d,
|
|
@@ -2457,66 +2457,66 @@ gt.propKeys = [
|
|
|
2457
2457
|
];
|
|
2458
2458
|
gt.displayName = "Datepicker";
|
|
2459
2459
|
gt.description = "A comprehensive date selection component with calendar interface, range selection, and quick pick options.";
|
|
2460
|
-
const
|
|
2461
|
-
skeleton:
|
|
2462
|
-
shimmer: $
|
|
2463
|
-
text:
|
|
2464
|
-
avatar:
|
|
2465
|
-
dark:
|
|
2460
|
+
const Nr = "mc__Skeleton-module__skeleton", $r = "mc__Skeleton-module__shimmer", Mr = "mc__Skeleton-module__text", Dr = "mc__Skeleton-module__avatar", Sr = "mc__Skeleton-module__dark", It = {
|
|
2461
|
+
skeleton: Nr,
|
|
2462
|
+
shimmer: $r,
|
|
2463
|
+
text: Mr,
|
|
2464
|
+
avatar: Dr,
|
|
2465
|
+
dark: Sr
|
|
2466
2466
|
}, wt = ({ type: t = "text", customStyle: o, children: n }) => /* @__PURE__ */ e("div", { style: o ?? {}, className: ` ${It.skeleton} ${It[t] || ""}`, children: n });
|
|
2467
2467
|
wt.propKeys = ["type", "customStyle", "children"];
|
|
2468
2468
|
wt.displayName = "Skeleton";
|
|
2469
2469
|
wt.description = "A loading skeleton component for displaying placeholder content while data is being fetched.";
|
|
2470
|
-
const
|
|
2471
|
-
actionDropdownContainer:
|
|
2472
|
-
collapsed:
|
|
2473
|
-
actionDropdownIcon:
|
|
2474
|
-
actionDropdownContent:
|
|
2475
|
-
actionDropdownTitle:
|
|
2476
|
-
actionDropdownList:
|
|
2477
|
-
actionDropdownItem:
|
|
2478
|
-
selected:
|
|
2479
|
-
}, yt = ({ title: t, data: o, closeOnScroll: n = !1, onSelect:
|
|
2480
|
-
const [s, m] = Z(!1), a = ae(null), l = ae(null), [
|
|
2481
|
-
P(w),
|
|
2482
|
-
},
|
|
2470
|
+
const Pr = "mc__ActionDropdown-module__actionDropdownContainer", Hr = "mc__ActionDropdown-module__collapsed", Rr = "mc__ActionDropdown-module__actionDropdownIcon", Ar = "mc__ActionDropdown-module__actionDropdownContent", Wr = "mc__ActionDropdown-module__actionDropdownTitle", Br = "mc__ActionDropdown-module__actionDropdownList", Er = "mc__ActionDropdown-module__actionDropdownItem", Fr = "mc__ActionDropdown-module__selected", Ae = {
|
|
2471
|
+
actionDropdownContainer: Pr,
|
|
2472
|
+
collapsed: Hr,
|
|
2473
|
+
actionDropdownIcon: Rr,
|
|
2474
|
+
actionDropdownContent: Ar,
|
|
2475
|
+
actionDropdownTitle: Wr,
|
|
2476
|
+
actionDropdownList: Br,
|
|
2477
|
+
actionDropdownItem: Er,
|
|
2478
|
+
selected: Fr
|
|
2479
|
+
}, yt = ({ title: t, data: o, closeOnScroll: n = !1, onSelect: r }) => {
|
|
2480
|
+
const [s, m] = Z(!1), a = ae(null), l = ae(null), [b, P] = Z(null), v = (w) => {
|
|
2481
|
+
P(w), r?.(w), m(!1);
|
|
2482
|
+
}, S = () => {
|
|
2483
2483
|
if (!a.current || !l.current) return;
|
|
2484
2484
|
const w = a.current, d = l.current;
|
|
2485
2485
|
if (!d || !w) return;
|
|
2486
2486
|
const _ = w.getBoundingClientRect(), y = window.innerHeight;
|
|
2487
2487
|
d.style.width = _.width + "px", d.style.position = "fixed", _.bottom + d.offsetHeight > y ? (d.style.top = `${_.top - d.offsetHeight - 8}px`, d.style.bottom = "unset") : (d.style.top = `${_.bottom + 8}px`, d.style.bottom = "unset");
|
|
2488
|
-
},
|
|
2488
|
+
}, k = () => {
|
|
2489
2489
|
requestAnimationFrame(() => {
|
|
2490
|
-
|
|
2490
|
+
S();
|
|
2491
2491
|
});
|
|
2492
2492
|
};
|
|
2493
2493
|
ne(() => {
|
|
2494
|
-
|
|
2494
|
+
k();
|
|
2495
2495
|
}, [a, s]);
|
|
2496
|
-
const
|
|
2496
|
+
const $ = (w) => {
|
|
2497
2497
|
a.current && (w.composedPath().includes(a.current) || m(!1));
|
|
2498
|
-
},
|
|
2498
|
+
}, W = (w) => {
|
|
2499
2499
|
n && (!a.current || !l.current || w.composedPath().includes(a.current) || w.composedPath().includes(l.current) || m(!1));
|
|
2500
2500
|
};
|
|
2501
2501
|
return ne(() => {
|
|
2502
2502
|
const w = () => {
|
|
2503
|
-
s &&
|
|
2503
|
+
s && k();
|
|
2504
2504
|
};
|
|
2505
|
-
return document.addEventListener("click",
|
|
2506
|
-
document.removeEventListener("click",
|
|
2505
|
+
return document.addEventListener("click", $), document.addEventListener("wheel", W), window.addEventListener("scroll", w), () => {
|
|
2506
|
+
document.removeEventListener("click", $), document.removeEventListener("wheel", W), window.removeEventListener("scroll", w);
|
|
2507
2507
|
};
|
|
2508
|
-
}, [s]), /* @__PURE__ */
|
|
2509
|
-
/* @__PURE__ */
|
|
2510
|
-
/* @__PURE__ */ e("p", { title: t, className: Ae.actionDropdownTitle, children:
|
|
2508
|
+
}, [s]), /* @__PURE__ */ i("div", { className: `${Ae.actionDropdownContainer} ${s ? Ae.collapsed : ""}`, children: [
|
|
2509
|
+
/* @__PURE__ */ i("div", { ref: a, className: Ae.actionDropdownContent, onClick: () => (m((w) => !w), k()), children: [
|
|
2510
|
+
/* @__PURE__ */ e("p", { title: t, className: Ae.actionDropdownTitle, children: b?.label || t }),
|
|
2511
2511
|
/* @__PURE__ */ e("div", { className: Ae.actionDropdownIcon, children: /* @__PURE__ */ e(et, { width: "10", height: "6", color: "#131314" }) })
|
|
2512
2512
|
] }),
|
|
2513
2513
|
s && /* @__PURE__ */ e("ul", { ref: l, onClick: (w) => w.stopPropagation(), className: Ae.actionDropdownList, children: o.map((w) => /* @__PURE__ */ e(
|
|
2514
2514
|
"li",
|
|
2515
2515
|
{
|
|
2516
2516
|
onClick: (d) => {
|
|
2517
|
-
d.stopPropagation(),
|
|
2517
|
+
d.stopPropagation(), v(w);
|
|
2518
2518
|
},
|
|
2519
|
-
className: `${Ae.actionDropdownItem} ${
|
|
2519
|
+
className: `${Ae.actionDropdownItem} ${b?.id === w.id ? Ae.selected : ""}`,
|
|
2520
2520
|
children: w.label
|
|
2521
2521
|
},
|
|
2522
2522
|
w.id
|
|
@@ -2526,10 +2526,10 @@ const Pi = "mc__ActionDropdown-module__actionDropdownContainer", Hi = "mc__Actio
|
|
|
2526
2526
|
yt.propKeys = ["title", "data", "onSelect"];
|
|
2527
2527
|
yt.displayName = "Action Dropdown";
|
|
2528
2528
|
yt.description = "A dropdown component for selecting actions with smart positioning and auto-close behavior.";
|
|
2529
|
-
const
|
|
2530
|
-
inlineLoadingWrapper:
|
|
2531
|
-
loading:
|
|
2532
|
-
},
|
|
2529
|
+
const Vr = "mc__InlineLoading-module__inlineLoadingWrapper", Or = "mc__InlineLoading-module__loading", Nt = {
|
|
2530
|
+
inlineLoadingWrapper: Vr,
|
|
2531
|
+
loading: Or
|
|
2532
|
+
}, Zr = ({ size: t = "16", color: o = "#DA1A1C" }) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ e(
|
|
2533
2533
|
"path",
|
|
2534
2534
|
{
|
|
2535
2535
|
fillRule: "evenodd",
|
|
@@ -2537,7 +2537,7 @@ const Vi = "mc__InlineLoading-module__inlineLoadingWrapper", Oi = "mc__InlineLoa
|
|
|
2537
2537
|
d: "M8 1C4.1 1 1 4.1 1 8C1 11.9 4.1 15 8 15C11.9 15 15 11.9 15 8C15 4.1 11.9 1 8 1ZM10.7 11.5L4.5 5.3L5.3 4.5L11.5 10.7L10.7 11.5Z",
|
|
2538
2538
|
fill: o
|
|
2539
2539
|
}
|
|
2540
|
-
) }),
|
|
2540
|
+
) }), zr = ({ color1: t = "#BCC1C2", color2: o = "#0266EF", size: n = "16" }) => /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: n, height: n, viewBox: "0 0 16 16", fill: "none", children: [
|
|
2541
2541
|
/* @__PURE__ */ e(
|
|
2542
2542
|
"path",
|
|
2543
2543
|
{
|
|
@@ -2552,7 +2552,7 @@ const Vi = "mc__InlineLoading-module__inlineLoadingWrapper", Oi = "mc__InlineLoa
|
|
|
2552
2552
|
fill: o ?? "#0266EF"
|
|
2553
2553
|
}
|
|
2554
2554
|
)
|
|
2555
|
-
] }),
|
|
2555
|
+
] }), Yr = ({ size: t = "16", color: o = "#138761" }) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: t, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ e(
|
|
2556
2556
|
"path",
|
|
2557
2557
|
{
|
|
2558
2558
|
fillRule: "evenodd",
|
|
@@ -2560,37 +2560,37 @@ const Vi = "mc__InlineLoading-module__inlineLoadingWrapper", Oi = "mc__InlineLoa
|
|
|
2560
2560
|
d: "M8 1C4.1 1 1 4.1 1 8C1 11.9 4.1 15 8 15C11.9 15 15 11.9 15 8C15 4.1 11.9 1 8 1ZM7 11L4.3 8.3L5.2 7.5L7 9.3L11 5.4L11.9 6.2L7 11Z",
|
|
2561
2561
|
fill: o
|
|
2562
2562
|
}
|
|
2563
|
-
) }), vt = ({ loading: t, success: o, error: n, msg:
|
|
2564
|
-
t?.state && /* @__PURE__ */
|
|
2565
|
-
/* @__PURE__ */ e(
|
|
2566
|
-
/* @__PURE__ */ e("span", { style:
|
|
2563
|
+
) }), vt = ({ loading: t, success: o, error: n, msg: r }) => /* @__PURE__ */ i("div", { className: `${Nt.inlineLoadingWrapper}`, children: [
|
|
2564
|
+
t?.state && /* @__PURE__ */ i("div", { className: Nt.loading, children: [
|
|
2565
|
+
/* @__PURE__ */ e(zr, { color1: t?.color1 ?? "#BCC1C2", color2: t?.color2, size: t?.size }),
|
|
2566
|
+
/* @__PURE__ */ e("span", { style: r?.style ?? {}, children: r?.text ?? "" })
|
|
2567
2567
|
] }),
|
|
2568
|
-
!t?.state && o?.state && /* @__PURE__ */
|
|
2569
|
-
/* @__PURE__ */ e(
|
|
2570
|
-
/* @__PURE__ */ e("span", { style:
|
|
2568
|
+
!t?.state && o?.state && /* @__PURE__ */ i("div", { children: [
|
|
2569
|
+
/* @__PURE__ */ e(Yr, { size: o?.size, color: o?.color }),
|
|
2570
|
+
/* @__PURE__ */ e("span", { style: r?.style ?? {}, children: r?.text ?? "" })
|
|
2571
2571
|
] }),
|
|
2572
|
-
!t?.state && n?.state && /* @__PURE__ */
|
|
2573
|
-
/* @__PURE__ */ e(
|
|
2574
|
-
/* @__PURE__ */ e("span", { style:
|
|
2572
|
+
!t?.state && n?.state && /* @__PURE__ */ i("div", { children: [
|
|
2573
|
+
/* @__PURE__ */ e(Zr, { size: n?.size, color: n?.color }),
|
|
2574
|
+
/* @__PURE__ */ e("span", { style: r?.style ?? {}, children: r?.text ?? "" })
|
|
2575
2575
|
] })
|
|
2576
2576
|
] });
|
|
2577
2577
|
vt.propKeys = ["loading", "success", "error", "msg"];
|
|
2578
2578
|
vt.displayName = "Inline Loading";
|
|
2579
2579
|
vt.description = "An inline status indicator component displaying loading, success, or error states with customizable styling.";
|
|
2580
|
-
const
|
|
2581
|
-
sliderContainer:
|
|
2582
|
-
slider:
|
|
2583
|
-
sliderProgress:
|
|
2584
|
-
thumb:
|
|
2585
|
-
thumbLeft:
|
|
2586
|
-
thumbRight:
|
|
2587
|
-
thumbSingle:
|
|
2588
|
-
tooltip:
|
|
2589
|
-
},
|
|
2590
|
-
const [t, o] = Z(), n = (
|
|
2580
|
+
const Ur = "mc__Slider-module__sliderContainer", jr = "mc__Slider-module__slider", qr = "mc__Slider-module__sliderProgress", Kr = "mc__Slider-module__thumb", Xr = "mc__Slider-module__thumbLeft", Qr = "mc__Slider-module__thumbRight", Jr = "mc__Slider-module__thumbSingle", Gr = "mc__Slider-module__tooltip", be = {
|
|
2581
|
+
sliderContainer: Ur,
|
|
2582
|
+
slider: jr,
|
|
2583
|
+
sliderProgress: qr,
|
|
2584
|
+
thumb: Kr,
|
|
2585
|
+
thumbLeft: Xr,
|
|
2586
|
+
thumbRight: Qr,
|
|
2587
|
+
thumbSingle: Jr,
|
|
2588
|
+
tooltip: Gr
|
|
2589
|
+
}, ei = () => {
|
|
2590
|
+
const [t, o] = Z(), n = (r, s) => {
|
|
2591
2591
|
t && clearTimeout(t), o(
|
|
2592
2592
|
setTimeout(() => {
|
|
2593
|
-
|
|
2593
|
+
r();
|
|
2594
2594
|
}, s ?? 500)
|
|
2595
2595
|
);
|
|
2596
2596
|
};
|
|
@@ -2601,21 +2601,21 @@ const Ui = "mc__Slider-module__sliderContainer", ji = "mc__Slider-module__slider
|
|
|
2601
2601
|
value: t,
|
|
2602
2602
|
minValue: o,
|
|
2603
2603
|
maxValue: n,
|
|
2604
|
-
min:
|
|
2604
|
+
min: r = 0,
|
|
2605
2605
|
max: s = 100,
|
|
2606
2606
|
range: m = !0,
|
|
2607
2607
|
debounceTime: a,
|
|
2608
2608
|
onChange: l,
|
|
2609
|
-
sliderContainerStyle:
|
|
2609
|
+
sliderContainerStyle: b,
|
|
2610
2610
|
sliderStyle: P,
|
|
2611
|
-
sliderProgressStyle:
|
|
2612
|
-
thumbStyle:
|
|
2613
|
-
unit:
|
|
2611
|
+
sliderProgressStyle: v,
|
|
2612
|
+
thumbStyle: S,
|
|
2613
|
+
unit: k
|
|
2614
2614
|
}) => {
|
|
2615
|
-
const
|
|
2616
|
-
minValue: o ??
|
|
2615
|
+
const $ = ae(!0), W = m || o !== void 0 && n !== void 0, [w, d] = Z({
|
|
2616
|
+
minValue: o ?? r,
|
|
2617
2617
|
maxValue: n ?? s,
|
|
2618
|
-
singleValue: t ??
|
|
2618
|
+
singleValue: t ?? r
|
|
2619
2619
|
}), [_, y] = Z({
|
|
2620
2620
|
min: !1,
|
|
2621
2621
|
max: !1,
|
|
@@ -2624,72 +2624,72 @@ const Ui = "mc__Slider-module__sliderContainer", ji = "mc__Slider-module__slider
|
|
|
2624
2624
|
min: !1,
|
|
2625
2625
|
max: !1,
|
|
2626
2626
|
single: !1
|
|
2627
|
-
}), J =
|
|
2628
|
-
const h = U.current?.getBoundingClientRect(), R = Math.min(Math.max(0, (
|
|
2629
|
-
return Math.round(R * (s -
|
|
2630
|
-
}, ee = (
|
|
2631
|
-
g.preventDefault(), V((f) => ({ ...f, [
|
|
2627
|
+
}), J = ei(), U = ae(null), O = ae(null), le = ae(null), K = ae(null), j = (L) => {
|
|
2628
|
+
const h = U.current?.getBoundingClientRect(), R = Math.min(Math.max(0, (L - h.left) / h.width), 1);
|
|
2629
|
+
return Math.round(R * (s - r) + r);
|
|
2630
|
+
}, ee = (L) => (g) => {
|
|
2631
|
+
g.preventDefault(), V((f) => ({ ...f, [L]: !0 })), y((f) => ({ ...f, [L]: !0 }));
|
|
2632
2632
|
const h = (f) => {
|
|
2633
|
-
const
|
|
2634
|
-
d((Q) =>
|
|
2633
|
+
const B = j(f.clientX);
|
|
2634
|
+
d((Q) => L === "single" ? { ...Q, singleValue: B } : L === "min" ? { ...Q, minValue: Math.min(B, Q.maxValue - 1) } : { ...Q, maxValue: Math.max(B, Q.minValue + 1) });
|
|
2635
2635
|
}, R = () => {
|
|
2636
|
-
V((f) => ({ ...f, [
|
|
2636
|
+
V((f) => ({ ...f, [L]: !1 })), y((f) => ({ ...f, [L]: !1 })), document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", R);
|
|
2637
2637
|
};
|
|
2638
2638
|
document.addEventListener("mousemove", h), document.addEventListener("mouseup", R);
|
|
2639
|
-
}, z = (
|
|
2640
|
-
const g = j(
|
|
2641
|
-
if (
|
|
2639
|
+
}, z = (L) => {
|
|
2640
|
+
const g = j(L.clientX);
|
|
2641
|
+
if (W) {
|
|
2642
2642
|
const h = Math.abs(g - w.minValue), R = Math.abs(g - w.maxValue), f = h < R ? "min" : "max";
|
|
2643
|
-
d((
|
|
2643
|
+
d((B) => f === "min" ? { ...B, minValue: Math.min(g, B.maxValue - 1) } : { ...B, maxValue: Math.max(g, B.minValue + 1) }), ee(f)(L);
|
|
2644
2644
|
} else
|
|
2645
|
-
d((h) => ({ ...h, singleValue: g })), ee("single")(
|
|
2646
|
-
}, F =
|
|
2647
|
-
left: `${(w.minValue -
|
|
2648
|
-
width: `${(w.maxValue - w.minValue) / (s -
|
|
2645
|
+
d((h) => ({ ...h, singleValue: g })), ee("single")(L);
|
|
2646
|
+
}, F = W ? {
|
|
2647
|
+
left: `${(w.minValue - r) / (s - r) * 100}%`,
|
|
2648
|
+
width: `${(w.maxValue - w.minValue) / (s - r) * 100}%`
|
|
2649
2649
|
} : {
|
|
2650
2650
|
left: "0%",
|
|
2651
|
-
width: `${(w.singleValue -
|
|
2652
|
-
}, Y = (
|
|
2653
|
-
const g =
|
|
2651
|
+
width: `${(w.singleValue - r) / (s - r) * 100}%`
|
|
2652
|
+
}, Y = (L) => {
|
|
2653
|
+
const g = L.current;
|
|
2654
2654
|
if (!g) return;
|
|
2655
2655
|
const h = g.getBoundingClientRect(), R = window.innerWidth, f = h.width;
|
|
2656
2656
|
g.style.transform = "translateX(-50%)";
|
|
2657
|
-
let
|
|
2657
|
+
let B = "50%";
|
|
2658
2658
|
if (h.right > R - 10) {
|
|
2659
2659
|
const Q = h.right - R + 10;
|
|
2660
2660
|
g.style.transform = `translateX(calc(-50% - ${Q}px))`;
|
|
2661
2661
|
const de = f - 10;
|
|
2662
|
-
|
|
2662
|
+
B = `${Math.min(f / 2 + Q, de)}px`;
|
|
2663
2663
|
}
|
|
2664
2664
|
if (h.left < 10) {
|
|
2665
2665
|
const Q = 10 - h.left;
|
|
2666
|
-
g.style.transform = `translateX(calc(-50% + ${Q}px))`,
|
|
2666
|
+
g.style.transform = `translateX(calc(-50% + ${Q}px))`, B = `${Math.max(f / 2 - Q, 10)}px`;
|
|
2667
2667
|
}
|
|
2668
|
-
g.style.setProperty("--arrow-position",
|
|
2668
|
+
g.style.setProperty("--arrow-position", B);
|
|
2669
2669
|
};
|
|
2670
2670
|
return ne(() => {
|
|
2671
2671
|
(_.min || p.min) && Y(O), (_.max || p.max) && Y(le), (_.single || p.single) && Y(K);
|
|
2672
2672
|
}, [w, _, p]), ne(() => {
|
|
2673
|
-
if (
|
|
2674
|
-
|
|
2673
|
+
if ($.current) {
|
|
2674
|
+
$.current = !1;
|
|
2675
2675
|
return;
|
|
2676
2676
|
}
|
|
2677
|
-
l && typeof l == "function" && J(
|
|
2678
|
-
}, [w]), /* @__PURE__ */ e("div", { style:
|
|
2679
|
-
/* @__PURE__ */ e("div", { className: be.sliderProgress, style: { ...F, ...
|
|
2680
|
-
|
|
2677
|
+
l && typeof l == "function" && J(W ? () => l([w.minValue, w.maxValue]) : () => l(w.singleValue), a ?? 100);
|
|
2678
|
+
}, [w]), /* @__PURE__ */ e("div", { style: b ?? {}, className: `${be.sliderContainer}`, children: /* @__PURE__ */ i("div", { ref: U, style: P ?? {}, className: be.slider, onMouseDown: z, children: [
|
|
2679
|
+
/* @__PURE__ */ e("div", { className: be.sliderProgress, style: { ...F, ...v ?? {} } }),
|
|
2680
|
+
W ? /* @__PURE__ */ i(ot, { children: [
|
|
2681
2681
|
/* @__PURE__ */ e(
|
|
2682
2682
|
"div",
|
|
2683
2683
|
{
|
|
2684
2684
|
className: `${be.thumb} ${be.thumbLeft}`,
|
|
2685
2685
|
style: {
|
|
2686
|
-
left: `${(w.minValue -
|
|
2687
|
-
...
|
|
2686
|
+
left: `${(w.minValue - r) / (s - r) * 100}%`,
|
|
2687
|
+
...S ?? {}
|
|
2688
2688
|
},
|
|
2689
|
-
onMouseEnter: () => !p.min && y((
|
|
2690
|
-
onMouseLeave: () => !p.min && y((
|
|
2689
|
+
onMouseEnter: () => !p.min && y((L) => ({ ...L, min: !0 })),
|
|
2690
|
+
onMouseLeave: () => !p.min && y((L) => ({ ...L, min: !1 })),
|
|
2691
2691
|
onMouseDown: ee("min"),
|
|
2692
|
-
children: (_.min || p.min) && /* @__PURE__ */
|
|
2692
|
+
children: (_.min || p.min) && /* @__PURE__ */ i("div", { ref: O, className: be.tooltip, children: [
|
|
2693
2693
|
w.minValue,
|
|
2694
2694
|
"%"
|
|
2695
2695
|
] })
|
|
@@ -2700,13 +2700,13 @@ const Ui = "mc__Slider-module__sliderContainer", ji = "mc__Slider-module__slider
|
|
|
2700
2700
|
{
|
|
2701
2701
|
className: `${be.thumb} ${be.thumbRight}`,
|
|
2702
2702
|
style: {
|
|
2703
|
-
left: `${(w.maxValue -
|
|
2704
|
-
...
|
|
2703
|
+
left: `${(w.maxValue - r) / (s - r) * 100}%`,
|
|
2704
|
+
...S ?? {}
|
|
2705
2705
|
},
|
|
2706
|
-
onMouseEnter: () => !p.max && y((
|
|
2707
|
-
onMouseLeave: () => !p.max && y((
|
|
2706
|
+
onMouseEnter: () => !p.max && y((L) => ({ ...L, max: !0 })),
|
|
2707
|
+
onMouseLeave: () => !p.max && y((L) => ({ ...L, max: !1 })),
|
|
2708
2708
|
onMouseDown: ee("max"),
|
|
2709
|
-
children: (_.max || p.max) && /* @__PURE__ */
|
|
2709
|
+
children: (_.max || p.max) && /* @__PURE__ */ i("div", { ref: le, className: be.tooltip, children: [
|
|
2710
2710
|
w.maxValue,
|
|
2711
2711
|
"%"
|
|
2712
2712
|
] })
|
|
@@ -2717,16 +2717,16 @@ const Ui = "mc__Slider-module__sliderContainer", ji = "mc__Slider-module__slider
|
|
|
2717
2717
|
{
|
|
2718
2718
|
className: `${be.thumb} ${be.thumbSingle}`,
|
|
2719
2719
|
style: {
|
|
2720
|
-
left: `${(w.singleValue -
|
|
2721
|
-
...
|
|
2720
|
+
left: `${(w.singleValue - r) / (s - r) * 100}%`,
|
|
2721
|
+
...S ?? {}
|
|
2722
2722
|
},
|
|
2723
|
-
onMouseEnter: () => !p.single && y((
|
|
2724
|
-
onMouseLeave: () => !p.single && y((
|
|
2723
|
+
onMouseEnter: () => !p.single && y((L) => ({ ...L, single: !0 })),
|
|
2724
|
+
onMouseLeave: () => !p.single && y((L) => ({ ...L, single: !1 })),
|
|
2725
2725
|
onMouseDown: ee("single"),
|
|
2726
|
-
children: (_.single || p.single) && /* @__PURE__ */
|
|
2726
|
+
children: (_.single || p.single) && /* @__PURE__ */ i("div", { ref: K, className: be.tooltip, children: [
|
|
2727
2727
|
w.singleValue,
|
|
2728
2728
|
" ",
|
|
2729
|
-
|
|
2729
|
+
k
|
|
2730
2730
|
] })
|
|
2731
2731
|
}
|
|
2732
2732
|
)
|
|
@@ -2749,36 +2749,36 @@ bt.propKeys = [
|
|
|
2749
2749
|
];
|
|
2750
2750
|
bt.displayName = "Slider";
|
|
2751
2751
|
bt.description = "A customizable slider component supporting both single value and range selection with smooth interactions and smart tooltip positioning.";
|
|
2752
|
-
const
|
|
2753
|
-
filterWithTagsContainer:
|
|
2754
|
-
filterWithTagsButton:
|
|
2755
|
-
filterWithTagsPopupTitle:
|
|
2756
|
-
filterWithTagsPopupContent:
|
|
2757
|
-
filterWithTagsPopupContentDrawer:
|
|
2758
|
-
filterWithTagsPopupFooter:
|
|
2759
|
-
},
|
|
2760
|
-
filterContent:
|
|
2761
|
-
filterContentOptionHeader:
|
|
2762
|
-
filterContentOptionTitle:
|
|
2763
|
-
filterContentOption:
|
|
2764
|
-
filterContentOptionLast:
|
|
2765
|
-
},
|
|
2752
|
+
const ti = "mc__FilterWithTags-module__filterWithTagsContainer", oi = "mc__FilterWithTags-module__filterWithTagsButton", ni = "mc__FilterWithTags-module__filterWithTagsPopupTitle", li = "mc__FilterWithTags-module__filterWithTagsPopupContent", ri = "mc__FilterWithTags-module__filterWithTagsPopupContentDrawer", ii = "mc__FilterWithTags-module__filterWithTagsPopupFooter", Ve = {
|
|
2753
|
+
filterWithTagsContainer: ti,
|
|
2754
|
+
filterWithTagsButton: oi,
|
|
2755
|
+
filterWithTagsPopupTitle: ni,
|
|
2756
|
+
filterWithTagsPopupContent: li,
|
|
2757
|
+
filterWithTagsPopupContentDrawer: ri,
|
|
2758
|
+
filterWithTagsPopupFooter: ii
|
|
2759
|
+
}, si = "mc__FilterContent-module__filterContent", ai = "mc__FilterContent-module__filterContentOptionHeader", ci = "mc__FilterContent-module__filterContentOptionTitle", di = "mc__FilterContent-module__filterContentOption", ui = "mc__FilterContent-module__filterContentOptionLast", Oe = {
|
|
2760
|
+
filterContent: si,
|
|
2761
|
+
filterContentOptionHeader: ai,
|
|
2762
|
+
filterContentOptionTitle: ci,
|
|
2763
|
+
filterContentOption: di,
|
|
2764
|
+
filterContentOptionLast: ui
|
|
2765
|
+
}, pi = ({ filterOptions: t }) => /* @__PURE__ */ e("div", { className: Oe.filterContent, children: t?.map((o, n) => /* @__PURE__ */ i("div", { className: `${Oe.filterContentOption} ${n === t.length - 1 ? Oe.filterContentOptionLast : ""}`, children: [
|
|
2766
2766
|
/* @__PURE__ */ e("div", { className: Oe.filterContentOptionHeader, children: /* @__PURE__ */ e("h3", { className: Oe.filterContentOptionTitle, children: o.title }) }),
|
|
2767
|
-
/* @__PURE__ */ e("div", { style: o?.style ?? {}, className: Oe.filterContentOptionBody, children: o.options?.map((
|
|
2767
|
+
/* @__PURE__ */ e("div", { style: o?.style ?? {}, className: Oe.filterContentOptionBody, children: o.options?.map((r, s) => /* @__PURE__ */ e("div", { style: r.style ?? {}, className: Oe.filterContentOptionBodyItem, children: r.component && /* @__PURE__ */ e(r.component, { ...r.props }) }, s)) })
|
|
2768
2768
|
] }, n)) }), kt = ({
|
|
2769
2769
|
filterOptions: t,
|
|
2770
2770
|
customOpenPopup: o = !0,
|
|
2771
2771
|
onApply: n,
|
|
2772
|
-
onClearAll:
|
|
2772
|
+
onClearAll: r,
|
|
2773
2773
|
mainButtonProps: s,
|
|
2774
2774
|
popupProps: m,
|
|
2775
2775
|
cancelButtonProps: a,
|
|
2776
2776
|
applyButtonProps: l
|
|
2777
2777
|
}) => {
|
|
2778
|
-
const [
|
|
2778
|
+
const [b, P] = Z(!1), v = () => {
|
|
2779
2779
|
o && P(!0);
|
|
2780
2780
|
};
|
|
2781
|
-
return /* @__PURE__ */
|
|
2781
|
+
return /* @__PURE__ */ i("div", { className: Ve.filterWithTagsContainer, children: [
|
|
2782
2782
|
/* @__PURE__ */ e("div", { className: Ve.filterWithTagsContent, children: /* @__PURE__ */ e("div", { className: Ve.filterWithTagsButton, children: /* @__PURE__ */ e(
|
|
2783
2783
|
Te,
|
|
2784
2784
|
{
|
|
@@ -2786,15 +2786,15 @@ const tr = "mc__FilterWithTags-module__filterWithTagsContainer", or = "mc__Filte
|
|
|
2786
2786
|
buttonStyle: { minWidth: "initial" },
|
|
2787
2787
|
buttonType: "tertiaryV3",
|
|
2788
2788
|
buttonSlot: /* @__PURE__ */ e(Jt, {}),
|
|
2789
|
-
onClick:
|
|
2789
|
+
onClick: v,
|
|
2790
2790
|
...s
|
|
2791
2791
|
}
|
|
2792
2792
|
) }) }),
|
|
2793
|
-
/* @__PURE__ */
|
|
2793
|
+
/* @__PURE__ */ i(it, { ...m, popupContainerStyle: { width: "725px" }, onClose: () => P(!1), visible: b, children: [
|
|
2794
2794
|
/* @__PURE__ */ e("h2", { className: Ve.filterWithTagsPopupTitle, children: "Filter" }),
|
|
2795
|
-
/* @__PURE__ */ e("div", { className: `${Ve.filterWithTagsPopupContent} ${m?.mode === "drawer" ? Ve.filterWithTagsPopupContentDrawer : ""}`, children: /* @__PURE__ */ e(
|
|
2796
|
-
/* @__PURE__ */
|
|
2797
|
-
/* @__PURE__ */ e(Te, { buttonStyle: { width: "130px" }, ...a, label: "Clear", buttonType: "tertiaryV2", onClick:
|
|
2795
|
+
/* @__PURE__ */ e("div", { className: `${Ve.filterWithTagsPopupContent} ${m?.mode === "drawer" ? Ve.filterWithTagsPopupContentDrawer : ""}`, children: /* @__PURE__ */ e(pi, { filterOptions: t }) }),
|
|
2796
|
+
/* @__PURE__ */ i("div", { className: Ve.filterWithTagsPopupFooter, children: [
|
|
2797
|
+
/* @__PURE__ */ e(Te, { buttonStyle: { width: "130px" }, ...a, label: "Clear", buttonType: "tertiaryV2", onClick: r }),
|
|
2798
2798
|
/* @__PURE__ */ e(Te, { buttonStyle: { width: "130px" }, ...l, label: "Show", onClick: n })
|
|
2799
2799
|
] })
|
|
2800
2800
|
] })
|
|
@@ -2803,124 +2803,124 @@ const tr = "mc__FilterWithTags-module__filterWithTagsContainer", or = "mc__Filte
|
|
|
2803
2803
|
kt.propKeys = ["filterOptions", "customOpenPopup", "onApply", "onClearAll", "mainButtonProps", "popupProps"];
|
|
2804
2804
|
kt.displayName = "Filter With Tags";
|
|
2805
2805
|
kt.description = "A component that allows you to filter data with tags";
|
|
2806
|
-
const
|
|
2807
|
-
tableContainer:
|
|
2808
|
-
tableWrapper:
|
|
2809
|
-
resizing:
|
|
2810
|
-
table:
|
|
2811
|
-
headerContent:
|
|
2812
|
-
resizeHandle:
|
|
2813
|
-
clickable:
|
|
2814
|
-
empty:
|
|
2815
|
-
checkboxHeader:
|
|
2816
|
-
checkboxCell:
|
|
2817
|
-
tableHeader:
|
|
2818
|
-
visible:
|
|
2819
|
-
tableHeaderLeftContent:
|
|
2820
|
-
actionButton:
|
|
2821
|
-
tableHeaderSeparator:
|
|
2822
|
-
paginationFooter:
|
|
2823
|
-
pagination: $
|
|
2824
|
-
paginationButton:
|
|
2825
|
-
paginationInfo:
|
|
2826
|
-
paginationRight:
|
|
2827
|
-
paginationSelectLabel:
|
|
2828
|
-
divider:
|
|
2829
|
-
pageNumber:
|
|
2830
|
-
active:
|
|
2831
|
-
ellipsis:
|
|
2832
|
-
actionsHeader:
|
|
2833
|
-
actionsCell:
|
|
2834
|
-
actionsContainer:
|
|
2835
|
-
actionsTrigger:
|
|
2836
|
-
actionsMenu:
|
|
2837
|
-
actionsMenuFixed:
|
|
2838
|
-
actionItem:
|
|
2839
|
-
gridHeader:
|
|
2840
|
-
columnConfiguration:
|
|
2841
|
-
columnConfigurationIcon:
|
|
2842
|
-
columnConfigurationDropdown:
|
|
2843
|
-
dragging:
|
|
2844
|
-
dragOver:
|
|
2845
|
-
columnConfigurationItemIcon:
|
|
2846
|
-
rowsPerPageDropdown:
|
|
2847
|
-
rowsPerPageList:
|
|
2806
|
+
const mi = "mc__Table-module__tableContainer", hi = "mc__Table-module__tableWrapper", fi = "mc__Table-module__resizing", _i = "mc__Table-module__table", Ci = "mc__Table-module__headerContent", gi = "mc__Table-module__resizeHandle", wi = "mc__Table-module__clickable", yi = "mc__Table-module__empty", vi = "mc__Table-module__checkboxHeader", bi = "mc__Table-module__checkboxCell", ki = "mc__Table-module__tableHeader", Li = "mc__Table-module__visible", xi = "mc__Table-module__tableHeaderLeftContent", Ti = "mc__Table-module__actionButton", Ii = "mc__Table-module__tableHeaderSeparator", Ni = "mc__Table-module__paginationFooter", $i = "mc__Table-module__pagination", Mi = "mc__Table-module__paginationButton", Di = "mc__Table-module__paginationInfo", Si = "mc__Table-module__paginationRight", Pi = "mc__Table-module__paginationSelectLabel", Hi = "mc__Table-module__divider", Ri = "mc__Table-module__pageNumber", Ai = "mc__Table-module__active", Wi = "mc__Table-module__ellipsis", Bi = "mc__Table-module__actionsHeader", Ei = "mc__Table-module__actionsCell", Fi = "mc__Table-module__actionsContainer", Vi = "mc__Table-module__actionsTrigger", Oi = "mc__Table-module__actionsMenu", Zi = "mc__Table-module__actionsMenuFixed", zi = "mc__Table-module__actionItem", Yi = "mc__Table-module__gridHeader", Ui = "mc__Table-module__columnConfiguration", ji = "mc__Table-module__columnConfigurationIcon", qi = "mc__Table-module__columnConfigurationDropdown", Ki = "mc__Table-module__dragging", Xi = "mc__Table-module__dragOver", Qi = "mc__Table-module__columnConfigurationItemIcon", Ji = "mc__Table-module__rowsPerPageDropdown", Gi = "mc__Table-module__rowsPerPageList", es = "mc__Table-module__openDownward", ts = "mc__Table-module__openUpward", os = "mc__Table-module__rowsPerPageOption", ns = "mc__Table-module__selected", H = {
|
|
2807
|
+
tableContainer: mi,
|
|
2808
|
+
tableWrapper: hi,
|
|
2809
|
+
resizing: fi,
|
|
2810
|
+
table: _i,
|
|
2811
|
+
headerContent: Ci,
|
|
2812
|
+
resizeHandle: gi,
|
|
2813
|
+
clickable: wi,
|
|
2814
|
+
empty: yi,
|
|
2815
|
+
checkboxHeader: vi,
|
|
2816
|
+
checkboxCell: bi,
|
|
2817
|
+
tableHeader: ki,
|
|
2818
|
+
visible: Li,
|
|
2819
|
+
tableHeaderLeftContent: xi,
|
|
2820
|
+
actionButton: Ti,
|
|
2821
|
+
tableHeaderSeparator: Ii,
|
|
2822
|
+
paginationFooter: Ni,
|
|
2823
|
+
pagination: $i,
|
|
2824
|
+
paginationButton: Mi,
|
|
2825
|
+
paginationInfo: Di,
|
|
2826
|
+
paginationRight: Si,
|
|
2827
|
+
paginationSelectLabel: Pi,
|
|
2828
|
+
divider: Hi,
|
|
2829
|
+
pageNumber: Ri,
|
|
2830
|
+
active: Ai,
|
|
2831
|
+
ellipsis: Wi,
|
|
2832
|
+
actionsHeader: Bi,
|
|
2833
|
+
actionsCell: Ei,
|
|
2834
|
+
actionsContainer: Fi,
|
|
2835
|
+
actionsTrigger: Vi,
|
|
2836
|
+
actionsMenu: Oi,
|
|
2837
|
+
actionsMenuFixed: Zi,
|
|
2838
|
+
actionItem: zi,
|
|
2839
|
+
gridHeader: Yi,
|
|
2840
|
+
columnConfiguration: Ui,
|
|
2841
|
+
columnConfigurationIcon: ji,
|
|
2842
|
+
columnConfigurationDropdown: qi,
|
|
2843
|
+
dragging: Ki,
|
|
2844
|
+
dragOver: Xi,
|
|
2845
|
+
columnConfigurationItemIcon: Qi,
|
|
2846
|
+
rowsPerPageDropdown: Ji,
|
|
2847
|
+
rowsPerPageList: Gi,
|
|
2848
2848
|
openDownward: es,
|
|
2849
2849
|
openUpward: ts,
|
|
2850
2850
|
rowsPerPageOption: os,
|
|
2851
2851
|
selected: ns
|
|
2852
2852
|
};
|
|
2853
2853
|
function Rt(t) {
|
|
2854
|
-
var o, n,
|
|
2855
|
-
if (typeof t == "string" || typeof t == "number")
|
|
2854
|
+
var o, n, r = "";
|
|
2855
|
+
if (typeof t == "string" || typeof t == "number") r += t;
|
|
2856
2856
|
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
2857
2857
|
var s = t.length;
|
|
2858
|
-
for (o = 0; o < s; o++) t[o] && (n = Rt(t[o])) && (
|
|
2859
|
-
} else for (n in t) t[n] && (
|
|
2860
|
-
return
|
|
2858
|
+
for (o = 0; o < s; o++) t[o] && (n = Rt(t[o])) && (r && (r += " "), r += n);
|
|
2859
|
+
} else for (n in t) t[n] && (r && (r += " "), r += n);
|
|
2860
|
+
return r;
|
|
2861
2861
|
}
|
|
2862
2862
|
function Ze() {
|
|
2863
|
-
for (var t, o, n = 0,
|
|
2864
|
-
return
|
|
2863
|
+
for (var t, o, n = 0, r = "", s = arguments.length; n < s; n++) (t = arguments[n]) && (o = Rt(t)) && (r && (r += " "), r += o);
|
|
2864
|
+
return r;
|
|
2865
2865
|
}
|
|
2866
2866
|
const ls = (t, o, n = {}) => {
|
|
2867
|
-
const [
|
|
2867
|
+
const [r, s] = Z(() => {
|
|
2868
2868
|
const d = {};
|
|
2869
2869
|
return o.forEach((_) => {
|
|
2870
2870
|
_.key && _.customWidth && (d[_.key] = typeof _.customWidth == "number" ? _.customWidth : parseInt(_.customWidth.toString(), 10));
|
|
2871
2871
|
}), d;
|
|
2872
|
-
}), [m, a] = Z(!1), [l,
|
|
2872
|
+
}), [m, a] = Z(!1), [l, b] = Z(null), [P, v] = Z(0), [S, k] = Z(0), $ = nt(
|
|
2873
2873
|
(d, _) => {
|
|
2874
2874
|
console.log("Resize start for column:", _), d.preventDefault(), d.stopPropagation();
|
|
2875
|
-
const y = d.target.closest("th"), p = y ? y.offsetWidth :
|
|
2876
|
-
a(!0),
|
|
2875
|
+
const y = d.target.closest("th"), p = y ? y.offsetWidth : r[_];
|
|
2876
|
+
a(!0), b(_), v(d.clientX), k(p || 0);
|
|
2877
2877
|
},
|
|
2878
|
-
[
|
|
2879
|
-
),
|
|
2878
|
+
[r]
|
|
2879
|
+
), W = nt(
|
|
2880
2880
|
(d) => {
|
|
2881
2881
|
if (!m || !l) return;
|
|
2882
2882
|
d.preventDefault();
|
|
2883
|
-
const _ = d.clientX - P, y = Math.max(50,
|
|
2883
|
+
const _ = d.clientX - P, y = Math.max(50, S + _);
|
|
2884
2884
|
console.log("Resizing column:", l, "new width:", y), s((p) => ({
|
|
2885
2885
|
...p,
|
|
2886
2886
|
[l]: y
|
|
2887
2887
|
}));
|
|
2888
2888
|
},
|
|
2889
|
-
[m, l, P,
|
|
2890
|
-
), w =
|
|
2891
|
-
console.log("Resize end"), a(!1),
|
|
2889
|
+
[m, l, P, S]
|
|
2890
|
+
), w = nt(() => {
|
|
2891
|
+
console.log("Resize end"), a(!1), b(null);
|
|
2892
2892
|
}, []);
|
|
2893
2893
|
return ne(() => {
|
|
2894
2894
|
if (m)
|
|
2895
|
-
return document.addEventListener("mousemove",
|
|
2896
|
-
document.removeEventListener("mousemove",
|
|
2895
|
+
return document.addEventListener("mousemove", W), document.addEventListener("mouseup", w), () => {
|
|
2896
|
+
document.removeEventListener("mousemove", W), document.removeEventListener("mouseup", w);
|
|
2897
2897
|
};
|
|
2898
|
-
}, [m,
|
|
2899
|
-
columnWidths:
|
|
2898
|
+
}, [m, W, w]), {
|
|
2899
|
+
columnWidths: r,
|
|
2900
2900
|
isResizing: m,
|
|
2901
2901
|
resizeColumn: l,
|
|
2902
|
-
handleResizeStart:
|
|
2902
|
+
handleResizeStart: $
|
|
2903
2903
|
};
|
|
2904
2904
|
};
|
|
2905
|
-
function
|
|
2906
|
-
const [
|
|
2905
|
+
function rs({ currentValue: t, options: o, onChange: n }) {
|
|
2906
|
+
const [r, s] = Z(!1), [m, a] = Z(!1), l = ae(null), b = ae(null);
|
|
2907
2907
|
ne(() => {
|
|
2908
|
-
if (
|
|
2909
|
-
const
|
|
2910
|
-
a(
|
|
2908
|
+
if (r && l.current && b.current) {
|
|
2909
|
+
const v = l.current.getBoundingClientRect(), S = b.current.offsetHeight, $ = window.innerHeight - v.bottom, W = v.top;
|
|
2910
|
+
a($ < S && W >= S);
|
|
2911
2911
|
}
|
|
2912
|
-
}, [
|
|
2913
|
-
const
|
|
2914
|
-
l.current && !l.current.contains(
|
|
2912
|
+
}, [r]), ne(() => {
|
|
2913
|
+
const v = (S) => {
|
|
2914
|
+
l.current && !l.current.contains(S.target) && s(!1);
|
|
2915
2915
|
};
|
|
2916
|
-
return document.addEventListener("mousedown",
|
|
2917
|
-
document.removeEventListener("mousedown",
|
|
2916
|
+
return document.addEventListener("mousedown", v), () => {
|
|
2917
|
+
document.removeEventListener("mousedown", v);
|
|
2918
2918
|
};
|
|
2919
2919
|
}, []);
|
|
2920
|
-
const P = (
|
|
2921
|
-
n(
|
|
2920
|
+
const P = (v) => {
|
|
2921
|
+
n(v), s(!1);
|
|
2922
2922
|
};
|
|
2923
|
-
return /* @__PURE__ */
|
|
2923
|
+
return /* @__PURE__ */ i("div", { ref: l, className: H.rowsPerPageDropdown, children: [
|
|
2924
2924
|
/* @__PURE__ */ e(
|
|
2925
2925
|
Te,
|
|
2926
2926
|
{
|
|
@@ -2935,26 +2935,26 @@ function is({ currentValue: t, options: o, onChange: n }) {
|
|
|
2935
2935
|
alignItems: "center",
|
|
2936
2936
|
justifyContent: "center",
|
|
2937
2937
|
padding: "2px",
|
|
2938
|
-
transform:
|
|
2938
|
+
transform: r ? "rotate(180deg)" : "rotate(0deg)",
|
|
2939
2939
|
transition: "transform 0.2s ease-in-out"
|
|
2940
2940
|
},
|
|
2941
2941
|
children: /* @__PURE__ */ e(et, {})
|
|
2942
2942
|
}
|
|
2943
2943
|
),
|
|
2944
2944
|
label: t.toString(),
|
|
2945
|
-
onClick: () => s(!
|
|
2945
|
+
onClick: () => s(!r)
|
|
2946
2946
|
}
|
|
2947
2947
|
),
|
|
2948
|
-
|
|
2948
|
+
r && /* @__PURE__ */ e("ul", { ref: b, className: `${H.rowsPerPageList} ${m ? H.openUpward : H.openDownward}`, role: "listbox", children: o.map((v) => /* @__PURE__ */ e(
|
|
2949
2949
|
"li",
|
|
2950
2950
|
{
|
|
2951
|
-
className: `${H.rowsPerPageOption} ${
|
|
2952
|
-
onClick: () => P(
|
|
2951
|
+
className: `${H.rowsPerPageOption} ${v === t ? H.selected : ""}`,
|
|
2952
|
+
onClick: () => P(v),
|
|
2953
2953
|
role: "option",
|
|
2954
|
-
"aria-selected":
|
|
2955
|
-
children:
|
|
2954
|
+
"aria-selected": v === t,
|
|
2955
|
+
children: v
|
|
2956
2956
|
},
|
|
2957
|
-
|
|
2957
|
+
v
|
|
2958
2958
|
)) })
|
|
2959
2959
|
] });
|
|
2960
2960
|
}
|
|
@@ -2962,18 +2962,18 @@ const Lt = ({
|
|
|
2962
2962
|
uniqueKey: t = "id",
|
|
2963
2963
|
columns: o = [],
|
|
2964
2964
|
data: n = [],
|
|
2965
|
-
onRowClick:
|
|
2965
|
+
onRowClick: r,
|
|
2966
2966
|
onHeaderClick: s,
|
|
2967
2967
|
withSortIcons: m = !1,
|
|
2968
2968
|
sort: a = [],
|
|
2969
2969
|
selectedRows: l = [],
|
|
2970
|
-
onSelectionChange:
|
|
2970
|
+
onSelectionChange: b,
|
|
2971
2971
|
withSelectAll: P = !1,
|
|
2972
|
-
actionButtonText:
|
|
2973
|
-
actionButtonIcon:
|
|
2974
|
-
onActionButtonClick:
|
|
2975
|
-
actionButtons:
|
|
2976
|
-
withColumnConfiguration:
|
|
2972
|
+
actionButtonText: v,
|
|
2973
|
+
actionButtonIcon: S,
|
|
2974
|
+
onActionButtonClick: k,
|
|
2975
|
+
actionButtons: $,
|
|
2976
|
+
withColumnConfiguration: W = !1,
|
|
2977
2977
|
headerSlot: w,
|
|
2978
2978
|
onColumnOrderChange: d,
|
|
2979
2979
|
onColumnVisibilityChange: _,
|
|
@@ -2993,14 +2993,14 @@ const Lt = ({
|
|
|
2993
2993
|
startItem: F = 1,
|
|
2994
2994
|
endItem: Y = 100,
|
|
2995
2995
|
// Row actions props
|
|
2996
|
-
onRowEdit:
|
|
2996
|
+
onRowEdit: L,
|
|
2997
2997
|
onRowDelete: g,
|
|
2998
2998
|
rowActions: h = []
|
|
2999
2999
|
}) => {
|
|
3000
|
-
const { columnWidths: R, isResizing: f, resizeColumn:
|
|
3000
|
+
const { columnWidths: R, isResizing: f, resizeColumn: B, handleResizeStart: Q } = ls(
|
|
3001
3001
|
n,
|
|
3002
3002
|
o.map((c) => ({ ...c, customWidth: c.customWidth }))
|
|
3003
|
-
), de = ae(null), [
|
|
3003
|
+
), de = ae(null), [re, me] = Z(null), [ie, E] = Z(null), se = ae({}), ue = ae(null), G = ae(null), [_e, A] = Z(!1), [C, M] = Z(null), [T, te] = Z(null), [oe, we] = Z(o);
|
|
3004
3004
|
ne(() => {
|
|
3005
3005
|
const c = o.map((I) => ({
|
|
3006
3006
|
...I,
|
|
@@ -3011,50 +3011,50 @@ const Lt = ({
|
|
|
3011
3011
|
we(c);
|
|
3012
3012
|
}, [o]);
|
|
3013
3013
|
const fe = (c, I) => {
|
|
3014
|
-
|
|
3014
|
+
M(I), c.dataTransfer.effectAllowed = "move", c.dataTransfer.setData("text/html", c.currentTarget.outerHTML);
|
|
3015
3015
|
}, ge = (c, I) => {
|
|
3016
3016
|
c.preventDefault(), c.dataTransfer.dropEffect = "move", I !== C && te(I);
|
|
3017
3017
|
}, Me = () => {
|
|
3018
3018
|
te(null);
|
|
3019
3019
|
}, He = (c, I) => {
|
|
3020
3020
|
if (c.preventDefault(), C === null || C === I) {
|
|
3021
|
-
|
|
3021
|
+
M(null), te(null);
|
|
3022
3022
|
return;
|
|
3023
3023
|
}
|
|
3024
3024
|
const N = [...oe], he = N[C];
|
|
3025
3025
|
N.splice(C, 1);
|
|
3026
3026
|
const Ne = C < I ? I - 1 : I;
|
|
3027
|
-
N.splice(Ne, 0, he), we(N),
|
|
3027
|
+
N.splice(Ne, 0, he), we(N), M(null), te(null), d?.(N);
|
|
3028
3028
|
}, De = () => {
|
|
3029
|
-
|
|
3029
|
+
M(null), te(null);
|
|
3030
3030
|
}, Re = (c) => {
|
|
3031
3031
|
const I = oe.map((N) => N.key === c.key ? { ...N, visible: !N.visible } : N);
|
|
3032
3032
|
we(I), _?.(I);
|
|
3033
|
-
}, Ie = oe.filter((c) => c.visible),
|
|
3033
|
+
}, Ie = oe.filter((c) => c.visible), Be = (c) => {
|
|
3034
3034
|
const I = n.map((N) => N[t]);
|
|
3035
3035
|
if (c) {
|
|
3036
3036
|
const N = [.../* @__PURE__ */ new Set([...l, ...I])];
|
|
3037
|
-
|
|
3037
|
+
b?.(N);
|
|
3038
3038
|
} else {
|
|
3039
3039
|
const N = l.filter((he) => !I.includes(he));
|
|
3040
|
-
|
|
3040
|
+
b?.(N);
|
|
3041
3041
|
}
|
|
3042
3042
|
}, Ee = (c, I, N = null) => {
|
|
3043
|
-
|
|
3043
|
+
b?.(I ? [...l, c] : l.filter((he) => he !== c), N);
|
|
3044
3044
|
}, Se = n.map((c) => c[t]), Xe = n.length > 0 && Se.every((c) => l.includes(c)), tt = Se.some((c) => l.includes(c)) && !Xe, u = (c, I) => {
|
|
3045
|
-
|
|
3045
|
+
L?.(c, I);
|
|
3046
3046
|
}, x = (c, I) => {
|
|
3047
3047
|
g?.(c, I);
|
|
3048
3048
|
}, X = (c) => {
|
|
3049
3049
|
const I = se.current[c];
|
|
3050
3050
|
if (!I) return null;
|
|
3051
|
-
const N = I.getBoundingClientRect(), he = window.innerHeight, Ne = window.innerWidth, $e = 120,
|
|
3052
|
-
let Qe = N.right -
|
|
3053
|
-
Qe < 0 && (Qe = N.left), Qe +
|
|
3054
|
-
const At = he - N.bottom,
|
|
3051
|
+
const N = I.getBoundingClientRect(), he = window.innerHeight, Ne = window.innerWidth, $e = 120, st = 120;
|
|
3052
|
+
let Qe = N.right - st - 50;
|
|
3053
|
+
Qe < 0 && (Qe = N.left), Qe + st > Ne && (Qe = Ne - st - 10);
|
|
3054
|
+
const At = he - N.bottom, Wt = N.top, Tt = At < $e && Wt >= $e;
|
|
3055
3055
|
return { top: Tt ? N.top - $e + 8 : N.bottom + 4, left: Qe, shouldOpenUpward: Tt };
|
|
3056
3056
|
}, Pe = (c, I) => {
|
|
3057
|
-
if (c.stopPropagation(),
|
|
3057
|
+
if (c.stopPropagation(), re === I)
|
|
3058
3058
|
me(null), E(null);
|
|
3059
3059
|
else {
|
|
3060
3060
|
me(I);
|
|
@@ -3066,32 +3066,32 @@ const Lt = ({
|
|
|
3066
3066
|
const c = (he) => {
|
|
3067
3067
|
(!he.target || !he.target.closest(`.${H.actionsCell}`)) && (me(null), E(null));
|
|
3068
3068
|
}, I = () => {
|
|
3069
|
-
if (
|
|
3070
|
-
const he = X(
|
|
3069
|
+
if (re !== null) {
|
|
3070
|
+
const he = X(re);
|
|
3071
3071
|
E(he);
|
|
3072
3072
|
}
|
|
3073
3073
|
}, N = () => {
|
|
3074
|
-
if (
|
|
3075
|
-
const he = X(
|
|
3074
|
+
if (re !== null) {
|
|
3075
|
+
const he = X(re);
|
|
3076
3076
|
E(he);
|
|
3077
3077
|
}
|
|
3078
3078
|
};
|
|
3079
3079
|
return document.addEventListener("click", c), window.addEventListener("scroll", I, !0), window.addEventListener("resize", N), () => {
|
|
3080
3080
|
document.removeEventListener("click", c), window.removeEventListener("scroll", I, !0), window.removeEventListener("resize", N);
|
|
3081
3081
|
};
|
|
3082
|
-
}, [
|
|
3082
|
+
}, [re]), ne(() => {
|
|
3083
3083
|
const c = (I) => {
|
|
3084
3084
|
_e && ue.current && G.current && !ue.current.contains(I.target) && !G.current.contains(I.target) && A(!1);
|
|
3085
3085
|
};
|
|
3086
3086
|
return document.addEventListener("click", c), () => {
|
|
3087
3087
|
document.removeEventListener("click", c);
|
|
3088
3088
|
};
|
|
3089
|
-
}, [_e]), /* @__PURE__ */
|
|
3090
|
-
(w ||
|
|
3089
|
+
}, [_e]), /* @__PURE__ */ i("div", { className: H.tableContainer, children: [
|
|
3090
|
+
(w || W) && /* @__PURE__ */ i("div", { className: H.gridHeader, children: [
|
|
3091
3091
|
/* @__PURE__ */ e("div", { children: w }),
|
|
3092
|
-
|
|
3092
|
+
W && /* @__PURE__ */ i("div", { className: H.columnConfiguration, children: [
|
|
3093
3093
|
/* @__PURE__ */ e("div", { className: H.columnConfigurationIcon, ref: ue, onClick: () => A((c) => !c), children: /* @__PURE__ */ e(Qt, {}) }),
|
|
3094
|
-
_e && /* @__PURE__ */ e("ul", { className: H.columnConfigurationDropdown, ref: G, children: oe.map((c, I) => /* @__PURE__ */
|
|
3094
|
+
_e && /* @__PURE__ */ e("ul", { className: H.columnConfigurationDropdown, ref: G, children: oe.map((c, I) => /* @__PURE__ */ i(
|
|
3095
3095
|
"li",
|
|
3096
3096
|
{
|
|
3097
3097
|
className: `${H.columnConfigurationItem} ${C === I ? H.dragging : ""} ${T === I ? H.dragOver : ""}`,
|
|
@@ -3103,7 +3103,7 @@ const Lt = ({
|
|
|
3103
3103
|
onDragEnd: De,
|
|
3104
3104
|
children: [
|
|
3105
3105
|
/* @__PURE__ */ e("div", { className: H.columnConfigurationItemIcon, children: /* @__PURE__ */ e(Gt, {}) }),
|
|
3106
|
-
/* @__PURE__ */ e("div", { className: H.columnConfigurationItemCheckbox, onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(
|
|
3106
|
+
/* @__PURE__ */ e("div", { className: H.columnConfigurationItemCheckbox, onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(We, { checked: c.visible, change: () => Re(c) }) }),
|
|
3107
3107
|
/* @__PURE__ */ e("p", { children: c.label })
|
|
3108
3108
|
]
|
|
3109
3109
|
},
|
|
@@ -3117,19 +3117,19 @@ const Lt = ({
|
|
|
3117
3117
|
className: Ze(H.tableHeader, {
|
|
3118
3118
|
[H.visible]: l.length > 0
|
|
3119
3119
|
}),
|
|
3120
|
-
children: /* @__PURE__ */
|
|
3121
|
-
/* @__PURE__ */
|
|
3120
|
+
children: /* @__PURE__ */ i("div", { className: H.tableHeaderLeftContent, children: [
|
|
3121
|
+
/* @__PURE__ */ i("p", { children: [
|
|
3122
3122
|
l.length,
|
|
3123
3123
|
" rows selected"
|
|
3124
3124
|
] }),
|
|
3125
|
-
/* @__PURE__ */ e("div", { className: H.tableHeaderSeparator }),
|
|
3126
|
-
Array.isArray(
|
|
3125
|
+
(Array.isArray($) && $.length || v) && /* @__PURE__ */ e("div", { className: H.tableHeaderSeparator }),
|
|
3126
|
+
Array.isArray($) && $.length > 0 ? $.map((c, I) => /* @__PURE__ */ i("div", { className: H.actionButton, onClick: () => c.onClick?.(l), children: [
|
|
3127
3127
|
c.text,
|
|
3128
3128
|
c.icon
|
|
3129
|
-
] }, c.text || I)) : /* @__PURE__ */
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
] })
|
|
3129
|
+
] }, c.text || I)) : /* @__PURE__ */ e(ot, { children: v && /* @__PURE__ */ i("div", { className: H.actionButton, onClick: () => k?.(l), children: [
|
|
3130
|
+
v,
|
|
3131
|
+
S && S
|
|
3132
|
+
] }) })
|
|
3133
3133
|
] })
|
|
3134
3134
|
}
|
|
3135
3135
|
),
|
|
@@ -3140,22 +3140,22 @@ const Lt = ({
|
|
|
3140
3140
|
H.tableWrapper,
|
|
3141
3141
|
{ [H.resizing]: f }
|
|
3142
3142
|
),
|
|
3143
|
-
children: /* @__PURE__ */
|
|
3144
|
-
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */
|
|
3143
|
+
children: /* @__PURE__ */ i("table", { className: H.table, style: !n || n.length === 0 ? { tableLayout: "auto" } : {}, ref: de, children: [
|
|
3144
|
+
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ i("tr", { children: [
|
|
3145
3145
|
P && /* @__PURE__ */ e("th", { className: H.checkboxHeader, children: /* @__PURE__ */ e(
|
|
3146
|
-
|
|
3146
|
+
We,
|
|
3147
3147
|
{
|
|
3148
3148
|
ref: (c) => {
|
|
3149
3149
|
c && (c.indeterminate = tt);
|
|
3150
3150
|
},
|
|
3151
3151
|
checked: Xe,
|
|
3152
|
-
change: (c) =>
|
|
3152
|
+
change: (c) => Be(c)
|
|
3153
3153
|
}
|
|
3154
3154
|
) }),
|
|
3155
|
-
Ie.map((c) => /* @__PURE__ */
|
|
3156
|
-
/* @__PURE__ */
|
|
3155
|
+
Ie.map((c) => /* @__PURE__ */ i("th", { style: { width: R[c.key], position: "relative" }, children: [
|
|
3156
|
+
/* @__PURE__ */ i("div", { className: H.headerContent, onClick: c.sortable ? () => s?.(c.key) : void 0, children: [
|
|
3157
3157
|
c.label,
|
|
3158
|
-
m && c.sortable && a?.[0]?.selector !== c.key && a?.[1]?.selector !== c.key && /* @__PURE__ */
|
|
3158
|
+
m && c.sortable && a?.[0]?.selector !== c.key && a?.[1]?.selector !== c.key && /* @__PURE__ */ i("svg", { width: "13", height: "13", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3159
3159
|
/* @__PURE__ */ e(
|
|
3160
3160
|
"path",
|
|
3161
3161
|
{
|
|
@@ -3193,7 +3193,7 @@ const Lt = ({
|
|
|
3193
3193
|
}
|
|
3194
3194
|
)
|
|
3195
3195
|
] }),
|
|
3196
|
-
a?.[0]?.selector === c.key && (a[0].desc ? /* @__PURE__ */
|
|
3196
|
+
a?.[0]?.selector === c.key && (a[0].desc ? /* @__PURE__ */ i("svg", { width: "14", height: "14", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3197
3197
|
/* @__PURE__ */ e(
|
|
3198
3198
|
"path",
|
|
3199
3199
|
{
|
|
@@ -3212,7 +3212,7 @@ const Lt = ({
|
|
|
3212
3212
|
fill: "#95969C"
|
|
3213
3213
|
}
|
|
3214
3214
|
)
|
|
3215
|
-
] }) : /* @__PURE__ */
|
|
3215
|
+
] }) : /* @__PURE__ */ i("svg", { width: "14", height: "14", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { transform: "rotate(180deg)" }, children: [
|
|
3216
3216
|
/* @__PURE__ */ e(
|
|
3217
3217
|
"path",
|
|
3218
3218
|
{
|
|
@@ -3237,7 +3237,7 @@ const Lt = ({
|
|
|
3237
3237
|
"div",
|
|
3238
3238
|
{
|
|
3239
3239
|
className: Ze(H.resizeHandle, {
|
|
3240
|
-
[H.resizing]: f &&
|
|
3240
|
+
[H.resizing]: f && B === c.key
|
|
3241
3241
|
}),
|
|
3242
3242
|
onMouseDown: (I) => Q(I, c.key)
|
|
3243
3243
|
}
|
|
@@ -3251,18 +3251,18 @@ const Lt = ({
|
|
|
3251
3251
|
}
|
|
3252
3252
|
) }) })
|
|
3253
3253
|
] }) }),
|
|
3254
|
-
/* @__PURE__ */ e("tbody", { children: n.length === 0 ? /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: P ? Ie.length + 2 : Ie.length + 1, className: H.empty, children: "No data available" }) }) : n.map((c, I) => /* @__PURE__ */
|
|
3254
|
+
/* @__PURE__ */ e("tbody", { children: n.length === 0 ? /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: P ? Ie.length + 2 : Ie.length + 1, className: H.empty, children: "No data available" }) }) : n.map((c, I) => /* @__PURE__ */ i(
|
|
3255
3255
|
"tr",
|
|
3256
3256
|
{
|
|
3257
|
-
className: Ze({ [H.clickable]: !!
|
|
3257
|
+
className: Ze({ [H.clickable]: !!r }),
|
|
3258
3258
|
onClick: (N) => {
|
|
3259
|
-
N.target.type !== "checkbox" && !N.target.closest(`.${H.actionsCell}`) &&
|
|
3259
|
+
N.target.type !== "checkbox" && !N.target.closest(`.${H.actionsCell}`) && r?.(c, I);
|
|
3260
3260
|
},
|
|
3261
3261
|
children: [
|
|
3262
|
-
P && /* @__PURE__ */ e("td", { className: H.checkboxCell, onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(
|
|
3262
|
+
P && /* @__PURE__ */ e("td", { className: H.checkboxCell, onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(We, { checked: l.includes(c[t]), change: (N) => Ee(c[t], N, c) }) }),
|
|
3263
3263
|
Ie.map((N) => {
|
|
3264
3264
|
const he = typeof N.rowTooltipProps == "function" ? N.rowTooltipProps(c) : N.rowTooltipProps;
|
|
3265
|
-
return /* @__PURE__ */ e("td", { style: { width: R[N.key] }, children: /* @__PURE__ */ e(
|
|
3265
|
+
return /* @__PURE__ */ e("td", { style: { width: R[N.key] }, children: /* @__PURE__ */ e(rt, { ...he, tooltipContainerStyle: { width: R[N.key] }, text: he?.text || "", children: /* @__PURE__ */ e("div", { style: { width: "100%", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: N.render ? N.render(c) : c[N.key] }) }) }, N.key);
|
|
3266
3266
|
}),
|
|
3267
3267
|
y && /* @__PURE__ */ e("td", { className: H.actionsCell, children: /* @__PURE__ */ e(
|
|
3268
3268
|
"div",
|
|
@@ -3271,7 +3271,7 @@ const Lt = ({
|
|
|
3271
3271
|
ref: (N) => {
|
|
3272
3272
|
se.current[I] = N;
|
|
3273
3273
|
},
|
|
3274
|
-
children: /* @__PURE__ */ e("div", { className: H.actionsTrigger, onClick: (N) => Pe(N, I), children: /* @__PURE__ */
|
|
3274
|
+
children: /* @__PURE__ */ e("div", { className: H.actionsTrigger, onClick: (N) => Pe(N, I), children: /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3275
3275
|
/* @__PURE__ */ e(
|
|
3276
3276
|
"path",
|
|
3277
3277
|
{
|
|
@@ -3303,23 +3303,23 @@ const Lt = ({
|
|
|
3303
3303
|
] })
|
|
3304
3304
|
}
|
|
3305
3305
|
),
|
|
3306
|
-
|
|
3306
|
+
re !== null && ie && /* @__PURE__ */ i(
|
|
3307
3307
|
"div",
|
|
3308
3308
|
{
|
|
3309
3309
|
className: `${H.actionsMenu} ${H.actionsMenuFixed}`,
|
|
3310
3310
|
style: {
|
|
3311
3311
|
position: "fixed",
|
|
3312
|
-
top: `${
|
|
3313
|
-
left: `${
|
|
3312
|
+
top: `${ie.top}px`,
|
|
3313
|
+
left: `${ie.left}px`,
|
|
3314
3314
|
zIndex: 1e3
|
|
3315
3315
|
},
|
|
3316
3316
|
children: [
|
|
3317
|
-
|
|
3317
|
+
L && /* @__PURE__ */ i(
|
|
3318
3318
|
"div",
|
|
3319
3319
|
{
|
|
3320
3320
|
className: H.actionItem,
|
|
3321
3321
|
onClick: (c) => {
|
|
3322
|
-
c.stopPropagation(), u(n[
|
|
3322
|
+
c.stopPropagation(), u(n[re], re), me(null), E(null);
|
|
3323
3323
|
},
|
|
3324
3324
|
children: [
|
|
3325
3325
|
/* @__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(
|
|
@@ -3336,16 +3336,16 @@ const Lt = ({
|
|
|
3336
3336
|
]
|
|
3337
3337
|
}
|
|
3338
3338
|
),
|
|
3339
|
-
g && /* @__PURE__ */
|
|
3339
|
+
g && /* @__PURE__ */ i(
|
|
3340
3340
|
"div",
|
|
3341
3341
|
{
|
|
3342
3342
|
className: H.actionItem,
|
|
3343
3343
|
style: { color: "#E3292F" },
|
|
3344
3344
|
onClick: (c) => {
|
|
3345
|
-
c.stopPropagation(), x(n[
|
|
3345
|
+
c.stopPropagation(), x(n[re], re), me(null), E(null);
|
|
3346
3346
|
},
|
|
3347
3347
|
children: [
|
|
3348
|
-
/* @__PURE__ */
|
|
3348
|
+
/* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3349
3349
|
/* @__PURE__ */ e(
|
|
3350
3350
|
"path",
|
|
3351
3351
|
{
|
|
@@ -3383,12 +3383,12 @@ const Lt = ({
|
|
|
3383
3383
|
]
|
|
3384
3384
|
}
|
|
3385
3385
|
),
|
|
3386
|
-
h.map((c, I) => /* @__PURE__ */
|
|
3386
|
+
h.map((c, I) => /* @__PURE__ */ i(
|
|
3387
3387
|
"div",
|
|
3388
3388
|
{
|
|
3389
3389
|
className: H.actionItem,
|
|
3390
3390
|
onClick: (N) => {
|
|
3391
|
-
N.stopPropagation(), c.onClick?.(n[
|
|
3391
|
+
N.stopPropagation(), c.onClick?.(n[re], re), me(null), E(null);
|
|
3392
3392
|
},
|
|
3393
3393
|
children: [
|
|
3394
3394
|
c.icon && /* @__PURE__ */ e("div", { children: c.icon }),
|
|
@@ -3400,8 +3400,8 @@ const Lt = ({
|
|
|
3400
3400
|
]
|
|
3401
3401
|
}
|
|
3402
3402
|
),
|
|
3403
|
-
U && /* @__PURE__ */
|
|
3404
|
-
/* @__PURE__ */ e("div", { className: H.pagination, style: O === "numbered" ? { maxWidth: "400px", gap: "6px" } : {}, children: O === "numbered" ? /* @__PURE__ */
|
|
3403
|
+
U && /* @__PURE__ */ i("div", { className: H.paginationFooter, children: [
|
|
3404
|
+
/* @__PURE__ */ e("div", { className: H.pagination, style: O === "numbered" ? { maxWidth: "400px", gap: "6px" } : {}, children: O === "numbered" ? /* @__PURE__ */ i(ot, { children: [
|
|
3405
3405
|
/* @__PURE__ */ e("button", { className: H.paginationButton, onClick: () => J?.(Math.max(p - 1, 0)), disabled: p === 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(
|
|
3406
3406
|
"path",
|
|
3407
3407
|
{
|
|
@@ -3452,7 +3452,7 @@ const Lt = ({
|
|
|
3452
3452
|
) })
|
|
3453
3453
|
}
|
|
3454
3454
|
)
|
|
3455
|
-
] }) : /* @__PURE__ */
|
|
3455
|
+
] }) : /* @__PURE__ */ i(ot, { children: [
|
|
3456
3456
|
/* @__PURE__ */ e("button", { className: H.paginationButton, onClick: () => J?.(Math.max(p - 1, 0)), disabled: p === 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(
|
|
3457
3457
|
"path",
|
|
3458
3458
|
{
|
|
@@ -3460,7 +3460,7 @@ const Lt = ({
|
|
|
3460
3460
|
fill: "#131314"
|
|
3461
3461
|
}
|
|
3462
3462
|
) }) }),
|
|
3463
|
-
/* @__PURE__ */
|
|
3463
|
+
/* @__PURE__ */ i("span", { className: H.paginationInfo, children: [
|
|
3464
3464
|
"Page ",
|
|
3465
3465
|
p + 1,
|
|
3466
3466
|
" of ",
|
|
@@ -3482,8 +3482,8 @@ const Lt = ({
|
|
|
3482
3482
|
}
|
|
3483
3483
|
)
|
|
3484
3484
|
] }) }),
|
|
3485
|
-
/* @__PURE__ */
|
|
3486
|
-
/* @__PURE__ */
|
|
3485
|
+
/* @__PURE__ */ i("div", { className: H.paginationRight, children: [
|
|
3486
|
+
/* @__PURE__ */ i("p", { className: H.paginationInfo, children: [
|
|
3487
3487
|
"Showing ",
|
|
3488
3488
|
F,
|
|
3489
3489
|
"-",
|
|
@@ -3493,7 +3493,7 @@ const Lt = ({
|
|
|
3493
3493
|
] }),
|
|
3494
3494
|
/* @__PURE__ */ e("div", { className: H.divider }),
|
|
3495
3495
|
/* @__PURE__ */ e("p", { className: H.paginationSelectLabel, children: "Rows per page" }),
|
|
3496
|
-
/* @__PURE__ */ e(
|
|
3496
|
+
/* @__PURE__ */ e(rs, { currentValue: K, options: j, onChange: ee || (() => {
|
|
3497
3497
|
}) })
|
|
3498
3498
|
] })
|
|
3499
3499
|
] })
|
|
@@ -3533,7 +3533,7 @@ Lt.propKeys = [
|
|
|
3533
3533
|
];
|
|
3534
3534
|
Lt.displayName = "Table";
|
|
3535
3535
|
Lt.description = "A table component with multiple styles and orientations for organizing content sections.";
|
|
3536
|
-
const
|
|
3536
|
+
const is = {}, ss = () => /* @__PURE__ */ e("div", { className: is.fileUploaderWrapper, children: "FileUploader" });
|
|
3537
3537
|
ss.displayName = "FileUploader";
|
|
3538
3538
|
const as = "mc__DropdownPill-module__dropdownPill", cs = "mc__DropdownPill-module__selected", ds = "mc__DropdownPill-module__defaultSelected", us = "mc__DropdownPill-module__altSelected", ps = "mc__DropdownPill-module__dropdownPillText", Ge = {
|
|
3539
3539
|
dropdownPill: as,
|
|
@@ -3545,22 +3545,22 @@ const as = "mc__DropdownPill-module__dropdownPill", cs = "mc__DropdownPill-modul
|
|
|
3545
3545
|
text: t,
|
|
3546
3546
|
dropdownSlot: o,
|
|
3547
3547
|
leftSlot: n,
|
|
3548
|
-
rightSlot:
|
|
3548
|
+
rightSlot: r,
|
|
3549
3549
|
selected: s,
|
|
3550
3550
|
selectedType: m = "default",
|
|
3551
3551
|
dropdownPillStyle: a,
|
|
3552
3552
|
dropdownPillTextStyle: l,
|
|
3553
|
-
onClick:
|
|
3554
|
-
}) => /* @__PURE__ */
|
|
3553
|
+
onClick: b
|
|
3554
|
+
}) => /* @__PURE__ */ i(
|
|
3555
3555
|
"div",
|
|
3556
3556
|
{
|
|
3557
3557
|
style: a,
|
|
3558
3558
|
className: `${Ge.dropdownPill} ${s ? `${Ge.selected} ${m === "alt" ? Ge.altSelected : Ge.defaultSelected}` : ""}`,
|
|
3559
|
-
onClick: () =>
|
|
3559
|
+
onClick: () => b?.(),
|
|
3560
3560
|
children: [
|
|
3561
3561
|
n && n,
|
|
3562
3562
|
o || /* @__PURE__ */ e("p", { className: Ge.dropdownPillText, style: l, children: t }),
|
|
3563
|
-
|
|
3563
|
+
r && r
|
|
3564
3564
|
]
|
|
3565
3565
|
}
|
|
3566
3566
|
);
|
|
@@ -3579,7 +3579,7 @@ xt.displayName = "Dropdown Pill";
|
|
|
3579
3579
|
xt.description = "A dropdown pill component with multiple styles and orientations for organizing content sections.";
|
|
3580
3580
|
export {
|
|
3581
3581
|
yt as ActionDropdown,
|
|
3582
|
-
|
|
3582
|
+
We as Checkbox,
|
|
3583
3583
|
gt as DatePicker,
|
|
3584
3584
|
mt as Dropdown,
|
|
3585
3585
|
xt as DropdownPill,
|
|
@@ -3597,7 +3597,7 @@ export {
|
|
|
3597
3597
|
Ct as TimePicker,
|
|
3598
3598
|
Sl as ToastProvider,
|
|
3599
3599
|
dt as Toggle,
|
|
3600
|
-
|
|
3600
|
+
rt as Tooltip,
|
|
3601
3601
|
jn as TreeNode,
|
|
3602
3602
|
ft as createNotificationToast
|
|
3603
3603
|
};
|