@ajuarezso/sui-design-system 0.13.0 → 0.13.1

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.
@@ -9243,6 +9243,20 @@ class SuiImageUpload {
9243
9243
  return;
9244
9244
  this.inputRef()?.nativeElement.click();
9245
9245
  }
9246
+ /**
9247
+ * Reabre el selector de archivo.
9248
+ *
9249
+ * Público a propósito: en modo editable el lápiz emite `editRequested` para
9250
+ * que el consumer abra su recortador, pero no todo caso tiene uno. Para subir
9251
+ * un documento —un comprobante, una licencia— lo que se espera del lápiz es
9252
+ * simplemente elegir otro archivo, y sin esto el consumer no tenía forma de
9253
+ * llegar al input, que es interno.
9254
+ */
9255
+ abrirSelector() {
9256
+ if (this.disabled())
9257
+ return;
9258
+ this.inputRef()?.nativeElement.click();
9259
+ }
9246
9260
  /** Modo editable: pide al consumer que abra su editor (recortador). */
9247
9261
  onEditClick(e) {
9248
9262
  e.stopPropagation();