bmi-next-brokers 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- ._inputContainer_1c3te_1{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0}._compactFileUploadContainer_1c3te_9{background:var(--Fill-Brand-Default-Hover, #eef3fc);border-radius:12px;transition:background-color .3s ease,border-color .3s ease;position:relative;cursor:pointer;display:flex;flex-direction:column;justify-content:center;overflow:hidden;width:100%;max-width:415px;height:62px}._compactFileUploadContainer_1c3te_9._fullWidth_1c3te_26{max-width:100%}._compactFileUploadContainer_1c3te_9:hover{font-weight:600;background-color:var(--Fill-Info-Inverted-Hover, #e0e9f8)}._compactFileUploadContainer_1c3te_9._dragOver_1c3te_35{border-color:var(--Fill-Brand-Default-Active, #2054a5);background:var(--Fill-Brand-Default-Hover, #eef3fc)}._variant_document_1c3te_41 ._icon_1c3te_41{color:var(--Content-Neutral-Primary, #475569)}._variant_add_1c3te_45 ._icon_1c3te_41{color:var(--Fill-Brand-Default-Active, #2054a5)}._compactFileUploadContainer_1c3te_9._disabled_1c3te_50{border-color:var(--Stroke-Disabled-Default, #cbd5e1);background:var(--Fill-Disabled-Default, #f8fafc);cursor:not-allowed}._compactFileUploadContainer_1c3te_9._disabled_1c3te_50:hover{border-color:var(--Stroke-Disabled-Default, #cbd5e1);background:var(--Fill-Disabled-Default, #f8fafc)}._compactFileUploadContainer_1c3te_9._error_1c3te_61{background-color:#fef2f2}._compactFileUploadContainer_1c3te_9._error_1c3te_61:hover{background-color:var(--Fill-Negative-Default-Hover, #fecaca)}._compactFileUploadContainer_1c3te_9._warning_1c3te_69{background-color:#ffedd5}._compactFileUploadContainer_1c3te_9._warning_1c3te_69:hover{background-color:var(--Fill-Warning-Default-Hover, #fecaca)}._compactFileUploadContainer_1c3te_9._inverted_1c3te_78{border-color:var(--Stroke-Neutral-Secondary, #c9e1f6);background:transparent}._compactFileUploadContainer_1c3te_9._inverted_1c3te_78:hover{border-color:var(--Stroke-Neutral-Primary, #e0e9f8);background:#ffffff1a}._compactFileUploadContainer_1c3te_9._inverted_1c3te_78._dragOver_1c3te_35{border-color:var(--Fill-Brand-Inverted-Active, #fff);background:#fff3}._compactFileUploadContainer_1c3te_9._inverted_1c3te_78._disabled_1c3te_50{border-color:var(--Stroke-Disabled-Default, #1b468a);background:transparent}._compactFileUploadContainer_1c3te_9._inverted_1c3te_78._error_1c3te_61{background:transparent}._uploadContent_1c3te_103{display:flex;padding:12px;gap:8px;z-index:100;height:100%;position:relative;transition:font-weight .3s ease-in-out,background-color .3s ease-in-out}._textContent_1c3te_115{text-align:center;display:flex;flex-direction:row;gap:8px;align-items:center;height:100%;min-width:0}._dragText_1c3te_125{font-family:Poppins Bold;font-size:12px;color:var(--Content-Brand-Default-Active, #2054a5)}._disabled_1c3te_50 ._dragText_1c3te_125{color:var(--content-disabled-default, #cbd5e1)}._inverted_1c3te_78 ._dragText_1c3te_125{color:#fffc}._inverted_1c3te_78._disabled_1c3te_50 ._dragText_1c3te_125{color:var(--content-disabled-default, #4f88d9)}._inverted_1c3te_78 ._variant_document_1c3te_41 ._icon_1c3te_41,._inverted_1c3te_78 ._variant_add_1c3te_45 ._icon_1c3te_41{color:#fff}._inverted_1c3te_78._disabled_1c3te_50 ._icon_1c3te_41{color:var(--content-disabled-default, #4f88d9)}._hiddenInput_1c3te_155{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}._compactFileContent_1c3te_168{display:flex;align-items:center;gap:12px;width:100%;height:100%}._compactFileIcon_1c3te_176{flex-shrink:0;display:flex;align-items:center;justify-content:center;margin-top:0}._compactIconBackground_1c3te_184{display:flex;align-items:center;justify-content:center;padding:6px}._compactFileContent_1c3te_168,._compactFileText_1c3te_192{justify-content:center}._compactFileText_1c3te_192{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}._compactLabel_1c3te_204{color:#2054a5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._compactFileName_1c3te_211,._compactStatusText_1c3te_212{color:#525252;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._compactFileName_1c3te_211._error_1c3te_61{color:#dc2626}._compactFileName_1c3te_211._success_1c3te_223{color:#65a30d}._compactFileName_1c3te_211._warning_1c3te_69{color:#ea580c}._compactFileName_1c3te_211._loading_1c3te_231{color:#2054a5}._addIconWrapper_1c3te_235{border-radius:1000px;height:34px;width:34px}._browseText_1c3te_241{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2054a5}._compactVisibilityIcon_1c3te_248{flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s ease}._compactActions_1c3te_257{display:flex;align-items:center;gap:8px;flex-shrink:0}._deleteText_1c3te_264{font-family:Poppins Regular;font-size:12px;color:var(--Content-Brand-Default-Active, #2054a5);white-space:nowrap}
1
+ ._inputContainer_84wrd_1{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0}._compactFileUploadContainer_84wrd_9{background:var(--Fill-Brand-Default-Hover, #eef3fc);border-radius:12px;transition:background-color .3s ease,border-color .3s ease;position:relative;cursor:pointer;display:flex;flex-direction:column;justify-content:center;overflow:hidden;width:100%;max-width:415px;height:62px}._compactFileUploadContainer_84wrd_9._fullWidth_84wrd_26{max-width:100%}._compactFileUploadContainer_84wrd_9:hover{font-weight:600;background-color:var(--Fill-Info-Inverted-Hover, #e0e9f8)}._compactFileUploadContainer_84wrd_9._dragOver_84wrd_35{border-color:var(--Fill-Brand-Default-Active, #2054a5);background:var(--Fill-Brand-Default-Hover, #eef3fc)}._variant_document_84wrd_41 ._icon_84wrd_41{color:var(--Content-Neutral-Primary, #475569)}._variant_add_84wrd_45 ._icon_84wrd_41{color:var(--Fill-Brand-Default-Active, #2054a5)}._compactFileUploadContainer_84wrd_9._disabled_84wrd_50{border-color:var(--Stroke-Disabled-Default, #cbd5e1);background:var(--Fill-Disabled-Default, #f8fafc);cursor:not-allowed}._compactFileUploadContainer_84wrd_9._disabled_84wrd_50:hover{border-color:var(--Stroke-Disabled-Default, #cbd5e1);background:var(--Fill-Disabled-Default, #f8fafc)}._compactFileUploadContainer_84wrd_9._error_84wrd_61{background-color:#fef2f2}._compactFileUploadContainer_84wrd_9._error_84wrd_61:hover{background-color:var(--Fill-Negative-Default-Hover, #fecaca)}._compactFileUploadContainer_84wrd_9._warning_84wrd_69{background-color:#ffedd5}._compactFileUploadContainer_84wrd_9._warning_84wrd_69:hover{background-color:var(--Fill-Warning-Default-Hover, #fecaca)}._compactFileUploadContainer_84wrd_9._inverted_84wrd_78{border-color:var(--Stroke-Neutral-Secondary, #c9e1f6);background:transparent}._compactFileUploadContainer_84wrd_9._inverted_84wrd_78:hover{border-color:var(--Stroke-Neutral-Primary, #e0e9f8);background:#ffffff1a}._compactFileUploadContainer_84wrd_9._inverted_84wrd_78._dragOver_84wrd_35{border-color:var(--Fill-Brand-Inverted-Active, #fff);background:#fff3}._compactFileUploadContainer_84wrd_9._inverted_84wrd_78._disabled_84wrd_50{border-color:var(--Stroke-Disabled-Default, #1b468a);background:transparent}._compactFileUploadContainer_84wrd_9._inverted_84wrd_78._error_84wrd_61{background:transparent}._uploadContent_84wrd_103{display:flex;padding:12px;gap:8px;z-index:100;height:100%;position:relative;transition:background-color .3s ease-in-out}._textContent_84wrd_113{text-align:center;display:flex;flex-direction:row;gap:8px;align-items:center;height:100%;min-width:0}._dragText_84wrd_123{font-family:Poppins Bold;font-size:12px;color:var(--Content-Brand-Default-Active, #2054a5)}._disabled_84wrd_50 ._dragText_84wrd_123{color:var(--content-disabled-default, #cbd5e1)}._inverted_84wrd_78 ._dragText_84wrd_123{color:#fffc}._inverted_84wrd_78._disabled_84wrd_50 ._dragText_84wrd_123{color:var(--content-disabled-default, #4f88d9)}._inverted_84wrd_78 ._variant_document_84wrd_41 ._icon_84wrd_41,._inverted_84wrd_78 ._variant_add_84wrd_45 ._icon_84wrd_41{color:#fff}._inverted_84wrd_78._disabled_84wrd_50 ._icon_84wrd_41{color:var(--content-disabled-default, #4f88d9)}._hiddenInput_84wrd_153{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}._compactFileContent_84wrd_166{display:flex;align-items:center;gap:12px;width:100%;height:100%}._compactFileIcon_84wrd_174{flex-shrink:0;display:flex;align-items:center;justify-content:center;margin-top:0}._compactIconBackground_84wrd_182{display:flex;align-items:center;justify-content:center;padding:6px}._compactFileContent_84wrd_166,._compactFileText_84wrd_190{justify-content:center}._compactFileText_84wrd_190{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}._compactLabel_84wrd_202{color:#2054a5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._compactFileName_84wrd_209,._compactStatusText_84wrd_210{color:#525252;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._compactFileName_84wrd_209._error_84wrd_61{color:#dc2626}._compactFileName_84wrd_209._success_84wrd_221{color:#65a30d}._compactFileName_84wrd_209._warning_84wrd_69{color:#ea580c}._compactFileName_84wrd_209._loading_84wrd_229{color:#2054a5}._addIconWrapper_84wrd_233{border-radius:1000px;height:34px;width:34px}._browseText_84wrd_239{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2054a5}._compactVisibilityIcon_84wrd_246{flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s ease}._compactActions_84wrd_255{display:flex;align-items:center;gap:8px;flex-shrink:0}._deleteText_84wrd_262{font-family:Poppins Regular;font-size:12px;color:var(--Content-Brand-Default-Active, #2054a5);white-space:nowrap}
@@ -1 +1 @@
1
- ._selectContainer_12ph8_1{display:flex;flex-direction:column;gap:4px}._label_12ph8_7{font-family:Poppins Regular;font-size:13px;color:var(--Content-Neutral-Default-Active, #000);font-weight:500;padding-left:4px}._label_large_12ph8_15{font-size:15px;margin-bottom:6px}._label_disabled_12ph8_20{color:var(--content-disabled-default, #cbd5e1)}._selectWrapper_12ph8_24{position:relative;display:flex;align-items:center}._select_12ph8_1{border:1px solid #ddd;border-radius:16px;font-family:Poppins Regular;font-weight:100;outline:none;transition:all .2s ease;width:100%;background-color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding-right:12px}._select_12ph8_1:hover{border:1px solid var(--Stroke-Neutral-Primary, #94a3b8)}._select_12ph8_1:focus{box-shadow:0 0 0 3px var(--ui-blue-400, #7eaae6)}._select_12ph8_1:active{border:1px solid var(--Stroke-Neutral-Primary, #94a3b8);box-shadow:0 0 0 3px var(--ui-blue-400, #7eaae6)}._select_12ph8_1._open_12ph8_59{box-shadow:0 0 0 3px var(--ui-blue-400, #7eaae6)}._select_12ph8_1._disabled_12ph8_63{border-radius:16px;border:1px solid var(--Stroke-Disabled-Default, #cbd5e1);background:var(--Fill-Disabled-Default, #f8fafc);color:var(--content-disabled-default, #cbd5e1);cursor:not-allowed}._select_12ph8_1._disabled_12ph8_63 ._placeholder_12ph8_71{color:var(--content-disabled-default, #cbd5e1)}._selectValue_12ph8_75{flex:1;text-align:left}._placeholder_12ph8_71{color:var(--Content-Neutral-Default-Default, #a3a3a3)}._chevron_12ph8_84{transition:transform .2s ease;color:var(--Content-Neutral-Default, #475569)}._chevronOpen_12ph8_89{transform:rotate(180deg)}._small_12ph8_94{padding:8px 11px;font-size:12px}._small_12ph8_94._withIcon_12ph8_99{padding:11px 8px 11px 28px}._medium_12ph8_103{padding:8px 10px;font-size:14px}._medium_12ph8_103._withIcon_12ph8_99{padding:8px 10px 8px 30px}._large_12ph8_112{padding:11px 12px;font-size:15px}._large_12ph8_112._withIcon_12ph8_99{padding:11px 12px 11px 32px}._error_12ph8_122{border:1px solid var(--Stroke-Negative-Active, #dc2626);background:var(--Fill-Neutral-Primary, #fff);color:var(--Content-Negative-Default-Active, #dc2626);animation:_errorShake_12ph8_1 .4s ease-in-out}._error_12ph8_122 ._placeholder_12ph8_71{color:var(--Content-Negative-Default-Active, #dc2626)}._error_12ph8_122:hover{border:1px solid var(--Stroke-Negative-Active, #dc2626)}._error_12ph8_122:active{border:1px solid transparent;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)}._error_12ph8_122:focus{border:1px solid transparent;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)}._error_12ph8_122._open_12ph8_59{border:1px solid transparent;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)}._errorMessage_12ph8_152{font-family:Poppins Medium;color:#e74c3c;margin-top:2px;margin-left:4px;animation:_errorMessageSlide_12ph8_1 .3s ease-out;transform-origin:top}._errorMessage_small_12ph8_161{font-size:10px}._errorMessage_medium_12ph8_165{font-size:12px}._errorMessage_large_12ph8_169{font-size:14px}._errorMessage_inverted_12ph8_173{color:var(--Content-Negative-Default-Active, #f87171)!important}._helperText_12ph8_177{font-family:Poppins Regular;color:#acacac;margin-top:2px;margin-left:4px}._helperText_small_12ph8_184,._helperText_medium_12ph8_188{font-size:11px}._helperText_large_12ph8_192{font-size:13px;margin-top:7px}._helperText_disabled_12ph8_197{color:var(--content-disabled-default, #cbd5e1)}._iconLabel_12ph8_201{display:flex;justify-content:center;align-items:center;gap:6px}._icon_12ph8_201{color:var(--Content-Neutral-Default, #475569);pointer-events:none;display:flex;align-items:center;justify-content:center}._icon_disabled_12ph8_217{color:var(--Content-Neutral-Disabled, #94a3b8)}._required_12ph8_222{color:var(--Content-Negative-Default-Active, #dc2626);margin-left:2px}._required_inverted_12ph8_227{color:var(--Content-Negative-Default-Active, #f87171)}._required_disabled_12ph8_231{color:var(--content-disabled-default, #cbd5e1)}._required_inverted_disabled_12ph8_235{color:var(--content-disabled-default, #4f88d9)}._dropdown_12ph8_240{position:absolute;top:100%;left:0;right:0;z-index:1000;background:#fff;border:1px solid var(--Stroke-Neutral-Primary, #94a3b8);border-radius:16px;margin-top:10px;max-height:200px;overflow-y:auto}._option_12ph8_254{padding:8px 12px;border-bottom:1px solid var(--Stroke-Neutral-Primary, #94a3b8);cursor:pointer;font-family:Poppins Regular;font-size:inherit;display:flex;align-items:center;gap:8px;transition:background-color .2s ease}._option_12ph8_254:last-child{border-bottom:none}._dropdown_12ph8_240 ._option_12ph8_254{font-size:14px;padding:8px 12px}._small_12ph8_94+._dropdown_12ph8_240 ._option_12ph8_254{font-size:12px;padding:8px 11px 8px 14px}._medium_12ph8_103+._dropdown_12ph8_240 ._option_12ph8_254{font-size:14px;padding:8px 12px}._large_12ph8_112+._dropdown_12ph8_240 ._option_12ph8_254{font-size:15px;padding:11px 12px}._option_12ph8_254:hover{background-color:#f8f9fa}._option_12ph8_254:first-child{border-top-left-radius:16px;border-top-right-radius:16px}._option_12ph8_254:last-child{border-bottom-left-radius:16px;border-bottom-right-radius:16px}._optionSelected_12ph8_307{background-color:var(--Fill-Brand-Inverted-Hover, #eef3fc);color:var(--Content-Brand-Inverted-Active, #2054a5)}._optionIcon_12ph8_312{display:flex;align-items:center;justify-content:center}._inverted_12ph8_319{border:1px solid var(--Stroke-Neutral-Secondary, #c9e1f6);background-color:transparent!important;color:#fff!important}._inverted_12ph8_319:hover{border:1px solid white!important}._inverted_12ph8_319._open_12ph8_59{box-shadow:0 0 0 3px #ffffff4d!important}._inverted_12ph8_319 ._placeholder_12ph8_71{color:#ffffffb3!important}._inverted_12ph8_319 ._chevron_12ph8_84,._label_inverted_12ph8_341{color:#fff!important}._helperText_inverted_12ph8_345{color:var(--Content-Neutral-Default-Default, #fafafa)}._icon_inverted_12ph8_349{color:#fff!important}._dropdown_inverted_12ph8_353{background:var(--Fill-Brand-Default-Active, #2054a5);border:1px solid var(--Stroke-Neutral-Primary, #e0e9f8)}._option_inverted_12ph8_358{color:#fff!important;border-bottom-color:1px solid var(--Stroke-Neutral-Primary, #e0e9f8)}._option_inverted_12ph8_358:hover{background-color:#ffffff1a!important}._option_inverted_12ph8_358._optionSelected_12ph8_307{background-color:#ffffff26!important;color:#fff!important}._inverted_12ph8_319._error_12ph8_122{border:1px solid var(--Stroke-Negative-Active, #ef4444)!important;color:var(--Content-Negative-Default-Active, #f87171)!important}._inverted_12ph8_319._error_12ph8_122 ._placeholder_12ph8_71{color:var(--Content-Negative-Default-Active, #f87171)!important}._inverted_12ph8_319._error_12ph8_122:hover{border:1px solid var(--Stroke-Negative-Active, #ef4444)!important}._inverted_12ph8_319._error_12ph8_122:active{border:1px solid transparent!important;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)!important}._inverted_12ph8_319._error_12ph8_122:focus{border:1px solid transparent!important;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)!important}._inverted_12ph8_319._error_12ph8_122._open_12ph8_59{border:1px solid transparent!important;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)!important}@keyframes _errorShake_12ph8_1{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-2px)}20%,40%,60%,80%{transform:translate(2px)}}@keyframes _errorMessageSlide_12ph8_1{0%{opacity:0;transform:translateY(-5px) scaleY(0)}50%{opacity:.8;transform:translateY(-2px) scaleY(.7)}to{opacity:1;transform:translateY(0) scaleY(1)}}._inverted_12ph8_319._disabled_12ph8_63{border:1px solid var(--Stroke-Disabled-Default, #1b468a)!important;background-color:transparent!important;color:var(--content-disabled-default, #4f88d9)!important;cursor:not-allowed}._inverted_12ph8_319._disabled_12ph8_63 ._placeholder_12ph8_71{color:var(--content-disabled-default, #4f88d9)!important}._label_inverted_disabled_12ph8_449{color:var(--Content-Neutral-Default-Active, #fff)}._helperText_inverted_disabled_12ph8_453{color:var(--Content-Neutral-Default-Default, #fafafa)}._icon_inverted_disabled_12ph8_457,._inverted_12ph8_319._disabled_12ph8_63 ._chevron_12ph8_84{color:var(--content-disabled-default, #4f88d9)!important}._inverted_12ph8_319._disabled_12ph8_63:focus,._inverted_12ph8_319._disabled_12ph8_63:active,._inverted_12ph8_319._disabled_12ph8_63._open_12ph8_59{box-shadow:none!important}._inverted_12ph8_319._disabled_12ph8_63._error_12ph8_122{border:1px solid var(--Stroke-Negative-Active, #ef4444)!important;color:var(--Content-Negative-Default-Active, #f87171)!important}._inverted_12ph8_319._disabled_12ph8_63._error_12ph8_122:focus,._inverted_12ph8_319._disabled_12ph8_63._error_12ph8_122:active,._inverted_12ph8_319._disabled_12ph8_63._error_12ph8_122._open_12ph8_59{box-shadow:0 0 0 3px var(--ui-red-400, #f87171)!important}._inverted_12ph8_319._disabled_12ph8_63._error_12ph8_122 ._placeholder_12ph8_71{color:var(--Content-Negative-Default-Active, #f87171)!important}
1
+ ._selectContainer_o3e7b_1{display:flex;flex-direction:column;gap:4px}._label_o3e7b_7{font-family:Poppins Regular;font-size:13px;color:var(--Content-Neutral-Default-Active, #000);font-weight:500;padding-left:4px}._label_large_o3e7b_15{font-size:15px;margin-bottom:6px}._label_disabled_o3e7b_20{color:var(--content-disabled-default, #cbd5e1)}._selectWrapper_o3e7b_24{position:relative;display:flex;align-items:center}._select_o3e7b_1{border:1px solid #ddd;border-radius:16px;font-family:Poppins Regular;font-weight:100;outline:none;transition:all .2s ease;width:100%;background-color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding-right:12px}._select_o3e7b_1:hover{border:1px solid var(--Stroke-Neutral-Primary, #94a3b8)}._select_o3e7b_1:focus{box-shadow:0 0 0 3px var(--ui-blue-400, #7eaae6)}._select_o3e7b_1:active{border:1px solid var(--Stroke-Neutral-Primary, #94a3b8);box-shadow:0 0 0 3px var(--ui-blue-400, #7eaae6)}._select_o3e7b_1._open_o3e7b_59{box-shadow:0 0 0 3px var(--ui-blue-400, #7eaae6)}._select_o3e7b_1._disabled_o3e7b_63{border-radius:16px;border:1px solid var(--Stroke-Disabled-Default, #cbd5e1);background:var(--Fill-Disabled-Default, #f8fafc);color:var(--content-disabled-default, #cbd5e1);cursor:not-allowed}._select_o3e7b_1._disabled_o3e7b_63 ._placeholder_o3e7b_71{color:var(--content-disabled-default, #cbd5e1)}._selectValue_o3e7b_75{flex:1;text-align:left}._placeholder_o3e7b_71{color:var(--Content-Neutral-Default-Default, #a3a3a3)}._chevron_o3e7b_84{transition:transform .2s ease;color:var(--Content-Neutral-Default, #475569)}._chevronOpen_o3e7b_89{transform:rotate(180deg)}._small_o3e7b_94{padding:8px 11px;font-size:12px}._medium_o3e7b_99{padding:8px 10px;font-size:14px}._large_o3e7b_104{padding:11px 12px;font-size:15px}._error_o3e7b_110{border:1px solid var(--Stroke-Negative-Active, #dc2626);background:var(--Fill-Neutral-Primary, #fff);color:var(--Content-Negative-Default-Active, #dc2626);animation:_errorShake_o3e7b_1 .4s ease-in-out}._error_o3e7b_110 ._placeholder_o3e7b_71{color:var(--Content-Negative-Default-Active, #dc2626)}._error_o3e7b_110:hover{border:1px solid var(--Stroke-Negative-Active, #dc2626)}._error_o3e7b_110:active{border:1px solid transparent;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)}._error_o3e7b_110:focus{border:1px solid transparent;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)}._error_o3e7b_110._open_o3e7b_59{border:1px solid transparent;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)}._errorMessage_o3e7b_140{font-family:Poppins Medium;color:#e74c3c;margin-top:2px;margin-left:4px;animation:_errorMessageSlide_o3e7b_1 .3s ease-out;transform-origin:top}._errorMessage_small_o3e7b_149{font-size:10px}._errorMessage_medium_o3e7b_153{font-size:12px}._errorMessage_large_o3e7b_157{font-size:14px}._errorMessage_inverted_o3e7b_161{color:var(--Content-Negative-Default-Active, #f87171)!important}._helperText_o3e7b_165{font-family:Poppins Regular;color:#acacac;margin-top:2px;margin-left:4px}._helperText_small_o3e7b_172,._helperText_medium_o3e7b_176{font-size:11px}._helperText_large_o3e7b_180{font-size:13px;margin-top:7px}._helperText_disabled_o3e7b_185{color:var(--content-disabled-default, #cbd5e1)}._iconLabel_o3e7b_189{display:flex;justify-content:center;align-items:center;gap:6px}._icon_o3e7b_189{color:var(--Content-Neutral-Default, #475569);pointer-events:none;display:flex;align-items:center;justify-content:center}._icon_disabled_o3e7b_205{color:var(--Content-Neutral-Disabled, #94a3b8)}._required_o3e7b_210{color:var(--Content-Negative-Default-Active, #dc2626);margin-left:2px}._required_inverted_o3e7b_215{color:var(--Content-Negative-Default-Active, #f87171)}._required_disabled_o3e7b_219{color:var(--content-disabled-default, #cbd5e1)}._required_inverted_disabled_o3e7b_223{color:var(--content-disabled-default, #4f88d9)}._dropdown_o3e7b_228{position:absolute;top:100%;left:0;right:0;z-index:1000;background:#fff;border:1px solid var(--Stroke-Neutral-Primary, #94a3b8);border-radius:16px;margin-top:10px;max-height:200px;overflow-y:auto}._option_o3e7b_242{padding:8px 12px;border-bottom:1px solid var(--Stroke-Neutral-Primary, #94a3b8);cursor:pointer;font-family:Poppins Regular;font-size:inherit;display:flex;align-items:center;gap:8px;transition:background-color .2s ease}._option_o3e7b_242:last-child{border-bottom:none}._dropdown_o3e7b_228 ._option_o3e7b_242{font-size:14px;padding:8px 12px}._small_o3e7b_94+._dropdown_o3e7b_228 ._option_o3e7b_242{font-size:12px;padding:8px 11px 8px 14px}._medium_o3e7b_99+._dropdown_o3e7b_228 ._option_o3e7b_242{font-size:14px;padding:8px 12px}._large_o3e7b_104+._dropdown_o3e7b_228 ._option_o3e7b_242{font-size:15px;padding:11px 12px}._option_o3e7b_242:hover{background-color:#f8f9fa}._option_o3e7b_242:first-child{border-top-left-radius:16px;border-top-right-radius:16px}._option_o3e7b_242:last-child{border-bottom-left-radius:16px;border-bottom-right-radius:16px}._optionSelected_o3e7b_295{background-color:var(--Fill-Brand-Inverted-Hover, #eef3fc);color:var(--Content-Brand-Inverted-Active, #2054a5)}._optionIcon_o3e7b_300{display:flex;align-items:center;justify-content:center}._inverted_o3e7b_307{border:1px solid var(--Stroke-Neutral-Secondary, #c9e1f6);background-color:transparent!important;color:#fff!important}._inverted_o3e7b_307:hover{border:1px solid white!important}._inverted_o3e7b_307._open_o3e7b_59{box-shadow:0 0 0 3px #ffffff4d!important}._inverted_o3e7b_307 ._placeholder_o3e7b_71{color:#ffffffb3!important}._inverted_o3e7b_307 ._chevron_o3e7b_84,._label_inverted_o3e7b_329{color:#fff!important}._helperText_inverted_o3e7b_333{color:var(--Content-Neutral-Default-Default, #fafafa)}._icon_inverted_o3e7b_337{color:#fff!important}._dropdown_inverted_o3e7b_341{background:var(--Fill-Brand-Default-Active, #2054a5);border:1px solid var(--Stroke-Neutral-Primary, #e0e9f8)}._option_inverted_o3e7b_346{color:#fff!important;border-bottom-color:1px solid var(--Stroke-Neutral-Primary, #e0e9f8)}._option_inverted_o3e7b_346:hover{background-color:#ffffff1a!important}._option_inverted_o3e7b_346._optionSelected_o3e7b_295{background-color:#ffffff26!important;color:#fff!important}._inverted_o3e7b_307._error_o3e7b_110{border:1px solid var(--Stroke-Negative-Active, #ef4444)!important;color:var(--Content-Negative-Default-Active, #f87171)!important}._inverted_o3e7b_307._error_o3e7b_110 ._placeholder_o3e7b_71{color:var(--Content-Negative-Default-Active, #f87171)!important}._inverted_o3e7b_307._error_o3e7b_110:hover{border:1px solid var(--Stroke-Negative-Active, #ef4444)!important}._inverted_o3e7b_307._error_o3e7b_110:active{border:1px solid transparent!important;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)!important}._inverted_o3e7b_307._error_o3e7b_110:focus{border:1px solid transparent!important;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)!important}._inverted_o3e7b_307._error_o3e7b_110._open_o3e7b_59{border:1px solid transparent!important;box-shadow:0 0 0 3px var(--ui-red-400, #f87171)!important}@keyframes _errorShake_o3e7b_1{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-2px)}20%,40%,60%,80%{transform:translate(2px)}}@keyframes _errorMessageSlide_o3e7b_1{0%{opacity:0;transform:translateY(-5px) scaleY(0)}50%{opacity:.8;transform:translateY(-2px) scaleY(.7)}to{opacity:1;transform:translateY(0) scaleY(1)}}._inverted_o3e7b_307._disabled_o3e7b_63{border:1px solid var(--Stroke-Disabled-Default, #1b468a)!important;background-color:transparent!important;color:var(--content-disabled-default, #4f88d9)!important;cursor:not-allowed}._inverted_o3e7b_307._disabled_o3e7b_63 ._placeholder_o3e7b_71{color:var(--content-disabled-default, #4f88d9)!important}._label_inverted_disabled_o3e7b_437{color:var(--Content-Neutral-Default-Active, #fff)}._helperText_inverted_disabled_o3e7b_441{color:var(--Content-Neutral-Default-Default, #fafafa)}._icon_inverted_disabled_o3e7b_445,._inverted_o3e7b_307._disabled_o3e7b_63 ._chevron_o3e7b_84{color:var(--content-disabled-default, #4f88d9)!important}._inverted_o3e7b_307._disabled_o3e7b_63:focus,._inverted_o3e7b_307._disabled_o3e7b_63:active,._inverted_o3e7b_307._disabled_o3e7b_63._open_o3e7b_59{box-shadow:none!important}._inverted_o3e7b_307._disabled_o3e7b_63._error_o3e7b_110{border:1px solid var(--Stroke-Negative-Active, #ef4444)!important;color:var(--Content-Negative-Default-Active, #f87171)!important}._inverted_o3e7b_307._disabled_o3e7b_63._error_o3e7b_110:focus,._inverted_o3e7b_307._disabled_o3e7b_63._error_o3e7b_110:active,._inverted_o3e7b_307._disabled_o3e7b_63._error_o3e7b_110._open_o3e7b_59{box-shadow:0 0 0 3px var(--ui-red-400, #f87171)!important}._inverted_o3e7b_307._disabled_o3e7b_63._error_o3e7b_110 ._placeholder_o3e7b_71{color:var(--Content-Negative-Default-Active, #f87171)!important}
@@ -18,7 +18,6 @@ export interface CompactFileUploadProps {
18
18
  inspectFileFunction?: () => void;
19
19
  maxFileSize?: number;
20
20
  onFileSelect?: (files: FileList | null) => void | Promise<void>;
21
- onDelete?: (files: FileList | null) => void | Promise<void>;
22
21
  statusIconBorderRadius?: string;
23
22
  fullWidth?: boolean;
24
23
  }
@@ -1,131 +1,130 @@
1
- import { jsx as n, jsxs as _, Fragment as T } from "react/jsx-runtime";
2
- import { useState as w, useRef as q, useEffect as H } from "react";
3
- import { Icon as I } from "../../icons/Icon.js";
4
- import { Spinner as G } from "../Spinner/Spinner.js";
5
- import { Button as $ } from "../Button/Button.js";
6
- import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1c3te_1", K = "_compactFileUploadContainer_1c3te_9", P = "_fullWidth_1c3te_26", Q = "_dragOver_1c3te_35", X = "_variant_document_1c3te_41", Y = "_icon_1c3te_41", Z = "_variant_add_1c3te_45", tt = "_disabled_1c3te_50", et = "_error_1c3te_61", nt = "_warning_1c3te_69", ct = "_inverted_1c3te_78", at = "_uploadContent_1c3te_103", ot = "_textContent_1c3te_115", it = "_dragText_1c3te_125", lt = "_hiddenInput_1c3te_155", st = "_compactFileContent_1c3te_168", rt = "_compactFileIcon_1c3te_176", dt = "_compactIconBackground_1c3te_184", mt = "_compactFileText_1c3te_192", pt = "_compactLabel_1c3te_204", _t = "_compactFileName_1c3te_211", ut = "_compactStatusText_1c3te_212", ht = "_success_1c3te_223", ft = "_loading_1c3te_231", vt = "_addIconWrapper_1c3te_235", Ct = "_browseText_1c3te_241", gt = "_compactVisibilityIcon_1c3te_248", xt = "_compactActions_1c3te_257", It = "_deleteText_1c3te_264", t = {
7
- inputContainer: J,
8
- compactFileUploadContainer: K,
9
- fullWidth: P,
10
- dragOver: Q,
11
- variant_document: X,
12
- icon: Y,
13
- variant_add: Z,
14
- disabled: tt,
15
- error: et,
1
+ import { jsx as e, jsxs as u, Fragment as b } from "react/jsx-runtime";
2
+ import { useState as y, useRef as z, useEffect as q } from "react";
3
+ import { Icon as g } from "../../icons/Icon.js";
4
+ import { Spinner as H } from "../Spinner/Spinner.js";
5
+ import { Button as D } from "../Button/Button.js";
6
+ import '../../assets/CompactFileUpload.css';const G = "_inputContainer_84wrd_1", J = "_compactFileUploadContainer_84wrd_9", K = "_fullWidth_84wrd_26", P = "_dragOver_84wrd_35", Q = "_variant_document_84wrd_41", X = "_icon_84wrd_41", Y = "_variant_add_84wrd_45", Z = "_disabled_84wrd_50", tt = "_error_84wrd_61", nt = "_warning_84wrd_69", et = "_inverted_84wrd_78", at = "_uploadContent_84wrd_103", ct = "_textContent_84wrd_113", ot = "_dragText_84wrd_123", it = "_hiddenInput_84wrd_153", rt = "_compactFileContent_84wrd_166", lt = "_compactFileIcon_84wrd_174", st = "_compactIconBackground_84wrd_182", dt = "_compactFileText_84wrd_190", mt = "_compactLabel_84wrd_202", pt = "_compactFileName_84wrd_209", _t = "_compactStatusText_84wrd_210", ut = "_success_84wrd_221", ht = "_loading_84wrd_229", ft = "_addIconWrapper_84wrd_233", vt = "_browseText_84wrd_239", wt = "_compactVisibilityIcon_84wrd_246", Ct = "_compactActions_84wrd_255", gt = "_deleteText_84wrd_262", t = {
7
+ inputContainer: G,
8
+ compactFileUploadContainer: J,
9
+ fullWidth: K,
10
+ dragOver: P,
11
+ variant_document: Q,
12
+ icon: X,
13
+ variant_add: Y,
14
+ disabled: Z,
15
+ error: tt,
16
16
  warning: nt,
17
- inverted: ct,
17
+ inverted: et,
18
18
  uploadContent: at,
19
- textContent: ot,
20
- dragText: it,
21
- hiddenInput: lt,
22
- compactFileContent: st,
23
- compactFileIcon: rt,
24
- compactIconBackground: dt,
25
- compactFileText: mt,
26
- compactLabel: pt,
27
- compactFileName: _t,
28
- compactStatusText: ut,
29
- success: ht,
30
- loading: ft,
31
- addIconWrapper: vt,
32
- browseText: Ct,
33
- compactVisibilityIcon: gt,
34
- compactActions: xt,
35
- deleteText: It
36
- }, $t = ({
37
- variant: k = "document",
38
- label: f,
39
- error: c,
40
- success: a,
41
- warning: h,
19
+ textContent: ct,
20
+ dragText: ot,
21
+ hiddenInput: it,
22
+ compactFileContent: rt,
23
+ compactFileIcon: lt,
24
+ compactIconBackground: st,
25
+ compactFileText: dt,
26
+ compactLabel: mt,
27
+ compactFileName: pt,
28
+ compactStatusText: _t,
29
+ success: ut,
30
+ loading: ht,
31
+ addIconWrapper: ft,
32
+ browseText: vt,
33
+ compactVisibilityIcon: wt,
34
+ compactActions: Ct,
35
+ deleteText: gt
36
+ }, Dt = ({
37
+ variant: T = "document",
38
+ label: v,
39
+ error: a,
40
+ success: c,
41
+ warning: f,
42
42
  loading: o = !1,
43
- defaultFile: F = null,
43
+ defaultFile: x = null,
44
44
  disabled: d = !1,
45
- inverted: A = !1,
46
- browseText: D = "Seleccionar archivo",
45
+ inverted: $ = !1,
46
+ browseText: k = "Seleccionar archivo",
47
47
  allowedTypes: m,
48
- inspectFileFunction: W = () => {
48
+ inspectFileFunction: A = () => {
49
49
  console.warn(
50
50
  "No hay función asignada para ver el archivo. Hay que pasarla al componente como prop inspectFileFunction."
51
51
  );
52
52
  },
53
- maxFileSize: N,
54
- onFileSelect: v,
55
- onDelete: C,
56
- statusIconBorderRadius: S = "50%",
53
+ maxFileSize: I,
54
+ onFileSelect: p,
55
+ statusIconBorderRadius: W = "50%",
57
56
  fullWidth: B = !1
58
57
  }) => {
59
- const [E, g] = w(!1), [i, b] = w(
60
- F || null
61
- ), u = q(null);
62
- H(() => {
58
+ const [E, w] = y(!1), [i, N] = y(
59
+ x || null
60
+ ), h = z(null);
61
+ q(() => {
63
62
  if (!i) return;
64
- const e = [];
65
- c && e.push("error"), a && e.push("success"), o && e.push("loading"), e.length > 1 && console.warn(
66
- `⚠️ CompactFileUpload: Múltiples estados detectados (${e.join(", ")}). Solo un estado debe estar activo a la vez.`
63
+ const n = [];
64
+ a && n.push("error"), c && n.push("success"), o && n.push("loading"), n.length > 1 && console.warn(
65
+ `⚠️ CompactFileUpload: Múltiples estados detectados (${n.join(", ")}). Solo un estado debe estar activo a la vez.`
67
66
  );
68
- }, [c, a, o, i]);
69
- const L = (e) => {
70
- e.preventDefault(), d || g(!0);
71
- }, O = (e) => {
72
- e.preventDefault(), g(!1);
73
- }, j = (e) => {
74
- e.preventDefault();
75
- }, R = (e) => {
76
- if (e.preventDefault(), g(!1), d) return;
77
- const r = e.dataTransfer.files;
78
- y(r);
79
- }, U = async (e) => {
80
- const r = e.target.files;
81
- y(r);
82
- }, y = async (e) => {
83
- if (!e) return;
67
+ }, [a, c, o, i]);
68
+ const L = (n) => {
69
+ n.preventDefault(), d || w(!0);
70
+ }, O = (n) => {
71
+ n.preventDefault(), w(!1);
72
+ }, j = (n) => {
73
+ n.preventDefault();
74
+ }, R = (n) => {
75
+ if (n.preventDefault(), w(!1), d) return;
76
+ const s = n.dataTransfer.files;
77
+ F(s);
78
+ }, U = async (n) => {
79
+ const s = n.target.files;
80
+ F(s);
81
+ }, F = async (n) => {
82
+ if (!n) return;
84
83
  if (m && m.length > 0)
85
- for (let l = 0; l < e.length; l++) {
86
- const p = e[l];
84
+ for (let r = 0; r < n.length; r++) {
85
+ const _ = n[r];
87
86
  if (!m.some(
88
- (x) => x.startsWith(".") ? p.name.toLowerCase().endsWith(x.toLowerCase()) : p.type === x
87
+ (C) => C.startsWith(".") ? _.name.toLowerCase().endsWith(C.toLowerCase()) : _.type === C
89
88
  )) {
90
- console.warn(`File ${p.name} is not an allowed type`);
89
+ console.warn(`File ${_.name} is not an allowed type`);
91
90
  return;
92
91
  }
93
92
  }
94
- if (N)
95
- for (let l = 0; l < e.length; l++) {
96
- const p = e[l];
97
- if (p.size > N) {
98
- console.warn(`File ${p.name} exceeds maximum size`);
93
+ if (I)
94
+ for (let r = 0; r < n.length; r++) {
95
+ const _ = n[r];
96
+ if (_.size > I) {
97
+ console.warn(`File ${_.name} exceeds maximum size`);
99
98
  return;
100
99
  }
101
100
  }
102
- const r = e ? e[0] : null;
103
- b(r), await (v == null ? void 0 : v(
104
- r ? (() => {
105
- const l = new DataTransfer();
106
- return l.items.add(r), l.files;
101
+ const s = n ? n[0] : null;
102
+ N(s), await (p == null ? void 0 : p(
103
+ s ? (() => {
104
+ const r = new DataTransfer();
105
+ return r.items.add(s), r.files;
107
106
  })() : null
108
107
  ));
109
108
  }, V = () => {
110
- !d && u.current && u.current.click();
109
+ !d && h.current && h.current.click();
111
110
  }, M = async () => {
112
- await (C == null ? void 0 : C(null)), b(null), u.current && (u.current.value = "");
113
- }, s = h && !o && !a && !c, z = [
111
+ await (p == null ? void 0 : p(null)), N(null), h.current && (h.current.value = "");
112
+ }, l = !i && f && !o && !c && !a, S = [
114
113
  t.compactFileUploadContainer,
115
114
  B && t.fullWidth,
116
- t[`variant_${k}`],
117
- s ? t.warning : "",
118
- i && c ? t.error : "",
119
- i && !c && o ? t.loading : "",
120
- i && !c && !o && a ? t.success : "",
115
+ t[`variant_${T}`],
116
+ l ? t.warning : "",
117
+ i && a ? t.error : "",
118
+ i && !a && o ? t.loading : "",
119
+ i && !a && !o && c ? t.success : "",
121
120
  d ? t.disabled : "",
122
- A ? t.inverted : "",
121
+ $ ? t.inverted : "",
123
122
  E ? t.dragOver : ""
124
123
  ].filter(Boolean).join(" ");
125
- return /* @__PURE__ */ n("div", { className: t.inputContainer, children: /* @__PURE__ */ _(
124
+ return /* @__PURE__ */ e("div", { className: t.inputContainer, children: /* @__PURE__ */ u(
126
125
  "div",
127
126
  {
128
- className: z,
127
+ className: S,
129
128
  onDragEnter: L,
130
129
  onDragLeave: O,
131
130
  onDragOver: j,
@@ -134,10 +133,10 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1c3te_1",
134
133
  } : V,
135
134
  style: { cursor: d ? "not-allowed" : "pointer" },
136
135
  children: [
137
- /* @__PURE__ */ n(
136
+ /* @__PURE__ */ e(
138
137
  "input",
139
138
  {
140
- ref: u,
139
+ ref: h,
141
140
  type: "file",
142
141
  className: t.hiddenInput,
143
142
  onChange: U,
@@ -145,18 +144,18 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1c3te_1",
145
144
  accept: m == null ? void 0 : m.join(",")
146
145
  }
147
146
  ),
148
- /* @__PURE__ */ n("div", { className: t.uploadContent, children: i || s ? (
147
+ /* @__PURE__ */ e("div", { className: t.uploadContent, children: i || l ? (
149
148
  // Compact layout - simple text with left icon
150
- /* @__PURE__ */ _("div", { className: t.compactFileContent, children: [
151
- /* @__PURE__ */ n("div", { className: t.compactFileIcon, children: /* @__PURE__ */ n(
149
+ /* @__PURE__ */ u("div", { className: t.compactFileContent, children: [
150
+ /* @__PURE__ */ e("div", { className: t.compactFileIcon, children: /* @__PURE__ */ e(
152
151
  "div",
153
152
  {
154
153
  className: t.compactIconBackground,
155
154
  style: {
156
- background: c ? "#DC2626" : o ? "#2054A5" : a ? "#65A30D" : h ? "#EA580C" : "#2054A5",
157
- borderRadius: S
155
+ background: a ? "#DC2626" : o ? "#2054A5" : c ? "#65A30D" : f ? "#EA580C" : "#2054A5",
156
+ borderRadius: W
158
157
  },
159
- children: o ? /* @__PURE__ */ n(
158
+ children: o ? /* @__PURE__ */ e(
160
159
  "div",
161
160
  {
162
161
  style: {
@@ -165,8 +164,8 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1c3te_1",
165
164
  alignItems: "center",
166
165
  margin: "4px"
167
166
  },
168
- children: /* @__PURE__ */ n(
169
- G,
167
+ children: /* @__PURE__ */ e(
168
+ H,
170
169
  {
171
170
  size: 10,
172
171
  color: "primary",
@@ -176,7 +175,7 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1c3te_1",
176
175
  }
177
176
  )
178
177
  }
179
- ) : /* @__PURE__ */ n(
178
+ ) : /* @__PURE__ */ e(
180
179
  "div",
181
180
  {
182
181
  style: {
@@ -184,10 +183,10 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1c3te_1",
184
183
  justifyContent: "center",
185
184
  alignItems: "center"
186
185
  },
187
- children: /* @__PURE__ */ n(
188
- I,
186
+ children: /* @__PURE__ */ e(
187
+ g,
189
188
  {
190
- name: c ? "CancelIcon" : a ? "CheckIcon" : h ? "AlertIcon" : "Documentos",
189
+ name: a ? "CancelIcon" : c ? "CheckIcon" : f ? "AlertIcon" : "Documentos",
191
190
  fill: "white",
192
191
  height: 20,
193
192
  width: 20
@@ -197,37 +196,37 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1c3te_1",
197
196
  )
198
197
  }
199
198
  ) }),
200
- /* @__PURE__ */ _("div", { className: t.compactFileText, children: [
201
- !c && !o && !a && !s && /* @__PURE__ */ _(T, { children: [
202
- f && /* @__PURE__ */ n("span", { className: `small1Medium ${t.compactLabel}`, children: f }),
203
- /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactFileName}`, children: i == null ? void 0 : i.name })
199
+ /* @__PURE__ */ u("div", { className: t.compactFileText, children: [
200
+ !a && !o && !c && !l && /* @__PURE__ */ u(b, { children: [
201
+ v && /* @__PURE__ */ e("span", { className: `small1Medium ${t.compactLabel}`, children: v }),
202
+ /* @__PURE__ */ e("span", { className: `small3Regular ${t.compactFileName}`, children: i == null ? void 0 : i.name })
204
203
  ] }),
205
- (c || s || o || a) && /* @__PURE__ */ n(
204
+ (a || l || o || c) && /* @__PURE__ */ e(
206
205
  "span",
207
206
  {
208
207
  className: `
209
208
  small1Medium
210
209
  ${t.compactFileName}
211
- ${c && t.error}
212
- ${a && t.success}
213
- ${s && t.warning}
210
+ ${a && t.error}
211
+ ${c && t.success}
212
+ ${l && t.warning}
214
213
  ${o && t.loading}
215
214
  `,
216
- children: s ? f : i == null ? void 0 : i.name
215
+ children: l ? v : i == null ? void 0 : i.name
217
216
  }
218
217
  ),
219
- c && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: c }),
220
- s && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: h }),
221
- a && !o && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: a })
218
+ a && /* @__PURE__ */ e("span", { className: `small3Regular ${t.compactStatusText}`, children: a }),
219
+ l && /* @__PURE__ */ e("span", { className: `small3Regular ${t.compactStatusText}`, children: f }),
220
+ c && !o && /* @__PURE__ */ e("span", { className: `small3Regular ${t.compactStatusText}`, children: c })
222
221
  ] }),
223
- /* @__PURE__ */ _("div", { className: t.compactActions, children: [
224
- !c && !o && !a && !s && /* @__PURE__ */ n(
222
+ /* @__PURE__ */ u("div", { className: t.compactActions, children: [
223
+ !a && !o && !c && !l && /* @__PURE__ */ e(
225
224
  "div",
226
225
  {
227
226
  className: t.compactVisibilityIcon,
228
- onClick: W,
229
- children: /* @__PURE__ */ n(
230
- I,
227
+ onClick: A,
228
+ children: /* @__PURE__ */ e(
229
+ g,
231
230
  {
232
231
  name: "Visibility",
233
232
  fill: "#2054A5",
@@ -237,20 +236,20 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1c3te_1",
237
236
  )
238
237
  }
239
238
  ),
240
- (c || a || o) && /* @__PURE__ */ n(
241
- $,
239
+ (a || c || o) && /* @__PURE__ */ e(
240
+ D,
242
241
  {
243
- variant: a ? "ghost" : "outline",
242
+ variant: c ? "ghost" : "outline",
244
243
  icon: {
245
244
  name: "CancelIcon",
246
245
  position: "before"
247
246
  },
248
247
  onClick: M,
249
- children: c ? "Eliminar" : o ? "Cancelar" : ""
248
+ children: a ? "Eliminar" : o ? "Cancelar" : ""
250
249
  }
251
250
  ),
252
- s && /* @__PURE__ */ n(
253
- $,
251
+ l && /* @__PURE__ */ e(
252
+ D,
254
253
  {
255
254
  variant: "outline",
256
255
  icon: {
@@ -262,23 +261,23 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1c3te_1",
262
261
  )
263
262
  ] })
264
263
  ] })
265
- ) : /* @__PURE__ */ n(T, { children: /* @__PURE__ */ _("div", { className: t.textContent, children: [
266
- /* @__PURE__ */ n(
264
+ ) : /* @__PURE__ */ e(b, { children: /* @__PURE__ */ u("div", { className: t.textContent, children: [
265
+ /* @__PURE__ */ e(
267
266
  "div",
268
267
  {
269
268
  className: t.addIconWrapper,
270
269
  style: {
271
270
  background: "#2054A5"
272
271
  },
273
- children: /* @__PURE__ */ n("div", { style: { marginTop: "3px" }, children: /* @__PURE__ */ n(I, { name: "Add", fill: "white", height: 27, width: 27 }) })
272
+ children: /* @__PURE__ */ e("div", { style: { marginTop: "3px" }, children: /* @__PURE__ */ e(g, { name: "Add", fill: "white", height: 27, width: 27 }) })
274
273
  }
275
274
  ),
276
- /* @__PURE__ */ n("span", { className: `small1Medium ${t.browseText}`, children: D })
275
+ /* @__PURE__ */ e("span", { className: `small1Medium ${t.browseText}`, children: k })
277
276
  ] }) }) })
278
277
  ]
279
278
  }
280
279
  ) });
281
280
  };
282
281
  export {
283
- $t as CompactFileUpload
282
+ Dt as CompactFileUpload
284
283
  };
@@ -16,7 +16,7 @@ const k = ({
16
16
  }) => {
17
17
  const c = C(null), u = (d) => {
18
18
  !a && c.current && c.current.click(), h && h(d);
19
- }, g = [
19
+ }, x = [
20
20
  l.inputWrapper,
21
21
  a ? l.inputCheckbox_disabled : l.inputCheckbox,
22
22
  s === "small" ? l.smallCheckbox : s === "large" ? l.largeCheckbox : l.mediumCheckbox,
@@ -26,7 +26,7 @@ const k = ({
26
26
  o && !r && !a && e ? l.inputCheckbox_inverted_checked : "",
27
27
  o && r ? l.error_checked : "",
28
28
  o && a ? l.inputCheckbox_disabled_checked : ""
29
- ].filter(Boolean).join(" "), x = [
29
+ ].filter(Boolean).join(" "), g = [
30
30
  a && !e ? l.passwordToggle_disabled : "",
31
31
  e && !a ? l.passwordToggle_inverted : "",
32
32
  e && a ? l.passwordToggle_inverted_disabled : ""
@@ -44,15 +44,25 @@ const k = ({
44
44
  className: `${l.label} ${s === "large" ? l.label_large : ""} ${a && !e ? l.label_disabled : ""} ${e && !a ? l.label_inverted : ""} ${e && a ? l.label_inverted_disabled : ""}`,
45
45
  children: [
46
46
  p,
47
- m && /* @__PURE__ */ _("span", { className: `${l.required} ${a && !e ? l.required_disabled : ""} ${e && !a ? l.required_inverted : ""} ${e && a ? l.required_inverted_disabled : ""}`, children: "*" })
47
+ m && /* @__PURE__ */ _(
48
+ "span",
49
+ {
50
+ className: `${l.required} ${a && !e ? l.required_disabled : ""} ${e && !a ? l.required_inverted : ""} ${e && a ? l.required_inverted_disabled : ""}`,
51
+ children: "*"
52
+ }
53
+ )
48
54
  ]
49
55
  }
50
56
  ),
51
57
  /* @__PURE__ */ n(
52
58
  "div",
53
59
  {
54
- className: g,
55
- style: { display: "flex", alignItems: "center", cursor: a ? "not-allowed" : "pointer" },
60
+ className: x,
61
+ style: {
62
+ display: "flex",
63
+ alignItems: "center",
64
+ cursor: a ? "not-allowed" : "pointer"
65
+ },
56
66
  onClick: u,
57
67
  children: [
58
68
  /* @__PURE__ */ _(
@@ -60,11 +70,11 @@ const k = ({
60
70
  {
61
71
  ref: c,
62
72
  type: "radio",
63
- className: x,
73
+ className: g,
64
74
  disabled: a,
65
75
  checked: o,
66
76
  ...$,
67
- style: { marginTop: "-1px" }
77
+ style: { marginTop: "-1px", flexShrink: 0 }
68
78
  }
69
79
  ),
70
80
  i && /* @__PURE__ */ _(